/* Bull Moose Ledger — tokens and layout. Light and dark from the same ramps; no party colors anywhere. */
/* Dark is the site's default; light is a choice kept in localStorage (data-theme="light"). Two greens: a deep main green for the brand and a bright accent, far enough apart to read as two. */
:root {
  color-scheme: dark;
  --surface: #121311; --surface-2: #1b1d19; --line: #31342d;
  --text: #f5f4ef; --text-2: #cbcabf; --muted: #9c9b90;
  --accent: #52a56c; --accent-strong: #98dba9; --accent-track: #1b4a2b; --accent-wash: rgba(82,165,108,.18); --brand: #98dba9; --brand-ink: #c1ecca;
  --radius: 10px; --gutter: 16px; --max: 1080px;
  --map-0: #22522f; --map-1: #2e6b43; --map-2: #3b8654; --map-3: #4f9f69; --map-4: #6db883; --map-5: #8fcfa0; --map-6: #b6e6c1;
  --map-ink-0: #f5f4ef; --map-ink-1: #f5f4ef; --map-ink-2: #0b0b0b; --map-ink-3: #0b0b0b; --map-ink-4: #0b0b0b; --map-ink-5: #0b0b0b; --map-ink-6: #0b0b0b;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
}
:root[data-theme="light"] {
  color-scheme: light;
  --surface: #f6f5f0; --surface-2: #ebe9e2; --line: #d8d6cc;
  --text: #0b0b0b; --text-2: #45443e; --muted: #6a6960;
  --accent: #2f7f49; --accent-strong: #173f26; --accent-track: #c7dccd; --accent-wash: rgba(47,127,73,.12); --brand: #173f26; --brand-ink: #0f2b1a;
  --map-0: #a6d5b2; --map-1: #80be91; --map-2: #5da674; --map-3: #3e8d59; --map-4: #297344; --map-5: #1d5933; --map-6: #153f25;
  --map-ink-0: #0b0b0b; --map-ink-1: #0b0b0b; --map-ink-2: #0b0b0b; --map-ink-3: #0b0b0b; --map-ink-4: #ffffff; --map-ink-5: #ffffff; --map-ink-6: #ffffff;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--surface); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.45; }
a { color: var(--accent-strong); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
header.site { border-bottom: 1px solid var(--line); border-top: 4px solid var(--brand); }
header.site .wrap { display: flex; align-items: center; gap: 16px 20px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.brand > span { font-family: var(--serif); font-weight: 700; font-size: 20px; letter-spacing: .01em; line-height: 1.1; }
.brand small { display: block; font-family: var(--font); font-weight: 400; color: var(--text-2); font-size: 12px; letter-spacing: .02em; margin-top: 2px; }
.mark { width: 34px; height: 40px; fill: var(--brand); flex: none; }
nav.site { display: flex; gap: 14px; flex-wrap: wrap; }
nav.site a { color: var(--text-2); font-size: 14px; padding: 4px 0; border-bottom: 2px solid transparent; }
nav.site a[aria-current="page"] { color: var(--text); font-weight: 600; border-bottom-color: var(--brand); }
.lensctl { display: inline-flex; margin-left: auto; border: 1px solid var(--line); border-radius: 999px; padding: 2px; background: var(--surface-2); }
.lensctl button { font: inherit; font-size: 12.5px; padding: 4px 10px; border: 0; border-radius: 999px; background: transparent; color: var(--text-2); cursor: pointer; white-space: nowrap; }
.lensctl button[aria-pressed="true"] { background: var(--brand); color: var(--surface); }
.lensctl button:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 1px; }
.lensnote { font-size: 13px; color: var(--text-2); margin: -4px 0 12px; }
.crumbs { font-size: 13px; color: var(--muted); margin: 2px 0 10px; display: flex; flex-wrap: wrap; gap: 4px; }
.crumbs a { color: var(--text-2); }
.crumbs a:not(:first-child)::before, .crumbs span::before { content: "\203A"; margin: 0 6px; color: var(--muted); }
.crumbs span[aria-current] { color: var(--text); }
h1 { font-family: var(--serif); letter-spacing: -.005em; }
.eyebrow { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); font-weight: 600; margin: 0 0 4px; }
main { padding: 20px 0 48px; }
h1 { font-size: 28px; line-height: 1.2; margin: 0 0 6px; }
h2 { font-size: 18px; margin: 28px 0 10px; }
h3 { font-size: 15px; margin: 0 0 6px; }
p { margin: 0 0 12px; }
.lede { color: var(--text-2); max-width: 66ch; }
.muted { color: var(--muted); font-size: 13px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 16px 0 8px; }
.tile { background: var(--surface-2); border-radius: var(--radius); padding: 12px 14px; }
.tile .label { font-size: 13px; color: var(--text-2); }
.tile .value { font-size: 26px; font-weight: 600; line-height: 1.15; margin-top: 2px; font-variant-numeric: proportional-nums; }
.hero { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin: 6px 0 4px; }
.hero .num { font-size: 56px; font-weight: 600; line-height: 1; letter-spacing: -.01em; }
.hero .grade { font-size: 22px; font-weight: 600; color: var(--text-2); }
.hero .sub { color: var(--text-2); }
.grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 720px) { .grid.two { grid-template-columns: 1fr 1fr; } }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 14px 10px; background: var(--surface); }
.card h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.card h3 .share { font-weight: 400; color: var(--text-2); font-size: 13px; white-space: nowrap; }
.rows { list-style: none; margin: 0; padding: 0; }
.row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(90px, 1fr) 62px; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
.row:first-child { border-top: 0; }
.row .who { min-width: 0; }
.row .who a { color: var(--text); font-weight: 600; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .who .seat { color: var(--text-2); font-size: 13px; }
.row .score { text-align: right; font-variant-numeric: tabular-nums; }
.row .score b { font-size: 18px; font-weight: 600; }
.row .score .g { color: var(--text-2); margin-left: 4px; }
.row .score small.period { display: block; font-size: 12px; color: var(--text-2); font-weight: 400; line-height: 1.2; }
.row.cur { grid-template-columns: minmax(0, 1.3fr) 72px minmax(90px, 1fr) 62px; }
.row .now { font-size: 14px; white-space: nowrap; color: var(--text); text-align: right; line-height: 1.15; }
.row .now b { font-weight: 600; }
.row .now small { display: block; font-size: 11px; color: var(--text-2); }
.row .seat .cur-inline { display: none; }
.meter { position: relative; height: 10px; border-radius: 5px; background: var(--accent-track); overflow: hidden; }
.meter > i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--accent); border-radius: 5px; }
.meter.tall { height: 14px; }
.pillars { list-style: none; padding: 0; margin: 0; }
.pillars li { display: grid; grid-template-columns: 120px 1fr 64px; gap: 10px; align-items: center; padding: 6px 0; }
.pillars .name { font-size: 14px; color: var(--text); line-height: 1.2; }
.pillars .name small { display: block; font-size: 12px; }
.pillars .val { font-variant-numeric: tabular-nums; text-align: right; font-size: 15px; font-weight: 600; white-space: nowrap; }
figure { margin: 0; }
figcaption { font-size: 13px; color: var(--text-2); margin-top: 6px; }
.chart { position: relative; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart .grid-line { stroke: var(--line); stroke-width: 1; }
.chart .axis { font-size: 11px; fill: var(--text-2); }
.chart .col { fill: var(--accent); }
.chart .col.hot { fill: var(--accent-strong); }
.chart .hit { fill: transparent; cursor: default; }
.chart .hit:focus-visible { outline: 2px solid var(--accent-strong); }
.chart .dlabel { font-size: 12px; fill: var(--text); font-weight: 600; }
.tip { position: absolute; z-index: 2; pointer-events: none; background: var(--text); color: var(--surface); padding: 8px 10px; border-radius: 8px; font-size: 13px; line-height: 1.35; box-shadow: 0 4px 16px rgba(0,0,0,.18); max-width: 240px; display: none; }
.tip b { font-size: 15px; }
.tip.on { display: block; }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th, td { text-align: left; padding: 8px 8px; border-top: 1px solid var(--line); vertical-align: top; }
th { color: var(--text-2); font-weight: 600; font-size: 13px; border-top: 0; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tag { display: inline-block; font-size: 12px; padding: 1px 7px; border-radius: 999px; background: var(--surface-2); color: var(--text-2); white-space: nowrap; border: 1px solid var(--line); }
/* the coded position: three shapes, and green only for "with Roosevelt" */
.tag.pro { background: var(--brand); color: var(--surface); border-color: var(--brand); }
.tag.anti { background: transparent; border: 1px solid var(--text-2); color: var(--text); }
.tag.missed { background: transparent; border: 1px dashed var(--muted); color: var(--muted); }
.pos .tag { font-size: 13px; font-weight: 600; padding: 2px 9px; }
.pos .cast { display: block; color: var(--muted); font-size: 13px; margin-top: 3px; }
.pos .cast a { color: var(--accent-strong); }
tr.group th { padding: 18px 8px 4px; font-size: 13px; text-transform: uppercase; letter-spacing: .02em; color: var(--text); border-top: 0; }
tbody + tbody tr.group th { border-top: 1px solid var(--line); }
@media (min-width: 600px) { #positions td:first-child { width: 1%; white-space: nowrap; } }
/* the position strip on a vote: Roosevelt's side first, then the pillar, then the covered states' split */
.position { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 2px 0 10px; }
.position .side { font-size: 18px; font-weight: 600; }
.position .meter.split { flex: 1 1 140px; max-width: 220px; }
.position .split-line { font-size: 14px; white-space: nowrap; }
.meter.split { display: flex; gap: 2px; background: transparent; height: 12px; overflow: visible; }
.meter.split > i { position: static; height: 100%; border-radius: 0; flex: none; }
.meter.split > i:first-child { border-radius: 6px 0 0 6px; }
.meter.split > i:last-child { border-radius: 0 6px 6px 0; }
.meter.split > i:only-child { border-radius: 6px; }
.meter.split > i.w { background: var(--accent); }
.meter.split > i.a { background: transparent; border: 1px solid var(--text-2); }
.meter.split > i.m { background: var(--accent-track); }
.newest-pos .tag { margin-left: 2px; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 8px 0 12px; }
.filters select, .filters input { font: inherit; font-size: 14px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--text); }
.cite { border-left: 3px solid var(--accent-track); padding: 6px 12px; margin: 10px 0; color: var(--text); }
.cite .src { display: block; color: var(--text-2); font-size: 13px; margin-top: 4px; }
.note { background: var(--surface-2); border-radius: var(--radius); padding: 10px 12px; font-size: 14px; }
footer.site { border-top: 1px solid var(--line); padding: 18px 0 32px; color: var(--muted); font-size: 13px; }
footer.site p { margin: 0 0 8px; max-width: 78ch; }
footer.site a { color: var(--accent-strong); }
.foot-brand { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; color: var(--text); font-family: var(--serif); font-weight: 700; }
.foot-brand .mark { width: 22px; height: 26px; }
.foot-brand .muted { font-family: var(--font); font-weight: 400; }
.tablewrap { overflow-x: auto; }
@media (max-width: 480px) { .row, .row.cur { grid-template-columns: minmax(0, 1fr) 90px; } .row .meter, .row .now { display: none; } .row .seat .cur-inline { display: inline; } .pillars li { grid-template-columns: 96px 1fr 56px; } }

@media (min-width: 720px) { .grid.three { grid-template-columns: 1fr 1fr 1fr; } }
.card.small h3 { font-size: 14px; }
.chart.map svg { max-width: 320px; }
#map-key { font: inherit; font-size: 13px; font-weight: 400; padding: 2px 6px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--text); margin-left: 6px; }
#zip { font: inherit; font-size: 18px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--text); width: 160px; }

.lensbar { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; margin: 6px 0 14px; padding: 10px 12px; background: var(--surface-2); border-radius: var(--radius); }
.lensbar label { display: inline-flex; gap: 8px; align-items: baseline; }
.lensbar .k { font-size: 13px; color: var(--text-2); font-weight: 600; }
.lensbar select { font: inherit; font-size: 14px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--text); }
.lensbar .blurb { font-size: 13px; color: var(--text-2); flex: 1 1 320px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin: 8px 0 8px; }
.fact { background: var(--surface-2); border-radius: var(--radius); padding: 12px 14px; }
.fact .label { font-size: 13px; color: var(--text-2); }
.fact .value { font-size: 22px; font-weight: 600; line-height: 1.2; margin: 2px 0 4px; }
.fact .src { font-size: 12px; color: var(--muted); margin-top: 6px; }

.chart.scatter svg { max-width: 640px; }
.chart .quad { fill: var(--surface-2); }
.chart .quad-label { font-size: 11px; fill: var(--muted); font-weight: 600; letter-spacing: .02em; }
.chart .dot { fill: var(--accent); stroke: var(--surface); stroke-width: 2; }
.chart .dot.hot { fill: var(--accent-strong); }
.chart .dot-label { font-size: 13px; fill: var(--text); font-weight: 600; }
.chart .quad-label { font-size: 12px; }
/* Big Stick rows: Words and Stick as two bars on one track; the chart on a phone, the table under the scatter on a desktop */
.rows.bs { margin: 0 0 6px; }
.rows.bs li.group { display: block; padding: 14px 0 4px; border-top: 0; }
.rows.bs li.group .tag.quad { font-size: 13px; font-weight: 600; padding: 2px 10px; }
.row.bs { grid-template-columns: minmax(0, 1.1fr) minmax(120px, 1.4fr) 56px; }
.row.bs .bars { display: grid; gap: 4px; }
.row.bs .bar { position: relative; height: 16px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.row.bs .bar > i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; }
.row.bs .bar.words > i { background: transparent; border: 1px solid var(--text-2); box-sizing: border-box; }
.row.bs .bar.stick > i { background: var(--accent); }
.row.bs .bar > span { position: absolute; left: 6px; top: 0; line-height: 16px; font-size: 11px; color: var(--text); white-space: nowrap; }
.row.bs .score b { font-size: 16px; }
@media (max-width: 480px) { .row.bs { grid-template-columns: minmax(0, 1fr) 90px; } .row.bs .bars { grid-column: 1 / -1; } .row.bs .score { grid-row: 1; grid-column: 2; } }
.only-narrow { display: none; }
@media (max-width: 719px) { .chart.scatter, .only-wide { display: none; } .only-narrow { display: inline; } }
.quad-line { margin: -4px 0 10px; font-size: 14px; }
.quad-line .tag.quad { font-size: 14px; font-weight: 600; padding: 3px 10px; text-decoration: none; }
.receipt .q { font-size: 15px; line-height: 1.4; margin: 6px 0; }
.receipt .q:before { content: "\201C"; color: var(--muted); }
.receipt .q:after { content: "\201D"; color: var(--muted); }
.receipt .then { display: grid; grid-template-columns: auto 1fr; gap: 6px 10px; font-size: 14px; margin-top: 8px; }
.receipt .then .k { color: var(--text-2); }
.receipt .nums { display: flex; gap: 14px; flex-wrap: wrap; margin: 4px 0 6px; font-variant-numeric: tabular-nums; }
.receipt .nums b { font-size: 20px; font-weight: 600; }
.receipt .nums span { color: var(--text-2); font-size: 13px; display: block; }

/* state rows on the home page, member groups, measure trees */
.rows.states .row { grid-template-columns: minmax(0, 1.6fr) minmax(90px, 1fr) 62px; }
.rows.states .who a { font-family: var(--serif); font-size: 17px; }
details.cg { border: 1px solid var(--line); border-radius: var(--radius); margin: 0 0 10px; background: var(--surface); }
details.cg > summary { cursor: pointer; padding: 10px 14px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(90px, 140px) 64px; gap: 10px; align-items: center; list-style: none; }
details.cg > summary::-webkit-details-marker { display: none; }
details.cg > summary .t { font-weight: 600; }
details.cg > summary .t small { display: block; font-weight: 400; color: var(--text-2); font-size: 13px; }
details.cg > summary .t::before { content: "\25B8"; color: var(--muted); margin-right: 8px; }
details.cg[open] > summary .t::before { content: "\25BE"; }
details.cg > .tablewrap { padding: 0 8px 8px; }
.linkish { background: none; border: 0; padding: 0; font: inherit; font-size: 13px; color: var(--accent-strong); cursor: pointer; }
.linkish:hover { text-decoration: underline; }
.tree { margin: 6px 0 10px; }
.tree .m { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; margin: 0 0 10px; }
.tree .m h3 { margin: 0 0 4px; font-family: var(--serif); font-size: 17px; }
.tree .m h3 a { color: var(--text); }
.tree .m .meta { font-size: 13px; color: var(--text-2); margin-bottom: 4px; }
.tree ul { list-style: none; margin: 0; padding: 0; }
.tree li { padding: 6px 0 6px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 8px 10px; font-size: 14px; align-items: baseline; }
.tree li:first-child { border-top: 0; }
.tree li.amend { padding-left: 22px; }
.tree li.amend::before { content: "\2514"; color: var(--muted); margin-left: -18px; position: absolute; }
.tree li > ul > li.amend { padding-left: 0; }
.tree li > ul > li.amend::before { margin-left: -18px; }
.tree li .d { color: var(--text-2); font-variant-numeric: tabular-nums; font-size: 13px; }
.tree li .side { font-size: 12px; white-space: nowrap; display: inline-flex; gap: 8px; align-items: center; }
.tree li .side b { font-size: 14px; font-weight: 600; color: var(--text); }
.tree li > ul { grid-column: 1 / -1; margin: 4px 0 0 22px; }
.tree li > ul > li { position: relative; }
.chambers { margin: 10px 0 8px; }
.chambers .chamber { font-size: 15px; margin: 0 0 6px; }
.jump { font-size: 14px; color: var(--text-2); margin: 4px 0 12px; }
.tile .value a { color: inherit; text-decoration: underline; text-decoration-color: var(--accent-track); text-underline-offset: 4px; }
details.considered { margin: 6px 0 16px; font-size: 14px; }
details.considered > summary { cursor: pointer; color: var(--text-2); }
details.considered ul { margin: 6px 0 0; padding-left: 20px; }
details.considered li { margin: 4px 0; }
details.tv { margin-top: 6px; }
details.tv > summary { font-size: 13px; color: var(--text-2); cursor: pointer; }
details.tv table { margin-top: 6px; font-size: 13px; }
.chart .leader { stroke: var(--muted); stroke-width: 1; }
.chart .dot.ring { fill: var(--surface); stroke: var(--accent); stroke-width: 3; }
.chart g[tabindex]:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 2px; }
#map-key { min-width: 0; max-width: 100%; }
.card h3 { flex-wrap: wrap; }
details#corrections { margin: 8px 0 12px; font-size: 14px; }
details#corrections > summary { cursor: pointer; }
details#corrections ul { padding-left: 20px; }
details#corrections li { margin: 4px 0; }
.terms { display: grid; grid-template-columns: max-content 1fr; gap: 4px 12px; font-size: 14px; margin: 8px 0 12px; }
.terms dt { font-weight: 600; }
.terms dd { margin: 0; }
.tree li.current { background: var(--accent-wash); border-radius: 6px; }
.chart .hit.link { cursor: pointer; }
.lensctl { max-width: 100%; overflow-x: auto; }
@media (max-width: 600px) { .lensctl { margin-left: 0; } .lensctl button { padding: 4px 9px; font-size: 12px; } nav.site { gap: 10px; } details.cg > summary { grid-template-columns: minmax(0, 1fr) 64px; } details.cg > summary .meter { display: none; } .tree li { grid-template-columns: 1fr; } .tree li .d { order: -1; } }

/* terms with a definition: dotted underline; hover shows the title, focus and touch show the popover; click goes to the one definition */
.def { color: inherit; position: relative; text-decoration: underline dotted; text-decoration-color: var(--muted); text-underline-offset: 3px; }
.def:hover { text-decoration-style: solid; }
.def:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 2px; }
.def::after { content: attr(data-def); display: none; position: absolute; left: 0; bottom: calc(100% + 6px); z-index: 3; width: max-content; max-width: min(280px, 80vw); white-space: normal; text-align: left; background: var(--text); color: var(--surface); padding: 8px 10px; border-radius: 8px; font: 400 13px/1.35 var(--font); letter-spacing: 0; text-transform: none; box-shadow: 0 4px 16px rgba(0,0,0,.18); }
.def:focus-visible::after, .def[aria-expanded="true"]::after { display: block; }
@media (hover: none) { .def[aria-expanded="true"]::after { content: attr(data-def) "  Tap the term again for the methodology page."; position: fixed; left: var(--gutter); right: var(--gutter); bottom: var(--gutter); top: auto; width: auto; max-width: none; font-size: 14px; padding: 12px 14px; } }
:target { scroll-margin-top: 12px; }
tr:target > td, h3:target, p:target, span:target { background: var(--accent-wash); }
.tag .def { text-decoration-color: currentColor; }
a.tag.quad { text-decoration: none; }
a.tag.quad::after { text-transform: none; letter-spacing: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
/* landing */
.hero-find { margin: 8px 0 22px; }
.hero-find h1 { font-size: 34px; max-width: 18ch; }
.hero-find .lede { max-width: 60ch; }
.find { display: block; margin: 16px 0 8px; }
.find > span { display: block; font-weight: 600; margin-bottom: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 12px; }
.chips a.tag { font-size: 13px; padding: 4px 10px; color: var(--text); }
.chips a.tag:hover { background: var(--accent-wash); text-decoration: none; }
.cards { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 8px; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); } }
.card.member .num { font-size: 40px; font-weight: 600; line-height: 1; }
.card.member .grade { font-size: 18px; color: var(--text-2); margin-left: 8px; }
.card.member h3 a { font-family: var(--serif); font-size: 18px; color: var(--text); }
.card.member .line { font-size: 13px; color: var(--text-2); margin: 6px 0 0; }
.doors .card h3 a { font-family: var(--serif); font-size: 18px; color: var(--text); }
.newest { margin-top: 26px; }
.newest .card h3 { font-family: var(--serif); font-size: 19px; margin-bottom: 6px; }
.newest .card h3 a { color: var(--text); }
/* member summary */
header.member .kpis { margin: 12px 0 14px; }
header.member .hero .grade { text-decoration: none; }
.card.bigstick .nums b { font-size: 22px; }
.card.bigstick .q { font-size: 15px; line-height: 1.4; margin: 6px 0; }
.card.bigstick .q:before { content: "\201C"; color: var(--muted); }
.card.bigstick .q:after { content: "\201D"; color: var(--muted); }
.card.bigstick .then { display: grid; grid-template-columns: auto 1fr; gap: 6px 10px; font-size: 14px; margin-top: 8px; }
.card.bigstick .then .k { color: var(--text-2); }
.card.bigstick .nums { display: flex; gap: 14px; flex-wrap: wrap; margin: 4px 0 6px; font-variant-numeric: tabular-nums; }
.card.bigstick .nums span { color: var(--text-2); font-size: 13px; display: block; }
/* vote page */
.decided { color: var(--text-2); margin: 0 0 8px; }
.record { font-size: 14px; color: var(--text-2); }
.record span { font-variant-caps: all-small-caps; }
.links { font-size: 14px; color: var(--text-2); margin-bottom: 14px; }
.scored { display: grid; grid-template-columns: 130px 1fr; gap: 6px 12px; margin: 0 0 10px; }
.scored dt { color: var(--text-2); font-size: 13px; padding-top: 2px; }
.scored dd { margin: 0; }
.scored .cite { margin: 0; }
@media (max-width: 480px) { .scored { grid-template-columns: 1fr; } .scored dt { padding-top: 6px; } .position .split-line { white-space: normal; } }
details#lenses > summary { cursor: pointer; font-weight: 600; padding: 6px 0; }
details#lenses > summary small { font-weight: 400; color: var(--text-2); }
.card.score h2 { margin: 0 0 10px; font-size: 16px; }

/* map: one hue, seven steps as tokens so light and dark each get their own anchor; the empty tile is a surface with an edge */
.chart.map .empty { fill: var(--surface-2); stroke: var(--line); stroke-width: 1; }
.chart.map .legend text { font-size: 10px; fill: var(--text-2); }

[hidden] { display: none !important; }
.cards > p { grid-column: 1 / -1; }

/* member summary: two scores with a plain sentence each, then words against votes */
.scores { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px 28px; margin: 10px 0 16px; }
.scorebox .big { display: flex; align-items: baseline; gap: 10px; }
.scorebox .num { font-size: 40px; font-weight: 600; line-height: 1; }
.scorebox.lead .num { font-size: 64px; }
.scorebox .big .def { font-size: 22px; font-weight: 600; color: var(--text); text-decoration: none; }
.scorebox.lead .big .def { font-size: 30px; }
.scorebox .what { font-size: 13px; color: var(--text-2); text-transform: uppercase; letter-spacing: .04em; margin: 6px 0 2px; }
.scorebox p { margin: 0; color: var(--text); max-width: 34ch; }
@media (max-width: 560px) { .scores { grid-template-columns: 1fr; } }
.card.bigstick .verdict { font-size: 17px; font-weight: 600; margin: 0 0 8px; }
.card.bigstick .verdict .tag.quad { font-size: 12px; font-weight: 600; vertical-align: middle; }
.card.bigstick p.then { display: block; font-size: 15px; margin: 8px 0 6px; }
details.how { margin-top: 8px; }
details.how > summary { cursor: pointer; font-size: 13px; color: var(--text-2); }
details.how .nums { margin-top: 8px; }
