/* Reference-inspired investigation desk; no external game assets or branding. */
html[data-game-theme="archive"] {
 color-scheme:light; --g-bg:#be9c66; --g-panel:#f5e6c6; --g-board:#d2b27b; --g-text:#302b27;
 --g-muted:#655444; --g-paper:#f5e6c6; --g-paper-ink:#302b27; --g-accent:#b37a2c;
 --g-rule:#8a704e; --g-error:#a13e38; --g-success:#326144; --g-mark:#8f542f;
}
html[data-game-theme="archive"] .game-ui :is(button.primary,.button.primary),
html[data-game-theme="archive"] .game-ui :is(button.primary,.button.primary):hover:not(:disabled),
html[data-game-theme="archive"] .duel-steps [aria-current=step] { color:#17191e; }
html[data-game-theme="archive"] :is(h1,h2,h3) { font-family:'Songti SC','SimSun',serif; }
html[data-game-theme="archive"] .board { background:var(--g-board); }
html[data-game-theme="archive"] .map-walls { stroke:#686756; stroke-width:3; }
html[data-game-theme="archive"] .map-labels text { fill:#4b493e; stroke:#e9e4d7; }
html[data-game-theme="archive"] .map-doors { stroke:#9a8252; }
html[data-game-theme="archive"] .window-titlebar { background:#e5dfd0; border-bottom:1px solid #746e5d; }
html[data-game-theme="archive"] .case-window { border-color:#746e5d; }
html[data-game-theme="archive"] .console textarea { background:#fcfaf4; color:#292921; border:1px solid #8d8676; box-shadow:none; }
html[data-game-theme="archive"] .pin { background:#faf7ee; border-color:#746e5d; }
html[data-game-theme="archive"] .pin.active { background:#f4e2a7; outline-color:#9d7514; }
html[data-game-theme="archive"] .investigation-steps a { background:#f6f3e9; border-color:#746e5d; }
html[data-game-theme="archive"] :is(.workspace-clues > strong,.results-head,.console label) { color:#51472c; }
html[data-game-theme="archive"] .sql-option[aria-selected=true] { color:#292921; }
html[data-game-theme="archive"] .board-head > div > .eyebrow { color:#51472c; }
html[data-game-theme="archive"] .board-head h2 { color:#292921; }
html[data-game-theme="archive"] :is(.eyebrow,th,.case-progress strong,.brand) { color:#6d5823; }
html[data-game-theme="archive"] th { background:#e9e4d7; }
html[data-game-theme="archive"] :is(a,button,input,select,textarea):focus-visible { outline-color:#6d5823; }
.windowed-case .task-pane,.windowed-case .result-pane { padding:16px; }
.windowed-case .result-pane { display:flex; flex-direction:column; height:100%; min-height:0; overflow:hidden; }
.windowed-case .result-pane .results { max-height:none; min-height:0; flex:1; overflow:auto; }
.windowed-case .result-pane .result-columns { min-height:0; flex:1; overflow:auto; }
.windowed-case .result-toolbar { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:12px; }
.windowed-case .result-toolbar button { min-height:44px; padding:8px 12px; }
.windowed-case .result-columns { font-size:13px; line-height:1.8; }
.windowed-case .result-columns p { margin:8px 0; }
.windowed-case .window-view-toggle { min-height:44px; padding:8px 12px; }
.windowed-case .query-fullscreen .window-maximize { display:none; }
.windowed-case .query-fullscreen .window-content { display:flex; flex-direction:column; gap:12px; }
.windowed-case .query-fullscreen .console { flex:none; }
.windowed-case .query-fullscreen .result-pane { flex:1; min-height:200px; border-top:1px solid var(--g-rule); }
.windowed-case .query-fullscreen .console textarea { min-height:130px; }
@media(max-width:650px) { .windowed-case .window-view-toggle { font-size:12px; padding-inline:8px; }.windowed-case .result-pane { padding:12px; }.windowed-case .console > .task-pane { padding:0; }.workspace-tools button[aria-controls="window-task"] { display:none; } }
