    <style>
        :root {
            color-scheme: dark;
        }

        body {
            background: #0b0e13;
            color: #e5e7eb;
        }

        .et-chip {
            display: inline-block;
            color: #fff;
            padding: var(--et-chip-py, .42rem) var(--et-chip-px, .6rem);
            border-radius: var(--et-chip-radius, .55rem);
            font-weight: var(--et-chip-fw, 700);
            font-size: var(--et-chip-fs, .9rem);
            line-height: 1;
            white-space: nowrap;
        }

        /* —— Sleek home (state page) —— */
        body.sleek-home {
            font-family: "DM Sans", ui-sans-serif, system-ui, sans-serif;
            background: #050608;
            color: #e2e8f0;
            min-height: 100vh;
        }

        body.sleek-home h1,
        body.sleek-home h2,
        body.sleek-home h3,
        body.sleek-home h4 {
            font-family: "Plus Jakarta Sans", "DM Sans", ui-sans-serif, system-ui, sans-serif;
        }

        body.sleek-home #mainHeader {
            position: relative;
            z-index: 50;
            background: rgba(5, 6, 8, 0.92);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border-bottom: 1px solid rgba(51, 65, 85, 0.45);
            overflow: visible;
        }

        html.chart-perf-mode body.sleek-home #mainHeader {
            backdrop-filter: none;
            -webkit-backdrop-filter: none;
            background: #050608;
        }

        html.chart-perf-mode body.sleek-home .sleek-chart-stage {
            contain: layout paint;
        }

        body.sleek-home .sleek-home-header-logo {
            transform: scale(1.18);
            transform-origin: left center;
        }

        body.sleek-home .sleek-eyebrow {
            font-size: 0.65rem;
            font-weight: 600;
            letter-spacing: 0.14em;
            text-transform: uppercase;
            color: #64748b;
        }

        body.sleek-home .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;
        }

        body.sleek-home .sleek-chart-stage canvas {
            display: block;
        }

        body.sleek-home select.sleek-select {
            border-radius: 0;
            cursor: pointer;
            border-bottom: 1px solid rgba(71, 85, 105, 0.9) !important;
            border-top: none !important;
            border-left: none !important;
            border-right: none !important;
            background: transparent !important;
            box-shadow: none !important;
            color: #e2e8f0;
            padding: 0.35rem 1.5rem 0.35rem 0;
            font-size: 0.875rem;
        }

        body.sleek-home select.sleek-select:focus {
            outline: none;
            border-bottom-color: rgba(148, 163, 184, 0.95) !important;
        }

        body.sleek-home .pill {
            background: transparent;
            border: none;
            border-bottom: 1px solid rgba(71, 85, 105, 0.8);
            border-radius: 0;
            box-shadow: none;
        }

        body.sleek-home .sleek-band-head {
            border-bottom: 1px solid rgba(51, 65, 85, 0.45);
            padding: 1rem 0 0.75rem;
        }

        body.sleek-home .state-hero-flag {
            width: auto;
            height: 52px;
            border-radius: 6px;
            object-fit: cover;
            flex-shrink: 0;
        }

        @media (min-width: 640px) {
            body.sleek-home .state-hero-flag {
                height: 58px;
            }
        }

        body.sleek-home .ga-hero-race {
            font-family: "Plus Jakarta Sans", "DM Sans", ui-sans-serif, system-ui, sans-serif;
            font-size: 0.8125rem;
            font-weight: 800;
            letter-spacing: 0.22em;
            text-transform: uppercase;
            color: #94a3b8;
            margin: 0;
            margin-top: 0.65rem;
        }

        body.sleek-home .ga-party-affil {
            font-family: "Plus Jakarta Sans", "DM Sans", ui-sans-serif, system-ui, sans-serif;
            font-size: 0.8rem;
            font-weight: 800;
            letter-spacing: 0.18em;
            text-transform: uppercase;
            margin-top: 0.2rem;
        }

        @media (min-width: 640px) {
            body.sleek-home .ga-party-affil {
                font-size: 0.9rem;
            }
        }

        @media (min-width: 640px) {
            body.sleek-home .ga-hero-race {
                font-size: 0.9375rem;
            }
        }

        @media (min-width: 1024px) {
            body.sleek-home .ga-hero-race {
                font-size: 1.0625rem;
            }
        }

        body.sleek-home .state-cand-photo {
            border: 1px solid rgba(51, 65, 85, 0.55);
            background: #0c0f14;
            border-radius: 0;
            overflow: hidden;
        }

        /* Georgia hero: photos + bios align with chart box (see state-hero-chart-align.css). */
        body.sleek-home .ga-hero-cands {
            width: 100%;
            padding-left: 0;
            padding-right: 0;
            box-sizing: border-box;
        }

        body.sleek-home .ga-hero-cand-photo {
            width: 114px;
            height: 143px;
        }

        @media (min-width: 640px) {
            body.sleek-home .ga-hero-cand-photo {
                width: 130px;
                height: 163px;
            }
        }

        @media (min-width: 1024px) {
            body.sleek-home .ga-hero-cand-photo {
                width: 150px;
                height: 188px;
            }
        }

        @media (min-width: 1280px) {
            body.sleek-home .ga-hero-cand-photo {
                width: 163px;
                height: 204px;
            }
        }

        body.sleek-home .ga-hero-center {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            width: max-content;
            max-width: 100%;
            min-width: min-content;
            margin-top: -21px;
            transform: translateY(-2px);
            justify-self: center;
            box-sizing: border-box;
        }

        @media (min-width: 1024px) {
            body.sleek-home .ga-hero-cands {
                grid-template-columns: minmax(0, 1fr) minmax(min-content, max-content) minmax(0, 1fr) !important;
            }
        }

        body.sleek-home .ga-hero-flag-wrap {
            display: flex;
            justify-content: center;
            width: 100%;
            padding-top: 30px;
            box-sizing: border-box;
        }

        /* Block + top margin so the offset applies (inline img ignores vertical margin). */
        body.sleek-home .ga-hero-flag-wrap .state-hero-flag {
            display: block;
            margin-left: auto;
            margin-right: auto;
        }

        body.sleek-home .ga-hero-cand-name {
            display: inline-block;
            border-bottom: none;
            padding-bottom: 0;
        }

        body.sleek-home .ga-header-search-polls {
            display: flex;
            flex-wrap: wrap;
            align-items: flex-end;
            justify-content: flex-end;
            gap: 0.5rem 0.75rem;
            max-width: min(100%, 52rem);
        }

        body.sleek-home .ga-header-search-polls .ga-header-search-field {
            display: flex;
            align-items: center;
            gap: 0.35rem;
        }

        body.sleek-home .ga-header-search-polls select.sleek-select.pill {
            width: 8.74rem;
            font-size: 0.8125rem;
            padding-right: 1.1rem;
        }

        /* State name under flag: always one line (polling + forecast senate/gov heroes). */
        body.sleek-home h1.ga-hero-title:not(.ga-hero-title--house):not(.ga-hero-title--approval):not(.ga-hero-2028-primary-title) {
            margin: 0;
            margin-top: 2px;
            padding-top: 1px;
            font-family: "Plus Jakarta Sans", "DM Sans", ui-sans-serif, system-ui, sans-serif;
            font-size: clamp(1.375rem, min(5.5vw + 0.5rem, 10vw), 4.5rem) !important;
            line-height: 1.05;
            font-weight: 700;
            letter-spacing: -0.02em;
            color: #fff;
            white-space: nowrap !important;
            text-wrap: nowrap !important;
            word-break: keep-all;
            overflow-wrap: normal;
            hyphens: none;
            min-width: min-content;
            width: max-content;
            max-width: 100%;
        }

        body.sleek-home .ga-hero-title {
            margin: 0;
            margin-top: 2px;
            padding-top: 1px;
            font-family: "Plus Jakarta Sans", "DM Sans", ui-sans-serif, system-ui, sans-serif;
            font-size: 2.75rem;
            line-height: 1.05;
            font-weight: 700;
            letter-spacing: -0.02em;
            color: #fff;
        }

        @media (min-width: 640px) {
            body.sleek-home .ga-hero-title:not(.ga-hero-title--house):not(.ga-hero-title--approval):not(.ga-hero-2028-primary-title) {
                font-size: clamp(1.5rem, min(5.5vw + 0.5rem, 9vw), 4.5rem) !important;
            }

            body.sleek-home .ga-hero-title {
                font-size: 3.35rem;
            }
        }

        @media (min-width: 768px) {
            body.sleek-home .ga-hero-title {
                font-size: 4rem;
            }
        }

        @media (min-width: 1024px) {
            body.sleek-home .ga-hero-title {
                font-size: 4.5rem;
            }

            body.sleek-home h1.ga-hero-title:not(.ga-hero-title--house):not(.ga-hero-title--approval):not(.ga-hero-2028-primary-title) {
                font-size: clamp(1.75rem, min(5.5vw + 0.5rem, 8vw), 4.5rem) !important;
            }
        }

        /* (Removed) recent elections strip */

        /* Poll grid */
        #pollsTableShell .row {
            padding: .72rem 1rem;
            border-top: 1px solid rgba(51, 65, 85, 0.35);
            display: grid;
            /* Make Pollster wider by taking equal width from other columns */
            grid-template-columns:
                2.55fr
                1.3fr
                0.95fr
                0.95fr
                0.95fr
                0.96fr;
            gap: 0 1.25rem;
            align-items: center;
            transition: background 0.12s ease;
        }

        #pollsTableShell .row:not(.header):not(.avg):hover {
            background: rgba(15, 23, 42, 0.35);
        }

        #pollsTableShell .row>div:not(:first-child) {
            padding-left: 0.75rem;
        }

        #pollsTableShell .row.header {
            background: #0f1218;
            font-weight: 600;
            color: #94a3b8;
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 0.04em;
            border-top: none;
        }

        #pollsTableShell .row.avg {
            background: rgba(30, 41, 59, 0.45);
            border-top-color: rgba(51, 65, 85, 0.55);
            border-bottom: 1px solid rgba(51, 65, 85, 0.45);
        }

        body.sleek-home .state-polls-shell {
            background: #0a0c10;
            border: 1px solid rgba(51, 65, 85, 0.5);
            border-radius: 0;
        }

        body.sleek-home footer {
            background: #0a0c10 !important;
            border-top: 1px solid rgba(51, 65, 85, 0.45) !important;
        }

        /* Senate chart hover (no tooltip card) */
        .mi-hover-overlay {
            position: absolute;
            inset: 0;
            pointer-events: none;
            z-index: 30;
        }

        .mi-hover-date,
        .mi-hover-chip,
        .mi-hover-line,
        .mi-hover-dot {
            position: absolute;
            white-space: nowrap;
            opacity: 0;
            transition: opacity .08s linear;
            will-change: transform, left, top;
        }

        .mi-hover-date {
            color: #e5e7eb;
            font-size: .86rem;
            font-weight: 400;
            line-height: 1.1;
        }

        .mi-hover-chip {
            line-height: 1;
        }

        .mi-hover-chip .et-chip {
            --et-chip-py: .32rem;
            --et-chip-px: .50rem;
            --et-chip-radius: .44rem;
        }

        .mi-hover-line {
            font-size: .9rem;
            font-weight: 600;
            line-height: 1.05;
            color: inherit;
            -webkit-text-fill-color: currentColor;
            -webkit-text-stroke: 3.8px #0c0f14;
            paint-order: stroke fill;
            text-shadow:
                0 0 0 #0c0f14,
                0 0 1px #0c0f14;
        }

        .mi-hover-dot {
            width: 15px;
            height: 15px;
            border-radius: 9999px;
            border: 2px solid #0c0f14;
            box-sizing: border-box;
            transform: translate(-50%, -50%);
        }

        @media (prefers-reduced-motion: reduce) {
            #pollsTableShell .row:not(.header):not(.avg) {
                transition: none;
            }
        }

/* No general-election polls placeholder (chart + average box height) */
body.race-page-no-ge-polls .race-no-ge-chart-stage {
    position: relative;
    background-color: #0c0f14;
    border: 1px solid rgba(51, 65, 85, 0.5);
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    box-sizing: border-box;
}

@media (min-width: 640px) {
    body.race-page-no-ge-polls .race-no-ge-chart-stage {
        min-height: 520px;
    }
}

body.race-page-no-ge-polls .race-no-ge-chart-stage__label {
    font-family: "Plus Jakarta Sans", "DM Sans", ui-sans-serif, system-ui, sans-serif;
    font-size: clamp(1.35rem, 3.2vw, 2rem);
    font-weight: 300;
    letter-spacing: 0.02em;
    color: #94a3b8;
    text-align: center;
    line-height: 1.35;
    max-width: 28rem;
}

body.race-page-no-ge-polls .state-race-page-head--minimal .state-race-page-detail-row {
    display: none;
}

body.race-page-no-ge-polls h2.state-race-page-headline--house-wrap {
    white-space: normal !important;
}

body.race-page-no-ge-polls .state-race-page-headline-line--house {
    white-space: normal;
    display: inline;
}

body.house-district-page .house-photo-fallback {
    object-fit: contain;
    padding: 12%;
    background: #0c0f14;
}
    </style>
