@font-face{font-family:Newsreader;src:url('/assets/fonts/newsreader.woff2') format('woff2');font-style:normal;font-weight:200 800;font-display:swap}
@font-face{font-family:'Source Sans 3';src:url('/assets/fonts/source-sans-3.woff2') format('woff2');font-style:normal;font-weight:200 900;font-display:swap}
:root{color-scheme:light;font-size:18px;--ink:#213732;--muted:#56655e;--paper:#f0f1ed;--card:#fffefa;--line:#cdd4cd;--accent:#204c41;--orange:#994018;--display:Newsreader,Georgia,serif;--body:'Source Sans 3',Arial,sans-serif}
:root[data-large-text=true]{font-size:22px}
*{box-sizing:border-box}html{overflow-anchor:none;scroll-behavior:auto;scroll-padding-bottom:100px;scrollbar-color:#80938a var(--paper)}body{margin:0;background:var(--paper);color:var(--ink);font:1rem/1.6 var(--body)}[hidden]{display:none!important}::selection{background:#d9e5dc;color:#173c35}a{color:inherit;text-underline-offset:.2em}button,input,textarea,select{font:inherit}input,textarea{caret-color:var(--accent)}button,a,summary{touch-action:manipulation}button,summary{cursor:pointer}button,.button{min-height:44px;border:1px solid var(--line);border-radius:6px;padding:10px 18px;background:var(--card);color:var(--accent);font-weight:600;line-height:1.4}button:hover,.button:hover{background:#e4ebe4;border-color:#9eafa3}button:disabled,button[aria-disabled=true]{cursor:default;color:var(--muted);background:#ecefe9}.primary,.button{background:var(--accent);border-color:var(--accent);color:var(--card)}.primary:hover,.button:hover{background:#316354;color:var(--card)}.button{display:inline-block;text-decoration:none}.text-button{border-color:transparent;background:transparent;text-decoration:underline;text-underline-offset:4px}
:focus-visible{outline:3px solid var(--orange);outline-offset:4px}h1:focus:not(:focus-visible),h2:focus:not(:focus-visible),article:focus:not(:focus-visible){outline:none}h1,h2,h3{font-family:var(--display);font-weight:450;line-height:1.15;letter-spacing:-.025em;margin:0 0 .55em;text-wrap:balance}h1{font-size:clamp(2.2rem,4vw,3.2rem)}h2{font-size:1.9rem}h3{font-size:1.5rem}p{margin:0 0 1em}p:last-child{margin-bottom:0}img{display:block;max-width:100%;height:auto}figure{margin:0}summary{min-height:48px;padding:12px 0;font-weight:600}details>p,details>section,details>div:not(.reading-controls){margin-top:14px}.small{font-size:.9rem;color:var(--muted)}.lead{font:1.5rem/1.4 var(--display)}.actions,.checkpoint-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin-top:24px}.skip{position:fixed;top:-100px;left:16px;z-index:30;padding:12px;background:var(--card)}.skip:focus{top:12px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.masthead{padding:12px max(24px,calc((100vw - 1280px)/2));display:flex;align-items:center;justify-content:space-between;gap:20px;background:#291e30;color:#f4eee3}.masthead img{width:166px}.masthead>a:last-child{font-size:.85rem;min-height:44px;display:flex;align-items:center}.edition{display:none}.save-bar{max-width:1280px;margin:auto;padding:2px 24px;display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:.8rem;color:var(--muted)}#save-status[data-warning=true]{color:#873411;font-weight:600}.reading-options{position:relative}.reading-options summary{min-height:44px;padding:10px 0;font-size:.85rem;text-decoration:underline}.reading-options>div{position:absolute;right:0;top:100%;z-index:20;min-width:180px;margin:0!important;padding:8px;background:var(--card);border:1px solid var(--line);border-radius:6px;display:grid;gap:4px}.reading-options button{text-align:left}.reading-options [aria-pressed=true]{background:#e1e9e1;font-weight:700}main{max-width:1280px;margin:auto;padding:12px 24px 48px}.game-footer{max-width:1280px;margin:auto;padding:20px 24px;border-top:1px solid var(--line);display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:.8rem;color:var(--muted)}.game-footer>span:last-child{width:100%}
/* One opening, then the file. The longer background remains available. */
.gate,.preface-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(28px,5vw,64px);align-items:center;max-width:1100px;margin:24px auto 40px}.gate>figure img,.preface-image img{width:100%;aspect-ratio:1.15;object-fit:cover;border-radius:12px}.gate figcaption,.preface-image figcaption{font-size:.85rem;color:var(--muted);padding:10px 0}.gate-copy,.preface-copy{max-width:65ch}.gate form{display:grid;gap:12px;margin:24px 0 12px}.gate input[type=email]{width:100%;min-height:50px;padding:10px 13px;border:1px solid #91a097;border-radius:5px;background:var(--card);color:var(--ink)}.gate-consent{display:flex;align-items:flex-start;gap:12px;font-size:.9rem;line-height:1.5;padding:8px 0;min-height:44px}.gate-consent input{width:22px;height:22px;flex-shrink:0;margin:2px 0;accent-color:var(--accent)}.gate-honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.form-error{color:#8d3514;margin:0}.form-error:empty{display:none}.preface-actions{margin:24px 0 16px}.preface-actions .primary{min-width:220px}.reading-tip{font-size:.9rem;color:var(--muted)}.background-story{border-top:1px solid var(--line);margin-top:24px}.background-story section+section{margin-top:28px}.background-story h3{font-size:1.3rem}.load-error{max-width:65ch;margin:48px auto}
/* Four stable destinations; case progress describes the investigation, not the selected file. */
/* The safety sheet is a static exhibit: its blank boxes are entries, not controls. */
.safety-sheet{container-type:inline-size;border-top:2px solid var(--ink);padding-top:20px;margin-bottom:28px;line-height:1.5}
.safety-sheet .sheet-header{padding-bottom:16px;border-bottom:1px solid var(--line)}
.safety-sheet .sheet-club{font-size:.9rem;font-weight:600;margin-bottom:6px}
.safety-sheet .sheet-header h3{font-family:var(--body);font-size:1.5rem;font-weight:650;letter-spacing:0;margin:0 0 6px}
.safety-sheet .sheet-date{margin:0;font-size:.95rem}
.sheet-conditions{display:grid;grid-template-columns:1fr;gap:6px 24px;padding:16px 0;border-bottom:1px solid var(--line)}
.safety-sheet .sheet-conditions p{font-size:.9rem;margin:0}
.safety-sheet table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:.95rem;line-height:1.5}
.safety-sheet caption{text-align:left;font-size:1rem;font-weight:650;padding:22px 0 12px}
.safety-sheet th,.safety-sheet td{text-align:left;vertical-align:top;padding:12px 8px;border-bottom:1px solid var(--line);overflow-wrap:break-word}
.safety-sheet thead th{background:var(--paper);font-size:.8rem;font-weight:600;padding-block:9px}
.safety-sheet th:first-child,.safety-sheet td:first-child{padding-left:0}
.safety-sheet thead th:first-child{padding-left:8px}
.sheet-checks th:last-child,.sheet-checks td:last-child{width:82px;text-align:center;padding-inline:6px}
.sheet-signoff{display:inline-grid;grid-template-columns:20px 2ch;align-items:center;gap:6px;min-height:27px;white-space:nowrap;font-size:.9rem}
.sheet-box{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border:1px solid var(--ink);font-size:1rem;line-height:1;flex-shrink:0}
.safety-sheet .sheet-storage{font-size:.85rem;line-height:1.5;margin:12px 0 0}
.sheet-section{margin-top:28px}
.safety-sheet .sheet-section h4{font:650 1rem/1.4 var(--body);margin:0 0 8px}
.safety-sheet .sheet-instruction{font-size:.9rem;margin-bottom:14px}
.sheet-log th:first-child{width:70px;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}
.record-supplement{border-top:1px solid var(--line);padding-top:22px}
@container(min-width:28rem){.sheet-conditions{grid-template-columns:1fr 1fr}.sheet-checks th:last-child,.sheet-checks td:last-child{width:100px}.safety-sheet th,.safety-sheet td{padding-block:14px}}
.desk-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.desk-heading h1{font-size:1.7rem;margin:0}.case-progress{font-size:.85rem;color:var(--muted);white-space:nowrap}.workspace-nav{position:sticky;top:0;z-index:10;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:var(--paper);border-bottom:1px solid var(--line);padding:4px 0}.workspace-nav button{display:flex;align-items:center;justify-content:center;gap:9px;border:0;border-radius:5px;background:transparent;padding:12px 8px;font-size:.95rem;min-width:0}.workspace-nav [aria-current=page]{background:var(--accent);color:var(--card)}.workspace-nav button:hover:not([aria-current]){background:#e1e9e1}.workspace-nav svg{flex-shrink:0}.workspace-content{padding-top:20px}.desk{display:grid;grid-template-columns:250px minmax(0,1fr);gap:28px;align-items:start}.tray{position:sticky;top:76px;min-width:0;max-height:calc(100dvh - 96px);overflow-y:auto;padding-right:6px}.tray summary{display:flex;align-items:baseline;justify-content:space-between;gap:8px;list-style:none;font-size:.95rem;padding:8px 0 12px}.tray summary::-webkit-details-marker{display:none}.tray summary>span:nth-child(2){font-size:.8rem;font-weight:400;color:var(--muted)}.tray-disclosure{display:none}.tray-list,.tray-act ul{list-style:none;padding:0;margin:0}.tray-act>span{display:block;font-size:.8rem;font-weight:600;color:var(--muted);padding:16px 0 8px}.tray-act>p{font-size:.8rem;color:var(--muted);margin-bottom:12px}.tray button{display:flex;width:100%;gap:10px;border:0;text-align:left;background:transparent;padding:12px 10px;font-weight:400}.tray button:hover{background:#e4ebe4}.tray button[aria-pressed=true]{background:#dce6df;color:var(--ink);font-weight:600}.item-id{font-size:.8rem;padding-top:2px;color:var(--muted)}.item-title{font-size:.95rem;min-width:0}.item-title small{display:block;margin-top:3px;font-weight:400;font-size:.8rem;color:var(--muted)}.reader{min-width:0}.reader-location{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;font-size:.85rem;color:var(--muted)}.reader-location button{padding:8px 4px;font-size:.9rem}.compare-tools{display:flex;gap:12px;align-items:end;margin:0 0 16px}.compare-tools label{flex:1;min-width:0;font-size:.9rem}.compare-tools select{display:block;width:100%;padding:10px;margin-top:4px;min-height:48px;border:1px solid var(--line);border-radius:5px;background:var(--card);color:var(--ink);text-overflow:ellipsis}.reader-grid{display:grid;gap:20px}.reader-grid.comparing{grid-template-columns:repeat(2,minmax(0,1fr))}.record{background:var(--card);padding:30px 34px;border:1px solid var(--line);border-radius:12px;min-width:0}.record h2{font-size:1.85rem;text-wrap:initial;margin-bottom:22px}.record .record-meta{font-size:.8rem;color:var(--muted);margin:0 0 18px;font-variant-numeric:tabular-nums}.record-body{max-width:70ch;font-size:1rem;line-height:1.75;overflow-wrap:anywhere}.record-body p{margin-bottom:1.2em}.record-body p:last-child{margin-bottom:0}.document-record .record-body{font-family:var(--body)}.document-statement .record-body{font-family:var(--display);font-size:1.15rem;line-height:1.6}.statement-person{display:flex;align-items:center;gap:12px;margin:0 0 20px;font-size:.95rem;font-weight:600}.statement-person img{width:46px;height:46px;object-fit:cover;border-radius:50%}.statement-person small{display:block;color:var(--muted);font-size:.85rem;font-weight:400}.reader-next{display:flex;align-items:stretch;justify-content:space-between;gap:12px;margin-top:20px}.reader-next .primary{text-align:left;max-width:76%}.reader-next .primary span{display:block;font-size:.85rem;font-weight:400;margin-top:4px}.briefing{margin-top:28px;border-top:1px solid var(--line);font-size:.9rem}.briefing summary{font-weight:400}.briefing>div{max-width:70ch}
/* Photographs lead their evidence item and expand without losing your place. */
.record-photos{margin:20px 0 28px}.record-photos>p{font-size:.9rem;margin-bottom:12px}.photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.evidence-photo{min-width:0}.evidence-photo>button{display:block;width:100%;padding:0;overflow:hidden;text-align:left}.evidence-photo img{width:100%;aspect-ratio:1;object-fit:contain;background:#e5eae4}.evidence-photo>button>span{display:block;padding:10px;font-size:.85rem;text-decoration:underline}.evidence-photo figcaption{font-size:.85rem;line-height:1.5;padding-top:10px}.photo-error{font-size:.9rem;color:#873411;margin-top:12px}.photo-error button{margin-top:8px}dialog{max-width:min(520px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:28px;background:var(--card);color:var(--ink);border:1px solid var(--line);border-radius:12px}dialog::backdrop{background:#122b25b3}.photo-dialog{width:min(900px,calc(100% - 24px));max-width:none;max-height:calc(100dvh - 24px);padding:20px;overscroll-behavior:contain}.photo-dialog form{display:flex;justify-content:flex-end;position:sticky;top:-20px;background:var(--card);padding-block:8px;z-index:1}.photo-dialog h2{font-size:1.4rem;margin-block:16px}.photo-dialog>img{width:100%;max-height:70dvh;object-fit:contain;background:var(--paper)}.photo-dialog>p{font-size:.85rem;color:var(--muted);margin-top:12px}
/* Theory choices are the main task. Optional writing and reminders stay folded. */
.focused-view{max-width:760px;margin:12px auto 0}.focused-view>p{max-width:70ch}.focused-view h2,.cast-view>h2{margin-bottom:12px}.panel label{display:block}.panel textarea{display:block;width:100%;padding:12px;margin:8px 0 24px;border:1px solid #91a097;border-radius:6px;background:var(--card);color:var(--ink);font-size:1rem;resize:vertical}.panel textarea::placeholder{color:var(--muted)}fieldset{border:0;padding:0;margin:28px 0}legend{font-weight:650;margin-bottom:12px}.choices{display:grid;gap:8px}.choices label{display:flex;align-items:center;gap:12px;min-height:52px;padding:12px 14px;border:1px solid var(--line);border-radius:6px;background:var(--card);cursor:pointer;line-height:1.45}.choices label:has(input:checked){border-color:var(--accent);background:#e0e9e1}.choices input{width:20px;height:20px;flex:0 0 20px;accent-color:var(--accent);margin:0}.choices label:has(input:focus-visible){outline:3px solid var(--orange);outline-offset:3px}.optional-note,.theory-reminder{border-block-start:1px solid var(--line);margin:16px 0}.optional-note summary,.theory-reminder summary{font-size:.95rem;font-weight:400}.optional-note label{margin-top:12px}.earlier-theory{padding:12px 0;display:grid;gap:6px}.earlier-theory span{color:var(--muted)}.theory-lead{padding-bottom:20px}.theory-lead p{font-size:.95rem}.evidence-complete{font-size:.85rem;color:var(--muted)}.unopened-notice{margin:20px 0;padding:16px 0;border-block:1px solid var(--line)}.unopened-notice p{font-size:.9rem;margin:6px 0 12px}.unopened-notice button{text-align:left;max-width:100%}.feedback{margin:24px 0;padding:20px;background:#e0e9e1;border-radius:8px}.feedback:empty{display:none}#ending-error{color:#873411;margin-top:12px}.hint-grid{display:grid;gap:28px;margin-top:28px}.hint{padding-bottom:28px;border-bottom:1px solid var(--line)}.hint-count{display:block;font-size:.85rem;color:var(--muted);margin-bottom:6px}.hint h3{font-size:1.4rem}.hint button{margin-top:12px}.help-links{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:24px 0}.help-links button{text-align:left;padding:16px}.help-links span{display:block;font-size:.9rem;font-weight:400;margin-top:4px}.help-view>details{border-bottom:1px solid var(--line);padding-bottom:8px}.help-view>details section{padding:12px 0}.help-view>.small{margin-top:28px}.play-guide{padding-left:24px}.play-guide li{margin-bottom:10px}.help-view details p{max-width:70ch}
/* People and the ending use the same readable scale as the case file. */
.cast-view{max-width:1000px;margin:12px auto}.people-grid{display:grid;grid-template-columns:1fr 1fr;gap:32px;margin-top:28px}.person{display:grid;grid-template-columns:110px minmax(0,1fr);gap:18px;align-items:start;padding-bottom:24px;border-bottom:1px solid var(--line)}.person>img{width:110px;aspect-ratio:1;object-fit:cover;border-radius:8px}.person h3{font-size:1.5rem}.person-role{font-size:.85rem;color:var(--muted);margin-bottom:4px}.person p:last-child{font-size:.95rem}.tag-exhibit{display:flex;align-items:center;gap:28px;margin-top:32px}.tag-exhibit img{width:200px}.tag-exhibit figcaption{max-width:40ch}.section-label{font-size:.85rem;color:var(--muted)}.ending{max-width:760px;margin:24px auto}.ending section{margin:36px 0}.theory-journey{border-block:1px solid var(--line);padding:8px 0;margin:28px 0}.theory-journey li{margin-bottom:12px}.case-closed{background:var(--accent);color:var(--card);padding:28px;margin-top:40px;border-radius:12px}.case-closed .button{background:#f4eee3;color:var(--accent)}.case-closed .section-label{color:#e1e9e1}.case-closed h2{font-size:2rem}
@media(max-width:1100px){.reader-grid.comparing{grid-template-columns:1fr}.desk{grid-template-columns:220px minmax(0,1fr);gap:20px}.record{padding:24px}.people-grid{grid-template-columns:1fr}}
@media(max-width:760px){
  html{scroll-padding-bottom:110px}.masthead{padding:8px 16px}.masthead img{width:145px}.masthead>a:last-child{font-size:.8rem}.save-bar{padding:0 16px;gap:8px;line-height:1.4}.save-bar #save-status{font-size:.8rem}.reading-options summary{font-size:.8rem}.save-bar:has([data-warning=true]){align-items:start;padding-block:8px}main{padding:10px 16px 28px}body[data-stage=desk]{padding-bottom:calc(76px + env(safe-area-inset-bottom,0px))}.game-footer{padding:18px 16px;font-size:.8rem}
  .gate,.preface-layout{grid-template-columns:1fr;gap:20px;margin:8px auto 24px}.gate>figure{display:none}.preface-image img{aspect-ratio:2.8;max-height:180px;object-position:center 58%}.preface-image figcaption{display:none}.preface-copy h1{font-size:2.2rem}.preface-copy .lead{font-size:1.3rem}.preface-copy>p{font-size:1rem;line-height:1.5}.preface-actions{margin:20px 0 12px}.preface-actions .primary{width:100%}.preface-copy .reading-tip{font-size:.85rem}.background-story{margin-top:16px}.gate-copy h1{font-size:2.3rem}
  .desk-heading{gap:12px;margin-bottom:12px}.desk-heading h1{font-size:1.4rem}.case-progress{font-size:.8rem}.workspace-nav{position:fixed;top:auto;bottom:0;left:0;right:0;z-index:10;background:var(--card);border-top:1px solid var(--line);border-bottom:0;padding:5px 8px calc(5px + env(safe-area-inset-bottom,0px));gap:2px}.workspace-nav button{flex-direction:column;gap:3px;font-size:.8rem;line-height:1.2;padding:7px 2px;min-height:58px}.workspace-nav svg{width:20px;height:20px}.workspace-nav [aria-current=page]{background:#e0e9e1;color:var(--accent)}.workspace-content{padding-top:0}.desk{display:block}.tray{position:static;max-height:none;overflow:visible;padding:0;margin-bottom:8px;border-block:1px solid var(--line)}.tray summary{min-height:52px;align-items:center;padding:10px 0;font-size:.9rem}.tray summary>span:nth-child(2){margin-left:auto;font-size:.8rem}.tray-disclosure{display:block;width:20px;font-size:0}.tray-disclosure::after{content:'+';font:1.3rem/1 var(--body)}.tray[open] .tray-disclosure::after{content:'−'}.tray-list{padding-bottom:12px}.tray button{min-height:60px}.tray-act>span{font-size:.85rem}.item-title{font-size:1rem}.reader-location{margin-bottom:6px}.reader{scroll-margin-top:12px}.record{padding:22px 18px;border-radius:10px}.record h2{font-size:1.6rem;margin-bottom:20px}.record .record-meta{font-size:.75rem;margin-bottom:16px}.record-body{font-size:1rem;line-height:1.65}.document-statement .record-body{font-size:1.1rem;line-height:1.6}.statement-person{margin-bottom:16px}.reader-next{align-items:stretch;gap:8px}.reader-next>button:not(.primary){padding-inline:12px;align-self:stretch}.reader-next .primary{flex:1;max-width:none;padding-inline:14px}.reader-next .primary span{font-size:.8rem}.compare-tools{flex-wrap:wrap}.compare-tools label{flex-basis:100%}.compare-tools button{display:none}.briefing{margin-top:24px}.photo-grid{gap:12px}.evidence-photo>button>span{padding:8px;font-size:.8rem}.photo-dialog{padding:14px}.photo-dialog form{top:-14px}.focused-view,.cast-view{margin-top:16px}.focused-view h2,.cast-view>h2{font-size:1.8rem}.help-links{grid-template-columns:1fr;gap:10px}.people-grid{gap:24px}.person{grid-template-columns:88px minmax(0,1fr);gap:14px}.person>img{width:88px}.person h3{font-size:1.4rem}.tag-exhibit{align-items:start;gap:18px}.tag-exhibit img{width:38%}.tag-exhibit h3{font-size:1.3rem}.checkpoint-actions{gap:10px}.checkpoint-actions .primary{flex-basis:100%}.ending h1{font-size:2.3rem}.case-closed{padding:22px}.case-closed h2{font-size:1.8rem}.actions>*{max-width:100%}
}
@media(max-width:360px){.masthead img{width:128px}.desk-heading h1{font-size:1.25rem}.photo-grid{grid-template-columns:1fr}.record{padding-inline:16px}.reader-next .primary span{display:none}.person{grid-template-columns:70px minmax(0,1fr)}.person>img{width:70px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
.skip:not(:focus){clip-path:inset(50%);width:1px;height:1px;overflow:hidden;padding:0}
@media print{.masthead,.save-bar,.workspace-nav,.tray,.reader-location,.reader-next,.game-footer,button,.case-closed{display:none}body{background:white;color:black;padding:0!important}.desk,.reader-grid.comparing{display:block}.record{break-inside:avoid;margin-block:15px}.evidence-photo>button{display:block;border:0}.evidence-photo>button>span{display:none}}

/* Navigation help stays short until a player opens a topic. */
.investigation-progress{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 16px}.progress-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;list-style:none;padding:0;margin:0;width:min(100%,540px)}.progress-step{display:flex;align-items:baseline;gap:8px;border-top:3px solid var(--line);padding-top:6px;color:var(--muted);font-size:.8rem}.progress-step strong{font-weight:600;white-space:nowrap}.progress-step.is-complete{border-color:var(--accent);color:var(--accent)}.progress-step.is-current{border-color:var(--orange);color:var(--ink)}.progress-next{display:flex;align-items:center;justify-content:flex-end;gap:12px;font-size:.85rem;color:var(--muted)}.progress-next button{font-size:inherit;padding:8px 4px;flex-shrink:0}
@media(min-width:761px){.tray{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:12px}.tray summary{flex-wrap:wrap;padding:4px 4px 12px;border-bottom:1px solid var(--line)}.tray-act>span,.tray-act>p{padding-inline:4px}}
@media(max-width:1100px){.investigation-progress{gap:12px}.progress-step{display:block}.progress-step span{display:block}.progress-next{flex-wrap:wrap;gap:0 12px}}
@media(max-width:760px){.investigation-progress{display:block;margin-bottom:8px}.progress-steps{width:100%;gap:12px}.progress-step{display:flex;flex-wrap:wrap;gap:0 6px;padding-top:4px;font-size:.8rem;line-height:1.5}.progress-next{justify-content:space-between;gap:0 8px;margin-top:4px;font-size:.8rem}.progress-next button{min-height:44px}}
@media print{.investigation-progress{display:none}}
.play-help{width:100%;min-width:0;margin:.75rem 0 1rem}.play-help>details{border-bottom:1px solid var(--line);padding-bottom:.4rem}.play-help>details>summary{min-height:44px;padding:.7rem 0;font-weight:650;cursor:pointer}.play-help p,.play-help li{max-width:70ch;overflow-wrap:anywhere}.play-help ol,.play-help ul{padding-left:1.4rem;margin:.5rem 0 1rem}.play-help li{margin-bottom:.65rem}.play-help details p{margin:.6rem 0 1rem}

/* A single case identity replaces the separate title and saved-status rows. */
.case-identity{min-width:0}.case-identity h1{font-size:1.5rem;margin:0;line-height:1.2}
body[data-stage=desk] .save-bar{padding-block:10px 4px;align-items:center}
body[data-stage=desk] main{padding-top:4px}
.opening-note{margin:20px 0;padding:0;max-width:65ch;font-size:1rem}
.opening-note p{margin-bottom:.65em}.opening-note p:last-child{font-weight:600}
.compact-notice{display:flex;flex-wrap:wrap;align-items:center;gap:0 6px;margin:12px 0;padding:0;border:0;font-size:.85rem;color:var(--muted)}
.compact-notice .text-button{font-size:inherit;padding:8px 4px}
.part-feedback{margin-top:14px;padding:14px 0;color:var(--ink)}
.part-feedback>strong{display:block;color:var(--orange);font-size:.9rem}
.part-feedback[data-supported=true]>strong{color:var(--accent)}
.part-feedback p{margin:6px 0;font-size:.95rem}
.evidence-links{display:flex;gap:4px;flex-wrap:wrap}.evidence-links button{font-size:.85rem;padding:8px}
.question>.feedback{margin:16px 0}.question>p{margin-bottom:10px}
.question .theory-journey{margin:0;border:0;padding:0}
@media(max-width:760px){
  body[data-stage=desk] .masthead{padding-block:0}
  body[data-stage=desk] .save-bar{padding-block:8px 2px;gap:8px}
  .case-identity h1{font-size:1.3rem}
  body[data-stage=desk] .save-bar #save-status{display:block;line-height:1.35}
  .investigation-progress{margin-bottom:0}.progress-steps{gap:8px}
  .progress-step{font-size:.8rem;padding-top:3px}
  .progress-next{margin-top:0}.progress-next button{padding-block:6px}
  .focused-view{margin-top:8px}.focused-view fieldset{margin-block:18px}
  .preface-image img{max-height:110px}
  .opening-note{margin-block:16px;font-size:.95rem}
  .preface-actions{margin-block:18px 12px}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

/* One connected account. Native selects retain keyboard and mobile picker behaviour;
   the visible value wraps so long phrases remain readable at narrow widths. */
.account-view{max-width:760px}
.account-paragraph{font-family:var(--display);font-size:1.3rem;line-height:2.15;margin:28px 0!important;overflow-wrap:anywhere}
.account-select{position:relative;display:inline-block;vertical-align:baseline;max-width:100%;margin:3px 0;border-bottom:1px solid var(--accent);background:var(--card);color:var(--ink);border-radius:4px 4px 0 0}
.account-select-text{position:relative;display:block;min-height:44px;padding:8px 32px 8px 10px;line-height:1.45;font:500 1rem/1.45 var(--body);white-space:normal}
.account-select-text::after{content:'';position:absolute;right:12px;top:18px;width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg)}
.account-select[data-filled=false]{color:var(--muted);border-bottom-style:dashed}
.account-select select{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;font:1rem var(--body);color:var(--ink);background:var(--card)}
.account-select:hover{background:#e1e9e1}
.account-select:has(select:focus-visible){outline:3px solid var(--orange);outline-offset:3px}
.account-sentence-end{display:inline-flex;align-items:baseline;max-width:100%;vertical-align:baseline}
.account-sentence-end .account-select{min-width:0;max-width:none;flex:0 1 auto}
.account-paragraph[data-complete=true]{line-height:1.85}
.account-paragraph[data-complete=true] strong{font-weight:600}
.account-actions{margin:24px 0}
#account-review{margin-block:24px}
#account-review .part-feedback{border-bottom:1px solid var(--line);padding-block:18px;margin:0}
.part-feedback h3{font-size:1.2rem;margin-bottom:4px}
.discovery-reflections{border-block:1px solid var(--line);margin-block:40px;padding-block:24px}
.discovery-reflections h2{font-size:1.6rem;margin-bottom:8px}
.discovery{margin-top:24px}.discovery h3{font-size:1.2rem}.discovery p{font-size:.95rem;margin-block:6px 12px}
.discovery-actions{display:flex;flex-wrap:wrap;gap:8px}
.discovery-actions button{font-size:.9rem}
.discovery-actions [aria-pressed=true]{background:var(--accent);color:var(--card);border-color:var(--accent)}
@media(max-width:760px){.account-paragraph{font-size:1.2rem;line-height:2;margin-block:24px!important}.account-actions>*{max-width:100%}}

/* Gemma revision: preserve existing responsive evidence desk. */
.revision-notice {padding:1rem;border-inline-start:3px solid var(--accent,#214e43);background:#e1eae3;margin-block:1rem;}
.unsent-draft {margin:2rem 0;padding:1.25rem;border-inline-start:3px solid #9c8d68;background:#fffefa;}
.unsent-draft p:last-child {font-family:var(--serif,Georgia,serif);font-size:clamp(1.35rem,3vw,1.8rem);line-height:1.5;}
.owen-reply {max-width:48rem;}

/* Keep free-case feedback typography consistent with the evidence desk. */
body .case-feedback,body .case-feedback__eyebrow,body .case-feedback-dialog{font-family:var(--body)}
body .case-feedback h2{font-family:var(--display)}
body [data-feedback-open]{font-family:var(--body)!important}

/* Revisit the people and their accounts before testing the records. */
.theory-recall{margin:28px 0 32px;padding:22px 0;border-block:1px solid var(--line)}
.theory-witnesses{display:grid;gap:22px}
.theory-witness{display:grid;grid-template-columns:88px minmax(0,1fr);gap:16px;align-items:start;min-width:0}
.theory-witness+ .theory-witness{border-top:1px solid var(--line);padding-top:22px}
.theory-witness>img{width:88px;aspect-ratio:1;object-fit:cover;border-radius:6px}
.theory-witness p{margin:0;font-size:1rem;line-height:1.6}
.theory-witness .theory-quote{font-family:var(--display);font-size:1.2rem;line-height:1.45}
.theory-recall .text-button{min-height:44px;padding:8px 0;font-size:.9rem;font-weight:600}
.theory-file{display:grid;grid-template-columns:88px minmax(0,1fr);align-items:center;gap:16px;margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}
.theory-file>img{width:88px;height:72px;object-fit:cover;border-radius:4px}
.theory-file p{margin:0;font-size:.95rem;line-height:1.5}
@media(min-width:761px){.theory-witnesses{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.theory-witness{grid-template-columns:104px minmax(0,1fr);gap:16px}.theory-witness>img{width:104px}.theory-witness+ .theory-witness{border-top:0;border-left:1px solid var(--line);padding-top:0;padding-left:24px}.theory-file{grid-template-columns:104px minmax(0,1fr)}.theory-file>img{width:104px}}
@media(min-width:761px) and (max-width:1000px){.theory-witnesses{grid-template-columns:1fr}.theory-witness+ .theory-witness{border-left:0;border-top:1px solid var(--line);padding-left:0;padding-top:22px}}
