:root {
  --ink: #151311;
  --ink-2: #2d2925;
  --ink-3: #4c453f;
  --ink-4: #595148;
  --paper: #f8f5ee;
  --paper-2: #f1ebdf;
  --paper-3: #e5dccd;
  --rule: #cabfac;
  --accent: #b03b2d;
  --accent-dark: #84291f;
  --gold: #9a7822;
  --blue: #1e4f7f;
  --dem: #1e4f7f;
  --rep: #922525;
  --ok: #275d2e;
  --warn: #7a5a08;
  --risk: #7b2720;
  --container: 1180px;
  --shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scrollbar-gutter: stable;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Source Serif 4', Georgia, serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-dark);
}

a:hover {
  color: var(--accent);
}

body.public-shell [hidden] {
  display: none !important;
}

.top-bar {
  background: var(--ink);
  color: #c0b6a4;
  font-family: 'DM Mono', monospace;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 22px;
  flex-wrap: wrap;
}

.top-bar a {
  color: #ddd4c6;
  text-decoration: none;
}

.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f0ba2a;
  margin-right: 6px;
}

.mast-wrap {
  border-bottom: 3px double var(--ink);
}

.mast {
  max-width: var(--container);
  margin: 0 auto;
  padding: 22px 24px 18px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mast-side {
  font-family: 'DM Mono', monospace;
  font-size: 0.63rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--ink-4);
  line-height: 1.8;
}

.mast-side.right {
  text-align: right;
}

.wordmark {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ink);
  text-align: center;
  display: block;
}

.word-sub {
  text-align: center;
  color: var(--ink-4);
  font-size: 0.78rem;
  font-style: italic;
}

nav {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid var(--rule);
  background: rgba(248, 245, 238, 0.96);
  backdrop-filter: blur(4px);
}

nav .inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(360px, 1.2fr) auto;
  align-items: start;
  gap: 18px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-self: end;
}

.nav-links a {
  font-family: 'DM Mono', monospace;
  font-size: 0.67rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-decoration: none;
  padding: 13px 14px;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a.active {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.nav-links a.contribute {
  color: var(--gold);
}

nav .search-pill {
  margin-left: auto;
  font-family: 'DM Mono', monospace;
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  border: 1px solid var(--rule);
  background: var(--paper-2);
  border-radius: 30px;
  padding: 6px 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.page-head {
  padding: 28px 0 20px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 22px;
}

.breadcrumb {
  font-family: 'DM Mono', monospace;
  font-size: 0.61rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--ink-4);
  margin-bottom: 9px;
}

.breadcrumb strong {
  color: var(--ink-3);
}

.page-head h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.page-head p {
  margin-top: 10px;
  max-width: 760px;
  color: var(--ink-2);
  font-size: 0.96rem;
}

.label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 8px;
  margin-bottom: 14px;
}

.label-row .label {
  font-family: 'DM Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.62rem;
  color: var(--ink);
}

.label-row .meta {
  font-family: 'DM Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.58rem;
  color: var(--ink-4);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-bottom: 22px;
}

.stats-grid .cell {
  background: #fff;
  padding: 14px 12px;
  text-align: center;
}

.stats-grid .value {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.62rem;
  line-height: 1;
  font-weight: 700;
  color: var(--ink);
}

.stats-grid .value.gold {
  color: var(--gold);
}

.stats-grid .label {
  margin-top: 5px;
  font-family: 'DM Mono', monospace;
  font-size: 0.56rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-4);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 26px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.card {
  background: #fff;
  border: 1px solid var(--rule);
}

.card.soft {
  background: var(--paper-2);
}

.card.pad {
  padding: 16px;
}

.card.pad-lg {
  padding: 20px;
}

.hero-search {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
  padding: 22px;
  background: linear-gradient(140deg, #fff 0%, #fbf8f1 60%, #f1ebdd 100%);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow);
  margin-bottom: 22px;
}

.hero-search h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  line-height: 1.16;
  margin-bottom: 8px;
}

.hero-search p {
  color: var(--ink-2);
  max-width: 560px;
  font-size: 0.95rem;
}

.input-label {
  display: block;
  margin-bottom: 6px;
  font-family: 'DM Mono', monospace;
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-4);
}

.search-row {
  display: block;
}

.unified-search {
  position: relative;
}

.unified-search-row {
  display: flex;
  gap: 8px;
}

.search-row input,
.unified-search-row input,
.select,
textarea,
input[type='text'] {
  width: 100%;
  border: 1px solid var(--rule);
  background: #fff;
  color: var(--ink);
  padding: 10px 12px;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.95rem;
}

.search-row input:focus,
.unified-search-row input:focus,
.select:focus,
textarea:focus,
input[type='text']:focus {
  outline: 2px solid rgba(30, 79, 127, 0.25);
  border-color: var(--blue);
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.btn,
button {
  border: 1px solid var(--rule);
  background: #fff;
  color: var(--ink);
  padding: 9px 14px;
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  cursor: pointer;
}

.btn:hover,
button:hover {
  border-color: var(--ink-3);
}

.btn.primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.btn.primary:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.btn.gold {
  border-color: var(--gold);
  color: var(--gold);
  background: #fffdf7;
}

.btn.gold:hover {
  background: var(--gold);
  color: #fff;
}

.btn.row {
  width: 100%;
}

.pill-row {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.pill {
  font-family: 'DM Mono', monospace;
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border: 1px solid var(--rule);
  border-radius: 15px;
  color: var(--ink-3);
  background: var(--paper);
}

.pill.dem {
  color: var(--dem);
  border-color: var(--dem);
  background: #edf3f9;
}

.pill.rep {
  color: var(--rep);
  border-color: var(--rep);
  background: #f8eded;
}

.pill.warn {
  color: var(--gold);
  border-color: var(--gold);
  background: #fdf8e8;
}

.pill.ok {
  color: var(--ok);
  border-color: var(--ok);
  background: #edf7ee;
}

.map-wrap {
  background: #fff;
  border: 1px solid var(--rule);
  padding: 14px;
}

.map-surface {
  border: 1px solid var(--rule);
  background: linear-gradient(180deg, #f8f5ee 0%, #f0e8da 100%);
  min-height: 235px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 56px;
  gap: 8px;
  padding: 12px;
}

.state-chip {
  border: 1px solid var(--ink-3);
  background: #fff;
  color: var(--ink);
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.state-chip:hover,
.state-chip.active {
  background: var(--ink);
  color: #fff;
}

.result-box {
  margin-top: 12px;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  padding: 12px;
}

.result-box strong {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem;
}

.meta-line {
  margin-top: 3px;
  font-family: 'DM Mono', monospace;
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-4);
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.kpi {
  border: 1px solid var(--rule);
  background: #fff;
  padding: 12px;
}

.kpi .k {
  font-family: 'DM Mono', monospace;
  font-size: 0.54rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-4);
}

.kpi .v {
  display: block;
  margin-top: 2px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  line-height: 1.1;
  color: var(--ink);
}

.race-card,
.topic-card,
.row-card,
.source-card {
  background: #fff;
  border: 1px solid var(--rule);
  margin-bottom: 10px;
}

.race-card .head,
.topic-card .head,
.row-card .head,
.source-card .head {
  padding: 14px 16px;
  border-bottom: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.race-card .head h3,
.topic-card .head h3,
.row-card .head h3,
.source-card .head h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  line-height: 1.2;
}

.race-card .body,
.topic-card .body,
.row-card .body,
.source-card .body {
  padding: 14px 16px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'DM Mono', monospace;
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 12px;
  border: 1px solid var(--rule);
  color: var(--ink-3);
  padding: 2px 8px;
  background: #fff;
}

.tag.dem {
  border-color: var(--dem);
  color: var(--dem);
  background: #eef4fb;
}

.tag.rep {
  border-color: var(--rep);
  color: var(--rep);
  background: #f9eeee;
}

.tag.warn {
  border-color: var(--gold);
  color: var(--warn);
  background: #fdf8ea;
}

.conf {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'DM Mono', monospace;
  font-size: 0.56rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 12px;
  padding: 2px 9px;
  border: 1px solid;
}

.conf.high {
  color: var(--ok);
  border-color: var(--ok);
  background: #ebf5ec;
}

.conf.med {
  color: var(--warn);
  border-color: #a27a14;
  background: #fcf4dc;
}

.conf.low {
  color: var(--risk);
  border-color: #a03f37;
  background: #fceceb;
}

.party-line {
  width: 4px;
  border-radius: 2px;
  flex-shrink: 0;
}

.party-line.dem {
  background: var(--dem);
}

.party-line.rep {
  background: var(--rep);
}

.compare-grid {
  border: 1px solid var(--rule);
  overflow: hidden;
}

.compare-head,
.compare-row {
  display: grid;
  grid-template-columns: 170px 1fr 1px 1fr;
}

.compare-head {
  background: var(--paper-2);
  border-bottom: 2px solid var(--ink);
}

.compare-head > div,
.compare-row > div {
  padding: 12px 13px;
}

.compare-head > div {
  padding: 16px 14px;
}

.compare-row {
  border-bottom: 1px solid var(--rule);
}

.compare-row:last-child {
  border-bottom: none;
}

.compare-divider {
  background: var(--rule);
  padding: 0 !important;
}

.topic-col {
  background: #fbf8f1;
  border-right: 1px solid var(--rule);
}

.topic-col strong {
  display: block;
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--ink-2);
  margin-bottom: 6px;
}

.compare-cand-head {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.compare-cand-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.12;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.compare-cand-name .pill {
  font-size: 0.52rem;
  padding: 1px 8px;
}

.compare-cand-meta {
  font-family: 'DM Mono', monospace;
  font-size: 0.56rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink-4);
}

.compare-cand-link {
  font-family: 'DM Mono', monospace;
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-dark);
  text-decoration: none;
}

.compare-cand-link:hover {
  text-decoration: underline;
}

.stance {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 6px;
}

.quote {
  color: var(--ink-2);
  font-style: italic;
  font-size: 0.82rem;
  line-height: 1.5;
  margin-bottom: 6px;
  padding-left: 9px;
}

.quote.dem {
  border-left: 2px solid var(--dem);
}

.quote.rep {
  border-left: 2px solid var(--rep);
}

.source {
  font-family: 'DM Mono', monospace;
  font-size: 0.56rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink-4);
}

.timeline {
  border-left: 1px solid var(--rule);
  margin-left: 8px;
  padding-left: 14px;
}

.timeline .item {
  position: relative;
  margin-bottom: 15px;
}

.timeline .item:last-child {
  margin-bottom: 0;
}

.timeline .item::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
  position: absolute;
  left: -19px;
  top: 4px;
  background: #fff;
  border: 2px solid var(--rule);
}

.timeline .item.shift::before {
  border-color: var(--gold);
  background: #fdf8ea;
}

.timeline .date {
  font-family: 'DM Mono', monospace;
  font-size: 0.57rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-4);
}

.timeline .event {
  margin-top: 2px;
  color: var(--ink-2);
  font-size: 0.82rem;
}

.rich-shift {
  padding-bottom: 12px;
}

.shift-before-after {
  display: grid;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--ink-2);
}

.timeline-evidence-list {
  display: grid;
  gap: 10px;
}

.timeline-evidence {
  border-top: 1px solid var(--rule);
  padding-top: 10px;
}

.timeline-evidence:first-child {
  border-top: 0;
  padding-top: 0;
}

.timeline-evidence .date {
  font-size: 0.54rem;
}

.timeline-evidence .event {
  margin-top: 4px;
  font-style: italic;
}

.source-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.source-context {
  color: var(--ink-3);
  margin-bottom: 8px;
  line-height: 1.5;
}

.notice {
  border: 1px solid var(--rule);
  border-left: 3px solid var(--gold);
  background: #fdf9ef;
  padding: 11px 13px;
  font-size: 0.8rem;
  color: var(--ink-2);
}

.notice strong {
  color: var(--ink);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--rule);
  background: #fff;
}

.table th,
.table td {
  border-bottom: 1px solid var(--rule);
  text-align: left;
  padding: 9px 10px;
  font-size: 0.8rem;
  color: var(--ink-2);
}

.table th {
  background: var(--paper-2);
  font-family: 'DM Mono', monospace;
  font-size: 0.57rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}

.table tr:last-child td {
  border-bottom: none;
}

.code {
  font-family: 'DM Mono', monospace;
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.trend-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.trend {
  border: 1px solid var(--rule);
  background: #fff;
  padding: 12px;
}

.trend .t-label {
  font-family: 'DM Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.56rem;
  color: var(--ink-4);
}

.trend .t-value {
  margin-top: 4px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.32rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
}

.footer {
  margin-top: 28px;
  border-top: 1px solid rgba(203, 189, 167, 0.95);
  background: rgba(247, 243, 235, 0.82);
  color: var(--ink-4);
  padding: 22px 0;
}

.footer .inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer .brand {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
}

.footer .copy {
  font-family: 'DM Mono', monospace;
  font-size: 0.56rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink-4);
}

.mt-8 {
  margin-top: 8px;
}

.mt-10 {
  margin-top: 10px;
}

.mt-14 {
  margin-top: 14px;
}

.mt-18 {
  margin-top: 18px;
}

.mt-22 {
  margin-top: 22px;
}

.mb-12 {
  margin-bottom: 12px;
}

.mb-16 {
  margin-bottom: 16px;
}

.text-small {
  font-size: 0.82rem;
  color: var(--ink-2);
}

.text-muted {
  color: var(--ink-4);
}

.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

@media (max-width: 1020px) {
  .hero-search,
  .grid-2,
  .split {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trend-grid {
    grid-template-columns: 1fr;
  }

  .compare-head,
  .compare-row {
    grid-template-columns: 1fr;
  }

  .compare-divider {
    display: none;
  }

  .topic-col {
    border-right: none;
    border-bottom: 1px solid var(--rule);
  }
}

@media (max-width: 760px) {
  nav .inner {
    overflow-x: auto;
    scrollbar-width: none;
  }

  nav .inner::-webkit-scrollbar {
    display: none;
  }

  .mast {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .mast-side,
  .mast-side.right {
    text-align: center;
  }

  .map-surface {
    grid-template-columns: repeat(3, 1fr);
  }

  .form-grid,
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

.nav-search-wrap {
  padding: 8px 0;
}

.nav-search {
  width: 100%;
}

.nav-search .unified-search-row {
  gap: 10px;
}

.nav-search input {
  min-width: 0;
  width: 100%;
  border: 1px solid var(--rule);
  background: #fff;
  color: var(--ink);
  padding: 9px 12px;
  border-radius: 999px;
  font: inherit;
}

.nav-search button {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  padding: 9px 14px;
  border-radius: 999px;
  font-family: 'DM Mono', monospace;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.search-suggestions {
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  right: 0;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-top: 0;
  box-shadow: 0 18px 28px rgba(41, 36, 28, 0.12);
  z-index: 120;
  max-height: min(32rem, calc(100vh - 160px));
  overflow-y: auto;
  overscroll-behavior: contain;
}

.unified-search.suggest-open .unified-search-row {
  border-bottom-color: transparent;
}

.search-suggest-section + .search-suggest-section {
  border-top: 1px solid var(--rule);
}

.search-suggest-heading {
  padding: 10px 14px 8px;
  font-family: 'DM Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-4);
}

.search-suggest-item {
  display: block;
  padding: 10px 14px;
  border-top: 1px solid rgba(202, 191, 172, 0.55);
  text-decoration: none;
  color: var(--ink);
}

.search-suggest-item:first-of-type {
  border-top: 0;
}

.search-suggest-item:hover,
.search-suggest-item.active {
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
}

.search-suggest-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.search-suggest-title {
  font-weight: 600;
  color: var(--ink);
}

.search-suggest-kind,
.search-suggest-meta,
.search-suggest-badge,
.search-suggest-view-all {
  font-family: 'DM Mono', monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.search-suggest-kind {
  font-size: 0.58rem;
  color: var(--accent-dark);
}

.search-suggest-meta {
  margin-top: 4px;
  font-size: 0.6rem;
  color: var(--ink-4);
}

.search-suggest-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.search-suggest-badge {
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 0.57rem;
  color: var(--ink-3);
}

.search-suggest-footer {
  border-top: 1px solid var(--rule);
  padding: 10px 14px;
}

.search-suggest-view-all {
  font-size: 0.61rem;
  color: var(--accent-dark);
  text-decoration: none;
}

.hero-head {
  padding-top: 34px;
}

.lede {
  max-width: 54rem;
  color: var(--ink-2);
}

.filters-row,
.search-row-wide .unified-search-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filters-row input,
.search-row-wide .unified-search-row input {
  flex: 1 1 220px;
  border: 1px solid var(--rule);
  background: #fff;
  padding: 12px 14px;
  color: var(--ink);
  font: inherit;
}

.race-grid,
.candidate-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.candidate-card,
.search-card {
  border: 1px solid var(--rule);
  background: #fff;
  padding: 16px;
  box-shadow: var(--shadow);
}

.candidate-card h3,
.race-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.1;
}

.candidate-card h3 a,
.race-card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.name-link {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(95, 82, 56, 0.28);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

.name-link:hover,
.candidate-card h3 a:hover,
.race-card h3 a:hover {
  color: var(--accent-dark);
  text-decoration-color: currentColor;
}

.public-card-counts,
.race-name-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-top: 10px;
  color: var(--ink-3);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.35;
}

.public-card-counts {
  border-top: 1px solid rgba(169, 180, 185, 0.26);
  display: block;
  gap: 0;
  padding-top: 11px;
}

.public-card-finance {
  margin: 6px 0 0;
  color: var(--ink-3);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.45;
}

.meta-line + .public-card-finance {
  border-top: 1px solid rgba(169, 180, 185, 0.26);
  padding-top: 11px;
}

.race-name-list {
  gap: 6px;
}

.party-name-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--rule);
  border-radius: 0;
  background: var(--surface);
  color: var(--ink-2);
  padding: 4px 7px;
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
}

.party-name-chip.dem {
  border-color: rgba(58, 102, 150, 0.3);
  background: rgba(226, 236, 247, 0.92);
  color: var(--dem);
}

.party-name-chip.rep {
  border-color: rgba(139, 71, 69, 0.3);
  background: rgba(248, 233, 232, 0.92);
  color: var(--rep);
}

.party-name-chip.other {
  border-color: rgba(92, 104, 114, 0.24);
  background: rgba(238, 241, 243, 0.92);
  color: var(--ink-3);
}

.party-name-chip:hover {
  border-color: currentColor;
  text-decoration: none;
}

.campaign-site-stance-card {
  display: grid;
  gap: 12px;
  min-width: 0;
  margin: 0;
  padding: 0;
  background: transparent;
}

.campaign-site-section-head {
  display: grid;
  gap: 4px;
}

.campaign-site-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rule);
}

.campaign-site-item {
  display: grid;
  gap: 8px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}

.campaign-site-item-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.campaign-site-item-head strong {
  color: var(--ink);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.campaign-site-item-head em,
.campaign-site-summary,
.campaign-site-change-pair {
  color: var(--ink-4);
  font-style: normal;
}

.campaign-site-summary,
.campaign-site-change-pair {
  font-size: 0.95rem;
  line-height: 1.5;
}

.campaign-site-change-pair {
  display: grid;
  gap: 8px;
}

.campaign-site-change-pair b {
  color: var(--ink-2);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  margin-right: 6px;
  text-transform: uppercase;
}

.campaign-paid-messaging-card {
  grid-column: 1 / -1;
}

.campaign-paid-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.campaign-paid-summary h3 {
  margin: 0 0 8px;
  color: var(--ink-2);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.campaign-paid-summary ul {
  list-style: none;
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.campaign-paid-summary li {
  display: grid;
  gap: 2px;
  padding: 10px 0;
  border-top: 1px solid var(--rule);
}

.campaign-paid-summary strong {
  color: var(--ink);
  font-size: 0.95rem;
}

.campaign-paid-summary span {
  color: var(--ink-4);
  font-size: 0.88rem;
}

.campaign-total-spend {
  display: grid;
  grid-template-columns: minmax(190px, 0.55fr) minmax(0, 1.8fr);
  gap: 22px;
  margin: 20px 0 18px;
  padding: 16px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  font-family: 'Public Sans', system-ui, sans-serif;
}

.campaign-total-main {
  display: grid;
  gap: 6px;
  align-content: start;
  padding-right: 6px;
}

.campaign-total-main span,
.campaign-spend-branch-head span,
.campaign-outside-split-item span {
  color: var(--ink-3);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.campaign-total-main strong {
  color: var(--ink);
  font-size: 1.42rem;
  font-weight: 850;
  line-height: 1.05;
}

.campaign-total-main p,
.campaign-spend-branch-meta {
  margin: 0;
  color: var(--ink-3);
  font-size: 0.8rem;
  line-height: 1.4;
}

.campaign-spend-tree {
  display: grid;
  gap: 12px;
}

.campaign-spend-branch {
  display: grid;
  grid-template-columns: minmax(160px, 0.55fr) minmax(0, 1fr);
  gap: 8px 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}

.campaign-spend-branch:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.campaign-spend-branch-head {
  display: grid;
  gap: 4px;
}

.campaign-spend-branch-head strong {
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 850;
  line-height: 1.1;
}

.campaign-spend-branch-head strong em,
.campaign-outside-split-item strong em {
  color: var(--ink-3);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 800;
}

.campaign-spend-branch-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  align-items: baseline;
}

.campaign-outside-split {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.campaign-outside-split-item {
  display: grid;
  gap: 3px;
  padding: 8px 10px;
  background: color-mix(in oklch, var(--surface) 96%, var(--ink) 2%);
}

.campaign-outside-split-oppose {
  background: color-mix(in oklch, var(--surface) 94%, var(--risk) 5%);
}

.campaign-outside-split-item strong {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 850;
  line-height: 1.08;
}

.campaign-total-inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 9px;
  color: var(--ink-2);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.25;
}

.campaign-total-inline-links span {
  color: var(--ink-3);
}

.campaign-total-inline-links a {
  color: var(--ink);
  font-weight: 700;
  white-space: nowrap;
  text-decoration: underline;
  text-decoration-color: var(--rule-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.campaign-controlled-spend {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--rule);
  background: var(--rule);
  font-family: 'Public Sans', system-ui, sans-serif;
}

.campaign-controlled-spend > div {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 14px 16px;
  background: color-mix(in oklch, var(--surface) 94%, var(--accent) 4%);
}

.campaign-controlled-spend strong {
  display: block;
  color: var(--ink);
  font-size: 1.28rem;
  font-weight: 850;
  line-height: 1;
}

.campaign-controlled-spend h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 850;
  line-height: 1.25;
}

.campaign-controlled-spend p {
  max-width: 66ch;
  margin: 0;
  color: var(--ink-3);
  font-size: 0.83rem;
  line-height: 1.45;
}

.campaign-spend-section-label {
  display: block;
  margin: 18px 0 8px;
  color: var(--ink-3);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.campaign-controlled-spend .campaign-spend-section-label {
  margin: 0;
}

.campaign-spend-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 18px 0 12px;
  overflow: hidden;
  border: 1px solid var(--rule);
  background: var(--rule);
  font-family: 'Public Sans', system-ui, sans-serif;
}

.campaign-spend-summary-item {
  display: grid;
  gap: 3px;
  min-height: 92px;
  padding: 14px 16px;
  align-content: start;
  background: var(--surface);
}

.campaign-spend-summary-item b {
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0;
}

.campaign-spend-summary-item span {
  color: var(--ink-2);
  font-size: 0.84rem;
  font-weight: 750;
  line-height: 1.3;
}

.campaign-spend-summary-item em {
  color: var(--ink-4);
  font-size: 0.76rem;
  font-style: normal;
  line-height: 1.35;
}

.campaign-spend-table-wrap {
  overflow-x: auto;
  margin-top: 12px;
  border: 1px solid var(--rule);
  background: var(--surface);
}

.campaign-spend-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: var(--surface);
}

.campaign-spend-table th,
.campaign-spend-table td {
  padding: 11px 10px;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-2);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.83rem;
  line-height: 1.45;
  vertical-align: top;
  text-align: left;
}

.campaign-spend-table thead th {
  color: var(--ink-3);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.campaign-spend-table tbody tr:last-child th,
.campaign-spend-table tbody tr:last-child td {
  border-bottom: 0;
}

.campaign-spend-table th strong,
.campaign-spend-table td b {
  display: block;
  color: var(--ink);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.98rem;
}

.campaign-spend-org-link {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.campaign-spend-org-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-top: 6px;
  color: var(--ink-3);
  font-size: 0.78rem;
  line-height: 1.35;
}

.campaign-spend-org-links a {
  color: var(--ink);
  font-weight: 650;
  white-space: nowrap;
  text-decoration: underline;
  text-decoration-color: var(--rule-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.campaign-spend-table th > span,
.campaign-spend-table td > span {
  display: block;
  margin-top: 4px;
  color: var(--ink-4);
  line-height: 1.4;
}

.campaign-spend-funding {
  display: grid;
  margin-top: 8px;
  color: var(--ink-4);
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.35;
}

.campaign-direction-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-top: 8px;
  color: var(--ink-4);
  font-size: 0.78rem;
  line-height: 1.35;
}

.campaign-direction-pill {
  display: inline-flex;
  align-items: baseline;
  padding: 1px 5px;
  border: 1px solid transparent;
  font-weight: 700;
}

.campaign-direction-pill-oppose {
  border-color: color-mix(in oklch, var(--risk) 35%, transparent);
  background: color-mix(in oklch, var(--risk) 8%, transparent);
  color: color-mix(in oklch, var(--risk) 82%, var(--ink));
}

.campaign-spend-channel {
  display: block;
  margin-top: 6px;
  color: var(--ink-4);
  font-size: 0.82rem;
  line-height: 1.4;
}

.campaign-spend-record-count {
  color: var(--ink-3);
  font-weight: 700;
}

.campaign-spend-fec-links {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
  margin-top: 0;
  color: var(--ink-4);
  font-size: 0.82rem;
  line-height: 1.4;
  justify-items: start;
}

.campaign-spend-fec-links strong {
  color: var(--ink-3);
  font-weight: 800;
  line-height: 1.2;
}

.campaign-spend-fec-links a {
  color: var(--ink);
  font-weight: 650;
  line-height: 1.25;
  white-space: nowrap;
  text-decoration: underline;
  text-decoration-color: var(--rule-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.campaign-record-details {
  margin-top: 8px;
  color: var(--ink-3);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.8rem;
}

.campaign-record-details summary {
  cursor: pointer;
  color: var(--ink-3);
  font-weight: 750;
}

.campaign-record-details ul {
  display: grid;
  gap: 7px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.campaign-record-details li {
  display: grid;
  gap: 2px;
}

.campaign-record-details li strong {
  color: var(--ink-2);
  font-size: 0.8rem;
  font-weight: 750;
  line-height: 1.35;
}

.campaign-record-details li span,
.campaign-record-detail-link {
  color: var(--ink-4);
  font-size: 0.76rem;
  line-height: 1.35;
}

.campaign-record-details a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.campaign-record-detail-row td {
  padding-top: 0;
  background: color-mix(in oklch, var(--surface) 96%, var(--ink) 2%);
}

.campaign-record-detail-row .campaign-record-details {
  margin: 0;
}

.campaign-record-detail-row .campaign-record-details summary {
  padding: 8px 0;
}

.campaign-record-detail-row .campaign-record-details ul {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px 18px;
  padding: 4px 0 10px;
}

.campaign-site-stance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 12px 0 18px;
}

@media (max-width: 760px) {
  .campaign-site-stance-grid {
    grid-template-columns: 1fr;
  }
  .campaign-paid-summary {
    grid-template-columns: 1fr;
  }
  .campaign-total-spend,
  .campaign-spend-branch,
  .campaign-outside-split {
    grid-template-columns: 1fr;
  }
  .campaign-spend-summary {
    grid-template-columns: 1fr;
  }
  .campaign-controlled-spend {
    grid-template-columns: 1fr;
  }
  .campaign-spend-table-wrap {
    overflow: visible;
    border: 0;
  }
  .campaign-spend-table {
    min-width: 0;
  }
  .campaign-spend-table thead {
    display: none;
  }
  .campaign-spend-table,
  .campaign-spend-table tbody,
  .campaign-spend-table tr,
  .campaign-spend-table th,
  .campaign-spend-table td {
    display: block;
    width: 100%;
  }
  .campaign-spend-table tr {
    display: grid;
    gap: 8px;
    padding: 13px 0;
    border-bottom: 1px solid var(--rule);
    background: var(--surface);
  }
  .campaign-spend-table tr:last-child {
    border-bottom: 0;
  }
  .campaign-spend-table th,
  .campaign-spend-table td {
    border-bottom: 0;
    padding: 0;
  }
  .campaign-spend-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 3px;
    color: var(--ink-4);
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
  }
  .campaign-record-detail-row .campaign-record-details ul {
    grid-template-columns: 1fr;
  }
}

.stack-list {
  display: grid;
  gap: 16px;
}

.race-card.compact {
  margin-bottom: 0;
}

.candidate-chooser {
  border-top: 1px solid var(--rule);
  padding-top: 14px;
}

.candidate-selector-group .meta-line {
  margin-bottom: 8px;
}

.candidate-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.candidate-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rule);
  background: #fff;
  color: var(--ink-2);
  padding: 8px 12px;
  border-radius: 999px;
  font-family: 'DM Mono', monospace;
  font-size: 0.64rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
}

.candidate-chip.dem {
  border-color: rgba(30, 79, 127, 0.35);
}

.candidate-chip.rep {
  border-color: rgba(146, 37, 37, 0.35);
}

.selected-chip,
.active-chip {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.compact-row {
  margin-bottom: 10px;
}

.coverage-list {
  margin-left: 18px;
  display: grid;
  gap: 10px;
}

.coverage-list li {
  color: var(--ink-2);
}

.empty-state {
  border: 1px dashed var(--rule);
  background: rgba(255, 255, 255, 0.6);
  padding: 18px;
  color: var(--ink-3);
}

.muted {
  opacity: 0.78;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.cards .card {
  padding: 14px;
}

.cards .label {
  font-family: 'DM Mono', monospace;
  font-size: 0.56rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-4);
}

.cards .value {
  margin-top: 6px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.9rem;
  line-height: 1;
}

.four-up {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.three-up {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.stack-card {
  border: 1px solid var(--rule);
  background: #fff;
  padding: 14px;
}

.table-card {
  overflow-x: auto;
}

.coverage-matrix td {
  vertical-align: top;
}

.coverage-matrix-cell a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.coverage-matrix-cell.selected {
  background: #fcf7ea;
}

.matrix-count {
  margin-top: 6px;
  font-weight: 600;
  color: var(--ink);
}

.matrix-evidence-line {
  margin-top: 5px;
  font-size: 0.74rem;
  color: var(--ink-3);
  line-height: 1.4;
}

.evidence-section-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.stack {
  display: grid;
  gap: 12px;
}

.topic-stack,
.comparison-shell {
  display: grid;
  gap: 18px;
}

.topic-block,
.comparison-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(203, 189, 167, 0.95);
  box-shadow: var(--shadow);
}

.topic-block-header,
.comparison-card .card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(203, 189, 167, 0.9);
}

.topic-block-header h2,
.comparison-card .card-head h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  line-height: 1;
}

.topic-block-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(203, 189, 167, 0.95);
}

.topic-column,
.candidate-column {
  background: rgba(255, 255, 255, 0.9);
  padding: 18px 20px 20px;
}

.topic-column-title,
.candidate-subcard h4 {
  margin: 0 0 12px;
  color: var(--ink-4);
  font-family: 'DM Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.shift-box {
  border: 1px solid rgba(203, 189, 167, 0.88);
  background: rgba(241, 235, 223, 0.72);
  padding: 14px;
  display: grid;
  gap: 12px;
}

.shift-pair {
  display: grid;
  gap: 8px;
  color: var(--ink-2);
  font-size: 0.86rem;
  line-height: 1.5;
}

.shift-pair strong {
  color: var(--ink);
  font-family: 'DM Mono', monospace;
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.artifact-support-wrap {
  display: grid;
  gap: 10px;
}

.artifact-support-list {
  display: grid;
  gap: 10px;
}

.artifact-support {
  border: 1px solid rgba(203, 189, 167, 0.8);
  background: rgba(255, 255, 255, 0.78);
}

.artifact-support summary {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  cursor: pointer;
  list-style: none;
}

.artifact-support summary::-webkit-details-marker {
  display: none;
}

.artifact-support-title {
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.35;
}

.artifact-support-meta {
  color: var(--ink-3);
  font-family: 'DM Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.artifact-support-affordance {
  color: var(--civic-blue);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.25;
}

.artifact-support-affordance > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.artifact-support-affordance [aria-hidden="true"] {
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
}

.artifact-support-affordance > .artifact-support-affordance-collapse {
  display: none;
}

.artifact-support[open] .artifact-support-affordance > .artifact-support-affordance-expand {
  display: none;
}

.artifact-support[open] .artifact-support-affordance > .artifact-support-affordance-collapse {
  display: inline-flex;
}

.artifact-support-body {
  border-top: 1px solid rgba(203, 189, 167, 0.7);
  padding: 12px 14px 14px;
  display: grid;
  gap: 12px;
}

.quote-inline {
  color: var(--ink-2);
  font-style: italic;
  line-height: 1.5;
}

.artifact-support-group {
  display: grid;
  gap: 8px;
}

.artifact-detail-meta {
  display: grid;
  gap: 6px;
  margin: 0;
  color: var(--ink-3);
  font-size: 0.8rem;
  line-height: 1.45;
}

.artifact-detail-meta div {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
}

.artifact-detail-meta dt {
  color: var(--ink-4);
  font-weight: 800;
}

.artifact-detail-meta dd {
  margin: 0;
}

.artifact-detail-list {
  list-style: none;
  display: grid;
  gap: 8px;
}

.artifact-detail-list.quotes,
.artifact-detail-list.claims,
.artifact-detail-list.qa,
.artifact-detail-list.activity-context-list {
  padding-left: 12px;
}

.artifact-detail-list li {
  border-top: 1px solid rgba(203, 189, 167, 0.62);
  padding-top: 8px;
  color: var(--ink-2);
  font-size: 0.84rem;
  line-height: 1.48;
}

.artifact-detail-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.artifact-evidence-kind {
  color: var(--ink-4);
  font-family: 'DM Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.artifact-qa-turn {
  display: grid;
  gap: 4px;
}

.artifact-qa-line strong {
  color: var(--ink);
}

.artifact-speaker {
  color: var(--ink);
  font-weight: 800;
}

.vote-item-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.vote-item {
  border-top: 1px solid rgba(203, 189, 167, 0.72);
  padding-top: 10px;
  display: grid;
  gap: 8px;
}

.vote-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.vote-item-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.vote-item-title {
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.35;
}

.inline-coverage-grid,
.topic-coverage-compare {
  display: grid;
  gap: 1px;
  background: rgba(203, 189, 167, 0.95);
  border-top: 1px solid rgba(203, 189, 167, 0.95);
}

.inline-coverage-grid {
  grid-template-columns: 0.95fr 1.25fr 1fr 1fr;
}

.topic-coverage-compare {
  grid-template-columns: 1fr;
}

.inline-coverage-card,
.coverage-compare-card {
  background: rgba(255, 255, 255, 0.88);
  padding: 16px 18px 18px;
}

.coverage-compare-card.shared {
  background: rgba(239, 231, 217, 0.72);
}

.question-snippet-list {
  display: grid;
  gap: 10px;
}

.question-snippet {
  border-top: 1px solid rgba(203, 189, 167, 0.72);
  padding-top: 10px;
}

.question-snippet:first-child {
  border-top: 0;
  padding-top: 0;
}

.gap-list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.gap-list li {
  border-top: 1px solid rgba(203, 189, 167, 0.72);
  padding-top: 10px;
}

.gap-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.gap-copy {
  color: var(--ink-2);
  font-size: 0.84rem;
  line-height: 1.48;
}

.comparison-card .comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(203, 189, 167, 0.95);
}

.candidate-column-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.candidate-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1.08;
  color: var(--ink);
}

.candidate-meta {
  margin-top: 6px;
  font-family: 'DM Mono', monospace;
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-4);
}

.candidate-section {
  display: grid;
  gap: 12px;
}

.candidate-topic-meta {
  display: grid;
  gap: 12px;
}

.candidate-subcard {
  border: 1px solid rgba(203, 189, 167, 0.84);
  background: rgba(255, 255, 255, 0.72);
  padding: 12px;
}

.conf-dot {
  width: 14px;
  height: 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  flex: 0 0 auto;
  padding: 0;
  position: relative;
  min-width: 14px;
  min-height: 14px;
  -webkit-tap-highlight-color: transparent;
}

.conf-dot::after {
  content: attr(data-label);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translate(-50%, 4px);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  background: #111;
  border-radius: 999px;
  color: #fff;
  font-family: 'DM Mono', monospace;
  font-size: 0.56rem;
  letter-spacing: 0.07em;
  padding: 6px 8px;
  transition: opacity 140ms ease, transform 140ms ease;
  z-index: 20;
}

.conf-dot:hover::after,
.conf-dot:focus-visible::after,
.conf-dot[data-open='true']::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.conf-dot.high {
  background: rgba(42, 106, 52, 0.14);
  border-color: var(--ok);
  box-shadow: inset 0 0 0 3px rgba(42, 106, 52, 0.38);
}

.conf-dot.med {
  background: rgba(141, 101, 16, 0.14);
  border-color: var(--warn);
  box-shadow: inset 0 0 0 3px rgba(141, 101, 16, 0.34);
}

.conf-dot.low {
  background: rgba(138, 42, 36, 0.14);
  border-color: var(--risk);
  box-shadow: inset 0 0 0 3px rgba(138, 42, 36, 0.34);
}

.timeline {
  position: relative;
}

.timeline .item {
  padding: 12px 14px 12px 16px;
  border: 1px solid var(--rule);
  border-left-width: 4px;
  background: #fff;
}

.timeline .item.linked {
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.05);
}

.timeline-item-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 6px;
}

.activity-control-stack {
  display: grid;
  gap: 8px;
}

.timeline .item.artifact,
.timeline .item.appearance {
  border-left-color: var(--dem);
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.timeline .item.vote {
  border-left-color: var(--accent);
  background: linear-gradient(180deg, #fff 0%, #fff7f1 100%);
}

.timeline .item.artifact::before,
.timeline .item.appearance::before {
  border-color: var(--dem);
  background: #edf3f9;
}

.timeline .item.vote::before {
  border-color: var(--accent);
  background: #fff1e3;
}

.timeline .item.question::before {
  border-color: var(--accent-dark);
}

.timeline .item.gap::before {
  border-color: var(--rep);
}

.activity-context {
  margin-top: 12px;
  border-top: 1px solid var(--rule);
  padding-top: 10px;
}

.activity-context summary {
  cursor: pointer;
  font-family: 'DM Mono', monospace;
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-4);
}

.activity-context-body {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.activity-context-card {
  border: 1px solid var(--rule);
  background: var(--paper);
  padding: 10px 12px;
}

@media (max-width: 980px) {
  .race-grid,
  .candidate-grid,
  .source-grid,
  .cards,
  .three-up,
  .evidence-section-grid,
  .topic-block-grid,
  .inline-coverage-grid,
  .comparison-card .comparison-grid {
    grid-template-columns: 1fr;
  }

  nav .inner {
    grid-template-columns: 1fr;
  }

  .nav-links {
    justify-self: start;
    flex-wrap: wrap;
  }

  .nav-search-wrap,
  .nav-search {
    width: 100%;
  }

  .nav-search input {
    min-width: 0;
    flex: 1 1 auto;
  }

  .timeline-item-head {
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .filters-row,
  .search-row-wide .unified-search-row {
    flex-direction: column;
  }

  .filters-row button,
  .search-row-wide button,
  .unified-search-row button {
    width: 100%;
  }

  .search-suggest-topline {
    flex-direction: column;
    align-items: flex-start;
  }

  .topic-block-header,
  .comparison-card .card-head,
  .candidate-column-head,
  .page-head,
  .footer .inner {
    align-items: start;
  }
}

/* Public UI design system refresh */

:root {
  --ink: #17212b;
  --ink-2: #2c3944;
  --ink-3: #475660;
  --ink-4: #5f6d77;
  --paper: oklch(96.6% 0.008 248);
  --paper-2: oklch(98.5% 0.004 248);
  --paper-3: oklch(95.2% 0.012 248);
  --rule: oklch(53% 0.026 248 / 0.22);
  --rule-strong: oklch(45% 0.034 248 / 0.38);
  --surface: oklch(99.2% 0.003 248);
  --surface-soft: oklch(98.2% 0.006 248);
  --surface-high: oklch(92.6% 0.023 248);
  --inverse-surface: #0b0f10;
  --primary: #4b5c72;
  --primary-strong: #3f4c61;
  --primary-container: #d9e4ea;
  --primary-glow: rgba(217, 228, 234, 0.88);
  --civic-blue: oklch(43% 0.105 250);
  --civic-blue-soft: oklch(95.5% 0.026 250);
  --civic-red: oklch(43% 0.105 24);
  --civic-red-soft: oklch(96% 0.024 24);
  --dem: #3a6696;
  --rep: #8b4745;
  --ok: #237061;
  --warn: #8c6e24;
  --risk: #8b4745;
  --shadow: 0 8px 20px rgba(23, 33, 43, 0.04);
  --shadow-strong: 0 12px 28px rgba(23, 33, 43, 0.06);
  --container: 1260px;
}

html {
  background: var(--paper);
}

body.public-shell {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Public Sans', system-ui, sans-serif;
  line-height: 1.58;
}

body.public-shell.page-candidate,
body.public-shell.page-race {
  --paper: #fff;
  --paper-2: #fff;
  --paper-3: oklch(97.4% 0.006 248);
  --surface: #fff;
  --surface-soft: oklch(96.8% 0.008 248);
  --surface-high: oklch(93.8% 0.017 248);
  --rule: oklch(38% 0.027 248 / 0.2);
  --rule-strong: oklch(30% 0.034 248 / 0.42);
  --shadow: 0 8px 20px rgba(23, 33, 43, 0.055);
  background: var(--paper);
}

body.public-shell.page-candidate nav.site-nav,
body.public-shell.page-race nav.site-nav {
  background: var(--surface-soft);
}

body.public-shell::before,
body.public-shell::after {
  display: none;
}

body.public-shell a {
  color: var(--primary);
  text-decoration: none;
  transition:
    color 140ms ease,
    background-color 140ms ease,
    border-color 140ms ease,
    box-shadow 140ms ease,
    transform 140ms ease;
}

body.public-shell a:hover {
  color: var(--ink);
}

body.public-shell .top-bar {
  background: #14191f;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.78);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0;
  text-transform: none;
}

body.public-shell .top-bar .inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 6px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

body.public-shell .top-bar a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

body.public-shell .top-bar a:hover {
  border-bottom-color: rgba(255, 255, 255, 0.42);
}

body.public-shell .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.public-shell .live-dot {
  width: 9px;
  height: 9px;
  margin-right: 8px;
  background: #8ea3c8;
  box-shadow: none;
}

body.public-shell .brand-lockup {
  flex: 0 0 auto;
  min-width: 0;
}

body.public-shell .wordmark {
  color: var(--ink);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: clamp(1.62rem, 1.95vw, 2.05rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.92;
  font-kerning: normal;
  font-feature-settings: "kern" 1;
  text-rendering: optimizeLegibility;
}

body.public-shell nav.site-nav {
  position: sticky;
  top: 0;
  z-index: 220;
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  overflow: visible;
}

body.public-shell nav.site-nav .inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 32px);
  overflow: visible;
}

body.public-shell .nav-search-wrap {
  flex: 0 1 30rem;
  min-width: 18rem;
  max-width: 30rem;
  padding: 0;
  overflow: visible;
}

body.public-shell .nav-search {
  width: auto;
  overflow: visible;
}

body.public-shell .nav-search .unified-search-row {
  gap: 0;
  align-items: center;
  min-height: 42px;
  border: 1px solid var(--rule-strong);
  background: rgba(255, 255, 255, 0.7);
}

body.public-shell .unified-search-row,
body.public-shell .unified-search-row input,
body.public-shell .nav-search input {
  border-radius: 0;
}

body.public-shell .nav-search .unified-search-row input:focus {
  outline: 0;
}

body.public-shell .nav-search .unified-search:focus-within .unified-search-row {
  border-color: rgba(81, 95, 116, 0.48);
  box-shadow: none;
}

body.public-shell .nav-search .unified-search {
  overflow: visible;
}

body.public-shell .nav-search .unified-search.suggest-open {
  z-index: 240;
}

body.public-shell .nav-links {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 2px;
  margin-left: auto;
}

body.public-shell .nav-links a {
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--ink-4);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 8px 10px 7px;
  text-transform: uppercase;
}

body.public-shell .nav-links a:hover {
  background: transparent;
  color: var(--ink);
}

body.public-shell .nav-links a.active {
  background: transparent;
  border-bottom-color: var(--ink);
  color: var(--ink);
}

body.public-shell.page-candidate nav.site-nav .inner,
body.public-shell.page-race nav.site-nav .inner {
  padding-top: 12px;
  padding-bottom: 10px;
  gap: 18px;
}

body.public-shell.page-candidate .nav-search .unified-search-row,
body.public-shell.page-race .nav-search .unified-search-row {
  gap: 0;
}

body.public-shell.page-candidate .nav-search input,
body.public-shell.page-race .nav-search input {
  padding: 10px 14px;
  font-size: 0.92rem;
}

body.public-shell.page-candidate .nav-links a,
body.public-shell.page-race .nav-links a {
  font-size: 0.69rem;
  padding: 8px 10px 7px;
}

body.public-shell .wrap {
  max-width: var(--container);
  padding: 0 24px 88px;
}

body.public-shell .page-stack {
  display: grid;
  gap: 24px;
  min-width: 0;
  padding-top: 24px;
  position: relative;
  z-index: 1;
}

body.public-shell .page-stack > * {
  min-width: 0;
}

body.public-shell.page-candidate .page-stack,
body.public-shell.page-race .page-stack {
  gap: 16px;
  padding-top: 18px;
}

body.public-shell .shell-signal-band {
  position: relative;
  z-index: 1;
}

body.public-shell .shell-signal-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding-top: 18px;
}

body.public-shell .shell-signal {
  padding: 12px 16px;
  border: 1px solid var(--rule);
  background: var(--surface);
  color: var(--ink-2);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.35;
}

body.public-shell .shell-signal a {
  color: inherit;
  border-bottom: 1px solid rgba(81, 95, 116, 0.18);
}

body.public-shell .search-results-status {
  color: var(--ink-3);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
}

body.public-shell .search-results-status p {
  margin: 0;
}

body.public-shell .split-search .label-row,
body.public-shell .search-results-list .label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

body.public-shell.page-search .search-results-list .section-heading,
body.public-shell.page-races .section-heading {
  font-size: 1.48rem;
}

body.public-shell .breadcrumb,
body.public-shell .meta-line,
body.public-shell .source,
body.public-shell .input-label,
body.public-shell .label-row .meta,
body.public-shell .topic-column-title,
body.public-shell .candidate-subcard h4,
body.public-shell .artifact-support-meta,
body.public-shell .artifact-evidence-kind,
body.public-shell .candidate-meta,
body.public-shell .cards .label,
body.public-shell .timeline .date,
body.public-shell .search-suggest-kind,
body.public-shell .search-suggest-meta,
body.public-shell .search-suggest-view-all,
body.public-shell .search-suggest-heading,
body.public-shell .footer .copy {
  color: var(--ink-4);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
}

body.public-shell .label-row {
  display: grid;
  align-items: flex-start;
  border-bottom: 0;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 0;
}

body.public-shell .section-heading {
  margin: 0;
  color: var(--ink);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

body.public-shell .label-row .meta {
  text-align: left;
  margin: 0;
}

body.public-shell .page-head {
  display: grid;
  gap: 18px;
  border: 1px solid var(--rule);
  padding: clamp(28px, 4vw, 42px);
  margin-bottom: 0;
  background: var(--surface);
  box-shadow: var(--shadow);
}

body.public-shell .page-head::before {
  display: none;
}

body.public-shell .page-head h1 {
  margin: 0;
  color: var(--ink);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: clamp(2.6rem, 7vw, 4.9rem);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.07em;
  max-width: 13ch;
  text-wrap: balance;
}

body.public-shell .page-head p,
body.public-shell .lede {
  margin: 0;
  max-width: 52rem;
  color: var(--ink-2);
  font-family: 'Newsreader', Georgia, serif;
  font-size: clamp(1.16rem, 2.2vw, 1.4rem);
  line-height: 1.56;
}

body.public-shell .page-head .stack {
  gap: 14px;
}

body.public-shell .page-head .actions {
  justify-content: flex-start;
}

body.public-shell.page-candidate .page-head,
body.public-shell.page-race .page-head {
  padding: 18px 20px;
  gap: 12px;
}

body.public-shell.page-candidate .page-head .stack,
body.public-shell.page-race .page-head .stack {
  gap: 8px;
}

body.public-shell.page-candidate .page-head .text-small,
body.public-shell.page-race .page-head .text-small {
  max-width: 44rem;
  font-size: 0.92rem;
}

body.public-shell.page-candidate .page-head .actions .btn,
body.public-shell.page-race .page-head .actions .btn {
  padding: 9px 14px;
  font-size: 0.78rem;
}

body.public-shell.page-candidate .page-head .pill,
body.public-shell.page-race .page-head .pill {
  padding: 6px 10px;
  font-size: 0.78rem;
}

body.public-shell.page-candidate .candidate-head {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  gap: 8px;
}

body.public-shell.page-candidate .candidate-head h1,
body.public-shell.page-race .race-head h1 {
  font-size: clamp(1.95rem, 3.4vw, 2.8rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  max-width: none;
  text-wrap: pretty;
}

body.public-shell.page-candidate .candidate-head h1 {
  white-space: nowrap;
}

body.public-shell.page-race .race-head {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  gap: 8px;
}

body.public-shell.page-candidate .candidate-inline-meta,
body.public-shell.page-race .race-inline-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--ink-3);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
}

body.public-shell.page-candidate .candidate-inline-item,
body.public-shell.page-race .candidate-inline-item {
  display: inline-flex;
  align-items: center;
}

body.public-shell .candidate-ballot-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 1.45rem;
  padding: 0 8px;
  border: 1px solid rgba(148, 77, 59, 0.26);
  background: rgba(148, 77, 59, 0.08);
  color: #7a3528;
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

body.public-shell .candidate-ballot-status.compact {
  min-height: 1.25rem;
  margin-top: 5px;
  padding: 0 7px;
  font-size: 0.66rem;
}

body.public-shell a.candidate-ballot-status:hover {
  border-color: rgba(148, 77, 59, 0.42);
  background: rgba(148, 77, 59, 0.12);
}

body.public-shell.page-candidate .candidate-inline-sep {
  color: var(--ink-4);
}

body.public-shell.page-candidate .candidate-race-link {
  color: var(--ink);
  border-bottom: 1px solid rgba(91, 107, 118, 0.24);
}

body.public-shell.page-candidate .candidate-race-link:hover {
  border-bottom-color: rgba(91, 107, 118, 0.5);
}

body.public-shell.page-candidate .candidate-race-list {
  display: inline;
}

body.public-shell.page-candidate .candidate-context-summary {
  display: grid;
  gap: 9px;
  max-width: 58rem;
  margin-bottom: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 10px;
  color: var(--ink-2);
  font-family: 'Public Sans', system-ui, sans-serif;
}

body.public-shell.page-candidate .candidate-context-summary summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  list-style: none;
}

body.public-shell.page-candidate .candidate-context-summary summary::-webkit-details-marker {
  display: none;
}

body.public-shell.page-candidate .candidate-context-summary-label,
body.public-shell.page-candidate .candidate-context-static-head span {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 850;
}

body.public-shell.page-candidate .candidate-context-summary-main {
  display: grid;
  gap: 7px;
  min-width: 0;
}

body.public-shell.page-candidate .candidate-context-preview-list {
  display: grid;
  gap: 4px;
}

body.public-shell.page-candidate .candidate-context-preview-item {
  display: grid;
  gap: 2px;
  min-width: 0;
}

body.public-shell.page-candidate .candidate-context-preview-item strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--ink-2);
  font-size: 0.8rem;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.public-shell.page-candidate .candidate-context-preview-item em {
  color: var(--ink-4);
  font-size: 0.67rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.2;
}

body.public-shell.page-candidate .candidate-context-preview-more {
  color: var(--ink-4);
  font-size: 0.72rem;
  font-weight: 750;
}

body.public-shell.page-candidate .candidate-context-summary summary b,
body.public-shell.page-candidate .candidate-context-static-head b {
  display: grid;
  gap: 2px;
  justify-items: end;
  color: var(--ink-4);
  flex: 0 0 auto;
  font-size: 0.72rem;
  font-weight: 750;
  line-height: 1.2;
  text-align: right;
}

body.public-shell.page-candidate .candidate-context-summary[open] .candidate-context-toggle-show,
body.public-shell.page-candidate .candidate-context-toggle-hide {
  display: none;
}

body.public-shell.page-candidate .candidate-context-summary[open] .candidate-context-toggle-hide {
  display: inline;
}

body.public-shell.page-candidate .candidate-context-static-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

body.public-shell.page-candidate .candidate-context-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.public-shell.page-candidate .candidate-context-list.extra {
  padding-top: 8px;
  border-top: 1px solid var(--rule);
}

body.public-shell.page-candidate .candidate-context-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  color: var(--ink-2);
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.35;
}

body.public-shell.page-candidate .candidate-context-list a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(91, 107, 118, 0.24);
}

body.public-shell.page-candidate .candidate-context-list em {
  color: var(--ink-4);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 700;
}

body.public-shell .ballot-deadline-panel {
  display: grid;
  gap: 12px;
  padding: 14px 0 16px;
  border-bottom: 1px solid var(--rule);
}

body.public-shell .ballot-deadline-panel.compact {
  padding-top: 2px;
}

body.public-shell .ballot-deadline-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  color: var(--ink-3);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
}

body.public-shell .ballot-deadline-head > span:first-child {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 850;
}

body.public-shell .ballot-deadline-head strong {
  color: var(--ink);
  font-size: 0.84rem;
}

body.public-shell .ballot-deadline-checked,
body.public-shell .ballot-deadline-sources {
  color: var(--ink-3);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 650;
}

body.public-shell .ballot-deadline-panel ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.public-shell .ballot-deadline-panel li {
  min-height: 44px;
  padding: 9px 10px;
  color: var(--ink);
  background: color-mix(in srgb, var(--paper) 88%, var(--blue) 12%);
  border: 1px solid var(--rule);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
}

body.public-shell .ballot-deadline-sources a {
  color: var(--ink);
  border-bottom: 1px solid rgba(91, 107, 118, 0.24);
}

body.public-shell .ballot-deadline-sources a:hover {
  border-bottom-color: rgba(91, 107, 118, 0.5);
}

body.public-shell .compact-head {
  gap: 14px;
  padding: 22px 24px;
}

body.public-shell .compact-head h1 {
  font-size: clamp(2.2rem, 5.2vw, 3.6rem);
  line-height: 0.96;
  max-width: 12ch;
}

body.public-shell .compact-head .stack {
  gap: 10px;
}

body.public-shell .compact-head .actions {
  gap: 8px;
  flex-wrap: wrap;
}

body.public-shell.page-candidate .compact-head,
body.public-shell.page-race .compact-head {
  gap: 10px;
  padding: 18px 20px;
}

body.public-shell.page-candidate .compact-head {
  gap: 6px;
  padding: 10px 20px 12px;
}

body.public-shell.page-candidate .compact-head h1,
body.public-shell.page-race .compact-head h1 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 0.98;
  max-width: 10ch;
}

body.public-shell.page-candidate .compact-head h1 {
  font-size: clamp(1.75rem, 2.9vw, 2.35rem);
  max-width: none;
  white-space: nowrap;
}

body.public-shell .topic-overview-shell,
body.public-shell .compare-pair-shell {
  display: grid;
  gap: 12px;
}

body.public-shell .topic-overview-controls {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 20px;
}

body.public-shell.page-candidate .page-stack > .pill-row.mb-16,
body.public-shell.page-race .page-stack > .pill-row.mb-16 {
  gap: 8px;
  margin-bottom: 8px;
}

body.public-shell.page-candidate .page-stack > .pill-row.mb-16 .pill,
body.public-shell.page-race .page-stack > .pill-row.mb-16 .pill {
  padding: 7px 12px;
}

body.public-shell.page-candidate .topic-overview-shell,
body.public-shell.page-race .topic-overview-shell {
  gap: 10px;
}

body.public-shell .candidate-positions-panel {
  display: grid;
  gap: 12px;
}

body.public-shell.page-candidate .candidate-page-body,
body.public-shell.page-race .race-page-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-items: start;
}

body.public-shell.page-candidate .candidate-view-panel-stack,
body.public-shell.page-race .race-view-panel-stack {
  display: grid;
  min-width: 0;
}

body.public-shell.page-candidate .candidate-view-panel-stack > [data-candidate-panel] {
  display: grid;
  gap: 16px;
  margin-bottom: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.public-shell.page-candidate .overview-head,
body.public-shell.page-race .overview-head {
  gap: 12px;
}

body.public-shell .candidate-view-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 6px 16px;
  max-width: 100%;
  min-width: 0;
  overflow: visible;
  padding-bottom: 0;
  border: 0;
  border-bottom: 1px solid var(--rule);
  background: transparent;
  box-shadow: none;
}

body.public-shell .candidate-view-nav.mb-16 {
  margin-bottom: 0;
}

body.public-shell .candidate-view-link {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  min-width: 0;
  max-width: none;
  margin-bottom: -1px;
  padding: 0 0 9px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--ink);
  box-shadow: none;
  text-decoration: none;
}

body.public-shell .candidate-view-link::after {
  display: none;
}

body.public-shell .candidate-view-link:hover {
  background: transparent;
  color: var(--ink);
  border-bottom-color: var(--rule-strong);
}

body.public-shell .candidate-view-link.active-chip {
  background: transparent;
  color: var(--ink);
  border-bottom-color: var(--ink);
}

body.public-shell .candidate-view-label {
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.12;
}

body.public-shell .candidate-tab-intro {
  display: grid;
  gap: 3px;
  margin-top: 8px;
  padding: 1px 0 2px 12px;
  border-bottom: 0;
  color: var(--ink-3);
}

body.public-shell .candidate-tab-intro p {
  max-width: none;
  margin: 0;
  color: var(--ink-3);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.45;
}

body.public-shell .candidate-tab-contribute {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  color: var(--ink-4);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.35;
  white-space: nowrap;
}

body.public-shell .candidate-tab-contribute-action {
  color: var(--ink);
  border-bottom: 1px solid var(--rule-strong);
}

body.public-shell .candidate-tab-actions {
  display: flex;
  justify-content: flex-start;
}

body.public-shell .candidate-campaign-panel {
  display: grid;
  gap: 16px;
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

body.public-shell .candidate-subtabs {
  display: grid;
  gap: 16px;
}

body.public-shell .candidate-subtab-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

body.public-shell .candidate-subtab-list {
  display: flex;
  gap: 18px;
  align-items: flex-end;
  border-bottom: 1px solid var(--rule);
  font-family: 'Public Sans', system-ui, sans-serif;
}

body.public-shell .candidate-subtab-list label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-bottom: -1px;
  border-bottom: 2px solid transparent;
  color: var(--ink-3);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
}

body.public-shell .candidate-subtab-list label:hover {
  color: var(--ink);
}

body.public-shell .candidate-subtab-panel {
  display: none;
}

body.public-shell #candidate-ads-subtab-spending:checked ~ .candidate-subtab-list label[for="candidate-ads-subtab-spending"],
body.public-shell #candidate-ads-subtab-creatives:checked ~ .candidate-subtab-list label[for="candidate-ads-subtab-creatives"] {
  border-bottom-color: var(--ink);
  color: var(--ink);
}

body.public-shell #candidate-ads-subtab-spending:checked ~ .candidate-subtab-panel-spending,
body.public-shell #candidate-ads-subtab-creatives:checked ~ .candidate-subtab-panel-creatives {
  display: block;
}

body.public-shell .campaign-tab-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rule);
}

body.public-shell .campaign-tab-head h2 {
  margin: 2px 0 8px;
  color: var(--ink);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.02;
}

body.public-shell .campaign-tab-head .text-small {
  max-width: 68ch;
}

body.public-shell .campaign-tab-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(24px, 4vw, 40px);
  align-items: start;
}

body.public-shell .comparison-head {
  gap: 12px;
  padding-top: 18px;
  padding-bottom: 18px;
}

body.public-shell .comparison-head h1 {
  font-size: clamp(2rem, 4.4vw, 3rem);
  max-width: 9ch;
}

body.public-shell .overview-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
}

body.public-shell .overview-head .meta {
  margin: 0;
  color: var(--ink-4);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
}

body.public-shell .summary-kicker {
  color: var(--ink-4);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: none;
}

body.public-shell .topic-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

body.public-shell .topic-jump-menu {
  max-width: 22rem;
  min-width: min(22rem, 100%);
}

body.public-shell .topic-table-contribute {
  color: var(--ink-3);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: right;
  white-space: nowrap;
}

body.public-shell .topic-table-contribute a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--rule-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

body.public-shell .campaign-total-inline-links a,
body.public-shell .campaign-spend-org-links a,
body.public-shell .campaign-spend-fec-links a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--rule-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

body.public-shell .finance-donor-table.campaign-spend-table tbody th {
  width: 36%;
}

body.public-shell .campaign-spend-table .campaign-spend-table-amount {
  width: 20%;
  white-space: normal;
}

body.public-shell .campaign-spend-table .campaign-direction-legend,
body.public-shell .campaign-spend-table .campaign-spend-fec-links {
  margin-top: 8px;
}

body.public-shell .campaign-creative-table tbody th {
  width: 42%;
}

body.public-shell .campaign-creative-table tbody th strong {
  display: block;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 850;
  line-height: 1.25;
}

body.public-shell .campaign-creative-table tbody th span {
  display: block;
  margin-top: 5px;
  color: var(--ink-4);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.35;
}

body.public-shell .campaign-creative-table a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--rule-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

body.public-shell .topic-jump-menu label {
  display: grid;
  gap: 6px;
  color: var(--ink-3);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
}

body.public-shell .topic-jump-menu select {
  width: 100%;
  min-height: 2.35rem;
  border: 1px solid var(--rule-strong);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 0 34px 0 10px;
}

body.public-shell .page-race .topic-summary-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.public-shell .topic-summary-card {
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 100%;
  padding: 18px 20px;
  border: 1px solid var(--rule);
  background: var(--surface);
  box-shadow: none;
  color: inherit;
  text-decoration: none;
}

body.public-shell.page-candidate .topic-summary-card {
  border-color: var(--rule);
  box-shadow: none;
}

body.public-shell .candidate-topic-list {
  gap: 12px;
}

body.public-shell .candidate-topic-row {
  display: grid;
  gap: 0;
}

body.public-shell .candidate-topic-row summary {
  list-style: none;
  cursor: pointer;
}

body.public-shell .candidate-topic-row summary::-webkit-details-marker {
  display: none;
}

body.public-shell .candidate-topic-row .topic-summary-card {
  gap: 12px;
  min-height: auto;
  padding: 20px 22px 18px;
  background: var(--surface);
  border-color: var(--rule);
}

body.public-shell .candidate-topic-row .topic-summary-card:focus {
  outline: none;
}

body.public-shell .candidate-topic-row .topic-summary-card:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--civic-blue) 52%, transparent);
  outline-offset: -2px;
}

body.public-shell .topic-summary-card:hover {
  border-color: var(--rule-strong);
  background: var(--surface);
}

body.public-shell .topic-summary-card.is-active {
  background: var(--surface);
  border-color: var(--rule);
}

body.public-shell .candidate-topic-row[open] .topic-summary-card {
  border-color: var(--rule);
  box-shadow: none;
}

body.public-shell .candidate-topic-row[open] .topic-summary-stance-preview {
  display: none;
}

body.public-shell .topic-summary-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 10px;
}

body.public-shell .topic-summary-title-wrap {
  display: grid;
  gap: 4px;
}

body.public-shell .topic-summary-title {
  color: var(--ink);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.18;
}

body.public-shell .topic-summary-subtitle {
  color: var(--ink-3);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.25;
}

body.public-shell .topic-summary-meta,
body.public-shell .topic-record-count {
  color: var(--ink-3);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0;
  line-height: 1.4;
}

body.public-shell .topic-summary-meta {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
}

body.public-shell .topic-summary-shift-flag {
  color: var(--civic-red);
}

body.public-shell .topic-summary-shift-flag::before {
  content: "·";
  margin: 0 6px 0 5px;
  color: var(--ink-4);
}

body.public-shell .topic-summary-stance-preview {
  display: grid;
  gap: 2px;
  max-width: 68ch;
  margin-left: 10px;
}

body.public-shell .topic-summary-stance-copy {
  color: var(--ink);
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.34;
}

body.public-shell .topic-summary-stance-copy.is-summary {
  font-family: 'Public Sans', system-ui, sans-serif;
  font-style: normal;
  font-weight: 500;
  line-height: 1.4;
}

body.public-shell .topic-summary-stance-source {
  color: var(--ink-3);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.75rem;
  font-style: italic;
  line-height: 1.25;
}

body.public-shell .topic-summary-stance-source a {
  color: var(--civic-blue);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, currentColor 62%, transparent);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

body.public-shell .topic-summary-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px 24px;
  padding-top: 10px;
  border-top: 1px solid color-mix(in srgb, var(--civic-blue) 12%, var(--rule));
}

body.public-shell .comparison-summary-copy {
  color: var(--ink-2);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.98rem;
  line-height: 1.42;
}

body.public-shell .topic-summary-affordance {
  color: var(--civic-blue);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.25;
  text-transform: none;
}

body.public-shell .topic-summary-affordance > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

body.public-shell .topic-summary-affordance [aria-hidden="true"] {
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
  transform: translateY(-0.02rem);
}

body.public-shell .topic-summary-affordance > .topic-summary-affordance-collapse {
  display: none;
}

body.public-shell .candidate-topic-row[open] .topic-summary-affordance > .topic-summary-affordance-expand {
  display: none;
}

body.public-shell .candidate-topic-row[open] .topic-summary-affordance > .topic-summary-affordance-collapse {
  display: inline-flex;
}

body.public-shell .candidate-topic-row .topic-block {
  border-top: 0;
  box-shadow: none;
}

body.public-shell .comparison-summary-copy {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

body.public-shell .comparison-summary-lines {
  display: grid;
  gap: 8px;
}

body.public-shell .comparison-summary-line {
  display: grid;
  gap: 2px;
}

body.public-shell .comparison-summary-name {
  color: var(--ink-4);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
}

body.public-shell .compare-pair-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body.public-shell .compare-pair-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--rule);
  background: var(--surface);
  box-shadow: var(--shadow);
}

body.public-shell .compare-pair-name {
  color: var(--ink);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

body.public-shell .compare-rail {
  display: grid;
  gap: 8px;
}

body.public-shell .compare-head-shell {
  display: grid;
  gap: 10px;
}

body.public-shell .compare-head-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.public-shell .compare-head-pill {
  display: grid;
  gap: 4px;
  min-width: min(18rem, 100%);
  padding: 12px 14px;
  border: 1px solid var(--rule);
  background: var(--surface-soft);
  box-shadow: var(--shadow);
}

body.public-shell.page-race .compare-head-pill {
  min-width: min(15rem, 100%);
  padding: 10px 12px;
}

body.public-shell .compare-head-label,
body.public-shell .compare-head-meta {
  color: var(--ink-4);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
}

body.public-shell .compare-head-name {
  color: var(--ink);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.06;
}

body.public-shell .compare-rail-inline {
  gap: 6px;
}

body.public-shell .compare-head-panel {
  padding-top: 8px;
}

body.public-shell .compare-inline-shell {
  display: grid;
  gap: 8px;
}

body.public-shell .compare-inline-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.public-shell .compare-inline-token {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--rule);
  background: var(--surface-soft);
  color: var(--ink);
  padding: 8px 10px;
}

body.public-shell .compare-inline-label {
  color: var(--ink-4);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
}

body.public-shell .compare-inline-name {
  color: var(--ink);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

body.public-shell .compare-rail-row {
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 4px;
}

body.public-shell .compare-rail-row .candidate-chip {
  flex: 0 0 auto;
}

body.public-shell .progressive-panel {
  border-top: 1px solid var(--rule);
  padding-top: 10px;
}

body.public-shell .progressive-panel summary {
  cursor: pointer;
  color: var(--ink);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
}

body.public-shell.page-race .comparison-head {
  gap: 6px;
  border: 0;
  border-bottom: 1px solid var(--rule);
  background: transparent;
  box-shadow: none;
  padding: 22px 0 10px;
}

body.public-shell.page-race .comparison-head h1 {
  max-width: none;
  font-size: clamp(2rem, 3.35vw, 2.8rem);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: -0.058em;
  white-space: nowrap;
  text-wrap: nowrap;
}

body.public-shell.page-race .comparison-head .stack {
  gap: 0;
}

body.public-shell.page-race .race-head h1 {
  max-width: none;
}

body.public-shell.page-race .race-tab-panel {
  display: grid;
  gap: 16px;
}

body.public-shell.page-race .race-tab-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 24px;
}

body.public-shell.page-race .race-candidate-filter {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

body.public-shell.page-race .race-candidate-filter legend {
  margin: 0;
  padding: 0;
  color: var(--ink-3);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
}

body.public-shell.page-race .race-candidate-filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
}

body.public-shell.page-race .race-candidate-filter-option {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 9px;
  border: 1px solid var(--rule);
  background: var(--surface);
  color: var(--ink-2);
  cursor: pointer;
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.76rem;
  font-weight: 750;
}

body.public-shell.page-race .race-candidate-filter-option:has(input:checked) {
  border-color: var(--rule-strong);
  color: var(--ink);
}

body.public-shell.page-race .race-candidate-filter-option input {
  width: 0.86rem;
  height: 0.86rem;
  margin: 0;
}

body.public-shell.page-race .race-candidate-filter-menu {
  position: relative;
  width: fit-content;
  max-width: 100%;
}

body.public-shell.page-race .race-candidate-filter-summary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid var(--rule);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.84rem;
  font-weight: 800;
  list-style: none;
}

body.public-shell.page-race .race-candidate-filter-summary::-webkit-details-marker {
  display: none;
}

body.public-shell.page-race .race-candidate-filter-summary::after {
  content: "▾";
  color: var(--ink-3);
  font-size: 0.72rem;
}

body.public-shell.page-race .race-candidate-filter-menu[open] .race-candidate-filter-summary::after {
  content: "▴";
}

body.public-shell.page-race .race-candidate-filter-summary b {
  color: var(--ink-3);
  font-size: 0.76rem;
  font-weight: 750;
}

body.public-shell.page-race .race-candidate-filter-menu .race-candidate-filter {
  position: absolute;
  z-index: 20;
  top: calc(100% + 6px);
  left: 0;
  width: min(520px, calc(100vw - 60px));
  max-height: 320px;
  overflow: auto;
  padding: 10px;
  border: 1px solid var(--rule);
  background: var(--surface);
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.14);
}

body.public-shell.page-race .race-candidate-filter-menu:not([open]) .race-candidate-filter {
  display: none;
}

body.public-shell.page-race .race-candidate-filter-menu .race-candidate-filter legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

body.public-shell.page-race .race-issue-matrix-wrap {
  overflow-x: auto;
  border: 1px solid var(--rule);
  background: var(--surface);
}

body.public-shell.page-race .race-issue-matrix {
  width: 100%;
  min-width: 540px;
  border-collapse: collapse;
  table-layout: fixed;
}

body.public-shell.page-race .race-issue-matrix th,
body.public-shell.page-race .race-issue-matrix td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  color: var(--ink-2);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.8rem;
  line-height: 1.35;
  text-align: left;
  vertical-align: top;
}

body.public-shell.page-race .race-issue-matrix th:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  width: 9.5rem;
  background: var(--surface);
  color: var(--ink);
  font-weight: 850;
}

body.public-shell.page-race .race-issue-matrix thead th {
  border-bottom: 2px solid var(--rule-strong);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 850;
}

body.public-shell.page-race .race-issue-matrix thead th:first-child {
  z-index: 3;
}

body.public-shell.page-race .race-issue-matrix tbody tr:last-child th,
body.public-shell.page-race .race-issue-matrix tbody tr:last-child td {
  border-bottom: 0;
}

body.public-shell.page-race .race-issue-matrix th:last-child,
body.public-shell.page-race .race-issue-matrix td:last-child {
  border-right: 0;
}

body.public-shell.page-race .race-issue-matrix th > a {
  color: var(--ink);
  text-decoration: none;
}

body.public-shell.page-race .race-issue-candidate-tab-link {
  display: block;
  width: fit-content;
  margin-top: 4px;
  color: var(--ink-3);
  font-size: 0.68rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--rule-strong);
  text-underline-offset: 2px;
}

body.public-shell.page-race .race-issue-cell {
  display: grid;
  gap: 7px;
  color: var(--ink-2);
}

body.public-shell.page-race .race-issue-cell .topic-summary-stance-preview {
  max-width: 46ch;
  margin-left: 0;
}

body.public-shell.page-race .race-issue-cell .topic-summary-stance-copy {
  font-size: 0.92rem;
  line-height: 1.3;
}

body.public-shell.page-race .race-issue-cell .topic-summary-stance-source {
  font-size: 0.72rem;
}

body.public-shell.page-race .race-issue-count-link {
  display: block;
  width: fit-content;
  margin-top: 5px;
  padding-top: 3px;
  color: var(--ink-3);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

body.public-shell.page-race .race-issue-count-link:hover {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--rule-strong);
  text-underline-offset: 2px;
}

body.public-shell.page-race .race-issue-empty {
  color: var(--ink-4);
}

body.public-shell.page-race .race-compact-list,
body.public-shell.page-race .race-ad-recent {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0 0 0 18px;
}

body.public-shell.page-race .race-appearance-item,
body.public-shell.page-race .race-ad-recent li {
  max-width: 88ch;
  color: var(--ink);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.4;
}

body.public-shell.page-race .race-ad-grid,
body.public-shell.page-race .race-finance-leaders {
  display: grid;
  gap: 12px;
}

body.public-shell.page-race .race-ad-candidate,
body.public-shell.page-race .race-finance-row {
  display: grid;
  gap: 10px;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
}

body.public-shell.page-race .race-ad-candidate:first-child,
body.public-shell.page-race .race-finance-row:first-child {
  border-top: 0;
  padding-top: 0;
}

body.public-shell.page-race .race-tab-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
}

body.public-shell.page-race .race-tab-card-head h3 {
  margin: 0;
  color: var(--ink);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: -0.02em;
}

body.public-shell.page-race .race-tab-panel-title {
  margin: 1.25rem 0 0.75rem;
  color: var(--ink);
  font-size: 1.35rem;
  letter-spacing: 0;
}

body.public-shell.page-race .race-tab-card-head a,
body.public-shell.page-race .race-appearance-item a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--rule-strong);
  text-underline-offset: 2px;
}

body.public-shell.page-race .race-activity-control-panel {
  margin-top: 0;
}

body.public-shell.page-race .race-appearance-card-list {
  gap: 12px;
}

body.public-shell.page-race .race-appearance-card-list .race-appearance-item {
  max-width: 100%;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

body.public-shell.page-race .race-activity-candidate-line {
  margin: 0 0 6px;
  color: var(--ink-3);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
}

body.public-shell.page-race .race-ad-stats,
body.public-shell.page-race .race-finance-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  color: var(--ink-3);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 650;
}

body.public-shell.page-race .race-ad-stats b,
body.public-shell.page-race .race-finance-metrics b {
  color: var(--ink);
  font-weight: 850;
}

body.public-shell.page-race .race-ad-recent li {
  display: grid;
  gap: 2px;
}

body.public-shell.page-race .race-ad-recent em {
  color: var(--ink-4);
  font-size: 0.74rem;
  font-style: normal;
}

body.public-shell.page-race .race-finance-profile {
  margin: 0;
  color: var(--ink-3);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
}

body.public-shell.page-race .race-finance-row .finance-profile-bar {
  max-width: 42rem;
}

@media (max-width: 720px) {
  body.public-shell.page-race .race-head h1 {
    font-size: 1.85rem;
  }

  body.public-shell.page-race .race-candidate-filter-options {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  body.public-shell.page-race .race-candidate-filter-option {
    flex: 0 0 auto;
  }

  body.public-shell.page-race .race-candidate-filter-menu .race-candidate-filter-options {
    flex-wrap: wrap;
    overflow-x: visible;
  }

  body.public-shell.page-race .race-issue-matrix {
    min-width: 28rem;
  }

  body.public-shell.page-race .race-issue-matrix th:first-child {
    width: 7.5rem;
  }

  body.public-shell.page-race .race-issue-matrix th,
  body.public-shell.page-race .race-issue-matrix td {
    padding: 10px 9px;
    font-size: 0.76rem;
  }
}

body.public-shell.page-race .race-summary-section {
  display: grid;
  gap: 10px;
  padding: 4px 0 14px;
  border-bottom: 1px solid var(--rule);
}

body.public-shell.page-race .race-summary-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

body.public-shell.page-race .race-summary-head h2 {
  margin: 0;
  color: var(--ink);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 1.18rem;
  font-weight: 850;
  letter-spacing: 0;
}

body.public-shell.page-race .race-summary-note,
body.public-shell.page-race .race-summary-meta,
body.public-shell.page-race .race-summary-empty {
  color: var(--ink-3);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0;
}

body.public-shell.page-race .race-summary-table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--rule);
}

body.public-shell.page-race .race-summary-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: var(--surface);
}

body.public-shell.page-race .race-summary-table th,
body.public-shell.page-race .race-summary-table td {
  padding: 11px 10px;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-2);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.83rem;
  line-height: 1.45;
  text-align: left;
  vertical-align: top;
}

body.public-shell.page-race .race-summary-table thead th {
  color: var(--ink-3);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

body.public-shell.page-race .race-summary-table tr:last-child th,
body.public-shell.page-race .race-summary-table tr:last-child td {
  border-bottom: 0;
}

body.public-shell.page-race .race-summary-candidate {
  width: 24%;
}

body.public-shell.page-race .race-summary-candidate-link {
  display: inline;
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
}

body.public-shell.page-race .race-summary-candidate-link:hover {
  color: var(--blue);
}

body.public-shell.page-race .race-summary-candidate-cta {
  display: block;
  width: fit-content;
  margin-top: 3px;
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 720;
  line-height: 1.2;
  text-decoration: none;
}

body.public-shell.page-race .race-summary-candidate-cta:hover,
body.public-shell.page-race .race-summary-empty a:hover,
body.public-shell.page-race .race-summary-more-button:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

body.public-shell.page-race .race-summary-stance-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 64ch;
}

body.public-shell.page-race .race-summary-stance-link,
body.public-shell.page-race .race-summary-see-more {
  text-decoration: none;
}

body.public-shell.page-race .race-summary-stance-link {
  display: block;
  color: var(--ink-2);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.42;
}

body.public-shell.page-race .race-summary-see-more {
  display: inline-block;
  margin-top: 2px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 750;
}

body.public-shell.page-race .race-summary-stance-link:hover .race-summary-stance-text {
  color: var(--ink);
}

body.public-shell.page-race .race-summary-stance-link:hover .race-summary-topic-label,
body.public-shell.page-race .race-summary-see-more:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

body.public-shell.page-race .race-summary-stance-text {
  color: var(--ink-2);
  font-weight: 500;
}

body.public-shell.page-race .race-summary-topic-label {
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 720;
  white-space: nowrap;
}

body.public-shell.page-race .race-summary-empty a {
  color: var(--blue);
  font-weight: 720;
  text-decoration: none;
}

body.public-shell.page-race .race-summary-more-row td {
  padding-top: 10px;
  padding-bottom: 10px;
  border-bottom: 0;
}

body.public-shell.page-race .race-summary-more-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 750;
}

body.public-shell.page-race .race-summary-finance {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  color: var(--ink-2);
}

body.public-shell.page-race .race-summary-finance span {
  white-space: nowrap;
}

body.public-shell.page-race .race-summary-finance b {
  color: var(--ink-3);
  font-weight: 800;
}

body.public-shell.page-race .race-compare-board {
  padding-top: 10px;
  border-top: 0;
}

body.public-shell.page-race .race-compare-section-head {
  padding-top: 2px;
}

body.public-shell.page-race .race-compare-section-head h2 {
  margin: 0;
  color: var(--ink);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 1.18rem;
  font-weight: 850;
  letter-spacing: 0;
}

body.public-shell.page-race .race-compare-board .board-scroll {
  display: grid;
  gap: 0.85rem;
}

body.public-shell.page-race .race-compare-board .board-topbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.55rem;
}

body.public-shell.page-race .race-compare-board .candidate-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 49rem;
}

body.public-shell.page-race .race-compare-board .candidate-picker-selects {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.public-shell.page-race .race-compare-board .candidate-picker-selects label {
  display: grid;
  gap: 5px;
  min-width: 13rem;
  color: var(--ink-3);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
}

body.public-shell.page-race .race-compare-board .candidate-picker-selects select {
  width: 100%;
  min-height: 2rem;
  border: 1px solid var(--rule-strong);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font: inherit;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0 30px 0 9px;
}

body.public-shell.page-race .race-compare-board .candidate-chip,
body.public-shell.page-race .race-compare-board .candidate-chip.dem,
body.public-shell.page-race .race-compare-board .candidate-chip.rep,
body.public-shell.page-race .race-compare-board .candidate-chip.other {
  min-height: 1.55rem;
  padding: 0 9px;
  border-radius: 999px;
  border-color: var(--rule-strong);
  background: transparent;
  color: var(--ink-3);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: none;
}

body.public-shell.page-race .race-compare-board .candidate-chip.selected-chip {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  border-color: var(--rule-strong);
}

body.public-shell.page-race .race-compare-board .candidate-chip.slot-active {
  border-color: var(--ink-2);
  box-shadow: inset 0 0 0 1px rgba(34, 48, 65, 0.16);
}

body.public-shell.page-race .race-compare-board .board-head {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid var(--rule);
}

body.public-shell.page-race .race-compare-board .board-head-candidate {
  padding: 0 0 0.1rem;
}

body.public-shell.page-race .race-compare-board .board-candidate-name {
  color: var(--ink);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: clamp(2.15rem, 3vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.92;
}

body.public-shell.page-race .race-compare-board .board-candidate-meta {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

body.public-shell.page-race .race-compare-board .board-candidate-party {
  color: var(--ink-3);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

body.public-shell.page-race .race-compare-board .candidate-page-link {
  color: var(--ink-3);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
}

body.public-shell.page-race .race-compare-board .candidate-page-link:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

body.public-shell.page-race .race-compare-board .topic-anchor {
  display: block;
  position: relative;
  top: -108px;
  visibility: hidden;
}

body.public-shell.page-race .race-compare-board .topic-row {
  display: grid;
  gap: 12px;
  padding-top: 1.35rem;
  border-top: 1px solid color-mix(in srgb, var(--rule) 78%, transparent);
}

body.public-shell.page-race .race-compare-board .topic-row:first-of-type {
  border-top: 0;
  padding-top: 0.9rem;
}

body.public-shell.page-race .race-compare-board .race-topic-row-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
  margin-bottom: 0;
}

body.public-shell.page-race .race-compare-board .race-topic-row-head h2 {
  margin: 0;
  color: var(--ink);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: none;
}

body.public-shell.page-race .race-compare-board .topic-status {
  color: var(--ink-3);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  padding-top: 2px;
}

body.public-shell.page-race .race-compare-board .topic-glance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 18px;
}

body.public-shell.page-race .race-compare-board .glance-card {
  display: grid;
  align-self: start;
  gap: 0;
}

body.public-shell.page-race .race-compare-board .glance-card summary {
  list-style: none;
  cursor: pointer;
}

body.public-shell.page-race .race-compare-board .glance-card summary::-webkit-details-marker {
  display: none;
}

body.public-shell.page-race .race-compare-board .glance-cell {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: auto;
  padding: 20px 22px 18px;
  border: 1px solid color-mix(in srgb, var(--civic-blue) 12%, var(--rule));
  background: var(--surface);
  box-shadow: none;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

body.public-shell.page-race .race-compare-board .glance-cell::before {
  content: none;
  color: var(--ink-3);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.public-shell.page-race .race-compare-board .glance-card:hover .glance-cell {
  border-color: color-mix(in srgb, var(--civic-blue) 32%, var(--rule-strong));
  background: color-mix(in srgb, var(--surface) 88%, var(--civic-blue-soft));
}

body.public-shell.page-race .race-compare-board .glance-card[open] .glance-cell {
  border-bottom-color: transparent;
  background: var(--surface);
  box-shadow:
    inset 0 2px 0 color-mix(in srgb, var(--civic-blue) 42%, transparent),
    0 6px 14px rgba(34, 48, 65, 0.035);
}

body.public-shell.page-race .race-compare-board .glance-card[open] .topic-summary-stance-preview {
  display: none;
}

body.public-shell.page-race .race-compare-board .glance-card[open] .topic-summary-affordance > .topic-summary-affordance-expand {
  display: none;
}

body.public-shell.page-race .race-compare-board .glance-card[open] .topic-summary-affordance > .topic-summary-affordance-collapse {
  display: inline-flex;
}

body.public-shell.page-race .race-compare-board .glance-line {
  max-width: 38ch;
  color: var(--ink);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.96rem;
  font-weight: 650;
  line-height: 1.42;
  letter-spacing: 0;
  text-wrap: balance;
}

body.public-shell.page-race .race-compare-board .glance-meta,
body.public-shell.page-race .race-compare-board .detail-label {
  color: var(--ink-3);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

body.public-shell.page-race .race-compare-board .glance-sources {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
  color: var(--ink-2);
  font-size: 0.88rem;
}

body.public-shell.page-race .race-compare-board .glance-sources li {
  margin: 0;
}

body.public-shell.page-race .race-compare-board .glance-affordance {
  display: grid;
  gap: 3px;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--rule);
  color: var(--ink-2);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

body.public-shell.page-race .race-compare-board .glance-affordance::after {
  content: attr(data-detail);
  color: var(--ink-3);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

body.public-shell.page-race .race-compare-board .candidate-detail {
  display: grid;
  gap: 0;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--civic-blue) 12%, var(--rule));
  border-top: 0;
  background: var(--surface);
  box-shadow: 0 8px 20px rgba(34, 48, 65, 0.035);
}

body.public-shell.page-race .race-compare-board .candidate-detail .topic-record-stack {
  gap: 24px;
  padding: 22px 24px 26px;
}

body.public-shell.page-race .race-compare-board .candidate-detail .observed-stance-list,
body.public-shell.page-race .race-compare-board .candidate-detail .campaign-content-list,
body.public-shell.page-race .race-compare-board .candidate-detail .artifact-support-list,
body.public-shell.page-race .race-compare-board .candidate-detail .vote-support-list,
body.public-shell.page-race .race-compare-board .candidate-detail .topic-empty-note {
  padding-left: 14px;
}

body.public-shell.page-race .race-compare-board .candidate-detail .position-pair-list {
  padding-left: 30px;
}

body.public-shell.page-race .race-compare-board .detail-block {
  display: grid;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
}

body.public-shell.page-race .race-compare-board .detail-block:first-of-type {
  padding-top: 0;
  border-top: 0;
}

body.public-shell.page-race .race-compare-board .detail-block p,
body.public-shell.page-race .race-compare-board .detail-block li,
body.public-shell.page-race .race-compare-board .detail-block .text-small {
  max-width: 33ch;
  color: var(--ink);
  font-size: 1.01rem;
  line-height: 1.52;
}

body.public-shell.page-race .race-compare-board .detail-block p {
  margin: 0;
}

body.public-shell.page-race .race-compare-board .detail-block blockquote {
  margin: 0;
  padding-top: 2px;
  color: var(--ink-2);
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.12rem;
  font-style: italic;
  line-height: 1.48;
}

body.public-shell.page-race .race-compare-board .detail-source {
  color: var(--ink-3);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
}

body.public-shell.page-race .race-compare-board .detail-block .artifact-support-list,
body.public-shell.page-race .race-compare-board .detail-block .vote-support-list,
body.public-shell.page-race .race-compare-board .detail-block .vote-item-list,
body.public-shell.page-race .race-compare-board .detail-block .question-snippet-list {
  gap: 10px;
}

body.public-shell.page-race .race-compare-board .detail-block .artifact-support,
body.public-shell.page-race .race-compare-board .detail-block .vote-support,
body.public-shell.page-race .race-compare-board .detail-block .vote-item,
body.public-shell.page-race .race-compare-board .detail-block .question-snippet {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--rule);
  box-shadow: none;
}

body.public-shell.page-race .race-compare-board .detail-block .artifact-support summary,
body.public-shell.page-race .race-compare-board .detail-block .vote-support summary,
body.public-shell.page-race .race-compare-board .detail-block .vote-item,
body.public-shell.page-race .race-compare-board .detail-block .question-snippet {
  padding: 12px 14px;
}

body.public-shell.page-race .race-compare-board .detail-block .artifact-support-body,
body.public-shell.page-race .race-compare-board .detail-block .vote-support-body {
  padding: 0 14px 14px;
}

body.public-shell.page-race .race-compare-board .detail-block .gap-list {
  margin: 0;
  padding-left: 18px;
}

body.public-shell.page-race .race-compare-board .topic-row-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr) auto;
  gap: 16px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
  align-items: start;
}

body.public-shell.page-race .race-compare-board .topic-row-footer-copy {
  display: grid;
  gap: 6px;
}

body.public-shell.page-race .race-compare-board .topic-row-footer-copy p {
  margin: 0;
  max-width: 44ch;
  color: var(--ink-2);
  font-size: 0.94rem;
  line-height: 1.45;
}

body.public-shell.page-race .race-compare-board .topic-row-footer-meta {
  display: grid;
  gap: 8px;
  justify-items: start;
}

body.public-shell.page-race .race-compare-board .topic-row-footer-actions {
  display: flex;
  align-items: start;
  justify-content: end;
}

body.public-shell .page-home .page-head h1 {
  max-width: 9ch;
  font-size: clamp(3.5rem, 8vw, 6rem);
}

body.public-shell.page-home .home-hero {
  display: grid;
  grid-template-columns: minmax(0, 44rem);
  justify-content: start;
  align-items: start;
  gap: 14px;
  padding: clamp(24px, 3vw, 34px) clamp(24px, 4vw, 42px);
  border: 1px solid var(--rule);
  background: var(--surface);
  box-shadow: var(--shadow);
}

body.public-shell.page-home .home-hero-copy {
  display: grid;
  gap: 8px;
}

body.public-shell.page-home .home-hero h1 {
  max-width: none;
  margin: 0;
  color: var(--ink);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: clamp(2.2rem, 4.7vw, 3.35rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

body.public-shell.page-home .home-hero p {
  max-width: 64ch;
  margin: 0;
  color: var(--ink-2);
  font-family: 'Newsreader', Georgia, serif;
  font-size: clamp(1.05rem, 1.45vw, 1.28rem);
  line-height: 1.42;
}

body.public-shell.page-home .home-hero-search {
  width: min(100%, 44rem);
  align-self: start;
}

body.public-shell.page-home .home-search {
  overflow: visible;
}

body.public-shell.page-home .home-search.suggest-open {
  z-index: 260;
}

body.public-shell.page-home .home-search .unified-search-row {
  min-height: 50px;
  gap: 0;
  align-items: center;
  border: 1px solid var(--rule-strong);
  background: var(--surface-soft);
}

body.public-shell.page-home .home-search input {
  border: 0;
  background: transparent;
  padding: 12px 15px;
  font-size: 1rem;
}

body.public-shell.page-home .home-dashboard {
  grid-template-columns: minmax(0, 2fr) minmax(16rem, 1fr);
  align-items: start;
  gap: 18px;
}

body.public-shell.page-home .home-dashboard > *,
body.public-shell.page-home .home-competitive-panel,
body.public-shell.page-home .home-side-stack {
  min-width: 0;
}

body.public-shell.page-home .home-side-stack {
  display: grid;
  gap: 18px;
}

body.public-shell.page-home .home-dashboard .label-row {
  gap: 6px;
  margin-bottom: 8px;
}

body.public-shell.page-home .home-dashboard .label-row .meta {
  font-size: 0.66rem;
  line-height: 1.35;
}

body.public-shell.page-home .home-shifts-panel,
body.public-shell.page-home .home-stances-panel {
  min-width: 0;
}

body.public-shell .competitive-races-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--rule);
  background: var(--surface);
  box-shadow: var(--shadow);
}

body.public-shell .competitive-races-chart {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  table-layout: fixed;
}

body.public-shell.page-home .competitive-races-table-wrap {
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.public-shell.page-home .competitive-races-chart {
  min-width: 0;
  font-size: 0.9rem;
}

body.public-shell .competitive-races-chart th,
body.public-shell .competitive-races-chart td {
  padding: 15px 16px;
  border-bottom: 1px solid color-mix(in oklch, var(--rule) 72%, transparent);
  vertical-align: middle;
  text-align: left;
}

body.public-shell.page-home .competitive-races-chart th,
body.public-shell.page-home .competitive-races-chart td {
  padding: 9px 10px;
}

body.public-shell.page-home .competitive-races-chart tbody th,
body.public-shell.page-home .competitive-races-chart tbody td {
  background: var(--surface);
}

body.public-shell .competitive-races-chart thead th {
  color: var(--ink-4);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

body.public-shell.page-home .competitive-races-chart thead th {
  padding: 0 10px 7px;
  border-bottom: 0;
  background: transparent;
  font-size: 0.68rem;
}

body.public-shell.page-home .competitive-races-chart thead th:not(.metric-heading) {
  font-size: 0;
}

body.public-shell.page-home .competitive-races-chart tbody tr:first-child th,
body.public-shell.page-home .competitive-races-chart tbody tr:first-child td {
  border-top: 1px solid color-mix(in oklch, var(--rule) 72%, transparent);
}

body.public-shell .competitive-races-chart tbody tr:last-child th,
body.public-shell .competitive-races-chart tbody tr:last-child td {
  border-bottom: 0;
}

body.public-shell .competitive-races-chart th[scope='row'] {
  width: 32%;
}

body.public-shell.page-home .competitive-races-chart th[scope='row'] {
  width: 31%;
}

body.public-shell .competitive-races-chart th[scope='row'] a {
  display: inline-block;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

body.public-shell.page-home .competitive-races-chart th[scope='row'] a {
  font-size: 0.92rem;
  line-height: 1.15;
}

body.public-shell .competitive-races-chart th[scope='row'] span {
  display: block;
  margin-top: 5px;
  color: var(--ink-4);
  font-size: 0.86rem;
  font-weight: 600;
}

body.public-shell.page-home .competitive-races-chart th[scope='row'] span {
  margin-top: 3px;
  font-size: 0.74rem;
}

body.public-shell .competitive-races-chart .candidate-cell {
  width: 32%;
}

body.public-shell.page-home .competitive-races-chart .candidate-cell {
  width: 29%;
}

body.public-shell .competitive-races-chart .race-name-list {
  margin: 0;
}

body.public-shell.page-home .competitive-races-chart .race-name-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

body.public-shell.page-home .competitive-races-chart .party-name-chip,
body.public-shell.page-home .competitive-races-chart .race-more-candidates {
  max-width: 100%;
  overflow: hidden;
  padding: 2px 5px;
  font-size: 0.68rem;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.public-shell.page-home .competitive-races-chart .race-more-candidates {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--rule);
  color: var(--ink-4);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-weight: 800;
}

body.public-shell .competitive-races-chart .amount-cell {
  position: relative;
  width: 18%;
  min-width: 8.5rem;
  overflow: hidden;
}

body.public-shell.page-home .competitive-races-chart .amount-cell {
  width: 20%;
  min-width: 5.5rem;
}

body.public-shell .competitive-races-chart .amount-meter {
  position: absolute;
  inset: 10px auto 10px 10px;
  width: var(--meter);
  max-width: calc(100% - 20px);
  background: color-mix(in oklch, var(--civic-blue-soft) 72%, var(--surface) 28%);
}

body.public-shell.page-home .competitive-races-chart .amount-meter {
  inset: 7px auto 7px 7px;
  max-width: calc(100% - 14px);
  background: color-mix(in oklch, var(--civic-blue-soft) 92%, var(--civic-blue) 8%);
}

body.public-shell .competitive-races-chart .amount-cell strong {
  position: relative;
  color: var(--ink);
  font-weight: 900;
}

body.public-shell.page-home .competitive-races-chart .amount-cell strong {
  font-size: 0.92rem;
}

body.public-shell.page-home .home-evidence-list {
  display: grid;
  overflow: visible;
  border: 1px solid var(--rule);
  background: var(--surface);
  box-shadow: var(--shadow);
}

body.public-shell.page-home .home-evidence-item {
  min-width: 0;
  padding: 14px 16px;
  border-top: 1px solid color-mix(in oklch, var(--rule) 78%, transparent);
}

body.public-shell.page-home .home-evidence-item:first-child {
  border-top: 0;
}

body.public-shell.page-home .home-evidence-meta {
  color: var(--ink-4);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.015em;
  line-height: 1.35;
  text-transform: none;
}

body.public-shell.page-home .home-shift-summary {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 6px;
  color: var(--ink);
  font-family: 'Newsreader', Georgia, serif;
  font-size: 0.96rem;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

body.public-shell.page-home .home-candidate-race {
  color: var(--ink-4);
}

body.public-shell.page-home .home-source-pair {
  display: grid;
  gap: 7px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid color-mix(in oklch, var(--rule) 70%, transparent);
}

body.public-shell.page-home .home-source-meta {
  color: var(--ink-4);
  font-size: 0.64rem;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

body.public-shell.page-home .home-source-meta b {
  color: var(--ink-3);
}

body.public-shell.page-home .home-source-snippet {
  display: -webkit-box;
  overflow: hidden;
  color: var(--ink-2);
  font-family: 'Newsreader', Georgia, serif;
  font-size: 0.82rem;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.public-shell.page-home .home-source-meta a,
body.public-shell.page-home .home-evidence-meta a {
  color: var(--civic-blue);
}

body.public-shell.page-home .home-stance-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.public-shell.page-home .home-stance-item:nth-child(2) {
  border-top: 0;
}

body.public-shell.page-home .home-stance-item:nth-child(odd) {
  border-right: 1px solid color-mix(in oklch, var(--rule) 78%, transparent);
}

body.public-shell.page-home .home-stance-quote {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 8px;
  color: var(--ink);
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.36;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

body.public-shell .page-candidate .page-head h1,
body.public-shell .page-race .page-head h1 {
  max-width: 11ch;
}

body.public-shell .hero-head {
  padding-bottom: clamp(30px, 4vw, 44px);
}

body.public-shell .hero-search {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(20rem, 0.95fr);
  align-items: stretch;
  gap: 26px;
  padding: 30px;
  border: 1px solid var(--rule);
  background: var(--surface);
  box-shadow: var(--shadow);
  margin-bottom: 0;
}

body.public-shell .hero-search > div:first-child {
  display: grid;
  align-content: start;
  gap: 18px;
}

body.public-shell .hero-search-panel {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--rule);
  background: var(--surface-soft);
}

body.public-shell .timeline-panel {
  padding: 20px;
  border: 1px solid var(--rule);
  background: var(--surface);
  box-shadow: var(--shadow);
}

body.public-shell .card,
body.public-shell .candidate-card,
body.public-shell .race-card,
body.public-shell .stack-card,
body.public-shell .topic-block,
body.public-shell .comparison-card,
body.public-shell .inline-coverage-card,
body.public-shell .coverage-compare-card,
body.public-shell .artifact-support,
body.public-shell .vote-support,
body.public-shell .empty-state,
body.public-shell .search-suggestions {
  background: var(--surface);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow);
}

body.public-shell .card.soft,
body.public-shell .coverage-compare-card.shared,
body.public-shell .inline-coverage-card {
  background: var(--surface-soft);
}

body.public-shell .empty-state {
  padding: 20px;
  color: var(--ink-3);
}

body.public-shell .candidate-card,
body.public-shell .search-card,
body.public-shell .stack-card {
  padding: 16px;
}

body.public-shell .candidate-card {
  display: grid;
  align-content: start;
  gap: 0;
}

body.public-shell .race-card,
body.public-shell .topic-block,
body.public-shell .comparison-card {
  overflow: hidden;
}

body.public-shell .race-card .head,
body.public-shell .topic-block-header,
body.public-shell .comparison-card .card-head {
  padding: 18px 18px 12px;
  border-bottom: 0;
  background: transparent;
}

body.public-shell .race-card .body {
  padding: 0 18px 18px;
  display: grid;
  gap: 10px;
}

body.public-shell .race-card.compact .head {
  padding-bottom: 8px;
}

body.public-shell .race-card.compact .body {
  padding-top: 2px;
}

body.public-shell .race-card.compact .race-name-list {
  margin-top: 0;
}

body.public-shell .candidate-card h3,
body.public-shell .race-card h3,
body.public-shell .topic-block-header h2,
body.public-shell .comparison-card .card-head h2,
body.public-shell .candidate-name,
body.public-shell .vote-item-title,
body.public-shell .artifact-support-title,
body.public-shell .cards .value,
body.public-shell .stats-grid .value,
body.public-shell .kpi .v {
  color: var(--ink);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: 0;
}

body.public-shell .candidate-card h3,
body.public-shell .race-card h3 {
  font-size: 1.26rem;
  line-height: 1.08;
}

body.public-shell .candidate-name {
  font-size: 1.45rem;
}

body.public-shell .cards .card {
  min-height: 8.5rem;
  padding: 18px;
  display: grid;
  align-content: space-between;
}

body.public-shell .cards .value {
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 0.92;
}

body.public-shell .cards,
body.public-shell .four-up,
body.public-shell .three-up,
body.public-shell .evidence-section-grid,
body.public-shell .race-grid,
body.public-shell .candidate-grid,
body.public-shell .stack-list,
body.public-shell .topic-stack,
body.public-shell .comparison-shell {
  gap: 18px;
}

body.public-shell .split {
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.92fr);
  gap: 24px;
  align-items: start;
}

body.public-shell .page-home .split {
  grid-template-columns: minmax(0, 1.32fr) minmax(18rem, 0.88fr);
}

body.public-shell .pill-row {
  gap: 8px;
}

body.public-shell .pill,
body.public-shell .candidate-chip,
body.public-shell .tag,
body.public-shell .search-suggest-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--rule);
  background: var(--surface);
  color: var(--ink-2);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 7px 11px;
  white-space: nowrap;
  text-transform: none;
}

body.public-shell .pill.dem,
body.public-shell .candidate-chip.dem,
body.public-shell .tag.dem {
  border-color: rgba(58, 102, 150, 0.24);
  background: rgba(226, 236, 247, 0.92);
  color: var(--dem);
}

body.public-shell .pill.rep,
body.public-shell .candidate-chip.rep,
body.public-shell .tag.rep {
  border-color: rgba(139, 71, 69, 0.24);
  background: rgba(248, 233, 232, 0.92);
  color: var(--rep);
}

body.public-shell .pill.warn,
body.public-shell .tag.warn {
  border-color: rgba(140, 110, 36, 0.22);
  background: rgba(248, 241, 223, 0.94);
  color: var(--warn);
}

body.public-shell .pill.ok,
body.public-shell .tag.ok {
  border-color: rgba(35, 112, 97, 0.2);
  background: rgba(231, 243, 240, 0.94);
  color: var(--ok);
}

body.public-shell .selected-chip,
body.public-shell .active-chip {
  background: var(--primary-strong);
  border-color: var(--primary-strong);
  color: #fff;
}

body.public-shell .candidate-chip:hover,
body.public-shell .pill:hover {
  transform: none;
}

body.public-shell .btn,
body.public-shell button {
  border: 1px solid var(--rule);
  background: var(--surface);
  color: var(--ink);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 12px 18px;
  text-transform: none;
}

body.public-shell .btn:hover,
body.public-shell button:hover {
  transform: none;
  border-color: var(--rule-strong);
  box-shadow: none;
}

body.public-shell .btn.primary,
body.public-shell button.primary {
  border-color: var(--primary-strong);
  background: var(--primary-strong);
  color: #fff;
}

body.public-shell .btn.primary:hover,
body.public-shell button.primary:hover {
  background: var(--primary);
}

body.public-shell .btn.gold {
  background: #f7f1dd;
  color: var(--warn);
}

body.public-shell .search-row input,
body.public-shell .unified-search-row input,
body.public-shell .select,
body.public-shell textarea,
body.public-shell input[type='text'] {
  border: 1px solid var(--rule-strong);
  background: #fff;
  box-shadow: none;
  color: var(--ink);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.98rem;
  padding: 14px 16px;
}

body.public-shell .nav-search input {
  border: 0;
  background: transparent;
  padding: 10px 14px;
}

body.public-shell .search-row input:focus,
body.public-shell .unified-search-row input:focus,
body.public-shell .select:focus,
body.public-shell textarea:focus,
body.public-shell input[type='text']:focus {
  outline: 1px solid color-mix(in srgb, var(--civic-blue) 44%, transparent);
  outline-offset: 0;
  border-color: color-mix(in srgb, var(--civic-blue) 38%, var(--rule-strong));
}

body.public-shell .search-suggestions {
  top: calc(100% - 1px);
  background: var(--surface);
  border-color: var(--rule-strong);
  border-top: 0;
  box-shadow: 0 18px 28px rgba(41, 36, 28, 0.11);
  z-index: 260;
}

body.public-shell .search-suggest-section + .search-suggest-section,
body.public-shell .search-suggest-footer {
  border-top: 1px solid rgba(169, 180, 185, 0.18);
}

body.public-shell .search-suggest-item {
  padding: 14px 16px;
  border-top: 1px solid rgba(169, 180, 185, 0.12);
}

body.public-shell .search-suggest-item:hover,
body.public-shell .search-suggest-item.active {
  background: rgba(255, 255, 255, 0.9);
}

body.public-shell .search-suggest-title {
  color: var(--ink);
  font-weight: 700;
}

body.public-shell .text-small {
  color: var(--ink-2);
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1rem;
  line-height: 1.68;
}

body.public-shell p {
  max-width: 72ch;
}

body.public-shell .notice {
  border: 1px solid rgba(140, 110, 36, 0.22);
  border-left: 3px solid rgba(140, 110, 36, 0.45);
  background: #f7f1dd;
  box-shadow: none;
  padding: 14px 16px;
}

body.public-shell .topic-block-grid,
body.public-shell .comparison-card .comparison-grid,
body.public-shell .inline-coverage-grid,
body.public-shell .topic-coverage-compare {
  background: transparent;
  border-top: 0;
  gap: 14px;
  padding: 0 22px 22px;
}

body.public-shell .topic-record-stack {
  display: grid;
  gap: 30px;
  padding: 26px 30px 30px;
}

body.public-shell .topic-record-section {
  display: grid;
  gap: 14px;
  padding-top: 0;
  border-top: 0;
}

body.public-shell .topic-record-section:first-child {
  padding-top: 0;
  border-top: 0;
}

body.public-shell .topic-record-section-title {
  color: var(--ink-4);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.25;
  text-transform: uppercase;
}

body.public-shell .position-change-note {
  color: var(--ink);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.35;
}

body.public-shell .artifact-support-body .activity-context-entry .position-change-note {
  max-width: 74ch;
  color: var(--ink-2);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.45;
}

body.public-shell .topic-record-stack .stance,
body.public-shell .topic-record-stack .text-small {
  color: var(--ink-2);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.96rem;
  font-weight: 500;
  line-height: 1.58;
}

body.public-shell .topic-record-stack .stance {
  color: var(--ink);
  font-weight: 650;
}

body.public-shell .topic-record-stack .source,
body.public-shell .topic-record-stack .artifact-support-meta,
body.public-shell .topic-record-stack .artifact-evidence-kind,
body.public-shell .topic-record-stack .topic-column-title {
  letter-spacing: 0;
}

body.public-shell .artifact-support-title {
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.25;
}

body.public-shell .artifact-support-meta {
  display: grid;
  gap: 3px;
  color: var(--ink-3);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.86rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.35;
  text-transform: none;
}

body.public-shell .artifact-support-meta-source,
body.public-shell .artifact-support-meta-context {
  display: block;
}

body.public-shell .artifact-support-meta-source {
  color: var(--ink);
  font-size: 0.78rem;
  font-style: italic;
  line-height: 1.2;
}

body.public-shell .artifact-support-meta-source a {
  font-weight: 500;
}

body.public-shell .artifact-support-meta-context {
  max-width: 74ch;
}

body.public-shell .artifact-support-affordance {
  margin-top: 8px;
}

body.public-shell .artifact-support-detail-counts {
  color: var(--ink-4);
  font-weight: 700;
}

body.public-shell .artifact-support-body {
  gap: 16px;
  padding: 16px;
}

body.public-shell .artifact-detail-meta {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}

body.public-shell .artifact-support-group > .topic-column-title {
  color: var(--ink-4);
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

body.public-shell .topic-record-stack .vote-item-title,
body.public-shell .topic-record-stack .artifact-support-title {
  font-family: 'Public Sans', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

body.public-shell .observed-stance-list,
body.public-shell .observed-shift-list,
body.public-shell .campaign-content-list {
  display: grid;
  gap: 18px;
  padding-left: 20px;
}

body.public-shell .observed-stance-item,
body.public-shell .observed-shift-item,
body.public-shell .campaign-content-current,
body.public-shell .campaign-content-history-item {
  display: grid;
  gap: 4px;
  max-width: 78ch;
}

body.public-shell .observed-shift-list {
  gap: 16px;
}

body.public-shell .observed-shift-item {
  gap: 8px;
  max-width: 84ch;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
}

body.public-shell .observed-shift-item .position-change-note {
  color: var(--ink-2);
  font-weight: 500;
  line-height: 1.45;
}

body.public-shell .observed-shift-item:first-child {
  padding-top: 0;
  border-top: 0;
}

body.public-shell .observed-shift-history-note {
  max-width: 74ch;
  color: var(--ink-4);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
}

body.public-shell .observed-shift-history-note + .observed-shift-item {
  padding-top: 0;
  border-top: 0;
}

body.public-shell .observed-stance-list + .observed-shift-list {
  margin-top: 18px;
}

body.public-shell .observed-shift-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
  color: var(--ink-4);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.25;
  text-transform: uppercase;
}

body.public-shell .observed-shift-date {
  color: var(--ink-3);
  font-weight: 700;
  text-transform: none;
}

body.public-shell .observed-shift-status {
  color: var(--ink-3);
  font-weight: 700;
}

body.public-shell .observed-stance-copy {
  color: var(--ink);
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.03rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.38;
}

body.public-shell .observed-stance-copy.is-summary,
body.public-shell .campaign-content-history-copy.is-summary {
  font-family: 'Public Sans', system-ui, sans-serif;
  font-style: normal;
  font-weight: 500;
  line-height: 1.45;
}

body.public-shell .campaign-content-history-title {
  color: var(--ink);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

body.public-shell .campaign-content-history-list {
  display: grid;
  gap: 18px;
}

body.public-shell .campaign-content-history-copy {
  color: var(--ink);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.96rem;
  font-weight: 500;
  line-height: 1.45;
}

body.public-shell .topic-record-source {
  color: var(--ink);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.8rem;
  font-style: italic;
  line-height: 1.25;
}

body.public-shell .topic-record-source a,
body.public-shell .artifact-support-meta a,
body.public-shell .topic-record-more a,
body.public-shell .topic-record-see-more summary {
  color: var(--civic-blue);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, currentColor 62%, transparent);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

body.public-shell .topic-record-more,
body.public-shell .topic-record-see-more {
  padding-left: 20px;
  color: var(--civic-blue);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
}

body.public-shell .artifact-support-list .topic-record-more,
body.public-shell .vote-support-list .topic-record-more,
body.public-shell .campaign-content-list .topic-record-more {
  padding-left: 0;
}

body.public-shell .topic-compact-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 38px;
}

body.public-shell .topic-compact-item {
  max-width: 86ch;
  padding-left: 2px;
  color: var(--ink);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.38;
}

body.public-shell .topic-compact-main {
  color: var(--ink);
}

body.public-shell .topic-compact-kind,
body.public-shell .topic-compact-meta,
body.public-shell .topic-compact-summary {
  color: var(--ink-3);
}

body.public-shell .topic-compact-meta,
body.public-shell .topic-compact-summary {
  margin-top: 2px;
  font-size: 0.82rem;
  line-height: 1.35;
}

body.public-shell .topic-compact-meta a {
  color: var(--ink-3);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, currentColor 55%, transparent);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

body.public-shell .topic-compact-counts {
  color: var(--ink-3);
}

body.public-shell .topic-compact-subsection {
  display: grid;
  gap: 8px;
}

body.public-shell .topic-compact-subsection + .topic-compact-subsection {
  margin-top: 4px;
}

body.public-shell .topic-compact-subsection-title {
  padding-left: 20px;
  color: var(--ink-4);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.25;
}

body.public-shell .topic-record-see-more {
  display: grid;
  gap: 12px;
}

body.public-shell .topic-record-see-more summary {
  cursor: pointer;
  list-style-position: outside;
}

body.public-shell .topic-record-source.inline {
  display: inline;
  margin-left: 4px;
}

body.public-shell .topic-empty-note {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-left: 20px;
  color: var(--ink-3);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.94rem;
  line-height: 1.45;
}

body.public-shell .topic-empty-note a {
  color: var(--civic-blue);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, currentColor 62%, transparent);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

body.public-shell .position-pair-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 54px;
  max-width: 84ch;
}

body.public-shell .observed-shift-item .position-pair-list {
  padding-left: 24px;
}

body.public-shell .position-pair-list li {
  color: var(--ink);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.92rem;
  line-height: 1.4;
  padding-left: 4px;
}

body.public-shell .position-pair-list strong {
  font-weight: 800;
}

body.public-shell .artifact-support-body .activity-context-entry .position-pair-list {
  gap: 5px;
  margin-top: 2px;
  padding-left: 18px;
  max-width: 76ch;
}

body.public-shell .artifact-support-body .activity-context-entry .position-pair-list li {
  color: var(--ink-2);
  font-size: 0.86rem;
  line-height: 1.42;
}

body.public-shell .artifact-support-body .activity-context-entry .topic-record-source.inline {
  color: var(--ink-3);
  font-size: 0.76rem;
}

body.public-shell .artifact-support-list,
body.public-shell .vote-support-list {
  display: grid;
  gap: 10px;
  padding-left: 20px;
}

body.public-shell .vote-support {
  display: grid;
  gap: 0;
  padding: 0;
}

body.public-shell .vote-support-summary {
  display: grid;
  gap: 8px;
  padding: 12px 14px;
}

body.public-shell .vote-support summary.vote-support-summary {
  cursor: pointer;
  list-style: none;
}

body.public-shell .vote-support summary.vote-support-summary:focus {
  outline: none;
}

body.public-shell .vote-support summary.vote-support-summary:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--civic-blue) 52%, transparent);
  outline-offset: 2px;
}

body.public-shell .vote-support summary::-webkit-details-marker {
  display: none;
}

body.public-shell .vote-support-head {
  display: grid;
}

body.public-shell .vote-support-head {
  gap: 3px;
}

body.public-shell .vote-support-body {
  display: grid;
  gap: 8px;
  padding: 12px 14px 14px;
  border-top: 1px solid var(--rule);
}

body.public-shell .vote-support .artifact-support-title {
  font-size: 0.96rem;
  line-height: 1.25;
}

body.public-shell .vote-support .artifact-support-meta {
  font-size: 0.84rem;
  line-height: 1.3;
}

body.public-shell .vote-support .vote-support-facts {
  display: block;
}

body.public-shell .vote-support .vote-support-source-meta {
  gap: 2px;
  margin-top: -2px;
}

body.public-shell .vote-party-break {
  color: var(--ink);
  font-weight: 800;
}

body.public-shell .vote-support .vote-stance-summary {
  max-width: 72ch;
  color: var(--ink-2);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.45;
}

body.public-shell .vote-source-link {
  margin-top: 0;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.25;
}

body.public-shell .vote-source-link a {
  color: var(--civic-blue);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, currentColor 62%, transparent);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

body.public-shell .vote-support[open] .artifact-support-affordance > .artifact-support-affordance-expand {
  display: none;
}

body.public-shell .vote-support[open] .artifact-support-affordance > .artifact-support-affordance-collapse {
  display: inline-flex;
}

body.public-shell .external-source-link {
  display: inline;
  font-family: inherit;
  font-size: inherit;
  font-weight: 500;
  letter-spacing: 0;
}

body.public-shell .external-source-link-note {
  color: var(--ink-4);
  font-size: 0.72rem;
  font-weight: 700;
}

body.public-shell .topic-column,
body.public-shell .candidate-column {
  border-top: 1px solid var(--rule);
  background: transparent;
  box-shadow: none;
  padding: 18px 0 0;
}

body.public-shell .inline-coverage-card,
body.public-shell .coverage-compare-card,
body.public-shell .topic-meta-block {
  border-top: 1px solid var(--rule);
  background: transparent;
  box-shadow: none;
  padding: 18px 0 0;
}

body.public-shell .coverage-compare-card.shared {
  background: var(--surface-soft);
}

body.public-shell .topic-meta-block.shared {
  background: transparent;
}

body.public-shell .candidate-column-head,
body.public-shell .vote-item-head,
body.public-shell .timeline-item-head {
  gap: 14px;
}

body.public-shell .candidate-section,
body.public-shell .candidate-topic-meta,
body.public-shell .artifact-support-wrap,
body.public-shell .artifact-support-list,
body.public-shell .vote-support-list,
body.public-shell .question-snippet-list,
body.public-shell .vote-item-list,
body.public-shell .activity-control-stack,
body.public-shell .stack {
  gap: 12px;
}

body.public-shell .candidate-subcard {
  padding: 14px 0 0;
  border-top: 1px solid var(--rule);
  background: transparent;
  box-shadow: none;
}

body.public-shell .candidate-subcard h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

body.public-shell .topic-chip-rail,
body.public-shell .activity-filter-group {
  display: grid;
  gap: 8px;
}

body.public-shell .activity-control-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 10px;
  margin: 2px 0 18px;
  padding: 10px 0 14px;
  border-bottom: 1px solid var(--rule);
}

body.public-shell .activity-control {
  display: grid;
  gap: 4px;
  flex: 0 1 142px;
  min-width: 0;
}

body.public-shell .activity-control.topic-control {
  flex-basis: 226px;
  min-width: 0;
}

body.public-shell .activity-control select {
  width: 100%;
  min-height: 36px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: var(--surface);
  color: var(--ink);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.84rem;
  font-weight: 650;
  letter-spacing: 0;
  padding: 7px 10px;
}

body.public-shell .activity-control-submit {
  min-height: 36px;
  align-self: end;
  padding: 7px 12px;
}

body.public-shell .compact-rail {
  gap: 6px;
}

body.public-shell .filter-label {
  color: var(--ink-4);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

body.public-shell .filter-row {
  gap: 8px;
}

body.public-shell .activity-context-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  color: var(--ink-4);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.02em;
}

body.public-shell .activity-context-meta span {
  display: inline-flex;
  align-items: center;
}

body.public-shell .activity-context-meta span + span::before {
  content: '';
  width: 3px;
  height: 3px;
  margin: 0 8px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.45;
}

body.public-shell .stance {
  color: var(--ink);
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.55;
  margin: 0;
}

body.public-shell .quote,
body.public-shell .quote-inline {
  color: var(--ink-2);
  font-family: 'Newsreader', Georgia, serif;
  font-style: italic;
  line-height: 1.5;
}

body.public-shell .quote {
  border: 0;
  background: transparent;
  padding: 8px 0 0;
  font-size: 1.18rem;
  margin-bottom: 0;
  box-shadow: none;
}

body.public-shell .quote.dem {
  box-shadow:
    inset 3px 0 0 rgba(58, 102, 150, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

body.public-shell .quote.rep {
  box-shadow:
    inset 3px 0 0 rgba(139, 71, 69, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

body.public-shell .quote-inline {
  font-size: 1.08rem;
}

body.public-shell .shift-box {
  border-top: 1px solid var(--rule);
  background: transparent;
  box-shadow: none;
  padding: 12px 0 0;
}

body.public-shell .artifact-support summary {
  gap: 7px;
  padding: 14px 16px;
}

body.public-shell .artifact-support-body,
body.public-shell .vote-support,
body.public-shell .gap-list li,
body.public-shell .question-snippet,
body.public-shell .vote-item,
body.public-shell .artifact-detail-list li,
body.public-shell .activity-context {
  border-top-color: var(--rule);
}

body.public-shell .gap-list li,
body.public-shell .question-snippet,
body.public-shell .vote-item {
  padding-top: 12px;
}

body.public-shell .activity-context {
  margin-top: 14px;
  padding-top: 12px;
}

body.public-shell .activity-context summary {
  color: var(--ink-4);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
}

body.public-shell .activity-context-body {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

body.public-shell .activity-context-entry {
  padding-top: 12px;
  border-top: 1px solid var(--rule);
}

body.public-shell .activity-context-entry:first-child {
  padding-top: 0;
  border-top: 0;
}

body.public-shell .artifact-detail-list .activity-context-entry {
  padding-top: 0;
  border-top: 0;
}

body.public-shell .timeline {
  position: relative;
  display: grid;
  gap: 18px;
  margin-left: 0;
  padding-left: 0;
  border-left: 0;
}

body.public-shell .timeline::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: var(--surface-high);
}

body.public-shell .timeline .item {
  position: relative;
  margin-bottom: 0;
  padding: 18px 0 18px 38px;
  border-top: 1px solid var(--rule);
  border-left-width: 0;
  background: transparent;
  box-shadow: none;
}

body.public-shell .timeline .item::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 22px;
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  background: #8ea3c8;
  box-shadow: none;
}

body.public-shell .timeline .item.shift::before {
  background: #6d7d95;
}

body.public-shell .timeline .item:first-child {
  padding-top: 0;
  border-top: 0;
}

body.public-shell .timeline .item.artifact,
body.public-shell .timeline .item.appearance {
  background: var(--surface);
}

body.public-shell .timeline .item.vote,
body.public-shell .timeline .item.finance {
  background: var(--surface);
}

body.public-shell .timeline .item.linked {
  box-shadow: var(--shadow);
}

body.public-shell .timeline .event {
  margin-top: 4px;
  color: var(--ink);
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.45;
}

body.public-shell .activity-summary-heading {
  margin: 0 0 22px;
  color: var(--ink);
  font-size: 1rem;
  letter-spacing: 0;
}

body.public-shell .activity-list {
  display: grid;
  gap: 10px;
  padding-left: 20px;
}

body.public-shell .activity-list-item {
  min-width: 0;
}

body.public-shell [data-candidate-activity-timeline] .artifact-support-group {
  gap: 8px;
}

body.public-shell [data-candidate-activity-timeline] .artifact-summary-group {
  gap: 4px;
}

body.public-shell [data-candidate-activity-timeline] .artifact-summary-text,
body.public-shell [data-candidate-activity-timeline] .activity-context-entry .text-small {
  max-width: 76ch;
  color: var(--ink-2);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.46;
}

body.public-shell .finance-panel {
  display: grid;
  gap: 20px;
}

body.public-shell .finance-source-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid var(--rule);
  background: var(--surface);
  color: var(--ink-3);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.25;
}

body.public-shell .finance-source-line a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--rule-strong);
  white-space: nowrap;
}

body.public-shell .finance-summary-grid,
body.public-shell .finance-primary-metrics,
body.public-shell .finance-fyi-metrics,
body.public-shell .finance-snapshot-strip {
  display: grid;
  gap: 8px;
}

body.public-shell .finance-summary-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.public-shell .finance-snapshot-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

body.public-shell .finance-overview-grid,
body.public-shell .finance-chart-grid,
body.public-shell .finance-lower-grid,
body.public-shell .finance-snapshot-grid,
body.public-shell .finance-story-grid,
body.public-shell .finance-detail-stack {
  display: grid;
  gap: 14px;
  align-items: start;
}

body.public-shell .finance-snapshot-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(13rem, 0.52fr) minmax(20rem, 0.72fr);
}

body.public-shell .finance-primary-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.public-shell .finance-fyi-metrics {
  grid-template-columns: 1fr;
}

body.public-shell .finance-story-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr);
  gap: 16px;
}

body.public-shell .finance-story-grid.finance-story-grid-integrated {
  grid-template-columns: 1fr;
}

body.public-shell .finance-detail-stack {
  gap: 26px;
}

body.public-shell .finance-overview-grid {
  grid-template-columns: minmax(0, 1.32fr) minmax(20rem, 0.68fr);
}

body.public-shell .finance-chart-grid {
  grid-template-columns: minmax(0, 1.18fr) repeat(2, minmax(16rem, 0.91fr));
}

body.public-shell .finance-lower-grid {
  grid-template-columns: minmax(19rem, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
}

body.public-shell .finance-metric-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

body.public-shell .finance-metric-card,
body.public-shell .finance-story-stat,
body.public-shell .finance-explainer,
body.public-shell .finance-period-card,
body.public-shell .finance-history-section,
body.public-shell .finance-mix-section,
body.public-shell .finance-comparison-section,
body.public-shell .finance-receipt-item,
body.public-shell .finance-donor-card {
  border: 1px solid var(--rule);
  background: var(--surface);
  box-shadow: var(--shadow);
}

body.public-shell .finance-metric-card {
  min-width: 0;
  padding: 11px 12px;
  display: grid;
  gap: 4px;
  align-content: start;
}

body.public-shell .finance-metric-primary {
  min-height: 0;
  padding: 10px 12px;
}

body.public-shell .finance-metric-primary .finance-metric-value {
  font-size: 1.32rem;
}

body.public-shell .finance-metric-fyi {
  min-height: 0;
  padding: 10px 12px;
}

body.public-shell .finance-metric-fyi .finance-metric-value {
  font-size: 1.32rem;
}

body.public-shell .finance-metric-rank {
  margin-top: 2px;
  color: var(--ink-3);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.25;
}

body.public-shell .finance-metric-label,
body.public-shell .finance-receipt-meta,
body.public-shell .finance-mini-stats dt {
  color: var(--ink-3);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

body.public-shell .finance-metric-value {
  color: var(--ink);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.05;
}

body.public-shell .finance-metric-help,
body.public-shell .finance-note,
body.public-shell .finance-filter-note,
body.public-shell .finance-explainer p {
  max-width: 72ch;
  margin: 0;
  color: var(--ink-2);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.92rem;
  line-height: 1.48;
}

body.public-shell .finance-filter-note {
  color: var(--ink-3);
  font-size: 0.78rem;
  line-height: 1.35;
}

body.public-shell .finance-explainer {
  padding: 18px;
  display: grid;
  gap: 12px;
}

body.public-shell .finance-period-card {
  padding: 14px 16px;
  display: grid;
  gap: 10px;
}

body.public-shell .finance-period-card p {
  max-width: 92ch;
  margin: 0;
  color: var(--ink-2);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.9rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

body.public-shell .finance-story-section {
  display: grid;
  gap: 18px;
  min-width: 0;
  padding-top: 4px;
}

body.public-shell .finance-spend-section {
  margin-top: 20px;
}

body.public-shell .finance-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

body.public-shell .finance-section-head .label-row {
  gap: 2px;
  margin-bottom: 0;
}

body.public-shell .finance-section-head .section-heading {
  font-size: 1.48rem;
  letter-spacing: 0;
  line-height: 1;
}

body.public-shell .finance-section-head .meta {
  color: var(--ink-3);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.28;
}

body.public-shell .finance-jump-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--ink-3);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
}

body.public-shell .finance-jump-row a,
body.public-shell .finance-preview-list .label-row a {
  display: inline-flex;
  width: max-content;
  border-bottom: 1px solid var(--rule-strong);
  color: var(--ink-3);
  text-decoration: none;
}

body.public-shell .finance-story-stat {
  min-width: 0;
  padding: 16px;
  display: grid;
  gap: 8px;
  align-content: start;
}

body.public-shell .finance-story-stat span {
  color: var(--ink-3);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

body.public-shell .finance-story-stat strong {
  color: var(--ink);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 2rem;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1;
}

body.public-shell .finance-story-stat p {
  margin: 0;
  color: var(--ink-2);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.9rem;
  line-height: 1.42;
}

body.public-shell .finance-preview-list {
  display: grid;
  gap: 10px;
  min-width: 0;
}

body.public-shell .finance-preview-list .label-row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  margin-bottom: 0;
}

body.public-shell .finance-history-section,
body.public-shell .finance-mix-section,
body.public-shell .finance-comparison-section,
body.public-shell .finance-vendor-section,
body.public-shell .finance-detail-section,
body.public-shell .finance-donor-section {
  min-width: 0;
  display: grid;
  gap: 12px;
}

body.public-shell .finance-history-section,
body.public-shell .finance-mix-section,
body.public-shell .finance-comparison-section {
  padding: 14px;
  gap: 10px;
}

body.public-shell .finance-trend-chart {
  display: grid;
  gap: 9px;
  min-width: 0;
}

body.public-shell .finance-trend-chart svg {
  width: 100%;
  min-height: 118px;
  height: clamp(118px, 14vw, 148px);
  overflow: visible;
}

body.public-shell .finance-axis {
  stroke: var(--rule-strong);
  stroke-width: 1;
}

body.public-shell .finance-trend-line {
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.public-shell .finance-trend-line-receipts {
  stroke: #2f6f68;
}

body.public-shell .finance-trend-line-cash {
  stroke: #6a5d9f;
}

body.public-shell .finance-trend-line-spent {
  stroke: #9a5a2e;
}

body.public-shell .finance-chart-scale,
body.public-shell .finance-chart-legend,
body.public-shell .finance-mix-labels,
body.public-shell .finance-area-date-labels,
body.public-shell .finance-area-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  color: var(--ink-3);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
}

body.public-shell .finance-chart-scale {
  justify-content: space-between;
}

body.public-shell .finance-chart-legend span::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 3px;
  margin-right: 7px;
  vertical-align: middle;
  background: currentColor;
}

body.public-shell .finance-legend-receipts {
  color: #2f6f68;
}

body.public-shell .finance-legend-cash {
  color: #6a5d9f;
}

body.public-shell .finance-legend-spent {
  color: #9a5a2e;
}

body.public-shell .finance-trend-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

body.public-shell .finance-trend-value {
  border-top: 1px solid var(--rule);
  padding-top: 8px;
  min-width: 0;
}

body.public-shell .finance-trend-value span {
  display: block;
  color: var(--ink-3);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

body.public-shell .finance-trend-value strong {
  display: block;
  margin-top: 3px;
  color: var(--ink);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.98rem;
  font-weight: 850;
  line-height: 1;
}

body.public-shell .finance-mix-grid,
body.public-shell .finance-comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

body.public-shell .finance-comparison-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.public-shell .finance-mix-chart {
  display: grid;
  gap: 12px;
}

body.public-shell .finance-area-chart {
  display: grid;
  gap: 8px;
  min-width: 0;
}

body.public-shell .finance-area-chart svg {
  width: 100%;
  min-height: 128px;
  height: clamp(128px, 13vw, 148px);
  overflow: visible;
}

body.public-shell .finance-area-midline {
  opacity: 0.45;
}

body.public-shell .finance-area-layer {
  fill: var(--area-color);
  opacity: 0.84;
  stroke: var(--surface);
  stroke-width: 0.8;
}

body.public-shell .finance-area-date-labels {
  justify-content: space-between;
}

body.public-shell .finance-area-legend {
  gap: 6px 12px;
}

body.public-shell .finance-area-legend span {
  color: var(--area-color);
}

body.public-shell .finance-area-legend span::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  background: currentColor;
  vertical-align: -1px;
}

body.public-shell .finance-area-breakdown {
  display: grid;
  gap: 4px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

body.public-shell .finance-area-breakdown li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: baseline;
  min-width: 0;
  color: var(--ink-2);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
}

body.public-shell .finance-area-breakdown li span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.public-shell .finance-area-breakdown li span::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  background: var(--area-color);
  vertical-align: -1px;
}

body.public-shell .finance-area-breakdown strong,
body.public-shell .finance-area-breakdown em {
  color: var(--ink);
  font-style: normal;
  font-weight: 850;
  white-space: nowrap;
}

body.public-shell .finance-bar-chart {
  display: grid;
  gap: 8px;
  min-width: 0;
}

body.public-shell .finance-bar-chart svg {
  width: 100%;
  min-height: 168px;
  height: clamp(168px, 16vw, 206px);
  overflow: visible;
}

body.public-shell .finance-bar-segment {
  fill: var(--area-color);
  stroke: var(--surface);
  stroke-width: 0.8;
}

body.public-shell .finance-bar-percent,
body.public-shell .finance-bar-total {
  font-family: 'Public Sans', system-ui, sans-serif;
  font-weight: 760;
  letter-spacing: 0;
  text-anchor: middle;
}

body.public-shell .finance-bar-percent {
  font-size: 0.54rem;
  dominant-baseline: middle;
  opacity: 0.9;
}

body.public-shell .finance-bar-total {
  fill: var(--ink-2);
  font-size: 0.74rem;
  font-weight: 850;
}

body.public-shell .finance-bar-date-labels {
  position: relative;
  min-height: 16px;
  color: var(--ink-3);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.73rem;
  font-weight: 800;
}

body.public-shell .finance-bar-date-labels span {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  white-space: nowrap;
}

body.public-shell .finance-bar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  color: var(--ink-3);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.25;
}

body.public-shell .finance-bar-legend span {
  color: var(--area-color);
}

body.public-shell .finance-bar-legend span::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  background: currentColor;
  vertical-align: -1px;
}

body.public-shell .finance-plot-chart {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding-top: 2px;
}

body.public-shell .finance-plot-chart > svg {
  display: block;
  width: 100%;
  height: auto;
  min-height: 230px;
  overflow: visible;
}

body.public-shell .finance-plot-chart text {
  font-family: 'Public Sans', system-ui, sans-serif;
  letter-spacing: 0;
}

body.public-shell .finance-plot-chart .tick text {
  fill: var(--ink-3);
  font-size: 0.68rem;
  font-weight: 760;
}

body.public-shell .finance-plot-chart .domain {
  stroke: var(--rule-strong);
}

body.public-shell .finance-plot-chart line[stroke-opacity] {
  stroke: color-mix(in srgb, var(--rule) 80%, transparent);
}

body.public-shell .finance-plot-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  color: var(--ink-3);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.25;
}

body.public-shell .finance-plot-legend span {
  color: var(--area-color);
}

body.public-shell .finance-plot-legend span::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  background: currentColor;
  vertical-align: -1px;
}

body.public-shell .finance-chart-loading {
  min-height: 230px;
  display: grid;
  align-items: center;
  color: var(--ink-3);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 760;
}

body.public-shell .finance-card-detail {
  display: grid;
  gap: 6px;
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
}

body.public-shell .finance-card-detail-head + .finance-filter-note {
  margin-top: -3px;
}

body.public-shell .finance-card-detail-head,
body.public-shell .finance-compact-rollup-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  align-items: baseline;
  min-width: 0;
}

body.public-shell .finance-card-detail-head h3 {
  margin: 0;
  color: var(--ink);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1.15;
}

body.public-shell .finance-card-detail-head a {
  color: var(--ink-3);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid var(--rule-strong);
}

body.public-shell .finance-compact-rollup-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
}

body.public-shell .finance-compact-rollup-row {
  padding: 7px 0;
  border-top: 1px solid var(--rule);
  color: var(--ink-2);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.76rem;
  line-height: 1.25;
}

body.public-shell .finance-compact-rollup-row > strong {
  min-width: 0;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 850;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.public-shell .finance-compact-rollup-row > b {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 850;
  white-space: nowrap;
}

body.public-shell .finance-compact-rollup-row > span {
  grid-column: 1 / -1;
  color: var(--ink-3);
  font-size: 0.72rem;
  font-weight: 600;
}

body.public-shell .finance-compact-profile {
  display: grid;
  gap: 2px;
  line-height: 1.28;
}

body.public-shell .finance-compact-profile b {
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
}

body.public-shell .finance-compact-profile span,
body.public-shell .finance-compact-meta {
  color: var(--ink-3);
  font-weight: 600;
}

body.public-shell .finance-mix-row {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

body.public-shell .finance-mix-date,
body.public-shell .finance-comparison-grid span {
  color: var(--ink-3);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

body.public-shell .finance-stacked-bar,
body.public-shell .finance-share-track {
  display: flex;
  width: 100%;
  min-width: 0;
  height: 16px;
  overflow: hidden;
  border: 1px solid var(--rule);
  background: var(--surface-subtle);
}

body.public-shell .finance-mix-segment {
  display: block;
  min-width: 2px;
}

body.public-shell .finance-mix-itemized_individual,
body.public-shell .finance-mix-media_and_advertising {
  background: oklch(43% 0.088 180);
}

body.public-shell .finance-mix-unitemized_individual {
  background: oklch(64% 0.070 180);
}

body.public-shell .finance-mix-fundraising {
  background: oklch(63% 0.115 78);
}

body.public-shell .finance-mix-pac_and_committee,
body.public-shell .finance-mix-payroll_and_benefits {
  background: oklch(43% 0.096 265);
}

body.public-shell .finance-mix-party_committee {
  background: oklch(47% 0.120 315);
}

body.public-shell .finance-mix-consulting_and_strategy {
  background: oklch(45% 0.105 24);
}

body.public-shell .finance-mix-candidate_self_funding {
  background: oklch(47% 0.105 48);
}

body.public-shell .finance-mix-digital_data_and_technology {
  background: oklch(46% 0.09 212);
}

body.public-shell .finance-mix-authorized_transfers {
  background: oklch(47% 0.105 48);
}

body.public-shell .finance-mix-mail_printing_and_postage {
  background: oklch(51% 0.08 145);
}

body.public-shell .finance-mix-other_receipts,
body.public-shell .finance-mix-travel_events_and_field,
body.public-shell .finance-mix-compliance_legal_and_accounting,
body.public-shell .finance-mix-fees_processing_and_bank,
body.public-shell .finance-mix-transfers_contributions_and_refunds,
body.public-shell .finance-mix-loan_and_debt_payments,
body.public-shell .finance-mix-other_or_unclear {
  background: #667085;
}

body.public-shell .finance-comparison-grid > div {
  display: grid;
  gap: 6px;
  min-width: 0;
}

body.public-shell .finance-comparison-grid strong {
  color: var(--ink);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 1.02rem;
  font-weight: 800;
}

body.public-shell .finance-share-track span {
  display: block;
  min-width: 2px;
  background: #2f6f68;
}

body.public-shell .finance-context-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 14px;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
  color: var(--ink-2);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.9rem;
}

body.public-shell .finance-context-strip strong {
  color: var(--ink);
  font-size: 1rem;
}

body.public-shell .finance-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.85fr);
  gap: 24px;
  align-items: start;
}

body.public-shell .finance-detail-section,
body.public-shell .finance-side-section,
body.public-shell .finance-receipt-list,
body.public-shell .finance-donor-list {
  display: grid;
  gap: 12px;
}

body.public-shell .finance-receipt-item,
body.public-shell .finance-donor-card {
  min-width: 0;
  padding: 13px;
}

body.public-shell .finance-receipt-title {
  margin-top: 4px;
  color: var(--ink);
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.08rem;
  line-height: 1.34;
}

body.public-shell .finance-receipt-context {
  margin-top: 8px;
  color: var(--ink-2);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.92rem;
  line-height: 1.46;
}

body.public-shell .finance-threshold-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.public-shell .finance-threshold-list li,
body.public-shell .finance-donor-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

body.public-shell .finance-threshold-list li {
  padding: 8px 0;
  border-top: 1px solid var(--rule);
  color: var(--ink-2);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.88rem;
}

body.public-shell .finance-threshold-list strong,
body.public-shell .finance-donor-head strong,
body.public-shell .finance-mini-stats dd {
  color: var(--ink);
  min-width: 0;
  overflow-wrap: anywhere;
}

body.public-shell .finance-donor-head span {
  color: var(--ink-3);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  flex: 0 0 auto;
  text-align: right;
}

body.public-shell .finance-mini-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(6rem, 1fr));
  gap: 8px;
  margin: 10px 0 0;
}

body.public-shell .finance-mini-stats-single {
  grid-template-columns: 1fr;
}

body.public-shell .finance-mini-stats-compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.public-shell .finance-mini-stats div {
  min-width: 0;
}

body.public-shell .finance-mini-stats dt,
body.public-shell .finance-mini-stats dd {
  margin: 0;
}

body.public-shell .finance-mini-stats dd {
  margin-top: 3px;
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
}

body.public-shell .finance-donor-list-priority {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.public-shell .finance-donor-section > .label-row {
  gap: 8px;
  margin-bottom: 14px;
}

body.public-shell .finance-donor-section > .label-row .section-heading {
  font-size: 1.48rem;
  letter-spacing: 0;
  line-height: 1;
}

body.public-shell .finance-donor-section > .label-row .meta {
  max-width: 76ch;
  color: var(--ink-3);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

body.public-shell .finance-donor-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--rule);
  background: var(--surface);
  box-shadow: var(--shadow);
}

body.public-shell .finance-profile-legend {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-3);
  font-size: 0.76rem;
  font-weight: 750;
  line-height: 1.2;
}

body.public-shell .finance-profile-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

body.public-shell .finance-profile-legend i {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border: 1px solid color-mix(in oklch, var(--ink) 18%, transparent);
}

body.public-shell .finance-donor-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  color: var(--ink);
  font-family: 'Public Sans', system-ui, sans-serif;
}

body.public-shell .finance-donor-table th,
body.public-shell .finance-donor-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
}

body.public-shell .finance-donor-table thead th {
  color: var(--ink-3);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

body.public-shell .finance-donor-table tbody th {
  width: 28%;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 850;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

body.public-shell .finance-donor-table tbody tr:last-child th,
body.public-shell .finance-donor-table tbody tr:last-child td {
  border-bottom: 0;
}

body.public-shell .finance-donor-table-amount {
  width: 13%;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 850;
  white-space: nowrap;
}

body.public-shell .finance-donor-table-latest {
  width: 11%;
  color: var(--ink-3);
  font-size: 0.82rem;
  font-weight: 650;
  white-space: nowrap;
}

body.public-shell .finance-profile-cell {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: var(--ink-2);
  font-size: 0.84rem;
  font-weight: 550;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

body.public-shell .finance-profile-cell b {
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.1;
}

body.public-shell .finance-profile-bar {
  display: flex;
  width: min(100%, 26rem);
  max-width: 100%;
  height: 9px;
  overflow: hidden;
  border: 1px solid var(--rule);
  background: var(--surface-subtle);
}

body.public-shell .finance-profile-bar-segment {
  display: block;
  min-width: 3px;
}

body.public-shell .finance-profile-bar-segment + .finance-profile-bar-segment {
  box-shadow: inset 1px 0 color-mix(in oklch, var(--surface) 80%, transparent);
}

body.public-shell .finance-profile-bar-individuals {
  background: oklch(43% 0.088 180);
}

body.public-shell .finance-profile-bar-itemized_individual {
  background: oklch(43% 0.088 180);
}

body.public-shell .finance-profile-bar-unitemized_individual {
  background: oklch(64% 0.070 180);
}

body.public-shell .finance-profile-bar-pacs_committees {
  background: oklch(43% 0.096 265);
}

body.public-shell .finance-profile-bar-pac_and_committee {
  background: oklch(43% 0.096 265);
}

body.public-shell .finance-profile-bar-party_committees {
  background: oklch(47% 0.120 315);
}

body.public-shell .finance-profile-bar-party_committee {
  background: oklch(47% 0.120 315);
}

body.public-shell .finance-profile-bar-candidate_committees {
  background: oklch(47% 0.105 48);
}

body.public-shell .finance-profile-bar-candidate_self_funding,
body.public-shell .finance-profile-bar-authorized_transfers {
  background: oklch(47% 0.105 48);
}

body.public-shell .finance-profile-bar-business_other_orgs {
  background: oklch(42% 0.072 145);
}

body.public-shell .finance-profile-bar-nonprofit-like_orgs {
  background: oklch(53% 0.080 210);
}

body.public-shell .finance-profile-bar-other,
body.public-shell .finance-profile-bar-unknown {
  background: oklch(48% 0.025 250);
}

body.public-shell [data-candidate-activity-timeline] .activity-context-entry .text-small {
  margin-top: 0 !important;
  color: var(--ink);
}

body.public-shell [data-candidate-activity-timeline] .activity-context-entry .position-change-note {
  max-width: 74ch;
  color: var(--ink-2);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.45;
}

body.public-shell [data-candidate-activity-timeline] .activity-context-entry .position-pair-list {
  gap: 5px;
  margin-top: 2px;
  padding-left: 18px;
  max-width: 76ch;
}

body.public-shell [data-candidate-activity-timeline] .activity-context-entry .position-pair-list li {
  color: var(--ink-2);
  font-size: 0.86rem;
  line-height: 1.42;
}

body.public-shell [data-candidate-activity-timeline] .activity-context-entry .topic-record-source.inline {
  color: var(--ink-3);
  font-size: 0.76rem;
}

body.public-shell [data-candidate-activity-timeline] .artifact-detail-list.activity-context-list {
  gap: 0;
  padding-left: 18px;
}

body.public-shell [data-candidate-activity-timeline] .artifact-detail-list.activity-context-list li {
  border-top: 0;
  padding-top: 0;
}

body.public-shell [data-candidate-activity-timeline] .artifact-detail-list.activity-context-list li + li {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
}

body.public-shell [data-candidate-activity-timeline] .activity-context-entry {
  gap: 6px;
  max-width: 78ch;
}

body.public-shell [data-candidate-activity-timeline] .activity-context-meta {
  color: var(--ink-4);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

body.public-shell [data-candidate-activity-timeline] .activity-context-entry .artifact-qa-line {
  max-width: 76ch;
  color: var(--ink-2);
  font-size: 0.9rem;
  font-style: italic;
  line-height: 1.42;
  padding-left: 12px;
}

body.public-shell [data-candidate-activity-timeline] .activity-context-entry .source {
  margin-top: 0 !important;
  color: var(--ink-4);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.3;
}

body.public-shell [data-candidate-activity-timeline] .activity-context-entry .shift-pair {
  margin-top: 2px !important;
  color: var(--ink-2);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.86rem;
  line-height: 1.42;
}

body.public-shell .position-change-source-block {
  display: grid;
  gap: 7px;
  margin-top: 8px;
  max-width: 78ch;
}

body.public-shell .position-change-source-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

body.public-shell .position-change-source-list li {
  border-top: 1px solid var(--rule);
  color: var(--ink-2);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.86rem;
  line-height: 1.42;
  padding-top: 8px;
}

body.public-shell .position-change-source-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

body.public-shell .position-change-source-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  color: var(--ink-4);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.3;
}

body.public-shell .position-change-source-summary {
  margin-top: 3px;
  color: var(--ink);
  font-weight: 600;
}

body.public-shell .position-change-source-quote {
  margin-top: 3px;
  padding-left: 12px;
  color: var(--ink-2);
  font-style: italic;
}

body.public-shell [data-candidate-activity-timeline] .activity-record {
  display: grid;
  gap: 12px;
}

body.public-shell [data-candidate-activity-timeline] .activity-record-head {
  display: grid;
  gap: 5px;
}

body.public-shell [data-candidate-activity-timeline] .activity-fact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
}

body.public-shell [data-candidate-activity-timeline] .activity-fact-row div {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

body.public-shell [data-candidate-activity-timeline] .activity-fact-row dt {
  color: var(--ink-4);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

body.public-shell [data-candidate-activity-timeline] .activity-fact-row dd {
  margin: 0;
  color: var(--ink);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.3;
}

body.public-shell .table-card {
  overflow: hidden;
}

body.public-shell .table {
  border: 1px solid var(--rule);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

body.public-shell .table th,
body.public-shell .table td {
  border-bottom: 1px solid rgba(169, 180, 185, 0.18);
  color: var(--ink-2);
  font-size: 0.85rem;
  padding: 13px 14px;
}

body.public-shell .table th {
  background: var(--surface-high);
  text-transform: none;
  letter-spacing: 0.02em;
}

body.public-shell .coverage-matrix-cell.selected {
  background: #edf3f7;
}

body.public-shell .matrix-count {
  color: var(--ink);
}

body.public-shell .candidate-chooser {
  border-top: 0;
  padding-top: 0;
}

body.public-shell .candidate-chip-row {
  gap: 10px;
}

body.public-shell .conf-dot::after {
  background: rgba(11, 15, 16, 0.94);
  border-radius: 999px;
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 7px 10px;
  text-transform: none;
}

body.public-shell .conf-dot {
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  padding: 0;
  border-radius: 999px;
}

body.public-shell .conf-dot:hover {
  transform: none;
}

body.public-shell .conf-dot.high {
  background: rgba(35, 112, 97, 0.16);
  border-color: rgba(35, 112, 97, 0.42);
  box-shadow: inset 0 0 0 3px rgba(35, 112, 97, 0.34);
}

body.public-shell .conf-dot.med {
  background: rgba(140, 110, 36, 0.16);
  border-color: rgba(140, 110, 36, 0.42);
  box-shadow: inset 0 0 0 3px rgba(140, 110, 36, 0.3);
}

body.public-shell .conf-dot.low {
  background: rgba(139, 71, 69, 0.16);
  border-color: rgba(139, 71, 69, 0.42);
  box-shadow: inset 0 0 0 3px rgba(139, 71, 69, 0.3);
}

body.public-shell .footer {
  margin-top: 38px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #14191f;
  color: rgba(255, 255, 255, 0.72);
  padding: 28px 0;
}

body.public-shell .footer .inner {
  max-width: var(--container);
  padding: 0 24px;
  align-items: flex-start;
}

body.public-shell .footer .brand {
  color: #fff;
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

body.public-shell .footer .copy {
  color: rgba(255, 255, 255, 0.8);
}

body.public-shell .footer-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

body.public-shell .footer-links a {
  color: rgba(255, 255, 255, 0.86);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

body.public-shell .faq-page,
body.public-shell .faq-topic,
body.public-shell .faq-answer-list {
  display: grid;
  gap: 18px;
}

body.public-shell .faq-topic {
  padding-top: 8px;
  border-top: 1px solid var(--rule);
}

body.public-shell .faq-answer-list {
  gap: 16px;
}

body.public-shell .faq-topic h3 {
  margin: 0 0 5px;
  color: var(--ink);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.94rem;
  font-weight: 850;
  line-height: 1.2;
}

body.public-shell .faq-topic p {
  max-width: 82ch;
  margin: 0;
  color: var(--ink-2);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 0.96rem;
  line-height: 1.55;
}

@media (max-width: 1260px) {
  body.public-shell .finance-summary-grid,
  body.public-shell .finance-metric-strip,
  body.public-shell .finance-snapshot-strip,
  body.public-shell .finance-snapshot-grid,
  body.public-shell .finance-story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.public-shell .finance-snapshot-grid .finance-comparison-section,
  body.public-shell .finance-story-grid .finance-preview-list {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1100px) {
  body.public-shell .shell-signal-row,
  body.public-shell.page-home .home-hero,
  body.public-shell .hero-search,
  body.public-shell .split,
  body.public-shell .finance-overview-grid,
  body.public-shell .finance-chart-grid,
  body.public-shell .finance-lower-grid,
  body.public-shell .finance-snapshot-grid,
  body.public-shell .finance-story-grid,
  body.public-shell .finance-mix-grid,
  body.public-shell .finance-comparison-grid,
  body.public-shell .finance-detail-grid {
    grid-template-columns: 1fr;
  }

  body.public-shell .finance-snapshot-grid .finance-comparison-section,
  body.public-shell .finance-story-grid .finance-preview-list {
    grid-column: auto;
  }

  body.public-shell .page-head h1 {
    max-width: 12ch;
  }

  body.public-shell.page-home .home-hero {
    grid-template-columns: minmax(0, 44rem);
  }

  body.public-shell.page-home .home-dashboard {
    grid-template-columns: minmax(0, 2fr) minmax(15rem, 1fr);
  }
}

@media (max-width: 980px) {
  body.public-shell .cards,
  body.public-shell .four-up,
  body.public-shell .three-up,
  body.public-shell .finance-summary-grid,
  body.public-shell .race-grid,
  body.public-shell .candidate-grid,
  body.public-shell .evidence-section-grid,
  body.public-shell .topic-summary-grid,
  body.public-shell .compare-pair-grid,
  body.public-shell .topic-block-grid,
  body.public-shell .inline-coverage-grid,
  body.public-shell .comparison-card .comparison-grid {
    grid-template-columns: 1fr;
  }

  body.public-shell.page-race .race-compare-board .board-head,
  body.public-shell.page-race .race-compare-board .topic-glance-grid,
  body.public-shell.page-race .race-compare-board .topic-row-footer {
    grid-template-columns: 1fr;
  }

  body.public-shell.page-candidate .candidate-page-body {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  body.public-shell .finance-mini-stats {
    grid-template-columns: 1fr;
  }

  body.public-shell .finance-threshold-list,
  body.public-shell .finance-donor-list-priority,
  body.public-shell .finance-compact-rollup-list {
    grid-template-columns: 1fr;
  }

  body.public-shell.page-race .race-compare-board .board-head-candidate:not(:last-child) {
    border-bottom: 1px solid var(--rule);
    padding-bottom: 12px;
  }

  body.public-shell nav.site-nav .inner {
    flex-wrap: wrap;
  }

  body.public-shell .nav-search-wrap {
    order: 3;
    flex-basis: 100%;
    min-width: 0;
    max-width: none;
  }

  body.public-shell .nav-links {
    justify-content: flex-end;
    margin-left: auto;
  }

  body.public-shell .candidate-view-nav {
    align-items: flex-end;
  }

  body.public-shell .activity-control,
  body.public-shell .activity-control.topic-control {
    max-width: none;
    min-width: 0;
  }
}

@media (max-width: 820px) {
  body.public-shell.page-home .home-dashboard {
    grid-template-columns: 1fr;
  }

  body.public-shell.page-home .home-stance-list {
    grid-template-columns: 1fr;
  }

  body.public-shell.page-home .home-stance-item:nth-child(2) {
    border-top: 1px solid color-mix(in oklch, var(--rule) 78%, transparent);
  }

  body.public-shell.page-home .home-stance-item:nth-child(odd) {
    border-right: 0;
  }
}

@media (max-width: 760px) {
  body.public-shell .finance-source-line {
    align-items: flex-start;
    flex-direction: column;
  }

  body.public-shell .finance-source-line a {
    white-space: normal;
  }

  body.public-shell .wrap,
  body.public-shell .footer .inner,
  body.public-shell .top-bar .inner,
  body.public-shell nav.site-nav .inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  body.public-shell .page-head,
  body.public-shell.page-home .home-hero,
  body.public-shell .hero-search {
    padding: 24px 20px;
  }

  body.public-shell.page-home .home-hero h1 {
    max-width: 12ch;
    font-size: clamp(2rem, 11vw, 3rem);
  }

  body.public-shell.page-home .home-hero p {
    font-size: 1.05rem;
  }

  body.public-shell .compact-head {
    padding: 18px 18px;
  }

  body.public-shell .top-bar .inner {
    justify-content: center;
    gap: 8px;
    font-size: 0.66rem;
  }

  body.public-shell nav.site-nav .inner {
    gap: 12px;
  }

  body.public-shell .wordmark {
    font-size: 1.45rem;
    letter-spacing: -0.04em;
  }

  body.public-shell .nav-links {
    flex: 1 1 auto;
    min-width: 0;
    gap: 0;
  }

  body.public-shell .nav-links a {
    font-size: 0.63rem;
    letter-spacing: 0.04em;
    padding: 7px 7px 6px;
  }

  body.public-shell .finance-panel {
    max-width: calc(100vw - 32px);
    overflow: hidden;
  }

  body.public-shell .finance-panel > *,
  body.public-shell .finance-overview-grid,
  body.public-shell .finance-chart-grid,
  body.public-shell .finance-lower-grid,
  body.public-shell .finance-snapshot-grid,
  body.public-shell .finance-story-grid {
    max-width: 100%;
  }

  body.public-shell .finance-metric-strip,
  body.public-shell .finance-snapshot-strip,
  body.public-shell .finance-primary-metrics,
  body.public-shell .finance-fyi-metrics {
    grid-template-columns: 1fr;
  }

  body.public-shell .finance-section-head {
    align-items: start;
    flex-direction: column;
  }

  body.public-shell .finance-donor-table-wrap {
    max-width: 100%;
    overflow: visible;
  }

  body.public-shell .finance-donor-table,
  body.public-shell .finance-donor-table tbody,
  body.public-shell .finance-donor-table tr,
  body.public-shell .finance-donor-table th,
  body.public-shell .finance-donor-table td {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  body.public-shell .finance-donor-table thead {
    display: none;
  }

  body.public-shell .finance-donor-table tr {
    padding: 14px;
    border-bottom: 1px solid var(--rule);
  }

  body.public-shell .finance-donor-table tr:last-child {
    border-bottom: 0;
  }

  body.public-shell .finance-donor-table th,
  body.public-shell .finance-donor-table td,
  body.public-shell .finance-donor-table tbody tr:last-child th,
  body.public-shell .finance-donor-table tbody tr:last-child td {
    padding: 0;
    border-bottom: 0;
  }

  body.public-shell .finance-donor-table td {
    margin-top: 9px;
  }

  body.public-shell .finance-donor-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 3px;
    color: var(--ink-4);
    font-size: 0.66rem;
    font-weight: 800;
    text-transform: uppercase;
  }

  body.public-shell .finance-donor-table-latest,
  body.public-shell .finance-donor-table-amount {
    white-space: normal;
  }

  body.public-shell .finance-donor-section > .label-row,
  body.public-shell .finance-donor-section > .label-row .meta,
  body.public-shell .finance-profile-cell,
  body.public-shell .finance-profile-cell span {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  body.public-shell .finance-profile-bar {
    width: 100%;
  }

  body.public-shell .finance-story-stat strong {
    font-size: 1.65rem;
  }

  body.public-shell.page-race .race-summary-head {
    align-items: start;
    flex-direction: column;
    gap: 4px;
  }

  body.public-shell.page-race .race-summary-table-wrap {
    overflow: visible;
  }

  body.public-shell.page-race .race-summary-table {
    min-width: 0;
  }

  body.public-shell.page-race .race-summary-table thead {
    display: none;
  }

  body.public-shell.page-race .race-summary-table,
  body.public-shell.page-race .race-summary-table tbody,
  body.public-shell.page-race .race-summary-table tr,
  body.public-shell.page-race .race-summary-table th,
  body.public-shell.page-race .race-summary-table td {
    display: block;
    width: 100%;
  }

  body.public-shell.page-race .race-summary-table tr {
    display: grid;
    gap: 8px;
    padding: 13px 0;
    border-bottom: 1px solid var(--rule);
  }

  body.public-shell.page-race .race-summary-table tr:last-child {
    border-bottom: 0;
  }

  body.public-shell.page-race .race-summary-table th,
  body.public-shell.page-race .race-summary-table td {
    border-bottom: 0;
    padding: 0;
  }

  body.public-shell.page-race .race-summary-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 3px;
    color: var(--ink-4);
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
  }

  body.public-shell .filters-row,
  body.public-shell .search-row-wide .unified-search-row,
  body.public-shell .actions {
    flex-direction: column;
  }

  body.public-shell .filters-row button,
  body.public-shell .search-row-wide button,
  body.public-shell .unified-search-row button,
  body.public-shell .actions .btn {
    width: 100%;
  }

  body.public-shell .timeline::before {
    left: 14px;
  }

  body.public-shell .timeline .item {
    padding-left: 46px;
  }

  body.public-shell .topic-chip-rail,
  body.public-shell .activity-filter-group {
    gap: 6px;
  }

  body.public-shell .activity-control.topic-control {
    flex-basis: 100%;
  }

  body.public-shell .activity-control {
    flex: 1 1 calc(50% - 5px);
  }

  body.public-shell.page-candidate .candidate-head h1 {
    font-size: 1.85rem;
    white-space: normal;
  }

  body.public-shell.page-candidate .candidate-inline-meta {
    font-size: 0.84rem;
  }

  body.public-shell .candidate-view-link {
    flex: 0 0 auto;
    min-width: 0;
    max-width: none;
    padding: 0 0 9px;
  }

  body.public-shell .campaign-tab-head,
  body.public-shell .campaign-tab-grid {
    grid-template-columns: 1fr;
  }

  body.public-shell .campaign-tab-head .btn {
    width: 100%;
  }

  body.public-shell.page-race .race-compare-board .board-candidate-name {
    font-size: 1.95rem;
  }

  body.public-shell.page-race .comparison-head {
    padding: 18px 0 10px;
  }

  body.public-shell.page-race .comparison-head h1 {
    max-width: 9ch;
    font-size: clamp(2.1rem, 10vw, 3.15rem);
    white-space: normal;
    text-wrap: balance;
  }

  body.public-shell.page-race .race-summary-head {
    display: grid;
    gap: 4px;
  }

  body.public-shell.page-race .race-compare-board .glance-cell,
  body.public-shell.page-race .race-compare-board .candidate-detail {
    padding-left: 16px;
    padding-right: 16px;
  }

  body.public-shell.page-race .race-compare-board .topic-row-footer-actions {
    justify-content: start;
  }

  body.public-shell .overview-head {
    display: grid;
    align-items: start;
  }

  body.public-shell .topic-chip-rail .pill-row,
  body.public-shell .activity-filter-group .pill-row,
  body.public-shell .compare-rail-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }

  body.public-shell .topic-chip-rail .pill-row .pill,
  body.public-shell .activity-filter-group .pill-row .pill,
  body.public-shell .compare-rail-row .candidate-chip {
    flex: 0 0 auto;
  }
}
