html { scroll-behavior:smooth; scroll-padding-top:115px; }
.iv-poll-page { --poll-d:#3061c3; --poll-r:#b14146; --poll-positive:#267862; --poll-positive-soft:#83b7a6; --poll-r-soft:#d99a9e; --poll-neutral:#65615c; --poll-track:#bcb5aa; background:var(--iv-page-bg,#fcfaf5); color:var(--iv-page-text,#242220); font-family:var(--iv-font-sans,'IBM Plex Sans',sans-serif); }
:root[data-theme="dark"] .iv-poll-page { --poll-d:#89a8e6; --poll-r:#ed9296; --poll-positive:#86c5ad; --poll-positive-soft:#b7ddce; --poll-r-soft:#f4c2c5; --poll-neutral:#b4b0a8; --poll-track:#66615d; }
.iv-poll-page *, .iv-poll-page *::before, .iv-poll-page *::after { box-sizing:border-box; }
.iv-poll-page > .iv-global-banner .iv-header-logo img { content:var(--poll-logo-light); }
:root[data-theme="dark"] .iv-poll-page > .iv-global-banner .iv-header-logo img { content:var(--poll-logo-dark); }
.poll-shell { width:min(1320px,calc(100% - 64px)); margin-inline:auto; }
.poll-hero { padding:60px 0 48px; }
.poll-hero h1 { max-width:1180px; margin:0; font-size:clamp(3rem,6.7vw,6.5rem); font-weight:600; line-height:.99; letter-spacing:-.05em; text-wrap:balance; }
.poll-dek { max-width:870px; font-size:clamp(1.1rem,1.7vw,1.4rem); line-height:1.6; margin:30px 0; color:var(--iv-page-muted,#65615c); }
.poll-facts { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; margin:34px 0 0; border-top:1px solid var(--iv-rule,#d8d1c5); padding-top:24px; }
.poll-facts dt { font-size:.88rem; color:var(--iv-page-muted,#65615c); margin-bottom:8px; }
.poll-facts dd { margin:0; font-size:1rem; font-family:var(--iv-font-mono,'JetBrains Mono',monospace); }
.poll-nav { border-block:1px solid var(--iv-rule,#d8d1c5); }
.poll-nav.is-stuck { border-top:0; }
.poll-nav-badge { display:none; flex:0 0 auto; align-items:center; align-self:center; white-space:nowrap; padding-left:10px; border-left:3px solid var(--iv-orange,#d9602c); color:var(--iv-page-text,#242220); font-family:var(--iv-font-mono,'JetBrains Mono',monospace); font-size:14px; font-weight:700; line-height:1; }
.poll-nav.is-stuck .poll-nav-badge { display:inline-flex; }
.poll-nav > div { display:flex; flex-wrap:wrap; gap:12px 28px; padding-block:18px; }
.poll-nav a { color:var(--iv-page-muted,#65615c); text-decoration:none; font-family:var(--iv-font-sans,'IBM Plex Sans',sans-serif); font-size:12px; font-weight:600; }
.poll-nav a:hover { text-decoration:underline; text-underline-offset:5px; }
.poll-story { display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); gap:clamp(32px,6vw,88px); padding-block:60px; border-bottom:1px solid var(--iv-rule,#d8d1c5); align-items:center; }
.poll-story h2,.poll-explorer h2,.poll-methodology h2 { margin:0 0 22px; }
.poll-story p,.poll-explorer > p,.poll-result > p,.poll-methodology p { font-size:1.1rem; line-height:1.7; color:var(--iv-page-muted,#65615c); margin:0 0 20px; }
.poll-figure { margin:0; min-width:0; }
.poll-chart { display:block; width:100%; height:auto; overflow:visible; }
.poll-chart:empty { display:none; }
.poll-chart text { font-family:var(--iv-font-mono,'JetBrains Mono',monospace); fill:var(--iv-page-text,#242220); }
.poll-chart .poll-mark { animation:poll-reveal 900ms cubic-bezier(.16,1,.3,1) both; animation-delay:var(--delay,0ms); }
@keyframes poll-reveal { from { opacity:0; } to { opacity:var(--mark-opacity,1); } }
.poll-values { margin-top:20px; border-top:1px solid var(--iv-rule,#d8d1c5); }
.poll-values summary { display:block; cursor:pointer; padding:14px 0; font-size:.9rem; text-decoration:underline; text-underline-offset:4px; list-style:none; }
.poll-values summary::-webkit-details-marker { display:none; }
.poll-values summary::after { content:' +'; text-decoration:none; }
.poll-values[open] summary::after { content:' -'; }
.poll-table-wrap { max-width:100%; overflow:auto; }
.poll-values table { width:100%; border-collapse:collapse; font-size:.9rem; }
.poll-values th,.poll-values td { text-align:left; vertical-align:top; padding:12px 8px; border-bottom:1px solid var(--iv-rule,#d8d1c5); }
.poll-values th:first-child { padding-left:0; }
.poll-values td { font-family:var(--iv-font-mono,'JetBrains Mono',monospace); }
.poll-values th { font-weight:500; }
.poll-figure figcaption { font-size:.83rem; line-height:1.6; color:var(--iv-page-muted,#65615c); margin-top:12px; }
.poll-explorer { padding-block:60px; border-bottom:1px solid var(--iv-rule,#d8d1c5); }
.poll-explorer > p { max-width:800px; }
.poll-picker { max-width:100%; margin:30px 0 38px; }
.poll-topics,.poll-questions { display:flex; flex-wrap:wrap; gap:10px; }
.poll-topics { padding-bottom:18px; border-bottom:1px solid var(--iv-rule,#d8d1c5); margin-bottom:18px; }
.iv-poll-page .poll-choice { appearance:none; margin:0; padding:11px 15px; min-height:44px; max-width:100%; white-space:normal; text-align:left; font:inherit; font-size:.94rem; font-weight:500; line-height:1.4; color:var(--iv-page-text,#242220); background:transparent; border:1px solid var(--poll-track,#bcb5aa); border-radius:0; cursor:pointer; }
.iv-poll-page .poll-choice:hover { border-color:var(--iv-page-text,#242220); }
.iv-poll-page .poll-choice[aria-pressed="true"] { background:var(--iv-page-text,#242220); color:var(--iv-page-bg,#fcfaf5); border-color:var(--iv-page-text,#242220); }
.poll-questions[hidden] { display:none; }
.poll-result { max-width:860px; margin-top:36px; }
.poll-result h3 { font-size:clamp(1.4rem,3vw,2rem); letter-spacing:-.02em; line-height:1.2; font-weight:500; margin:0 0 20px; }
.poll-result[hidden],.poll-picker[hidden] { display:none; }
.poll-methodology { padding-block:60px; }
.poll-methodology p { max-width:900px; }
.poll-visually-hidden { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.iv-poll-page :focus-visible { outline:3px solid var(--iv-blue,#3061c3); outline-offset:4px; }
@media (max-width:700px) {
 html { scroll-padding-top:90px; }
 .poll-shell { width:calc(100% - 36px); }
 .poll-hero { padding-top:38px; }
 .poll-hero h1 { font-size:clamp(2.7rem,10.4vw,4rem); }
 .poll-facts { grid-template-columns:1fr 1fr; gap:24px 18px; }
 .poll-facts dd { font-size:.88rem; }
 .poll-story { grid-template-columns:1fr; gap:24px; padding-block:40px; }
 .poll-nav > div { gap:14px 20px; }
 .poll-explorer,.poll-methodology { padding-block:40px; }
 .poll-story p,.poll-methodology p { font-size:1.04rem; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } .poll-chart .poll-mark { animation:none; } }

/* Reveal charts when they enter the viewport, as on the Wisconsin follow-up. */
.poll-chart.poll-pending { visibility:hidden; }
.poll-chart.poll-pending * { animation-play-state:paused !important; }
.poll-chart .poll-fade { animation:poll-reveal 900ms cubic-bezier(.16,1,.3,1) both; animation-delay:var(--delay,0ms); }
.poll-chart .poll-pop { transform-box:fill-box; transform-origin:center; animation:poll-pop 500ms cubic-bezier(.2,.7,.3,1) both; animation-delay:var(--delay,0ms); }
.poll-chart .poll-draw { stroke-dasharray:1; stroke-dashoffset:1; animation:poll-draw 900ms cubic-bezier(.16,1,.3,1) both; animation-delay:var(--delay,0ms); }
@keyframes poll-pop { from { opacity:0; transform:scale(.3); } to { opacity:1; transform:scale(1); } }
@keyframes poll-draw { to { stroke-dashoffset:0; } }
.poll-chart.poll-static * { animation:none !important; stroke-dashoffset:0; }
@media (prefers-reduced-motion:reduce) { .poll-chart.poll-pending { visibility:visible; } .poll-chart * { animation:none !important; stroke-dashoffset:0; } }

/* Keep each story's heading with its own section, below the shared banner. */
.poll-story { align-items:start; }
.poll-story-copy { position:sticky; top:var(--poll-sticky-top,112px); align-self:start; }
.poll-result > h3 { position:sticky; top:var(--poll-sticky-edge,100px); z-index:2; background:var(--iv-page-bg,#fcfaf5); padding-block:12px; }
@media (max-width:700px) {
 .poll-story { display:block; }
 .poll-story-copy { display:contents; }
 .poll-story-copy > h2 { position:sticky; top:var(--poll-sticky-edge,78px); z-index:2; background:var(--iv-page-bg,#fcfaf5); padding-block:12px; }
 .poll-story .poll-figure { margin-top:24px; }
}

.poll-analysis { padding-block:60px; border-bottom:1px solid var(--iv-rule,#d8d1c5); }
.poll-analysis h2 { position:sticky; top:var(--poll-sticky-edge,100px); z-index:2; padding-block:12px; margin:0 0 24px; background:var(--iv-page-bg,#fcfaf5); }
.poll-analysis-note { border-left:3px solid var(--iv-author-color,var(--iv-page-muted)); padding-left:18px; }
.poll-analysis-note + .poll-analysis-note { margin-top:36px; }
.poll-analysis h3 { margin:0 0 12px; font-size:clamp(1.4rem,3vw,2rem); font-weight:500; letter-spacing:-.02em; }
.poll-analysis p { max-width:900px; margin:0 0 20px; font-size:1.1rem; line-height:1.7; color:var(--iv-page-muted,#65615c); }
.poll-analysis .poll-analysis-author { font-size:1rem; font-weight:600; color:var(--iv-author-color,var(--iv-page-muted)); text-transform:none; }
.poll-analysis .poll-analysis-source { font-size:.83rem; line-height:1.6; }
@media(max-width:700px) { .poll-analysis { padding-block:40px; } }

.poll-nav { position:sticky; top:var(--poll-header-height,90px); z-index:10; background:var(--iv-page-bg,#fcfaf5); }
.poll-nav > div { flex-wrap:nowrap; overflow-x:auto; scrollbar-width:thin; padding-block:14px; }
.poll-nav a { flex:0 0 auto; white-space:nowrap; }
html { scroll-padding-top:calc(var(--poll-sticky-top,112px) + 12px); }

.poll-nav-sentinel { height:1px; margin-bottom:-1px; pointer-events:none; }
@media(max-width:700px) {
 .poll-nav:not(.is-stuck) > div { flex-wrap:wrap; overflow-x:visible; }
 .poll-nav.is-stuck > div { flex-wrap:nowrap; overflow-x:auto; overscroll-behavior-x:contain; -webkit-overflow-scrolling:touch; }
}

/* The spacer compensates in the same style update as the sticky row contracts. */
.poll-nav-spacer { height:0; pointer-events:none; }
.poll-nav.is-stuck + .poll-nav-spacer { height:var(--poll-nav-extra-height,0px); }

/* Dense results keep readable type while avoiding oversized chart canvases. */
.poll-result { max-width:760px; margin-top:24px; }
.poll-result h3 { font-size:clamp(1.2rem,2.2vw,1.65rem); margin-bottom:14px; }
.poll-result > p { font-size:1rem; line-height:1.5; margin-bottom:14px; }
.poll-result .poll-values { margin-top:12px; }

/* Legislative response-map embed */
.poll-response-map { padding-block:60px; border-bottom:1px solid var(--iv-rule,#d8d1c5); }
.poll-map-content { min-width:0; }
.poll-map-content > .poll-map-filter-label { margin:18px 0 10px; color:var(--iv-page-muted); font-size:.9rem; font-weight:600; }
.poll-map-content > .poll-map-filter-label:first-child { margin-top:0; }
.poll-map-controls { display:flex; flex-wrap:wrap; gap:10px; }
.poll-map-controls .poll-choice { display:inline-flex; align-items:center; gap:8px; min-height:42px; }
.poll-map-swatch { display:inline-block; width:16px; height:3px; flex:none; }
.poll-map-percent { font-family:var(--iv-font-mono); font-size:.8rem; }
.poll-map-figure { margin:28px 0 0; }
.poll-map-viewport { height:440px; width:100%; position:relative; }
.poll-map-viewport svg { display:block; width:100%; height:100%; touch-action:pan-y; cursor:grab; }
.poll-map-viewport svg:active { cursor:grabbing; }
.poll-map-outline { fill:var(--iv-page-bg); stroke:none; }
.poll-map-municipality { fill:var(--iv-page-muted); fill-opacity:.06; stroke:var(--iv-rule); stroke-width:.8px; vector-effect:non-scaling-stroke; }
.poll-map-municipality:focus { outline:none; stroke:var(--iv-orange); stroke-width:2px; }
.poll-map-border { fill:none; stroke:var(--iv-page-text); stroke-width:1.25px; vector-effect:non-scaling-stroke; pointer-events:none; }
.poll-map-dot { stroke:var(--iv-page-bg); stroke-width:.5px; vector-effect:non-scaling-stroke; cursor:default; }
.poll-map-controls .poll-choice:disabled { opacity:.4; cursor:default; }
.poll-map-controls [aria-pressed="true"] { color:var(--iv-page-bg); background:var(--iv-page-text); border-color:var(--iv-page-text); }
.poll-map-figure figcaption { max-width:850px; margin-top:18px; color:var(--iv-page-muted); font-size:.83rem; line-height:1.6; }
.poll-map-tooltip { position:fixed; z-index:40; max-width:min(280px,calc(100vw - 16px)); background:var(--iv-page-bg); color:var(--iv-page-text); border:1px solid var(--iv-rule); padding:10px 12px; font-family:var(--iv-font-sans); font-size:13px; line-height:1.5; pointer-events:none; }
.poll-map-tooltip strong { display:block; font-weight:600; }
@media(max-width:700px) {
 .poll-response-map { padding-block:40px; }
 .poll-map-content { margin-top:24px; }
 .poll-map-controls { gap:8px; }
 .poll-map-controls .poll-choice { font-size:12px; padding:10px 12px; }
 .poll-map-viewport { height:460px; }
 .poll-map-figure { margin-top:22px; }
}
@media(prefers-reduced-motion:reduce) { .poll-response-map * { transition:none!important; animation:none!important; } }

.poll-map-viewport[data-reveal="pending"] .poll-map-dot { opacity:0; }
.poll-map-viewport[data-reveal="playing"] .poll-map-dot { animation:poll-map-reveal 650ms ease-out both; animation-delay:var(--map-delay,0ms); }
@keyframes poll-map-reveal { from { opacity:0; } to { opacity:1; } }
@media(prefers-reduced-motion:reduce) { .poll-map-viewport[data-reveal] .poll-map-dot { opacity:1; animation:none!important; } }
