/* RL Method Tracker. Colours come from a merge view: grey for code that never landed,
   green for code on a main branch, red for code that was removed again. */
:root {
  --bg: #F5F6F8;
  --surface: #FFFFFF;
  --ink: #16181D;
  --muted: #5B6270;
  --rule: #D9DDE3;
  --dot: #CDD2D9;
  --lit: #128A43;
  --on-lit: #FFFFFF;
  --wash: #E3F4E8;
  --red: #C4322B;
  --shadow: 0 8px 28px rgba(22, 24, 29, .12);

  --display: "Big Shoulders Display", "Big Shoulders", "Arial Narrow", Impact, sans-serif;
  --serif: "Source Serif 4", "Source Serif Pro", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101216;
    --surface: #171A20;
    --ink: #E7E9ED;
    --muted: #9AA1AD;
    --rule: #2A2F38;
    --dot: #343A44;
    --lit: #3CC074;
    --on-lit: #08160E;
    --wash: #122A1C;
    --red: #F0675D;
    --shadow: 0 8px 28px rgba(0, 0, 0, .45);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 18px/1.55 var(--serif);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--rule); }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--lit); outline-offset: 2px; border-radius: 2px; }
button { font: inherit; color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 20; background: var(--ink); color: var(--bg); padding: 8px 12px; font: 500 13px var(--mono); }
.skip:focus { left: 8px; }

/* top bar */
.bar { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--rule); }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 52px; }
.mark { display: inline-flex; align-items: center; gap: 10px; font: 500 14px/1 var(--mono); text-decoration: none; }
.m-dot { fill: var(--dot); }
.m-lit { fill: var(--lit); }
nav { display: flex; gap: 24px; font: 400 13px/1 var(--mono); }
nav a { color: var(--muted); text-decoration: none; padding: 6px 0; }
nav a:hover { color: var(--ink); }

/* hero */
.hero { padding: 72px 0 72px; }
.eyebrow { margin: 0 0 22px; font: 500 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
h1 { margin: 0; font: 800 clamp(42px, 6.4vw, 84px)/.92 var(--display); letter-spacing: -.01em; }
h1 .line { display: block; text-wrap: balance; }
h1 .line.out { color: var(--muted); }
h1 .lit { color: var(--lit); }
.lede { max-width: 62ch; margin: 30px 0 0; font-size: 19px; }
.fws { margin: 14px 0 0; font: 400 13px/1.7 var(--mono); color: var(--muted); }
.fws b { font-weight: 500; color: var(--ink); }

.field-fig { margin: 52px 0 0; }
.field { position: relative; }
#dots { display: block; width: 100%; overflow: visible; touch-action: manipulation; cursor: default; }
#dots .dot { fill: var(--dot); transition: opacity .35s ease-out, fill .6s ease; }
#dots .dot.on { fill: var(--lit); }
#dots .dot.gone { fill: var(--red); }
#dots.pre .dot { opacity: 0; }
#dots.pre-lit .dot.on { fill: var(--dot); }
#dots a:focus { outline: none; }
#dots a:focus-visible .dot { stroke: var(--ink); stroke-width: 2px; }
#dots .ring { fill: none; stroke: var(--ink); stroke-width: 1.5px; pointer-events: none; }
#dots .ax { font: 400 10px var(--mono); fill: var(--muted); }
#dots .ax.yr { font-weight: 500; fill: var(--ink); }
#dots .base { stroke: var(--rule); stroke-width: 1px; }
#dots .colhi { fill: var(--ink); opacity: .05; pointer-events: none; }

.tip {
  position: absolute; z-index: 4; width: min(340px, calc(100% - 8px));
  background: var(--surface); border: 1px solid var(--rule); border-radius: 4px; box-shadow: var(--shadow);
  padding: 10px 12px 11px; font-size: 15px; line-height: 1.35; pointer-events: none;
}
.tip.pinned { pointer-events: auto; }
.tip p { margin: 0; }
.tip .t-meta { font: 400 11px/1.5 var(--mono); color: var(--muted); margin-bottom: 4px; }
.tip .t-title { font-weight: 600; }
.tip .t-in { margin-top: 7px; font: 500 12px/1.45 var(--mono); color: var(--lit); }
.tip .t-gone { margin-top: 3px; font: 400 12px/1.45 var(--mono); color: var(--red); }
.tip .t-in.t-name { color: var(--ink); }
.tip .t-out { margin-top: 7px; font: 400 12px/1.45 var(--mono); color: var(--muted); }
.tip .t-open { display: inline-block; margin-top: 8px; font: 500 12px/1 var(--mono); }

.field-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 10px; font: 400 12px/1.5 var(--mono); color: var(--muted); }
.status { min-height: 1.5em; }
.legend { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
.legend > span { display: inline-flex; align-items: center; gap: 6px; }
.legend > span[hidden] { display: none; }
.key { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--dot); }
.key.on { background: var(--lit); }
.key.gone { background: var(--red); }
.cohort { max-width: 62ch; margin: 28px 0 0; font-size: 17px; color: var(--muted); }
.cohort strong { color: var(--ink); font-weight: 600; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px;
  font: 500 13px/1 var(--mono); text-decoration: none; cursor: pointer;
  border: 1px solid var(--ink); border-radius: 3px; background: transparent; color: var(--ink);
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn.primary { background: var(--ink); color: var(--bg); }
.btn.primary:hover { background: var(--lit); border-color: var(--lit); color: var(--on-lit); }
.btn.small { padding: 9px 12px; font-size: 12px; }

.included { margin-top: 32px; }
.inc-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.inc-table th { text-align: left; font: 500 11px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 0 12px 8px 0; border-bottom: 1px solid var(--ink); }
.inc-table td { padding: 9px 12px 9px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.inc-table td.m { font: 400 12px/1.6 var(--mono); color: var(--muted); white-space: nowrap; }
.inc-table td.f { font: 400 12px/1.6 var(--mono); color: var(--lit); }
.inc-table .gone { display: block; color: var(--red); }
.inc-table .meth { display: block; font: 400 12px/1.5 var(--mono); color: var(--muted); }

/* sections */
.sec { padding: 88px 0; border-top: 1px solid var(--rule); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 20px 48px; align-items: end; margin-bottom: 40px; }
h2 { margin: 0; font: 800 clamp(36px, 4.6vw, 56px)/.95 var(--display); letter-spacing: -.005em; }
.sec-head p { margin: 0; max-width: 60ch; font-size: 17px; color: var(--muted); }

/* failures */
.explorer { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 44px; align-items: start; }
.fail-select { display: none; }
.fail-list { display: flex; flex-direction: column; border-top: 1px solid var(--rule); }
.fail-list button {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px; width: 100%;
  padding: 10px 12px 10px 14px; text-align: left; font-size: 16px; line-height: 1.3; cursor: pointer;
  background: none; border: 0; border-bottom: 1px solid var(--rule); border-left: 3px solid transparent;
}
.fail-list button:hover { background: var(--surface); }
.fail-list button[aria-selected="true"] { border-left-color: var(--lit); background: var(--wash); font-weight: 600; }
.fail-list .n { font: 400 12px/1 var(--mono); color: var(--muted); }
.fail-panel:focus { outline: none; }
.fail-panel h3 { margin: 0; font: 600 26px/1.15 var(--serif); }
.fail-panel .observe { margin: 8px 0 24px; max-width: 64ch; font-style: italic; color: var(--muted); }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.matrix { width: 100%; border-collapse: collapse; font-size: 15px; }
.matrix th, .matrix td { padding: 10px 6px; border-bottom: 1px solid var(--rule); }
.matrix thead th { font: 500 11px/1.2 var(--mono); color: var(--muted); text-align: center; vertical-align: bottom; border-bottom: 1px solid var(--ink); white-space: nowrap; }
.matrix thead th:first-child { text-align: left; }
.matrix tbody th { text-align: left; font-weight: 400; min-width: 200px; padding-right: 16px; }
.matrix td { text-align: center; }
.matrix .mname { font-weight: 600; }
.matrix .mname a { text-decoration: none; }
.matrix .mname a:hover { text-decoration: underline; }
.matrix .mdesc { color: var(--muted); }
.matrix .msrc { display: block; margin-top: 2px; font: 400 11px/1.4 var(--mono); color: var(--muted); }
.matrix .sticky { position: sticky; left: 0; background: var(--bg); z-index: 1; }

.chip { display: inline-block; padding: 5px 7px; border: 1px solid transparent; border-radius: 3px; font: 500 11px/1 var(--mono); white-space: nowrap; text-decoration: none; }
a.chip:hover { border-color: currentColor; }
.t-default { background: var(--lit); color: var(--on-lit); }
a.t-default:hover { border-color: var(--ink); }
.t-conditional_default { border-color: var(--lit); color: var(--lit); }
.t-core { background: var(--wash); color: var(--lit); }
.t-option { border-color: var(--rule); color: var(--ink); }
.t-experimental, .t-recipe { color: var(--muted); }
.t-recipe { border-style: dashed; border-color: var(--rule); }
.t-removed { color: var(--red); text-decoration: line-through; }
.none { color: var(--dot); font: 400 14px/1 var(--mono); }

.tiers { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px 32px; margin: 36px 0 0; padding-top: 20px; border-top: 1px solid var(--rule); font-size: 14px; color: var(--muted); }
.tiers div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.tiers dt { min-width: 0; }
.tiers dd { margin: 0; }

/* landings */
.log { list-style: none; margin: 0; padding: 0; position: relative; }
.log::before { content: ""; position: absolute; left: 5px; top: 27px; bottom: 27px; width: 2px; background: var(--rule); }
.log li {
  position: relative; display: grid; align-items: start; gap: 2px 20px; padding: 14px 0;
  grid-template-columns: 12px 96px 112px minmax(0, 1fr) auto auto; border-bottom: 1px solid var(--rule);
}
.log .node { margin-top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--lit); }
.log time, .log .fw, .log .lag, .log .ref { font: 400 13px/26px var(--mono); }
.log time { color: var(--muted); }
.log .fw { color: var(--lit); font-weight: 500; }
.log .what { font-size: 17px; line-height: 26px; }
.log .lag { color: var(--muted); text-align: right; }
.log .ref { text-align: right; min-width: 92px; }

/* ledger */
.ledger { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 760px; }
.ledger th, .ledger td { padding: 11px 10px; border-bottom: 1px solid var(--rule); text-align: right; white-space: nowrap; }
.ledger thead th { font: 500 11px/1.25 var(--mono); color: var(--muted); vertical-align: bottom; border-bottom: 1px solid var(--ink); white-space: normal; }
.ledger thead tr:first-child th { border-bottom: 1px solid var(--rule); text-align: center; }
.ledger thead tr:first-child th:empty { border-bottom: 0; }
.ledger th:first-child, .ledger td:first-child { text-align: left; padding-left: 0; }
.ledger tbody th { text-align: left; font-weight: 600; padding-left: 0; }
.ledger tbody th a { text-decoration: none; }
.ledger tbody th .guide { display: block; font: 400 11px/1.4 var(--mono); color: var(--muted); text-decoration: underline; text-decoration-color: var(--rule); }
.ledger td { font: 400 14px/1.4 var(--mono); }
.ledger td.big { font-weight: 500; }
.ledger td.dash { color: var(--muted); }
.ledger .grp { border-left: 1px solid var(--rule); }
.note { max-width: 80ch; margin: 18px 0 0; font-size: 14px; color: var(--muted); }

/* report */
.cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 36px 44px; }
.cols .card:first-child { grid-row: span 2; }
.card { border-top: 2px solid var(--ink); padding-top: 18px; min-width: 0; }
.card h3 { margin: 0 0 12px; font: 500 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.card p { margin: 0 0 12px; font-size: 16px; }
.paper-title { font-size: 21px !important; line-height: 1.3; font-weight: 600; }
.card .meta { font: 400 12px/1.5 var(--mono); color: var(--muted); }
.card .links a { display: block; margin-bottom: 4px; }
pre { margin: 0 0 12px; padding: 12px 14px; overflow-x: auto; background: var(--surface); border: 1px solid var(--rule); border-radius: 4px; font: 400 12.5px/1.65 var(--mono); }
pre code { font: inherit; }
.copied { margin-left: 10px; font: 400 12px var(--mono); color: var(--lit); }

/* footer */
.foot { border-top: 1px solid var(--rule); padding: 48px 0 64px; font: 400 12px/1.6 var(--mono); color: var(--muted); }
.snap-head { margin: 0 0 10px; font-weight: 500; color: var(--ink); text-transform: uppercase; letter-spacing: .06em; }
.snap ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 4px 24px; }
.snap li span { color: var(--ink); }
.foot-note { max-width: 80ch; margin: 24px 0 12px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; }

/* narrow screens */
@media (max-width: 900px) {
  .explorer { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .fail-list { display: none; }
  .fail-select { display: flex; flex-direction: column; gap: 6px; font: 500 11px/1.2 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
  .fail-select select { font: 400 17px/1.3 var(--serif); color: var(--ink); background: var(--surface); border: 1px solid var(--rule); border-radius: 4px; padding: 10px 12px; text-transform: none; letter-spacing: 0; }
  .cols { grid-template-columns: minmax(0, 1fr); }
  .cols .card:first-child { grid-row: auto; }
  .sec-head { grid-template-columns: minmax(0, 1fr); }
  .log li { grid-template-columns: 12px 96px minmax(0, 1fr) auto; }
  .log .what { grid-column: 3 / 5; grid-row: 2; }
  .log .lag { grid-column: 3; grid-row: 1; text-align: left; }
  .log .ref { grid-column: 4; grid-row: 1; }
  .log .fw { grid-column: 2; grid-row: 2; }
  .log .node { grid-row: 1 / 3; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  nav { gap: 16px; }
  nav a:not(.gh) { display: none; }
  .hero { padding: 44px 0 56px; }
  .lede { font-size: 17px; }
  .sec { padding: 64px 0; }
  .log li { grid-template-columns: 12px minmax(0, 1fr) auto; gap: 2px 12px; }
  .log time { grid-column: 2; grid-row: 1; }
  .log .ref { grid-column: 3; grid-row: 1; min-width: 0; }
  .log .what { grid-column: 2 / 4; grid-row: 2; }
  .log .fw { grid-column: 2; grid-row: 3; }
  .log .lag { grid-column: 3; grid-row: 3; text-align: right; }
  .log .node { grid-row: 1 / 4; }
  .inc-table thead { display: none; }
  .inc-table tr { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 12px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
  .inc-table td { border: 0; padding: 0; }
  .inc-table td.t { grid-column: 1 / 3; }
  .inc-table td.f { grid-column: 1 / 3; }
  .matrix thead { display: none; }
  .matrix, .matrix tbody { display: block; }
  .matrix tr { display: flex; flex-wrap: wrap; gap: 8px 14px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
  .matrix th, .matrix td { padding: 0; border: 0; }
  .matrix tbody th { flex: 1 0 100%; min-width: 0; padding: 0 0 2px; }
  .matrix .sticky { position: static; }
  .matrix td { display: inline-flex; align-items: center; gap: 6px; }
  .matrix td::before { content: attr(data-fw); font: 400 11px/1 var(--mono); color: var(--muted); }
  .matrix td.empty { display: none; }
}
/* lookup */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.lookup .sec-head code { font: 400 .86em var(--mono); color: var(--ink); background: var(--surface); border: 1px solid var(--rule); border-radius: 3px; padding: 1px 5px; }
.search { position: relative; max-width: 860px; }
.search input {
  width: 100%; padding: 17px 56px 17px 18px; font: 400 20px/1.3 var(--serif); color: var(--ink);
  background: var(--surface); border: 1px solid var(--rule); border-radius: 6px; -webkit-appearance: none; appearance: none;
}
.search input::placeholder { font: 400 15px/1.3 var(--mono); color: var(--muted); }
.search input:focus { outline: none; border-color: var(--lit); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lit) 22%, transparent); }
.search input::-webkit-search-cancel-button { cursor: pointer; }
.search-key { position: absolute; right: 14px; top: 17px; padding: 5px 8px; font: 500 12px/1 var(--mono); color: var(--muted); background: var(--bg); border: 1px solid var(--rule); border-radius: 4px; }
.search input:focus ~ .search-key, .search input:not(:placeholder-shown) ~ .search-key { display: none; }
.results { list-style: none; margin: 8px 0 0; padding: 6px; background: var(--surface); border: 1px solid var(--rule); border-radius: 6px; box-shadow: var(--shadow); }
.results li a { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 2px 14px; padding: 10px 12px; border-radius: 4px; text-decoration: none; }
.results li a:hover, .results li[aria-selected="true"] a { background: var(--wash); }
.r-kind { grid-row: span 2; padding-top: 4px; font: 500 11px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.r-name { font-size: 17px; line-height: 1.35; font-weight: 600; }
.r-name .mdesc { font-weight: 400; color: var(--muted); }
.r-meta { font: 400 12px/1.5 var(--mono); color: var(--muted); }
.r-in { font-weight: 500; color: var(--lit); }
.search-note { min-height: 1.5em; margin: 10px 0 0; font: 400 12px/1.5 var(--mono); color: var(--muted); }

/* method and paper pages */
body:has(dialog.detail[open]) { overflow: hidden; }
.detail {
  width: min(940px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0;
  color: var(--ink); background: var(--bg); border: 1px solid var(--rule); border-radius: 8px; box-shadow: var(--shadow);
}
.detail::backdrop { background: rgba(16, 18, 22, .55); }
.detail-inner { position: relative; max-height: calc(100vh - 50px); overflow: auto; padding: 34px 38px 28px; }
.detail-close {
  position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; font: 400 24px/1 var(--serif); color: var(--ink);
  background: var(--surface); border: 1px solid var(--rule); border-radius: 50%; cursor: pointer;
}
.detail-close:hover { border-color: var(--ink); }
.d-eyebrow { margin: 0 0 8px; font: 500 11px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--lit); }
.detail h2 { margin: 0; padding-right: 48px; font: 800 clamp(32px, 4.2vw, 48px)/1 var(--display); }
.detail h2.d-ptitle { font: 600 26px/1.25 var(--serif); }
.d-desc { margin: 8px 0 0; font-size: 18px; font-style: italic; color: var(--muted); }
.d-src { margin: 14px 0 0; font-size: 16px; }
.d-mono { font: 400 13px/1.5 var(--mono); color: var(--muted); }
.d-fails { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.d-fail { padding: 6px 10px; font: 500 12px/1 var(--mono); color: var(--ink); text-decoration: none; background: var(--surface); border: 1px solid var(--rule); border-radius: 999px; }
.d-fail:hover { color: var(--lit); border-color: var(--lit); }
.d-muted { font-size: 15px; color: var(--muted); }
.d-sum { margin: 20px 0 14px; font-size: 17px; }
.d-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.d-table th, .d-table td { padding: 10px 12px 10px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); }
.d-table thead th { font: 500 11px/1.3 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--ink); }
.d-table tbody th { font-weight: 600; white-space: nowrap; }
.d-table td { font: 400 13px/1.5 var(--mono); }
.d-table code { padding: 2px 5px; font: 400 12px/1.4 var(--mono); word-break: break-all; background: var(--surface); border: 1px solid var(--rule); border-radius: 3px; }
.d-off th, .d-off td { font-weight: 400; color: var(--muted); }
.d-sub { display: block; margin-top: 3px; font: 400 11px/1.4 var(--mono); color: var(--muted); }
.d-note { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.d-status { margin: 20px 0 0; font-size: 18px; }
.d-status.on { font-weight: 600; color: var(--lit); }
.d-status.gone { margin-top: 6px; font-size: 15px; color: var(--red); }
.d-methods { margin: 12px 0 0; padding-left: 20px; }
.d-methods li { margin: 6px 0; font-size: 17px; }
.d-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--rule); }
.d-actions .copied { margin-left: 0; }

@media (max-width: 640px) {
  .search input { font-size: 17px; }
  .results li a { grid-template-columns: minmax(0, 1fr); }
  .r-kind { grid-row: auto; padding-top: 0; }
  .detail { width: calc(100vw - 16px); max-height: calc(100vh - 16px); }
  .detail-inner { max-height: calc(100vh - 18px); padding: 26px 18px 20px; }
  .d-table thead { display: none; }
  .d-table, .d-table tbody { display: block; }
  .d-table tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
  .d-table th, .d-table td { padding: 0; border: 0; }
  .d-table tbody th { grid-column: 1 / 3; }
  .d-table td::before { content: attr(data-h); display: block; font: 400 10px/1.5 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
  .d-off td { grid-column: 1 / 3; }
  .d-off td::before { content: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  #dots .dot { transition: none; }
}
