/* Isolated case-review prototype. The report itself uses the app's renderer and scoped CSS. */
.archive-card .case-open{flex:0 0 auto;background:#204b3c;color:#fff8e9;border:1px solid #204b3c;border-radius:8px;min-height:46px;padding:10px 16px;font-size:12px;font-weight:650;cursor:pointer}
.archive-card .case-open:hover{background:#123a2f}.archive-card .case-row>div{flex:1;min-width:0}
.sample-entry{margin-top:16px;max-width:350px}.sample-entry p{font-size:11px;line-height:1.65;color:#526b5c;margin:4px 0 0}.sample-entry button{color:#214a3a}
.case-dialog{--ink:#e4edf7;--line:#34465a;--panel:#152230;background:#0c151e;color:var(--ink);border:1px solid #456373;border-radius:20px;padding:26px;width:min(820px,calc(100vw - 28px));max-height:calc(100dvh - 28px);overflow:auto;box-sizing:border-box;box-shadow:0 25px 100px #031c3870;color-scheme:dark}
.case-dialog::backdrop{background:#001615aa;backdrop-filter:blur(5px)}.case-dialog *{box-sizing:border-box}.case-dialog [hidden]{display:none!important}
.case-heading{display:flex;justify-content:space-between;align-items:start;gap:18px}.case-kicker{color:#8edab9;margin:0 0 10px;font-size:10px;font-weight:700;letter-spacing:.13em}.case-heading h2{font:650 28px/1.15 Arial,sans-serif;letter-spacing:-.03em;margin:0}.case-heading #case-meta{font-size:12px;color:#b1c7d9;margin:10px 0 0}
.case-heading button{flex:0 0 44px;width:44px;height:44px;border-radius:11px;border:1px solid #9faebe;background:#203044;color:#eaf4fb;font-size:27px;cursor:pointer}.case-dialog #case-preview-note{font-size:12px;line-height:1.6;color:#b6ccda;margin:18px 0}
.case-picker{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:12px;color:#c7dce6;padding:13px 0;border-block:1px solid #34465a}.case-picker select{padding:12px;background:#1d3040;border:1px solid #577286;border-radius:8px;color:#f0f7fc;font:inherit;min-height:44px;min-width:135px}
.case-views{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.case-views button{min-height:44px;padding:10px 15px;border:1px solid #40596d;border-radius:9px;background:#1a2b3b;color:#c6dce9;font:600 12px/1.3 Arial,sans-serif;cursor:pointer}.case-views button[aria-pressed="true"]{background:#b8eccf;color:#10332a;border-color:#d3fce4;box-shadow:0 3px 14px #b8eccf18}
#case-dialog .report-document{max-height:49dvh;min-height:180px;padding:0 3px 0 0;margin:0;font-family:Arial,sans-serif}#case-original{margin:0;padding:16px;border:1px solid #40596d;border-radius:10px;font:12px/1.7 Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;max-height:49dvh;overflow:auto;background:#101f2a;color:#e1eefb}
.case-footer{border-top:1px solid #34465a;margin-top:18px;padding-top:18px}.case-footer .case-download{display:inline-flex;min-height:46px;align-items:center;justify-content:center;padding:10px 18px;border:1px solid #72ad97;border-radius:9px;background:#204c40;color:#e7fff0;text-decoration:none;font-size:12px;font-weight:600}.case-footer p{font-size:10px;line-height:1.6;color:#a7bdcc;margin:10px 0 0}
.case-dialog :is(button,select,a,pre,.report-document):focus-visible,.case-open:focus-visible{outline:3px solid #f1bc75;outline-offset:3px}
@media(max-width:650px){.archive-card .case-open{margin-left:46px;width:calc(100% - 46px)}.case-dialog{padding:18px;border-radius:15px}.case-heading h2{font-size:23px}.case-kicker{font-size:8px;line-height:1.5}.case-picker{align-items:start;flex-direction:column;gap:8px}.case-picker select{width:100%}.case-views{display:grid;grid-template-columns:1fr 1fr}.case-views button{padding:10px 6px;font-size:11px}.case-footer .case-download{width:100%}#case-dialog .report-document{max-height:46dvh}.case-dialog #case-preview-note{font-size:11px}}
