/* Shared stylesheet. Plain CSS, no build step.
   Layout: a publication frame with a product body. A black masthead, hairline-ruled prose and a
   provenance line give it authority; a warm wash, a floating pill and a verdict panel give the top
   of a comparison its life. Below it the page splits in half, one vendor per side with a hairline
   between, each side one column of plan rows cheapest first. One typeface (Libre Franklin) at four
   weights (400, 500, 700, 800), no monospace. One accent (the deep red) for the verdict edge, the
   ticks and links. Gold marks exactly one state, the overall-cheapest row (wash, inset edge, tag).
   A vendor's own colour appears only as the small chip beside its name.
   Without JavaScript every seat size is visible (the build emits all three) and the Light/Dark
   switch is hidden (system setting applies); the `js` class, set in <head> by an inline
   one-liner that also applies the saved theme, is what turns the pill and the switch on. */

:root {
  --paper: #FBFAF7;
  --ink: #15181C;
  --ink-2: #5C6168;
  --ink-3: #666C74;      /* mock had #7E848C: 3.61:1 on paper, 3.38:1 on the tint */
  --rule: #E4E1DB;
  --rule-strong: #C9C5BD;
  --accent: #B3261E;
  --card: #FFFFFF;
  --wash-a: #FFF2E4; --wash-b: #FCF7F2; --wash-c: #EEF5F9;
  --gold: #EFAE16; --gold-ink: #4A3200; --gold-wash: #FFF1CC;
  --on-accent: #FFFFFF;
  --shadow: 0 8px 26px rgba(30, 25, 20, 0.08);
  --bar: #15181C;
  --on-bar: #FBFAF7;
  --sans: "Libre Franklin", -apple-system, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #14161A; --ink: #ECEAE5; --ink-2: #A8ADB4; --ink-3: #878D95;
    --rule: #2A2E34; --rule-strong: #3C424A; --accent: #FF7A6E;
    --card: #1A1E23; --wash-a: #241A12; --wash-b: #1A1816; --wash-c: #141E26;
    --gold: #F2C044; --gold-ink: #251900; --gold-wash: #2B2210; --on-accent: #160B0A;
    --shadow: 0 8px 26px rgba(0, 0, 0, 0.35);
    --bar: #000000; --on-bar: #ECEAE5;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #14161A; --ink: #ECEAE5; --ink-2: #A8ADB4; --ink-3: #878D95;
  --rule: #2A2E34; --rule-strong: #3C424A; --accent: #FF7A6E;
  --card: #1A1E23; --wash-a: #241A12; --wash-b: #1A1816; --wash-c: #141E26;
  --gold: #F2C044; --gold-ink: #251900; --gold-wash: #2B2210; --on-accent: #160B0A;
  --shadow: 0 8px 26px rgba(0, 0, 0, 0.35);
  --bar: #000000; --on-bar: #ECEAE5;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans);
  line-height: 1.5; -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums;
}
h1, h2, h3 { margin: 0; text-wrap: balance; font-weight: 800; letter-spacing: -0.021em; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* masthead: the black bar above every page */
.bar { background: var(--bar); color: var(--on-bar); }
.bar-in {
  max-width: 1060px; margin: 0 auto; padding: 13px 20px; display: flex; flex-wrap: wrap;
  gap: 10px 26px; align-items: center;
}
.bar a { color: inherit; text-decoration: none; }
.bar a:focus-visible { outline-color: var(--on-bar); }
.logo { font-weight: 800; font-size: 1.02rem; letter-spacing: -0.018em; margin-right: auto; }
.bar nav { display: flex; gap: 22px; font-size: 0.84rem; font-weight: 500; }
.bar nav a { opacity: 0.82; padding-block: 4px; }
.bar nav a:hover, .bar nav a[aria-current] { opacity: 1; }
.bar nav a[aria-current] { text-decoration: underline; text-underline-offset: 5px; }
.bar button:focus-visible { outline-color: var(--on-bar); }

/* Light/Dark switch: hidden until JS is present (it needs JS to do anything). The pressed
   button reuses --paper/--ink, which already invert between themes; a 1px ring in --on-bar
   keeps its edge visible on the black dark-theme bar, where --paper alone is 1.1:1 against it. */
.theme { display: none; gap: 2px; }
.js .theme { display: inline-flex; }
.theme button {
  font-family: inherit; font-size: 0.8rem; font-weight: 700; color: var(--on-bar); background: none;
  border: 0; border-radius: 999px; padding: 5px 13px; cursor: pointer;
}
.theme button[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 0 0 1px var(--on-bar); }

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 20px 72px; }

/* breadcrumb row */
.crumb {
  padding-block: 16px 24px; font-size: 0.78rem; color: var(--ink-3); font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.07em;
}
.crumb a { color: inherit; }
.wrap > h1:first-child { margin-top: 44px; }

h1 { font-size: clamp(2rem, 5.4vw, 3.35rem); line-height: 1.04; max-width: 19ch; }
.dek { color: var(--ink-2); font-size: 1.12rem; max-width: 56ch; margin: 16px 0 0; }

/* provenance: the trust line, in place of a byline */
.prov {
  margin: 22px 0 0; padding-top: 15px; border-top: 1px solid var(--rule); display: flex;
  flex-wrap: wrap; gap: 6px 26px; font-size: 0.87rem; color: var(--ink-2);
}
.prov b { color: var(--ink); font-weight: 700; }

/* hero: a warm three-point wash (two radial glows over a linear fade), everything centred */
.hero {
  background:
    radial-gradient(58rem 22rem at 6% 0%, var(--wash-a), transparent 62%),
    radial-gradient(52rem 20rem at 94% 8%, var(--wash-c), transparent 62%),
    linear-gradient(var(--wash-b), var(--paper) 88%);
  border-bottom: 1px solid var(--rule); padding-block: 0 44px;
}
.hero-in { max-width: 1060px; margin: 0 auto; padding-inline: 20px; }
.hero .crumb { padding-block: 16px 26px; }
.mid { text-align: center; }
.hero h1 { margin-inline: auto; }
.sub { margin: 16px auto 0; max-width: 56ch; font-size: 1.06rem; color: var(--ink-2); }
.assure {
  list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap;
  justify-content: center; gap: 11px 32px; font-size: 0.9rem; font-weight: 700;
}
.assure li { display: flex; align-items: center; gap: 8px; }
.tick {
  width: 19px; height: 19px; flex: none; border-radius: 50%; background: var(--accent);
  color: var(--on-accent); font-style: normal; font-size: 0.7rem; font-weight: 800; line-height: 1;
  display: grid; place-items: center;
}
.hero .prov {
  display: block; border-top: 0; margin-top: 14px; padding-top: 0; font-size: 0.86rem;
  color: var(--ink-2);
}
.hero .prov span + span::before { content: " \00b7  "; color: var(--ink-3); }

/* seat-size pill: floating, above the verdict it changes. Hidden until JS is present because
   without JS every size is already on the page */
.switch { display: none; justify-content: center; margin-top: 28px; }
.js .switch { display: flex; }
.pill {
  display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 3px;
  background: var(--card); border: 1px solid var(--rule); border-radius: 999px; padding: 5px;
  box-shadow: var(--shadow);
}
.pill .cap {
  font-size: 0.74rem; font-weight: 700; color: var(--ink-3); padding: 0 11px 0 14px;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.pill button {
  font-family: inherit; font-size: 0.94rem; font-weight: 700; color: var(--ink-2); background: none;
  border: 0; border-radius: 999px; padding: 9px 19px; cursor: pointer;
}
.pill button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

/* verdict: one raised panel with a 3px accent top edge, inside the hero */
.verdict {
  margin-top: 28px; background: var(--card); border: 1px solid var(--rule);
  border-top: 3px solid var(--accent); border-radius: 12px; padding: 22px 26px; display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px 40px; align-items: center;
  box-shadow: var(--shadow); text-align: left;
}
@media (max-width: 680px) { .verdict { grid-template-columns: 1fr; padding: 20px 18px; } }
.verdict-text { min-width: 0; }
.verdict-text p { margin: 0; font-size: 1.08rem; line-height: 1.5; max-width: 56ch; }
.verdict-text p + p { margin-top: 10px; }
.verdict-text strong { font-weight: 700; }
.verdict-text .verdict-tier { font-weight: 700; }
.verdict-text .verdict-note { font-size: 0.9rem; color: var(--ink-2); }
.verdict-text .cite { font-size: 0.84rem; color: var(--ink-2); }
.verdict-fig { min-width: 0; text-align: right; }
@media (max-width: 680px) { .verdict-fig { text-align: left; } }
.verdict-fig .fig + .fig { margin-top: 24px; }
.kicker {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em;
  color: var(--ink-3); display: block; margin-bottom: 5px;
}
.big {
  font-size: clamp(2.3rem, 6vw, 3.1rem); font-weight: 800; line-height: 1;
  letter-spacing: -0.035em; display: block;
}
.big-sub { display: block; margin-top: 7px; font-size: 0.88rem; color: var(--ink-2); }

/* the pill only decides which size is visible */
.js [data-pane] { display: none; }
.js [data-pane].is-active { display: block; }
.pane-label {
  font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink-3); padding: 20px 0 6px;
}
.js .pane-label {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* the split: two equal halves, one vendor per side, a hairline between. Each half is a head
   (name, source), its own cheapest-that-fits figure, then ONE column of plan rows. Below 860px
   the halves stack. Where subgrid is supported the two heads and the two figures share rows, so
   the two headline numbers sit level whatever the names do. */
.split { margin-top: 32px; }
.half { --vc: var(--v-light, var(--ink-3)); min-width: 0; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .half { --vc: var(--v-dark, var(--ink-3)); }
}
:root[data-theme="dark"] .half { --vc: var(--v-dark, var(--ink-3)); }
.half + .half { margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--rule-strong); }
@media (min-width: 860px) {
  .split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .half:first-child { padding-right: 30px; }
  .half + .half { margin-top: 0; padding: 0 0 0 30px; border-top: 0; border-left: 1px solid var(--rule-strong); }
  @supports (grid-template-rows: subgrid) {
    .split { grid-template-rows: auto auto 1fr; }
    .half { display: grid; grid-row: span 3; grid-template-rows: subgrid; }
  }
}
.half-head {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding-bottom: 10px;
  border-bottom: 1px solid var(--rule-strong);
}
.half-head h3 { font-size: 1.22rem; }
.chip {
  width: 12px; height: 12px; border-radius: 3px; background: var(--vc); display: inline-block;
  margin-right: 9px;
}
.half-head .src { font-size: 0.83rem; color: var(--ink-3); margin-left: auto; font-weight: 500; }
.half-head .src a { color: inherit; }
.half-fig { padding: 18px 0 20px; }
.half-fig .big { font-size: clamp(2.1rem, 4.2vw, 2.9rem); }
.half-body { display: flex; flex-direction: column; min-width: 0; }

/* the merged ladder: what a narrow screen gets instead of the stacked split. Side by
   side is the product; stacked, the two figures sit 1,200px apart on a phone and are
   never on screen together, which is no comparison at all. Both views are in the HTML
   and CSS picks between them, so a crawler with no JS still reads every plan once per
   seat size either way. --vc is resolved per row here, not per half, because a single
   column carries rows from both vendors. */
.ladder { margin-top: 32px; }
.ladder-head {
  font-size: 1.02rem; padding-bottom: 10px; border-bottom: 1px solid var(--rule-strong);
}
@media (min-width: 860px) { .ladder { display: none; } }
@media (max-width: 859px) { .split { display: none; } }
.ladder .row { --vc: var(--v-light, var(--ink-3)); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .ladder .row { --vc: var(--v-dark, var(--ink-3)); }
}
:root[data-theme="dark"] .ladder .row { --vc: var(--v-dark, var(--ink-3)); }
.vlabel {
  display: flex; align-items: center; font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.01em; color: var(--vc); margin-bottom: 2px;
}
.vlabel .chip { margin-right: 7px; flex: none; }

.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; padding: 16px 16px 14px;
  border-bottom: 1px solid var(--rule);
}
.row > .facts, .row > .reason, .row > .stamp { grid-column: 1 / -1; }
.row-id { min-width: 0; }
.row-fig { text-align: right; }
.row.pick { background: var(--gold-wash); box-shadow: inset 4px 0 0 var(--gold); }
.row.off .pname { color: var(--ink-2); }
.tag {
  display: inline-block; margin-bottom: 7px; font-size: 0.66rem; font-weight: 800;
  letter-spacing: 0.05em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px;
}
.tag-overall { background: var(--gold); color: var(--gold-ink); }
.tag-here { color: var(--ink); border: 1.5px solid var(--ink-3); padding: 1.5px 8.5px; }
.pname { font-size: 1.08rem; font-weight: 800; letter-spacing: -0.015em; }
.pwas { font-size: 0.78rem; color: var(--ink-3); font-weight: 500; margin-top: 2px; }
.rate { margin-top: 4px; font-size: 0.9rem; font-weight: 700; color: var(--ink-2); }
.amount { display: flex; justify-content: flex-end; align-items: baseline; gap: 2px; }
.amount .cur { font-size: 1rem; font-weight: 700; color: var(--ink-2); }
.amount .n { font-size: 1.9rem; font-weight: 800; line-height: 1.1; letter-spacing: -0.04em; }
.row.off .amount .n { font-size: 1.5rem; color: var(--ink-3); }
.when { font-size: 0.8rem; color: var(--ink-2); font-weight: 500; white-space: nowrap; }
.facts { list-style: none; margin: 10px 0 0; padding: 0; font-size: 0.85rem; color: var(--ink-2); }
.facts li { display: flex; gap: 8px; margin-bottom: 6px; line-height: 1.45; }
.facts li span { min-width: 0; overflow-wrap: anywhere; }
.facts li::before { content: "\2713"; color: var(--accent); font-weight: 800; flex: none; font-size: 0.8rem; line-height: 1.6; }
.facts li.plain::before { content: "\00b7"; color: var(--ink-3); }
.reason { margin-top: 10px; font-size: 0.87rem; color: var(--ink-2); font-weight: 500; }
.reason + .facts { margin-top: 10px; }
.stamp { padding-top: 6px; font-size: 0.78rem; color: var(--ink-3); overflow-wrap: anywhere; }
.stamp a { color: inherit; }
.short {
  flex: 1; margin: 0; padding: 16px 16px 18px; font-size: 0.88rem; color: var(--ink-2);
  border-left: 2px dashed var(--rule-strong);
}

.method { margin: 34px 0 0; font-size: 0.87rem; color: var(--ink-2); max-width: 80ch; }

/* prose: a hairline above each heading, nothing boxed */
.below {
  margin-top: 64px; display: grid; gap: 36px 48px;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); align-items: start;
}
.below section, .below .related { min-width: 0; border-top: 1px solid var(--rule-strong); padding-top: 14px; }
.below .stack { min-width: 0; }
.below .stack > section + section { margin-top: 36px; }
.below h3 { font-size: 1.06rem; margin-bottom: 9px; }
.below p { margin: 0 0 10px; font-size: 0.93rem; color: var(--ink-2); }
.below strong, .below b { color: var(--ink); font-weight: 700; }
.below ul { margin: 0 0 10px; padding-left: 1.05em; font-size: 0.9rem; color: var(--ink-2); }
.below li { margin-bottom: 6px; }
.below .source-list { list-style: none; padding: 0; font-size: 0.87rem; }
.below .source-list li { margin-bottom: 9px; overflow-wrap: anywhere; }
.below section > :last-child, .below .related > :last-child { margin-bottom: 0; }
.note { font-size: 0.88rem; }

/* method page: one reading column */
.prose { margin-top: 40px; max-width: 68ch; }
.prose section { border-top: 1px solid var(--rule-strong); padding-top: 14px; margin-bottom: 36px; }
.prose h3 { font-size: 1.15rem; margin-bottom: 10px; }
.prose p { margin: 0 0 12px; font-size: 1rem; line-height: 1.6; color: var(--ink-2); }
.prose b { color: var(--ink); font-weight: 700; }
.prose ul { margin: 0 0 12px; padding-left: 1.1em; color: var(--ink-2); line-height: 1.6; }
.prose li { margin-bottom: 6px; }
.prose section > :last-child { margin-bottom: 0; }

/* homepage and 404: a plain list of pages, hairline between */
/* .pages is still used by 404.html */
.pages { list-style: none; margin: 40px 0 0; padding: 0; max-width: 68ch; border-top: 1px solid var(--rule-strong); }
.pages li { padding: 18px 0; border-bottom: 1px solid var(--rule); }
.pages a { font-weight: 700; font-size: 1.1rem; }
.pages p { margin: 4px 0 0; font-size: 0.93rem; color: var(--ink-2); }

/* ---- Home page --------------------------------------------------------
   The cards carry the figures. A pricing site whose front page shows no
   prices was the state this replaced. */

.cards {
  list-style: none; margin: 30px 0 0; padding: 0;
  display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(330px, 100%), 1fr));
}
.cards li { min-width: 0; }
.cards a {
  display: block; height: 100%; text-decoration: none; color: inherit;
  background: var(--card); border: 1px solid var(--rule); border-radius: 12px;
  padding: 20px 22px 18px; box-shadow: var(--shadow);
  transition: border-color 0.12s ease, transform 0.12s ease;
}
.cards a:hover { border-color: var(--ink-3); transform: translateY(-2px); }
.cards a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.cards h2 {
  margin: 0; font-size: 1.12rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.25;
}
.cards h2 .vs { color: var(--ink-3); font-weight: 600; }
.pair {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--rule);
}
/* --vc is resolved per theme, same pattern as .half above */
.pair .side { --vc: var(--v-light, var(--ink-3)); min-width: 0; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .pair .side { --vc: var(--v-dark, var(--ink-3)); }
}
:root[data-theme="dark"] .pair .side { --vc: var(--v-dark, var(--ink-3)); }
.pair .who {
  display: flex; align-items: center; gap: 7px; font-size: 0.78rem; font-weight: 700;
  color: var(--ink-2); text-transform: uppercase; letter-spacing: 0.05em;
}
.pair .who .chip { width: 10px; height: 10px; border-radius: 3px; flex: none; background: var(--vc); }
.pair .fig {
  display: block; margin-top: 5px; font-size: 1.55rem; font-weight: 800;
  letter-spacing: -0.03em; font-variant-numeric: tabular-nums;
}
.verdict-line { margin: 14px 0 0; font-size: 0.89rem; font-weight: 600; color: var(--ink-2); }
/* each card closes with its own call to action: the whole card is one link, but a
   card that only shows two prices does not read as somewhere you can go. */
.card-go {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 12px;
  font-size: 0.9rem; font-weight: 700; color: var(--accent);
}
.cards a:hover .card-go { text-decoration: underline; }

.cta {
  display: block; margin-top: 26px; padding: 22px 24px; border-radius: 12px;
  text-decoration: none; color: inherit;
  background: var(--wash-c); border: 1px solid var(--rule);
}
.cta:hover { border-color: var(--ink-3); }
.cta:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.cta-k {
  display: block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.09em; color: var(--ink-3);
}
.cta-h {
  display: block; margin-top: 6px; font-size: 1.22rem; font-weight: 800;
  letter-spacing: -0.02em; color: var(--accent);
}
.cta-s { display: block; margin-top: 6px; font-size: 0.92rem; color: var(--ink-2); max-width: 62ch; }
.back { margin: 28px 0 0; }

footer {
  margin-top: 60px; border-top: 3px solid var(--ink); padding-top: 16px; font-size: 0.85rem;
  color: var(--ink-2); max-width: 74ch;
}

@media (max-width: 480px) {
  .bar-in, .wrap { padding-inline: 16px; }
}

/* ---- Picker page (pick.html) -------------------------------------------
   Two selects and the existing seat pill. The pill is hidden without JS by
   the .switch rule above, and the whole picker is useless without JS, so it
   is hidden on the same condition and a <noscript> explains where to go. */
.picker { display: none; }
.js .picker {
  display: flex; flex-wrap: wrap; gap: 14px 22px; margin-top: 26px;
  padding: 18px 20px; background: var(--card); border: 1px solid var(--rule);
  border-radius: 12px; box-shadow: var(--shadow);
}
.picker label {
  display: flex; flex-direction: column; gap: 6px; flex: 1 1 220px; min-width: 0;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-3);
}
.picker select {
  font: inherit; font-size: 1rem; font-weight: 600; color: var(--ink);
  background: var(--paper); border: 1px solid var(--rule-strong);
  border-radius: 8px; padding: 10px 12px; width: 100%; cursor: pointer;
  text-transform: none; letter-spacing: 0;
}
.picker select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.warn:empty { display: none; }
.warn {
  margin-top: 16px; font-size: 0.92rem; font-weight: 600; color: var(--accent);
}
#out { margin-top: 30px; }
#out .split { border-top: 2px solid var(--ink); }

/* every pair we can show, listed on the home page. Four of them have a written page;
   the rest open the picker with both vendors already chosen. Dense on purpose -- this
   is a directory, not a feature. */
.allpairs { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--rule-strong); }
.allpairs h2 { font-size: 1.3rem; }
.allpairs-sub { color: var(--ink-2); margin: 6px 0 20px; max-width: 54ch; }
.pairlist, .pairlist ul { list-style: none; margin: 0; padding: 0; }
.pairlist { display: grid; gap: 22px 28px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.pairlist h3 {
  font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-3);
  padding-bottom: 6px; margin-bottom: 6px; border-bottom: 1px solid var(--rule);
}
.pairlist li a {
  display: block; padding: 5px 0; font-size: 0.93rem; color: var(--ink-2); text-decoration: none;
}
.pairlist li a:hover { color: var(--accent); text-decoration: underline; }
.pairlist .pv { color: var(--ink); font-weight: 600; }
.pairlist a.done::after {
  content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); margin-left: 7px; vertical-align: 0.12em;
}
