@font-face {font-family:"Results Plex Sans";font-style:normal;font-weight:700;font-display:optional;src:url("/graphics/brand-guidelines/fonts/IBMPlexSans-Bold.woff2") format("woff2");}
@font-face {font-family:"Results Plex Sans";font-style:normal;font-weight:400;font-display:optional;src:url("/graphics/brand-guidelines/fonts/IBMPlexSans-Regular.woff2") format("woff2");}
@font-face {font-family:"Results Plex Sans";font-style:normal;font-weight:600;font-display:optional;src:url("/graphics/brand-guidelines/fonts/IBMPlexSans-SemiBold.woff2") format("woff2");}
@font-face {font-family:"Results JetBrains Mono";font-style:normal;font-weight:700;font-display:swap;src:url("/graphics/brand-guidelines/fonts/JetBrainsMono-Bold.woff2") format("woff2");}
@font-face {font-family:"Results JetBrains Mono";font-style:normal;font-weight:400;font-display:swap;src:url("/graphics/brand-guidelines/fonts/JetBrainsMono-Regular.woff2") format("woff2");}
.iv-results-page {
  --iv-font-sans: "Results Plex Sans", sans-serif;
  --iv-font-mono: "Results JetBrains Mono";
  font-family: var(--iv-font-sans);
  --iv-result-D: var(--brand_blue);
  --iv-result-R: var(--brand_red);
  --iv-result-O: var(--gray);
  --iv-result-tie: var(--lt_gray);
  --iv-result-DSuper: color-mix(in srgb, var(--brand_blue) 62%, #08172f);
  --iv-result-RSuper: color-mix(in srgb, var(--brand_red) 62%, #300c10);
}
body.iv-results-page .iv-global-banner.iv-site-header {
  position: relative !important;
  top: auto;
}
.iv-results-page #iv-results {
  max-width: 1320px;
  padding: 24px 28px 56px;
  min-height: 65vh;
  scroll-margin-top: calc(
    var(--iv-results-header-height, 90px) + var(--iv-results-nav-height, 60px) +
      16px
  );
}
.iv-results-nav-shell {
  position: sticky;
  top: 0;
  z-index: 890;
  background: var(--iv-paper, var(--brand_white));
  border-bottom: 1px solid var(--lt_gray);
}
.iv-results-page .iv-results-nav {
  display: flex;
  align-items: stretch;
  gap: 26px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 12px 28px;
  overflow-x: auto;
  font-family: var(--iv-font-mono);
  font-size: 13px;
  scrollbar-width: thin;
}
.iv-results-page .iv-results-nav a {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 0 0 auto;
  gap: 3px;
  padding: 4px 0;
  border-top: 3px solid transparent;
  font-family: var(--iv-font-mono);
  font-size: 13px;
  white-space: nowrap;
}
.iv-results-nav-name,
.iv-results-nav-projection {
  font-family: var(--iv-font-mono);
}
.iv-results-nav-projection {
  display: inline-flex;
  flex: none;
  min-width: 72px;
  width: max-content;
  height: 18px;
  align-items: baseline;
  font-size: 12px;
  line-height: 18px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.iv-results-nav-projection[data-odds-state="pending"],
.iv-results-nav-projection[data-odds-state="unavailable"] {
  visibility: hidden;
}
.iv-results-nav-odd {
  display: inline-grid;
  grid-template-columns: minmax(22px, max-content) 46px;
  align-items: baseline;
  gap: 4px;
  color: var(--party);
}
.iv-results-nav-odd[data-odds-party="tie"],
.iv-results-nav-odd[data-odds-party="joint"] {
  color: var(--brand_black);
}
.iv-results-nav-odd-value {
  display: inline-block;
  width: 46px;
  text-align: right;
}
.iv-results-nav-odd-party,
.iv-results-nav-odd-value {
  font-family: var(--iv-font-mono);
}
.iv-results-page .iv-results-nav a[aria-current],
.iv-results-page .iv-results-nav a[aria-current]:hover {
  color: var(--brand_black);
  font-weight: 800;
  border-top-color: var(--brand_black);
}
.iv-results-nav a[aria-current] .iv-results-nav-name {
  font-weight: 800;
}
.iv-results-page h1 {
  margin-bottom: 12px;
}
.iv-results-page #iv-results > h1 + p {
  max-width: 700px;
}
.iv-results-page #iv-updated {
  margin-bottom: 6px !important;
}
.iv-results-page .iv-results-methodology {
  display: inline-block;
  margin: 0 0 32px;
  color: var(--brand_black);
  font:
    12px/1.5 var(--iv-font-mono);
  text-decoration: none !important;
}
.iv-results-page .iv-results-methodology:hover {
  color: var(--brand_orange);
}
.iv-results-controls {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: end;
  margin: 24px 0 12px;
}
.iv-results-page select option {
  font-family: var(--iv-font-mono);
}
.iv-results-page select,
.iv-results-page button {
  font-family: var(--iv-font-mono);
  font-size: 12px;
  color: var(--brand_black);
  background: transparent;
  border: 1px solid var(--iv-ink);
  border-radius: 0px;
  cursor: pointer;
  max-width: 100%;
  padding: 8px;
  border-radius: 0px;
}
.iv-results-page select {
  display: block;
  margin-top: 7px;
  background: var(--brand_white);
}
.iv-results-page button:hover,
.iv-results-page button:focus-visible {
  background: var(--min_gray);
}
.iv-results-page :focus-visible {
  outline: none;
  box-shadow: none;
}
.iv-results-page label {
  font-family: var(--iv-font-mono);
  font-size: 12px;
}
.iv-results-page [hidden] {
  display: none !important;
}
.iv-results-meta {
  font-family: var(--iv-font-mono);
  font-size: 11px !important;
  color: var(--gray);
  margin: 12px 0 32px !important;
}
.iv-results-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.iv-results-hero.iv-no-map {
  grid-template-columns: 1fr;
  max-width: 800px;
}
.iv-results-page h2 {
  font-size: 24px;
  margin: 0 0 16px;
}
.iv-results-page h3 {
  font-size: 18px;
  margin: 0 0 14px;
}
.iv-results-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--iv-font-mono);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.iv-results-table th {
  text-align: right;
  font-size: 12px;
  font-weight: 500;
  color: var(--gray);
  padding: 2px;
  border-bottom: none;
}
.iv-results-table td {
  text-align: right;
  padding: 2px 2px;
  vertical-align: middle;
}

strong {
  letter-spacing: -0.03em;
}

.iv-party-row td {
  border-bottom: none;
}

.iv-results-table th:first-child,
.iv-results-table td:first-child {
  text-align: left;
  padding-left: 0;
}
.iv-results-table th:last-child,
.iv-results-table td:last-child {
  padding-right: 0;
}
.iv-results-table strong {
  font-family: "Results Plex Sans", sans-serif !important;
  font-size: 19px;
  font-weight: 600;
  display: block;
  letter-spacing: -0.035em;
}
.iv-candidate-party {
  font-family: "Results Plex Sans", sans-serif;
  font-size: 13px;
  color: var(--gray);
  display: block;
  margin-top: 3px;
}
.iv-vote-track {
  height: 5px;
  background: var(--lt_gray);
  margin-top: 0px;
  min-width: 100px;
  border-radius: 1px;
}
.iv-vote-track span {
  display: block;
  height: 100%;
  background: var(--party);
}
.iv-call {
  display: block;
  font-size: 10px;
  font-weight: 600;
  margin-top: 4px;
  color: inherit;
}
.iv-projection {
  margin-top: 28px;
}
.iv-projection-heading {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
  font-family: var(--iv-font-mono);
  font-size: 12px;
  margin-bottom: 18px;
}
.iv-projection-heading .iv-navcast-title {
  margin: 0;
  font-family: "Results Plex Sans", sans-serif;
  font-size: 22px;
  font-weight: 600;
}
.iv-projection-heading strong {
  font-size: 22px;
  color: var(--party);
}
.iv-projection-scale {
  height: 12px;
  position: relative;
  background: var(--lt_gray);
  margin: 26px 0 8px;
}
.iv-projection-range {
  position: absolute;
  top: 0;
  height: 100%;
  display: flex;
  background: transparent;
}
.iv-seat-range-republican {
  width: var(--iv-range-split);
  background: var(--iv-result-R);
}
.iv-seat-range-democratic {
  flex: 1;
  background: var(--iv-result-D);
}
.iv-projection-marker {
  position: absolute;
  top: -6px;
  height: 24px;
  width: 3px;
  background: var(--brand_black);
}
.iv-projection-threshold {
  position: absolute;
  top: -5px;
  height: 22px;
  border-left: 1px dashed var(--brand_black);
}
.iv-scale-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--iv-font-mono);
  font-size: 10px;
  color: var(--gray);
}
.iv-odds {
  margin-top: 28px;
}
.iv-odds-title {
  font-family: var(--iv-font-mono);
  font-size: 12px;
  margin-bottom: 12px;
}
.iv-odds-grid {
  display: grid;
  grid-template-columns: repeat(50, minmax(0, 1fr));
  gap: 3px;
}
.iv-odds-square {
  aspect-ratio: 1;
  background: var(--party);
}
.iv-odds-legend {
  min-height: calc(2.4em + 10px);
  display: flex;
  align-items: flex-start;
  align-content: flex-start;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 13px;
  font-family: var(--iv-font-mono);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.iv-odds-legend span {
  border-left: 7px solid var(--party);
  padding-left: 6px;
}
.iv-map-wrap {
  position: relative;
  min-width: 0;
}
.iv-results-map {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.05;
  touch-action: pan-y pinch-zoom;
}
.iv-results-map path {
  stroke: var(--brand_white);
  stroke-width: 0.65;
  vector-effect: non-scaling-stroke;
  cursor: pointer;
}
.iv-results-map path:hover {
  opacity: 0.75;
}
.iv-results-loading .iv-results-map path {
  stroke: var(--gray);
  cursor: default;
}
.iv-map-tools {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 8px;
}
.iv-map-key {
  font-family: var(--iv-font-mono);
  font-size: 10px;
  display: flex;
  gap: 14px;
  margin: 8px 0;
  color: var(--gray);
}
.iv-map-key span {
  border-left: 8px solid var(--party);
  padding-left: 6px;
}
.iv-results-section {
  margin-top: 0px;
  padding-top: 28px;
}
.iv-results-scroll {
  max-width: 100%;
  overflow-x: auto;
}
.iv-results-list {
  min-width: 460px;
}
.iv-results-list button {
  border: 0;
  padding: 0;
  min-height: 32px;
  text-align: left;
  color: var(--brand_black);
}
.iv-results-list button:hover {
  color: var(--brand_orange);
  background: none;
}
.iv-results-list th button {
  font-size: 10px;
  color: var(--gray);
}
.iv-detail-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.iv-detail-nav select {
  margin: 0;
}
#iv-results-tooltip {
  position: fixed;
  z-index: 10000;
  pointer-events: none;
  background: var(--brand_white);
  color: var(--brand_black);
  border: 1px solid currentColor;
  box-shadow: 4px 4px 0 rgb(36 34 32 / 16%);
  padding: 10px 12px;
  font:
    400 13px/1.4 var(--iv-font-mono);
  max-width: min(340px, calc(100vw - 24px));
  box-sizing: border-box;
}
#iv-results-tooltip .iv-results-tooltip-title {
  display: block;
  margin: 0 0 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--lt_gray);
  color: inherit;
  font:
    700 15px/1.3 var(--iv-font-mono);
}
#iv-results-tooltip .iv-results-tooltip-metric {
  display: block;
  margin-top: 3px;
}
@media (max-width: 480px) {
  #iv-results-tooltip {
    padding: 9px 11px;
    font-size: 12px;
  }
  #iv-results-tooltip .iv-results-tooltip-title {
    font-size: 14px;
  }
}
.iv-results-empty {
  color: var(--gray);
  font-size: 14px;
}
@media (max-width: 1100px) {
  .iv-odds-grid {
    grid-template-columns: repeat(25, minmax(0, 1fr));
  }
  .iv-results-hero {
    gap: 30px;
  }
}
@media (max-width: 760px) {
  .iv-results-page #iv-results {
    padding: 20px 18px 40px;
  }
  .iv-results-hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .iv-results-controls {
    gap: 12px;
  }
  .iv-results-table strong {
    font-size: 17px;
  }
  .iv-results-table {
    font-size: 11px;
  }
  .iv-results-page h1 {
    font-size: 36px;
  }
  .iv-results-map {
    max-height: 440px;
  }
  .iv-results-section {
    margin-top: 32px;
  }
  .iv-results-meta {
    margin-bottom: 24px !important;
  }
  .iv-odds-grid {
    gap: 4px;
  }
  .iv-results-page .iv-results-nav {
    gap: 20px;
    padding: 10px 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .iv-results-page * {
    scroll-behavior: auto !important;
  }
}
.iv-results-page .iv-results-nav a,
.iv-results-page button {
  text-decoration: none !important;
}
.iv-results-page .iv-results-table tr,
.iv-results-page .iv-results-table td,
.iv-results-page .iv-results-table th {
  background: transparent;
}
.iv-results-page #iv-detail h3 {
  margin-top: 28px;
}
.iv-results-page #iv-results > .iv-h1 {
  font-size: clamp(34px, 4vw, 52px);
}
.iv-results-page .iv-results-map {
  max-height: 460px;
}
.iv-results-page .iv-results-table td {
  padding-top: 11px;
  padding-bottom: 11px;
}
/* Party borders and vote bars encode data; table text and surfaces stay neutral. */
.iv-results-page .iv-results-table .iv-party-row td:first-child {
  border-left: 4px solid var(--party);
  padding-left: 12px;
}
.iv-results-page .iv-results-table td.iv-share-cell {
  font-weight: 600;
}
.iv-results-page .iv-results-table td.iv-margin-cell,
.iv-results-page .iv-results-table td.iv-call-cell {
  font-weight: 600;
  border-left: 3px solid var(--party);
}
.iv-map-display {
  display: block;
  margin: 0 0 14px;
}
.iv-map-display select {
  width: 100%;
  max-width: 300px;
}
.iv-map-key {
  flex-wrap: wrap;
  align-items: center;
  min-height: 20px;
}
.iv-map-ramp {
  display: inline-block;
  width: 90px;
  height: 8px;
  background: linear-gradient(
    to right,
    var(--brand_white),
    var(--brand_orange)
  );
}
.iv-map-key .iv-map-ramp ~ span,
.iv-map-key:has(.iv-map-ramp) > span {
  border: 0;
  padding: 0;
}
.iv-map-display select {
  text-align: left;
}

.iv-map-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px 44px auto;
  gap: 6px;
  align-items: stretch;
}
/* Seat-position pages add a second selector to the overview toolbar. */
.iv-map-tools:has([data-map-seat-group]) {
  grid-template-columns: minmax(110px, 0.55fr) minmax(0, 1fr) 44px 44px auto;
}
.iv-results-page .iv-map-tools select[data-map-seat-group] {
  display: block;
  margin: 0;
  width: 100%;
  min-width: 0;
  text-align: left;
}
@media (max-width: 1280px) {
  .iv-map-tools:has([data-map-seat-group]) {
    grid-template-columns: minmax(0, 1fr) 44px 44px auto;
  }
  .iv-map-tools [data-map-seat-group] {
    grid-column: 1 / -1;
  }
}
.iv-results-page .iv-map-tools select.iv-map-display {
  display: block;
  margin: 0;
  width: 100%;
  min-width: 0;
  text-align: left;
}
.iv-map-tools button {
  padding-left: 10px;
  padding-right: 10px;
}
.iv-district-overview {
  margin-top: 26px;
}
.iv-district-grid {
  display: grid;
  grid-template-columns: repeat(30, minmax(0, 1fr));
  gap: 3px;
}
.iv-results-page button.iv-district-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  padding: 0;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: var(--iv-tile-fill);
  aspect-ratio: 0.66;
  font:
    8px var(--iv-font-mono);
}
.iv-results-page button.iv-district-cell:hover,
.iv-results-page button.iv-district-cell:focus-visible {
  filter: brightness(0.84);
}
.iv-district-cell[aria-current="true"] {
  font-weight: 700;
  text-decoration: none;
}
@media (max-width: 1100px) {
  .iv-district-grid {
    grid-template-columns: repeat(20, minmax(0, 1fr));
  }
  .iv-results-page button.iv-district-cell {
    aspect-ratio: 0.58;
  }
}
@media (max-width: 760px) {
  .iv-district-grid {
    grid-template-columns: repeat(15, minmax(0, 1fr));
  }
  .iv-results-page button.iv-district-cell {
    aspect-ratio: 1;
  }
  .iv-map-tools select.iv-map-display {
    font-size: 10px;
    padding-left: 8px;
    padding-right: 5px;
  }
  .iv-map-tools button {
    font-size: 11px;
    padding: 8px;
  }
}

.iv-results-page .iv-candidate-table .iv-party-row td:first-child {
  border-left: 0;
  padding-left: 0;
}
.iv-results-page .iv-candidate-table .iv-candidate-party {
  margin-top: 0;
}
.iv-candidate-table .iv-visually-hidden,
.iv-chamber-table .iv-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.iv-results-page .iv-results-table.iv-candidate-table td {
  padding-top: 4px !important;
  padding-bottom: 4px !important;
}
.iv-results-page .iv-results-table.iv-candidate-table td {
  padding-top: 2px !important;
  padding-bottom: 2px !important;
}
.iv-results-page .iv-results-table.iv-candidate-table .iv-candidate-bar-row td {
  border-bottom: 0;
  padding-top: 0 !important;
  padding-bottom: 10px !important;
}
.iv-results-page
  .iv-results-table.iv-candidate-table
  .iv-candidate-bar-row
  .iv-vote-track {
  width: 100%;
  min-width: 0;
  margin: 0;
}
.iv-chamber-table .iv-chamber-party-row td {
  border-bottom: 0;
  padding-bottom: 0;
}
.iv-results-page .iv-chamber-table .iv-chamber-party-row td:first-child {
  border-left: 0;
  padding-left: 0;
}
.iv-chamber-table .iv-chamber-seats {
  text-align: right;
}
.iv-chamber-table .iv-chamber-bar-row td {
  border-bottom: 0;
  padding-top: 2px;
  padding-bottom: 10px;
}
.iv-chamber-table .iv-chamber-bar-row .iv-vote-track {
  width: 100%;
  margin: 0;
  height: 5px;
}
.iv-chamber-table .iv-chamber-bar-row .iv-vote-track span {
  display: block;
  height: 100%;
}
.iv-chamber-table .iv-chamber-uncalled td {
  border-bottom: 1px solid var(--lt_gray);
}

.iv-results-page #iv-results {
  padding-bottom: 104px;
}
.iv-detail-dock {
  position: fixed;
  inset: auto 0 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 56px;
  padding: 14px max(20px, calc((100vw - 1248px) / 2));
  padding-bottom: max(14px, env(safe-area-inset-bottom));
  border: 0;
  border-top: 1px solid var(--brand_black);
  background: var(--brand_black);
  color: var(--brand_white);
  font:
    600 13px var(--iv-font-mono);
  text-align: left;
}
.iv-detail-dock:hover {
  background: var(--brand_black);
}
.iv-detail-dock span:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
}
html.iv-detail-open {
  overflow: hidden;
}
#iv-detail-dialog {
  position: fixed;
  inset: auto 0 0;
  margin: 0;
  width: 100%;
  max-width: none;
  max-height: calc(100dvh - 80px);
  padding: 0;
  border: 0;
  border-top: 1px solid var(--brand_black);
  background: var(--brand_white);
  color: var(--brand_black);
  overflow: auto;
  overscroll-behavior: contain;
}
#iv-detail-dialog::backdrop {
  background: #0006;
}
.iv-detail-dialog-head {
  position: sticky;
  top: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px max(20px, calc((100vw - 1248px) / 2));
  border-bottom: 1px solid var(--lt_gray);
  background: var(--brand_white);
}
.iv-results-page .iv-detail-dialog-head h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.iv-detail-dialog-head button {
  flex: 0 0 auto;
  white-space: nowrap;
}
.iv-detail-dialog-body {
  max-width: 1288px;
  margin: auto;
  padding: 0 20px max(24px, env(safe-area-inset-bottom));
}
@media (prefers-reduced-motion: no-preference) {
  #iv-detail-dialog[open] {
    animation: iv-detail-sheet-in 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
  }
}
@keyframes iv-detail-sheet-in {
  from {
    opacity: 0.9;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 760px) {
  .iv-results-page #iv-results {
    padding-bottom: 96px;
  }
  .iv-detail-dialog-head {
    padding: 14px 18px;
  }
  .iv-results-page .iv-detail-dialog-head h2 {
    font-size: 21px;
  }
  .iv-detail-dialog-body {
    padding: 0 18px max(20px, env(safe-area-inset-bottom));
  }
}
.iv-results-list {
  min-width: 640px;
  font-size: 12px;
}
.iv-results-list thead th {
  padding: 8px 10px;
  border-bottom: 2px solid var(--brand_black);
  background: var(--brand_white);
  color: var(--brand_black);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.iv-results-list thead th:first-child {
  background: var(--brand_black);
  color: var(--brand_white);
  text-align: left;
}
.iv-results-list thead th button {
  min-height: 32px;
  color: inherit;
  font-size: 11px;
  font-weight: 600;
}
.iv-results-list tbody td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--lt_gray);
  font-size: 12px;
}
.iv-results-list tbody td:first-child {
  text-align: left;
  padding-left: 10px;
}
.iv-results-list tbody td:last-child {
  padding-right: 10px;
}
.iv-timeline-controls {
  margin: 20px 0 24px;
}
.iv-timeline-controls output {
  font:
    12px var(--iv-font-mono);
  font-variant-numeric: tabular-nums;
}
.iv-timeline-panel {
  margin-top: 24px;
}
.iv-timeline-panel h3 {
  margin: 0 0 8px;
  font:
    600 18px "Results Plex Sans",
    sans-serif;
}
.iv-timeline-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.iv-timeline-panel-head select {
  margin: 0;
}
.iv-timeline-chart {
  display: block;
  width: 100%;
  height: 180px;
  overflow: hidden;
  touch-action: pan-y;
}
.iv-timeline-chart text {
  fill: var(--gray);
  font:
    11px var(--iv-font-mono);
}
.iv-timeline-grid {
  stroke: var(--lt_gray);
  stroke-width: 1;
}
.iv-timeline-line {
  fill: none;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}
.iv-timeline-cursor {
  stroke: var(--gray);
  stroke-width: 1;
  stroke-dasharray: 3 4;
}
.iv-timeline-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  font:
    11px var(--iv-font-mono);
  font-variant-numeric: tabular-nums;
}
.iv-timeline-legend span {
  border-left: 12px solid var(--iv-series);
  padding-left: 7px;
}
.iv-timeline-legend span.iv-timeline-dashed {
  border-left-style: double;
}
.iv-timeline-legend span.iv-timeline-uncalled {
  border: 0;
  padding-left: 0;
}
.iv-timeline-legend strong {
  font: inherit;
  font-weight: 600;
}
@media (max-width: 760px) {
  .iv-timeline-legend {
    gap: 10px 16px;
    line-height: 1.5;
  }
}
.iv-results-list tbody td.iv-share-cell {
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--party) 24%, var(--brand_white)) var(--share),
    transparent var(--share)
  );
  font-weight: 600;
}
.iv-results-page .iv-results-list tbody td.iv-margin-cell {
  border-left: 0;
  background: color-mix(
    in srgb,
    var(--party) var(--margin-share),
    var(--brand_white)
  );
  font-weight: 700;
}
.iv-results-page .iv-results-list tbody td.iv-call-cell {
  border-left: 0;
  background: color-mix(in srgb, var(--party) 14%, var(--brand_white));
  font-weight: 600;
}

/* Reserve the overview layout before the verified release arrives. */
.iv-results-page #iv-updated {
  min-height: 18px;
}
.iv-results-loading .iv-results-map text {
  fill: var(--gray);
  font:
    13px var(--iv-font-mono);
}
.iv-results-loading-legend {
  min-height: 48px;
}
.iv-results-loading .iv-projection-scale {
  background: var(--lt_gray);
}

.iv-results-page .iv-results-other-states {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.iv-results-page .iv-results-other-states select {
  margin: 0;
  min-height: 36px;
  width: 170px;
}
@media (max-width: 760px) {
  .iv-results-page .iv-results-nav {
    flex-wrap: wrap;
  }
  .iv-results-page .iv-results-other-states {
    width: 100%;
    justify-content: flex-end;
  }
}
#iv-district-history {
  scroll-margin-top: 90px;
}

.iv-results-map path {
  transition: fill 250ms ease-out;
}
@media (prefers-reduced-motion: reduce) {
  .iv-results-map path {
    transition: none;
  }
}
.iv-chart-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 12px;
}

.iv-results-page .iv-chart-tabs button[aria-selected="true"] {
  border-color: var(--brand_orange);
  background: var(--brand_orange);
  color: var(--brand_black);
}
.iv-timeline-panel[hidden] {
  display: none !important;
}

/* Existing elements animate in place; the static page remains fully readable. */
.iv-vote-track > span {
  transition:
    width 250ms ease-out,
    background-color 250ms ease-out;
  transform-origin: left center;
  animation: iv-results-bar-enter 250ms ease-out;
}
.iv-projection-range {
  transition:
    left 250ms ease-out,
    width 250ms ease-out,
    opacity 250ms ease-out;
}
.iv-projection-marker,
.iv-projection-threshold {
  transition:
    left 250ms ease-out,
    opacity 250ms ease-out;
}
.iv-odds-square {
  transition: background-color 250ms ease-out;
  animation: iv-results-text-enter 220ms ease-out;
}
.iv-candidate-table strong,
.iv-candidate-party,
.iv-candidate-table td,
.iv-chamber-seats,
.iv-projection-heading > strong,
.iv-odds-legend,
#iv-updated {
  animation: iv-results-text-enter 220ms ease-out;
  font-variant-numeric: tabular-nums;
}
@keyframes iv-results-text-enter {
  from {
    opacity: 0.35;
  }
  to {
    opacity: 1;
  }
}
@keyframes iv-results-bar-enter {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .iv-vote-track > span,
  .iv-projection-range,
  .iv-projection-marker,
  .iv-projection-threshold,
  .iv-odds-square,
  .iv-candidate-table strong,
  .iv-candidate-party,
  .iv-candidate-table td,
  .iv-chamber-seats,
  .iv-projection-heading > strong,
  .iv-odds-legend,
  #iv-updated {
    animation: none;
    transition: none;
  }
}

/* Results tables: consistent headers, compact numeric columns and readable projections. */
.iv-results-page .iv-results-list {
  min-width: 780px;
  table-layout: auto;
  font-variant-numeric: tabular-nums;
}
.iv-results-page .iv-results-list thead th,
.iv-results-page .iv-results-list thead th:first-child {
  background: var(--brand_white);
  color: var(--brand_black);
  padding: 10px 14px;
  border-bottom: 1px solid var(--brand_black);
}
.iv-results-page .iv-results-list thead th button {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 0;
  min-height: 28px;
  border: 0;
  background: transparent;
}
.iv-results-page .iv-results-list thead th:first-child button {
  justify-content: flex-start;
}
.iv-results-page .iv-results-list thead th[aria-sort="ascending"] button,
.iv-results-page .iv-results-list thead th[aria-sort="descending"] button {
  font-weight: 800;
}
.iv-results-page .iv-results-list tbody td {
  padding: 10px 14px;
  vertical-align: middle;
  white-space: nowrap;
}
.iv-results-page .iv-results-list tbody td:first-child {
  min-width: 120px;
  text-align: left;
}
.iv-results-page .iv-results-list tbody td:first-child button {
  padding: 5px 0;
  min-height: 32px;
  text-align: left;
  font-weight: 600;
}
.iv-results-page .iv-results-list tbody tr:hover td {
  background-color: var(--min_gray);
}
.iv-results-page .iv-results-list .iv-navcast-cell strong {
  display: block;
  font:
    700 13px var(--iv-font-mono);
}
.iv-results-page .iv-results-list .iv-table-interval {
  display: block;
  margin-top: 5px;
  font:
    10px/1.4 var(--iv-font-mono);
  color: var(--gray);
}
.iv-results-page .iv-results-list tbody td.iv-call-cell {
  background: transparent;
  font-weight: 400;
  color: var(--gray);
}
.iv-results-page #iv-district-select {
  margin-bottom: 18px;
}
@media (max-width: 760px) {
  .iv-results-page .iv-results-list th:first-child,
  .iv-results-page .iv-results-list td:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    background: var(--brand_white);
  }
}

.iv-results-page .iv-navcast-table {
  table-layout: fixed;
  min-width: 740px;
}
.iv-navcast-table .iv-geography-col {
  width: 22%;
}
.iv-navcast-table .iv-counted-col {
  width: 92px;
}
.iv-navcast-table .iv-current-col {
  width: 160px;
}
.iv-results-page .iv-navcast-table thead th {
  border-bottom: 2px solid var(--brand_black);
  font-size: 13px;
}
.iv-results-page .iv-navcast-table thead th:first-child {
  background: var(--brand_black);
  color: var(--brand_white);
}
.iv-results-page .iv-navcast-table thead th:nth-child(3) {
  text-align: center;
}
.iv-results-page .iv-navcast-table tbody tr:nth-child(even) td {
  background: var(--min_gray);
}
.iv-results-page .iv-navcast-table tbody td {
  height: 44px;
  padding: 4px 14px;
  font-size: 13px;
}
.iv-results-page .iv-navcast-table tbody td.iv-counted-cell {
  background: #2c3a4e;
  color: #fcfaf5;
  text-align: center;
  font-weight: 700;
}
.iv-results-page .iv-navcast-table td.iv-margin-plot-cell {
  padding: 3px 12px;
}
.iv-margin-plot {
  position: relative;
  height: 38px;
  margin: 0 70px;
}
.iv-margin-even {
  position: absolute;
  left: 50%;
  top: 2px;
  bottom: 2px;
  border-left: 1px dashed var(--gray);
}
.iv-margin-band {
  position: absolute;
  top: 3px;
  bottom: 3px;
  background: var(--lt_gray);
  transition:
    left 250ms ease-out,
    width 250ms ease-out,
    opacity 250ms ease-out;
}
.iv-margin-pin {
  position: absolute;
  top: 3px;
  bottom: 3px;
  border-left: 2px solid var(--party);
  transition:
    left 250ms ease-out,
    opacity 250ms ease-out;
}
.iv-margin-pin strong {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font:
    700 12px var(--iv-font-mono);
  white-space: nowrap;
}
.iv-pin-left strong {
  left: 5px;
}
.iv-pin-right strong {
  right: 7px;
}
.iv-current-margin > span {
  display: inline-block;
  border-bottom: 2px solid var(--party);
  padding: 8px 0;
  transition: border-color 250ms ease-out;
}
.iv-current-margin strong {
  font:
    700 13px var(--iv-font-mono);
}
@media (prefers-reduced-motion: reduce) {
  .iv-margin-band,
  .iv-margin-pin,
  .iv-current-margin > span {
    transition: none;
  }
}
.iv-results-page .iv-navcast-table tbody tr:nth-child(even) td {
  background: color-mix(in srgb, var(--brand_black) 4%, var(--brand_white));
}
.iv-results-page .iv-navcast-table tbody tr:nth-child(even) td.iv-counted-cell {
  background: #2c3a4e;
}
.iv-results-page .iv-navcast-table tbody td:first-child button {
  font-size: 13px;
  font-weight: 400;
}

/* Prediction bounds share the marker height without caps or a center rule. */
.iv-margin-band {
  top: 3px;
  bottom: 3px;
  background: color-mix(in srgb, var(--party, var(--gray)) 25%, transparent);
  border: 0;
  box-sizing: border-box;
}
.iv-margin-band::after {
  content: none;
}
.iv-margin-pin {
  z-index: 1;
}

#iv-results-tooltip .iv-results-tooltip-details {
  margin: 0;
  font-size: 12px;
}
#iv-results-tooltip .iv-results-tooltip-details > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 3px 0;
}
#iv-results-tooltip .iv-results-tooltip-candidates {
  margin: 0 0 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--lt_gray);
  font-size: 12px;
}
#iv-results-tooltip .iv-results-tooltip-candidates > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 16px;
  padding: 3px 0;
}
#iv-results-tooltip .iv-results-tooltip-candidates dt {
  color: inherit;
  white-space: normal;
  overflow-wrap: anywhere;
}
#iv-results-tooltip .iv-tooltip-winner-check {
  margin-left: 6px;
}
#iv-results-tooltip dt {
  color: var(--gray);
  white-space: nowrap;
}
#iv-results-tooltip dd {
  margin: 0;
  text-align: right;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
#iv-results-tooltip .iv-results-tooltip-hint {
  display: block;
  border-top: 1px solid var(--lt_gray);
  padding-top: 7px;
  margin-top: 6px;
  color: var(--gray);
  font-size: 10px;
}

#iv-results-tooltip {
  padding: 12px 15px;
  border: 1px solid var(--brand_black);
  box-shadow: 5px 5px 0 color-mix(in srgb, var(--brand_black) 18%, transparent);
}
#iv-results-tooltip .iv-results-tooltip-title {
  padding-bottom: 8px;
  margin-bottom: 9px;
  font-size: 16px;
}
#iv-results-tooltip .iv-results-tooltip-projection {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
}
#iv-results-tooltip .iv-results-tooltip-hint {
  border: 0;
  color: var(--brand_black);
  margin-top: 8px;
  padding-top: 0;
  font-size: 12px;
  font-weight: 600;
}

/* Keep feed-driven geometry and fills in step with the 650ms number tween. */
.iv-results-page .iv-vote-track > span,
.iv-results-page .iv-projection-range,
.iv-results-page .iv-projection-marker,
.iv-results-page .iv-projection-threshold,
.iv-results-page .iv-odds-square,
.iv-results-page .iv-margin-band,
.iv-results-page .iv-margin-pin,
.iv-results-page .iv-current-margin > span,
.iv-results-page .iv-results-map path {
  transition-duration: 650ms;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}
@media (prefers-reduced-motion: reduce) {
  .iv-results-page .iv-vote-track > span,
  .iv-results-page .iv-projection-range,
  .iv-results-page .iv-projection-marker,
  .iv-results-page .iv-projection-threshold,
  .iv-results-page .iv-odds-square,
  .iv-results-page .iv-margin-band,
  .iv-results-page .iv-margin-pin,
  .iv-results-page .iv-current-margin > span,
  .iv-results-page .iv-results-map path {
    transition: none;
  }
}

.iv-results-page .iv-results-counted {
  margin: 14px 0 5px;
  color: var(--gray);
  font:
    12px/1.5 var(--iv-font-mono);
}
.iv-results-counted [data-feed-value] {
  color: var(--brand_black);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.iv-results-counted + .iv-results-empty {
  margin-top: 0;
}

.iv-remaining-dot {
  stroke: var(--brand_white);
  stroke-width: 0.6;
  fill-opacity: 0.85;
  cursor: pointer;
  transition:
    r 650ms ease-out,
    fill 650ms ease-out;
}
@media (prefers-reduced-motion: reduce) {
  .iv-remaining-dot {
    transition: none;
  }
}

.iv-results-page .iv-candidate-table tr.iv-called-row > td {
  background: color-mix(in srgb, var(--party) 20%, var(--brand_white));
  transition: background-color 650ms ease-out;
}
.iv-winner-check {
  display: inline-block;
  margin-left: 9px;
  color: var(--party);
  font:
    700 18px/1 var(--iv-font-mono);
  vertical-align: baseline;
}
@media (prefers-reduced-motion: reduce) {
  .iv-results-page .iv-candidate-table tr.iv-called-row > td {
    transition: none;
  }
}
.iv-results-page .iv-candidate-table .iv-party-row td:first-child > strong {
  display: inline;
}
.iv-results-page
  .iv-candidate-table
  .iv-party-row
  td:first-child
  > .iv-winner-check {
  display: inline-block;
}
.iv-results-page .iv-candidate-table .iv-party-row td:first-child {
  padding-left: 6px;
}
.iv-results-page .iv-candidate-table .iv-candidate-bar-row td {
  padding-left: 6px;
  padding-right: 6px;
}
.iv-results-page .iv-candidate-table .iv-party-row td:last-child {
  padding-right: 6px;
}

.iv-results-page .iv-county-compact {
  min-width: 0;
  width: 100%;
}
.iv-results-page .iv-county-compact thead th {
  padding: 8px;
  text-align: right;
}
.iv-results-page .iv-county-compact thead th:first-child {
  text-align: left;
}
.iv-results-page .iv-county-compact thead th button {
  white-space: normal;
  gap: 3px;
  font-size: 12px;
  line-height: 1.3;
}
.iv-results-page .iv-county-compact tbody td {
  padding: 6px 8px;
  height: 38px;
  font-size: 12px;
}
.iv-results-page .iv-county-compact tbody td:first-child {
  min-width: 0;
}
.iv-results-page .iv-county-compact tbody td:first-child button {
  white-space: normal;
  font-size: 12px;
}
@media (max-width: 760px) {
  .iv-results-page .iv-results-other-states {
    display: none;
  }
  .iv-results-page .iv-results-nav {
    flex-wrap: nowrap;
    gap: 20px;
    padding: 7px 14px;
  }
  .iv-results-page #iv-results {
    padding: 16px 14px 48px;
  }
  .iv-results-page #iv-results > .iv-h1 {
    font-size: 34px;
    line-height: 1.06;
  }
  .iv-results-page #iv-results > h1 + p {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 16px;
  }
  .iv-results-page .iv-results-methodology {
    margin-bottom: 20px;
  }
  .iv-results-page .iv-results-hero {
    gap: 20px;
  }
  .iv-results-page .iv-results-section {
    margin-top: 24px;
    padding-top: 20px;
  }
  .iv-results-page .iv-county-compact thead th {
    padding: 7px 3px;
  }
  .iv-results-page .iv-county-compact thead th button {
    font-size: 10px;
  }
  .iv-results-page .iv-county-compact thead th button > span {
    display: none;
  }
  .iv-results-page .iv-county-compact tbody td {
    padding: 5px 3px;
    font-size: 10px;
  }
  .iv-results-page .iv-county-compact tbody td:first-child button {
    font-size: 11px;
    min-height: 30px;
  }
}
@media (max-width: 760px) {
  .iv-results-page #iv-results {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
  }
}

.iv-results-page .iv-county-compact thead th:not(:first-child) {
  text-align: right;
}
.iv-results-page .iv-county-compact thead th:not(:first-child) button {
  width: 100%;
  justify-content: flex-end;
  text-align: right;
}
.iv-results-page .iv-county-compact thead th:first-child button {
  justify-content: flex-start;
  text-align: left;
}

.iv-results-page .iv-candidate-table [data-reveal-text],
.iv-results-page .iv-chamber-table [data-reveal-text] {
  min-height: 1.3em;
}
/* An empty label occupies the same line box as the text that fills it. */
.iv-results-page .iv-candidate-table .iv-party-row strong:empty::before,
.iv-results-page .iv-chamber-party-row strong:empty::before,
.iv-results-page .iv-candidate-table .iv-candidate-party:empty::before {
  content: "\00a0";
}

.iv-projection-scale + .iv-scale-labels {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
}
.iv-projection-scale + .iv-scale-labels > :nth-child(2) {
  text-align: center;
}
.iv-projection-scale + .iv-scale-labels > :last-child {
  text-align: right;
}
/* Timeline tabs follow the site's square, bold selection controls. */
.iv-results-page .iv-chart-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.iv-results-page .iv-chart-tabs button {
  border: 1px solid var(--brand_black);
  border-radius: 0;
  background: transparent;
  color: var(--brand_black);
  padding: 8px;
  font-family: var(--iv-font-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.iv-results-page .iv-chart-tabs button:hover {
  background: var(--min_gray);
}
.iv-results-page .iv-chart-tabs button[aria-selected="true"],
.iv-results-page .iv-chart-tabs button[aria-selected="true"]:hover {
  background: var(--brand_black);
  border-color: var(--brand_black);
  color: var(--brand_white);
}
@media (max-width: 480px) {
  .iv-results-page .iv-chart-tabs button {
    padding: 10px 16px;
    font-size: 14px;
  }
}

.iv-timeline-panel > .iv-timeline-legend { display: none; }
.iv-timeline-chart .iv-line-end-label { font: 600 11px var(--iv-font-mono); }

.iv-results-page .iv-navcast-table tbody tr.iv-resolved-row > td.iv-status-cell,
.iv-results-page .iv-navcast-table tbody tr.iv-resolved-row:nth-child(even) > td.iv-status-cell {
 background: color-mix(in srgb,var(--row-party) 60%,#111);
 color: #fcfaf5;
 transition: background-color 650ms ease-out;
}
@media(prefers-reduced-motion: reduce) { .iv-results-page .iv-navcast-table tbody tr.iv-resolved-row > td.iv-status-cell { transition: none; } }

.iv-county-compact .iv-precinct-name { white-space: normal; overflow-wrap: anywhere; }

/* Animated letters retain the typography of their text container. */
.iv-results-page [data-reveal-text] > span {
  font-family: inherit;
}

/* Updates and retry feedback share one reserved status row. */
.iv-results-status {
  display: grid;
}
.iv-results-status > #iv-updated,
.iv-results-status > #iv-failure {
  grid-area: 1 / 1;
}
.iv-results-status:has(#iv-failure:not([hidden])) > #iv-updated {
  visibility: hidden;
}
.iv-results-status > #iv-failure {
  align-self: start;
  font: 12px/18px var(--iv-font-mono);
}
.iv-results-status #iv-retry {
  padding: 0 6px;
  font: inherit;
  line-height: 18px;
}

@media (max-width: 600px) {
  .iv-results-page #iv-updated {
    min-height: 36px;
  }
  .iv-results-page .iv-odds-legend {
    min-height: calc(3.6em + 20px);
  }
}

.iv-navcast-simulator #iv-sim-connect[hidden] {
  display: block !important;
  visibility: hidden;
}

.iv-mobile-state-navigation { display:none; }
@media (max-width:760px) { .iv-mobile-state-navigation { display:block; } .iv-mobile-state-navigation select { display:block; width:100%; margin-top:8px; } }

.iv-results-nav-result { display:inline-flex; gap:10px; }
.iv-results-nav-result > span { color:var(--party); }
/* Reported results have four columns; keep every value visible on phones. */
.iv-results-page .iv-reported-results-table {
  width:100%; min-width:0; table-layout:fixed;
}
.iv-results-page .iv-reported-results-table thead th,
.iv-results-page .iv-reported-results-table tbody td {
  min-width:0; width:auto; white-space:normal; overflow-wrap:anywhere;
}
.iv-results-page .iv-turnout-results-table{min-width:0;table-layout:fixed}
.iv-results-page .iv-turnout-results-table:has([data-sort="call"]){min-width:600px;table-layout:auto}
.iv-results-page .iv-turnout-results-table tbody td:not(:first-child){white-space:nowrap}
@media(max-width:600px){
 .iv-results-page .iv-turnout-results-table [data-sort="reportedPct"],
 .iv-results-page .iv-turnout-results-table [data-sort="expectedPct"]{display:block;overflow-wrap:normal;word-break:normal}
}
.iv-map-key:has(.iv-turnout-map-ramp)>span{border:0;padding:0}
@media (max-width:600px) {
  .iv-results-page .iv-reported-results-table thead th,
  .iv-results-page .iv-reported-results-table tbody td { padding:10px 4px; font-size:11px; }
  .iv-results-page .iv-reported-results-table thead th:first-child,
  .iv-results-page .iv-reported-results-table tbody td:first-child { width:29%; min-width:0; padding:10px 4px; }
  .iv-results-page .iv-reported-results-table th button,
  .iv-results-page .iv-reported-results-table td button { font:inherit; white-space:normal; min-width:0; }
  .iv-results-page .iv-reported-results-table th button { gap:2px; }
  .iv-results-nav-result { gap:7px; font-size:11px; }
}

/* Results-only tables use compact rows and deliberate numeric column widths. */
.iv-results-page[data-page-mode="results"] .iv-reported-results-table {
  table-layout: fixed;
  border-top: 1px solid var(--brand_black);
}
.iv-results-page[data-page-mode="results"] .iv-reported-results-table thead th {
  padding: 12px;
  vertical-align: bottom;
  background: color-mix(in srgb, var(--brand_black) 3%, var(--brand_white));
  border-bottom: 1px solid var(--brand_black);
  font-size: 11px;
  line-height: 1.4;
}
.iv-results-page[data-page-mode="results"] .iv-reported-results-table th button {
  gap: 6px;
  min-height: 28px;
  max-width: 100%;
  font: inherit;
  line-height: inherit;
  text-align: right;
  overflow-wrap: normal;
  word-break: normal;
}
.iv-results-page[data-page-mode="results"] .iv-reported-results-table th:first-child button {
  text-align: left;
}
.iv-results-page[data-page-mode="results"] .iv-reported-results-table th button span {
  flex-shrink: 0;
}
.iv-results-page[data-page-mode="results"] .iv-reported-results-table tbody td {
  padding: 6px 12px;
  font-size: 12px;
  line-height: 1.5;
  white-space: nowrap;
  overflow-wrap: normal;
}
.iv-results-page[data-page-mode="results"] .iv-reported-results-table tbody td:first-child {
  white-space: normal;
}
.iv-results-page[data-page-mode="results"] .iv-reported-results-table tbody td:first-child button {
  min-height: 32px;
  padding: 4px 0;
  font: inherit;
  font-weight: 600;
  white-space: normal;
}
.iv-results-page[data-page-mode="results"] .iv-reported-results-table tbody tr:hover td {
  background: color-mix(in srgb, var(--brand_black) 5%, var(--brand_white));
}
.iv-results-page[data-page-mode="results"] .iv-reported-results-table tbody tr > td.iv-reported-call-cell {
  background: color-mix(in srgb, var(--iv-reported-call) 65%, #111);
  color: #fcfaf5;
  font-weight: 600;
}
.iv-results-page[data-page-mode="results"] .iv-reported-results-table thead th:first-child,
.iv-results-page[data-page-mode="results"] .iv-reported-results-table tbody td:first-child {
  width: 28%;
}
.iv-results-page[data-page-mode="results"] .iv-turnout-results-table {
  min-width: 540px;
}
.iv-results-page[data-page-mode="results"] .iv-turnout-results-table:has([data-sort="call"]) {
  min-width: 640px;
}
.iv-results-page[data-page-mode="results"] .iv-turnout-results-table:has([data-sort="call"]) thead th:first-child,
.iv-results-page[data-page-mode="results"] .iv-turnout-results-table:has([data-sort="call"]) tbody td:first-child {
  width: 24%;
}
.iv-results-page[data-page-mode="results"] .iv-turnout-results-table th:has([data-sort="votes"]),
.iv-results-page[data-page-mode="results"] .iv-turnout-results-table th:has([data-sort="margin"]) {
  width: 13%;
}
.iv-results-page[data-page-mode="results"] .iv-turnout-results-table th:has([data-sort="call"]) {
  width: 16%;
}
.iv-results-page[data-page-mode="results"] .iv-turnout-results-table [data-sort="reportedPct"],
.iv-results-page[data-page-mode="results"] .iv-turnout-results-table [data-sort="expectedPct"] {
  display: inline-flex;
  max-width: 14ch;
  white-space: normal;
}
.iv-results-page[data-page-mode="results"] .iv-results-section > label:has(> #iv-district-select) {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.iv-results-page[data-page-mode="results"] #iv-district-select {
  min-height: 40px;
  margin: 0;
}
@media (max-width:600px) {
  .iv-results-page[data-page-mode="results"] .iv-reported-results-table thead th,
  .iv-results-page[data-page-mode="results"] .iv-reported-results-table tbody td {
    padding-left: 8px;
    padding-right: 8px;
  }
  .iv-results-page[data-page-mode="results"] .iv-reported-results-table:not(.iv-turnout-results-table) tbody td {
    font-size: 11px;
    white-space: normal;
  }
}

@media (max-width:600px) {
  .iv-projection-heading[data-frozen-heading] { flex-wrap:wrap; }
  .iv-projection-heading[data-frozen-heading] .iv-navcast-title { white-space:nowrap; }
}



.iv-precinct-heading { align-items:center; gap:16px; flex-wrap:wrap; margin-bottom:16px; }
.iv-precinct-heading h3 { margin:0; }
.iv-precinct-view-toggle { font-family:var(--iv-font-mono); padding:8px 12px; border:1px solid var(--brand_black); color:var(--brand_black); background:transparent; cursor:pointer; text-decoration:none; }
.iv-precinct-view-toggle:hover,
.iv-precinct-view-toggle[aria-pressed="true"] { color:var(--brand_white); background:var(--brand_black); }
.iv-results-page .iv-precinct-method-table { width:max-content; min-width:100%; }
.iv-precinct-method-table th:not(:first-child),
.iv-precinct-method-table td:not(:first-child) { min-width:125px; text-align:right; }
.iv-precinct-method-table thead tr:first-child th[colspan] { text-align:center; }

/* The chamber chart is 400px from its first frame, including lazy history. */
#iv-timeline svg[data-iv-timeline-panel] { height:400px; }

.iv-results-page .iv-mobile-state-navigation label { display:block; line-height:18px; }
/* Reported precincts share the compact NavCast table presentation. */
.iv-results-page .iv-reported-precincts { table-layout:fixed; }
.iv-results-page .iv-reported-precincts > thead th,
.iv-results-page .iv-reported-precincts > tbody > tr > td { white-space:normal; overflow-wrap:anywhere; }
.iv-precinct-county { display:block; color:var(--gray); }
.iv-results-page .iv-reported-precincts .iv-precinct-candidate-detail > td { padding:12px 0 24px; }
.iv-precinct-candidate-detail .iv-results-table { min-width:0; width:100%; }

.iv-results-page .iv-county-compact tbody td > [data-feed-value] {
  display: block;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* Keep geography, metric and zoom controls together on detail maps. */
.iv-map-tools:has([data-map-geography]) {
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr) 36px 36px auto;
}
.iv-results-page .iv-map-tools select.iv-map-geography {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  text-align: left;
}
@media (max-width: 700px) {
  .iv-results-page .iv-map-tools select.iv-map-geography {
    font-size: 10px;
    padding-left: 8px;
    padding-right: 5px;
  }
}

.iv-results-page .iv-county-compact:has(.iv-status-cell) {
  table-layout: auto;
}
.iv-results-page .iv-county-compact td.iv-status-cell {
  white-space: nowrap;
  font-family: var(--iv-font-mono);
  line-height: 1.4;
}
.iv-results-page .iv-county-compact:has(.iv-status-cell) :is(tbody td, button, td > [data-feed-value]) {
  font-size: clamp(12px, 1.2vw, 16px);
}
.iv-results-page .iv-county-compact tbody td.iv-status-cell {
  font-family: var(--iv-font-mono);
  font-weight: 600;
}
.iv-turnout-map-ramp{display:inline-block;width:96px;height:12px;background:linear-gradient(to right,var(--min_gray),var(--brand_orange))}

.iv-chamber-call-status {margin:0 0 16px;}
.iv-chamber-call-status p {margin:0 0 6px;font:600 18px/1.3 "Results Plex Sans",sans-serif;}

.iv-results-page .iv-results-list tbody tr td.iv-projected-lead {
  background-color: var(--margin-paint);
  color: var(--margin-ink, #171717);
}
.iv-results-list .iv-actual-margin {
  text-decoration: underline;
  text-decoration-color: var(--margin-paint);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  font-weight: 600;
}
.iv-results-list .iv-counted-value {
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--brand_green) var(--counted), transparent);
  text-decoration-thickness: 3px;
  text-underline-offset: 0.23em;
}

@media (max-width: 767px) {
  .iv-results-list .iv-pres-shift { display: none; }
}
@media (min-width: 768px) {
  .iv-results-list:has(th.iv-pres-shift) col { width: auto !important; }
}

/* Tint the whole hovered row while preserving margin and call colors. */
.iv-results-page .iv-results-list tbody tr:hover > td {
  box-shadow: inset 0 0 0 100vmax color-mix(in srgb, var(--brand_black) 10%, transparent);
}

@media (max-width: 600px) {
  .iv-results-page .iv-county-compact:has(.iv-status-cell) { table-layout: fixed; }
  .iv-results-page .iv-county-compact:has(.iv-status-cell) col { width: 20% !important; }
  .iv-results-page .iv-county-compact:has(.iv-status-cell) :is(th button, td, td button, td > [data-feed-value]) {
    white-space: normal;
    overflow-wrap: anywhere;
    font-size: 11px;
  }
}

.iv-state-picker-controls {
  display: flex;
  align-items: stretch;
  gap: 6px;
}
.iv-results-page .iv-state-picker-controls select {
  margin: 0;
  min-width: 0;
}
.iv-results-page .iv-state-picker-controls a.iv-results-home {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid #171717;
  background: #171717;
  color: #fff;
  text-decoration: none;
  font: 13px var(--iv-font-mono);
}
.iv-mobile-state-navigation .iv-state-picker-controls {
  margin-top: 8px;
}

.iv-results-page .iv-chamber-table tr.iv-chamber-called-majority > td {
  background: color-mix(in srgb, var(--party) 20%, var(--brand_white));
}
.iv-results-page .iv-chamber-table tr.iv-chamber-called-supermajority > td {
  background: color-mix(in srgb, var(--party) 78%, #000);
  color: #fff;
}
.iv-results-page .iv-chamber-table .iv-chamber-called-supermajority .iv-winner-check {
  color: #fff;
}
.iv-results-page .iv-chamber-table tr[class*="iv-chamber-called-"] > td:first-child {
  padding-left: 8px;
}
.iv-results-page .iv-chamber-table tr[class*="iv-chamber-called-"] > td:last-child {
  padding-right: 8px;
}
.iv-results-page .iv-chamber-table .iv-chamber-party-row strong {
  display: inline;
}
.iv-results-page .iv-chamber-table .iv-chamber-called-supermajority strong {
  color: #fff;
}
