:root{color:#151918;background:#f5f3ee;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:linear-gradient(180deg,rgba(0,104,91,.08),transparent 280px),#f5f3ee}button{font:inherit}button:disabled{cursor:not-allowed;opacity:.55}.app-shell{width:min(1440px,calc(100% - 32px));margin:0 auto;padding:18px 0 28px}.topbar{min-height:68px;display:flex;align-items:center;gap:16px;padding:12px 16px;border:1px solid #c9c6bf;border-bottom:0;border-radius:10px 10px 0 0;background:#ffffffdb}.brand-cluster,.runtime-statuses,.run-status,.panel-heading,.candidate-heading,.progress-header,.quality-list div,.export-button,.document-pill{display:flex;align-items:center}.brand-cluster{gap:12px;min-width:0}.brand-mark,.icon-button{width:40px;height:40px;display:grid;place-items:center;border-radius:8px}.brand-mark{color:#f8fbf8;background:#00685b;font-weight:900}.brand-name{display:block;color:#00685b;font-size:clamp(1.45rem,4vw,2.55rem);font-weight:900;letter-spacing:0;line-height:1}.brand-cluster small,.section-kicker,.tag-copy small,.candidate-row small,.metric-card small,.quality-list span,.candidate-empty{color:#6f726e}.run-status{gap:8px;padding:8px 12px;border:1px solid rgba(0,104,91,.14);border-radius:999px;color:#00685b;background:#e4f1ed;font-weight:800}.runtime-statuses{margin-left:auto;justify-content:flex-end;gap:8px;min-width:0}.language-switcher{display:inline-flex;align-items:center;gap:2px;padding:3px;border:1px solid #d0ccc3;border-radius:999px;background:#fffdf8}.language-switcher button{min-width:44px;border:0;border-radius:999px;padding:7px 10px;color:#6f726e;background:transparent;font-size:.78rem;font-weight:900;letter-spacing:0;cursor:pointer}.language-switcher button.active{color:#fff;background:#00685b;box-shadow:0 5px 14px #00685b2e}.llm-status{max-width:260px}.llm-status.muted{border-color:#ded9cf;color:#6f726e;background:#f5f3ee}.run-status span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.icon-button{border:1px solid #d0ccc3;color:#00685b;background:#fffdf8;cursor:pointer}.settings-menu{position:relative;flex:0 0 auto}.settings-button{min-height:42px;display:inline-flex;align-items:center;gap:8px;padding:0 12px;border:1px solid #d0ccc3;border-radius:8px;color:#00685b;background:#fffdf8;cursor:pointer;font-weight:900}.settings-button strong{max-width:118px;overflow:hidden;padding:3px 7px;border-radius:999px;color:#326bd8;background:#edf3ff;font-size:.72rem;line-height:1.1;text-overflow:ellipsis;white-space:nowrap}.settings-popover{position:absolute;top:calc(100% + 10px);right:0;z-index:30;width:min(360px,calc(100vw - 24px));display:grid;gap:12px;padding:14px;border:1px solid #c9c6bf;border-radius:8px;background:#fffefb;box-shadow:0 18px 48px #181f242e}.settings-popover-heading h2{color:#17201d}.settings-description,.settings-note,.settings-error{margin:0;line-height:1.45;font-size:.82rem}.settings-description,.settings-note{color:#626861}.settings-error{padding:8px 10px;border:1px solid #e2a9a9;border-radius:8px;color:#8f2626;background:#fff2f2}.settings-current-model{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 10px;border:1px solid rgba(50,107,216,.18);border-radius:8px;color:#4f5551;background:#f7faff;font-size:.82rem;font-weight:850}.settings-current-model strong{min-width:0;overflow:hidden;color:#326bd8;text-overflow:ellipsis;white-space:nowrap}.model-option-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.model-option-button{min-width:0;display:grid;gap:7px;padding:10px;border:1px solid #ded9cf;border-radius:8px;color:#17201d;background:#fff;cursor:pointer;text-align:left}.model-option-button.active{border-color:#00685b80;background:#eef8f4;box-shadow:inset 0 0 0 1px #00685b1f}.model-option-button span{min-width:0;display:grid;gap:2px}.model-option-button strong,.model-option-button small,.model-option-button em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.model-option-button strong{color:#00685b;font-size:.84rem}.model-option-button small{color:#6f726e;font-size:.72rem;font-weight:800}.model-option-button em{width:max-content;max-width:100%;padding:2px 6px;border-radius:999px;color:#326bd8;background:#edf3ff;font-size:.68rem;font-style:normal;font-weight:900}.workbench{min-height:calc(100vh - 114px);display:grid;grid-template-columns:280px minmax(0,1fr) 292px;gap:16px;padding:16px;border:1px solid #c9c6bf;border-radius:0 0 10px 10px;background:#fff}.side-panel,.editor-panel{min-width:0;border:1px solid #c9c6bf;border-radius:8px;background:#fbfaf6}.side-panel,.editor-panel{padding:14px}.panel-heading,.candidate-heading,.progress-header,.quality-list div,.export-button{justify-content:space-between;gap:12px}.panel-heading{margin-bottom:16px;color:#00685b}.section-kicker{margin:0 0 4px;font-size:.72rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}h1,h2,p{margin-top:0}h1{margin-bottom:0;color:#17201d;font-size:clamp(1.35rem,3.2vw,2.1rem);line-height:1.15;letter-spacing:0}h2{margin-bottom:0;font-size:1.1rem;line-height:1.15}.reader-import-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px}.import-action-button,.primary-import-button{position:relative;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;cursor:pointer;font-weight:900;white-space:nowrap}.import-action-button{min-height:38px;padding:0 12px;border:1px solid #d6d2c9;color:#4f5551;background:#fff;font-size:.82rem}.import-action-button.merge{border-color:#00685b47;color:#00685b;background:#eef8f4}.primary-import-button{min-width:min(260px,100%);min-height:58px;padding:0 28px;border:1px solid #00685b;color:#fff;background:#00685b;box-shadow:0 16px 42px #00403829;font-size:1rem}.import-action-button input,.primary-import-button input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.tag-copy,.candidate-row span{min-width:0;display:grid;gap:3px}.tag-list,.metric-stack,.quality-list{display:grid;gap:10px}.tag-list{max-height:350px;overflow-y:auto;padding-right:3px}.tag-schema-tools{display:grid;gap:10px;margin-top:12px;padding:10px;border:1px solid rgba(0,104,91,.16);border-radius:8px;background:#fffefb}.tag-schema-copy{display:grid;gap:2px}.tag-schema-copy strong{color:#00685b;font-size:.86rem}.tag-schema-copy small{color:#6f726e;font-size:.72rem;font-weight:850}.tag-schema-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.tag-schema-button{position:relative;min-width:0;min-height:34px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 8px;border:1px solid #d6d2c9;border-radius:8px;color:#00685b;background:#fff;cursor:pointer;font-size:.78rem;font-weight:900}.tag-schema-button input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.tag-schema-button:disabled,.tag-schema-button.disabled{cursor:not-allowed;opacity:.55}.tag-empty-state{margin:0;padding:12px;border:1px dashed #d6d2c9;border-radius:8px;color:#6f726e;background:#fffdf8;font-size:.84rem;line-height:1.45}.tag-form{display:grid;grid-template-columns:minmax(0,1fr) 38px;gap:8px;margin-bottom:12px}.new-label-button{width:100%;min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:8px;margin-bottom:12px;border:1px dashed rgba(0,104,91,.4);border-radius:8px;color:#00685b;background:#f5fbf8;font-size:.84rem;font-weight:900;cursor:pointer}.tag-create-card{grid-template-columns:minmax(0,1fr) 72px;padding:10px;border:1px solid rgba(0,104,91,.22);border-radius:8px;background:#f8fcfa}.tag-create-heading,.tag-create-note{grid-column:1 / -1}.tag-create-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px;color:#17201d}.tag-create-heading small,.tag-create-note{color:#6f726e;font-size:.76rem}.tag-create-actions{display:flex;justify-content:flex-end;gap:6px}.tag-form input{min-width:0;height:38px;padding:0 11px;border:1px solid #d6d2c9;border-radius:8px;color:#17201d;background:#fff;outline:none}.tag-form input:focus{border-color:#00685b8c;box-shadow:0 0 0 3px #00685b1a}.tag-form .tag-definition-input{grid-column:1 / -1}.tag-add-button,.tag-edit-button,.tag-delete-button{display:grid;place-items:center;border:1px solid #d6d2c9;border-radius:8px;background:#fff;cursor:pointer}.tag-add-button{color:#00685b}.tag-edit-button,.tag-delete-button{width:34px;height:34px;flex:0 0 auto}.tag-edit-button{color:#4f6f82}.tag-delete-button{color:#9b3b3b}.tag-option,.candidate-row{width:100%;display:flex;align-items:center;gap:10px;border:1px solid #d6d2c9;border-radius:8px;color:inherit;background:#fff;text-align:left;cursor:pointer}.tag-option{min-height:62px;padding:6px}.tag-main-button{min-width:0;flex:1 1 auto;display:flex;align-items:center;gap:10px;border:0;color:inherit;background:transparent;text-align:left;cursor:pointer}.tag-edit-form{min-width:0;flex:1 1 auto;display:grid;grid-template-columns:13px minmax(0,1fr) 34px 34px;align-items:center;gap:8px}.tag-edit-form input{min-width:0;height:34px;flex:1 1 auto;padding:0 9px;border:1px solid color-mix(in srgb,var(--tag-color) 45%,#d6d2c9);border-radius:8px;color:#17201d;background:#fff;outline:none}.tag-edit-form input:focus{box-shadow:0 0 0 3px color-mix(in srgb,var(--tag-color) 15%,transparent)}.tag-edit-form .tag-guideline-input,.tag-edit-form .tag-definition-input{grid-column:2 / -1;height:30px;font-size:.78rem}.tag-option.selected{border-color:var(--tag-color);background:color-mix(in srgb,var(--tag-color) 10%,#ffffff);box-shadow:inset 4px 0 0 var(--tag-color)}.tag-option.applyable{border-style:dashed}.tag-delete-confirm{position:relative;display:grid;grid-template-columns:34px minmax(0,1fr);gap:10px;margin-top:12px;padding:12px;border:1px solid rgba(155,59,59,.3);border-radius:8px;color:#44221f;background:#fff7f3}.confirm-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:8px;color:#9b3b3b;background:#f7e0d7}.confirm-copy{min-width:0;display:grid;gap:5px;padding-right:26px}.confirm-copy strong{color:#7b2d2d;font-size:.9rem}.confirm-copy p{margin:0;color:#76514b;font-size:.78rem;line-height:1.45}.confirm-close{position:absolute;top:8px;right:8px;width:26px;height:26px;display:grid;place-items:center;border:0;border-radius:6px;color:#76514b;background:transparent;cursor:pointer}.confirm-actions{grid-column:1 / -1;display:flex;justify-content:flex-end;gap:8px}.ghost-button,.danger-button{min-height:32px;padding:0 12px;border-radius:7px;font-weight:850;cursor:pointer}.ghost-button{border:1px solid #d6d2c9;color:#414641;background:#fff}.danger-button{border:1px solid #9b3b3b;color:#fff;background:#9b3b3b}.tag-dot{width:13px;height:13px;flex:0 0 auto;border-radius:999px;background:var(--tag-color)}.tag-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tag-copy em{overflow:hidden;color:#68726d;font-size:.72rem;font-style:normal;font-weight:760;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}kbd{margin-left:auto;min-width:28px;height:28px;display:grid;place-items:center;border:1px solid #d6d2c9;border-radius:6px;color:#00685b;background:#f6f3ed;font-weight:900}.queue-block{margin-top:22px;padding-top:18px;border-top:1px solid #d9d5cc}.mini-heading{display:flex;justify-content:space-between;margin-bottom:10px;color:#6f726e;font-size:.84rem;font-weight:900;text-transform:uppercase}.mini-heading em{color:#00685b;font-style:normal}.queue-progress-summary,.queue-window-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#626861;font-size:.8rem;font-weight:850}.queue-progress-summary strong{color:#00685b;font-size:1.08rem;line-height:1;white-space:nowrap}.queue-block .queue-progress-track{height:10px;margin:9px 0 12px}.queue-window-heading{margin-bottom:10px}.queue-window-heading em{min-width:0;overflow:hidden;color:#00685b;font-style:normal;text-align:right;text-overflow:ellipsis;white-space:nowrap}.sentence-dot-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(18px,1fr));gap:7px}.sentence-dot{position:relative;width:18px;height:18px;display:grid;place-items:center;border:1px solid #cfcac0;border-radius:999px;color:transparent;background:#d7d3ca;cursor:pointer}.sentence-dot span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.sentence-dot.completed{border-color:#2f8d41;background:#3f9d45}.sentence-dot.rejected{border-color:#9b3b3b;background:#c35050}.sentence-dot.ignored{border-color:#7c718c;background:#8d829b}.sentence-dot.needs-review{border-color:#d39a00;background:#f2bf3d}.sentence-dot.untouched{background:#d7d3ca}.sentence-dot.active{outline:2px solid rgba(0,104,91,.22);outline-offset:2px}.sentence-dot-legend{display:grid;gap:7px;margin-top:14px;color:#626861;font-size:.78rem;font-weight:800}.sentence-dot-legend span{display:inline-flex;align-items:center;gap:8px}.legend-dot{width:11px;height:11px;border-radius:999px;background:#d7d3ca}.legend-dot.completed{background:#3f9d45}.legend-dot.rejected{background:#c35050}.legend-dot.ignored{background:#8d829b}.legend-dot.needs-review{background:#f2bf3d}.editor-header{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin-bottom:12px}.editor-header>div:first-child{min-width:0}.editor-header h1{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.editor-tools{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:10px;min-width:0;width:100%}.document-switcher{display:inline-flex;align-items:center;gap:8px;flex:1 1 100%;min-width:0;max-width:100%;padding:8px 10px;border:1px solid rgba(24,31,36,.14);border-radius:8px;background:#fffefb;color:#4b514f}.document-switcher svg{flex:0 0 auto;color:#00685b}.document-switcher select{min-width:0;width:100%;border:0;outline:0;background:transparent;color:#1f2926;font:inherit;font-size:.86rem;font-weight:750;overflow:hidden;text-overflow:ellipsis}.document-pill{gap:7px;flex:0 0 auto;padding:8px 11px;border:1px solid rgba(0,104,91,.16);border-radius:999px;color:#00685b;background:#e7f3ef;font-weight:800}.reader-error{margin-bottom:12px;padding:10px 12px;border:1px solid #e2a9a9;border-radius:8px;color:#8f2626;background:#fff2f2;overflow-wrap:anywhere}.empty-reader,.text-reader{position:relative;border:1px solid #c9c6bf;border-radius:8px;background:#fffefb}.empty-reader{min-height:420px;display:grid;place-items:center;align-content:center;gap:12px;padding:32px;color:#00685b;text-align:center}.import-drop-zone{border-style:dashed}.import-drop-zone.drop-active,.text-reader.drop-active{border-color:#00685bcc;background:#eef8f4;box-shadow:inset 0 0 0 2px #00685b1f}.empty-reader p{max-width:560px;margin-bottom:0;color:#5f6561;font-size:.86rem;font-weight:850;line-height:1.45}.text-reader{height:min(58vh,640px);min-height:420px;overflow-y:auto;padding:clamp(18px,2.4vw,32px);scroll-behavior:smooth;touch-action:pan-y}.text-reader.drop-active:before{position:sticky;top:50%;z-index:10;width:max-content;max-width:min(90%,320px);display:block;margin:0 auto;padding:12px 16px;border:1px solid rgba(0,104,91,.3);border-radius:8px;color:#00685b;background:#fffffff0;box-shadow:0 14px 32px #00403824;content:attr(data-drop-hint);font-weight:900;pointer-events:none;text-align:center}.sentence-card{position:relative;margin:0 auto 28px;padding:clamp(18px,2.5vw,30px);border:1px solid #ddd8ce;border-radius:8px;background:#fff;transition:opacity .18s ease,transform .18s ease,border-color .18s ease,box-shadow .18s ease}.sentence-card.dimmed{opacity:.38;transform:scale(.985)}.sentence-card.dimmed:after{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:inherit;background:#f5f3ee6b;content:"";pointer-events:none}.sentence-card.active{border-color:#00685b8c;box-shadow:0 18px 56px #00403821}.sentence-card.completed{border-left:5px solid #3b8f2f}.sentence-card.rejected{border-left:5px solid #c35050}.sentence-card.ignored{border-left:5px solid #8d829b}.sentence-card.needs-review:not(.completed){border-left:5px solid #f2bf3d}.sentence-meta{display:flex;justify-content:space-between;gap:12px;margin-bottom:12px;color:#6f726e;font-size:.82rem;font-weight:900;text-transform:uppercase}.sentence-meta strong{color:#00685b}.sentence-text{margin-bottom:0;color:#141817;font-size:clamp(.98rem,1.15vw,1.14rem);line-height:1.78;letter-spacing:0}.token{display:inline;margin:0;padding:.03em .08em;border:0;border-radius:5px;color:inherit;background:transparent;cursor:text;line-height:inherit}.token.span-start{border-top-right-radius:0;border-bottom-right-radius:0}.token.span-middle{border-radius:0}.token.span-end{border-top-left-radius:0;border-bottom-left-radius:0}.token.span-single{border-radius:5px}.sentence-card.active .token:hover,.token.selecting,.token.pending{background:color-mix(in srgb,var(--token-color) 22%,#ffffff);box-shadow:inset 0 -.18em color-mix(in srgb,var(--token-color) 38%,transparent)}.token.pending{box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--token-color) 36%,transparent),inset 0 -.18em color-mix(in srgb,var(--token-color) 42%,transparent)}.token.annotated{background:color-mix(in srgb,var(--token-color) 30%,#ffffff);box-shadow:inset 0 -.18em color-mix(in srgb,var(--token-color) 42%,transparent)}.token.suggested{background:color-mix(in srgb,var(--token-color) 14%,#ffffff);box-shadow:inset 0 -.16em color-mix(in srgb,var(--token-color) 26%,transparent);outline:1px dashed color-mix(in srgb,var(--token-color) 68%,#ffffff);outline-offset:2px}.candidate-card,.verification-card,.progress-card,.metric-card{border:1px solid #c9c6bf;border-radius:8px;background:#fff}.candidate-card,.verification-card{margin-top:16px;padding:16px}.candidate-heading h2,.verification-card h2{color:#00685b}.candidate-heading{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;justify-content:stretch;gap:12px}.candidate-heading>div:first-child{min-width:0;display:flex;flex-wrap:wrap;align-items:baseline;gap:8px}.candidate-heading h2{white-space:nowrap}.candidate-heading span{color:#00685b;font-weight:900}.candidate-actions{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:8px;min-width:0}.suggest-limit-control{min-height:36px;display:inline-flex;align-items:center;gap:7px;padding:0 9px;border:1px solid #d6d2c9;border-radius:8px;color:#4f5551;background:#fff;font-size:.78rem;font-weight:900}.suggest-limit-control input{width:42px;border:0;color:#326bd8;background:transparent;font:inherit;outline:none}.suggest-button,.batch-review-button{min-height:36px;display:inline-flex;align-items:center;gap:7px;padding:0 11px;border:1px solid rgba(50,107,216,.28);border-radius:8px;color:#326bd8;background:#f2f6ff;cursor:pointer;font-weight:900}.batch-review-button.accept{border-color:#00685b3d;color:#00685b;background:#eef8f4}.batch-review-button.reject{border-color:#9b3b3b3d;color:#9b3b3b;background:#fff4f2}.suggest-button.secondary{border-color:#d6d2c9;color:#4f5551;background:#fff}.candidate-list,.suggestion-list{display:grid;gap:8px;margin-top:12px}.pending-card{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;padding:12px;border:1px dashed rgba(0,104,91,.45);border-radius:8px;background:#eef8f4}.pending-card span{display:grid;gap:3px}.pending-card small{color:#61706b}.pending-card em{color:#00685b;font-style:normal;font-weight:900}.candidate-row{justify-content:space-between;min-height:58px;padding:10px 12px;box-shadow:inset 4px 0 0 var(--token-color)}.candidate-row em{color:#b43b59;font-style:normal;font-weight:900}.candidate-row .source-badge{display:inline-flex;align-items:center;margin-left:6px;padding:1px 6px;border-radius:999px;color:#326bd8;background:#edf3ff;font-size:.68rem;font-style:normal;font-weight:900;white-space:nowrap}.suggestion-row{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px dashed color-mix(in srgb,var(--token-color) 45%,#d6d2c9);border-radius:8px;background:color-mix(in srgb,var(--token-color) 8%,#ffffff)}.suggestion-row.keyboard-target{border-style:solid;box-shadow:inset 4px 0 0 var(--token-color)}.suggestion-row span{min-width:0;display:grid;gap:3px}.suggestion-row small{color:#61706b}.suggestion-meta-line{display:flex;flex-wrap:wrap;align-items:center;gap:5px}.suggestion-meta-line em,.suggestion-badge{display:inline-flex;align-items:center;width:max-content;max-width:100%;padding:1px 6px;border-radius:999px;color:#4f5551;background:#f2efe8;font-size:.68rem;font-style:normal;font-weight:900}.suggestion-meta-line .suggestion-badge{color:#326bd8;background:#edf3ff}.suggestion-meta-line .keyboard-target-badge{color:#00685b;background:#e7f3ef}.suggestion-row .evidence-copy{display:flex;flex-wrap:wrap;align-items:center;gap:5px;color:#7b6a42;font-size:.74rem}.suggestion-row .evidence-copy em,.suggestion-row .review-copy em{color:#6f5b1f;font-style:normal;font-weight:900}.suggestion-row .evidence-copy strong{min-width:0;overflow-wrap:anywhere;color:#4e4527;font-weight:850}.suggestion-row .match-key-copy{color:#526560}.suggestion-row .match-key-copy em{color:#00685b}.suggestion-row .match-key-copy strong{color:#243c36;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.72rem}.suggestion-row .review-copy{display:block;color:#326bd8;line-height:1.35}.suggestion-row .review-copy em{margin-right:5px;color:#326bd8}.suggestion-actions{display:flex;gap:7px}.suggestion-actions button{width:32px;height:32px;display:grid;place-items:center;border:1px solid #d6d2c9;border-radius:8px;color:#00685b;background:#fff;cursor:pointer}.suggestion-actions button:last-child{color:#9b3b3b}.candidate-empty{margin:12px 0 0;line-height:1.5}.verification-card{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:14px}.verification-card>div:first-child{min-width:0;display:flex;flex-wrap:wrap;align-items:baseline;gap:8px}.verification-card h2{white-space:nowrap}.verification-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;min-width:0}.accept-button,.edit-button,.skip-button,.reject-sentence-button,.undo-button,.review-button,.export-button{min-height:42px;border-radius:8px;cursor:pointer;font-weight:900}.accept-button,.edit-button,.skip-button,.reject-sentence-button,.undo-button,.review-button{min-width:min(118px,100%);padding:0 14px}.accept-button{border:1px solid #00685b;color:#fff;background:#00685b}.edit-button{border:1px solid #326bd8;color:#326bd8;background:#fff}.skip-button{border:1px solid #b98600;color:#946900;background:#fff}.reject-sentence-button{border:1px solid #9b3b3b;color:#9b3b3b;background:#fff4f2}.undo-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #6f6a61;color:#4f5551;background:#fff}.review-button{border:1px solid #d39a00;color:#7c5b00;background:#fff7df}.review-button.compact{min-width:auto;min-height:36px;padding:0 11px;font-size:.82rem}.metric-card{display:grid;gap:8px;padding:16px;color:#00685b}.metric-card.warning{border-color:#d39a00;color:#8a6100;background:#fff9e8}.metric-card span{color:#4f5551;font-weight:900}.metric-card strong{display:inline-flex;align-items:center;gap:6px;color:#151918;font-size:clamp(2rem,5vw,2.9rem);line-height:1}.actor-breakdown{display:flex;flex-wrap:wrap;gap:6px}.actor-breakdown span{display:inline-flex;align-items:center;min-height:22px;padding:0 7px;border:1px solid #d6d2c9;border-radius:999px;color:#4f5551;background:#ffffffb3;font-size:.72rem;font-weight:900}.progress-card{margin-top:14px;padding:16px}.progress-card.warning{border-color:#d39a00;background:#fff9e8}.audit-issue-list{display:grid;gap:5px;margin-top:8px}.audit-issue-list small{overflow:hidden;color:#8a6100;font-size:.72rem;font-weight:800;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.rebuild-issue-list{margin-top:10px}.run-history-list,.review-queue-list{display:grid;gap:8px;margin-top:12px}.review-order-toggle{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:10px;padding:4px;border:1px solid #dcd7ce;border-radius:8px;background:#fff}.review-order-toggle button{min-height:30px;border:0;border-radius:6px;color:#69716d;background:transparent;cursor:pointer;font-size:.74rem;font-weight:900}.review-order-toggle button.active{color:#326bd8;background:#eef3ff}.run-history-row{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px;border:1px solid #ded9cf;border-radius:8px;background:#fff}.review-queue-row{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px;border:1px solid rgba(50,107,216,.2);border-radius:8px;color:#17201d;background:#f8fbff;cursor:pointer;text-align:left}.run-history-row span,.review-queue-row span{min-width:0;display:grid;gap:3px}.run-history-row strong,.run-history-row small,.review-queue-row strong,.review-queue-row small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.run-history-row strong{color:#17201d;font-size:.83rem}.run-history-row small{color:#6f726e;font-size:.72rem;font-weight:800}.review-queue-row strong{color:#17201d;font-size:.83rem}.review-queue-row small{color:#326bd8;font-size:.72rem;font-weight:850}.review-queue-row em{flex:0 0 auto;padding:4px 7px;border-radius:999px;color:#326bd8;background:#eef3ff;font-size:.68rem;font-style:normal;font-weight:900}.run-history-pills{flex:0 0 auto;display:flex;gap:4px}.run-history-pills em{min-width:34px;padding:3px 6px;border-radius:999px;color:#4f5551;background:#f2efe8;font-size:.68rem;font-style:normal;font-weight:900;text-align:center}.run-history-pills .accepted{color:#00685b;background:#e7f3ef}.run-history-pills .rejected{color:#9b3b3b;background:#fff2f2}.run-export-button{width:30px;height:30px;flex:0 0 auto;display:grid;place-items:center;border:1px solid #d6d2c9;border-radius:8px;color:#00685b;background:#fffdf8;cursor:pointer}.run-export-button:hover{border-color:#00685b73;background:#edf7f3}.progress-header strong{color:#00685b}.progress-track{height:12px;overflow:hidden;margin:14px 0;border-radius:999px;background:#e8e4dc}.progress-track span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#00685b,#44a386)}.quality-list div{min-height:34px;border-top:1px solid #ece8df}.quality-list.compact{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}.quality-list.compact div{min-width:0;min-height:48px;padding:8px;border:1px solid #ece8df;border-radius:8px;background:#fffdf8}.quality-list strong{display:inline-flex;align-items:center;gap:5px;color:#151918}.import-result-card{margin-top:8px;background:#f6fbf8}.import-source-line{min-width:0;display:block;overflow:hidden;color:#5f6561;font-size:.74rem;font-weight:850;text-overflow:ellipsis;white-space:nowrap}.shortcut-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}.shortcut-grid span{min-width:0;display:grid;gap:4px;padding:9px;border:1px solid #ece8df;border-radius:8px;background:#fffdf8}.shortcut-grid kbd{width:max-content;min-width:0;height:auto;margin:0;padding:3px 7px;border-radius:6px;font-size:.74rem}.shortcut-grid em{overflow:hidden;color:#5f6561;font-size:.72rem;font-style:normal;font-weight:850;text-overflow:ellipsis;white-space:nowrap}.export-button{width:100%;position:relative;display:inline-flex;align-items:center;gap:8px;justify-content:center;margin-top:14px;border:1px solid #00685b;color:#fff;background:#00685b}.export-button.secondary{margin-top:8px;color:#00685b;background:#fff}.export-button.danger{margin-top:14px;border-color:#b42318;color:#fff;background:#b42318}.export-button.danger:hover:not(:disabled){border-color:#8f1d14;background:#8f1d14}.export-button:disabled{opacity:.52;cursor:not-allowed}.import-jsonl-button input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.export-button.disabled{opacity:.52;cursor:not-allowed}.export-button.disabled input{cursor:not-allowed}@media(max-width:1120px){.workbench{grid-template-columns:240px minmax(0,1fr)}.stats-panel{grid-column:1 / -1}.metric-stack{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.app-shell{width:min(100% - 20px,680px);padding-top:10px}.topbar{min-height:auto;flex-wrap:wrap;border-bottom:1px solid #c9c6bf;border-radius:10px}.brand-cluster small,.run-status span{display:none}.workbench{grid-template-columns:1fr;margin-top:12px;padding:0;border:0;background:transparent}.side-panel,.editor-panel{border-radius:10px}.tag-list{grid-auto-flow:row;grid-auto-columns:auto;overflow-x:hidden;overflow-y:auto;padding-bottom:0}.sentence-dot-grid{grid-auto-flow:column;grid-auto-columns:18px;grid-template-columns:none;overflow-x:auto;padding:4px 4px 8px}.tag-schema-actions{grid-template-columns:1fr}.editor-header,.editor-tools,.verification-card{display:grid;grid-template-columns:1fr}.document-pill{width:max-content}.document-switcher{width:100%;max-width:none}.settings-menu{flex:1 1 220px}.settings-button{width:100%;justify-content:center}.settings-popover{right:auto;left:0}.text-reader{height:62vh;min-height:360px}.metric-stack{grid-template-columns:1fr}}@media(max-width:480px){.topbar{padding:10px}.brand-name{font-size:1.45rem}.editor-panel,.side-panel{padding:12px}.sentence-card{padding:16px}.sentence-text{font-size:1rem}.model-option-grid{grid-template-columns:1fr}.verification-actions,.accept-button,.edit-button,.skip-button,.reject-sentence-button,.undo-button,.review-button{width:100%}}
