:root{color:#1e293b;font-synthesis:none;background:#f5f7fa;font-family:Microsoft YaHei,PingFang SC,system-ui,sans-serif;font-size:14px;font-weight:400;line-height:1.6}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}input,textarea,select{color:inherit;background:#fff;border:1px solid #cdd5df;border-radius:7px;min-width:0;padding:10px 12px}textarea{resize:vertical}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline-offset:2px;outline:3px solid #9db7ff}input[type=checkbox],input[type=radio]{accent-color:#2759d7;width:17px;height:17px;margin:0}h1,h2,h3,p{margin:0}h1{letter-spacing:-.6px;font-size:26px;line-height:1.4}h2{font-size:17px}h3{font-size:15px}p{color:#617087}a{color:#2759d7}[hidden]{display:none!important}.button{white-space:nowrap;border:1px solid #0000;border-radius:7px;justify-content:center;align-items:center;gap:8px;min-height:40px;padding:9px 15px;font-weight:500;display:inline-flex}.primary{color:#fff;background:#2759d7}.primary:hover:not(:disabled){background:#1d48b9}.secondary{color:#334155;background:#fff;border-color:#cdd5df}.secondary:hover:not(:disabled){background:#f4f7fb}.danger{color:#b42332;background:#fff;border-color:#e6cdd1}.text-button{color:#2759d7;background:0 0;border:0;padding:6px 4px;font-weight:500}.wide{width:100%}.toolbar{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.toolbar.end{justify-content:flex-end}.field{flex-direction:column;gap:6px;min-width:0;display:flex}.field>span,.paste-panel>label{font-weight:500}.field-hint,.field-help{color:#637287;font-size:13px}.inline-error,.warning-text{color:#a24710}.muted{color:#8190a2}.notice{background:#eef3ff;border:1px solid #d3dffd;border-radius:9px;justify-content:space-between;align-items:center;gap:16px;padding:16px;display:flex}.notice p{margin:4px 0}.notice.error{color:#9d3028;background:#fff3f1;border-color:#efcdc6;flex-wrap:wrap}.notice.error p{color:inherit}.empty-state{text-align:center;color:#738197;padding:48px 24px}.empty-state p{margin-top:6px}.panel{background:#fff;border:1px solid #dde3ec;border-radius:10px;overflow:hidden}.section-head{justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px;display:flex}.section-head p{margin-top:7px}.app-shell{min-height:100vh;display:flex}.sidebar{z-index:5;background:#fff;border-right:1px solid #e1e6ed;flex-direction:column;width:208px;padding:27px 18px;display:flex;position:fixed;inset:0 auto 0 0}.brand{white-space:nowrap;align-items:center;gap:10px;font-size:17px;font-weight:700;display:flex}.brand-mark{color:#fff;background:#2759d7;border-radius:8px;place-items:center;width:30px;height:30px;font-size:16px;font-weight:500;display:grid}.nav-label{color:#7b899b;margin:42px 12px 10px;font-size:12px}.nav{text-align:left;color:#617087;background:0 0;border:0;border-radius:7px;width:100%;margin:4px 0;padding:11px 15px;display:block}.nav:hover{background:#f4f6fa}.nav.active{color:#2759d7;background:#edf2ff;font-weight:600}.sidebar-foot{margin-top:auto;padding-top:26px}.user{border-top:1px solid #e8ecf2;align-items:center;gap:9px;padding-top:20px;display:flex}.user .text-button{margin-left:auto}.avatar{color:#526886;background:#e9eef8;border-radius:50%;place-items:center;width:29px;height:29px;font-size:12px;display:grid}.sidebar-foot small{color:#8793a4;margin-top:12px;font-size:11px;display:block}.main{width:calc(100% - 208px);min-width:0;margin-left:208px}.topbar{background:#fff;border-bottom:1px solid #e2e7ef;justify-content:space-between;align-items:center;gap:16px;height:88px;padding:20px 32px;display:flex}.topbar>strong{font-size:15px;font-weight:500}.customer-select{color:#64748b;align-items:center;gap:12px;display:flex}.customer-select select{color:#263349;min-width:210px;max-width:330px}.page{max-width:1680px;margin:auto;padding:30px 32px}.main>.notice{margin:20px 32px 0}.save-state{color:#5c7580;white-space:nowrap;font-size:13px}.save-state:before{content:"";background:#6c9a83;border-radius:50%;width:6px;height:6px;margin-right:7px;display:inline-block}.save-state.is-error{color:#a4372c}.save-state.is-error:before{background:currentColor}.translation-page>.notice{margin-bottom:18px}.paste-panel{margin-bottom:24px;padding:24px}.paste-panel .field-hint{margin:6px 0 14px}.source-input{width:100%;min-height:230px;font-family:inherit;line-height:1.8;display:block}.paste-panel .toolbar{margin-top:16px}.paste-panel .inline-error{margin-top:12px}.table-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:20px;display:flex}.stats{color:#66768b;flex-wrap:wrap;align-items:center;gap:16px;font-size:13px;display:flex}.stats strong{color:#243349;font-size:14px}.filter-bar{color:#718096;background:#fafbfd;border-top:1px solid #edf0f4;justify-content:space-between;align-items:center;gap:16px;padding:12px 20px;font-size:12px;display:flex}.check-label{color:#43536b;align-items:center;gap:8px;font-size:13px;display:flex}.table-wrap{overflow:auto}.translation-panel>.table-wrap{max-height:58vh}.data-table{border-collapse:separate;border-spacing:0;text-align:left;width:100%}.data-table th{z-index:1;color:#6a788d;white-space:nowrap;background:#f7f9fc;border-top:1px solid #e3e9f0;border-bottom:1px solid #e3e9f0;padding:12px 16px;font-size:12px;font-weight:500;position:sticky;top:0}.data-table td{vertical-align:middle;border-bottom:1px solid #edf0f4;padding:13px 16px}.data-table tr:last-child td{border-bottom:0}.translation-table{table-layout:fixed;min-width:760px}.number-col{width:60px}.status-col,.action-col{width:110px}.row-number{font-variant-numeric:tabular-nums;color:#7d8da0;font-size:12px}.source-cell,.source-text,.cell-text{white-space:pre-wrap;overflow-wrap:anywhere}.source-cell{color:#3b4a5e;font-size:13px}.translation-input{resize:vertical;border-color:#dde3eb;border-radius:6px;width:100%;min-height:40px;padding:8px 10px;line-height:1.5;display:block}.translation-input:hover{border-color:#a8bad4}.missing .translation-input{background:#fffdf8;border-color:#e6c3a3}.translation-row.empty{background:#fafbfd}.row-status,.status-label{color:#67758a;white-space:nowrap;background:#f0f3f7;border-radius:4px;padding:3px 7px;font-size:12px;display:inline-flex}.row-status.matched{color:#315aa9;background:#eef3ff}.row-status.missing,.status-label.conflict{color:#98601b;background:#fff1df}.row-status.edited,.status-label.new{color:#477a59;background:#eef7f0}.workbench-footer{background:#fff;border-top:1px solid #e2e7ef;justify-content:space-between;align-items:center;gap:24px;padding:20px;display:flex}.workbench-footer p{margin-bottom:10px;font-size:12px}.copy-button{min-width:150px;min-height:46px}.toast{z-index:30;color:#fff;background:#25364b;border-radius:9px;max-width:min(680px,90vw);padding:13px 22px;position:fixed;bottom:28px;left:calc(50% + 104px);transform:translate(-50%);box-shadow:0 8px 28px #20304020}.toast.error{background:#873c32}.modal-backdrop{z-index:20;background:#17253b66;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal{background:#fff;border-radius:12px;max-width:470px;padding:28px;box-shadow:0 18px 60px #17253b33}.modal h2{font-size:20px}.modal p{margin:14px 0 24px}.dictionary-layout{grid-template-columns:240px minmax(0,1fr);align-items:start;gap:20px;display:grid}.panel-heading{border-bottom:1px solid #e6ebf2;justify-content:space-between;align-items:center;gap:16px;padding:20px;display:flex}.panel-heading>span{color:#7d8b9b}.panel-heading p{margin-top:5px;font-size:12px}.new-customer{border-bottom:1px solid #e6ebf2;padding:16px}.new-customer.form-row{flex-direction:column;align-items:stretch;gap:10px;display:flex}.new-customer .field>span{font-size:12px}.customer-list nav{padding:8px}.customer{text-align:left;background:0 0;border:0;border-radius:7px;align-items:center;gap:10px;width:100%;padding:12px 8px;display:flex}.customer:hover{background:#f6f8fb}.customer.active{background:#edf2ff}.customer-initial{color:#5b7294;background:#e7edf6;border-radius:7px;flex-shrink:0;place-items:center;width:32px;height:32px;font-weight:500;display:grid}.customer.active .customer-initial{color:#2759d7;background:#dce6ff}.customer-copy{min-width:0}.customer-copy strong{overflow-wrap:anywhere;font-size:13px;font-weight:500;display:block}.customer-copy small{color:#7b8a9f;margin-top:2px;font-size:12px;display:block}.form-row{align-items:flex-end;gap:12px;display:flex}.add-term{padding:20px}.add-term .field{flex:1}.add-term .field span{font-size:12px}.dictionary-search{border-top:1px solid #edf0f4;padding:16px 20px}.dictionary-search .field{flex:1;max-width:360px}.dictionary-search .field>span{font-size:12px}.dictionary-search>.field-help{margin-top:23px}.dictionary-table{min-width:620px}.dictionary-table th:first-child{width:35%}.dictionary-table th:nth-child(2){width:37%}.dictionary-table th:nth-child(3){width:28%}.row-actions{flex-wrap:wrap;gap:7px;display:flex}.row-actions .button{min-height:32px;padding:4px 10px;font-size:12px}.inline-editor{width:100%;min-width:100px}.bulk-panel{background:#f7f9fe;border-bottom:1px solid #dde5f2;padding:20px}.bulk-panel h3{margin-bottom:14px}.bulk-panel .field>span{font-size:12px}.bulk-panel .field-help{margin:8px 0 14px}.bulk-panel textarea{width:100%;line-height:1.7}.import-preview{border-top:1px solid #dce3ef;margin-top:20px;padding-top:18px}.import-preview .stats{margin-bottom:14px}.import-preview>.toolbar{justify-content:space-between;margin-top:15px}.import-choice{border:1px solid #dbe2ed;border-radius:7px;margin:0 0 16px;padding:10px 14px}.import-choice legend{color:#617087;padding:0 5px;font-size:12px}.import-choice label{align-items:center;gap:7px;margin:4px 20px 4px 0;font-size:13px;display:inline-flex}.preview-table{background:#fff;font-size:12px}.preview-table td{padding:10px}.restore-row{color:#76859b;justify-content:flex-end;align-items:center;gap:16px;margin:0 32px 32px;font-size:12px;display:flex}.dictionary-page>.notice{margin-bottom:20px}.loading{padding:20px}.empty-message{padding:20px;font-size:13px}.terms-heading{flex-wrap:wrap}.auth-shell{background:radial-gradient(at 50% 25%,#eef2ff,#0000 60%),#f6f8fb;flex-direction:column;justify-content:center;align-items:center;min-height:100vh;padding:40px 20px;display:flex}.auth-card{background:#fff;border:1px solid #e2e7f0;border-radius:14px;width:100%;max-width:460px;padding:38px 40px;box-shadow:0 12px 48px #20304008}.auth-copy{margin:34px 0 28px}.eyebrow{color:#748299;font-size:12px}.auth-copy h1{margin:9px 0 13px;font-size:25px;line-height:1.55}.auth-copy p{font-size:13px;line-height:1.8}.auth-form{flex-direction:column;gap:17px;display:flex}.auth-form .button{margin-top:4px}.auth-card>.field-hint{margin-top:20px;font-size:12px}.auth-note{color:#8793a4;margin-top:24px;font-size:12px}@media (width>=1600px){.page{padding:40px 48px}.topbar{padding-left:48px;padding-right:48px}.translation-panel>.table-wrap{max-height:64vh}}@media (width<=1150px){.sidebar{width:180px;padding-left:14px;padding-right:14px}.main{width:calc(100% - 180px);margin-left:180px}.page{padding:26px 24px}.topbar{padding:20px 24px}.dictionary-layout{grid-template-columns:205px minmax(0,1fr);gap:14px}.add-term{flex-wrap:wrap}.add-term .field{flex-basis:40%}.add-term>.button{width:100%}.toast{left:calc(50% + 90px)}.terms-heading{align-items:flex-start}.dictionary-detail .panel-heading .toolbar{gap:6px}.dictionary-detail .panel-heading .button{padding:8px 10px;font-size:12px}}@media (width<=800px){.app-shell{display:block}.sidebar{border-bottom:1px solid #e1e6ed;border-right:0;flex-direction:row;align-items:center;gap:24px;width:100%;padding:14px 20px;position:static}.sidebar nav{flex:1;gap:6px;display:flex}.nav{white-space:nowrap;padding:9px 12px}.nav-label,.sidebar-foot{display:none}.main{width:100%;margin:0}.topbar{height:auto;min-height:76px}.page{padding:24px 20px}.topbar>strong{display:none}.customer-select{justify-content:space-between;width:100%}.customer-select select{flex:1;max-width:380px}.section-head{align-items:flex-start;gap:15px}.section-head h1{font-size:23px}.section-head p{font-size:13px}.save-state{margin-top:7px;font-size:12px}.dictionary-layout{grid-template-columns:1fr}.customer-list nav{display:flex;overflow-x:auto}.customer{width:auto;min-width:165px}.customer-list .panel-heading{padding:14px 18px}.new-customer.form-row{flex-direction:row;align-items:flex-end}.new-customer .field{flex:1}.workbench-footer{align-items:flex-end}.filter-bar>span{display:none}.toast{left:50%}.restore-row{flex-wrap:wrap;justify-content:flex-start;margin:0 20px 24px}.main>.notice{flex-wrap:wrap;margin:16px 20px 0}.translation-panel>.table-wrap{max-height:65vh}.terms-heading{align-items:center}}@media (width<=520px){.sidebar{gap:12px;padding:12px}.brand{gap:7px;font-size:15px}.brand-mark{width:26px;height:26px}.nav{padding:8px;font-size:12px}.sidebar nav{justify-content:flex-end}.section-head{flex-wrap:wrap}.save-state{margin-top:-6px}.page{padding:20px 14px}.topbar{padding:15px}.source-input{min-height:200px}.paste-panel{padding:18px}.workbench-footer{flex-direction:column;align-items:stretch;gap:16px}.copy-button{width:100%}.stats{gap:9px;font-size:12px}.table-toolbar{padding:16px}.auth-card{padding:30px 24px}.auth-copy h1{font-size:23px}.form-row{flex-wrap:wrap}.add-term .field{flex-basis:100%}}.desk-controls{border:0;min-width:0;margin:0;padding:0}@media (width>=801px){.translation-panel>.table-wrap{max-height:clamp(240px,100dvh - 425px,720px)}}.copy-controls{align-items:center;gap:12px;display:flex}.copy-controls .text-button{white-space:nowrap;font-size:12px}.manual-copy{border-top:1px solid #e2e7ef;padding:20px}.manual-copy p{margin:6px 0 12px}.manual-copy textarea{width:100%;line-height:1.7;display:block}
