/* Forecast race page — simulation histogram, trend charts, fundamentals */

body.race-view-forecast .state-race-page-head-text--with-detail .state-race-page-more-toggle {
    margin-top: calc(0.85rem + 3px);
}

body.race-view-forecast .race-forecast-page-mount {
    display: block;
}

html.race-view-forecast #raceForecastPageMount:not(.race-forecast-page-mount--ready) {
    min-height: clamp(720px, 88vw, 1020px);
}

html.race-view-forecast #raceForecastPageMount.race-forecast-page-mount--ready {
    min-height: 0;
}

html.race-view-forecast #racePollingBottom {
    visibility: hidden;
}

html.race-view-forecast #raceForecastPageMount.race-forecast-page-mount--ready ~ #racePollingBottom {
    visibility: visible;
}

.race-forecast-page-mount {
    display: none;
}

.race-forecast-shell-reserve {
    pointer-events: none;
}

.race-forecast-section {
    border-bottom: none;
}

.race-forecast-section-pad {
    padding: 2rem 0 2.25rem;
    --rf-pad-x: 1rem;
}

@media (min-width: 640px) {
    .race-forecast-section-pad {
        --rf-pad-x: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .race-forecast-section-pad {
        --rf-pad-x: 2.5rem;
    }
}

@media (min-width: 1280px) {
    .race-forecast-section-pad {
        --rf-pad-x: 3.5rem;
    }
}

.race-forecast-chart-block {
    margin: 0 0 2rem;
}

.race-forecast-chart-block:last-child {
    margin-bottom: 0;
}

.race-forecast-chart-heading {
    margin: 0;
    font-family: "Plus Jakarta Sans", "DM Sans", ui-sans-serif, system-ui, sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.025em;
    line-height: 1.2;
    position: relative;
    top: 2px;
}

@media (min-width: 640px) {
    .race-forecast-chart-heading {
        font-size: 1.5rem;
    }
}

.race-forecast-chart-sub {
    margin: 0.5rem 0 0;
    font-size: clamp(0.8125rem, 1.35vw, 0.9375rem);
    color: #94a3b8;
    line-height: 1.45;
    max-width: 100%;
    min-width: 0;
    white-space: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
    text-wrap: pretty;
}

/* Screen recording / ?record=1 — drop expensive compositing (see ET.isChartPerfMode). */
html.chart-perf-mode body.sleek-home #mainHeader,
html.chart-perf-mode body.race-view-forecast #mainHeader {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: #050608 !important;
}

html.chart-perf-mode body.race-view-forecast .race-forecast-chart-stage.sleek-chart-stage,
html.chart-perf-mode body.race-view-forecast .race-forecast-sim-stage.sleek-chart-stage {
    contain: layout paint;
}

html.chart-perf-mode body.race-view-forecast .race-forecast-chart-stage canvas,
html.chart-perf-mode body.race-view-forecast .race-forecast-sim-stage canvas {
    will-change: auto;
}

body.sleek-home.race-view-forecast .race-forecast-chart-stage.sleek-chart-stage {
    position: relative;
    background-color: #0c0f14;
    border: 1px solid rgba(51, 65, 85, 0.5);
    border-radius: 0;
    padding: 0.5rem 0.65rem;
    overflow: visible;
    margin-top: 2.25rem;
    padding-top: 0.5rem;
}

body.sleek-home.race-view-forecast .race-forecast-chart-stage.sleek-chart-stage canvas {
    display: block;
    position: relative;
    z-index: 1;
}

body.sleek-home.race-view-forecast .race-forecast-sim-stage.sleek-chart-stage {
    margin-top: calc(2.25rem + 32px);
}

.race-forecast-sim-stage {
    height: min(468px, 58vw);
    min-height: 328px;
    max-height: 528px;
    transform: translateY(3px);
}

.race-forecast-sim-stage .relative {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.race-forecast-disabled-state {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    color: #cbd5e1;
    background: rgba(12, 15, 20, 0.9);
    border: 1px solid rgba(51, 65, 85, 0.65);
    box-sizing: border-box;
}

.race-forecast-disabled-state__title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
}

.race-forecast-disabled-state__text {
    max-width: 32rem;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: #94a3b8;
}

.race-forecast-sim-canvas {
    display: block;
    width: 100%;
    height: 100%;
    cursor: crosshair;
    vertical-align: top;
}

.race-forecast-sim-hover-vline {
    position: absolute;
    width: 1px;
    pointer-events: none;
    z-index: 0;
    background-repeat: repeat-y;
    background-image: repeating-linear-gradient(to bottom, transparent 0 4px, #94a3b8 4px 8px);
    display: none;
}

.race-forecast-sim-hover-band {
    position: absolute;
    pointer-events: none;
    z-index: 2;
    display: none;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.32);
    box-sizing: border-box;
    transition: left 0.07s ease-out, width 0.07s ease-out;
}

.race-forecast-sim-avg-tip,
.race-forecast-sim-bin-tip {
    position: absolute;
    pointer-events: none;
    z-index: 20;
    opacity: 0;
    visibility: hidden;
    will-change: transform;
}

.race-forecast-sim-tip-header {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #fff;
    margin-top: 3px;
    line-height: 1.2;
}

.race-forecast-sim-avg-tip .race-forecast-sim-tip-header {
    font-size: 16px;
}

.race-forecast-sim-bin-tip .race-forecast-sim-tip-header {
    font-size: 15px;
    display: inline-block;
    margin-top: 2px;
}

.race-forecast-sim-bin-tip .race-forecast-sim-bin-tip-range {
    font-size: 16px;
    display: inline-block;
    transform: translateY(2px);
}

.race-forecast-sim-bin-tip-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    line-height: 1.2;
    text-align: center;
}

.race-forecast-sim-bin-tip-range {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.race-forecast-sim-block {
    margin: 0 0 1.75rem;
}

.race-forecast-sim-canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.race-forecast-sim-caption {
    margin: 0.5rem 0 0;
    font-size: clamp(0.8125rem, 1.35vw, 0.9375rem);
    color: #64748b;
    line-height: 1.45;
}

.race-forecast-trends-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 2.5vw, 2rem);
    margin-top: calc(0.25rem + 50px);
    /* Chart stages use translateY(30px); reserve space below layout box. */
    padding-bottom: 30px;
    overflow: visible;
}

.race-forecast-trend-card {
    min-width: 0;
}

.race-forecast-trend-card .race-forecast-chart-stage {
    transform: translateY(30px);
}

/* Full-width section rules (matches .race-forecast-eh-section-head border-b). */
.race-forecast-trends-rule,
.race-forecast-eh-bottom-rule {
    display: block;
    height: 0;
    margin-left: calc(-1 * var(--rf-pad-x, 1rem));
    margin-right: calc(-1 * var(--rf-pad-x, 1rem));
    width: calc(100% + 2 * var(--rf-pad-x, 1rem));
    max-width: none;
    padding: 0;
    border: none;
    border-bottom: 1px solid rgb(30 41 55 / 0.8);
    box-sizing: border-box;
}

.race-forecast-trends-rule {
    margin-top: 10px;
}

.race-forecast-eh-bottom-rule {
    margin-top: 40px;
}

.race-forecast-polling-data {
    margin-top: 32px;
}

/* Senate forecast-only states (no GE polls): no placeholder poll chart or Polling Data block */
body.race-view-forecast.race-senate-forecast-only #racePollingBottom,
body.race-view-forecast.race-senate-forecast-only #raceForecastPollingData,
body.race-view-forecast.race-senate-forecast-only section:has(.race-no-ge-chart-stage),
body.race-view-forecast.race-house-forecast-only #racePollingBottom,
body.race-view-forecast.race-house-forecast-only #raceForecastPollingData,
body.race-view-forecast.race-house-forecast-only .race-forecast-eh-results,
body.race-view-forecast.race-house-forecast-only .rf-premium-block--history,
body.race-view-forecast.race-house-forecast-only .rf-premium-block--polling-teaser,
body.race-view-forecast.race-house-forecast-only template#racePollingPageSource {
    display: none !important;
}

.race-forecast-polling-data-head {
    margin-bottom: 0;
    min-width: 0;
    max-width: 100%;
}

.race-forecast-polling-data-head .race-forecast-chart-sub {
    max-width: none;
    white-space: nowrap;
    text-wrap: nowrap;
    overflow-wrap: normal;
    word-wrap: normal;
    font-size: clamp(0.6875rem, 0.88vw, 0.875rem);
}

@media (max-width: 520px) {
    .race-forecast-polling-data-head .race-forecast-chart-sub {
        font-size: clamp(0.625rem, 2.65vw, 0.75rem);
    }
}

@media (min-width: 901px) {
    .race-forecast-trends-grid>.race-forecast-trend-card:first-of-type {
        grid-column: 1;
    }

    .race-forecast-trends-grid>.race-forecast-trend-card:last-of-type {
        grid-column: 2;
    }
}

.race-forecast-trend-chart-inner {
    position: relative;
    width: 100%;
    height: 285px;
}

@media (min-width: 768px) {
    .race-forecast-trend-chart-inner {
        height: 300px;
    }
}

/* Gap from trends rule to Electoral History heading (rule sits above this block). */
.race-forecast-eh-results {
    margin-top: 0;
    padding-top: calc(0.25rem + 27px);
    position: relative;
    z-index: 1;
}

.race-forecast-eh-section-head {
    margin-bottom: 1.25rem;
}

.race-forecast-eh-page-link {
    color: inherit;
    text-decoration: none;
    display: inline;
}

.race-forecast-eh-page-link:hover {
    color: #cbd5e1;
}

.race-forecast-eh-page-arrow {
    color: #64748b;
    font-weight: 400;
    display: inline-block;
    margin-left: 3px;
    transition: transform 0.2s ease;
}

.race-forecast-eh-page-link.group:hover .race-forecast-eh-page-arrow {
    transform: translateX(4.7px);
}

.race-forecast-eh-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.25rem, 2.5vw, 2rem);
    align-items: start;
    margin-top: 28px;
}

/* One outline on the column; head + accent + scroll list share full-width sides. */
.race-forecast-eh-col {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border: 1px solid rgba(51, 65, 85, 0.45);
    border-radius: 0;
    box-sizing: border-box;
}

/* Column head — ALL POLLS–style label; square party accent bar below (EH button colors). */
.race-forecast-eh-col-head {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0.9rem 1.15rem;
    border: none;
    border-radius: 0;
    background-color: #050608;
}

.race-forecast-eh-col-head-link {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.12s ease;
}

.race-forecast-eh-col-head-link:hover,
.race-forecast-eh-col-head-link:focus-visible {
    color: #cbd5e1;
    outline: none;
}

.race-forecast-eh-col-head-label {
    font-family: "Plus Jakarta Sans", "DM Sans", ui-sans-serif, system-ui, sans-serif;
    font-size: clamp(1.0625rem, 1.55vw, 1.1875rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    text-transform: none;
    color: inherit;
    line-height: 1.2;
}

.race-forecast-eh-col-accent {
    flex-shrink: 0;
    width: 100%;
    height: 3px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    box-sizing: border-box;
}

.race-forecast-eh-col--president .race-forecast-eh-col-accent {
    background-color: #ff4142;
}

.race-forecast-eh-col--senate .race-forecast-eh-col-accent {
    background-color: #1181ff;
}

.race-forecast-eh-col--governor .race-forecast-eh-col-accent {
    background-color: #22c55e;
}

.race-forecast-eh-polls-wrap {
    --race-forecast-eh-row-hover-bleed: 0.65rem;
    flex: 1 1 auto;
    min-height: 0;
    border: none;
    background: rgba(8, 12, 20, 0.35);
}

.race-forecast-eh-polls-scroll {
    max-height: calc(5 * (4.75rem + 19px) - 23.5px);
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
}

.race-forecast-eh-polls {
    display: flex;
    flex-direction: column;
}

.race-forecast-eh-row.all-polls-poll-row,
a.race-forecast-eh-row-link.all-polls-poll-row {
    display: grid;
    grid-template-columns: minmax(3.25rem, 0.3fr) minmax(0, 1fr) 5.5rem;
    gap: 0 0.75rem;
    align-items: center;
    min-height: calc(2.25rem + 19px);
    padding: calc(0.5rem + 9.5px) var(--race-forecast-eh-row-hover-bleed);
    border-bottom: 1px solid rgba(51, 65, 85, 0.22);
    font-size: 0.875rem;
    line-height: 1.35;
    box-sizing: border-box;
    color: inherit;
}

a.race-forecast-eh-row-link {
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.12s ease;
}

a.race-forecast-eh-row-link:hover,
a.race-forecast-eh-row-link:focus-visible {
    background-color: rgba(30, 41, 59, 0.45);
    outline: none;
}

.race-forecast-eh-polls .race-forecast-eh-row:last-child {
    border-bottom: none;
}

.race-forecast-eh-col-year {
    font-size: 1.125rem;
    font-weight: 700;
    color: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 0;
    min-width: 0;
    align-self: center;
}

.race-forecast-eh-year-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.12rem;
    min-width: 0;
}

.race-forecast-eh-year-text {
    display: block;
    line-height: 1;
}

.race-forecast-eh-year-note {
    display: block;
    font-size: 0.68rem;
    line-height: 1;
    font-weight: 600;
    color: #94a3b8;
    text-align: center;
    white-space: nowrap;
}

.race-forecast-eh-col-bars {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    min-width: 0;
    width: 100%;
    max-width: none;
    padding-right: 20px;
    box-sizing: border-box;
    align-self: center;
}

/* Electoral-history map hover bars — slightly smaller than #ehMapTip defaults */
.race-forecast-eh-bars.eh-tip-bars {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin: 0;
    width: 100%;
    min-width: 0;
    max-width: none;
}

.race-forecast-eh-bars .eh-tip-bar-row {
    width: 100%;
    min-width: 0;
}

.race-forecast-eh-bars .eh-tip-bar-track {
    display: inline-flex;
    align-items: center;
    width: 100%;
    min-width: 0;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    vertical-align: top;
    background:
        linear-gradient(var(--track-tint, transparent), var(--track-tint, transparent)),
        rgba(15, 23, 42, 0.5);
}

.race-forecast-eh-bars .eh-tip-bar-fill {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    border-radius: 5px;
    z-index: 0;
}

.race-forecast-eh-bars .eh-tip-bar-fill.eh-tip-bar-fill--flip {
    box-shadow: inset 0 0 0 1px #ffffff;
}

.race-forecast-eh-bars .eh-tip-bar-labels {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    width: 100%;
    min-height: 1.5rem;
    padding: 0 0.45rem;
    box-sizing: border-box;
    pointer-events: none;
}

.race-forecast-eh-bars .eh-tip-bar-name {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.8125rem;
    line-height: 1;
    white-space: nowrap;
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
}

.race-forecast-eh-bars .eh-tip-bar-name--italic {
    font-style: italic;
}

.race-forecast-eh-bars .eh-tip-bar-pct {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.8125rem;
    line-height: 1;
    display: flex;
    align-items: center;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    flex: 0 0 auto;
    margin-left: auto;
}

.race-forecast-eh-row .all-polls-col-chip {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    padding-right: 10px;
    overflow: visible;
    min-width: 0;
    align-self: center;
    box-sizing: border-box;
}

.race-forecast-eh-chip-scale {
    transform: scale(1.08);
    transform-origin: right center;
    display: inline-block;
}

.race-forecast-eh-empty {
    margin: 0;
    padding: 0.85rem var(--race-forecast-eh-row-hover-bleed);
    font-size: 0.875rem;
    color: #64748b;
}

.race-forecast-view-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 0 1rem;
}

.race-forecast-view-tabs a {
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid rgb(71 85 105 / 0.8);
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.12s ease, border-color 0.12s ease, background 0.12s ease;
}

.race-forecast-view-tabs a:hover {
    color: #e2e8f0;
    border-color: #64748b;
}

.race-forecast-view-tabs a.is-active {
    color: #fff;
    border-color: #475569;
    background: rgb(30 41 59 / 0.65);
}

.ga-header-search-polls .race-forecast-view-tabs--header {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.35rem;
    margin: 0 0 0 0.35rem;
    padding: 0;
    flex-shrink: 0;
}

.ga-header-search-polls .race-forecast-view-tabs--header a {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.42rem 0.72rem;
    border-radius: 6px;
    border: 1px solid rgba(51, 65, 85, 0.85);
    background: #0f172a;
    white-space: nowrap;
}

.ga-header-search-polls .race-forecast-view-tabs--header a.is-active {
    background: #1e293b;
    border-color: rgba(51, 65, 85, 0.85);
}

@media (max-width: 900px) {
    .ga-header-search-polls .race-forecast-view-tabs--header {
        display: none;
    }
}

body.race-view-polling .state-race-page-detail-row,
body.race-view-polling .state-race-page-more-panel {
    display: none !important;
}

body.race-view-forecast #racePollingBottom {
    border-top: none;
}

body.race-view-forecast #racePollingBottom>section:first-child {
    border-top: none;
    border-bottom: none !important;
    margin-top: -41px;
}

/* ≤2-poll bar layout only (line viz hidden); line charts keep default spacing. */
body.race-view-forecast #racePollingBottom #senBarViz.sleek-chart-stage,
body.race-view-forecast #racePollingBottom #govBarViz.sleek-chart-stage,
body.race-view-forecast #racePollingBottom .sleek-chart-stage:has(#govAvgBox),
body.race-view-forecast #racePollingBottom #houseBarViz.sleek-chart-stage {
    margin-top: -22px;
}

/* Tighten polling-data line charts to sit 6px closer to the section heading. */
body.race-view-forecast #racePollingBottom #senLineViz.sleek-chart-stage,
body.race-view-forecast #racePollingBottom #govLineViz.sleek-chart-stage,
body.race-view-forecast #racePollingBottom #houseLineViz.sleek-chart-stage {
    margin-top: 10px;
}

/* Polls table: less offset than chart pull-up so list sits closer to chart. */
body.race-view-forecast #racePollingBottom>section+section {
    margin-top: -51px;
}

/* +4px below polls list (overrides section pb-7 / sm:pb-9). */
body.race-view-forecast #racePollingBottom>section+section>div {
    padding-bottom: calc(1.75rem + 4px);
}

@media (min-width: 640px) {
    body.race-view-forecast #racePollingBottom>section+section>div {
        padding-bottom: calc(2.25rem + 4px);
    }
}

@media (max-width: 900px) {
    .race-forecast-trends-grid {
        grid-template-columns: 1fr;
    }

    .race-forecast-trend-chart-inner {
        height: 260px;
    }

    .race-forecast-eh-grid {
        grid-template-columns: 1fr;
    }
}

html[data-pollsmax-theme="light"] .race-forecast-chart-heading,
html[data-pollsmax-theme="light"] .race-forecast-trend-title,
html[data-pollsmax-theme="light"] .race-forecast-sim-heading,
html[data-pollsmax-theme="light"] .race-forecast-eh-page-link {
    color: #0f172a;
}

html[data-pollsmax-theme="light"] .race-forecast-eh-page-link:hover {
    color: #334155;
}

html[data-pollsmax-theme="light"] .race-forecast-eh-section-head,
html[data-pollsmax-theme="light"] .race-forecast-polling-data-head,
html[data-pollsmax-theme="light"] .race-forecast-eh-bottom-rule,
html[data-pollsmax-theme="light"] .race-forecast-trends-rule {
    border-color: #e2e8f0;
}

html[data-pollsmax-theme="light"] .race-forecast-eh-page-arrow {
    color: #94a3b8;
}

html[data-pollsmax-theme="light"] .race-forecast-eh-col {
    border-color: #e2e8f0;
}

html[data-pollsmax-theme="light"] .race-forecast-eh-col-head {
    background-color: #f8fafc;
}

html[data-pollsmax-theme="light"] .race-forecast-eh-col-head-link {
    color: #0f172a;
}

html[data-pollsmax-theme="light"] .race-forecast-eh-col-head-link:hover,
html[data-pollsmax-theme="light"] .race-forecast-eh-col-head-link:focus-visible {
    color: #334155;
}

html[data-pollsmax-theme="light"] .race-forecast-eh-col--president .race-forecast-eh-col-accent {
    background-color: #ff4142;
}

html[data-pollsmax-theme="light"] .race-forecast-eh-col--senate .race-forecast-eh-col-accent {
    background-color: #1181ff;
}

html[data-pollsmax-theme="light"] .race-forecast-eh-col--governor .race-forecast-eh-col-accent {
    background-color: #22c55e;
}

html[data-pollsmax-theme="light"] .race-forecast-sim-wrap {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border-color: #e2e8f0;
    box-shadow: inset 0 1px 0 #fff;
}

html[data-pollsmax-theme="light"] .race-forecast-eh-polls-wrap {
    background: #f8fafc;
}

html[data-pollsmax-theme="light"] .race-forecast-eh-col-year {
    color: #0f172a;
}

html[data-pollsmax-theme="light"] .race-forecast-eh-year-note {
    color: #64748b;
}

html[data-pollsmax-theme="light"] .race-forecast-eh-bars .eh-tip-bar-track {
    background:
        linear-gradient(var(--track-tint, transparent), var(--track-tint, transparent)),
        rgba(241, 245, 249, 0.95);
}

html[data-pollsmax-theme="light"] .race-forecast-eh-bars .eh-tip-bar-name,
html[data-pollsmax-theme="light"] .race-forecast-eh-bars .eh-tip-bar-pct {
    color: #0f172a;
}

html[data-pollsmax-theme="light"] .race-forecast-eh-row.all-polls-poll-row,
html[data-pollsmax-theme="light"] a.race-forecast-eh-row-link.all-polls-poll-row {
    border-bottom-color: rgba(148, 163, 184, 0.35);
}

html[data-pollsmax-theme="light"] a.race-forecast-eh-row-link:hover,
html[data-pollsmax-theme="light"] a.race-forecast-eh-row-link:focus-visible {
    background-color: rgba(241, 245, 249, 0.95);
}

html[data-pollsmax-theme="light"] .race-forecast-sim-caption,
html[data-pollsmax-theme="light"] .race-forecast-eh-empty {
    color: #64748b;
}