#forecast-2026 {
  --ink: #1A1D1B;
  --ink-soft: #565750;
  --paper: #F3F2ED;
  --paper-raised: #FFFFFF;
  --line: #D9D7CD;
  --dem: #2E5C8A;
  --dem-soft: #E4ECF3;
  --rep: #A63F35;
  --rep-soft: #F4E7E4;
  --accent: #B8862E;

  /*background: var(--paper);*/
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.5;
  padding: 8px 0 0px;
}

#forecast-2026,
#forecast-2026 * {
  box-sizing: border-box;
}

#forecast-2026 svg {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

#forecast-2026 h1,
#forecast-2026 h2 {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}

#forecast-2026 .masthead {
  max-width: 720px;
  margin: 0 auto 40px;
  padding: 0 0px;
  text-align: center;
}

#forecast-2026 .masthead-kicker {
  font-family: 'Newsreader', Georgia, serif;
  font-style: italic;
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0 0 6px;
}

#forecast-2026 .masthead h1 {
  font-size: 3.5rem;
  line-height: 1.15;
  margin: 0 0 14px;
}

#forecast-2026 .masthead-sub {
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 480px;
  margin: 0 auto;
}

#forecast-2026 .masthead-rule {
  width: 56px;
  height: 2px;
  background: var(--accent);
  margin: 20px auto 0;
  border: none;
}

#forecast-2026 .section {
  max-width: 1000px;
  margin: 0 auto 48px;
  padding: 0 0px;
}

#forecast-2026 .section h2 {
  font-size: 21px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  margin: 0 0 18px;
  background: var(--terracotta);
  color: white;
  padding-left: 10px;
  padding-top: 10px;
  font-weight: bold;
}

#forecast-2026 .chart-frame {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  padding: 16px 8px 8px;
  position: relative;
  overflow: hidden;
}

#forecast-2026 .ballot-tabs {
  margin-bottom: 14px;
}

#forecast-2026 .chart-tooltip {
  position: absolute;
  pointer-events: none;
  background: var(--paper-raised);
  border: 1px solid var(--ink);
  /*padding: 8px 11px;*/
  font-size: 12px;
  line-height: 1.6;
  opacity: 0;
  max-width: 170px;
  z-index: 2;
}

#forecast-2026 .chart-tooltip strong {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 500;
  display: block;
  margin-bottom: 2px;
}

#forecast-2026 .seat-histogram-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-bottom: none;
  padding: 18px 20px;
  position: relative;
  overflow: hidden;
}

#forecast-2026 .race-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-top: 1px dashed var(--line);
  padding: 18px 20px 20px;
  margin-bottom: 40px;
}

#forecast-2026 .race-card h3 {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 500;
  font-size: 17px;
  margin: 0 0 14px;
}

#forecast-2026 .race-card-controls {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

#forecast-2026 .race-card-controls input[type="text"] {
  flex: 1;
  padding: 7px 9px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-family: inherit;
  font-size: 13px;
  color: var(--ink);
}

#forecast-2026 .race-card-controls input[type="text"]:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

#forecast-2026 .race-card-controls button {
  padding: 7px 11px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-family: inherit;
  font-size: 12px;
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
}

#forecast-2026 .race-card-controls button:hover {
  border-color: var(--ink);
}

#forecast-2026 .race-card-controls button:focus-visible {
  outline: 2px solid var(--accent);
}

#forecast-2026 .rc-rating-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

#forecast-2026 .rc-rating-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--paper);
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}

#forecast-2026 .rc-rating-btn:hover:not(.is-active) {
  border-color: var(--terracotta);
}

#forecast-2026 .rc-rating-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

#forecast-2026 .rc-rating-btn .rc-rating-dot {
  width: 9px;
  height: 9px;
  border-radius: 2px;
  flex: none;
}

#forecast-2026 .rc-rating-btn .rc-rating-num {
  font-weight: 700;
  opacity: 0.75;
}

#forecast-2026 .rc-rating-btn.is-active {
  color: #fff;
  font-weight: 600;
}

#forecast-2026 .rc-rating-btn.is-active .rc-rating-dot {
  background: #fff !important;
}

#forecast-2026 .rc-rating-btn.rc-rating-all.is-active {
  background: var(--terracotta);
  border-color: var(--terracotta);
}

#forecast-2026 .rc-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

#forecast-2026 .race-card table {
  width: 100%;
  min-width: 420px;
  border-collapse: collapse;
  font-size: 13px;
}

#forecast-2026 .race-card th {
  text-align: left;
  font-weight: 600;
  padding: 6px 8px;
  border-bottom: 1px solid var(--ink);
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}

#forecast-2026 .race-card th.no-sort {
  cursor: default;
}

#forecast-2026 .race-card th .sort-arrow {
  font-size: 10px;
  opacity: 0.6;
  margin-left: 3px;
}

#forecast-2026 .race-card td {
  padding: 7px 8px;
  border-bottom: 1px solid var(--line);
}

#forecast-2026 .race-card tbody tr td:first-child {
  border-left: 3px solid transparent;
}

/*#forecast-2026 .race-card tbody tr.leader-d td:first-child { border-left-color: var(--dem); }
  #forecast-2026 .race-card tbody tr.leader-r td:first-child { border-left-color: var(--rep); }*/
#forecast-2026 .dem-cell {
  color: var(--dem);
  font-weight: 600;
}

#forecast-2026 .rep-cell {
  color: var(--rep);
  font-weight: 600;
}

#forecast-2026 .race-card-empty {
  padding: 18px 4px;
  color: var(--ink-soft);
  font-size: 13px;
}

#forecast-2026 .race-card-count {
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 10px;
}

#forecast-2026 .rating-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 3px;
  border: 1px solid;
  white-space: nowrap;
  line-height: 1.5;
}

#forecast-2026 .flip-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 1px 6px;
  margin-left: 6px;
  border-radius: 3px;
  background: var(--accent);
  color: #fff;
  white-space: nowrap;
  vertical-align: middle;
}

#forecast-2026 .D-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 1px 6px;
  margin-left: 6px;
  border-radius: 3px;
  background: linear-gradient(45deg, var(--rep) 0 30%, var(--dem) 20% 100%);
  color: #fff;
  white-space: nowrap;
  vertical-align: middle;
}

#forecast-2026 .R-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 1px 6px;
  margin-left: 6px;
  border-radius: 3px;
  background: linear-gradient(45deg, var(--dem) 0 30%, var(--rep) 20% 100%);
  color: #fff;
  white-space: nowrap;
  vertical-align: middle;
}

#forecast-2026 .seat-histogram-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-bottom: none;
  border-top: 1px dashed var(--line);
  padding: 18px 20px;
  position: relative;
  overflow: hidden;
}

#forecast-2026 .generic-ballot-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  padding: 18px 20px;
  position: relative;
  overflow: hidden;
}

#forecast-2026 .generic-ballot-card h3 {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 500;
  font-size: 17px;
  margin: 0 0 4px;
}

#forecast-2026 .seat-histogram-card h3 {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 500;
  font-size: 17px;
  margin: 0 0 4px;
}

#forecast-2026 .seat-histogram-subtitle {
  font-size: 16px;
  color: var(--ink-soft);
  margin-bottom: 10px;
}

#forecast-2026 .text-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  padding: 18px 20px 20px;
  border-bottom: none;
  position: relative;
  overflow: hidden;
}


#forecast-2026 .map-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  padding: 18px 20px 20px;
  border-bottom: none;
  border-top: 1px dashed var(--line);
  position: relative;
  overflow: hidden;
}

#forecast-2026 .map-card h3 {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 500;
  font-size: 17px;
  margin: 0 0 12px;
}

#forecast-2026 .map-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
}

#forecast-2026 .map-frame svg {
  width: 100%;
  height: auto;
}

#forecast-2026 .map-frame svg circle,
#forecast-2026 .map-frame svg path {
  cursor: pointer;
  transition: opacity 0.1s ease;
}

#forecast-2026 .map-frame svg circle:hover,
#forecast-2026 .map-frame svg path:hover {
  opacity: 0.75;
}

#forecast-2026 .rating-bar-wrap {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

#forecast-2026 .rating-bar {
  display: flex;
  height: 10px;
  width: 100%;
  border-radius: 2px;
  overflow: hidden;
  background: var(--line);
}

#forecast-2026 .rating-bar-segment {
  height: 100%;
}

#forecast-2026 .rating-bar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 10px;
  justify-content: center;
}

#forecast-2026 .rating-bar-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ink-soft);
}

#forecast-2026 .rating-bar-legend-swatch {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  flex: none;
}

#forecast-2026 .rating-bar-legend-count {
  font-weight: 600;
  color: var(--ink);
}

#forecast-2026 .topline-section {
  margin-bottom: 44px;
}

#forecast-2026 .topline-grid {
  display: flex;
  flex-wrap: wrap;
}

#forecast-2026 .topline-item {
  flex: 1 1 240px;
  padding: 0 32px;
}

#forecast-2026 .topline-item:first-child {
  padding-left: 0;
}

#forecast-2026 .topline-item:not(:first-child) {
  border-left: 1px solid var(--line);
}

#forecast-2026 .topline-chamber {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0 0 6px;
}

#forecast-2026 .topline-figure {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 500;
  font-size: 44px;
  line-height: 1;
  margin: 0 0 6px;
}

#forecast-2026 .topline-caption {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0 0 14px;
}

#forecast-2026 .topline-bar {
  display: flex;
  height: 8px;
  width: 100%;
  background: var(--line);
  overflow: hidden;
}

#forecast-2026 .topline-bar-dem {
  background: var(--dem);
  height: 100%;
}

#forecast-2026 .topline-bar-rep {
  background: var(--rep);
  height: 100%;
}

#forecast-2026 .topline-numbers {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-top: 8px;
}

@media (max-width: 560px) {
  #forecast-2026 .topline-item {
    padding: 20px 0 0;
    flex-basis: 100%;
  }

  #forecast-2026 .topline-item:not(:first-child) {
    border-left: none;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  #forecast-2026 .masthead h1 {
    font-size: 29px;
  }
}

#forecast-2026 .scrollspy-nav {
  display: none;
  flex-direction: column;
  gap: 13px;
  position: fixed;
  top: 50%;
  left: 22px;
  transform: translateY(-50%);
  z-index: 20;
  max-width: 190px;
}

#forecast-2026 .scrollspy-nav a {
  font-size: 12px;
  line-height: 1.4;
  color: var(--ink-soft);
  text-decoration: none;
  padding-left: 13px;
  border-left: 2px solid var(--line);
  transition: color 0.15s ease, border-color 0.15s ease;
}

#forecast-2026 .scrollspy-nav a:hover {
  color: var(--ink);
}

#forecast-2026 .scrollspy-nav a.is-active {
  color: var(--terracotta);
  font-weight: 600;
  border-left-color: var(--accent);
}

@media (min-width: 1260px) {
  #forecast-2026 .scrollspy-nav {
    display: flex;
  }
}

@media (max-width: 640px) {
  #forecast-2026 .rc-table-wrap {
    overflow-x: visible;
  }

  #forecast-2026 .race-card table {
    min-width: 0;
  }

  #forecast-2026 .race-card table,
  #forecast-2026 .race-card tbody,
  #forecast-2026 .race-card tr,
  #forecast-2026 .race-card td {
    display: block;
    width: 100%;
  }

  #forecast-2026 .race-card thead {
    display: none;
  }

  #forecast-2026 .race-card tbody tr {
    border: 1px solid var(--line);
    border-left: 3px solid transparent;
    padding: 10px 12px;
    margin-bottom: 8px;
  }

  #forecast-2026 .race-card tbody tr.leader-d {
    border-left-color: var(--dem);
  }

  #forecast-2026 .race-card tbody tr.leader-r {
    border-left-color: var(--rep);
  }

  #forecast-2026 .race-card td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 4px 0;
    border-bottom: none;
  }

  #forecast-2026 .race-card td::before {
    content: attr(data-label);
    font-size: 11px;
    font-weight: 600;
    color: var(--ink-soft);
    flex: none;
  }

  #forecast-2026 .race-card td:first-child {
    border-left: none;
    padding-bottom: 6px;
    margin-bottom: 4px;
    border-bottom: 1px dashed var(--line);
    font-weight: 600;
  }

  #forecast-2026 .race-card td:first-child::before {
    content: none;
  }
}

#forecast-2026 .polls-controls {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
  align-items: center;
}

#forecast-2026 .polls-filter-group {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}

#forecast-2026 .polls-filter-btn {
  padding: 7px 14px;
  border: none;
  border-right: 1px solid var(--line);
  background: var(--paper-raised);
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.12s ease, color 0.12s ease;
}

#forecast-2026 .polls-filter-btn:last-child {
  border-right: none;
}

#forecast-2026 .polls-filter-btn:hover:not(.is-active) {
  background: var(--paper);
  color: var(--ink);
}

#forecast-2026 .polls-filter-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
  position: relative;
  z-index: 1;
}

#forecast-2026 .polls-filter-btn.is-active {
  background: var(--terracotta);
  color: var(--paper-raised);
  font-weight: 600;
}

#forecast-2026 .polls-seat-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 7px 30px 7px 11px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background-color: var(--paper-raised);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23565750' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
  font-family: inherit;
  font-size: 13px;
  color: var(--ink);
  cursor: pointer;
  min-width: 160px;
  transition: border-color 0.12s ease;
}

#forecast-2026 .polls-seat-select:hover {
  border-color: var(--ink-soft);
}

#forecast-2026 .polls-seat-select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

@media (max-width: 560px) {
  #forecast-2026 .polls-filter-group {
    width: 100%;
  }

  #forecast-2026 .polls-filter-btn {
    flex: 1;
    padding: 8px 6px;
  }

  #forecast-2026 .polls-seat-select {
    width: 100%;
    min-width: 0;
  }
}

#forecast-2026 .poll-pollster-name {
  display: inline-block;
  margin-right: 6px;
}

#forecast-2026 .poll-pop-badge,
#forecast-2026 .poll-grade-badge,
#forecast-2026 .poll-sponsored-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 3px;
  white-space: nowrap;
}

#forecast-2026 .poll-grade-badge {
  border: 1px solid;
  font-weight: 600;
  margin-right: 4px;
}

#forecast-2026 .poll-sponsored-badge {
  background: var(--paper);
  color: var(--ink-soft);
  border: 1px solid var(--line);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 9px;
  font-weight: 700;
}

#forecast-2026 .poll-sponsored-badge-d {
  background: var(--dem);
  color: var(--paper-raised);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 15px;
  font-weight: 700;
  padding-left: 5px;
  padding-right: 5px;
  padding-top: 1px;
  padding-bottom: 1px;
  border-radius: 3px;
}

#forecast-2026 .poll-sponsored-badge-r {
  background: var(--rep);
  color: var(--paper-raised);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 15px;
  font-weight: 700;
  padding-left: 5px;
  padding-right: 5px;
  padding-top: 1px;
  padding-bottom: 1px;
  border-radius: 3px;
}

#forecast-2026 .poll-date-range {
  white-space: nowrap;
}

#forecast-2026 .poll-pop-lv {
  background: #DCEEE0;
  color: #2E7D46;
}

#forecast-2026 .poll-pop-rv {
  background: var(--line);
  color: var(--ink-soft);
}

#forecast-2026 #pollsCard th.col-pollster,
#forecast-2026 #pollsCard td.col-pollster {
  max-width: 180px;
  white-space: normal;
  overflow-wrap: break-word;
}

#forecast-2026 .polls-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 14px;
}

#forecast-2026 .polls-page-btn {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper-raised);
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.12s ease, background 0.12s ease;
}

#forecast-2026 .polls-page-btn:hover:not(:disabled) {
  border-color: var(--ink);
  background: var(--paper);
}

#forecast-2026 .polls-page-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

#forecast-2026 .polls-page-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

#forecast-2026 .polls-page-indicator {
  font-size: 12px;
  color: var(--ink-soft);
  white-space: nowrap;
}

#forecast-2026 #genericBallotChart,
#forecast-2026 #houseToplineChart,
#forecast-2026 #senateToplineChart,
#forecast-2026 #houseProbChart,
#forecast-2026 #senateProbChart {
  position: relative;
}

#forecast-2026 .ballot-tabs {
  flex-wrap: wrap;
}

#forecast-2026 .chart-tooltip.ballot-tooltip {
  padding: 0;
  width: 190px;
  max-width: none;
  border: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(26, 29, 27, 0.14);
  overflow: hidden;
  transition: opacity 0.1s ease;
}

#forecast-2026 .bt-date {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 500;
  font-size: 13px;
  padding: 7px 12px;
  background: var(--terracotta);
  color: var(--paper);
  border-bottom: 1px solid var(--line);
}

#forecast-2026 .bt-body {
  padding: 9px 12px 10px;
}

#forecast-2026 .bt-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  line-height: 1.4;
}

#forecast-2026 .bt-row+.bt-row {
  margin-top: 5px;
}

#forecast-2026 .bt-swatch {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  flex: none;
}

#forecast-2026 .bt-label {
  color: var(--ink-soft);
  flex: 1;
}

#forecast-2026 .bt-value {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

#forecast-2026 .bt-bar {
  display: flex;
  height: 5px;
  margin: 9px 0 7px;
  border-radius: 2px;
  overflow: hidden;
  background: var(--line);
}

#forecast-2026 .bt-bar-dem {
  background: var(--dem);
}

#forecast-2026 .bt-bar-rep {
  background: var(--rep);
}

#forecast-2026 .bt-margin {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--ink-soft);
}

#forecast-2026 .bt-margin strong {
  display: inline;
  margin: 0;
  font-family: inherit;
  font-weight: 700;
}

#forecast-2026 .chart-tooltip.ballot-tooltip.bt-wide {
  width: 224px;
}

#forecast-2026 .bt-party+.bt-party {
  margin-top: 8px;
}

#forecast-2026 .bt-range {
  margin: 2px 0 0 16px;
  font-size: 11px;
  line-height: 1.4;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}

#forecast-2026 .bt-range span+span {
  margin-left: 8px;
}

#forecast-2026 .margin-chart {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  width: 150px;
  height: 34px;
}

#forecast-2026 .margin-chart-label {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

#forecast-2026 .margin-chart-track {
  position: absolute;
  left: 0;
  right: 0;
  top: 20px;
  height: 8px;
  background: #E3E2DC;
  border-radius: 2px;
  overflow: hidden;
}

#forecast-2026 .margin-chart-ci {
  position: absolute;
  top: 0;
  bottom: 0;
  opacity: 0.45;
}

#forecast-2026 .margin-chart-mid {
  position: absolute;
  left: 50%;
  top: 17px;
  width: 2px;
  height: 14px;
  margin-left: -1px;
  background: #000;
}

#forecast-2026 .margin-chart-dot {
  position: absolute;
  top: 18px;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
}

.topline-card {
  max-width: 760px;
  margin: 0 auto;
  background: var(--paper-raised);
  border: 0;
  border-radius: 4px
}

.tl-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 26px;
  font: 600 12px Inter, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft)
}

.tl-brand {
  color: var(--ink);
  letter-spacing: .14em
}

.tl-updated {
  letter-spacing: .04em;
  text-transform: none;
  font-weight: 500
}

.tl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px
}

.tl-name {
  margin: 0;
  margin-bottom: 10px;
  font: 600 12px Inter, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft)
}

.tl-pct {
  margin: 4px 0 0;
  font: 500 64px/1 Newsreader, Georgia, serif;
  letter-spacing: -.02em
}

.tl-lead {
  margin: 8px 0 14px;
  height: 60px;
  font: 500 14px/1.9 Inter, sans-serif;
  color: var(--ink-soft);
}

.tl-badge {
  display: inline-block;
  padding: 0 5px;
  border: 1px solid;
  color: #fff;
  font: 600 12px/22px Inter, sans-serif;
  white-space: nowrap;
  font-style: italic;
}

.tl-bar {
  position: relative;
  display: flex;
  height: 20px;
  border-radius: 1px;
  overflow: hidden;
  background: var(--line)
}

.tl-bar i {
  display: block;
  height: 100%
}

.tl-bar-d {
  background: var(--dem)
}

.tl-bar-r {
  background: var(--rep)
}

.tl-bar b {
  position: absolute;
  left: 50%;
  top: -2px;
  bottom: -2px;
  width: 1px;
  background: var(--paper-raised)
}

.tl-split {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font: 600 13px Inter, sans-serif
}

.tl-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  font: 12px Inter, sans-serif;
  color: var(--ink-soft)
}

.tl-share {
  font: 600 12px Inter, sans-serif;
  padding: 7px 14px;
  border: 0;
  border-radius: 2px;
  background: var(--line);
  color: var(--ink);
  cursor: pointer
}

.tl-share:hover {
  background: var(--terracotta);
  color: var(--paper-raised)
}

@media(max-width:600px) {
  

  .tl-grid {
    grid-template-columns: 1fr;
    gap: 26px
  }

  .tl-pct {
    font-size: 54px
  }
}

.polls-control-label {
  font: 600 12px Inter, sans-serif;
  color: var(--ink-soft);
  margin-left: 6px;
}
.polls-controls { flex-wrap: wrap; gap: 8px; align-items: center; }

.bt-ci-track {
  position: relative;
  height: 8px;
  margin: 8px 0 6px;
  border-radius: 4px;
  background: var(--line);
}
.bt-ci {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 4px;
}
.bt-ci-median {
  position: absolute;
  top: -3px;
  bottom: -3px;
  width: 3px;
  border-radius: 2px;
  transform: translateX(-50%);
  box-shadow: 0 0 0 1.5px var(--paper-raised);
}
.bt-ci-maj {
  position: absolute;
  top: -4px;
  bottom: -4px;
  width: 0;
  border-left: 1px dashed var(--ink-soft);
}
