/* DOGFOOD: paper and ink.
   The portal is a judging table: scorecards on paper, ink for actions, a stamp when something is
   refused, a wax seal when something is locked or verified. One stylesheet, fonts bundled locally
   (IBM Plex, SIL OFL; see fonts/OFL-IBM-Plex.txt), nothing loaded from other hosts.
   Depth: hairline rules only, no shadows. Spacing: 4px base. */

@font-face { font-family: "Plex Sans"; src: url(fonts/ibm-plex-sans-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Sans"; src: url(fonts/ibm-plex-sans-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Plex Sans"; src: url(fonts/ibm-plex-sans-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Plex Sans"; src: url(fonts/ibm-plex-sans-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url(fonts/ibm-plex-mono-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url(fonts/ibm-plex-mono-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }

:root {
  /* surfaces: the table, the scorecard on it, the well you write into */
  --paper: oklch(97.4% 0.007 85);
  --card: oklch(99.4% 0.003 85);
  --well: oklch(96.2% 0.007 85);
  --shade: oklch(94.2% 0.008 85);           /* hover on paper, table header band */
  /* text: graphite, from dark to faint */
  --graphite: oklch(23% 0.012 260);
  --graphite-2: oklch(40% 0.012 260);
  --graphite-3: oklch(50% 0.012 260);
  /* rules */
  --rule-soft: oklch(92.5% 0.007 85);
  --rule: oklch(88.5% 0.009 85);
  --rule-strong: oklch(76% 0.012 85);
  /* the one accent: fountain-pen ink */
  --ink: oklch(42% 0.135 262);
  --ink-press: oklch(35% 0.135 262);
  --ink-wash: oklch(94.5% 0.028 262);
  --on-ink: oklch(99% 0.005 262);
  /* meaning, never decoration */
  --stamp: oklch(47% 0.165 27);             /* refused, closed, flagged */
  --stamp-wash: oklch(95% 0.028 27);
  --seal: oklch(44% 0.105 155);             /* locked, verified, done */
  --seal-wash: oklch(95% 0.032 155);
  --marker: oklch(43% 0.09 80);             /* needs attention (text) */
  --marker-wash: oklch(94.5% 0.075 95);     /* highlighter */

  --sans: "Plex Sans", system-ui, -apple-system, "Segoe UI", "Noto Sans", "Noto Sans Tamil", sans-serif;
  --mono: "Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px;
  --r-sm: 4px; --r: 6px; --r-lg: 10px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: oklch(17% 0.008 260); --card: oklch(20.5% 0.009 260); --well: oklch(15.5% 0.008 260); --shade: oklch(23.5% 0.01 260);
    --graphite: oklch(93% 0.006 85); --graphite-2: oklch(79% 0.008 85); --graphite-3: oklch(68% 0.01 85);
    --rule-soft: oklch(25% 0.01 260); --rule: oklch(29% 0.012 260); --rule-strong: oklch(40% 0.014 260);
    --ink: oklch(74% 0.11 262); --ink-press: oklch(80% 0.1 262); --ink-wash: oklch(27% 0.05 262); --on-ink: oklch(18% 0.03 262);
    --stamp: oklch(72% 0.14 27); --stamp-wash: oklch(26% 0.05 27);
    --seal: oklch(74% 0.11 155); --seal-wash: oklch(25% 0.04 155);
    --marker: oklch(84% 0.12 95); --marker-wash: oklch(28% 0.05 95);
  }
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--graphite); font: 400 15.5px/1.55 var(--sans);
  font-feature-settings: "kern"; -webkit-font-smoothing: antialiased; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--ink-press); }
h1, h2, h3 { color: var(--graphite); margin: 0 0 var(--s3); font-weight: 600; }
h1 { font-size: clamp(1.55rem, 1.2rem + 1.2vw, 2rem); line-height: 1.15; letter-spacing: -.02em; }
h2 { font-size: 1.15rem; line-height: 1.3; letter-spacing: -.01em; margin-top: var(--s6); }
h3 { font-size: 1rem; line-height: 1.35; }
p { margin: 0 0 var(--s3); }
code, .mono, kbd { font-family: var(--mono); font-size: .88em; }
.num, .fig { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.muted, small { color: var(--graphite-3); }
small { font-size: .85rem; }
.eyebrow { font-size: .72rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--graphite-3); margin: 0 0 var(--s2); }
.skip { position: absolute; left: -999px; } .skip:focus { left: var(--s4); top: var(--s2); background: var(--card); padding: var(--s2) var(--s4); z-index: 9; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: var(--r-sm); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
hr { border: 0; border-top: 1px solid var(--rule); margin: var(--s5) 0; }

/* ---------- top bar ---------- */
header.bar { background: var(--paper); border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 5; }
.bar .in { max-width: 1200px; margin: auto; padding: 0 var(--s4); display: flex; gap: var(--s4); align-items: center; min-height: 56px; }
.brand { display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; color: var(--graphite); text-decoration: none;
  font-weight: 700; letter-spacing: .14em; font-size: .9rem; }
.brand svg { width: 22px; height: 22px; color: var(--ink); }
nav.main { display: flex; gap: var(--s1); flex: 1; overflow-x: auto; }
nav.main a, .who a, .who button { min-height: 44px; display: inline-flex; align-items: center; padding: 0 var(--s3);
  color: var(--graphite-2); text-decoration: none; white-space: nowrap; font: inherit; font-weight: 500; background: none; border: 0;
  cursor: pointer; border-radius: var(--r); }
nav.main a:hover, .who a:hover, .who button:hover { color: var(--graphite); background: var(--shade); }
nav.main a[aria-current="page"] { color: var(--graphite); box-shadow: inset 0 -2px 0 var(--ink); border-radius: 0; }
.who { display: flex; align-items: center; gap: var(--s1); }
.who form { margin: 0; }

main { max-width: 1200px; margin: auto; padding: var(--s6) var(--s4) var(--s7); }
footer { max-width: 1200px; margin: auto; padding: var(--s5) var(--s4); color: var(--graphite-3); font-size: .85rem; border-top: 1px solid var(--rule); }
.crumbs { font-size: .9rem; margin-bottom: var(--s3); color: var(--graphite-3); }
.crumbs a { color: var(--graphite-2); }
.page-head { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); align-items: flex-end; justify-content: space-between; margin-bottom: var(--s5); }
.page-head h1 { margin: 0; }

@media (max-width: 640px) {
  .bar .in { flex-wrap: wrap; gap: 0 var(--s2); padding-top: var(--s1); }
  nav.main { order: 3; flex-basis: 100%; margin: 0 calc(-1 * var(--s3)); }
  .who { margin-left: auto; }
  main { padding-top: var(--s5); }
  .page-head .seal { white-space: normal; }
  .card { padding: var(--s4); }
  .flags li { grid-template-columns: 1fr; gap: var(--s1); }
  .phase { padding: var(--s3) var(--s4); }
}

/* ---------- surfaces ---------- */
.card { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-lg); padding: var(--s5); }
.card.tight { padding: var(--s4); }
.card > :last-child { margin-bottom: 0; }
.stack > * + * { margin-top: var(--s4); }
.grid { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.split { display: grid; gap: var(--s5); grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.row { display: flex; gap: var(--s3); flex-wrap: wrap; align-items: end; }
.row > .grow { flex: 1 1 14rem; }
.row > * { margin: 0; }

/* ---------- chips and notes (status only) ---------- */
.chip { display: inline-flex; align-items: center; gap: var(--s1); font-size: .76rem; font-weight: 500; line-height: 1.5;
  padding: 1px var(--s2); border-radius: var(--r-sm); background: var(--shade); color: var(--graphite-2); white-space: nowrap;
  border: 1px solid transparent; text-decoration: none; vertical-align: middle; }
a.chip:hover { border-color: var(--rule-strong); }
.chip.ink { background: var(--ink-wash); color: var(--ink); }
.chip.ok { background: var(--seal-wash); color: var(--seal); }
.chip.warn { background: var(--marker-wash); color: var(--marker); }
.chip.bad { background: var(--stamp-wash); color: var(--stamp); }
.note { padding: var(--s3) var(--s4); border-radius: var(--r); border: 1px solid var(--rule); border-left-width: 3px;
  margin-bottom: var(--s4); background: var(--card); overflow-wrap: anywhere; }
.note.ok { border-left-color: var(--seal); } .note.warn { border-left-color: var(--marker); background: var(--marker-wash); }
.note.bad { border-left-color: var(--stamp); background: var(--stamp-wash); }
.note ul { margin: var(--s2) 0 0; padding-left: 1.2rem; }

/* ---------- the Seal: anything the system has locked, verified or refused ---------- */
.seal { display: inline-flex; align-items: center; gap: var(--s2); padding: var(--s1) var(--s3) var(--s1) var(--s1);
  border: 1px solid currentColor; border-radius: 999px; color: var(--seal); background: var(--seal-wash);
  font-size: .8rem; font-weight: 600; letter-spacing: .02em; line-height: 1.3; vertical-align: middle; max-width: 100%; }
.seal svg { width: 20px; height: 20px; flex: none; }
.seal code { font-weight: 500; color: inherit; opacity: .85; overflow: hidden; text-overflow: ellipsis; }
.seal.stamp { color: var(--stamp); background: var(--stamp-wash); }
.seal.ink { color: var(--ink); background: var(--ink-wash); }
.seal.open { color: var(--graphite-2); background: transparent; border-style: dashed; }

/* ---------- controls ---------- */
label { display: block; font-weight: 500; font-size: .9rem; margin: var(--s4) 0 var(--s1); color: var(--graphite); }
input, select, textarea { width: 100%; min-height: 44px; padding: var(--s2) var(--s3); border: 1px solid var(--rule-strong);
  border-radius: var(--r); background: var(--well); color: var(--graphite); font: inherit; transition: border-color .15s var(--ease), background .15s var(--ease); }
input:hover, select:hover, textarea:hover { border-color: var(--graphite-3); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); background: var(--card); box-shadow: 0 0 0 3px var(--ink-wash); }
input[readonly] { color: var(--graphite-2); font-family: var(--mono); font-size: .85rem; }
input:disabled, select:disabled, textarea:disabled { opacity: .6; cursor: not-allowed; }
textarea { min-height: 7.5rem; resize: vertical; }
input[type="file"] { padding: var(--s2); }
.btn, button.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: 44px; padding: 0 var(--s4);
  border-radius: var(--r); border: 1px solid var(--rule-strong); background: var(--card); color: var(--graphite); font: inherit;
  font-weight: 500; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background .15s var(--ease), border-color .15s var(--ease); }
.btn:hover { background: var(--shade); color: var(--graphite); border-color: var(--graphite-3); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.btn.primary:hover { background: var(--ink-press); border-color: var(--ink-press); color: var(--on-ink); }
.btn.danger { color: var(--stamp); }
.btn.danger:hover { background: var(--stamp-wash); border-color: var(--stamp); }
.btn.quiet { border-color: transparent; background: transparent; color: var(--graphite-2); }
.btn[disabled], .btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.actions { display: flex; gap: var(--s2); flex-wrap: wrap; align-items: center; margin-top: var(--s4); }
.actions form { margin: 0; }
fieldset { min-width: 0; }
fieldset.checks { border: 1px solid var(--rule); border-radius: var(--r); margin: var(--s4) 0 0; padding: var(--s2) var(--s3) var(--s3); }
fieldset.checks legend { font-size: .9rem; font-weight: 500; padding: 0 var(--s1); }
fieldset.checks label, label.inline { display: inline-flex; gap: var(--s2); align-items: center; font-weight: 400; margin: var(--s2) var(--s4) 0 0; }
fieldset.checks input, label.inline input { width: 18px; height: 18px; min-height: 0; accent-color: var(--ink); }
.inline-form { display: flex; gap: var(--s2); align-items: center; margin: 0; }
.inline-form input { min-width: 8rem; }

/* ---------- tables ---------- */
.scroll { overflow-x: auto; position: relative; }   /* contains absolutely positioned hidden labels */
table { width: 100%; border-collapse: collapse; font-size: .93rem; }
th, td { text-align: left; padding: var(--s3); border-bottom: 1px solid var(--rule-soft); vertical-align: top; }
thead th { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--graphite-3);
  border-bottom: 1px solid var(--rule); background: transparent; }
tbody tr:hover { background: var(--paper); }
tbody tr:last-child td { border-bottom: 0; }
td form { margin: 0; }
th.num, td.num { text-align: right; }
.card > table, .card.scroll { padding: 0; }
.card.scroll > table th:first-child, .card.scroll > table td:first-child { padding-left: var(--s5); }
.card.scroll > table th:last-child, .card.scroll > table td:last-child { padding-right: var(--s5); }

/* ---------- meters ---------- */
.meter { height: 6px; background: var(--shade); border-radius: 99px; overflow: hidden; }
.meter span { display: block; height: 100%; background: var(--ink); border-radius: 99px; transition: width .4s var(--ease); }
.meter.done span { background: var(--seal); }

/* ---------- organizer workspace: rail + work area ---------- */
.workspace { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: var(--s6); align-items: start; }
.work { min-width: 0; }
.rail { position: sticky; top: 76px; font-size: .92rem; min-width: 0; }
.rail .ev { font-weight: 600; margin: 0 0 var(--s4); line-height: 1.3; }
.rail .ev small { display: block; font-weight: 400; }
.rail h4 { font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--graphite-3); margin: var(--s4) 0 var(--s1); }
.rail a { display: flex; align-items: center; min-height: 36px; padding: 0 var(--s3); color: var(--graphite-2); text-decoration: none;
  border-left: 2px solid var(--rule); }
.rail a:hover { color: var(--graphite); border-left-color: var(--rule-strong); background: var(--shade); }
.rail a[aria-current="page"] { color: var(--ink); border-left-color: var(--ink); font-weight: 500; }
@media (max-width: 900px) {
  .workspace { grid-template-columns: minmax(0, 1fr); gap: var(--s4); }
  .rail { position: static; display: flex; gap: var(--s1); overflow-x: auto; padding-bottom: var(--s2); border-bottom: 1px solid var(--rule); }
  .rail .ev, .rail h4 { display: none; }
  .rail a { border-left: 0; white-space: nowrap; min-height: 44px; border-radius: var(--r); }
}
section.block { scroll-margin-top: 80px; }
section.block > h2:first-child { margin-top: 0; }
section.block + section.block { margin-top: var(--s7); }
.block-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); flex-wrap: wrap; margin-bottom: var(--s3); }
.block-head h2 { margin: 0; }

/* ---------- the event timeline: where is this event now ---------- */
.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--rule); border-radius: var(--r-lg);
  background: var(--card); overflow: hidden; margin-bottom: var(--s6); }
.phase { padding: var(--s4) var(--s5); border-right: 1px solid var(--rule-soft); position: relative; min-width: 0; }
.phase:last-child { border-right: 0; }
.phase::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--rule-soft); }
.phase.done::before { background: var(--seal); }
.phase.now::before { background: var(--ink); }
.phase .eyebrow { margin-bottom: var(--s1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phase .state { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--graphite-3); margin-bottom: var(--s2); }
.phase.now .state { color: var(--ink); } .phase.done .state { color: var(--seal); }
.phase .big { font: 500 1.7rem/1.1 var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.02em; margin: var(--s1) 0; }
.phase .big small { font: 400 .9rem var(--sans); color: var(--graphite-3); letter-spacing: 0; }
.phase p { font-size: .85rem; color: var(--graphite-2); margin: 0; }
@media (max-width: 900px) { .timeline { grid-template-columns: repeat(2, 1fr); } .phase:nth-child(2) { border-right: 0; }
  .phase:nth-child(-n+2) { border-bottom: 1px solid var(--rule-soft); } }

/* ---------- flags list ---------- */
.flags { list-style: none; padding: 0; margin: 0; }
.flags li { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: var(--s3); padding: var(--s2) 0; border-top: 1px solid var(--rule-soft); align-items: baseline; }
.flags li:first-child { border-top: 0; }
.flags .chip { justify-self: start; }

/* ---------- scorecard (judge) ---------- */
.scorecard { padding: 0; overflow: hidden; }
.scorecard > header { padding: var(--s4) var(--s5); border-bottom: 1px solid var(--rule); display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); }
.scorecard > header h2 { margin: 0; font-size: 1rem; }
.criterion { border: 0; margin: 0; padding: var(--s4) var(--s5); border-bottom: 1px solid var(--rule-soft); }
.criterion legend { float: left; width: 100%; padding: 0; display: flex; justify-content: space-between; align-items: baseline; gap: var(--s2); font-weight: 600; margin-bottom: var(--s2); }
.criterion legend small { font: 500 .8rem var(--mono); color: var(--graphite-3); }
.weight { clear: both; height: 3px; background: var(--rule-soft); border-radius: 2px; margin-bottom: var(--s3); }
.weight span { display: block; height: 100%; background: var(--graphite-3); border-radius: 2px; }
.scale { display: flex; gap: var(--s1); flex-wrap: wrap; }
.scale label { margin: 0; font-weight: 400; }
.scale input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.scale span { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 48px; border: 1px solid var(--rule-strong);
  border-radius: var(--r); background: var(--card); cursor: pointer; font: 500 1.05rem var(--mono); color: var(--graphite-2);
  transition: background .12s var(--ease), border-color .12s var(--ease), color .12s var(--ease); }
.scale label:hover span { border-color: var(--ink); color: var(--ink); }
.scale input:checked + span { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.scale input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.scale input:disabled + span { cursor: not-allowed; opacity: .55; }
.scorecard .foot { padding: var(--s4) var(--s5); background: var(--paper); }
.total { display: flex; align-items: baseline; gap: var(--s2); }
.total output { font: 500 1.9rem/1 var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }

/* ---------- standings (results) ---------- */
.standings td.place { width: 4rem; font: 500 1.05rem var(--mono); color: var(--graphite-3); }
.standings tr.podium td.place { color: var(--ink); font-size: 1.35rem; }
.standings tr.podium td:nth-child(2) a { font-weight: 600; }
.move-up { color: var(--seal); } .move-down { color: var(--stamp); }

/* ---------- gallery ---------- */
.entry { display: flex; flex-direction: column; gap: var(--s2); padding: var(--s4) var(--s5); transition: border-color .15s var(--ease); position: relative; }
.entry:hover { border-color: var(--rule-strong); }
.entry h2, .entry h3 { margin: 0; font-size: 1.05rem; }
.entry h2 a, .entry h3 a { color: var(--graphite); text-decoration: none; }
.entry h2 a::after, .entry h3 a::after { content: ""; position: absolute; inset: 0; }   /* whole card clickable */
.entry h2 a:hover, .entry h3 a:hover { color: var(--ink); }
.entry p { margin: 0; color: var(--graphite-2); font-size: .93rem; }
.entry .by { margin-top: auto; font-size: .82rem; color: var(--graphite-3); }
.entry form, .entry .actions { position: relative; z-index: 1; }

/* ---------- misc ---------- */
.comment { white-space: pre-wrap; overflow-wrap: anywhere; margin: 0 0 var(--s1); }
details summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 500; }
.certificate { text-align: center; padding: var(--s7) var(--s5); border: 1px solid var(--rule-strong); outline: 1px solid var(--rule); outline-offset: -8px; }
.certificate .big { font-size: clamp(1.6rem, 1.2rem + 2vw, 2.4rem); font-weight: 600; letter-spacing: -.02em; margin: var(--s3) 0; }
.certificate .seal { margin-top: var(--s4); }
body.embed { background: var(--card); } body.embed main { padding: var(--s3); }
ul.plain { list-style: none; padding: 0; margin: 0; } ul.plain li { padding: var(--s2) 0; border-bottom: 1px solid var(--rule-soft); }
.hero { padding: var(--s6) 0 var(--s5); }
.hero p { font-size: 1.1rem; color: var(--graphite-2); max-width: 40rem; }
.split-list { display: grid; gap: var(--s2); }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: var(--s1) var(--s4); font-size: .9rem; }
.kv dt { color: var(--graphite-3); } .kv dd { margin: 0; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
@media print { header.bar, footer, .no-print { display: none !important; } body { background: #fff; } .certificate { border-color: #000; } }

/* ---------- pairwise: two contenders side by side ---------- */
.versus { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: var(--s4); align-items: stretch; }
.contender { display: flex; flex-direction: column; gap: var(--s2); margin: 0; cursor: pointer; font-weight: 400; position: relative;
  transition: border-color .15s var(--ease), background .15s var(--ease); }
.contender input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.contender .name { font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; }
.contender .summary { color: var(--graphite-2); flex: 1; }
.contender .pick { margin-top: var(--s3); align-self: flex-start; font-weight: 500; padding: var(--s2) var(--s3); border-radius: var(--r);
  border: 1px solid var(--rule-strong); color: var(--graphite-2); }
.contender:hover { border-color: var(--ink); }
.contender:has(input:checked) { border-color: var(--ink); background: var(--ink-wash); outline: 1px solid var(--ink); }
.contender:has(input:checked) .pick { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.contender:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.contender a { position: relative; z-index: 1; align-self: flex-start; }
.vs { align-self: center; font: 500 .85rem var(--mono); color: var(--graphite-3); text-transform: uppercase; letter-spacing: .1em; }
@media (max-width: 720px) { .versus { grid-template-columns: 1fr; } .vs { justify-self: center; } }
