.case-workspace { max-width:100%; color:#123b56; }
.case-player,.case-author { margin:20px 0; border:1px solid #bed5e5; border-radius:10px; background:#fff; overflow:hidden; }
.case-player { padding:clamp(18px,3vw,34px); }
.case-stage { display:inline-block; padding:6px 10px; border-radius:5px; background:#e8f5fc; color:#00639d; font-size:13px; }
.case-player h3 { margin:16px 0; font-size:clamp(21px,2vw,28px); }
.case-situation { white-space:pre-wrap; line-height:1.85; padding:20px; border-left:3px solid #0071bc; background:#f3f8fc; }
.case-choices { border:0; padding:0; margin:20px 0; display:grid; gap:12px; min-width:0; }
.case-option { display:flex; align-items:center; gap:12px; padding:16px; border:1px solid #cadce9; border-radius:7px; cursor:pointer; overflow-wrap:anywhere; line-height:1.6; }
.case-option.is-selected,.case-option:has(input:checked) { border-color:#0071bc; background:#e2f5fd; box-shadow:inset 3px 0 #0071bc; }
.case-option input { flex:0 0 auto; accent-color:#0071bc; width:18px; height:18px; }
.case-letter { display:grid; place-items:center; flex:0 0 30px; height:30px; border-radius:5px; background:#edf4f9; color:#005b94; }
.case-option.is-excluded { background:#f2f4f6; border-style:dashed; color:#65727d; cursor:default; }
.case-excluded-label { display:block; margin-top:4px; font-size:12px; font-weight:400; }
.case-remaining { padding:12px 16px; border-radius:5px; background:#eaf6fc; color:#005a8e; line-height:1.7; }
.case-feedback { line-height:1.7; color:#005c8c; }
.case-explanation { padding:16px; background:#eef8fc; border-radius:6px; white-space:pre-wrap; }
.case-actions { display:flex; gap:12px; flex-wrap:wrap; }
.case-workspace button { padding:12px 20px; border:1px solid #006ca9; border-radius:6px; color:#fff; background:#0071bc; cursor:pointer; font:inherit; }
.case-workspace button:disabled { opacity:.6; cursor:wait; }
.case-progress { display:flex; gap:10px; margin:18px 0; }
.case-progress span { display:grid; place-items:center; width:34px; height:34px; border-radius:50%; background:#edf3f7; border:1px solid #cbdce6; }
.case-progress .is-current { border-color:#0071bc; color:#005887; background:#dcf3fc; }
.case-author summary { cursor:pointer; padding:20px; color:#005c91; background:#eff7fc; font-weight:600; }
.case-author form { display:grid; gap:20px; padding:clamp(16px,3vw,30px); }
.case-author form>button { justify-self:start; }
.case-author label { display:grid; gap:8px; min-width:0; }
.case-author :is(input,textarea,select) { width:100%; min-width:0; box-sizing:border-box; padding:11px 12px; font:inherit; line-height:1.5; color:#123b56; background:#fff; border:1px solid #b8d0e0; border-radius:5px; }
.case-author textarea { resize:vertical; }
.case-author-question { display:grid; gap:18px; border:1px solid #c6dce9; padding:20px; min-width:0; border-radius:7px; margin:0; }
.case-author-question legend { padding:0 8px; color:#00639d; }
.case-author-options { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.case-author-note { margin:0; line-height:1.7; color:#567389; }
.case-workspace :is(input,textarea,select,button,summary):focus-visible { outline:3px solid #00a4e6; outline-offset:3px; }
.case-sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
@media(max-width:650px) { .case-author-options { grid-template-columns:1fr; } .case-author-question { padding:14px; } .case-option { padding:12px; gap:8px; } .case-situation { padding:15px; } }
