:root{font-family:Inter,-apple-system,BlinkMacSystemFont,'SF Pro Text','PingFang SC','Microsoft YaHei',sans-serif;color:#333831;background:#fafaf8;font-synthesis:none;--ink:#30372e;--muted:#8c9386;--green:#3f5840;--line:#e6e8e1;--surface:#f5f5f0;--sidebar:204px}*{box-sizing:border-box}body{margin:0;font-size:13px;-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit}button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;background:none;color:inherit;cursor:pointer}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible{outline:2px solid #8eaa82;outline-offset:3px}input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid #a1b398;outline-offset:-2px}a{color:inherit;text-decoration:none}svg{flex-shrink:0}h1,h2,h3,p{margin-top:0}h1{font-size:24px;font-weight:500;letter-spacing:-.6px;margin-bottom:0}h2{font-size:16px;font-weight:500;letter-spacing:-.3px}.muted{color:var(--muted);line-height:1.8;font-size:12px}.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);display:flex;flex-direction:column;padding:30px 16px 15px;background:#f2f3ed;border-right:1px solid #e3e6dc;z-index:10}.brand{display:flex;align-items:center;gap:9px;margin:0 12px 45px;font-size:20px;font-weight:650;letter-spacing:-.8px}.brand-symbol{color:#536a47;display:flex}.brand-period{color:#849c6f}nav{display:flex;flex-direction:column;gap:5px}.nav-item{width:100%;padding:12px 13px;justify-content:flex-start;border-radius:6px;color:#848d7b;font-size:12px;position:relative;gap:12px;transition:background .15s,color .15s}.nav-item:hover{background:#e9ede2;color:#45573e}.nav-item.active{background:#e3e9d9;color:#435a36;font-weight:550}.nav-item span{flex:1;text-align:left}.nav-dot{width:3px;height:3px;border-radius:50%;background:#b5bea9}.sidebar-projects{margin-top:43px;padding-top:22px;border-top:1px solid #e1e5d8}.nav-caption{font-size:10px;letter-spacing:.5px;color:#9aa38f;display:flex;align-items:center;justify-content:space-between;margin:0 10px 10px}.nav-caption .icon-button{width:24px;height:24px}.recent-project{width:100%;justify-content:flex-start;padding:10px 12px;gap:10px;font-size:11px;color:#8e9881;border-radius:5px}.recent-project:hover{background:#e9ede2}.recent-project.current{color:#586e48}.recent-project span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-dot{width:5px;height:5px;border-radius:1.5px;flex-shrink:0;background:#b4c09f}.current .project-dot{background:#8da571}.sidebar-footer{margin-top:auto;padding-top:25px;display:flex;align-items:center}.sidebar-footer .nav-item{flex:1}.version{font-size:9px;color:#b0b8a3;padding-right:8px;font-variant-numeric:tabular-nums}.main-shell{margin-left:var(--sidebar);height:100dvh;display:flex;flex-direction:column;min-height:0}.topbar{height:57px;min-height:57px;display:flex;align-items:center;justify-content:space-between;padding:0 32px;border-bottom:1px solid var(--line);background:#fafbf8}.breadcrumb{font-size:11px;color:#8b9580}.save-indicator{display:flex;align-items:center;gap:7px;font-size:10px;color:#99a48c}.green-dot{width:4px;height:4px;border-radius:50%;display:inline-block;background:#8aa674}#main{padding:35px 32px;overflow-y:auto;flex:1;min-height:0}#main.editor-main{padding:0;display:flex;flex-direction:column;overflow:hidden}.document-bar{padding:25px 32px 24px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);background:#fff}.file-identity{min-width:0}.file-overline{display:flex;align-items:center;gap:9px;font-size:10px;color:#97a08b;margin-bottom:9px}.badge{color:#9aa58a;background:#f5f7f0;border:1px solid #e6eadf;font-size:8px;padding:2px 5px;border-radius:3px;font-weight:400;line-height:1.2}.file-identity h1{font-size:23px;letter-spacing:-.6px;color:#3d4736;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.language-pair{display:flex;align-items:center;gap:11px;color:#99a38b;font-size:10px;line-height:1.8}.file-identity .language-pair{margin-top:10px}.language-pair svg{color:#bdc5b3}.document-actions{display:flex;align-items:center;gap:14px}.action-divider{width:1px;height:18px;background:#e6eadf}.primary,.secondary{border-radius:5px;min-height:35px;padding:9px 14px;font-size:11px;white-space:nowrap}.primary{background:#4b633d;color:#fbfdf8;border:1px solid #4b633d;box-shadow:0 1px 2px #29481e12}.primary:hover{background:#3b5230}.secondary{border:1px solid #dfe5d5;background:#fff;color:#78876b;box-shadow:0 1px 2px #30431e03}.secondary:hover{background:#f6f8f1;border-color:#cad4bc}.icon-button{border-radius:5px;width:31px;height:31px;padding:0;color:#a4ae98}.icon-button:hover,.icon-button.is-active{background:#eff3e8;color:#71845d}.editor-layout{display:grid;grid-template-columns:minmax(0,1fr);flex:1;min-height:0;background:#fff}.editor-layout.with-context{grid-template-columns:minmax(0,1fr) 245px}.editor-pane{min-width:0;min-height:0;display:flex;flex-direction:column}.editor-tools{height:60px;min-height:60px;display:flex;align-items:center;justify-content:space-between;padding:0 29px;gap:15px;border-bottom:1px solid var(--line)}.segment-filters{display:flex;gap:7px;align-items:center}.segment-filters button{font-size:10px;padding:6px 10px;color:#98a18e;border-radius:4px;white-space:nowrap}.segment-filters button.active{color:#6d805a;background:#edf2e5}.segment-filters button:hover{color:#667d51}.search-box{display:flex;gap:7px;align-items:center;color:#b0b9a3;max-width:185px}.search-box input{width:100%;min-width:0;border:0;background:none;padding:5px 2px;color:#657b53;font-size:10px}.search-box input::placeholder{color:#b3bba8}.column-head{display:grid;grid-template-columns:61px minmax(0,1fr) minmax(0,1fr) 48px;background:#fafbf7;border-bottom:1px solid var(--line);font-size:10px;color:#8f9b80;flex-shrink:0}.column-head>span{padding:13px 20px}.column-head>span:first-child{text-align:center;padding-left:0;padding-right:0;color:#b6c0aa;font-size:9px}.column-head small{margin-left:9px;font-size:8px;letter-spacing:.5px;color:#acb69e;font-weight:400}.segments{flex:1;min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#dce3d1 transparent;overscroll-behavior:contain}.segment-row{display:grid;grid-template-columns:61px minmax(0,1fr) minmax(0,1fr) 48px;min-height:99px;border-bottom:1px solid #edf0e7;position:relative}.segment-row.selected{background:#f5f8ef}.segment-row.selected:before{position:absolute;content:'';inset:0 auto 0 0;width:2px;background:#94ac79}.segment-number{font-size:9px;color:#b2bda6;text-align:center;padding-top:27px;font-variant-numeric:tabular-nums;font-family:'SFMono-Regular',Consolas,monospace}.source-text{padding:22px 20px 20px;font-size:13px;line-height:1.85;color:#5a684e;overflow-wrap:anywhere;border-right:1px solid #edf0e6}.target-cell{min-width:0;display:flex}.target-cell textarea{resize:vertical;width:100%;background:transparent;border:0;padding:22px 20px 20px;min-height:99px;color:#60734f;line-height:1.85;font-size:13px}.target-cell textarea::placeholder{color:#bdc7b0;font-size:12px;font-weight:400}.target-cell textarea:focus{outline:0;background:#edf4e525;box-shadow:inset 0 0 0 1px #dce8cf}.segment-status{text-align:center;padding-top:25px}.status{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;color:#bfcaaf;font-size:17px;line-height:1}.status.confirmed{color:#91a977;background:#e9f0df;border-radius:50%}.status.draft{color:#b5a57c;font-size:14px}.editor-bottom{display:flex;align-items:center;justify-content:space-between;gap:15px;height:65px;min-height:65px;border-top:1px solid var(--line);padding:0 25px;background:#fff}.document-progress{display:flex;align-items:center;gap:12px;color:#a0ad90;font-size:10px;font-variant-numeric:tabular-nums}.document-progress strong{font-weight:500;color:#6e8659}.count-divider{color:#c1cab6;margin:0 5px}.progress{height:3px;border-radius:5px;background:#edf1e6;overflow:hidden}.progress i{display:block;height:100%;background:#9ab381;transition:width .2s}.document-progress .progress{width:90px}.progress-label{font-size:9px;color:#b1bda0}.small{padding:8px 11px;font-size:10px}kbd{font:9px 'SFMono-Regular',Consolas,monospace;white-space:nowrap;border:1px solid #dce4d2;border-radius:3px;padding:3px 5px;color:#9dad89}.primary kbd{font-size:8px;border-color:#71865f;color:#bdcbae;margin-left:12px}.context-pane{min-height:0;overflow:auto;border-left:1px solid var(--line);background:#fafcf7}.context-title{padding:18px 20px;height:60px;display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#849972;border-bottom:1px solid var(--line)}.context-title .icon-button{font-size:20px}.context-card{padding:30px 22px}.context-label{display:flex;align-items:center;justify-content:space-between;font-size:9px;color:#a8b697;letter-spacing:.3px;margin-bottom:11px}.context-label span{font-size:8px;color:#bfcaaf;font-variant-numeric:tabular-nums}.current-source{font-size:13px;color:#798f65;line-height:1.9;margin-bottom:34px;overflow-wrap:anywhere}.context-secondary{font-size:11px;line-height:1.9;color:#a9b79b;overflow-wrap:anywhere;margin-bottom:30px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:35px;padding:5px 0 0}.page-heading h1{font-size:24px;color:#4b5b3f}.heading-count{font-size:11px;color:#b3bfa4;font-weight:400;margin-left:9px;vertical-align:middle}.projects-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(275px,1fr));gap:20px;max-width:1350px}.project-card{border:1px solid #e2e8d8;border-radius:8px;background:#fff;padding:23px 24px}.project-top{display:flex;align-items:center;justify-content:space-between;color:#96aa7f;margin-bottom:26px}.project-card h2{font-size:16px;color:#596d48;margin-bottom:11px}.project-card .language-pair{margin-bottom:31px;font-size:10px}.project-meta{display:flex;align-items:center;justify-content:space-between;font-size:9px;color:#a8b597;margin-bottom:9px;font-variant-numeric:tabular-nums}.project-files{margin:16px 0 22px}.file-link{width:100%;justify-content:flex-start;text-align:left;padding:13px 0;gap:9px;font-size:11px;color:#859b6f;border-bottom:1px solid #eef2e6}.file-link span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.file-link svg:last-child{color:#b8c5a7}.no-files{font-size:11px;color:#bac5ad;padding:14px 0}.full{width:100%}.empty{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:23px;min-height:400px;flex:1}.empty h1{font-size:17px;color:#a1b18f;letter-spacing:0}.empty-icon{color:#b2c39d;display:flex}.planned-empty{min-height:calc(100% - 100px);gap:16px}.planned-empty .muted{font-size:11px;color:#adbba0}.settings-section{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:30px 0;border-bottom:1px solid #e3ead8;max-width:850px}.settings-section h2{font-size:14px;color:#6c8358;margin-bottom:9px}.settings-section p{margin:0;font-size:11px;color:#a2b18f}.settings-actions{display:flex;gap:10px}.settings-version{display:flex;gap:8px;font-size:10px;margin-top:35px;color:#a2b190}.settings-version span{color:#bdc8ad}.no-results{padding:80px 20px;text-align:center;font-size:12px;color:#a0b08c}dialog{width:430px;max-width:calc(100% - 32px);padding:28px;border:1px solid #dce5d1;border-radius:10px;box-shadow:0 20px 80px #28391c18;color:#657e50;background:#fff}dialog::backdrop{background:#29351f38;backdrop-filter:blur(4px)}.dialog-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:30px}.dialog-title h2{margin:0;font-size:18px}.dialog-title .icon-button{font-size:23px}form label{display:block;font-size:11px;color:#91a47c;margin-bottom:20px}form input,form select{display:block;width:100%;border:1px solid #e0e7d7;border-radius:5px;padding:11px 12px;margin-top:9px;font-size:12px;background:#fcfdf9;color:#6f8759}form input::placeholder{color:#b4c3a2}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}#form-error{font-size:11px;color:#b27755}.error{color:#b27755!important}#toast{position:fixed;bottom:24px;left:calc(50% + 100px);transform:translate(-50%,10px);opacity:0;pointer-events:none;z-index:100;background:#405833;color:#f5f9ee;border-radius:6px;padding:12px 20px;max-width:calc(100% - 40px);box-shadow:0 4px 20px #30441c15;font-size:11px;transition:opacity .2s,transform .2s}#toast.visible{opacity:1;transform:translate(-50%,0)}
@media(min-width:1600px){.document-bar{padding:30px 40px}.topbar{padding:0 40px}.editor-tools{padding:0 36px}.segment-row{min-height:111px}.source-text,.target-cell textarea{padding:28px 25px;font-size:14px}.target-cell textarea{min-height:111px}.segment-number,.segment-status{padding-top:32px}.editor-layout.with-context{grid-template-columns:minmax(0,1fr) 280px}}
@media(max-width:1150px){:root{--sidebar:182px}.brand{font-size:18px;margin-left:8px;gap:7px}.sidebar{padding-left:12px;padding-right:12px}.topbar{padding:0 24px}.document-bar{padding:23px 24px}.editor-tools{padding:0 20px}.editor-layout.with-context{grid-template-columns:minmax(0,1fr) 210px}.column-head,.segment-row{grid-template-columns:42px minmax(0,1fr) minmax(0,1fr) 37px}.source-text,.target-cell textarea{padding:21px 17px;font-size:12px}.column-head>span{padding-left:17px}.primary kbd{display:none}.document-progress .progress{width:65px}.search-box{max-width:135px}.context-card{padding:25px 18px}}
@media(max-width:850px){.editor-layout.with-context{grid-template-columns:minmax(0,1fr)}.with-context .context-pane{display:none}.document-actions .icon-button,.document-actions .action-divider{display:none}.settings-section{align-items:flex-start;flex-direction:column;gap:18px}.column-head small{margin-left:5px}.document-progress{gap:9px}}
@media(max-width:640px){:root{--sidebar:58px}.sidebar{padding:23px 7px 13px}.brand{margin:0 10px 34px;gap:0}.brand>span:last-child,.nav-item>span,.nav-dot,.sidebar-projects,.version{display:none}.brand-symbol{color:#708b57}.nav-item{padding:13px;justify-content:center;gap:0}.sidebar-footer{padding-top:0}.topbar{height:47px;min-height:47px;padding:0 17px}.breadcrumb{font-size:10px}.save-indicator{font-size:9px}#main{padding:25px 17px}.document-bar{padding:20px 17px;gap:9px}.file-identity h1{font-size:18px;max-width:190px}.file-overline{font-size:9px}.language-pair{font-size:9px;gap:7px}.document-actions .secondary{font-size:10px;padding:7px 9px;gap:5px;min-height:31px}.document-actions .secondary svg{width:13px}.editor-tools{height:85px;min-height:85px;align-content:center;flex-wrap:wrap;padding:10px 10px;gap:7px}.segment-filters{gap:3px}.segment-filters button{font-size:9px;padding:5px 8px}.search-box{margin-left:8px;max-width:100%;width:100%;font-size:9px}.search-box input{font-size:10px}.column-head,.segment-row{grid-template-columns:25px minmax(0,1fr) minmax(0,1fr) 25px}.column-head>span{padding:11px 9px;font-size:9px}.column-head small{display:none}.source-text,.target-cell textarea{font-size:11px;padding:18px 10px;line-height:1.85}.target-cell textarea{min-height:125px;font-size:12px}.target-cell textarea::placeholder{font-size:10px}.segment-row{min-height:125px}.segment-number{font-size:8px;padding-top:24px}.segment-status{padding-top:22px}.status{font-size:15px;width:15px;height:15px}.status.confirmed svg{width:11px}.editor-bottom{padding:0 12px;gap:8px;height:58px;min-height:58px}.document-progress .progress,.progress-label{display:none}.document-progress{font-size:9px}.small{font-size:9px;min-height:32px;padding:8px}.small svg{width:11px}.page-heading h1{font-size:22px}.page-heading{margin-bottom:25px}.projects-grid{grid-template-columns:1fr}.project-card{padding:20px}.settings-actions{flex-wrap:wrap}.settings-section{padding-top:15px;padding-bottom:25px}.settings-section+.settings-section{padding-top:25px}.empty{min-height:330px}#toast{left:50%;width:max-content;max-width:calc(100% - 25px)}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
.home-shell{min-height:100dvh;display:flex;flex-direction:column;background:#fafbf8}.home-header{height:90px;display:flex;align-items:center;justify-content:space-between;padding:0 48px}.home-header .brand{margin:0;font-size:21px}.home-header .save-indicator{color:#a0a994}.home-main{width:min(100% - 64px,940px);margin:48px auto 75px;flex:1}.home-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:30px;gap:15px}.home-heading h1{font-size:25px;font-weight:500;color:#43513a;letter-spacing:-.5px}.home-heading .secondary{background:transparent}.home-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.module-entry{height:155px;display:flex;flex-direction:column;align-items:stretch;justify-content:space-between;gap:25px;text-align:left;background:#fff;border:1px solid #e1e7d9;padding:25px 26px;border-radius:8px;transition:background .18s,border-color .18s,transform .18s}.module-entry:hover{background:#f5f8ef;border-color:#bdcdae;transform:translateY(-2px)}.module-entry:focus-visible{outline-offset:4px}.module-top,.module-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px}.module-icon{color:#7e9668;display:flex}.module-bottom{font-size:14px;font-weight:500;color:#596c48}.module-bottom>svg{color:#a8b898;transition:transform .18s}.module-entry:hover .module-bottom>svg{transform:translateX(3px);color:#6f8d57}.module-status{font-size:9px;letter-spacing:.4px;color:#aebba0;border:1px solid #e5ebdd;padding:3px 6px;border-radius:3px}.module-planned .module-icon{color:#a6b694}.module-planned .module-bottom{color:#8c9f7a}.home-recent{margin-top:45px}.home-recent h2{font-size:11px;color:#9aaa88;font-weight:400;margin:0 0 15px;letter-spacing:.5px}.recent-document{width:100%;display:flex;align-items:center;text-align:left;justify-content:flex-start;gap:14px;padding:16px 2px;border-top:1px solid #e7ecdf;min-width:0}.recent-document:hover .recent-file-name{color:#5d7d44}.recent-file-icon{display:flex;color:#a8b798}.recent-file-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#7b9067}.recent-file-name small{display:block;margin-top:5px;font-size:9px;font-weight:400;color:#afbea0}.recent-language{display:flex;align-items:center;gap:10px;font-size:9px;color:#a8b896;margin-right:24px}.recent-document>svg{color:#b3c1a2}.home-footer{padding:20px 48px 28px;font-size:9px;color:#b1bea4;letter-spacing:.3px}.home-footer span{margin-left:6px;color:#c4cdb9}.home-nav{margin-bottom:13px}.home-nav:after{content:'';position:absolute;bottom:-8px;left:13px;right:13px;height:1px;background:#e3e8dc}
@media(min-width:1500px){.home-main{margin-top:70px}.module-entry{height:170px;padding:28px}}
@media(max-width:850px){.home-header{padding:0 28px;height:78px}.home-main{margin-top:32px;width:calc(100% - 56px)}.home-grid{gap:12px}.module-entry{padding:22px;height:145px}.home-footer{padding-left:28px;padding-right:28px}}
@media(max-width:640px){.home-header{padding:0 22px;height:74px}.home-header .brand{font-size:20px}.home-header .save-indicator{font-size:8px}.home-main{width:calc(100% - 44px);margin:25px auto 45px}.home-heading{margin-bottom:23px}.home-heading h1{font-size:22px}.home-heading .secondary{font-size:10px;padding:8px 10px}.home-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.module-entry{height:133px;padding:20px 18px;gap:18px}.module-bottom{font-size:12px}.module-icon svg{width:22px;height:22px}.module-status{font-size:8px;padding:2px 4px}.home-recent{margin-top:31px}.recent-language{display:none}.recent-document{gap:11px}.home-footer{padding:16px 22px 24px}.recent-file-name{font-size:11px}}

.home-header .brand{gap:9px}.home-header .brand>span:last-child{display:inline}
