:root { --dem: #1B4F9C; --dem-1: #8DAFE0; --dem-2: #C9D9F1; --rep: #C2262E; --rep-1: #EC9A9D; --rep-2: #F6D0D1; --ind: #8A8A84; --even: #B9A6C9; }
/* Politician, race, state and money pages. Same rules as the news pages:
   5px rules between sections, 1px between rows, blue only for sources. */
.kick { margin: 0 0 18px; font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--quiet); }
.rec-head .wrap { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.rec-head h1 { max-width: 18ch; }
.rec-head .pic { width: 180px; height: 220px; object-fit: cover; background: var(--rail); flex: none; }

.rec { padding: 0 0 56px; }
.rec h2 { margin: 0 0 8px; padding-top: 18px; border-top: 5px solid var(--ink); font-size: 32px; line-height: 1.1; letter-spacing: -.03em; font-weight: 800; }
.rec h2 small { font-size: 18px; font-weight: 600; color: var(--quiet); letter-spacing: 0; }
.rec h3 { margin: 40px 0 12px; font-size: 22px; letter-spacing: -.02em; font-weight: 800; }
.rec h4 { margin: 24px 0 10px; font-size: 17px; font-weight: 800; }
.rec h4 b { font-weight: 800; }
.rec .sub, .rec .note { margin: 4px 0 20px; color: var(--quiet); font-size: 16px; max-width: 70ch; }
.rec .none { margin: 12px 0 0; font-size: 18px; max-width: 60ch; }

.facts { display: grid; grid-template-columns: 220px minmax(0, 1fr); margin: 20px 0 0; border-top: 1px solid var(--ink); }
.facts dt, .facts dd { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--ink); }
.facts dt { font-weight: 600; color: var(--quiet); }
.facts dd { font-size: 18px; }

.big { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 8px 0 28px; }
.big div { border-top: 1px solid var(--ink); padding-top: 10px; }
.big span { display: block; font-size: 15px; color: var(--quiet); }
.big b { display: block; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.05; letter-spacing: -.04em; font-weight: 800; font-variant-numeric: tabular-nums; }

.bar { display: flex; height: 18px; background: var(--rail); }
.bar i { display: block; height: 100%; }
.b0 { background: var(--ink); }
.b1 { background: #5A5A5A; }
.b2 { background: #9A9A96; }
.b3 { background: repeating-linear-gradient(135deg, var(--ink) 0 2px, var(--paper) 2px 6px); }
.b4 { background: var(--faint); }
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 12px 0 0; padding: 0; font-size: 15px; }
.legend .sw { display: inline-block; width: 12px; height: 12px; margin-right: 8px; vertical-align: -1px; }
.legend b { font-weight: 800; }

.tbl { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink); font-size: 16px; }
.tbl th, .tbl td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--ink); text-align: left; vertical-align: top; }
.tbl thead th { font-size: 14px; color: var(--quiet); font-weight: 600; }
.tbl .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; padding-right: 0; padding-left: 16px; }
.tbl td:last-child.num { font-weight: 800; }
.org { display: block; margin-top: 2px; font-size: 14px; color: var(--quiet); font-weight: 400; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.dfacts { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.dfacts li { padding: 12px 0; border-bottom: 1px solid var(--ink); font-size: 18px; }
.dfacts b { font-weight: 800; }
.scroll { overflow-x: auto; }
.race td:first-child a { font-weight: 800; }

.roster { list-style: none; margin: 16px 0 40px; padding: 0; border-top: 1px solid var(--ink); }
.roster li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--ink); }
.roster a { font-weight: 800; text-decoration: none; }
.roster a:hover { text-decoration: underline; }
.roster span { color: var(--quiet); font-size: 15px; text-align: right; }
.roster.cols { columns: 3; column-gap: 32px; border-top: 0; }
.roster.cols li { break-inside: avoid; }

.find { display: grid; grid-template-columns: minmax(0, 3fr) repeat(3, minmax(0, 1fr)); gap: 16px; margin: 8px 0 12px; }
.find label span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.find input, .find select { width: 100%; padding: 12px; border: 2px solid var(--ink); border-radius: 0; background: var(--paper); font: 400 17px var(--sans); color: var(--ink); }

.stances { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.stances li { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 4px 24px; padding: 16px 0; border-bottom: 1px solid var(--ink); }
.stances .stance { margin: 0; font-size: 18px; font-weight: 600; }
.stances blockquote { grid-column: 2; margin: 0; color: var(--quiet); font-size: 16px; }
.board { font-size: 14px; min-width: 1800px; }
.board th:first-child { position: sticky; left: 0; background: var(--paper); min-width: 220px; }
.board td { min-width: 140px; }
.na { color: var(--faint); }

@media (max-width: 960px) {
  .big { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two { grid-template-columns: 1fr; }
  .find { grid-template-columns: 1fr 1fr; }
  .roster.cols { columns: 2; }
}
@media (max-width: 640px) {
  .rec-head .wrap { flex-direction: column-reverse; align-items: flex-start; }
  .rec-head .pic { width: 120px; height: 146px; }
  .facts, .stances li { grid-template-columns: 1fr; }
  .facts dt { padding-bottom: 0; border-bottom: 0; }
  .stances blockquote { grid-column: 1; }
  .roster li { flex-direction: column; gap: 2px; }
  .roster span { text-align: left; }
  .roster.cols { columns: 1; }
  .find { grid-template-columns: 1fr; }
}
.sources .t, .facts dd, .rec .none, .roster a { overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .tbl { font-size: 15px; }
  .tbl td:first-child { overflow-wrap: anywhere; }
  .tbl .num { white-space: normal; padding-left: 10px; }
}
.race td:last-child.num { font-weight: 400; }
.board .more { display: block; margin-top: 4px; color: var(--quiet); font-size: 13px; }
.issue { border-top: 1px solid var(--ink); padding: 8px 0 24px; }
.issue h3 { margin-top: 12px; }
.issue h4 { margin: 8px 0; color: var(--quiet); font-size: 14px; text-transform: uppercase; letter-spacing: .04em; }
.said, .did { list-style: none; margin: 0; padding: 0; }
.said li, .did li { padding: 8px 0; border-bottom: 1px solid var(--rail); font-size: 16px; }
.said .stance { margin: 0 0 4px; font-weight: 600; }
.said blockquote { margin: 0; color: var(--quiet); font-size: 15px; }
.did b { font-weight: 800; }
.na-li { color: var(--quiet); }
.said .stance { color: var(--ink); }

/* A quote this politician said, on a shirt from our shop */
.wear-note { padding: 0 0 48px; }
.wear-note .card { display: block; max-width: 760px; padding: 18px 22px; background: var(--wash); border-left: 4px solid var(--ink); text-decoration: none; }
.wear-note .k { display: inline-block; margin-bottom: 8px; border: 1px solid currentColor; border-radius: 3px; padding: 1px 7px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.wear-note q { display: block; font-size: 22px; line-height: 1.25; font-weight: 800; letter-spacing: -.02em; }
.wear-note .by { display: block; margin-top: 8px; color: var(--quiet); font-size: 15px; }
.wear-note .card:hover .by { text-decoration: underline; }
.wear-note .more { display: inline-block; margin-top: 10px; font-size: 15px; font-weight: 600; }
.subnav { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.subnav .wrap { display: flex; gap: 24px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; font-size: 15px; font-weight: 600; white-space: nowrap; }
.subnav a { text-decoration: none; color: var(--quiet); }
.subnav a:hover, .subnav a[aria-current] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.countdown { margin: 8px 0 24px; font-size: 22px; }
.countdown b { font-weight: 800; }
.find.one { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin-bottom: 32px; }
.pol-home { padding: 0 0 96px; }
.pol-home .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; border-top: 5px solid var(--ink); padding-top: 24px; }
.pol-home h2 { margin: 0; font-size: 32px; letter-spacing: -.03em; font-weight: 800; }
.pol-home h2 a { text-decoration: none; }
.pol-home h3 { margin: 6px 0 12px; font-size: 20px; font-weight: 800; }
.pol-home .sub { color: var(--quiet); max-width: 52ch; }
.pol-home .find label span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.pol-home .find input { width: 100%; padding: 12px; border: 2px solid var(--ink); border-radius: 0; font: 400 17px var(--sans); }
.pol-home .more { font-weight: 600; }
@media (max-width: 960px) { .pol-home .wrap { grid-template-columns: 1fr; gap: 24px; } }
.people-in { padding: 8px 0 48px; }
.people-in h2 { margin: 0 0 6px; padding-top: 18px; border-top: 5px solid var(--ink); font-size: 28px; letter-spacing: -.03em; font-weight: 800; }
.people-in .sub { margin: 0 0 12px; color: var(--quiet); }
.party { display: inline-block; margin-left: 6px; padding: 1px 7px; border: 1.5px solid var(--ink); font-size: 12px; font-weight: 800; letter-spacing: .02em; vertical-align: 2px; text-transform: uppercase; }
.party.pd { background: var(--dem); border-color: var(--dem); color: #fff; }
.party.pr { background: var(--rep); border-color: var(--rep); color: #fff; }
.party.po { background: var(--ind); border-color: var(--ind); color: #fff; }
.t-d { color: var(--dem); }
.t-r { color: var(--rep); }
.lede .party { margin: 0 8px 0 0; font-size: 14px; vertical-align: 3px; }
.side { margin-top: 20px; max-width: 640px; }
.side p { margin: 0 0 8px; font-size: 17px; }
.side .note { margin-top: 6px; font-size: 14px; color: var(--quiet); }
.rail.chamber { height: 30px; }
.rail.chamber i { height: 40%; }
.rail.chamber b { position: absolute; bottom: 0; width: 4px; margin-left: -2px; height: 100%; background: var(--ink); }
.ends { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; color: var(--quiet); margin-top: 4px; }
.siderail { position: relative; height: 22px; margin-top: 12px; }
.siderail .ln { position: absolute; left: 0; right: 0; top: 9px; height: 4px; background: linear-gradient(90deg, var(--dem), var(--dem-1) 45%, var(--rep-1) 55%, var(--rep)); }
.siderail i { position: absolute; top: 2px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--ink); }
.pac-h { max-width: 22ch !important; font-size: clamp(36px, 5.4vw, 80px) !important; }
/* Politics hub */
.hub-hero { padding: 48px 0 40px; }
.hub-hero h1 { margin: 0; font-size: clamp(48px, 8vw, 128px); line-height: .92; letter-spacing: -.05em; font-weight: 800; }
.hub-hero h1 #cd-n { display: inline-block; min-width: 1ch; }
.hub-hero .lede { margin: 24px 0 28px; font-size: 22px; line-height: 1.4; max-width: 46ch; }
.hub-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 0; margin: 8px 0 0; padding: 0; border-top: 5px solid var(--ink); }
.hub-stats li { flex: 1 1 140px; padding: 14px 16px 0 0; font-size: 15px; color: var(--quiet); }
.hub-stats b { display: block; color: var(--ink); font-size: 34px; letter-spacing: -.03em; font-weight: 800; font-variant-numeric: tabular-nums; }
.seats { display: grid; gap: 3px; margin: 8px 0 6px; }
.seats.senator { grid-template-columns: repeat(25, 1fr); }
.seats.representative { grid-template-columns: repeat(45, 1fr); }
.seat { display: block; aspect-ratio: 1; background: var(--ind); }
.seat.pd { background: var(--dem); }
.seat.pr { background: var(--rep); }
.seat:hover { outline: 2px solid var(--cite); outline-offset: 1px; }
.rcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 16px 0 24px; }
.rcard { border-top: 5px solid var(--ink); padding-top: 12px; }
.rcard h3 { margin: 0 0 12px; font-size: 20px; }
.rcard h3 a { text-decoration: none; }
.rcard h3 a:hover { text-decoration: underline; }
.rcard ul { list-style: none; margin: 0; padding: 0; }
.rcard li { display: grid; grid-template-columns: minmax(0, 1fr) 64px; gap: 4px 12px; padding: 8px 0; border-bottom: 1px solid var(--rail); align-items: center; }
.rcard .who { grid-column: 1 / -1; font-weight: 800; }
.rcard .who a { text-decoration: none; }
.rcard .mbar { height: 10px; background: var(--rail); }
.rcard .mbar i { display: block; height: 100%; background: var(--ind); }
.rcard .mbar.pd i { background: var(--dem); }
.rcard .mbar.pr i { background: var(--rep); }
.rcard li > span { text-align: right; font-size: 14px; font-variant-numeric: tabular-nums; }
.rcard .out { margin: 10px 0 0; font-size: 14px; color: var(--quiet); }
.rcard .out b { color: var(--ink); }
.hub-pair { gap: 48px; margin-top: 16px; }
.spenders { list-style: none; margin: 0 0 16px; padding: 0; border-top: 1px solid var(--ink); }
.spenders li { display: grid; grid-template-columns: minmax(0, 1fr) 120px; gap: 16px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--ink); }
.spenders a { font-weight: 800; text-decoration: none; }
.siderail.mini { height: 14px; margin: 0; }
.siderail.mini .ln { top: 5px; }
.siderail.mini i { top: 1px; width: 12px; height: 12px; margin-left: -6px; }
.roster .party { flex: none; }
@media (max-width: 960px) {
  .rcards { grid-template-columns: 1fr; }
  .seats.representative { grid-template-columns: repeat(29, 1fr); }
}
@media (max-width: 640px) {
  .seats.senator { grid-template-columns: repeat(20, 1fr); }
  .seats.representative { grid-template-columns: repeat(22, 1fr); }
  .hub-stats b { font-size: 26px; }
}
.roster .nm { color: var(--ink); text-align: left; font-size: inherit; }

/* The map */
.usmap { margin: 20px 0 48px; }
.mtabs { display: flex; flex-wrap: wrap; gap: 0; border: 2px solid var(--ink); width: fit-content; max-width: 100%; }
.mtabs button { appearance: none; border: 0; border-right: 2px solid var(--ink); background: var(--paper); color: var(--ink); padding: 10px 16px; font: 800 15px/1.2 var(--sans); cursor: pointer; }
.mtabs button:last-child { border-right: 0; }
.mtabs button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.mkey, .mnote { display: none; }
.usmap[data-mode="u"] .mkey[data-m="u"], .usmap[data-mode="s"] .mkey[data-m="s"], .usmap[data-mode="g"] .mkey[data-m="g"], .usmap[data-mode="h"] .mkey[data-m="h"] { display: flex; }
.mnote[data-m="u"] { display: none; margin: 10px 0 0; font-size: 17px; }
.usmap[data-mode="u"] .mnote[data-m="u"] { display: block; }
.mkey { flex-wrap: wrap; gap: 6px 20px; list-style: none; margin: 14px 0 0; padding: 0; font-size: 14px; font-weight: 600; }
.mkey li { display: flex; align-items: center; gap: 8px; }
.mkey i { width: 16px; height: 16px; display: inline-block; }
.k-d { background: var(--dem); } .k-r { background: var(--rep); } .k-i { background: var(--ind); } .k-n { background: var(--rail); }
.k-d3 { background: var(--dem); } .k-d2 { background: var(--dem-1); } .k-e { background: var(--even); } .k-r2 { background: var(--rep-1); } .k-r3 { background: var(--rep); }
.k-dr { background: repeating-linear-gradient(45deg, var(--dem) 0 4px, var(--rep) 4px 8px); }
.k-di { background: repeating-linear-gradient(45deg, var(--dem) 0 4px, var(--ind) 4px 8px); }
.k-ir { background: repeating-linear-gradient(45deg, var(--rep) 0 4px, var(--ind) 4px 8px); }
.mwrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 24px; align-items: start; margin-top: 12px; }
.usmap svg { width: 100%; height: auto; display: block; }
.usmap .st path, .usmap .st rect { fill: #E0E0DB; stroke: var(--paper); stroke-width: 1; transition: fill .25s; }
.usmap .st:hover path, .usmap .st:focus path, .usmap .st:hover rect, .usmap .st:focus rect { stroke: var(--ink); stroke-width: 2.5; }
.usmap .st:focus { outline: none; }
.usmap .labels text { font: 800 11px var(--sans); fill: var(--ink); stroke: var(--paper); stroke-width: 3px; paint-order: stroke; text-anchor: middle; pointer-events: none; }
.usmap .bl { font: 800 13px var(--sans); fill: var(--ink); }
/* one class per mode on each state; the figure's data-mode picks which one paints */
[data-mode="u"] .u-d :is(path, rect) { fill: var(--dem); }
[data-mode="u"] .u-r :is(path, rect) { fill: var(--rep); }
[data-mode="u"] .u-i :is(path, rect) { fill: var(--ind); }
[data-mode="u"] .u-dr :is(path, rect) { fill: url(#p-dr); }
[data-mode="s"] .s-d :is(path, rect) { fill: var(--dem); }
[data-mode="s"] .s-r :is(path, rect) { fill: var(--rep); }
[data-mode="s"] .s-i :is(path, rect) { fill: var(--ind); }
[data-mode="s"] .s-dr :is(path, rect) { fill: url(#p-dr); }
[data-mode="s"] .s-di :is(path, rect) { fill: url(#p-di); }
[data-mode="s"] .s-ir :is(path, rect) { fill: url(#p-ir); }
[data-mode="g"] .g-d :is(path, rect) { fill: var(--dem); }
[data-mode="g"] .g-r :is(path, rect) { fill: var(--rep); }
[data-mode="g"] .g-i :is(path, rect) { fill: var(--ind); }
[data-mode="h"] .h-d3 :is(path, rect) { fill: var(--dem); }
[data-mode="h"] .h-d2 :is(path, rect) { fill: var(--dem-1); }
[data-mode="h"] .h-e :is(path, rect) { fill: var(--even); }
[data-mode="h"] .h-r2 :is(path, rect) { fill: var(--rep-1); }
[data-mode="h"] .h-r3 :is(path, rect) { fill: var(--rep); }
.minfo { border-top: 5px solid var(--ink); padding-top: 10px; font-size: 15px; min-height: 160px; }
.minfo h4 { margin: 0 0 6px; font-size: 22px; letter-spacing: -.02em; }
.minfo p { margin: 0 0 6px; color: var(--quiet); }
.usmap figcaption { margin-top: 10px; font-size: 14px; color: var(--quiet); max-width: 80ch; }
@media (max-width: 960px) { .mwrap { grid-template-columns: 1fr; } .minfo { min-height: 0; } }
@media (max-width: 640px) { .mtabs button { flex: 1 1 50%; padding: 10px 8px; font-size: 14px; border-bottom: 2px solid var(--ink); margin-bottom: -2px; } .usmap .labels text { font-size: 14px; } }
/* PAC highlight: which side, who it backs, who runs and funds it */
.pac-hl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 32px; margin: 32px 0 0; padding-top: 16px; border-top: 5px solid var(--ink); }
.pac-hl h4 { margin: 0 0 8px; font-size: 14px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--quiet); }
.pac-hl .hl-side { padding: 14px 16px 12px; background: var(--wash); border-left: 6px solid var(--ind); }
.pac-hl .side-d { background: var(--dem-2); border-left-color: var(--dem); }
.pac-hl .side-r { background: var(--rep-2); border-left-color: var(--rep); }
.pac-hl .verdict { margin: 0 0 6px; font-size: 26px; line-height: 1.15; letter-spacing: -.02em; font-weight: 400; }
.pac-hl .verdict b { font-weight: 800; }
.pac-hl .note { margin: 0; font-size: 14px; color: var(--ink); opacity: .8; }
.hl-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); counter-reset: n; }
.hl-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--rail); font-size: 16px; }
.hl-list li span a { font-weight: 800; text-decoration: none; }
.hl-list li span a:hover { text-decoration: underline; }
.hl-list li b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.hl-who { grid-column: 1 / -1; border-top: 1px solid var(--ink); padding-top: 12px; }
.hl-who p { margin: 0 0 8px; font-size: 17px; }
.hl-who .lbl { display: inline-block; min-width: 140px; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; color: var(--quiet); }
.hl-who span { color: var(--quiet); }
.hl-who .more { margin-left: 6px; font-size: 14px; font-weight: 700; }
@media (max-width: 960px) { .pac-hl { grid-template-columns: 1fr; } .hl-who .lbl { display: block; } }
/* Headshots: framed in the party's color, initials underneath in case the photo is missing */
.ph { position: relative; display: inline-flex; flex: none; align-items: center; justify-content: center; overflow: hidden; background: var(--wash); border: 3px solid var(--ind); box-shadow: 0 0 0 1px var(--paper), 0 0 0 2px var(--rail); }
.ph::before { content: attr(data-i); font-weight: 800; color: var(--quiet); letter-spacing: -.02em; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.ph.pd { border-color: var(--dem); } .ph.pr { border-color: var(--rep); }
.ph-sm { width: 44px; height: 54px; border-width: 2px; } .ph-sm::before { font-size: 15px; }
.ph-md { width: 88px; height: 108px; border-width: 4px; } .ph-md::before { font-size: 28px; }
.ph-lg { width: 200px; height: 244px; border-width: 6px; box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--ink); } .ph-lg::before { font-size: 64px; }
@media (max-width: 760px) { .ph-lg { width: 128px; height: 156px; border-width: 5px; } .ph-lg::before { font-size: 40px; } }
.roster.faces li { justify-content: flex-start; align-items: center; gap: 14px; padding: 8px 0; }
.roster.faces .pw { min-width: 0; }
.roster.faces .pw > a { font-weight: 800; text-decoration: none; }
.roster.faces .pw > a:hover { text-decoration: underline; }
.roster.faces .org { text-align: left; }
.roster.faces .party { font-size: 11px; }
@media (min-width: 900px) { .roster.faces { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; } }
/* Follow the money, up top on a candidate's page */
.glance { padding: 8px 0 8px; }
.glance h2 { margin: 0 0 6px; padding-top: 16px; border-top: 5px solid var(--ink); font-size: 32px; letter-spacing: -.03em; font-weight: 800; }
.glance h2 small { font-size: 17px; font-weight: 600; color: var(--quiet); letter-spacing: 0; }
.glance .sub { margin: 0 0 16px; color: var(--quiet); }
.glance .big { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.glance .big .g-for b { color: var(--dem); } .glance .big .g-ag b { color: var(--rep); }
.gcols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 32px; margin: 24px 0 16px; }
.gcols h4 { margin: 0 0 8px; font-size: 14px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--quiet); }
.gcols .hl-list span { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.gcols .hl-list span a { font-weight: 700; }
i.lean { flex: none; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--ind); transform: translateY(-1px); }
i.lean.pd { background: var(--dem); } i.lean.pr { background: var(--rep); }
@media (max-width: 900px) { .gcols { grid-template-columns: 1fr; } }
/* Issue cards: the short version of what they say and did */
.rec h3.area { margin: 28px 0 10px; font-size: 14px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--quiet); }
.icards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.icard { display: block; padding: 14px 16px; border: 2px solid var(--ink); text-decoration: none; color: var(--ink); transition: background .15s; }
.icard:hover { background: var(--wash); }
.icard h4 { margin: 0 0 2px; font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.icard .cnt { margin: 0 0 8px; font-size: 13px; color: var(--quiet); font-weight: 600; }
.icard .q { margin: 0; font-size: 15px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.icard .q.na { color: var(--quiet); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; }
.chips li { font-size: 12px; font-weight: 700; padding: 2px 8px; background: var(--rail); }
.chips li a { text-decoration: none; }
/* The record page */
.rec-mini .wrap { display: flex; gap: 24px; align-items: center; }
.rec-mini h1 { font-size: clamp(36px, 5vw, 64px) !important; }
.rec-mini .kick a { color: inherit; }
.topicnav { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px 24px; margin: 24px 0; padding: 16px 0; border-top: 5px solid var(--ink); border-bottom: 1px solid var(--ink); }
.topicnav b { display: block; margin-bottom: 4px; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--quiet); }
.topicnav a { display: block; padding: 2px 0; font-weight: 700; }
.chipnav { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 16px; }
.chipnav a { padding: 5px 10px; border: 1.5px solid var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; }
.chipnav a:hover { background: var(--ink); color: var(--paper); }
.chipnav small { color: var(--quiet); font-weight: 600; }
.chipnav a:hover small { color: inherit; }
.issue2 { margin-top: 40px; }
.issue2 > .kick { margin: 0 0 4px; }
.subt { padding: 12px 0 20px; border-top: 1px solid var(--ink); scroll-margin-top: 16px; }
.subt h3 { margin: 4px 0 10px; font-size: 22px; letter-spacing: -.02em; }
.subt .one { max-width: 760px; }
.tag { display: inline-block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; padding: 1px 6px; background: var(--ink); color: var(--paper); vertical-align: 1px; }
.tag.co { background: var(--rail); color: var(--ink); }
.tag.v-yea { background: #1E7A4A; } .tag.v-nay { background: #9A3412; } .tag.v-nv { background: var(--ind); }
.more-list summary { cursor: pointer; font-weight: 700; padding: 8px 0; }
/* Policy board */
.pcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin: 8px 0 32px; }
.pcard { border-top: 5px solid var(--ink); padding-top: 10px; }
.pcard h3 { margin: 0 0 2px; font-size: 22px; letter-spacing: -.02em; }
.pcard h3 a { text-decoration: none; } .pcard h3 a:hover { text-decoration: underline; }
.pcard .cnt { margin: 0 0 8px; font-size: 14px; color: var(--quiet); }
.psplit { display: flex; height: 10px; background: var(--rail); }
.psplit i { display: block; height: 100%; } .psplit .d { background: var(--dem); } .psplit .r { background: var(--rep); } .psplit .o { background: var(--ind); }
.pslab { display: flex; justify-content: space-between; margin: 4px 0 12px; font-size: 13px; font-weight: 700; }
.voices { list-style: none; margin: 0; padding: 0; }
.voices li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--rail); }
.voices .who { margin: 0 0 4px; }
.voices .who a { font-weight: 800; text-decoration: none; }
.voices .who .org { display: inline; margin-left: 6px; }
.voices .stance { margin: 0 0 4px; font-size: 17px; }
.voices blockquote { margin: 0; color: var(--quiet); font-size: 15px; }
@media (min-width: 1000px) { .voices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; } }
/* Politics hub, reworked */
.hub-hero > .wrap:first-child { display: grid; grid-template-columns: minmax(0, 7fr) minmax(280px, 4fr); gap: 48px; align-items: end; }
.hh-side { border-top: 5px solid var(--ink); padding-top: 12px; }
.hh-side .kick { margin: 0 0 12px; }
.hh-side .note { margin: 8px 0 0; font-size: 13px; color: var(--quiet); }
.bal { margin: 0 0 18px; }
.bal-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 0 6px; }
.bal-h b { font-size: 22px; letter-spacing: -.02em; }
.bal-h span { font-size: 13px; color: var(--quiet); font-weight: 600; }
.bal-bar { position: relative; display: flex; height: 28px; background: var(--rail); }
.bal-bar i { display: block; height: 100%; }
.bal-bar .d { background: var(--dem); } .bal-bar .r { background: var(--rep); } .bal-bar .o { background: var(--ind); }
.bal-bar .maj { position: absolute; top: -5px; bottom: -5px; width: 2px; margin-left: -1px; background: var(--ink); }
.bal-n { display: flex; justify-content: space-between; margin: 4px 0 0; font-size: 15px; font-weight: 800; }
.hub-hero .hub-stats { margin-top: 32px; }
@media (max-width: 960px) { .hub-hero > .wrap:first-child { grid-template-columns: 1fr; gap: 28px; } }
.rcard li { display: flex; gap: 12px; align-items: center; grid-template-columns: none; }
.rcard .rw { flex: 1; min-width: 0; }
.rcard .who { margin-bottom: 4px; }
.rcard .mrow { display: grid; grid-template-columns: minmax(0, 1fr) 64px; gap: 12px; align-items: center; }
.rcard .mrow span { text-align: right; font-size: 14px; font-variant-numeric: tabular-nums; }
.money3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 16px 0 24px; }
.money3 h4 { margin: 0 0 8px; font-size: 14px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--quiet); }
.money3 .m-d h4 { color: var(--dem); } .money3 .m-r h4 { color: var(--rep); }
.money3 .m-d .hl-list { border-top: 4px solid var(--dem); } .money3 .m-r .hl-list { border-top: 4px solid var(--rep); }
.money3 .hl-list li > span { min-width: 0; }
.money3 .hl-list li > span > a { font-weight: 800; text-decoration: none; }
.money3 .hl-list .org { font-size: 13px; }
@media (max-width: 960px) { .money3 { grid-template-columns: 1fr; } }
.btn.ghost { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); margin-left: 8px; }
.itiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin: 12px 0 28px; }
.itile { display: block; padding: 12px 14px; border: 2px solid var(--ink); text-decoration: none; color: var(--ink); }
.itile:hover { background: var(--wash); }
.itile b { display: block; font-size: 17px; letter-spacing: -.01em; }
.itile span { display: block; margin: 2px 0 8px; font-size: 13px; color: var(--quiet); }
.faces-h { margin: 0 0 12px; font-size: 14px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--quiet); }
.faces { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 20px 16px; margin: 0 0 24px; }
.face { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink); }
.face b { font-size: 16px; line-height: 1.2; }
.face:hover b { text-decoration: underline; }
.face > span:last-child { font-size: 13px; color: var(--quiet); }
.face .party { margin: 0 4px 0 0; }
.stlinks { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 4px 16px; margin: 12px 0 24px; }
.stlinks a { padding: 6px 0; border-bottom: 1px solid var(--rail); font-weight: 700; text-decoration: none; }
.stlinks a:hover { text-decoration: underline; }
.rail.chamber i.pd { background: var(--dem-1); } .rail.chamber i.pr { background: var(--rep-1); }
/* Investing: Congress trades, funds, insiders */
.up { color: #1E7A4A; } .down { color: #B42318; }
.ib { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0 24px; margin: 16px 0 24px; }
.ib div { border-top: 1px solid var(--ink); padding-top: 10px; }
.ib span { display: block; font-size: 14px; color: var(--quiet); }
.ib b { font-size: clamp(26px, 3vw, 40px); letter-spacing: -.03em; font-weight: 800; font-variant-numeric: tabular-nums; }
.tbl td.num, .tbl th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tbl .tk { font-weight: 800; letter-spacing: .02em; }
.tbl.trades td { padding-top: 9px; padding-bottom: 9px; font-size: 15px; }
.tbl .who { display: flex; align-items: center; gap: 10px; }
.tbl .who .ph { flex: none; }
.kchip { display: inline-block; padding: 1px 6px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.kchip.buy { background: #1E7A4A; color: #fff; } .kchip.sell, .kchip.sell_partial { background: #B42318; color: #fff; } .kchip.exchange { background: var(--ind); color: #fff; }
.late { display: inline-block; margin-left: 6px; padding: 0 5px; font-size: 11px; font-weight: 800; border: 1.5px solid #B42318; color: #B42318; }
.tabs { display: flex; flex-wrap: wrap; gap: 0; border: 2px solid var(--ink); width: fit-content; margin: 8px 0 12px; }
.tabs button { appearance: none; border: 0; border-right: 2px solid var(--ink); background: var(--paper); color: var(--ink); padding: 8px 14px; font: 800 14px var(--sans); cursor: pointer; }
.tabs button:last-child { border-right: 0; }
.tabs button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.tabpane[hidden] { display: none; }
.perfchart { width: 100%; height: auto; display: block; margin: 8px 0 4px; }
.perfchart .grid { stroke: var(--rail); stroke-width: 1; }
.perfchart .f { fill: none; stroke: var(--ink); stroke-width: 2.5; }
.perfchart .s { fill: none; stroke: var(--ind); stroke-width: 2; stroke-dasharray: 5 4; }
.perfchart text { font: 600 12px var(--sans); fill: var(--quiet); }
.legend2 { display: flex; gap: 20px; font-size: 14px; font-weight: 600; margin: 0 0 16px; }
.legend2 i { display: inline-block; width: 22px; height: 0; border-top: 3px solid var(--ink); vertical-align: middle; margin-right: 6px; }
.legend2 i.s { border-top: 2px dashed var(--ind); }
.wbar { display: inline-block; height: 8px; background: var(--ink); vertical-align: middle; margin-right: 6px; }
.findfund { margin: 8px 0 24px; max-width: 640px; }
.findfund input { width: 100%; padding: 12px; border: 2px solid var(--ink); font: 400 17px var(--sans); }
.findfund ul { list-style: none; margin: 0; padding: 0; }
.findfund li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--rail); }
.findfund li a { font-weight: 800; text-decoration: none; }
.caveat { padding: 14px 16px; background: var(--wash); border-left: 4px solid var(--ink); font-size: 15px; max-width: 80ch; margin: 0 0 24px; }
.big1 { margin: 4px 0 0; font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.tradecard { margin: 8px 0 0; padding: 16px 18px; border: 2px solid var(--ink); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 24px; align-items: center; }
.tradecard h4 { grid-column: 1 / -1; margin: 0; font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--quiet); }
.tradecard p { margin: 0; font-size: 17px; }
@media (max-width: 760px) { .tradecard { grid-template-columns: 1fr; } }

.ib small { display: block; margin-top: 2px; font-size: 13px; color: var(--quiet); line-height: 1.35; }
