.tested-cases .section-heading>p { max-width:390px; font-size:14px; }
.statement-case { display:grid; grid-template-columns:1fr 1.12fr; border:1px solid var(--line); border-radius:20px; overflow:hidden; background:white; }
.statement-reference { background:#edf1ee; padding:26px; border-right:1px solid var(--line); }
.statement-image-link { display:block; max-width:420px; margin:auto; border-radius:5px; overflow:hidden; box-shadow:0 12px 32px #173e3815; }
.statement-image-link img { display:block; width:100%; height:auto; }
.statement-image-link:focus-visible { outline-offset:5px; }
.reference-caption { margin:18px auto 0; max-width:420px; }
.reference-caption a { display:flex; align-items:center; gap:8px; font-size:12px; font-weight:600; }
.reference-caption span { display:block; color:var(--muted); font-size:11px; margin-top:8px; }
.statement-result { padding:40px; align-self:center; }
.case-format { font-size:10px; font-weight:650; letter-spacing:.09em; color:var(--green); display:flex; flex-wrap:wrap; gap:8px 18px; margin-bottom:24px; }
.case-format>span { font-weight:500; letter-spacing:0; color:var(--muted); }
.statement-result h3,.credit-case h3 { font-size:30px; line-height:1.2; margin-bottom:20px; }
.statement-result>p,.credit-case>div>p { font-size:14px; }
.case-totals { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; border-block:1px solid var(--line); padding:20px 0; margin:24px 0; }
.case-totals dt { font-size:11px; color:var(--muted); }
.case-totals dd { margin:6px 0 0; font-size:23px; letter-spacing:-.035em; font-weight:650; font-variant-numeric:tabular-nums; }
.case-checks { list-style:none; padding:0; margin:24px 0; }
.case-checks li { display:flex; align-items:start; gap:10px; margin-bottom:12px; color:var(--muted); font-size:13px; }
.case-checks .icon { width:17px; height:17px; margin-top:2px; color:var(--green); }
.case-downloads { display:flex; flex-wrap:wrap; gap:10px; margin:18px 0; }
.case-caption,.statement-result>p.case-caption,.credit-case p.case-caption { font-size:11px; color:var(--muted); line-height:1.7; margin:16px 0 0; }
.credit-case { display:grid; grid-template-columns:.78fr 1.22fr; gap:45px; margin-top:24px; padding:36px; border:1px solid var(--line); border-radius:18px; background:white; align-items:center; }
.credit-case>div { min-width:0; }
.credit-case h3 { font-size:26px; }
.credit-case .case-format { margin-bottom:18px; }
.card-result-total strong { color:var(--ink); font-size:20px; margin-left:12px; }
.result-file-label { display:flex; align-items:center; gap:10px; font-size:11px; color:var(--muted); margin:0 0 16px; overflow-wrap:anywhere; }
.case-table { border:1px solid var(--line); border-radius:10px; background:white; }
.case-table th,.case-table td { font-size:11px; padding:13px 12px; }
.case-table th { white-space:nowrap; }
.case-table td:first-child,.case-table td.number { white-space:nowrap; }
.case-table td:nth-child(2) { min-width:145px; }
.case-scope { display:flex; gap:12px; align-items:start; margin-top:22px; }
.case-scope .icon { color:var(--muted); width:18px; height:18px; margin-top:3px; }
.case-scope p { font-size:12px; max-width:950px; margin:0; }
.case-dialog { max-width:1000px; }
.case-dialog .dialog-content { padding:36px; }
.case-dialog .case-table td:nth-child(2) { min-width:180px; }
.case-file-columns { display:grid; grid-template-columns:1fr 1fr; gap:24px; margin:28px 0; padding:22px; background:var(--paper); border:1px solid var(--line); border-radius:12px; }
.case-file-columns>section { min-width:0; }
.case-file-columns .case-downloads { margin:14px 0; }
.case-file-columns .hint { margin-bottom:0; line-height:1.7; }
.case-pdf-link { display:flex; align-items:center; gap:8px; font-size:12px; }
.case-pdf-link .icon { width:17px; height:17px; }
.case-subheading { font-size:18px; margin:26px 0 14px; }
.case-result-note { background:var(--mint); padding:18px 20px; border-radius:10px; margin:20px 0; }
.case-result-note strong { font-size:14px; }
.case-result-note p { font-size:12px; margin:6px 0 0; }
.recorded-result { padding:24px 0 12px; }
.recorded-result h3 { font-size:20px; margin:12px 0; }
.recorded-result p { font-size:13px; }
.case-settings,.case-file-details { border-top:1px solid var(--line); padding:16px 0; }
.case-settings summary,.case-file-details summary { cursor:pointer; font-size:13px; font-weight:600; }
.case-file-details summary>span { display:block; font-size:10px; color:var(--muted); font-weight:400; margin:6px 0 0 22px; overflow-wrap:anywhere; }
.case-file-details .icon { width:17px; height:17px; margin-right:5px; }
.case-file-details pre { background:#f4f7f5; border:1px solid var(--line); border-radius:8px; font:11px/1.8 ui-monospace,Consolas,monospace; padding:16px; max-height:320px; overflow:auto; white-space:pre; }
.case-settings dl { display:grid; grid-template-columns:155px 1fr; gap:10px 16px; font-size:12px; margin-top:20px; }
.case-settings dt { color:var(--muted); }
.case-settings dd { margin:0; }
.case-settings p { font-size:12px; }
.case-test-context { font-size:11px; color:var(--muted); line-height:1.7; border-top:1px solid var(--line); padding-top:20px; margin:8px 0 0; }
@media(max-width:1000px) {
  .statement-result { padding:28px; }
  .statement-result h3 { font-size:26px; }
  .case-totals dd { font-size:20px; }
  .credit-case { grid-template-columns:1fr; gap:24px; }
  .credit-case h3 br { display:none; }
}
@media(max-width:760px) {
  .statement-case { grid-template-columns:1fr; }
  .statement-reference { border-right:0; border-bottom:1px solid var(--line); padding:20px; }
  .statement-image-link { max-width:340px; }
  .statement-result { padding:24px; }
  .statement-result h3 { font-size:27px; }
  .statement-result h3 br { display:none; }
  .credit-case { padding:24px; }
  .case-format { font-size:9px; }
  .case-totals { gap:6px; }
  .case-totals dd { font-size:20px; }
  .case-dialog .dialog-content { padding:28px 20px; }
  .case-file-columns { grid-template-columns:1fr; padding:18px; gap:24px; }
  .case-settings dl { grid-template-columns:1fr; gap:5px; }
  .case-settings dd { margin-bottom:12px; }
  .case-test-context { font-size:11px; }
}
@media(max-width:400px) {
  .statement-result,.credit-case { padding:20px; }
  .case-totals dd { font-size:18px; }
  .case-totals dt { font-size:10px; }
  .case-downloads .button { padding:10px 12px; font-size:11px; }
  .statement-result>.button,.credit-case .button { width:100%; justify-content:center; font-size:12px; }
}
