:root {
  --bg: #fbfaf7; --ink: #16181d; --muted: #6b7078; --line: #e3e1dc; --fill: #efede8;
  --accent: #b3261e; --good: #1e6b4f; --warn: #8a5a00;
  --map-lo: #f1dfdb; --map-hi: #8c1a14;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #121316; --ink: #ecebe7; --muted: #9a9ea6; --line: #2b2d33; --fill: #1e2025;
    --accent: #e5675c; --good: #5fb894; --warn: #d9a441; --map-lo: #3a2422; --map-hi: #f08a80; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
main, .top, footer { max-width: 1120px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; font-weight: 700; letter-spacing: -0.02em; }
a { color: inherit; text-underline-offset: 2px; text-decoration-color: var(--line); }
a:hover { text-decoration-color: currentColor; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.num { font-variant-numeric: tabular-nums; }

.top { display: flex; align-items: baseline; gap: 16px; padding-top: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.brand { font-size: 20px; font-weight: 700; text-decoration: none; letter-spacing: -0.02em; }
.tag { color: var(--muted); font-size: 14px; }
.seal { margin-left: auto; background: none; border: 0; padding: 0; font-size: 13px; color: var(--muted); cursor: pointer; display: flex; align-items: center; gap: 7px; }
.seal i { width: 7px; height: 7px; border-radius: 50%; background: var(--good); }
.seal.bad { color: var(--accent); } .seal.bad i { background: var(--accent); }

.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; padding: 44px 0 36px; }
h1 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.04; }
.lede { margin-top: 14px; font-size: 18px; color: var(--muted); max-width: 44ch; }
.count { margin-top: 26px; font-size: 40px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1; }
.count small { font-size: 15px; font-weight: 400; color: var(--muted); letter-spacing: 0; margin: 0 12px 0 4px; }
.count-note { margin-top: 8px; font-size: 14px; color: var(--muted); }
.hero img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: 50% 62%; border-radius: 3px; }

section { padding: 30px 0 38px; border-top: 1px solid var(--line); }
.sec-head { display: grid; grid-template-columns: 220px 1fr; gap: 20px; margin-bottom: 22px; }
.sec-head h2 { font-size: 20px; }
.sec-head p { color: var(--muted); font-size: 15px; max-width: 60ch; }

/* reenactment player */
.k { font-size: 12px; font-weight: 600; letter-spacing: .01em; }
.k.rekord { color: var(--good); } .k.toneel { color: var(--warn); } .k.verteller, .k.kaart { color: var(--muted); }
.picker { display: flex; gap: 0; border-bottom: 1px solid var(--line); margin-bottom: 22px; overflow-x: auto; }
.picker button { display: flex; align-items: center; gap: 10px; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px;
  padding: 8px 18px 10px 0; margin-right: 10px; text-align: left; cursor: pointer; color: var(--muted); font-size: 12.5px; white-space: nowrap; }
.picker img { width: 34px; height: 46px; object-fit: cover; border-radius: 2px; background: var(--fill); }
.picker b { display: block; font-size: 15px; color: var(--ink); font-weight: 600; }
.picker button[aria-selected="true"] { border-bottom-color: var(--ink); } .picker button[aria-selected="false"] { opacity: .62; }
.picker button:hover { opacity: 1; }
.stage { display: grid; grid-template-columns: minmax(240px, 330px) 1fr; gap: 36px; align-items: start; }
.screen { position: sticky; top: 16px; }
.screen video { display: block; width: 100%; aspect-ratio: 9/16; object-fit: cover; background: var(--fill); border-radius: 3px; cursor: pointer; }
.ctl { display: flex; gap: 8px; align-items: center; margin-top: 10px; }
.ctl button, .quiz button { background: none; border: 1px solid var(--ink); border-radius: 3px; padding: 6px 10px; font-size: 13.5px; cursor: pointer; color: var(--ink); }
.ctl button:hover, .quiz .opts button:hover, .quiz .more:hover { background: var(--ink); color: var(--bg); }
.ctl button, .ctl #clock { white-space: nowrap; }
.ctl #play { min-width: 128px; background: var(--ink); color: var(--bg); }
.ctl #step[aria-pressed="true"] { background: var(--fill); }
.ctl #clock { margin-left: auto; font: 12.5px ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--muted); }
.frame { position: relative; }
.quiz { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
  padding: 18px; background: linear-gradient(to top, var(--bg) 46%, transparent 78%); border-radius: 3px; }
.quiz[hidden], .vmsg[hidden] { display: none; }
.quiz .qq { font-size: 17px; font-weight: 600; line-height: 1.3; } .quiz .why { font-size: 14px; color: var(--muted); }
.quiz .opts { display: grid; gap: 6px; } .quiz .opts button { text-align: left; background: var(--bg); }
.quiz .skip { border: 0; padding: 0; font-size: 13px; color: var(--muted); text-decoration: underline; align-self: flex-start; }
.vmsg { position: absolute; left: 14px; right: 14px; top: 14px; padding: 10px 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 3px; font-size: 14px; }
.script .who { font-size: 13px; color: var(--muted); } .script h3 { font-size: 24px; margin-top: 2px; }
.script .event { margin-top: 6px; font-size: 15px; color: var(--muted); }
.beats { list-style: none; margin: 16px 0 0; padding: 0; border-top: 1px solid var(--line); }
.beats li { display: grid; grid-template-columns: 46px 1fr; gap: 10px; padding: 10px 0 11px 10px; border-bottom: 1px solid var(--line); border-left: 2px solid transparent; }
.beats li.on { border-left-color: var(--accent); background: var(--fill); }
.beats .go { background: none; border: 0; padding: 1px 0 0; font: 12.5px ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--muted); cursor: pointer; text-align: left; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 2px; }
.beats .go:hover { color: var(--ink); }
.beats p { font-size: 15px; margin-top: 1px; } .beats p.quote { font-size: 17px; font-style: italic; }
.beats .spk { font-size: 12.5px; font-weight: 600; margin-left: 8px; }
.beats .stamp { margin-top: 3px; }
.staging { margin-top: 12px; font-size: 14px; color: var(--muted); max-width: 68ch; } .staging b { color: var(--ink); font-weight: 600; }
.script .meta { margin-top: 12px; }
@media (max-width: 760px) { .stage { grid-template-columns: 1fr; gap: 20px; } .screen { position: relative; top: 0; max-width: 330px; } }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; }
.tile { padding: 18px 0 22px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.tiles .tile:nth-child(-n+3) { border-top: 0; padding-top: 0; }
.tile h3 { font-size: 15px; font-weight: 600; letter-spacing: 0; }
.tile .note { font-size: 13.5px; color: var(--muted); }
.big { font-size: 40px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.big small { font-size: 14px; font-weight: 400; color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.big + .big { font-size: 26px; margin-top: -4px; }

.bars { display: grid; gap: 6px; position: relative; font-size: 13.5px; }
.bar { display: grid; grid-template-columns: 104px 1fr 40px; align-items: center; gap: 8px; }
.bar .track { background: var(--fill); height: 10px; position: relative; }
.bar i { display: block; height: 100%; background: var(--ink); width: 0; transition: width 0.7s ease-out; }
.bar b { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.bars:has(.mark) { padding-bottom: 18px; }
.mark { position: absolute; top: -3px; bottom: 15px; border-left: 1px dashed var(--muted); }
.mark span { position: absolute; bottom: -18px; right: 5px; font-size: 11.5px; white-space: nowrap; color: var(--muted); }

.dots { display: grid; gap: 3px; }
.dots i { aspect-ratio: 1; background: var(--fill); }
.dots i.on { background: var(--accent); } .dots.good i.on { background: var(--good); }
.share { height: 10px; background: var(--fill); } .share i { display: block; height: 100%; background: var(--accent); width: 0; transition: width 0.7s ease-out; }
.ballots { display: flex; gap: 28px; font-size: 13.5px; color: var(--muted); }
.ballots span { display: flex; gap: 4px; margin-bottom: 6px; }
.ballots u { width: 20px; height: 28px; border: 1.5px solid var(--ink); text-decoration: none; }

.meta { margin-top: auto; padding-top: 4px; font-size: 12.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 2px 10px; align-items: baseline; }
.st::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 5px; background: var(--good); vertical-align: 1px; }
.st.live::before { background: var(--warn); } .st.een::before { background: var(--muted); }
.stamp { background: none; border: 0; padding: 0; font: 12px ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--muted); cursor: pointer; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 2px; }
.stamp.amended { color: var(--warn); font-family: inherit; font-size: 12.5px; } .stamp.broken { color: var(--accent); font-family: inherit; font-size: 12.5px; }

/* live market prices */
.pm-status { font-size: 12.5px; color: var(--muted); margin-bottom: 16px; }
.pm-status::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--good); vertical-align: 1px; }
.pm-status.err::before { background: var(--accent); }
.pm { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; }
.pm article { padding: 16px 0 18px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.pm article:nth-child(-n+3) { border-top: 0; padding-top: 0; }
.pm h3 { font-size: 15px; font-weight: 600; letter-spacing: 0; }
.pm .row { display: grid; grid-template-columns: 1fr 44px; gap: 2px 8px; font-size: 13.5px; align-items: baseline; }
.pm .row b { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.pm .row .track { grid-column: 1 / -1; height: 6px; background: var(--fill); }
.pm .row .track i { display: block; height: 100%; background: var(--ink); transition: width 0.6s ease-out; }
.pm .row:first-of-type .track i { background: var(--accent); }
.pm .foot { margin-top: auto; font-size: 12.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 2px 10px; }
.pm .thin { color: var(--warn); }

/* province map */
.mapwrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: 36px; align-items: start; margin-bottom: 34px; }
.maphead { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.maphead h3 { font-size: 15px; font-weight: 600; letter-spacing: 0; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.seg button { background: none; border: 0; padding: 5px 10px; font-size: 13px; color: var(--muted); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
svg.za { display: block; width: 100%; height: auto; }
svg.za path { stroke: var(--bg); stroke-width: 1.5; stroke-linejoin: round; cursor: pointer; transition: fill 0.25s; outline: none; }
svg.za path.sel, svg.za path:focus-visible { stroke: var(--ink); stroke-width: 2; }
svg.za text { font: 600 11.5px -apple-system, "Helvetica Neue", Arial, sans-serif; fill: var(--ink); paint-order: stroke; stroke: var(--bg); stroke-width: 3px; stroke-linejoin: round; pointer-events: none; text-anchor: middle; font-variant-numeric: tabular-nums; }
.legend { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); margin-top: 6px; }
.legend i { flex: 0 0 120px; height: 8px; background: linear-gradient(90deg, var(--map-lo), var(--map-hi)); }
table.prov { width: 100%; border-collapse: collapse; font-size: 14px; }
table.prov th { font-weight: 400; color: var(--muted); font-size: 12.5px; text-align: right; padding: 0 0 6px 10px; border-bottom: 1px solid var(--ink); }
table.prov th:first-child, table.prov td:first-child { text-align: left; padding-left: 0; }
table.prov td { padding: 7px 0 7px 10px; border-bottom: 1px solid var(--line); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
table.prov tr { cursor: pointer; } table.prov tr.sel td { background: var(--fill); font-weight: 600; }
.up { color: var(--accent); } .down { color: var(--good); }
.mapnote { font-size: 13.5px; color: var(--muted); margin-top: 12px; }

.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; font-size: 14.5px; }
.how b { display: block; margin-bottom: 2px; }
.sample { margin-top: 18px; font-size: 13.5px; color: var(--muted); max-width: 78ch; }
.demo { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 20px 0 14px; }
.demo button, .form button { background: none; border: 1px solid var(--ink); border-radius: 3px; padding: 6px 12px; font-size: 14px; cursor: pointer; }
.demo button:hover, .form button:hover { background: var(--ink); color: var(--bg); }
#demoMsg { font-size: 13.5px; color: var(--muted); }
.scroll { overflow-x: auto; }
table.log { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.log th { text-align: left; font-weight: 400; color: var(--muted); font-size: 12.5px; padding: 0 12px 6px 0; border-bottom: 1px solid var(--ink); }
table.log td { padding: 7px 12px 7px 0; border-bottom: 1px solid var(--line); vertical-align: top; white-space: nowrap; font-variant-numeric: tabular-nums; }
table.log td.wrap { white-space: normal; min-width: 300px; }
table.log code { font: 12px ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--muted); }
table.log tr.broken td { color: var(--accent); } table.log tr.new td:first-child { box-shadow: inset 2px 0 0 var(--good); padding-left: 8px; }
.amendk { color: var(--warn); }

dialog { border: 1px solid var(--ink); border-radius: 3px; padding: 26px; max-width: min(620px, 92vw); background: var(--bg); color: var(--ink); }
dialog::backdrop { background: rgb(0 0 0 / 0.45); }
dialog .x { position: absolute; right: 12px; top: 6px; background: none; border: 0; font-size: 24px; color: var(--muted); cursor: pointer; }
dialog .who { font-size: 13px; color: var(--muted); } dialog h3 { font-size: 20px; margin-bottom: 8px; }
.rev { padding: 12px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.rev time { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 4px; }
.rev del { color: var(--muted); } .rev ins { text-decoration: none; }
.rev .why { margin-top: 6px; } .rev code { display: block; margin-top: 6px; font: 11px ui-monospace, Menlo, monospace; color: var(--muted); word-break: break-all; }
.form { display: grid; gap: 6px; margin-top: 12px; } .form label { font-size: 13px; color: var(--muted); margin-top: 6px; }
.form select, .form textarea { font: inherit; padding: 7px; border: 1px solid var(--line); border-radius: 3px; background: var(--bg); color: var(--ink); width: 100%; }
.form button { justify-self: start; margin-top: 8px; } #aErr { color: var(--accent); font-size: 13.5px; }

footer { padding-top: 22px; padding-bottom: 48px; border-top: 1px solid var(--ink); color: var(--muted); font-size: 13.5px; }
footer p + p { margin-top: 4px; }

@media (max-width: 860px) {
  .hero, .mapwrap { grid-template-columns: 1fr; gap: 24px; } .hero { padding: 28px 0; }
  .sec-head { grid-template-columns: 1fr; gap: 4px; }
 .tiles, .how, .pm { grid-template-columns: 1fr; }
  .pm article:nth-child(-n+3) { border-top: 1px solid var(--line); padding-top: 16px; } .pm article:first-child { border-top: 0; padding-top: 0; }
  .tiles .tile:nth-child(-n+3) { border-top: 1px solid var(--line); padding-top: 18px; } .tiles .tile:first-child { border-top: 0; padding-top: 0; }
  .tag { display: none; } .count { font-size: 30px; }
}

/* people */
.top:has(.nav) { flex-wrap: wrap; row-gap: 6px; }
.nav { display: flex; font-size: 14px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a + a::before { content: "·"; margin: 0 8px; color: var(--muted); font-weight: 400; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { font-weight: 600; }

.phero { padding: 44px 0 34px; }
.crumb { padding-top: 22px; font-size: 14px; color: var(--muted); }
.fixture { margin: 14px 0 0; font-size: 13.5px; color: var(--warn); max-width: 78ch; }
.people + .fixture, .sec-head + .fixture { margin: 0 0 18px; }
.phead { display: flex; gap: 26px; align-items: flex-start; padding: 16px 0 28px; }
.phead img { flex: none; width: 124px; aspect-ratio: 4/5; object-fit: cover; border-radius: 3px; background: var(--fill); }
.phead .role { margin-top: 10px; font-size: 15px; }
.phead .stand { font-size: 15px; color: var(--muted); }
.phead .lede { margin-top: 12px; max-width: 60ch; }
.phead .checked { margin-top: 12px; font-size: 13px; color: var(--muted); }
#pname:focus { outline: none; }

.pctl { display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; padding: 14px 0 16px; border-top: 1px solid var(--ink); }
.pctl label { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.pctl input, .pctl select { font: inherit; font-size: 14px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 3px; background: var(--bg); color: var(--ink); min-width: 0; }
.pctl input { width: 220px; }
.pctl .seg button { white-space: nowrap; } .pctl .seg button:focus-visible { outline-offset: -3px; }
.chips { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; color: var(--muted); }
.chips span { margin-right: 4px; }
.chips button { background: none; border: 1px solid var(--line); border-radius: 3px; padding: 3px 9px; font-size: 13px; color: var(--muted); cursor: pointer; }
.chips button:hover { color: var(--ink); border-color: var(--muted); }
.chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.pcount { flex-basis: 100%; font-size: 13px; color: var(--muted); }
.pcount button { background: none; border: 0; padding: 0; margin-left: 8px; font-size: 13px; color: var(--ink); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }

.pgroup { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; }
.pgroup.year { padding: 20px 0 22px; }
.pgroup-h { align-self: start; position: sticky; top: 14px; }
.pgroup-h h2 { font-size: 20px; }
.pgroup-h h2 span { margin-left: 4px; font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.pgroup-h p { margin-top: 4px; font-size: 13.5px; color: var(--muted); max-width: 26ch; }
.none { font-size: 15px; color: var(--muted); }

.rec { padding: 16px 0 18px; border-top: 1px solid var(--line); max-width: 72ch; overflow-wrap: anywhere; scroll-margin-top: 12px; }
.recs > .rec:first-child { border-top: 0; padding-top: 0; }
.rec:focus { outline: none; }
.rec.hit, .recs > .rec.hit:first-child { padding: 12px 12px 14px; background: var(--fill); box-shadow: inset 2px 0 0 var(--accent); }
.rec-top { display: flex; flex-wrap: wrap; gap: 2px 12px; align-items: baseline; font-size: 12.5px; color: var(--muted); }
.rid { font: 12px ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--muted); }
.pst::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 5px; background: var(--muted); vertical-align: 1px; }
.pst.s-confirmed::before { background: var(--good); }
.pst.s-pending::before, .pst.s-alleged::before { background: var(--warn); }
.pst.s-overturned::before { background: none; box-shadow: inset 0 0 0 1px var(--muted); }
.rec h3 { margin-top: 3px; font-size: 18px; line-height: 1.3; letter-spacing: -0.01em; }
.rec p { margin-top: 6px; font-size: 15px; }
.rec p.rec-top { margin-top: 0; font-size: 12.5px; }
.rec blockquote { margin: 12px 0 2px; padding-left: 14px; border-left: 2px solid var(--ink); }
.rec blockquote p { margin-top: 0; font-size: 17px; font-style: italic; }
.rec blockquote p.tr { margin-top: 4px; font-size: 14px; font-style: normal; color: var(--muted); }
.rec p.lab { margin-top: 12px; font-size: 14.5px; }
.lab b { display: block; font-size: 12.5px; font-weight: 600; }
.rec p.also, .rec p.src { margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.rec p.also + p.src { margin-top: 3px; }
.also a { font: 12px ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink); }

.pair { padding: 22px 0 24px; border-top: 1px solid var(--line); }
.pair-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; }
.pair-cols .rec { border-top: 0; padding: 0; }
.side { margin-bottom: 8px; padding-bottom: 6px; border-bottom: 1px solid var(--ink); font-size: 12.5px; font-weight: 600; }
.expl { margin-top: 16px; font-size: 14.5px; max-width: 78ch; overflow-wrap: anywhere; }
.expl b { font-weight: 600; }

.gaps { margin: 0; padding-left: 18px; font-size: 15px; max-width: 72ch; }
.gaps li + li { margin-top: 6px; }
.fix { padding: 0 0 34px; font-size: 13.5px; color: var(--muted); }

.people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
.people li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0 20px; border-top: 1px solid var(--line); }
.people img { flex: none; width: 56px; height: 70px; object-fit: cover; border-radius: 2px; background: var(--fill); }
.people h3 { font-size: 18px; letter-spacing: -0.01em; }
.people .party { font-size: 13.5px; color: var(--muted); }
.people .stand { margin-top: 6px; font-size: 15px; }
.people .counts { margin-top: 8px; font-size: 12.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 1px 12px; }

@media (max-width: 860px) {
  .top .nav { order: 3; flex-basis: 100%; }
  .phero { padding: 28px 0 24px; }
  .phead { gap: 16px; } .phead img { width: 84px; }
  .pgroup { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .pgroup-h { position: static; } .pgroup-h p { max-width: none; }
  .pair-cols { grid-template-columns: minmax(0, 1fr); gap: 22px 0; }
  .people { grid-template-columns: minmax(0, 1fr); }
  .pctl input { width: 100%; } .pctl label:has(input) { flex: 1 1 220px; }
}
