:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--page:#edf1f6;--surface:#fff;--surface-alt:#f3f6fa;--ink:#172033;--muted:#526177;--border:#cdd6e2;--border-soft:#e1e7ef;--accent:#1d4ed8;--accent-soft:#e8efff;--nav:#152238;--nav-ink:#f1f5fc;--nav-muted:#b4c2d6;--shadow:0 2px 8px #1720330a;--warning-bg:#fff8e6;--warning-text:#805309;font-size:14px}:root.app-dark{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--page:#0b1220;--surface:#141f32;--surface-alt:#1c2a40;--ink:#edf2fa;--muted:#b0bfd2;--border:#41516b;--border-soft:#2d3d55;--accent:#8cb4ff;--accent-soft:#213c65;--nav:#0d1728;--shadow:0 2px 10px #00000024;--warning-bg:#382b16;--warning-text:#f2ce83}*{box-sizing:border-box}body{background:var(--page);color:var(--ink);-webkit-font-smoothing:antialiased;margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Microsoft YaHei,sans-serif;font-size:14px;line-height:1.6}button,input,textarea,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--accent);outline-offset:3px}button:disabled{cursor:not-allowed}pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;margin:0;line-height:1.8}code{overflow-wrap:anywhere;font-size:12px}h1,h2,h3,h4,p{margin-top:0}.p-button{white-space:nowrap;font-weight:600}.p-button svg{flex-shrink:0}.p-button[aria-label]:has(>svg:only-child){min-width:34px;min-height:34px;padding:7px}.p-inputtext,.p-textarea,.p-select,.p-inputnumber,.p-password{max-width:100%}.p-textarea{resize:vertical;width:100%;min-height:130px;max-height:55vh;line-height:1.8}.p-message{overflow-wrap:anywhere}.p-tag{white-space:nowrap;font-size:12px;font-weight:650}.app-header{background:var(--surface);border-bottom:1px solid var(--border);z-index:15;justify-content:space-between;align-items:center;gap:16px;height:64px;padding:0 24px;display:flex;position:sticky;top:0}.brand-group,.brand,.header-actions,.button-row,.panel-heading,.section-label{align-items:center;gap:10px;display:flex}.brand{color:var(--ink);letter-spacing:-.8px;font-size:25px;font-weight:800}.brand:hover{text-decoration:none}.brand-mark{color:#fff;background:#1d4ed8;border-radius:9px;place-items:center;width:35px;height:35px;display:grid}.brand-divider{border-left:1px solid var(--border);height:20px;margin:0 7px}.brand-subtitle{color:var(--muted);letter-spacing:0;font-size:14px;font-weight:600}.user-label{text-overflow:ellipsis;max-width:120px;overflow:hidden}.environment-label{color:var(--muted);font-size:12px}.theme-switcher{background:var(--surface-alt);border:1px solid var(--border);border-radius:8px;gap:2px;padding:3px;display:flex}.theme-switcher button{width:30px;height:30px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:5px;place-items:center;padding:6px;display:grid}.theme-switcher button:hover{color:var(--ink);background:var(--surface)}.theme-switcher button[aria-pressed=true]{background:var(--surface);color:var(--accent);box-shadow:0 1px 3px #0002}.workspace{min-height:calc(100dvh - 64px);display:flex}.resource-sidebar{background:var(--nav);width:260px;color:var(--nav-ink);--p-tree-background:transparent;--p-tree-node-color:var(--nav-ink);--p-tree-color:var(--nav-ink);--p-select-background:#20324c;--p-select-color:var(--nav-ink);--p-select-border-color:#526784;--p-select-dropdown-color:var(--nav-muted);--p-inputtext-background:#20324c;--p-inputtext-color:var(--nav-ink);--p-inputtext-border-color:#526784;--p-inputtext-placeholder-color:var(--nav-muted);--p-tree-node-hover-background:#223550;--p-tree-node-selected-background:#294b7e;--p-tree-node-selected-color:#fff;--p-tree-node-hover-color:#fff;border-right:1px solid #273750;flex-direction:column;flex:0 0 260px;height:calc(100dvh - 64px);display:flex;position:sticky;top:64px;overflow:auto}.sidebar-section{padding:22px 18px}.sidebar-section>.p-select{width:100%}.eyebrow{letter-spacing:.04em;color:var(--muted);margin-bottom:10px;font-size:12px;font-weight:700;display:block}.resource-sidebar .eyebrow,.access-label{color:var(--nav-muted)}.access-label{align-items:center;gap:8px;margin-top:13px;font-size:12px;display:flex}.status-dot{background:#62d9ad;border-radius:50%;width:7px;height:7px}.resource-navigation{border-top:1px solid #30405a;flex:1}.section-label{justify-content:space-between;margin-bottom:12px;font-weight:700}.section-label small{margin-left:6px;font-size:12px;font-weight:500}.resource-sidebar .section-label small{color:var(--nav-muted)}.search-field{align-items:center;min-width:0;display:flex;position:relative}.search-field>svg{z-index:1;color:var(--muted);pointer-events:none;position:absolute;left:11px}.search-field>.p-inputtext{width:100%;padding-left:35px}.resource-sidebar .search-field>svg{color:var(--nav-muted)}.resource-tree{margin:15px -10px 0}.resource-tree .p-tree{padding:0}.tree-label{align-items:center;gap:8px;width:100%;min-width:0;font-size:13px;display:flex}.tree-label>svg{color:#a9bfdf;flex-shrink:0}.tree-label>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tree-count{color:var(--nav-muted);margin-left:auto;padding-left:6px;font-size:11px}.resource-tree .p-tree-node-label{flex:1;min-width:0;overflow:hidden}.resource-tree .p-tree-node-content{padding-block:7px}.resource-tree .empty-state{color:var(--nav-muted)}.sidebar-bottom{border-top:1px solid #30405a;padding:18px}.sidebar-bottom>span{color:var(--nav-muted);margin-top:16px;font-size:11px;display:block}.workspace-main{flex:1;min-width:0;padding:24px 28px}.resource-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;display:flex}.resource-heading>div:first-child{min-width:0}.breadcrumbs{color:var(--muted);gap:10px;margin-bottom:6px;font-size:12px;font-weight:500;display:flex}.breadcrumbs span{color:var(--muted)}.resource-heading h1{overflow-wrap:anywhere;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 5px;font-size:25px;font-weight:750;line-height:1.4;display:flex}.filename{color:var(--muted);overflow-wrap:anywhere;font-size:12px}.resource-summary{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:10px;align-items:center;gap:28px;margin-bottom:20px;padding:16px 20px;display:flex}.dictionary-select{flex:1;align-items:center;gap:14px;min-width:0;display:flex}.dictionary-select label{white-space:nowrap;font-size:13px;font-weight:650}.dictionary-select .p-select{flex:1;min-width:0;max-width:480px}.progress-summary{width:230px;color:var(--muted);flex-shrink:0;font-size:12px}.progress-summary>div:first-child{justify-content:space-between;align-items:center;margin-bottom:6px;display:flex}.progress-summary strong{color:var(--accent);font-size:19px}.progress-summary>span{margin-top:6px;display:block}.progress-summary .p-progressbar{height:6px}.editor-workspace{grid-template-columns:minmax(0,1fr) 350px;align-items:start;gap:20px;display:grid}.entries-panel{background:var(--surface);border:1px solid var(--border);min-width:0;box-shadow:var(--shadow);border-radius:10px;overflow:hidden}.entries-toolbar{border-bottom:1px solid var(--border);flex-direction:column;gap:15px;padding:16px 18px;display:flex}.filter-tabs{gap:5px;display:flex;overflow-x:auto}.filter-tabs button{color:var(--muted);white-space:nowrap;cursor:pointer;background:0 0;border:0;border-radius:6px;align-items:center;gap:7px;padding:7px 9px;font-size:13px;font-weight:600;display:flex}.filter-tabs button:hover{background:var(--surface-alt);color:var(--ink)}.filter-tabs button.active{background:var(--accent-soft);color:var(--accent)}.filter-tabs button span{background:var(--surface-alt);font-variant-numeric:tabular-nums;border-radius:4px;min-width:20px;padding:0 4px;font-size:11px}.filter-tabs button.active span{background:var(--surface)}.p-datatable{--p-datatable-header-cell-background:var(--surface-alt);--p-datatable-header-cell-color:var(--ink);--p-datatable-body-cell-border-color:var(--border-soft);--p-datatable-row-background:var(--surface);--p-datatable-row-color:var(--ink)}.p-datatable-thead>tr>th{padding:13px 16px;font-size:13px;font-weight:700}.p-datatable-tbody>tr>td{vertical-align:top;padding:15px 16px}.entries-panel .p-datatable-tbody>tr{cursor:pointer}.entries-panel .p-datatable-tbody>tr:hover>td{background:var(--surface-alt)}.p-datatable-tbody>tr.selected-row>td{background:var(--accent-soft)}.p-datatable-tbody>tr.selected-row>td:first-child{box-shadow:inset 3px 0 var(--accent)}.cell-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.8}.entry-source{text-align:left;width:100%;color:var(--ink);cursor:pointer;background:0 0;border:0;padding:0;display:block}.table-empty{text-align:center;color:var(--muted);padding:25px 0}.table-footer{border-top:1px solid var(--border);color:var(--muted);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:10px 16px;font-size:12px;display:flex}.table-footer .p-paginator{background:0 0;gap:2px;padding:0}.table-footer .p-paginator button{min-width:30px;height:32px}.editor-panel{background:var(--surface);border:1px solid var(--border);border-top:3px solid var(--accent);min-width:0;box-shadow:var(--shadow);border-radius:10px;padding:20px;position:sticky;top:84px}.panel-heading{justify-content:space-between;margin-bottom:17px}.panel-heading .eyebrow{margin-bottom:3px}.panel-heading h2{margin:0;font-size:18px;font-weight:700}.editor-context{color:var(--muted);border-bottom:1px solid var(--border-soft);overflow-wrap:anywhere;justify-content:space-between;align-items:center;gap:10px;padding-bottom:15px;font-size:12px;display:flex}.field-label{justify-content:space-between;align-items:center;margin:18px 0 8px;font-size:13px;font-weight:700;display:flex}.field-label>span{color:var(--muted);font-size:12px;font-weight:400}.source-block{background:var(--surface-alt);border:1px solid var(--border);white-space:pre-wrap;overflow-wrap:anywhere;border-radius:7px;padding:13px 15px;font-size:14px;line-height:1.85}.helper{color:var(--muted);font-size:13px;line-height:1.8}.editor-panel .helper{margin:12px 0 16px;font-size:12px}.editor-secondary{justify-content:space-between;align-items:center;gap:7px;margin-top:14px;display:flex}.editor-footer{border-top:1px solid var(--border-soft);color:var(--muted);justify-content:space-between;align-items:center;gap:5px;margin-top:19px;padding-top:12px;font-size:11px;display:flex}.empty-state{color:var(--muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:28px 12px;display:flex}.empty-state>p{margin:0}.editor-empty{min-height:320px}.saved-translation{background:var(--warning-bg);border:1px solid var(--border);border-radius:7px;margin-top:12px;padding:12px;font-size:13px}.saved-translation summary{color:var(--warning-text);cursor:pointer;font-weight:600}.saved-translation pre{margin-top:9px}.welcome{text-align:left;max-width:1050px;margin:35px auto}.welcome-icon{background:var(--accent-soft);width:54px;height:54px;color:var(--accent);border:1px solid var(--border);border-radius:12px;place-items:center;margin-bottom:22px;display:grid}.welcome h1{margin-bottom:12px;font-size:30px;font-weight:750;line-height:1.4}.welcome>p{color:var(--muted);max-width:620px;margin-bottom:22px;line-height:1.8}.overview-stats{grid-template-columns:repeat(3,1fr);gap:16px;margin:30px 0 22px;display:grid}.overview-stats>div{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:10px;flex-direction:column;padding:20px;display:flex}.overview-stats span{color:var(--muted);font-size:13px;font-weight:600}.overview-stats strong{font-variant-numeric:tabular-nums;margin-top:8px;font-size:27px;font-weight:750}.overview-stats>div:last-child strong{font-size:19px;line-height:43px}.resource-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;display:grid}.resource-cards button{border:1px solid var(--border);background:var(--surface);color:var(--ink);text-align:left;cursor:pointer;border-radius:9px;align-items:center;gap:16px;padding:18px;display:flex}.resource-cards button:hover{border-color:var(--accent);background:var(--accent-soft)}.resource-cards svg{color:var(--accent);flex-shrink:0}.resource-cards button>span{min-width:0}.resource-cards strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;display:block;overflow:hidden}.resource-cards small{color:var(--muted);margin-top:5px;font-size:12px;display:block}.standard-modal{width:min(580px,100vw - 32px)}.wide-modal{width:min(1050px,100vw - 32px)}.account-modal{width:min(460px,100vw - 32px)}.p-dialog{--p-dialog-background:var(--surface);--p-dialog-color:var(--ink);--p-dialog-border-color:var(--border);max-height:calc(100dvh - 32px)}.p-dialog-header{border-bottom:1px solid var(--border-soft)}.p-dialog-content{padding-top:20px}.p-dialog h3{margin-top:24px;font-size:16px}.form-field{flex-direction:column;gap:8px;min-width:0;margin-bottom:18px;display:flex}.form-field>span{font-size:13px;font-weight:650}.form-field>.p-inputtext,.form-field>.p-select,.form-field>.p-inputnumber{width:100%}.form-grid{grid-template-columns:1fr 1fr;gap:16px;display:grid}.form-alert{margin-bottom:16px}.modal-footer{justify-content:flex-end;gap:10px;margin-top:24px;display:flex}.account-intro{align-items:center;gap:14px;margin-bottom:22px;display:flex}.account-symbol{width:45px;height:45px;color:var(--accent);background:var(--accent-soft);border-radius:10px;flex-shrink:0;place-items:center;display:grid}.account-intro p{color:var(--muted);overflow-wrap:anywhere;margin:0;font-size:13px}.account-links{justify-content:space-between;gap:10px;margin:16px 0 10px;display:flex}.account-id{background:var(--surface-alt);border:1px solid var(--border-soft);border-radius:7px;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:15px;padding:12px;font-size:12px;display:flex}.logout-button{margin-top:20px}.checkbox-label{align-items:center;gap:7px;font-weight:400;display:flex}.preview-counts{color:var(--muted);flex-wrap:wrap;gap:20px;margin:16px 0;font-size:13px;display:flex}.preview-counts strong{color:var(--accent)}.import-preview{border-top:1px solid var(--border);padding-top:16px}.import-preview>.p-select{width:100%;margin-bottom:18px}.difference-text{font-size:13px}.history-toolbar{align-items:center;gap:16px;margin:20px 0;display:flex}.history-toolbar .p-select{flex:1}.history-toolbar>span{white-space:nowrap;color:var(--muted);font-size:13px}.project-cards{flex-wrap:wrap;gap:12px;margin:20px 0;display:flex}.project-card{border:1px solid var(--border);background:var(--surface-alt);border-radius:8px;flex-direction:column;align-items:flex-start;gap:8px;min-width:170px;padding:18px;display:flex}.project-card>span{color:var(--muted);font-size:12px}.setting-row{justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px;display:flex}.setting-row strong{font-size:14px;font-weight:650}.setting-row p,.record-row p{color:var(--muted);margin:5px 0 0;font-size:12px}.record-row{border-bottom:1px solid var(--border-soft);overflow-wrap:anywhere;justify-content:space-between;align-items:center;gap:16px;padding:15px 0;display:flex}.proposal-layout{grid-template-columns:240px minmax(0,1fr);gap:22px;display:grid}.proposal-list{flex-direction:column;gap:10px;display:flex}.proposal-list .p-button{height:auto;padding:13px}.proposal-label{white-space:normal;overflow-wrap:anywhere;font-size:13px}.proposal-label small{color:var(--muted);margin-top:6px;font-size:12px;display:block}.proposal-change{background:var(--surface-alt);border:1px solid var(--border);border-radius:8px;margin:15px 0;padding:16px}.proposal-change small,.proposal-change label{color:var(--muted);font-size:12px}.proposal-change h4{margin:13px 0 6px;font-size:13px;font-weight:650}.proposal-change pre{margin-bottom:12px;font-size:14px}.proposal-values{grid-template-columns:1fr 1fr;gap:16px;display:grid}.suggested-value{color:var(--accent)}.publication-status{border:1px solid var(--border);border-radius:8px;flex-wrap:wrap;align-items:center;gap:16px;margin-top:24px;padding:20px;display:flex}.muted{color:var(--muted)}.wrap{flex-wrap:wrap}.p-button.mobile-only,.sidebar-backdrop{display:none}@media (width>=1600px){.resource-sidebar{flex-basis:280px;width:280px}.workspace-main{padding:28px 36px}.editor-workspace{grid-template-columns:minmax(0,1fr) 390px;gap:24px}.entries-toolbar{flex-direction:row;justify-content:space-between;align-items:center}.entries-toolbar .search-field{width:260px}}@media (width<=1200px){.resource-sidebar{flex-basis:230px;width:230px}.workspace-main{padding:22px 20px}.editor-workspace{grid-template-columns:minmax(0,1fr) 310px;gap:16px}.editor-panel{padding:17px}.progress-summary{width:170px}}@media (width<=1050px){.editor-workspace{grid-template-columns:minmax(0,1fr)}.editor-panel{position:static}.editor-workspace:not(.has-selection) .editor-panel{display:none}.has-selection .editor-panel{grid-row:1}.resource-summary{flex-direction:column;align-items:stretch;gap:16px}.progress-summary{width:100%}.dictionary-select .p-select{max-width:none}.resource-cards{grid-template-columns:1fr}.overview-stats{gap:10px}.overview-stats>div{padding:15px}}@media (width<=720px){.app-header{gap:6px;height:60px;padding:0 12px}.brand{gap:7px;font-size:22px}.brand-mark{width:30px;height:30px}.brand-divider,.brand-subtitle,.desktop-label,.environment-label{display:none}.header-actions{gap:6px}.theme-switcher{padding:2px}.theme-switcher button{width:27px;height:28px;padding:4px}.user-label{display:none}.header-actions>.p-button{padding:7px}.p-button.mobile-only{display:inline-flex}.workspace{min-height:calc(100dvh - 60px)}.resource-sidebar{display:none}.sidebar-open .resource-sidebar{z-index:20;width:275px;height:auto;display:flex;position:fixed;top:60px;bottom:0;left:0}.sidebar-backdrop{z-index:19;background:#0008;border:0;display:block;position:fixed;inset:60px 0 0}.workspace-main{padding:20px 13px}.resource-heading{flex-wrap:wrap;align-items:flex-start;gap:12px}.resource-heading h1{font-size:22px}.resource-summary{padding:14px}.dictionary-select{flex-direction:column;align-items:stretch;gap:7px}.entries-toolbar{padding:13px}.filter-tabs{gap:2px}.filter-tabs button{gap:4px;padding:7px}.table-footer{padding:10px}.welcome{margin-top:15px}.welcome h1{font-size:26px}.overview-stats{grid-template-columns:1fr 1fr}.overview-stats>div:last-child{grid-column:1/-1}.overview-stats>div:last-child strong{line-height:1.6}.form-grid,.proposal-layout,.proposal-values{grid-template-columns:1fr}.history-toolbar{flex-wrap:wrap}.history-toolbar .p-select{flex-basis:100%}.proposal-list{max-height:230px;overflow-y:auto}.p-toast{max-width:calc(100vw - 24px);right:12px!important}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important}}
