/* Evidence-room theme: cork, paper files, monochrome photographs and red thread.
   All texture and pins are decorative; verified evidence remains in case text. */
:root{
 --ink:#292823;--muted:#625c50;--paper:#efe8d8;--card:#f7f1e5;
 --line:#c9bda5;--gold:#d8bd75;--orange:#8e302b;--green:#79312b;
 --cork:#805e3b;--thread:#8f2929;--charcoal:#272825;--note:#eee0a0;
 --shadow:0 5px 12px #211a1633;--typewriter:'Courier New',Courier,monospace;
 --sans:'Trebuchet MS',ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;
 --serif:Georgia,'Times New Roman',serif;
}
html{background:#272825}
body{background:#d6d0c3;color:var(--ink)}
button,a,input,select,textarea{-webkit-tap-highlight-color:#8f29292b}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline-color:#b35e34}
.workspace{
 min-height:100dvh;position:relative;isolation:isolate;
 background-color:var(--cork);
 background-image:radial-gradient(ellipse at 15% 0%,#ecd4a619,transparent 58%),url("./assets/cork.webp");
 background-size:auto,256px 256px;
 background-position:center,0 0;
 box-shadow:none;
}
.workspace::before{content:'';position:absolute;inset:81px 0 0;z-index:-1;pointer-events:none;border:9px solid #4a3b2b;box-shadow:inset 0 0 0 1px #b49b6d}
.sidebar{background:linear-gradient(115deg,#30312d,#222420);border-right:1px solid #171a16;color:#ddd5c5}
.brand{color:#faf3e4}.brand-icon{color:#d0b16b}.brand-subtitle{font:9px/1.7 var(--typewriter);letter-spacing:1.4px;color:#d4c3a2}
.brand-name{font-size:23px;letter-spacing:-.4px}.side-label{color:#c6bda9;font-family:var(--typewriter);letter-spacing:1.5px}
.nav-btn{border-radius:2px;color:#ded8ca;border:1px solid transparent}
.nav-btn.active{background:#f0e8d6;color:#292823;border-color:#d1c3a5;box-shadow:2px 3px 0 #16171355}
.nav-btn.active::before{content:'';width:5px;height:5px;border-radius:50%;background:#94372d;flex-shrink:0}
.nav-btn .nav-count{border-color:#8c816d;font-family:var(--typewriter)}
.side-note,.sidebar-foot{border-color:#575549}.side-note p{color:#e9dfcb}.side-note small,.sidebar-foot span small{color:#c6bda9}
.avatar-tiny{border-color:#c3af7d;color:#efdbab;border-radius:3px;font-family:var(--typewriter)}
.topbar{background:#292a27;border-color:#111510;color:#f0e8d6;box-shadow:0 3px 8px #1d181c33}
.breadcrumb,.breadcrumb b,.save-status,.stars-total,.mobile-brand{color:#eee5d2}
.breadcrumb{font-family:var(--typewriter);font-size:10px}.breadcrumb span{color:#b9aa8c}
.mobile-brand svg,.stars-total svg{color:#d8bd75}.dot{background:#cfb675}
.topbar .icon-btn,.topbar .account-link{color:#f1e9d7;border-color:#777160;border-radius:3px;background:#ffffff05}
.topbar .account-link:hover,.topbar .icon-btn:hover{background:#ffffff12}
.case-page-heading .level-label{color:#452c20;background:#f4e6c5;border:1px solid #bca16d;border-radius:2px;padding:6px 10px;font:700 11px/1.4 var(--typewriter);letter-spacing:1.2px;white-space:nowrap}
.main{max-width:1400px;padding:37px 38px 36px}
.page-heading{margin-bottom:25px}.page-heading h1{color:#fff5dc;text-shadow:0 2px 1px #3a271a44;font-size:45px;letter-spacing:-1.2px}
.page-heading>.eyebrow,.page-heading .eyebrow{color:#fff4dc}
.page-heading p{color:#fff0d3;font-size:13px}
.eyebrow,.case-kicker{font-family:var(--typewriter);letter-spacing:1.3px;font-weight:700;color:#7d342b}
.date-badge{font:10px/1.7 var(--typewriter);white-space:normal;background:#eee0a0;color:#453e2e;padding:12px 16px;border:1px solid #b9a66d;border-radius:1px;box-shadow:2px 3px 5px #3b2a1b26;max-width:245px;position:relative}
.date-badge::before{content:'';position:absolute;top:-5px;left:50%;width:9px;height:9px;background:#873027;border-radius:50%;box-shadow:1px 2px 1px #392b1d66}
.hero{grid-template-columns:1fr 1.28fr;min-height:350px;border:6px solid #473b2e;border-radius:2px;background:#282823;box-shadow:0 2px 0 #bc9e6d,0 8px 20px #241c164a;gap:0;text-decoration:none}
.hero-copy{background:linear-gradient(105deg,#faf2df,#e7dcc4);padding:35px 32px;align-self:stretch;border-right:1px solid #362b1c;box-shadow:3px 0 7px #211b1544}
.hero-copy::before{content:'';position:absolute;top:9px;left:calc(50% - 18px);width:36px;height:10px;border:2px solid #6c685e;border-radius:2px;background:#57574d;box-shadow:1px 2px 3px #32291b33}
.hero h2{color:#292823;font-size:35px;max-width:380px;margin:19px 0 13px;line-height:1.12}
.hero p{font-size:12px;color:#5a5246;max-width:360px;line-height:1.8}
.case-kicker{font-size:9px;color:#7a332b}.case-kicker .dot{background:#8f2929}
.hero-meta{color:#5f584a;font-family:var(--typewriter);font-size:9px;flex-wrap:wrap;gap:12px}
.hero-art{position:relative;display:block;min-height:350px;background:#423126;isolation:isolate}
.hero-art::after{display:none}.hero-art .wall-artwork{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:67% 50%}
.hero-seal{background:#f2e7cced;border:2px solid #86362a;color:#783126;border-radius:1px;width:83px;height:auto;min-height:56px;padding:7px;right:16px;bottom:16px;font:700 8px/1.6 var(--typewriter);letter-spacing:1px;transform:rotate(-5deg);box-shadow:1px 2px 4px #18130d66}
.button{border-radius:2px;background:#7d302b;border-color:#6f2824;color:#fff7e6;box-shadow:0 2px 0 #4e211e20;font-size:12px}
.button:hover,.button.orange:hover{background:#632823;transform:none}.button.orange{background:#7d302b;border-color:#6f2824}
.button.light{background:#f5ecda;color:#39362d;border-color:#a99a7e}.button.light:hover{background:#e9dec6}
.text-button{color:#7a332b;font-size:12px}.text-button:hover{text-decoration-thickness:2px}
.stats-strip{gap:18px;border:0;margin:25px 0;padding:0}
.stat{position:relative;background:#eee0a2;border:1px solid #c4af77;padding:15px 17px;box-shadow:2px 4px 6px #35261925;min-width:0}
.stat::before{content:'';position:absolute;top:-4px;right:18px;width:8px;height:8px;background:#726552;border-radius:50%;box-shadow:1px 1px 2px #362a1d66}
.stat-icon{background:transparent;border-color:#948061;color:#6e3329;border-radius:1px}
.stat-value{color:#332e25;font:25px/1.1 var(--typewriter)}.stat-value>span{color:#675b43!important}
.stat-label{color:#61543e;font:10px/1.5 var(--typewriter);margin-top:5px}
.section-heading h2,.section-heading>span,.library-tools>span,.library-pagination>span,.collection-note,.bottom-note{color:#fff2d8}
.section-heading h2{font-size:28px}.section-heading>span{font-family:var(--typewriter);font-size:10px}
.difficulty-tabs{border-bottom:2px solid #4f3e2b;gap:5px;padding-top:5px}
.difficulty-tab{border:1px solid #b3a080;border-bottom:0;background:#d9c8a5;color:#4e4435;border-radius:5px 5px 0 0;font:11px/1.5 var(--typewriter);padding:12px 14px;gap:7px;min-height:45px}
.difficulty-tab.active{background:#faf0d9;color:#7b2f29;border-color:#c7ae7d;box-shadow:inset 0 3px #8b3029;font-weight:700}
.difficulty-tab span{color:#625642;background:#b6a18033;border-radius:1px}
.library-view-toggle{gap:7px}.library-view-toggle button{background:#e3d3b4;border-color:#aa936b;color:#4e4232;border-radius:2px;min-height:37px}
.library-view-toggle button[aria-pressed=true]{background:#292a25;color:#f7e9cb;border-color:#292a25}
.case-search{background:#f6efdf;border-color:#af9772;border-radius:2px;box-shadow:inset 1px 2px 2px #88735419}
.case-search input{color:#292823;font-family:var(--typewriter);font-size:12px}.case-search input::placeholder{color:#6f6556}.case-search>svg{color:#79312b}
.case-grid{gap:22px}.case-card{position:relative;background:linear-gradient(112deg,#fbf4e5,#e9dfca);border-color:#c8b28a;border-radius:2px;box-shadow:2px 4px 7px #38281c33;overflow:hidden}
.case-card::before{content:'';position:absolute;top:7px;left:calc(50% - 4px);height:9px;width:9px;z-index:2;border-radius:50%;background:#8f302b;box-shadow:1px 2px 2px #301b1a55;pointer-events:none}
.case-card:hover{transform:none;box-shadow:2px 5px 12px #241b1345;border-color:#8a563d}
.card-art{margin:16px 14px 0;height:156px;border:7px solid #fff9ed;border-bottom-width:17px;background:linear-gradient(145deg,#bdbdb2,#dddcd1);box-shadow:1px 2px 4px #312b1d26}
.card-art.medium,.card-art.hard,.card-art.expert{background:linear-gradient(145deg,#b5b7b0,#e1dfd3)}
.card-art>svg,.row-case-art>svg{filter:grayscale(1) contrast(1.24);opacity:1}
.card-number{top:8px;left:8px;background:#e6e1d4e8;border:1px solid #a39a85;color:#4d4538;font-family:var(--typewriter);letter-spacing:.7px}
.card-badge{background:#eee0a7;color:#4b3d2b;border-radius:1px;top:8px;right:7px;padding:4px 6px;font-size:8px;box-shadow:1px 1px 2px #3c312b25}
.card-content{padding:18px 19px 17px}.card-content h3{font-size:24px;line-height:1.15;color:#2f2b24}.card-content .eyebrow{color:#7c382d;font-size:8px}.card-content p{color:#625a4d;font-size:11px}
.card-footer{border-top:1px dashed #b6a584;color:#5d5446;font-family:var(--typewriter);font-size:9px}.case-open{color:#80352c;font-size:11px}
.case-card.case-row{border-left:5px solid #80352c;overflow:hidden;padding:12px 14px;gap:16px;background:linear-gradient(105deg,#f8efdc,#e9dec5);border-radius:1px}
.case-card.case-row::before{display:none}.row-case-art,.row-case-art.medium,.row-case-art.hard,.row-case-art.expert{border:5px solid #fff8e9;border-bottom-width:9px;border-radius:0;background:#c7c8bf;box-shadow:1px 2px 3px #332a1c33}
.row-case-copy h3{color:#302a22}.row-case-copy p{color:#625747}.row-case-copy .eyebrow{color:#843b2e}.row-case-arrow{color:#7a332b}
.library-pagination{padding-top:25px}.page-button{border-color:#a98f66;border-radius:2px;background:#f3e9d3;color:#4a3b2a;font-family:var(--typewriter);font-size:12px}
.page-button.active{background:#782e29;border-color:#602621;color:#fff2d8}.page-button:hover:not(:disabled){border-color:#64352b}.page-ellipsis{color:#fff2d8}
.collection-note{border-top:1px solid #cbb488;margin-top:22px}.collection-note b{color:#fff1d1}.collection-note .text-button,.home-tip .text-button{color:#6e2926}
.home-tip{background:#ede0a9;color:#4f442f;border-color:#b8a36b;border-radius:1px;box-shadow:1px 3px 4px #32281d22}.home-tip svg{color:#7b342a}
.bottom-note{border-top-color:#b6996e;font-family:var(--typewriter);font-size:9px}.bottom-note a{color:#fff0cc}
.back-button{background:#f5e8c9;border-color:#b79a6c;border-radius:2px;color:#63312a;box-shadow:1px 2px 3px #38271c20;font-family:var(--typewriter);font-size:12px}
.back-button:hover{background:#f9efda}
.case-actions .button.light{background:#ecddbb;border-color:#b99b6e}.case-page-heading .eyebrow{color:#fff4dc}
:is(.briefing,.crime-brief,.inquiry-pane,.notebook-paper,.deduction,.result-panel,.dossier-intro,.casework-plan,.casework,.dossier-board,.dossier-report,.progress-row,.journal-entry,.account-card,.tutorial-shell,.empty-state,.team-room-card){
 background-color:#f3ecdc;background-image:linear-gradient(112deg,#fff8e963,#b5a17a0c);
 color:#302b23;border:1px solid #c4af88;border-radius:2px;box-shadow:2px 4px 8px #33251929;
}
:is(.briefing,.crime-brief,.inquiry-pane,.notebook-paper,.deduction,.result-panel,.dossier-intro,.casework-plan,.casework,.dossier-board,.dossier-report,.progress-row,.journal-entry,.account-card,.tutorial-shell,.team-room-card) :is(p,li,dd){color:#514a3f}
:is(.briefing,.crime-brief,.inquiry-pane,.notebook-paper,.deduction,.result-panel,.dossier-intro,.casework-plan,.casework,.dossier-board,.dossier-report,.progress-row,.journal-entry,.account-card,.tutorial-shell,.team-room-card) :is(h2,h3,h4){color:#302b23}
.casework{padding:24px}.briefing,.crime-brief{border-top:4px solid #b49869}.case-stamp{font-family:var(--typewriter);color:#8b352d;border-color:#8b352d;background:#f0e4ca}
.briefing .facts{border-color:#cbb997}.briefing li::marker{color:#85382f}
.investigation-label,.casework-tools>span,.dossier-tools>span,.player-footer,.deduction-summary{color:#eee2c6}
.inquiry-layout{gap:22px}.inquiry-pane{padding:25px;min-width:0}.inquiry-pane>.inquiry-section-heading{margin-top:0}
.inquiry-section-heading h2,.inquiry-section-heading>span,.inquiry-section-heading p{color:#302b23}
.inquiry-toolbar{border-bottom:2px solid #503e2b;gap:8px;margin-bottom:20px;align-items:stretch}
.inquiry-toolbar>.inquiry-tabs{flex-wrap:nowrap}
.inquiry-toolbar>.back-button{background:#e7d5ae;border-color:#b39869}
.inquiry-toolbar .inquiry-tabs button{background:#d7c5a1;border:1px solid #b19971;border-radius:4px 4px 0 0;color:#4b3d2b;font-family:var(--typewriter);font-size:12px}
.inquiry-toolbar .inquiry-tabs button.active{background:#f5ebd5;border-color:#c5ab79;color:#7b3029;box-shadow:inset 0 3px #8b3029}
.inquiry-rule,.quiet-lead,.accusation-intro p,.notes-reminder{color:#625847}
.inquiry-start{background:#e7dcc3;border-color:#c4af8b}.location-card{background:#e7dbc1;border:1px solid #bca37e;border-radius:2px;box-shadow:1px 2px 3px #5b48241a;color:#302c24}
.location-card:hover{background:#eee2ca;border-color:#865c43}.location-mark{background:#f6eedb;border-color:#b8a47e;color:#7c342b;border-radius:1px}.location-card small,.location-card em{color:#675a45}
.interview-person{position:relative;background:#efe7d6;border-color:#bca98a;border-radius:1px;box-shadow:1px 3px 4px #4838241a}
.interview-person:hover{background:#f7efdf;border-color:#98634d}.interview-person b{color:#302b24}.interview-person small,.interview-person em{color:#655b4b}
.person-file.open>.interview-person{background:#e8dcc2;border-bottom-color:#b39c76}.person-file>.interview-desk{background:#f6efdf;border-color:#c0aa85;border-radius:0 0 2px 2px}
.suspect .portrait,.inquiry-avatar,.tutorial-portrait{border:4px solid #fff9ed;border-bottom-width:9px;border-radius:1px;background:#d6d4c8;box-shadow:1px 2px 3px #3d30252e}
.character-portrait{filter:grayscale(1) contrast(1.12)}
.interview-heading{border-color:#c6b693}.interview-heading p,.suspicion-label{color:#625645}
.suspicion-label select,.inquiry-fieldnotes textarea{background:#fff9ea;border-color:#bca685;color:#302b23;border-radius:1px}
.question-prompt{background:#e8ddc5;color:#342f25;border-color:#c3ae89;border-radius:2px;font-size:13px}
.question-prompt:hover{background:#f1e5ca;border-color:#8b5a44}.question-prompt[aria-expanded=true]{background:#e1d1ae;border-color:#a7865e}
.interview-question .conversation-turn,.presented-record .conversation-turn{background:#fff8e9;border-color:#cdbb98;border-radius:0 0 2px 2px;box-shadow:inset 3px 0 #9a4e3d}
.detective-line small,.witness-line small{color:#7b342b;font-family:var(--typewriter)}.witness-line.revised{background:#eae1c8;border-color:#c0a985}.witness-line span{color:#786a52}
.present-records{background:#e9ddc2;border-color:#bca27a;border-radius:2px}.present-records>summary{color:#5c382c}.present-records>p{color:#625342}
.record-option{background:#f9f0dc;border-color:#c4ae86;border-radius:1px;color:#392f24}.record-option small{color:#776446}.record-option.selected{background:#ead9ab;border-color:#8e3e30;box-shadow:inset 3px 0 #8e3e30}
.evidence-envelope{position:relative;background:linear-gradient(125deg,#eadbbc,#dacaab);border-color:#b99a6c;border-radius:1px;color:#3c3023;box-shadow:1px 2px 4px #56402422}
.evidence-envelope:hover,.evidence-envelope.active{background:#f0e0bf;border-color:#8c4e38}.evidence-envelope.active{border-top:3px solid #8f332b}
.evidence-envelope small{color:#6a573c;font-family:var(--typewriter)}.envelope-symbol{color:#8b4433;background:#f4e9d1;border-color:#c6ab7c;border-radius:1px}
.evidence-file.open>.evidence-envelope{border-radius:1px}.evidence-file>.record-reader{background:#fff9eb;border-color:#c6b18a;border-radius:0 0 1px 1px;box-shadow:1px 3px 5px #3928181c}
.record-reader p{color:#3e382f;font-size:15px;line-height:1.85}.reader-footer{border-color:#cdbc9a;color:#705e43}
.inquiry-record{background:#fbf4e4;border-color:#c1ad85;border-radius:1px;box-shadow:1px 3px 4px #40301921;position:relative}
.inquiry-record.pinned{border-color:#914b37;background:#fff3d5}.inquiry-record.pinned::before{content:'';position:absolute;top:8px;right:10px;width:8px;height:8px;border-radius:50%;background:#8f302b;box-shadow:1px 2px 2px #3d291b44}
.inquiry-record .eyebrow{color:#853b2c}.inquiry-record p{font-size:13px;line-height:1.85}
.case-argument{background:#e8dcc1;border-color:#bfa57b;border-radius:2px}.case-argument p{color:#65543f}.linked-chip{background:#ead9aa;border-color:#a78557;color:#59372a;border-radius:1px}.linked-chip span{color:#755c36}
.accusation-questions{background:#f7efdc;border-color:#c5b08a;border-radius:1px}.accusation-questions legend{color:#45372a}
.accusation-options button{background:#fff8e7;border-color:#bdaa85;border-radius:1px;color:#3d3326}.accusation-options button.selected{background:#eadbb9;border-color:#8b372d;color:#6e3028;box-shadow:inset 3px 0 #8b372d}
.accusation-submit{border-color:#bca780}.accusation-submit p{color:#64563f}
.inquiry-resolution{background:#e9e0c2;border-color:#9c936d;border-radius:1px;color:#3b3627}.inquiry-resolution p,.inquiry-resolution dd,.inquiry-resolution dt{color:#524735}
.inquiry-feedback,.feedback.coach,.proof-example{background:#eee0a9;border-color:#b79657;color:#5a4127;border-radius:1px}
.inquiry-fieldnotes .notes-reminder,.notebook-foot{color:#6c5b41}.inquiry-fieldnotes>textarea,.notebook textarea{background-color:#fbf4df;background-image:repeating-linear-gradient(transparent 0 29px,#b9ab8b4d 29px 30px);line-height:30px;color:#3a3024;border-color:#b49e76;border-radius:1px}
.notebook-paper{transform:none;background-color:#f2e5bb;border-color:#b6a071;box-shadow:2px 4px 5px #3a281e2b}.notebook-top{border-color:#b8a276}.pin-item{background:#f5e8bd;border-color:#c4ab77;color:#5f3d2c}.pin-item svg{color:#8d342b}.quiet-note{color:#fff0d2}
.evidence-card,.dossier-evidence{background:#fbf3e2;border-color:#c4ae84;border-radius:1px;box-shadow:1px 3px 5px #38291c26}
.evidence-card.chosen,.dossier-evidence.chosen{border-color:#8e382d;box-shadow:inset 3px 0 #8e382d,1px 3px 5px #38291c26}
.evidence-head{background:#e2d4b7;border-bottom:1px solid #c8b28a;color:#783e2d}.evidence-type{color:#756042;font-family:var(--typewriter)}.pin-btn{color:#74362a}
.evidence-body h3{color:#302b23}.evidence-body p{color:#4e4435}.document-stamp{border-color:#c5b18c;color:#7b6040}.document-stamp button{color:#79372a}
.evidence-select{background:#eadfc8;color:#5b3d2c;border-color:#c3ad84}.chosen .evidence-select{background:#e7d1a4;color:#6e2d26}.check-square{border-color:#aa8a63;background:#f6ead0}
.suspect{background:#f7efdf;border-color:#c2ac86;border-radius:1px;box-shadow:1px 3px 4px #39291d21}.suspect b{color:#302b23}.suspect small{color:#6b5a44}.suspect blockquote{color:#4e4436}.suspect[aria-pressed=true]{background:#ecdbb5;border-color:#8b372d;box-shadow:inset 3px 0 #8b372d}.suspect .selected-name{color:#80382c}
.dossier-source-type{color:#8a3c2c;font-family:var(--typewriter)}.dossier-evidence summary{background:#e7d8b9;color:#3d3023}.dossier-evidence summary b{color:#3b3023}.dossier-evidence summary small{color:#6c573b}
.dossier-source-body{background:#fbf4e4;color:#493e30}.dossier-source-body p,.source-relationships,.source-provenance{color:#5e4f3c}.source-relationships li,.source-accounts{background:#f1e5c8;border-color:#c7ae7c;color:#50412e}
.dossier-source-actions{background:#e9dcc1;border-color:#c2a77b}.dossier-source-actions button,.source-index button{background:#f4e7ca;color:#71402c;border-color:#c1a77a}
.casework-task{background:#fbf5e8;border:1px solid #c8b38b;border-radius:1px;box-shadow:1px 3px 3px #63503217}.task-heading>span,.finding-number{background:#7e342b;color:#fff1d5;border-color:#7e342b;border-radius:1px;font-family:var(--typewriter)}
.task-instruction,.task-sources,.working-grid>summary,.previous-findings{color:#65523a}.task-sources{border-color:#cbb58a}.answer-entry{background:#fff9ed;border-color:#b69c72;border-radius:1px}.answer-entry input{color:#342c22}.answer-entry>span{color:#765d3c}
.task-check,.sequence-pool button,.task-sequence li{background:#f7ecd3;color:#49372a;border-color:#bfa277;border-radius:1px}.task-check.selected{background:#e8d39f;border-color:#8a392c;color:#6d3025}.sequence-number{background:#e6d2a7;color:#6c3327;border-radius:1px}.task-sequence button{background:#fff4dc;border-color:#baa078;color:#6d3a2a}
.choice-trigger{background:#fff7e5;border-color:#bca27a;border-radius:1px;color:#392f24}.choice-trigger small{color:#735d3d}.choice-trigger.has-answer{background:#f0dfba;border-color:#96523a;color:#65372b}.choice-trigger.has-answer small{color:#8b392b}
.answer-option{background:#faf1df;border-color:#c1a984;border-radius:1px;color:#382e23}.answer-option.chosen,.answer-option[aria-pressed=true]{background:#ead7ac;border-color:#8d3b2e;box-shadow:inset 3px 0 #8d3b2e;color:#5c2c25}
.answer-letter{background:#e6d4ae;color:#754431;border-radius:1px;font-family:var(--typewriter)}.answer-check{color:#7f342a}.answer-search{background:#fff5e1;border-color:#c6ac7f;color:#3c3024}.answer-picker-footer{background:#e7d6b4;border-color:#bea47a;color:#6b5235}
.exhibit-table th,.reconstruction-table th{background:#dfcfaa;color:#5b412d;font-family:var(--typewriter)}.exhibit-table td,.reconstruction-table td{background:#faf2df;color:#44372a;border-color:#c9b58d}
.report-finding,.report-citations,.dossier-solution,.format-practice,.expanded-case-note{background:#eee1bf;border-color:#bba073;color:#4f3c29;border-radius:1px}.report-citations p{color:#624c31}
.account-prompt,.team-bar{background:#ebdeb7;border-color:#bea06d;color:#483825;border-radius:1px;box-shadow:1px 3px 4px #3a2a1b26}.account-prompt p{color:#645035}.account-prompt strong{color:#493424}.account-prompt .button{flex-shrink:0}
.account-card p,.account-card ul,.account-form label,.account-metrics span,.account-fine{color:#5c4c37}.account-form input,.team-form input{background:#fff8e8;border-color:#b79c73;color:#352b20;border-radius:1px}.account-metrics{border-color:#c8ae80}
.account-status,.team-host{background:#e9ddbe;border-color:#bca16d;border-radius:1px;color:#59472f}.account-status[data-state=conflict],.account-status[data-state=offline],.account-status[data-state=signed-out],.team-conflict{background:#f0dbb4;border-color:#ab744c;color:#643c29}
.account-error{color:#953b2a}.team-room-card .eyebrow{color:#7e3728}.account-launch{color:#f5e8ce;background:#302d25d9;border:1px solid #b0956b;box-shadow:2px 4px 10px #271c1355}.account-launch p{color:#e2cfaa}
.tutorial-steps{border-color:#c8b18a}.tutorial-steps li{color:#6f5c40}.tutorial-steps li span{background:#e6d5ae;border-color:#bfa06c;color:#60442b}.tutorial-steps li[aria-current=step] span,.tutorial-steps li.done span{background:#7b342c;color:#fff3d9;border-color:#7b342c}
.tutorial-file{border-color:#bba078;border-radius:1px}.tutorial-document{background:#eadcbd;border-color:#bba078;border-radius:1px;color:#4b3526}.tutorial-document small{color:#7b5639;font-family:var(--typewriter)}.tutorial-document.read{background:#e6d8b7;border-color:#9f8058}.tutorial-document.selected{background:#ead4a5;outline-color:#8e3a2d}
.tutorial-record{background:#fff6e3;border-color:#c2a67a}.tutorial-success{background:#e1d8ad;color:#4b4b30;border-color:#96935e;border-radius:1px}.tutorial-tip,.tutorial-footer{color:#6d573b}.tutorial-feedback{background:#efe0b5;color:#6c472c;border-color:#b7975c}
.tutorial-feedback.needs-correction{background:#f4e1cf;color:#7b3628;border-color:#ba7d56;border-left-color:#8e3529}
.progress-pill{background:#e9d9b0;color:#6a4a2f;border-color:#bfa06b;border-radius:1px}.progress-track{background:#d7c49b}.progress-fill{background:#8a3b2c}.progress-row .progress-info p{color:#675138}
.journal-entry p,.journal-meta{color:#6b573a}.empty-state h2{color:#3e3023}.empty-state p{color:#6a5438}.empty-state{padding:28px}
dialog{background:#f3ead6;color:#30291f;border:1px solid #a68a5a;border-radius:2px;box-shadow:0 15px 60px #17151170}
dialog::backdrop{background:#1d1c17c4;backdrop-filter:blur(3px)}.modal-content p,.settings-row small,.help-step p{color:#5d4d36}.modal-content .eyebrow{color:#8b392c}.settings-row{border-color:#c4ac7d}.settings-row input{accent-color:#8c382b}.danger-zone{border-color:#bea273}.danger-zone .text-button{color:#8e3929}
#toast{background:#292924;border:1px solid #bba270;border-radius:2px;color:#fff0d2}
.evidence-coach{background:#efe1b8;border-color:#bea16a;border-radius:1px}.evidence-coach h3{color:#593b27}.evidence-coach p,.evidence-coach .text-button{color:#6c4c30}.evidence-review{border-color:#bea677}.evidence-review dd{color:#614b32}.feedback.coach{color:#66482c}
.legacy-investigation{border-color:#b69b6d;color:#6e5636}.roadmap-card{background:#e8d8b4;border-color:#b29663;color:#655036}
.no-motion *, .no-motion *::before,.no-motion *::after{transition:none!important;animation:none!important}
@media(max-width:1150px){.main{padding:30px 28px}.hero{grid-template-columns:1fr 1fr}.hero-copy{padding:30px 25px}.hero h2{font-size:32px}}
@media(max-width:850px){.workspace::before{top:67px;border-width:6px}.main{padding:28px 23px}.hero{grid-template-columns:1.1fr 1fr}.hero-art{min-height:340px}.inquiry-pane{padding:21px}.nav-btn.active::before{display:none}}
@media(max-width:600px){
 .workspace{box-shadow:none}.workspace::before{inset:62px 0 0;border-width:4px}
 .sidebar{background:#272925;border-top:2px solid #aa8c5c;border-right:0;height:auto;padding:0 4px calc(7px + env(safe-area-inset-bottom,0px))}
 .sidebar nav{grid-template-columns:repeat(6,minmax(0,1fr));overflow:visible;gap:0}
 .nav-btn{width:100%;min-width:0;min-height:70px;color:#e9ddc6;padding:9px 2px 7px;font-size:10px;line-height:1.2;border:0;gap:4px}
 .nav-btn>span{display:flex;align-items:center;justify-content:center;width:100%;min-height:2.6em;max-width:100%;line-height:1.3;text-align:center;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:normal}
 .nav-btn .nav-count{display:none}
 .nav-btn svg{flex-shrink:0}
 .nav-btn.active{background:#ffffff0a;color:#e4c27c;box-shadow:inset 0 2px #d1b471;border-radius:0}
 .topbar{height:auto;min-height:116px;padding:10px 15px;gap:8px;align-content:start;align-items:center;position:relative;z-index:2}
 .mobile-brand{font-size:13px;line-height:1.25}.top-actions{gap:8px}
 .topbar .account-link{min-height:44px;justify-content:center}
 .topbar .icon-btn{width:44px;height:44px;min-width:44px;min-height:44px}
 .topbar .icon-btn svg{width:18px;height:18px}
 .topbar .save-status{line-height:1.5}.topbar .save-status .dot{flex-shrink:0}
 .main{padding:26px 16px calc(112px + env(safe-area-inset-bottom,0px))}.page-heading h1{font-size:38px;letter-spacing:-1px}.page-heading p{max-width:100%;font-size:12px;line-height:1.7}
 .hero{display:flex;flex-direction:column;min-height:0;border-width:4px;overflow:hidden}
 .hero-copy{padding:25px 22px 24px;max-width:none;order:2;border:0;box-shadow:0 -3px 8px #261c1533;z-index:1}
 .hero-copy::before{top:-7px;background:#a79a7a80;border:0;left:calc(50% - 26px);width:52px;height:17px;box-shadow:none;transform:rotate(-3deg)}
 .hero h2{font-size:31px;max-width:none;margin-top:14px}.hero p{max-width:none;font-size:12px}.hero .button{min-height:44px}
 .hero-art{position:relative;inset:auto;width:100%;height:178px;min-height:178px;opacity:1;pointer-events:none;order:1}
 .hero-art .wall-artwork{object-position:68% 48%}.hero-seal{display:flex;min-height:45px;width:76px;right:12px;bottom:12px;font-size:7px}
 .stats-strip{gap:8px;margin:22px 0}.stat{display:block;padding:12px 9px;min-height:93px}.stat-icon{display:none}.stat-value{font-size:23px}.stat-value>span{font-size:11px!important}.stat-label{font-size:9px;line-height:1.5}.stat::before{right:10px;width:6px;height:6px}
 .section-heading{align-items:flex-end;gap:12px}.section-heading h2{font-size:26px}.section-heading>span{font-size:9px;max-width:115px;text-align:right}
 .difficulty-tabs{gap:4px;margin-bottom:17px}.difficulty-tab{padding:11px 12px;font-size:11px}.difficulty-tab span{font-size:9px}.difficulty-tab svg{display:none}
 .library-tools>span{font-size:11px;line-height:1.6}.case-search input{font-size:12px}.library-view-toggle button{min-height:40px;font-size:11px}
 .case-grid{gap:19px}.card-art{height:172px;margin:15px 13px 0}.card-content{padding:19px}.card-content h3{font-size:25px}.card-content p{font-size:12px;line-height:1.8}.card-footer{font-size:10px;gap:10px}.card-badge{font-size:9px}.case-card .card-number{font-size:9px}
 .case-card.case-row{padding:12px 11px;gap:12px;border-left-width:4px}.row-case-art{flex-basis:62px;width:62px;height:68px}.row-case-copy h3{font-size:18px;line-height:1.25}.row-case-copy .eyebrow{font-size:8px;line-height:1.6}.row-case-copy p{font-size:10px}
 .case-page-heading h1{font-size:32px}.case-page-heading .case-actions{gap:8px}.case-actions .button{font-size:11px;padding:10px 12px}.back-button{font-size:12px;min-height:44px}
 .briefing,.crime-brief{padding:20px}.briefing p,.briefing ul,.crime-brief p{font-size:13px;line-height:1.8}
 .inquiry-toolbar{gap:5px}.inquiry-toolbar .inquiry-tabs button{font-size:12px;padding:10px 11px}.inquiry-pane{padding:18px 14px}
 .inquiry-section-heading h2{font-size:25px}.inquiry-section-heading p,.inquiry-section-heading>span{font-size:11px}.inquiry-rule,.quiet-lead{font-size:12px;line-height:1.8}
 .interview-person{padding:14px 11px;gap:12px}.interview-person b{font-size:21px}.interview-person small{font-size:11px}.interview-person em{font-size:10px}.person-file>.interview-desk{padding:15px 12px}
 .question-prompt{font-size:13px;padding:13px;min-height:48px}.conversation-turn p,.record-reader p{font-size:15px;line-height:1.8}
 .evidence-envelope b{font-size:20px}.evidence-envelope small{font-size:9px;line-height:1.7}.evidence-file>.record-reader{padding:19px 15px}.reader-footer{font-size:11px}
 .inquiry-record p{font-size:13px}.inquiry-record h3{font-size:23px}.location-card b{font-size:20px}.location-card small,.location-card em{font-size:10px}
 .inquiry-fieldnotes textarea,.notebook textarea{font-size:16px}.casework{padding:20px 15px}.casework-task{padding:18px 14px}.task-instruction{font-size:12px}.choice-trigger b{font-size:13px}.task-check,.sequence-pool button,.answer-option{font-size:13px;min-height:46px}
 .account-card p,.account-card ul,.tutorial-shell p{font-size:14px;line-height:1.8}.account-prompt strong{font-size:23px}.account-prompt p{font-size:12px}.tutorial-shell{padding:22px 18px}.tutorial-document b{font-size:19px}.tutorial-document small{font-size:9px}.tutorial-footer{font-size:11px}
 .player-footer,.bottom-note{font-size:9px;line-height:1.8}.collection-note span{font-size:12px}.collection-note .text-button{color:#fff0d2}.collection-note b{font-size:23px}
 dialog{padding:25px 20px}.modal-content p{font-size:13px}#toast{bottom:calc(96px + env(safe-area-inset-bottom,0px))}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
@media print{
 html,body,.workspace,.main{background:#fff!important;color:#000!important;box-shadow:none!important}
 .workspace::before,.hero-art,.case-card::before,.stat::before{display:none!important}
 .page-heading h1,.page-heading p,.page-heading .eyebrow,.bottom-note,.investigation-label{color:#000!important;text-shadow:none!important}
 .inquiry-pane,.briefing,.crime-brief,.casework,.casework-task,.dossier-board,.dossier-report,.account-card,.tutorial-shell{background:#fff!important;box-shadow:none!important;border-color:#aaa!important}
}
