/* ============================================================
   Options Odyssey — course design system
   Light/dark theming via CSS custom properties.
   Palette follows the validated dataviz reference palette.
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  color-scheme: light;
  /* surfaces & ink */
  --bg: #f9f9f7;
  --surface: #fcfcfb;
  --surface-2: #f0efec;
  --ink: #0b0b0b;
  --ink-2: #52514e;
  --muted: #898781;
  --grid: #e1e0d9;
  --axis: #c3c2b7;
  --border: rgba(11, 11, 11, 0.10);
  /* categorical series (fixed order — never re-assign) */
  --s1: #2a78d6;  /* blue    */
  --s2: #1baf7a;  /* aqua    */
  --s3: #eda100;  /* yellow  */
  --s4: #008300;  /* green   */
  --s5: #4a3aa7;  /* violet  */
  --s6: #e34948;  /* red     */
  --s7: #e87ba4;  /* magenta */
  --s8: #eb6834;  /* orange  */
  /* semantic */
  --accent: #2a78d6;
  --accent-ink: #ffffff;
  --up: #006300;        /* success text */
  --down: #d03b3b;      /* critical */
  --profit: #2a78d6;    /* diverging cool pole (P&L above zero) */
  --loss: #d03b3b;      /* diverging warm pole (P&L below zero) */
  --warn-bg: #fdf3dd;
  --good-bg: #e7f4e7;
  --story-bg: #eef3fb;
  --pro-bg: #f1effa;
  --shadow: 0 1px 2px rgba(11,11,11,.05), 0 4px 16px rgba(11,11,11,.06);
  --radius: 12px;
  --radius-sm: 8px;
  --font: system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "Cascadia Code", Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root:where(:not([data-theme="light"])) {
    color-scheme: dark;
    --bg: #0d0d0d;
    --surface: #1a1a19;
    --surface-2: #242423;
    --ink: #ffffff;
    --ink-2: #c3c2b7;
    --muted: #898781;
    --grid: #2c2c2a;
    --axis: #383835;
    --border: rgba(255, 255, 255, 0.10);
    --s1: #3987e5;
    --s2: #199e70;
    --s3: #c98500;
    --s4: #008300;
    --s5: #9085e9;
    --s6: #e66767;
    --s7: #d55181;
    --s8: #d95926;
    --accent: #3987e5;
    --up: #0ca30c;
    --down: #d03b3b;
    --profit: #3987e5;
    --loss: #e66767;
    --warn-bg: #2c2415;
    --good-bg: #16251a;
    --story-bg: #16202e;
    --pro-bg: #201d33;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 4px 16px rgba(0,0,0,.35);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0d0d0d;
  --surface: #1a1a19;
  --surface-2: #242423;
  --ink: #ffffff;
  --ink-2: #c3c2b7;
  --muted: #898781;
  --grid: #2c2c2a;
  --axis: #383835;
  --border: rgba(255, 255, 255, 0.10);
  --s1: #3987e5;
  --s2: #199e70;
  --s3: #c98500;
  --s4: #008300;
  --s5: #9085e9;
  --s6: #e66767;
  --s7: #d55181;
  --s8: #d95926;
  --accent: #3987e5;
  --up: #0ca30c;
  --down: #d03b3b;
  --profit: #3987e5;
  --loss: #e66767;
  --warn-bg: #2c2415;
  --good-bg: #16251a;
  --story-bg: #16202e;
  --pro-bg: #201d33;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 4px 16px rgba(0,0,0,.35);
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}
img, svg, canvas { max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
::selection { background: color-mix(in srgb, var(--accent) 25%, transparent); }

.wrap { max-width: 860px; margin: 0 auto; padding: 0 20px; }
.wrap-wide { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner {
  max-width: 1080px; margin: 0 auto; padding: 10px 20px;
  display: flex; align-items: center; gap: 14px;
}
.topbar .brand {
  font-weight: 700; font-size: 15px; color: var(--ink);
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
}
.topbar .brand:hover { text-decoration: none; opacity: .85; }
.topbar .brand .logo {
  width: 22px; height: 22px; border-radius: 6px; background: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 13px; font-weight: 800;
}
.topbar .crumb { font-size: 13.5px; color: var(--muted); min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar .crumb b { color: var(--ink-2); font-weight: 600; }
.topbar .spacer { flex: 1; }
.topbar .session-progress { font-size: 12.5px; color: var(--muted); white-space: nowrap; }

.icon-btn {
  border: 1px solid var(--border); background: var(--surface); color: var(--ink-2);
  width: 32px; height: 32px; border-radius: 8px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; font-size: 15px;
}
.icon-btn:hover { background: var(--surface-2); }

/* ---------- session layout ---------- */
.session-main { padding: 34px 0 90px; }
.session-head { margin-bottom: 8px; }
.session-head .kicker {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 13px; font-weight: 600; color: var(--muted);
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px;
}
.module-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700;
  letter-spacing: .02em; color: var(--accent-ink); background: var(--mchip, var(--accent));
}
.mins-chip { color: var(--muted); font-weight: 600; text-transform: none; letter-spacing: 0; }
h1 { font-size: 34px; line-height: 1.2; margin: 6px 0 10px; letter-spacing: -0.015em; }
.lede { font-size: 19.5px; line-height: 1.55; color: var(--ink-2); margin: 0 0 26px; }

h2 { font-size: 24px; margin: 46px 0 12px; letter-spacing: -0.01em; }
h3 { font-size: 19px; margin: 32px 0 8px; }
p { margin: 0 0 16px; }
ul, ol { margin: 0 0 16px; padding-left: 26px; }
li { margin-bottom: 6px; }
strong { font-weight: 650; }
hr { border: 0; border-top: 1px solid var(--border); margin: 40px 0; }

/* term links to glossary */
a.term { color: var(--ink); border-bottom: 1.5px dotted var(--accent); font-weight: 550; }
a.term:hover { text-decoration: none; background: color-mix(in srgb, var(--accent) 12%, transparent); }

code { font-family: var(--mono); font-size: .88em; background: var(--surface-2);
  padding: 2px 6px; border-radius: 5px; }

table { border-collapse: collapse; width: 100%; margin: 0 0 18px; font-size: 15px; }
th { text-align: left; font-weight: 650; color: var(--ink-2); font-size: 13.5px;
  text-transform: uppercase; letter-spacing: .04em; }
th, td { padding: 8px 12px; border-bottom: 1px solid var(--grid); }
td { font-variant-numeric: tabular-nums; }
tr:hover td { background: color-mix(in srgb, var(--surface-2) 55%, transparent); }

/* ---------- callouts ---------- */
.callout {
  border-radius: var(--radius); padding: 16px 18px 14px; margin: 22px 0;
  border: 1px solid var(--border); background: var(--surface);
}
.callout .co-label {
  display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 750;
  text-transform: uppercase; letter-spacing: .07em; margin-bottom: 8px; color: var(--ink-2);
}
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.callout.key   { background: var(--good-bg);  }
.callout.key .co-label { color: var(--up); }
.callout.warn  { background: var(--warn-bg);  }
.callout.warn .co-label { color: var(--s8); }
.callout.story { background: var(--story-bg); }
.callout.story .co-label { color: var(--accent); }
.callout.pro   { background: var(--pro-bg);   }
.callout.pro .co-label { color: var(--s5); }
.callout.note .co-label { color: var(--muted); }

/* formula block */
.formula {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px 20px; margin: 20px 0; text-align: center;
  font-size: 19px; overflow-x: auto;
}
.formula .fx { font-family: var(--font); font-style: italic; letter-spacing: .01em; white-space: nowrap; }
.formula .fx b { font-style: normal; }
.formula .legend { font-size: 13.5px; color: var(--muted); font-style: normal;
  margin-top: 10px; text-align: center; line-height: 1.6; }
sub, sup { font-size: .68em; }
.frac { display: inline-flex; flex-direction: column; vertical-align: middle;
  text-align: center; margin: 0 3px; line-height: 1.15; font-size: .92em; }
.frac > span:first-child { border-bottom: 1.2px solid currentColor; padding: 0 4px; }
.frac > span:last-child { padding: 0 4px; }

/* ---------- widget frame ---------- */
.ol-widget {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 18px; margin: 26px 0;
}
.ol-widget .w-title { font-size: 15px; font-weight: 700; margin: 0 0 2px; }
.ol-widget .w-sub { font-size: 13.5px; color: var(--muted); margin: 0 0 12px; line-height: 1.5; }
.ol-plot { position: relative; }
.ol-plot svg { display: block; width: 100%; height: auto; }
.ol-plot .tip {
  position: absolute; pointer-events: none; z-index: 5;
  background: var(--ink); color: var(--bg); border-radius: 8px;
  font-size: 12.5px; line-height: 1.45; padding: 7px 10px;
  transform: translate(-50%, calc(-100% - 10px));
  white-space: nowrap; box-shadow: var(--shadow); opacity: 0; transition: opacity .08s;
}
.ol-plot .tip b { font-weight: 700; }

/* controls */
.ol-controls { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px 22px; margin-top: 14px; }
.ol-ctl { font-size: 13px; }
.ol-ctl .ctl-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 2px; }
.ol-ctl label { font-weight: 600; color: var(--ink-2); }
.ol-ctl .val { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--ink); }
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 26px;
  background: transparent; cursor: pointer; margin: 0;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 5px; border-radius: 3px;
  background: linear-gradient(to right, var(--accent) var(--fill, 50%), var(--surface-2) var(--fill, 50%));
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 17px; height: 17px; border-radius: 50%;
  background: var(--accent); border: 2.5px solid var(--surface);
  box-shadow: 0 1px 4px rgba(0,0,0,.25); margin-top: -6px;
}
input[type="range"]::-moz-range-track { height: 5px; border-radius: 3px; background: var(--surface-2); }
input[type="range"]::-moz-range-progress { height: 5px; border-radius: 3px; background: var(--accent); }
input[type="range"]::-moz-range-thumb {
  width: 13px; height: 13px; border-radius: 50%; background: var(--accent);
  border: 2.5px solid var(--surface); box-shadow: 0 1px 4px rgba(0,0,0,.25);
}

/* readout chips */
.ol-readouts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip {
  background: var(--surface-2); border-radius: var(--radius-sm);
  padding: 7px 12px; font-size: 12.5px; color: var(--ink-2);
}
.chip b { display: block; font-size: 15.5px; color: var(--ink);
  font-variant-numeric: tabular-nums; font-weight: 700; margin-top: 1px; }
.chip.pos b { color: var(--profit); }
.chip.neg b { color: var(--loss); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  font: 600 14px/1 var(--font); color: var(--accent-ink); background: var(--accent);
  border: 0; border-radius: 9px; padding: 10px 16px; cursor: pointer;
  transition: filter .12s, transform .05s;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: default; }
.btn.ghost { background: var(--surface-2); color: var(--ink); }
.btn.small { padding: 7px 12px; font-size: 13px; border-radius: 8px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; align-items: center; }

/* segmented control */
.seg { display: inline-flex; background: var(--surface-2); border-radius: 9px; padding: 3px; gap: 2px; }
.seg button {
  border: 0; background: transparent; color: var(--ink-2); font: 600 13px var(--font);
  padding: 6px 12px; border-radius: 7px; cursor: pointer;
}
.seg button.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }

/* legend row */
.ol-legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; font-size: 12.5px; color: var(--ink-2); }
.ol-legend .li { display: inline-flex; align-items: center; gap: 6px; }
.ol-legend .sw { width: 14px; height: 4px; border-radius: 2px; display: inline-block; }
.ol-legend .sw.dot { width: 9px; height: 9px; border-radius: 50%; }

/* ---------- scenario (predict-observe-explain) ---------- */
.ol-scenario .sc-q { font-size: 15.5px; font-weight: 600; margin-bottom: 12px; }
.sc-opts { display: grid; gap: 8px; }
.sc-opt {
  text-align: left; border: 1.5px solid var(--border); background: var(--surface);
  color: var(--ink); border-radius: 10px; padding: 11px 14px; font: 500 14.5px/1.45 var(--font);
  cursor: pointer; transition: border-color .12s, background .12s;
}
.sc-opt:hover { border-color: var(--accent); }
.sc-opt.picked { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, var(--surface)); }
.sc-opt.correct { border-color: var(--up); background: var(--good-bg); }
.sc-opt.incorrect { border-color: var(--loss); opacity: .8; }
.sc-opt:disabled { cursor: default; }
.sc-reveal { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--grid);
  font-size: 14.5px; }
.sc-reveal .verdict { font-weight: 700; margin-bottom: 6px; }
.sc-reveal .verdict.good { color: var(--up); }
.sc-reveal .verdict.miss { color: var(--s8); }

/* ---------- quiz ---------- */
.ol-quiz { border: 1.5px solid var(--border); }
.quiz-head { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.quiz-head .q-icon {
  width: 34px; height: 34px; border-radius: 10px; background: var(--accent);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 800;
}
.quiz-dots { display: flex; gap: 6px; margin: 12px 0 16px; }
.quiz-dots .qd { width: 22px; height: 6px; border-radius: 3px; background: var(--surface-2); }
.quiz-dots .qd.cur { background: var(--accent); }
.quiz-dots .qd.ok { background: var(--up); }
.quiz-dots .qd.bad { background: var(--loss); }
.quiz-q { font-size: 16.5px; font-weight: 600; line-height: 1.5; margin-bottom: 14px; }
.quiz-note { font-size: 12.5px; color: var(--muted); margin-top: 10px; }
.quiz-input { display: flex; gap: 8px; align-items: center; }
.quiz-input input[type="text"] {
  font: 600 16px var(--mono); color: var(--ink); background: var(--surface);
  border: 1.5px solid var(--border); border-radius: 9px; padding: 10px 12px; width: 150px;
}
.quiz-input input:focus { outline: 2px solid var(--accent); border-color: transparent; }
.quiz-explain {
  margin-top: 14px; border-radius: 10px; padding: 12px 14px; font-size: 14.5px;
  background: var(--surface-2); line-height: 1.55;
}
.quiz-explain .qe-head { font-weight: 750; margin-bottom: 4px; }
.quiz-explain.right { background: var(--good-bg); }
.quiz-explain.right .qe-head { color: var(--up); }
.quiz-explain.wrong { background: var(--warn-bg); }
.quiz-explain.wrong .qe-head { color: var(--s8); }
.quiz-result { text-align: center; padding: 18px 8px 8px; }
.quiz-result .score-ring { margin: 0 auto 12px; width: 110px; height: 110px; position: relative; }
.quiz-result .score-ring svg { transform: rotate(-90deg); }
.quiz-result .score-num {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; font-weight: 800; font-size: 26px;
}
.quiz-result .score-num small { font-size: 12px; color: var(--muted); font-weight: 600; }
.quiz-result h3 { margin: 4px 0 6px; }
.quiz-result p { color: var(--ink-2); font-size: 14.5px; }
.tag-break { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 12px 0; }

/* confetti burst (pass) */
@keyframes ol-pop {
  0% { transform: translate(0,0) scale(1); opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) scale(.3); opacity: 0; }
}
.confetti { position: absolute; width: 8px; height: 8px; border-radius: 2px;
  animation: ol-pop .9s ease-out forwards; pointer-events: none; }

/* ---------- recap / connections / next ---------- */
.recap-list { list-style: none; padding: 0; }
.recap-list li { display: flex; gap: 10px; margin-bottom: 9px; align-items: flex-start; }
.recap-list li::before {
  content: "✓"; flex: 0 0 auto; width: 21px; height: 21px; margin-top: 2px;
  border-radius: 50%; background: var(--good-bg); color: var(--up);
  font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center;
}
.connections { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 6px; }
.conn-chip {
  display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600;
  color: var(--ink-2); background: var(--surface); border: 1px solid var(--border);
  border-radius: 999px; padding: 6px 13px;
}
.conn-chip:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }

.session-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 50px; }
.nav-card {
  border: 1px solid var(--border); background: var(--surface); border-radius: var(--radius);
  padding: 14px 16px; display: block;
}
.nav-card:hover { border-color: var(--accent); text-decoration: none; }
.nav-card .dir { font-size: 12px; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: .06em; }
.nav-card .t { font-size: 15px; font-weight: 650; color: var(--ink); margin-top: 3px; }
.nav-card.next { text-align: right; }
.nav-card.done-cta { grid-column: 1 / -1; text-align: center; background: var(--good-bg); }

/* ---------- index / course map ---------- */
.hero { padding: 64px 0 30px; text-align: center; }
.hero h1 { font-size: 46px; margin: 14px 0 12px; }
.hero .lede { max-width: 640px; margin: 0 auto 22px; }
.hero-stats { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.stat-tile {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 12px 20px; min-width: 118px;
}
.stat-tile .label { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.stat-tile .value { font-size: 24px; font-weight: 750; margin-top: 2px; }
.stat-tile .sub { font-size: 12px; color: var(--muted); }

.course-progress-bar { height: 8px; border-radius: 4px; background: var(--surface-2);
  overflow: hidden; margin: 8px 0 4px; }
.course-progress-bar > div { height: 100%; border-radius: 4px; background: var(--accent);
  transition: width .4s ease; }

.module-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  padding: 20px 22px; margin-bottom: 16px; box-shadow: var(--shadow);
}
.module-card .m-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.module-card .m-num {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px; color: #fff; background: var(--mcol, var(--accent));
}
.module-card .m-title { font-size: 19px; font-weight: 700; }
.module-card .m-sub { font-size: 13.5px; color: var(--muted); margin-top: 1px; }
.module-card .m-progress { margin-left: auto; font-size: 12.5px; color: var(--muted);
  font-weight: 600; white-space: nowrap; }
.session-list { list-style: none; margin: 14px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; }
.session-item a {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px;
  border-radius: 10px; border: 1px solid transparent; color: var(--ink);
}
.session-item a:hover { background: var(--surface-2); text-decoration: none; }
.session-item .s-dot {
  flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--axis); display: inline-flex; align-items: center;
  justify-content: center; font-size: 11px; font-weight: 800; color: transparent;
}
.session-item.visited .s-dot { border-color: var(--accent); }
.session-item.passed .s-dot { border-color: var(--up); background: var(--up); color: #fff; }
.session-item .s-name { font-size: 14px; font-weight: 550; line-height: 1.3; }
.session-item .s-mins { margin-left: auto; font-size: 11.5px; color: var(--muted);
  font-variant-numeric: tabular-nums; }

/* ---------- glossary ---------- */
.gloss-item { padding: 14px 0; border-bottom: 1px solid var(--grid); }
.gloss-item dt { font-weight: 700; font-size: 16.5px; }
.gloss-item dt .pro-tag { font-size: 11px; font-weight: 700; color: var(--s5);
  background: var(--pro-bg); border-radius: 5px; padding: 2px 7px; vertical-align: 2px; margin-left: 6px; }
.gloss-item dd { margin: 5px 0 0; color: var(--ink-2); font-size: 15px; }
.gloss-item dd .also { font-size: 13px; color: var(--muted); display: block; margin-top: 4px; }
.gloss-item:target { background: var(--story-bg); border-radius: 10px; padding: 14px; margin: 0 -14px; }
.alpha-nav { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0;
  position: sticky; top: 54px; background: var(--bg); padding: 8px 0; z-index: 10; }
.alpha-nav a { font-weight: 700; font-size: 13px; padding: 4px 9px; border-radius: 7px;
  background: var(--surface); border: 1px solid var(--border); }

/* ---------- misc ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 720px) {
  .grid-2 { grid-template-columns: 1fr; }
  h1 { font-size: 28px; }
  .hero h1 { font-size: 32px; }
  body { font-size: 16px; }
}
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 13.5px; }
.tnum { font-variant-numeric: tabular-nums; }
.footer-note { margin-top: 60px; padding: 26px 0 40px; border-top: 1px solid var(--border);
  color: var(--muted); font-size: 13.5px; text-align: center; }

@media print {
  .topbar, .session-nav, .ol-controls, .btn, .btn-row { display: none !important; }
  body { background: #fff; color: #000; }
  .ol-widget { box-shadow: none; }
}
