.level-selector{padding:26px;background:#e8eddd;border:1px solid #c7d0b8;border-radius:14px;margin:0 0 36px}.level-selector h2{font-size:1.4rem;margin:7px 0}.level-selector p{font-size:.8125rem;color:var(--muted)}.level-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:20px}.level-options button{padding:18px;text-align:left;border:2px solid #cbd3bf;background:#f4f4e7;border-radius:10px;min-height:104px}.level-options .chosen{border-color:var(--teal);background:var(--teal);color:#fff9e9}.level-options strong{display:block;font-size:1rem;margin-bottom:8px}.level-options span{font-size:.75rem;line-height:1.7;display:block}.badges{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:350px;row-gap:20px}.challenge-evidence{grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.theory>div{min-width:0;flex:1}.theory.refuted{color:#86523e}.theory-status{display:inline-block;font-size:.75rem;border:1px solid var(--line);background:#e4e9d9;padding:4px 8px;border-radius:6px;margin:10px 0}.refuted .theory-status{background:#f0e2d6;border-color:#d7bdab}.pending .theory-status{background:#f2e8cb;border-color:#d6c69e}.proof-note{display:flex;gap:12px;align-items:center;margin:9px 0}.proof-note img{width:58px;height:58px;object-fit:cover;flex:none;border-radius:5px}.proof-note small{line-height:1.8}.theory .secondary{margin-top:8px;min-height:44px;font-size:.8125rem}.testimony-notebook{padding:24px;background:#edead8;border:1px solid #d1d1b8;border-radius:12px;margin-top:22px}.testimony-notebook h3{font-size:1rem}.testimony-notebook h3 span{float:right;font-size:.875rem;font-weight:400}.testimony-notebook article{padding:16px 0;border-top:1px dashed #c6c9af;margin-top:12px}.testimony-notebook small{font-size:.6875rem;color:var(--teal)}.testimony-notebook p{font-size:.875rem;color:var(--muted);line-height:1.9;margin-top:8px}.paired-previews{display:flex;gap:12px;margin:18px 0}.paired-previews figure{flex:1;min-width:0}.paired-previews img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:7px}.paired-previews figcaption{font-size:.75rem;margin-top:6px;color:var(--muted)}.claim-choice{display:block;background:#edf0e1;border:1px solid #cbd4be;border-radius:8px;padding:14px;text-align:left;min-height:52px;width:100%;font-size:.875rem;line-height:1.9;margin:12px 0}.claim-choice.answered{border-color:var(--teal);background:#e0e8d7}.current-claim{padding:13px 16px;border-left:3px solid var(--amber);background:#efe7d0;color:var(--ink)!important}.missing-testimony{padding:16px;border:1px dashed #c9af80;background:#f1e9d3;border-radius:8px;margin-bottom:18px}.missing-testimony strong{font-size:.875rem}.missing-testimony p{font-size:.8125rem;margin:7px 0 12px}.proof-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0}.proof-choices button{display:flex;align-items:center;gap:10px;min-height:70px;padding:8px;background:#eeeedf;border:1px solid var(--line);border-radius:8px;text-align:left;font-size:.8125rem;line-height:1.7}.proof-choices img{width:52px;height:52px;object-fit:cover;border-radius:4px;flex:none}.interview-questions section{border-top:1px dashed var(--line);margin-top:18px;padding-top:6px}.interview-questions blockquote{font-size:.875rem;line-height:1.9}.timeline-help{font-size:.8125rem;color:var(--muted);line-height:1.8;margin-bottom:18px}.timeline-slots{display:grid;gap:10px}.timeline-slots article{display:flex;gap:12px;align-items:center;padding:10px;border:1px solid #bdceb6;border-radius:8px;background:#e5ebdb}.timeline-slots article>b,.timeline-empty>b{flex:none;display:flex;align-items:center;justify-content:center;width:24px;height:24px;background:#fff9e6;border-radius:50%;font-size:.75rem}.timeline-slots img{height:48px;width:48px;object-fit:cover;border-radius:5px;flex:none}.timeline-slots article>span{flex:1;font-size:.875rem;line-height:1.8}.timeline-slots article>div{display:flex;gap:5px}.timeline-slots button{height:44px;width:44px;border:1px solid #c1ccb4;border-radius:6px;background:#fff9e9;font-weight:700;font-size:1rem}.timeline-empty{display:flex;align-items:center;gap:14px;padding:14px;border:1px dashed #c1c8ae;border-radius:8px;font-size:.8125rem;color:#839078;min-height:68px}.event-pool{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:20px}.event-pool button{display:flex;align-items:center;gap:10px;min-height:72px;padding:9px;border:1px solid var(--line);border-radius:8px;background:#f1eddf;text-align:left;line-height:1.8;font-size:.8125rem}.event-pool img{width:50px;height:50px;object-fit:cover;flex:none;border-radius:5px}.event-pool span{flex:1}.event-pool b{color:var(--teal);font-size:1.2rem}.truth-summary{padding:26px 32px;border-bottom:1px solid var(--line)}.truth-roles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:24px}.truth-roles article{background:#e5ebdc;padding:16px;border-radius:9px}.truth-roles small{font-size:.75rem;line-height:1.8;display:block;color:var(--muted)}.truth-roles strong{font-size:1.2rem;display:block;margin-top:8px}.truth-summary h2{font-size:1.125rem}.truth-summary ol{padding-left:24px;margin:17px 0}.truth-summary li{font-size:.875rem;line-height:2;padding-left:5px}.truth-summary>p{font-size:.8125rem;color:var(--muted);line-height:1.9}.case-progress{flex-wrap:wrap}.case-progress span:last-child{white-space:nowrap}.truth-notes article>div{min-width:0}
@media(max-width:760px){.level-selector{padding:22px 18px;margin-bottom:28px}.level-selector h2{font-size:1.2rem}.level-options{grid-template-columns:1fr;gap:10px;margin-top:16px}.level-options button{min-height:88px;padding:15px}.level-options strong{font-size:.9375rem;margin-bottom:5px}.level-options span{font-size:.75rem}.badges{width:100%;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 10px}.challenge-evidence{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.theory-status{font-size:.6875rem}.proof-note{align-items:start;gap:9px}.proof-note img{width:48px;height:48px}.testimony-notebook{padding:20px}.testimony-notebook p{font-size:.8125rem}.paired-previews figcaption{font-size:.6875rem}.proof-choices button{padding:8px;font-size:.75rem;gap:7px}.proof-choices img{width:43px;height:43px}.claim-choice{font-size:.8125rem}.timeline-slots article{gap:8px;flex-wrap:wrap;padding:10px}.timeline-slots article>span{font-size:.8125rem;min-width:calc(100% - 96px)}.timeline-slots article>div{margin-left:auto;gap:7px}.event-pool{grid-template-columns:1fr}.event-pool button{font-size:.8125rem;min-height:72px}.truth-summary{padding:24px 22px}.truth-roles{gap:10px}.truth-roles article{padding:13px}.truth-roles small{font-size:.6875rem}.truth-roles strong{font-size:1.1rem}.case-progress{column-gap:12px;row-gap:8px}.case-progress span:last-child{margin-left:0}.truth-notes article>div{max-width:100%}}

.unknown-event-art{display:flex!important;align-items:center;justify-content:center;flex:none!important;width:50px;height:50px;border:1px dashed #c5cdb6;border-radius:5px;background:#e5e9da;color:var(--muted)}.unknown-event-art svg{width:21px;height:21px}.timeline-slots .unknown-event-art{width:48px;height:48px}.claim-choice:disabled small{display:block;color:var(--muted)}

.expert-casebook{margin-top:48px;padding:28px;background:#e8eddf80;border:1px solid #c4d0ba;border-radius:15px}.expert-casebook .section-heading{margin-bottom:14px}.expert-casebook .case-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.expert-intro{font-size:.875rem;color:var(--muted);line-height:1.9;max-width:820px;margin-bottom:22px}.expert-level-note{font-size:.8125rem;color:var(--teal);padding:10px 14px;border-left:3px solid var(--amber);background:#f3edd8;margin-bottom:22px}.contradiction-fieldset{background:#eff1e5}.contradiction-reveal{padding:18px 20px;border-left:3px solid var(--amber);border-radius:0 8px 8px 0;background:#ede8d3;margin:22px 0}.contradiction-reveal p{font-size:.875rem;line-height:1.9;margin-top:10px}.inspiration-note{margin-top:20px;padding-top:18px;border-top:1px dashed var(--line);font-size:.8125rem;line-height:1.9;color:var(--muted)}.inspiration-note small{color:var(--teal);letter-spacing:.06em}.inspiration-note p{margin:7px 0}.inspiration-note a{color:var(--teal);text-underline-offset:4px;display:inline-flex;align-items:center;min-height:44px}.expert-story-note{padding:12px 15px;border-left:3px solid var(--amber);background:#eef0e1;font-size:.8125rem!important;line-height:1.9!important;margin:18px 0}.badge span{text-align:center}
@media(max-width:760px){.expert-casebook{margin-top:30px;padding:20px 14px}.expert-casebook .case-grid{grid-template-columns:1fr;gap:20px}.expert-casebook .section-heading{align-items:start;gap:12px}.expert-casebook .section-heading h2{font-size:1.2rem}.expert-intro{font-size:.8125rem}.contradiction-reveal{padding:16px}.contradiction-reveal p{font-size:.8125rem}.inspiration-note{font-size:.75rem}}
.expert-observation{font-size:.75rem;line-height:1.8;text-align:left;margin:9px 4px;color:var(--muted)}

.proof-choices button{align-items:flex-start}.proof-choices button>span{min-width:0;flex:1;text-align:left}.proof-choices strong{display:block}.dialog-text .proof-observation{font-size:.75rem;line-height:1.8;margin:6px 0 0;white-space:normal;overflow-wrap:anywhere}.verification-testimony{padding:14px 16px;margin:14px 0;background:#e7ebdc;border-left:3px solid var(--amber);border-radius:0 8px 8px 0}.verification-testimony strong{display:block;font-size:.875rem}.dialog-text .verification-testimony small{margin:7px 0}.dialog-text .verification-testimony p{font-size:.8125rem;margin:0;line-height:1.8}

.puzzle-notebook{margin-top:24px;padding:24px;background:#f5f1e5;border:1px solid #d6ddca;border-radius:18px;overflow-wrap:anywhere}.puzzle-notebook h3{font-size:22px;margin:8px 0 12px}.puzzle-notebook p{line-height:1.8}.puzzle-notebook dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}.puzzle-notebook dl>div{background:#fffdf7;padding:16px;border-radius:12px}.puzzle-notebook dt{font-weight:700;margin-bottom:8px}.puzzle-notebook dd{margin:0;font-size:14px;line-height:1.9}.puzzle-notebook .missing{opacity:.65}.puzzle-notebook figure{margin:16px 0}.puzzle-notebook figure img{width:100%;max-height:360px;object-fit:contain;border-radius:14px;background:#eae3d3}.puzzle-notebook figcaption{font-size:13px;margin-top:8px}.puzzle-notebook small{display:block;line-height:1.7;color:#657466}.puzzle-fieldset .puzzle-notebook{margin-top:10px}.puzzle-locked{opacity:.6}.puzzle-reveal{margin:24px 0;padding:20px;border-left:3px solid #698a75;background:#f5f1e5}.puzzle-reveal p{line-height:1.9}
@media(max-width:600px){.puzzle-notebook{padding:16px}.puzzle-notebook dl{grid-template-columns:1fr}.puzzle-notebook h3{font-size:19px}}

/* Keep the observations used for deductions readable on narrow screens. */
.expert-observation,.paired-previews figcaption,.dialog-text .paired-previews figcaption p{font-size:.875rem;line-height:1.8;overflow-wrap:anywhere}.paired-previews figcaption p{margin-top:6px}.used-hint{margin:16px 0;padding:14px 16px;border-left:3px solid var(--amber);background:#eef0e1}.used-hint strong{font-size:.875rem}.dialog-text .used-hint p{margin:7px 0 0;font-size:1rem}

.dialog-text .proof-feedback{padding:12px 14px;margin:0 0 18px;border:1px solid #b77952;border-radius:8px;background:#f4e3d3;color:#59381f;line-height:1.8}
