/* ICE design system, applied site-wide (loaded after each page's own styles).
   ice-red #aa0101, ice-white #fff, ice-black #000; Cambria Math; radius-md 5px; shadow-sm 0 1px 10px 3px rgba(0,0,0,.2) */
@font-face{font-family:"Cambria Math";src:url(/assets/fonts/cambria-math.woff2) format("woff2");font-weight:400;font-display:swap}
html:root{
  --ice-red:#aa0101;--ice-white:#ffffff;--ice-black:#000000;--radius-md:5px;--shadow-sm:0 1px 10px 3px rgba(0,0,0,.2);
  --paper:#ffffff;--sheet:#ffffff;--ink:#000000;--muted:rgba(0,0,0,.64);--rule:rgba(0,0,0,.12);--rule-2:rgba(0,0,0,.24);
  --accent:#aa0101;--accent-ink:#ffffff;--accent-soft:rgba(170,1,1,.07);
  --ok:#1d6b34;--ok-soft:#e5f2e8;--bad:#c4161c;--bad-soft:#fbe7e7;
  --f-display:"Cambria Math",Cambria,Georgia,serif;--f-body:"Cambria Math",Cambria,Georgia,serif;--f-mono:"Cambria Math",Cambria,Georgia,serif;
}
body{background:#fff;font-family:var(--f-body)}
h1,h2,h3,.sec{font-family:var(--f-display)!important;font-weight:700!important;letter-spacing:-.005em}
h1 small,header small{color:var(--ice-red);font-weight:700}
.brand{font-family:var(--f-display);font-weight:700;letter-spacing:.02em}
/* boxes */
.q,.score,.setup,.panel,.paywall,.card,.pcard,.feat,.kpi,#filt,#stats,#timer,.stcard{border-radius:var(--radius-md)!important}
.q,.score,.setup,.panel,.card,.pcard,.feat,.kpi,#filt,#stats,#timer{border:0!important;box-shadow:var(--shadow-sm);background:#fff}
.card,.pcard,.feat{border-top:0}
.feat{border-top:4px solid var(--ice-red)!important}
.course,.badge{background:var(--ice-red)!important;color:#fff!important;border-radius:var(--radius-md);border-color:var(--ice-red)!important}
.lockb{background:#000;color:#fff;border-radius:var(--radius-md)}
.fill{background:var(--ice-red)}
/* answer options: black for "selected", red/green reserved for marking */
.opt{border-radius:var(--radius-md)}
.opt.sel{border-color:#000;background:rgba(0,0,0,.04)}
.opt.sel .let{background:#000;border-color:#000;color:#fff}
.opt:has(input:focus-visible){outline-color:#000}
button,.btn,.check,.nextq{border-radius:var(--radius-md)}
.bar-bottom{box-shadow:0 -1px 10px 3px rgba(0,0,0,.08);border-top:0}
.map a{border-radius:4px}
a{text-underline-offset:2px}
:is(.score,#filt,#stats,#timer,.q,.setup,.card,.pcard) .panel{box-shadow:none!important;background:transparent!important;border:0!important}
@media (min-width:861px){aside{padding:10px 10px 4px;margin:-10px -10px 0}}
aside > .panel{padding:16px}
input[type=checkbox],input[type=radio],progress{accent-color:var(--ice-red)}
/* Question cards: on wide screens keep the stem, options and explanation to ~86% of the card,
   leaving a right-hand margin (the Correct/Incorrect bar follows the same width). */
@media (min-width:900px){.q .stem,.q .opts,.q .labels,.q .verdict,.q .fb{max-width:86%}}
