/* PEAK project page. Read DESIGN.md before changing anything here.
   Every colour is a token on :root; components never use raw hex values. */

:root {
  color-scheme: light;
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "Azeret Mono", Consolas, monospace;

  /* Base: console grey panels */
  --bg: #e7eaed;
  --surface: #ffffff;
  --surface-2: #f1f3f5;
  --ink: #14181b;
  --muted: #4a535b;
  --line: #cfd5da;
  --line-strong: #7a8690;
  --focus: #14181b;

  /* Accent: the IR105 channel colour (set O, the Philippine sun) */
  --accent: #e8a90c;
  --accent-ink: #7a5600;
  --on-accent: #14181b;

  /* The screen (scope): dark in both themes */
  --screen: #050607;
  --screen-fg: #eceae4;
  --screen-muted: #a3abb3;
  --screen-coast: #d8c690;
  --plane-fill: rgb(10 12 14 / 0.82);
  --stack-edge: rgb(236 234 228 / 0.35);

  /* Domains (from the figures style file) */
  --ea: #c8862a;
  --kr: #8f2f24;
  --ea-ink: #8a5a12;
  --kr-ink: #8f2f24;

  /* Placeholder marks */
  --ph-ink: #7a5600;

  --code-bg: #f1f3f5;

  /* Frames present per month: one blue, more frames = more ink; sand only under 90%. Same in both themes. */
  --av-4: #1a6d9e;
  --av-3: #5b9bc8;
  --av-2: #c9d9e3;
  --av-1: #e3b48f;

  /* GK2A channel colours (set O; same in both themes) */
  --ch-ir105: #e8a90c;
  --ch-ir123: #cd2e3a;
  --ch-wv063: #0047a0;
  --ch-wv073: #1f8a5b;

  --r-card: 6px;
  --r-ctl: 4px;
  --page: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0e1113;
    --surface: #171c20;
    --surface-2: #1d2328;
    --ink: #e6e9eb;
    --muted: #9aa4ac;
    --line: #262d33;
    --line-strong: #6a7680;
    --focus: #f0b429;
    --accent: #e8a90c;
    --accent-ink: #f0b429;
    --on-accent: #0e1113;
    --screen: #000000;
    --ea: #c8862a;
    --kr: #c4554a;
    --ea-ink: #f0a35e;
    --kr-ink: #ef8a77;
    --ph-ink: #f0b429;
    --code-bg: #0b0e10;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0e1113;
  --surface: #171c20;
  --surface-2: #1d2328;
  --ink: #e6e9eb;
  --muted: #9aa4ac;
  --line: #262d33;
  --line-strong: #6a7680;
  --focus: #f0b429;
  --accent: #e8a90c;
  --accent-ink: #f0b429;
  --on-accent: #0e1113;
  --screen: #000000;
  --ea: #c8862a;
  --kr: #c4554a;
  --ea-ink: #f0a35e;
  --kr-ink: #ef8a77;
  --ph-ink: #f0b429;
  --code-bg: #0b0e10;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p a, .cap a, footer a { color: var(--accent-ink); text-underline-offset: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.skip { position: absolute; left: 16px; top: -100px; background: var(--surface); color: var(--ink); padding: 10px 16px; border: 1px solid var(--line-strong); z-index: 10; }
.skip:focus { top: 8px; }
.wrap { max-width: var(--page); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

/* ---------- Top bar ---------- */
.topbar { background: var(--surface); border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; gap: 8px; min-height: 56px; }
.wordmark { font: 800 24px/1 var(--display); letter-spacing: .03em; text-decoration: none; margin-right: auto; display: inline-flex; align-items: center; min-height: 44px; }
.topnav { display: flex; }
.topnav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.topnav a:hover { color: var(--ink); }
@media (max-width: 600px) { .topnav .wide { display: none; } }
.theme { display: inline-flex; border: 1px solid var(--line-strong); border-radius: var(--r-ctl); overflow: hidden; }
.theme button { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: transparent; color: var(--muted); cursor: pointer; padding: 0; }
.theme button + button { border-left: 1px solid var(--line-strong); }
.theme button[aria-pressed="true"] { background: var(--ink); color: var(--surface); }
.theme svg { width: 20px; height: 20px; }

/* ---------- Hero ---------- */
.hero { padding: 28px 0 8px; display: grid; gap: 24px; }
@media (min-width: 900px) { .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); align-items: start; gap: 40px; padding-top: 40px; } }
.status { margin: 0 0 12px; font: 700 15px/1.2 var(--display); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.lamp { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); flex: none; }
h1 { margin: 0; font: 800 clamp(64px, 14vw, 120px)/.88 var(--display); letter-spacing: .01em; }
.subtitle { margin: 12px 0 0; font: 600 clamp(19px, 2.6vw, 23px)/1.3 var(--sans); max-width: 34ch; }
.authors { margin: 16px 0 0; font-size: 16px; }
.authors sup { font-size: 11px; color: var(--muted); margin-left: 1px; }
.authors a, .person .where a { display: inline-block; padding-block: 13px; margin-block: -13px; }
.affil { margin: 4px 0 0; font-size: 14px; color: var(--muted); max-width: 60ch; }
.affil span { white-space: nowrap; }
.affil span + span::before { content: " · "; }
.links { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; }
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: var(--r-ctl); border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer; }
.btn svg { width: 20px; height: 20px; flex: none; }
.brand { display: inline-flex; flex: none; }
.brand svg { width: 20px; height: 20px; }
.btn:hover { border-color: var(--ink); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
/* Hero links: drawn 36 px tall, with an invisible 44 px tap area; rows stay 8 px apart so tap areas never overlap */
.links { gap: 8px 6px; }
.links .btn { position: relative; min-height: 36px; padding: 0 10px; gap: 6px; font-size: 14px; }
.links .btn svg { width: 18px; height: 18px; }
.links .btn svg.lock { width: 14px; height: 14px; }
.links .btn::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 44px; transform: translateY(-50%); }
@media (min-width: 1120px) { .links { flex-wrap: nowrap; } }
.btn svg.lock { width: 16px; height: 16px; color: var(--muted); margin-left: -2px; }
.btn.nudge { animation: nudge .32s ease; }
@keyframes nudge { 20% { transform: translateX(-4px); } 40% { transform: translateX(4px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }
@media (prefers-reduced-motion: reduce) { .btn.nudge { animation: none; } }
.btn[aria-disabled="true"] { cursor: default; border-style: dashed; }
.btn[aria-disabled="true"]:hover { border-color: var(--line-strong); }

/* ---------- Scope (small viewer) ---------- */
.scope { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.scope-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px; border-bottom: 1px solid var(--line); }
.seg { display: inline-flex; border: 1px solid var(--line-strong); border-radius: var(--r-ctl); overflow: hidden; }
.seg button { min-height: 44px; min-width: 56px; padding: 0 12px; border: 0; background: transparent; color: var(--muted); font: 600 15px/1 var(--sans); cursor: pointer; }
.seg button + button { border-left: 1px solid var(--line-strong); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--surface); }
.readout { margin-left: auto; font: 500 13px/1.3 var(--mono); font-variant-numeric: tabular-nums; color: var(--muted); }
.screen { background: var(--screen); position: relative; }
.screen img { width: 100%; aspect-ratio: 1 / 1; }
.screen .tag { position: absolute; left: 8px; bottom: 8px; font: 500 12px/1.3 var(--mono); color: var(--screen-fg); background: var(--screen); padding: 3px 6px; }
.scope-foot { padding: 10px 12px 12px; display: grid; gap: 8px; }
.scope-bar .seg { flex: none; }
.scope-foot dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; font-size: 14px; }
.scope-foot dt { color: var(--muted); }
.scope-foot dd { margin: 0; font: 500 13px/1.6 var(--mono); font-variant-numeric: tabular-nums; }
.keys { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; flex: 1 1 100%; }
.keys-role { font: 700 13px/1 var(--display); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 2px 0 4px; }
.keys-role:first-child { margin-left: 0; }
.key { min-height: 44px; min-width: 44px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--r-ctl); background: transparent; color: var(--ink); font: 600 15px/1 var(--sans); cursor: pointer; }
.key[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.timebar { display: flex; align-items: center; gap: 12px; padding: 8px 12px 0; }
.timebar[hidden] { display: none; }
.play { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: var(--r-ctl); background: transparent; color: var(--ink); cursor: pointer; }
.play svg { width: 20px; height: 20px; }
input[type="range"] { flex: 1; min-width: 0; height: 44px; margin: 0; accent-color: var(--ink); cursor: pointer; }
.legend { display: grid; gap: 2px; }
.ramp { display: flex; height: 12px; }
.ramp i { flex: 1; }
.ticks { position: relative; height: 16px; font: 500 11px/1.5 var(--mono); color: var(--muted); }
.ticks span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.ticks span.first { transform: none; }
.ticks span.last { transform: translateX(-100%); }
.key-mark { font: 700 20px/1 var(--sans); }
.legend-cap { margin: 0; font-size: 13px; color: var(--muted); }
.sample { margin: 0; font-size: 13px; color: var(--muted); }
.sample span { font-family: var(--mono); color: var(--ink); overflow-wrap: anywhere; }

/* ---------- Sections ---------- */
main section { padding: 40px 0 0; }
h2 { margin: 0 0 14px; font: 800 26px/1.05 var(--display); text-transform: uppercase; letter-spacing: .04em; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
h3 { margin: 0 0 6px; font: 700 18px/1.3 var(--sans); }
.lede { margin: 0; max-width: 68ch; font-size: 17px; }
.cap { margin: 8px 0 0; font-size: 14px; color: var(--muted); max-width: 80ch; }
.ph { display: inline-block; font-size: 13px; font-weight: 600; color: var(--ph-ink); border: 1px dashed var(--ph-ink); padding: 0 6px; border-radius: 2px; }

.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-ctl); overflow: hidden; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.stat { background: var(--surface); padding: 12px 14px; border-top: 3px solid var(--line-strong); }
.stat b { display: block; font: 800 36px/1 var(--display); font-variant-numeric: tabular-nums lining-nums; }
.stat span { display: block; font-size: 14px; color: var(--muted); margin-top: 6px; }
.stats .stat:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (min-width: 760px) { .stats .stat:last-child:nth-child(odd) { grid-column: auto; } }

.table-scroll { overflow-x: auto; margin: 16px 0 0; border: 1px solid var(--line); border-radius: var(--r-ctl); background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; color: var(--muted); background: var(--surface-2); }
tr:last-child td { border-bottom: 0; }
td.num { font-family: var(--mono); font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }

.domain { display: inline-block; font-size: 12px; font-weight: 700; padding: 0 6px; border-radius: 2px; border: 1px solid currentColor; margin-right: 6px; line-height: 1.6; }
.domain.ea { color: var(--ea-ink); }
.domain.kr { color: var(--kr-ink); }

.task-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .task-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); align-items: start; gap: 24px; } .task-grid .scope { position: sticky; top: 16px; } }
.tasks { display: grid; gap: 8px; }
.task { display: grid; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-ctl); padding: 12px 14px; }
@media (min-width: 820px) { .task { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) auto; align-items: center; gap: 20px; } }
.task-name { font-weight: 700; font-size: 16px; }
.task .id { font: 500 13px/1.3 var(--mono); color: var(--muted); overflow-wrap: anywhere; }
.task .io { font-size: 15px; }
.task .split { font: 500 13px/1.5 var(--mono); font-variant-numeric: tabular-nums; color: var(--muted); }
.task .split b { font-weight: 500; color: var(--ink); }

.people { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.person { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-ctl); padding: 12px 14px; }
.person p { margin: 0; }
.person .who { font-weight: 700; }
.person .where { font-size: 14px; color: var(--muted); }

.bibhead { display: flex; justify-content: space-between; align-items: end; gap: 12px; border-bottom: 1px solid var(--line); margin: 0 0 14px; padding-bottom: 8px; }
.bibhead h2 { border: 0; margin: 0; padding: 0; }
pre.bib { margin: 0; background: var(--code-bg); border: 1px solid var(--line); border-radius: var(--r-ctl); padding: 14px; font: 500 13px/1.6 var(--mono); overflow-x: auto; }
.copied { font-size: 14px; color: var(--muted); min-height: 1.6em; margin: 6px 0 0; }

/* ---------- Hero stack: sources as layers by height ---------- */
.stack-panel { position: relative; }
.stack-view { position: relative; height: clamp(380px, 100vw, 480px); --gap: 28px; outline-offset: 4px; }
.stack-3d { position: absolute; left: 2%; bottom: 12%; width: 44%; aspect-ratio: 1 / 1; transform-style: preserve-3d; transform: rotateX(58deg) rotateZ(-42deg); }
.plane { position: absolute; inset: 0; --lift: 0px; transform: translateZ(calc(var(--i) * var(--gap) + var(--lift))); background: var(--plane-fill); box-shadow: inset 0 0 0 1px var(--stack-edge); transition: transform .3s ease, opacity .2s ease; cursor: pointer; }
.plane[data-active="true"] { box-shadow: inset 0 0 0 2px var(--screen-fg); }
.stack-view[data-has-active="true"] .plane:not([data-active="true"]) { opacity: .5; }
.plane img { width: 100%; height: 100%; display: block; pointer-events: none; }
.plane[data-missing="true"] img { visibility: hidden; }
.stack-label { position: absolute; margin: 0; transform: translateY(-50%); font-size: 13px; line-height: 1.25; color: var(--ink); border-left: 2px solid var(--ink); padding-left: 8px; pointer-events: none; max-width: 30%; }
.stack-label b { display: block; font-weight: 700; }
.stack-label span { color: var(--muted); font-size: 12px; }
.stack-globe { position: absolute; right: 0; top: 4px; width: 36%; margin: 0; pointer-events: none; }
.stack-globe img { width: 100%; height: auto; display: block; border-radius: 50%; box-shadow: 0 0 0 1px var(--stack-edge); }
.stack-globe figcaption { margin-top: 2px; text-align: center; font: 500 11px/1.4 var(--mono); color: var(--muted); }
.stack-hint { position: absolute; right: 0; bottom: 6%; width: 36%; margin: 0; font-size: 13px; color: var(--muted); transition: opacity .2s ease; }
.stack-view[data-has-active="true"] .stack-hint { opacity: 0; }
.stack-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.stack-bar .readout { margin-left: 4px; white-space: nowrap; }
@media (max-width: 600px) { .stack-3d { left: 9%; width: 40%; } }
@media (prefers-reduced-motion: reduce) { .plane, .stack-hint { transition: none; } }
.source-group + .source-group { margin-top: 24px; }
.source-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; font: 700 16px/1.4 var(--sans); }
.source-hint { margin: 0 0 16px; }
.source-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 600px) { .source-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 760px) { .source-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 900px) { .source-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.source-tile { min-width: 0; padding: 0; border: 1px solid var(--line-strong); border-radius: var(--r-card); overflow: hidden; background: var(--surface); color: var(--ink); cursor: pointer; text-align: center; font: 600 14px/1.3 var(--sans); }
.source-tile .screen { display: block; }
.source-name { display: flex; min-height: 44px; align-items: center; justify-content: center; padding: 4px; }
.source-tile[aria-expanded="true"] { border-color: var(--ink); }
.source-tile[aria-expanded="true"] .source-name { background: var(--ink); color: var(--surface); }
.source-detail { margin-top: 12px; }
.source-detail[hidden] { display: none; }
.source-detail .legend { max-width: 520px; }

/* ---------- Task comparison panes: drag to compare two real frames ---------- */
.compare-row { display: grid; gap: 16px; margin: 0 0 12px; }
@media (min-width: 820px) { .compare-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.compare { margin: 0; min-width: 0; }
.cmp-pick { display: flex; gap: 6px; overflow-x: auto; margin: 0 0 8px; scrollbar-width: none; }
.cmp-pick::-webkit-scrollbar { display: none; }
.cmp-pick[hidden] { display: none; }
.cmp-pick .key { flex: none; white-space: nowrap; }
.compare-view { position: relative; aspect-ratio: 1 / 1; background: var(--screen); border-radius: var(--r-ctl); overflow: hidden; user-select: none; }
.compare-view img { position: absolute; inset: 0; width: 100%; height: 100%; }
.compare-view img[hidden] { display: none; }
.cmp-side { position: absolute; inset: 0; background: var(--screen); }
.cmp-a { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.cmp-coast { position: absolute; inset: 0; pointer-events: none; background: var(--screen-coast); opacity: .75; -webkit-mask: url(img/m/coast-kr.svg) center / 100% 100% no-repeat; mask: url(img/m/coast-kr.svg) center / 100% 100% no-repeat; }
.own-coast .cmp-coast { display: none; }
.cmp-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--screen-fg); pointer-events: none; }
.cmp-line::after { content: ""; position: absolute; top: 50%; left: 50%; width: 22px; height: 22px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--screen); box-shadow: inset 0 0 0 2px var(--screen-fg); }
.cmp-tag { position: absolute; top: 8px; font: 500 12px/1.3 var(--mono); color: var(--screen-fg); background: var(--screen); padding: 3px 6px; pointer-events: none; }
.cmp-tag.left { left: 8px; }
.cmp-tag.right { right: 8px; }
.compare-view .cmp-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare-view:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.compare figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }
.compare figcaption b { display: block; color: var(--ink); font-size: 16px; }
.compare figcaption .id { font: 500 13px/1.6 var(--mono); }
.compare-legend[hidden] { display: none; }
.compare-time { margin: 8px 0 0; font: 500 13px/1.6 var(--mono); font-variant-numeric: tabular-nums; color: var(--muted); }
.task-timebar { padding: 0; margin: 8px 0 12px; }
.task-timebar label { font-size: 14px; color: var(--muted); }
.compare-legend { max-width: 520px; margin: 4px 0 20px; }

/* ---------- Channel swatches (table and chart) ---------- */
.chip { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: 0; }
.ch-ir105 { background: var(--ch-ir105); }
.ch-ir123 { background: var(--ch-ir123); }
.ch-wv063 { background: var(--ch-wv063); }
.ch-wv073 { background: var(--ch-wv073); }

/* ---------- Monthly coverage chart ---------- */
h3.sub { margin: 28px 0 10px; font: 700 18px/1.3 var(--sans); }
.coverage { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-ctl); padding: 12px; }
.cov-row { display: grid; grid-template-columns: 170px minmax(0, 1fr); align-items: center; gap: 10px; min-width: 680px; }
.cov-row + .cov-row { margin-top: 3px; }
.cov-row.cov-group { margin-top: 12px; }
.cov-label { font-size: 13px; white-space: nowrap; }
.cov-cells { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 1px; }
.cov-cells i { display: block; height: 18px; }
.cov-cells i:hover { outline: 2px solid var(--ink); outline-offset: -1px; }
.cov-head .cov-cells { gap: 0; }
.cov-year { font: 500 12px/1.3 var(--mono); border-left: 1px solid var(--line-strong); padding: 0 0 4px 4px; }
.cov-year small { display: block; font-family: var(--sans); font-size: 12px; color: var(--muted); }
.lv4 { background: var(--av-4); }
.lv3 { background: var(--av-3); }
.lv2 { background: var(--av-2); }
.lv1 { background: var(--av-1); }
.lv0 { background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.cov-key { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.cov-key i { display: inline-block; width: 14px; height: 14px; margin-right: 4px; vertical-align: -2px; }
.cov-readout { margin: 8px 0 0; min-height: 1.6em; font: 500 13px/1.6 var(--mono); font-variant-numeric: tabular-nums; }

footer { margin: 56px 0 0; border-top: 1px solid var(--line); background: var(--surface); }
footer .wrap { padding-top: 20px; padding-bottom: 28px; font-size: 14px; color: var(--muted); display: grid; gap: 6px; }
footer p { margin: 0; max-width: 90ch; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
