:root{color-scheme:light;--bg: #f4efe2;--bg-strong: #efe5d0;--paper: rgba(255, 250, 240, .88);--ink: #231b16;--muted: #6e5d4f;--line: rgba(98, 70, 39, .2);--accent: #874b2a;--accent-soft: rgba(135, 75, 42, .16);--high: #b4512e;--medium: #456a63;--low: #7c7665;--accepted: #2f6c55;--rejected: #87443d;--deferred: #8a6b2d;--manual: #6a4f88;--shadow: 0 18px 60px rgba(35, 27, 22, .12);font-family:Fraunces,Iowan Old Style,Palatino Linotype,Georgia,serif;color:var(--ink);background:radial-gradient(circle at top left,rgba(135,75,42,.13),transparent 28%),radial-gradient(circle at top right,rgba(69,106,99,.14),transparent 26%),linear-gradient(180deg,#f8f3e8,#f2ead7)}*{box-sizing:border-box}body{margin:0;min-height:100vh}button,input,select,textarea{font:inherit}.app-shell{padding:28px}.dashboard-shell{min-height:100vh;color:var(--ink);background:radial-gradient(circle at top left,rgba(135,75,42,.13),transparent 28%),radial-gradient(circle at top right,rgba(69,106,99,.14),transparent 26%),linear-gradient(180deg,#f8f3e8,#f2ead7)}.dashboard-shell.display-mode-darker{color-scheme:dark;--bg: #181512;--bg-strong: #241f1a;--paper: rgba(34, 29, 24, .9);--ink: #f5ead8;--muted: #c2ad96;--line: rgba(225, 190, 145, .24);--accent: #e0a15f;--accent-soft: rgba(224, 161, 95, .18);--high: #ef9b6b;--medium: #8fd0bd;--low: #b9ad94;--accepted: #7fc99e;--rejected: #ed8d7b;--deferred: #d2ad64;--manual: #c49be5;--shadow: 0 18px 60px rgba(0, 0, 0, .38);background:radial-gradient(circle at top left,rgba(224,161,95,.16),transparent 28%),radial-gradient(circle at top right,rgba(84,145,130,.18),transparent 24%),linear-gradient(180deg,#181512,#211b16)}.dashboard-shell.display-mode-darker .workflow-controls,.dashboard-shell.display-mode-darker .chapter-card,.dashboard-shell.display-mode-darker .job-card{background:#28221ceb}.dashboard-shell.display-mode-darker select,.dashboard-shell.display-mode-darker .text-box{border-color:#e1be9147;background:#1e1a16f5}.dashboard-shell.display-mode-darker .neutral-button{background:#473b2feb;border-color:#e1be9147;color:var(--ink)}.dashboard-shell.display-mode-darker .primary-button{background:linear-gradient(135deg,#b86f38,#80502e);color:#fff7ec}.dashboard-shell.display-mode-darker .link-button{border-color:#e0a15f57;color:var(--accent)}.dashboard-shell.display-mode-darker .job-log{background:#14110ee6}.import-shell,.review-shell{min-height:100vh;display:flex;flex-direction:column;gap:18px}.masthead,.panel,.note-card,.status-banner{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.masthead{display:flex;gap:24px;justify-content:space-between;align-items:end;padding:28px;border:1px solid var(--line);border-radius:28px;background:var(--paper);box-shadow:var(--shadow)}.review-masthead{display:grid;gap:18px;align-items:stretch}.review-masthead-top{display:flex;gap:24px;justify-content:space-between;align-items:end;flex-wrap:wrap}.review-masthead-notes{display:grid;gap:14px;padding-top:18px;border-top:1px solid var(--line)}.eyebrow,.mini-label,.note-label{text-transform:uppercase;letter-spacing:.12em;font-size:.72rem;color:var(--muted)}.masthead h1,.panel h2,.candidate-header h4{margin:0}.subtitle,.panel-header p,.candidate-note,.candidate-score,.build-meta,.queue-item p{color:var(--muted)}.import-masthead{align-items:center}.import-grid{align-items:start}.import-panel{min-height:0}.import-panel-body{display:grid;gap:18px;padding:20px}.import-field input[type=file]{padding:10px 0}.import-note-strip{margin:0}.import-mode-badge-strip{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:flex-end}.note-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin:22px 0}.note-card{padding:18px;border-radius:20px;border:1px solid var(--line);background:#fff8eed1}.global-notes-card{display:grid;gap:14px;margin:22px 0 18px;padding:18px 20px;border:1px solid var(--line);border-radius:24px;background:#fffaf0cc;box-shadow:var(--shadow)}.global-notes-header,.global-notes-actions,.patch-plan-header,.queue-tags{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap}.queue-tags{justify-content:right;padding-top:12px}.global-notes-header h2{margin:4px 0 0}.review-masthead-notes .note-strip{margin:0}.note-strip-compact{margin:0;display:flex;gap:16px;overflow-x:auto;overflow-y:hidden;padding-bottom:6px;scroll-snap-type:x proximity}.note-strip-compact.expanded{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));max-height:260px;overflow:auto;padding-right:6px;padding-bottom:0;scroll-snap-type:none}.note-card-compact{padding:14px 16px;flex:0 0 clamp(240px,28vw,320px);scroll-snap-align:start}.note-card-compact p:last-child{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.note-strip-compact.expanded .note-card-compact{flex:initial}.note-strip-compact.expanded .note-card-compact p:last-child{display:block;-webkit-line-clamp:unset;overflow:visible}select,.text-box{width:100%;border:1px solid rgba(98,70,39,.3);border-radius:14px;background:#fffcf7f0;color:var(--ink)}.workspace{display:grid;grid-template-columns:minmax(320px,1.15fr) minmax(380px,1fr);gap:18px}.workflow-controls{display:flex;gap:14px;align-items:end;flex-wrap:wrap;margin:18px 0;padding:16px;border:1px solid var(--line);border-radius:18px;background:#fffaf0b8}.quick-start-panel{display:grid;grid-template-columns:minmax(280px,1fr) minmax(360px,.8fr);gap:18px;align-items:end;margin:18px 0;padding:20px;border:1px solid rgba(135,75,42,.24);border-radius:22px;background:linear-gradient(135deg,#fffaf0e6,#f1debeb8);box-shadow:var(--shadow)}.dashboard-shell.display-mode-darker .quick-start-panel{border-color:#e0a15f52;background:linear-gradient(135deg,#2d251ef0,#3c2b1fd1)}.quick-start-panel h2{margin:4px 0 8px}.quick-start-controls{display:grid;grid-template-columns:minmax(180px,1fr) auto;gap:12px;align-items:end}.quick-start-field{min-width:0}.quick-start-field .text-box{min-height:44px;resize:none}.pilot-shell{gap:18px}.pilot-masthead{align-items:center}.pilot-workspace{grid-template-columns:minmax(420px,.95fr) minmax(380px,1.05fr)}.pilot-panel{min-height:0}.pilot-form{display:grid;gap:16px;padding:20px}.pilot-text-field{min-width:0}.pilot-chapter-text{min-height:320px;line-height:1.55;resize:vertical}.pilot-defaults{padding-top:4px}.pilot-submit-button{width:fit-content}.cta-button,.review-ready-button{font-weight:700;box-shadow:0 10px 24px #6d2e1a2e}.primary-button:disabled,.neutral-button:disabled,.link-button:disabled{cursor:not-allowed;opacity:.56}.pending-review-banner{margin:0 0 18px}.control-group,.config-summary,.artifact-list{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.control-field{display:grid;gap:6px;min-width:160px}.toggle-row{display:inline-flex;gap:8px;align-items:center;color:var(--ink)}.dashboard-workspace{display:grid;grid-template-columns:minmax(420px,1.2fr) minmax(320px,.9fr);gap:18px}.panel{min-height:72vh;border:1px solid var(--line);border-radius:24px;background:var(--paper);box-shadow:var(--shadow);overflow:hidden}.panel-header{display:flex;justify-content:space-between;gap:12px;align-items:start;padding:18px 20px 0}.panel-header .header-badges{margin:12px}.panel-header p,.panel-header h2{margin:12px 0}.source-panel-header{align-items:center;flex-wrap:wrap;overflow:visible}.source-text,.detail-stack{padding:18px}.source-panel-body{position:relative;display:flex;padding:18px;min-height:calc(72vh - 78px);overflow:hidden}.source-panel-stage{display:grid;gap:0;flex:1;min-height:0}.source-empty-state{display:grid;gap:16px;align-content:start;padding:18px;min-height:0}.source-empty-preview{margin:0;padding:16px;border-radius:18px;border:1px solid var(--line);background:#fffaf0d1;white-space:pre-wrap;line-height:1.6}.source-text{white-space:pre-wrap;line-height:1.6;overflow:auto;min-height:0;max-height:calc(72vh - 196px)}.source-toolbar-shell{display:flex;justify-content:flex-end;flex:1;min-width:0;max-width:min(100%,820px);opacity:1;transform:translateY(0);transition:opacity .16s ease,transform .16s ease,max-width .16s ease,margin .16s ease}.source-toolbar-shell.collapsed{flex:0 1 0;max-width:0;opacity:0;transform:translateY(-8px);pointer-events:none;overflow:hidden}.source-info-bar{display:flex;align-items:center;justify-content:flex-end;gap:14px;min-width:0;flex-wrap:wrap}.source-file-path{margin:0;color:var(--muted);font-size:.9rem;font-weight:600;cursor:help;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:240px}.source-info-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.source-help{position:relative;z-index:3}.source-help-button{width:36px;height:36px;border:1px solid var(--line);border-radius:999px;background:#fffcf7eb;color:var(--accent);font-weight:700;cursor:pointer}.source-help-button.active{background:#874b2a24}.source-help-tooltip{position:absolute;top:calc(100% + 8px);right:0;width:min(320px,calc(100vw - 64px));z-index:5;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:#fffaf3fa;box-shadow:0 16px 28px #231b161f;color:var(--ink);font-size:.92rem;line-height:1.5;text-wrap:pretty}.source-hit{position:relative;display:inline;border:0;padding:0;margin:0;background:#874b2a1f;color:inherit;cursor:pointer;border-radius:6px;transition:background-color .14s ease}.source-hit:hover,.queue-item:hover{filter:brightness(.99)}.source-hit.active{outline:2px solid rgba(135,75,42,.6)}.manual-source-hit{background:#6a4f882e;box-shadow:inset 0 -1px #6a4f8840}.hit-count{display:inline-flex;margin-left:6px;padding:0 6px;border-radius:999px;background:#231b16b3;color:#fff;font-size:.72rem}.detail-stack{display:grid;gap:18px;align-content:start;overflow:auto;max-height:calc(72vh - 78px)}.detail-title{min-height:0;position:relative;z-index:1;padding-bottom:4px}.detail-tabs,.tab-panel-stack{display:grid;gap:14px}.detail-tabs{position:relative;z-index:0;margin-top:2px}.detail-tablist{display:flex;gap:8px;flex-wrap:wrap;align-items:end;padding:0 4px;border-bottom:1px solid var(--line)}.detail-tab{min-width:0;padding:12px 16px 10px;text-align:left;border:1px solid rgba(98,70,39,.18);border-bottom:0;border-radius:16px 16px 0 0;background:#f7eee0b8;color:var(--ink);display:grid;gap:4px;transform:translateY(1px);transition:border-color .14s ease,background-color .14s ease,box-shadow .14s ease}.detail-tab.active{border-color:#874b2a6b;background:linear-gradient(180deg,#fffaf3fc,#fffcf7f5);box-shadow:0 -4px 12px #231b160d}.detail-tab-label{font-size:.95rem;font-weight:600}.detail-tab-meta{font-size:.72rem;text-transform:uppercase;letter-spacing:.12em;color:var(--muted)}.detail-tab-panel{border:1px solid var(--line);border-radius:0 20px 20px;background:#fffcf7b8;padding:16px}.detail-title p,.candidate-text,.note-card p,.queue-item p,.context-card pre,.diff-preview,.raw-json,.diagnostic-card pre,.build-result pre{margin:0}.context-card,.candidate-card,.diagnostic-card,.summary-pill,.chapter-card,.job-card{border:1px solid var(--line);border-radius:18px;background:#fffcf7e6}.context-card,.diagnostic-card,.build-result{padding:16px}.decision-row,.field-label-row,.queue-actions,.candidate-header,.queue-item-header,.header-badges,.build-panel{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap}.queue-item-header{padding-bottom:12px}.field-stack{display:grid;gap:8px}.source-mode-toggle{display:inline-flex;padding:4px;border:1px solid var(--line);border-radius:999px;background:#fffcf7e6}.source-mode-button{border:0;background:transparent;color:var(--muted);border-radius:999px;padding:8px 14px;cursor:pointer}.source-mode-button.active{background:#874b2a24;color:var(--accent)}.source-panel-note{margin:0;color:var(--muted);font-size:.95rem}.text-box{min-height:110px;padding:12px;resize:vertical}.candidate-card{padding:16px;display:grid;gap:12px}.candidate-card.selected{border-color:#2f6c5573;box-shadow:inset 0 0 0 1px #2f6c554d}.candidate-note{font-size:.95rem}.candidate-text{font-size:1rem;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}.source-context-bracket{color:var(--muted);font-weight:700}.source-context-target{border-radius:8px;padding:0 3px;background:#b4512e2e;color:inherit;box-shadow:inset 0 -1px #b4512e47}.diff-preview,.raw-json,.diagnostic-card pre,.build-result pre,.context-card pre{padding:14px;border-radius:14px;background:#f7f0e1;white-space:pre-wrap;overflow-wrap:anywhere;font-family:SFMono-Regular,Menlo,monospace;font-size:.88rem}.diff-insert{background:#2f6c5538}.diff-delete{text-decoration:line-through;background:#87443d2e}.primary-button,.neutral-button,.link-button,.queue-item{border-radius:14px;cursor:pointer}.primary-button,.neutral-button,.link-button{border:1px solid transparent;padding:10px 14px}.primary-button{background:linear-gradient(135deg,#8a4d2d,#6d2e1a);color:#fff7f0}.neutral-button{background:#efe5d0cc;border-color:var(--line);color:var(--ink)}.link-button{background:transparent;border-color:#62462740;color:var(--accent)}.queue-panel{display:grid;grid-template-rows:auto auto minmax(0,1fr);min-height:0;margin-bottom:18px;max-height:70vh}.queue-panel-body{display:grid;grid-template-rows:minmax(0,1fr) auto;min-height:0;min-width:0}.queue-panel-content{display:grid;min-height:0;padding:0 20px}.navigator-tabbar{display:flex;gap:10px;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;overflow:visible;padding:14px 20px 16px;position:relative;z-index:1}.navigator-tablist,.navigator-status-strip{display:flex;gap:10px;flex-wrap:wrap;align-items:flex-start;overflow:visible}.navigator-status-strip{margin-left:auto}.navigator-tab,.navigator-status-chip{display:inline-flex;gap:10px;align-items:center;border:1px solid var(--line);border-radius:999px;background:#fffcf7d6;color:var(--ink);padding:11px 14px;line-height:1;align-self:flex-start}.navigator-tab{cursor:pointer}.navigator-tab.active{border-color:#874b2a66;background:#f7eee0fa;box-shadow:inset 0 0 0 1px #874b2a2e}.navigator-tab-label{font-weight:600}.navigator-status-chip{cursor:default}.navigator-tab-panel{min-height:0;overflow:auto}.queue-navigator-panel{overflow:hidden;max-height:90vh;padding-right:0}.queue-tab-layout{display:grid;grid-template-columns:minmax(420px,1.2fr) minmax(280px,.8fr);gap:16px;min-height:0;height:100%}.queue-panel-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:18px;border-top:1px solid var(--line);background:#faf3e7f5;box-shadow:0 -8px 24px #231b160a}.queue-chart-card{display:flex;align-items:center;justify-content:center;min-height:0;overflow:hidden;padding:16px 12px}.queue-browser{display:grid;grid-template-columns:18px minmax(0,1fr);gap:14px;min-height:0}.queue-scrub-rail{position:relative;min-height:0;border-radius:999px;background:#efe5d094;border:1px solid rgba(98,70,39,.14);touch-action:none}.queue-scrub-track{position:absolute;top:12px;bottom:12px;left:50%;width:2px;transform:translate(-50%);background:linear-gradient(180deg,#874b2a29,#456a6333)}.queue-scrub-marker{position:absolute;left:50%;width:12px;height:12px;padding:0;transform:translate(-50%,-50%);border-radius:999px;border:2px solid rgba(255,252,247,.95);box-shadow:0 0 0 1px #62462724;cursor:pointer;transition:transform .14s ease,box-shadow .14s ease,filter .14s ease}.queue-scrub-marker:hover,.queue-scrub-marker:focus-visible,.queue-scrub-marker.preview{transform:translate(-50%,-50%) scale(1.18);filter:brightness(1.04);outline:none}.queue-scrub-marker.active{box-shadow:0 0 0 2px #231b1629,0 0 0 4px #874b2a2e}.queue-scrub-marker.unreviewed{background:#7c7665d1}.queue-scrub-marker.accepted{background:#2f6c55d1}.queue-scrub-marker.rejected{background:#87443dd1}.queue-scrub-marker.deferred{background:#8a6b2dd1}.queue-scrub-marker.manual{background:#6a4f88d1}.queue-chart-stage{display:flex;align-items:center;justify-content:center;min-height:100%}.queue-nightingale-chart{width:min(60vh,440px);height:auto;justify-self:center;overflow:visible}.queue-list-pane{min-height:100%;overflow:auto;padding-right:6px}.queue-chart-core{fill:#fffaf3f2;stroke:#6246271f;stroke-width:1.5}.queue-chart-core-label{fill:var(--ink);font-size:1.3rem;font-weight:700}.queue-chart-core-copy{fill:var(--muted);font-size:.72rem;letter-spacing:.14em;text-transform:uppercase}.queue-chart-segment{cursor:pointer;stroke:#fffcf7eb;stroke-width:2.2;transition:opacity .14s ease,filter .14s ease,stroke-width .14s ease,transform .14s ease;opacity:.9}.queue-chart-segment:hover,.queue-chart-segment:focus-visible,.queue-chart-segment.preview{filter:brightness(1.06);stroke-width:3;outline:none;opacity:1}.queue-chart-segment.active{stroke:#231b16d1;stroke-width:3.6;filter:drop-shadow(0 8px 14px rgba(35,27,22,.14));opacity:1}.queue-list-detailed{gap:14px}.queue-item-detailed{display:grid;gap:12px;padding:16px}.queue-item-detailed.preview{border-color:#456a6357;box-shadow:inset 0 0 0 1px #456a6324}.queue-item-line-label{color:var(--ink);font-size:.96rem}.queue-item-detailed .queue-tags{justify-content:flex-start;padding-top:0}.queue-item-detailed .queue-item-description{color:var(--ink);line-height:1.45;-webkit-line-clamp:4}.queue-item-excerpt{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;line-height:1.45;padding:12px 14px;border-radius:14px;background:#f7eee099;color:var(--muted);font-family:SFMono-Regular,Menlo,monospace;font-size:.83rem}.queue-panel-footer .queue-actions{justify-content:flex-start;width:100%}.queue-panel-footer .queue-actions>.primary-button{margin-right:auto}.manual-patch-section{display:grid;gap:10px}.manual-patch-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.manual-patch-header h3,.manual-drawer-header h3{margin:0}.manual-patch-header p{margin:0;color:var(--muted)}.manual-patch-list{list-style:none;padding:0;margin:0;display:grid;gap:10px}.manual-patch-item{width:100%;text-align:left;border:1px solid var(--line);border-radius:16px;background:#fffcf7e6;padding:12px 14px;cursor:pointer}.manual-patch-item.active{border-color:#6a4f8873;box-shadow:inset 0 0 0 1px #6a4f8840}.manual-patch-item p{margin:0;color:var(--muted)}.manual-patch-item-compact p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.manual-drawer{display:grid;gap:14px;width:min(100%,760px);max-height:min(100%,38rem);overflow:auto;padding:20px;border:1px solid rgba(98,70,39,.24);border-radius:22px;background:#fff8f2fa;box-shadow:0 24px 48px #231b1629}.manual-drawer-inline{width:100%;max-height:none;box-shadow:none;background:#fffcf7eb}.manual-patch-stack{gap:0}.dashboard-panel-body{padding:18px;min-height:calc(72vh - 78px);overflow:auto}.chapter-grid,.job-list{display:grid;gap:14px}.chapter-card,.job-card{display:grid;gap:12px;padding:18px}.chapter-card-header{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap}.chapter-select{display:inline-flex;gap:10px;align-items:center;font-weight:600}.chapter-path,.chapter-summary{margin:0;color:var(--muted)}.chapter-meta{display:flex;gap:8px;flex-wrap:wrap}.job-log{margin:0;padding:14px;border-radius:14px;background:#f7f0e1;white-space:pre-wrap;overflow-wrap:anywhere;font-family:SFMono-Regular,Menlo,monospace;font-size:.88rem;max-height:220px;overflow:auto}.job-timeline{display:grid;gap:8px;margin:0;padding:0;list-style:none}.job-timeline li{display:grid;grid-template-columns:minmax(150px,.8fr) minmax(120px,.6fr) minmax(160px,1fr);gap:10px;align-items:baseline;padding:8px 0;border-top:1px solid var(--line);font-size:.86rem}.job-timeline span,.job-timeline em,.artifact-path{color:var(--muted)}.job-timeline em,.artifact-path{overflow-wrap:anywhere}.breadcrumb-button{margin-bottom:10px}.manual-drawer-header{display:flex;align-items:start;justify-content:space-between;gap:12px}.manual-drawer-header p{margin:0 0 4px}.manual-selection-preview{margin:0;padding:14px;border-radius:14px;background:#f7f0e1;white-space:pre-wrap;overflow-wrap:anywhere;font-family:SFMono-Regular,Menlo,monospace;font-size:.88rem}.summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.summary-grid-compact .summary-pill{padding:12px}.summary-pill{padding:14px;display:grid;gap:4px}.summary-pill strong{font-size:1.4rem}.queue-list{list-style:none;padding:0;margin:0;display:grid;gap:12px;grid-template-columns:1fr}.queue-item{width:100%;height:100%;text-align:left;border:1px solid var(--line);background:#fffcf7e6;padding:14px}.queue-item.active{border-color:#874b2a73;box-shadow:inset 0 0 0 1px #874b2a3d}.queue-item-compact{padding:12px}.queue-item-description{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.patch-plan-card{display:grid;gap:14px}.build-result-compact{display:grid;gap:10px}.review-shell .queue-panel{margin:0}.review-shell .workspace{flex:1;min-height:0;align-items:start}.review-shell .workspace .panel{min-height:0}.review-shell .source-panel,.review-shell .detail-panel{display:flex;flex-direction:column;min-height:0}.review-shell .source-panel{align-self:stretch;height:100%}.review-shell .detail-panel{align-self:start;position:sticky;top:20px;height:auto;max-height:clamp(34rem,100vh,70rem)}.review-shell .source-panel-body,.review-shell .detail-stack{flex:1;min-height:0}.review-shell .source-text,.review-shell .detail-stack{max-height:none}.review-shell .detail-panel>.link-button{margin:0 18px 18px;align-self:flex-start}@media (max-width: 900px){.queue-panel-footer{gap:14px}.navigator-tab-panel{max-height:220px}.source-toolbar-shell{max-width:100%}.source-info-bar{align-items:start}.navigator-status-strip{width:100%;margin-left:0}.queue-panel-footer .queue-actions>.primary-button{margin-right:0}.source-info-actions{width:auto;justify-content:space-between}.dashboard-workspace,.job-timeline li{grid-template-columns:1fr}}.badge{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:999px;font-size:.76rem;background:#231b1614}.neutral{background:#231b1614}.accent{background:#874b2a29;color:var(--accent)}.accepted{background:#2f6c5529;color:var(--accepted)}.rejected{background:#87443d29;color:var(--rejected)}.deferred{background:#8a6b2d2e;color:var(--deferred)}.manual{background:#6a4f882e;color:var(--manual)}.unreviewed{background:#7c766529;color:var(--low)}.severity-high{background:#b4512e2b;color:var(--high)}.severity-medium{background:#456a632e;color:var(--medium)}.severity-low{background:#7c76652e;color:var(--low)}.status-banner{padding:14px 18px;border-radius:18px;background:#fffcf7e0;border:1px solid var(--line)}.status-banner.error{background:#87443d1f;color:var(--rejected)}.status-banner.success{background:#2f6c551f;color:var(--accepted)}.progress-track{width:220px;height:10px;border-radius:999px;background:#231b1614;overflow:hidden}.progress-fill{height:100%;border-radius:inherit;background:linear-gradient(90deg,#8a4d2d,#456a63)}@media (max-width: 1200px){.workspace,.dashboard-workspace,.quick-start-panel,.quick-start-controls{grid-template-columns:1fr}.import-mode-badge-strip{justify-content:flex-start}.panel{min-height:auto}.source-text,.detail-stack{max-height:none}.queue-list{grid-template-columns:1fr;max-height:none}.queue-tab-layout{grid-template-columns:1fr;height:auto}.queue-navigator-panel{max-height:none;overflow:visible}.queue-list-pane{max-height:260px}.queue-browser{min-height:320px}.dashboard-panel-body{min-height:auto}.global-notes-card{margin-bottom:16px}.review-shell{min-height:auto}.review-masthead-top{align-items:start}.review-shell .workspace{flex:initial}.review-shell .detail-panel{position:static;max-height:none}}@media (max-width: 700px){.queue-browser{grid-template-columns:16px minmax(0,1fr);min-height:280px}.global-notes-card{padding:16px}.note-strip{grid-template-columns:1fr}.note-strip-compact{gap:12px}.navigator-tab{width:100%;justify-content:space-between}.navigator-status-strip{gap:8px}.navigator-tab-panel{max-height:200px}.queue-tab-layout{gap:14px}.source-panel-header{gap:10px}.source-info-actions{gap:8px;width:100%;justify-content:flex-end}.source-mode-toggle{width:auto;justify-content:flex-start}.source-help{margin-left:auto}.source-file-path{max-width:140px}}
