:root{--bg:#f5f6f1;--paper:#fff;--ink:#172b29;--muted:#687671;--line:#e2e7df;--green:#1c6655;--deep:#153b35;--lime:#d8edc9;--blue:var(--party-dem);--red:var(--party-rep);--amber:#8a6619;--shadow:0 18px 50px #18372b14;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #65a98b;outline-offset:3px}button{color:inherit}a{color:var(--green)}.skip{position:fixed;top:-70px;left:20px;background:#fff;padding:15px;z-index:100}.skip:focus{top:10px}.icon{width:20px;height:20px;flex:none;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}.small-icon{width:16px;height:16px}.sidebar{position:fixed;inset:0 auto 0 0;width:212px;padding:31px 20px 24px;background:#fbfcf9;border-right:1px solid var(--line);display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink)}.brand-mark{width:36px;height:36px;background:var(--deep);color:var(--lime);display:grid;place-items:center;border-radius:11px}.brand-mark .icon{width:26px;height:26px}.brand-name{font-size:18px;font-weight:750;letter-spacing:-.7px;line-height:1.05}.brand-name span{display:block;color:var(--muted);font-size:10px;font-weight:600;letter-spacing:1.8px;margin-top:6px}.sidebar-tag{font-size:11px;color:var(--muted);margin:21px 12px 12px;letter-spacing:1px;text-transform:uppercase}.nav{display:flex;flex-direction:column;gap:7px}.nav-button{border:0;background:none;display:flex;align-items:center;gap:11px;padding:13px 14px;min-height:46px;text-align:left;border-radius:10px;color:#63716d;font-size:14px;font-weight:600}.nav-button.active{background:#e6eee3;color:var(--deep)}.nav-count{margin-left:auto;background:#fff;padding:2px 7px;border-radius:5px;font-size:11px}.sidebar-bottom{margin-top:auto}.language-label{display:flex;gap:8px;align-items:center;font-size:12px;color:var(--muted);padding:12px}.language-buttons{display:flex;gap:5px;padding:0 7px}.lang-button{background:none;border:1px solid transparent;border-radius:7px;padding:8px 10px;font-size:12px;min-height:35px}.lang-button.active{border-color:var(--line);background:white;font-weight:700}.sidebar-note{font-size:10px;color:#78817d;line-height:1.6;padding:15px 12px 0}.page{margin-left:212px;max-width:1680px;padding:24px 38px 34px}.topbar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:26px}.eyebrow{font-size:10px;font-weight:750;letter-spacing:1.6px;text-transform:uppercase}.prototype-label{display:inline-flex;gap:8px;align-items:center;color:var(--green);font-size:10px;letter-spacing:1.4px;font-weight:750}.prototype-label:before{content:"";width:6px;height:6px;background:var(--green);border-radius:50%}.top-actions{display:flex;align-items:center;gap:8px}.icon-button{display:grid;place-items:center;min-width:42px;min-height:42px;border:1px solid var(--line);background:white;border-radius:11px}.demo-notice{color:#7d6729;background:#f4efd9;border:1px solid #e9e1c4;padding:9px 14px;border-radius:9px;font-size:11px;line-height:1.5;display:flex;gap:9px;align-items:center;margin-bottom:26px}.demo-notice .icon{width:15px;height:15px}.hero{display:flex;justify-content:space-between;align-items:flex-end;gap:28px;margin-bottom:29px}.hero .eyebrow{color:var(--green);margin-bottom:13px}.hero h1{font-weight:650;font-size:clamp(30px,3.1vw,45px);line-height:1.1;letter-spacing:-1.8px;max-width:650px;margin:0 0 13px}.hero p{font-size:14px;line-height:1.6;color:var(--muted);margin:0;max-width:600px}.button{border:1px solid var(--line);border-radius:10px;min-height:44px;padding:11px 15px;display:inline-flex;justify-content:center;align-items:center;gap:8px;font-size:12px;font-weight:650;background:white;text-decoration:none;white-space:normal;text-align:center}.button.primary{background:var(--green);border-color:var(--green);color:#fff}.button.dark{background:var(--deep);border-color:var(--deep);color:#fff}.button.subtle{background:#f1f5ed;border-color:#e3ebdc;color:var(--green)}.button.wide{width:100%}.button .icon{width:17px;height:17px}.hero-action{flex:none}.mode-row{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 21px}.segmented{display:inline-flex;background:#e9ede5;padding:4px;border-radius:11px;gap:3px}.segmented button{background:none;border:0;border-radius:8px;padding:10px 17px;font-size:12px;min-height:38px;color:var(--muted);font-weight:600}.segmented button.active{background:white;box-shadow:0 1px 4px #17372312;color:var(--ink)}.mode-hint{font-size:11px;color:var(--muted)}.content-grid{display:grid;grid-template-columns:minmax(0,1fr) 286px;gap:24px;align-items:start}.main-column{min-width:0}.summary-heading{display:flex;justify-content:space-between;align-items:center;margin:0 0 12px}.summary-heading h2,.section-title{font-size:15px;font-weight:650;letter-spacing:-.3px;margin:0}.summary-heading span{font-size:10px;letter-spacing:.8px;color:var(--muted);text-transform:uppercase}.summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:28px}.summary-card{background:white;border:1px solid var(--line);border-radius:14px;padding:18px 19px;min-width:0}.summary-card-top{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:12px;font-weight:650}.summary-card-top .icon{color:#7c8c83}.summary-number{font-size:29px;letter-spacing:-1px;font-weight:650;margin-top:13px}.summary-desc{font-size:11px;color:var(--muted);line-height:1.5;margin:6px 0 13px}.seat-mini{display:flex;gap:3px;height:7px;margin-top:17px}.seat-mini i{border-radius:2px;flex:1;background:#e7ece3}.seat-mini i:nth-child(3n){background:#c9d8c3}.seat-mini i:nth-child(4n){background:#a6bf9f}.party-bar{display:flex;height:9px;gap:3px;margin-top:18px}.party-bar i{border-radius:3px}.blue{background:var(--blue)}.red{background:var(--red)}.neutral{background:var(--party-neutral)}.party-counts{display:flex;justify-content:space-between;font-size:11px;margin-top:10px;gap:7px}.party-counts span{display:flex;gap:5px;align-items:center}.dot{width:6px;height:6px;display:inline-block;border-radius:50%;flex:none}.section-row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:13px}.count-pill{color:var(--muted);font-size:11px}.filters{display:grid;grid-template-columns:minmax(130px,1fr) 130px 130px;gap:8px;margin-bottom:15px}.search-wrap{position:relative}.search-wrap .icon{position:absolute;left:12px;top:13px;width:15px;height:15px;color:var(--muted)}.search-wrap input{padding-left:36px}.filter{min-width:0;width:100%;height:43px;border:1px solid var(--line);background:white;border-radius:9px;padding:10px 11px;font-size:11px;color:#53645e}.race-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.race-card{background:white;border:1px solid var(--line);border-radius:14px;padding:17px 18px;min-width:0;transition:border-color .15s,transform .15s}.race-card:hover{border-color:#b3c7ad;transform:translateY(-1px)}.race-top{display:flex;justify-content:space-between;align-items:center;gap:8px}.race-location{display:flex;align-items:center;gap:8px;min-width:0}.state-tile{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;background:#eff3eb;font-size:10px;font-weight:750;color:#597551;flex:none}.race-location strong{display:block;font-size:13px;letter-spacing:-.2px}.race-office{display:block;color:var(--muted);font-size:10px;line-height:1.4;margin-top:3px}.star-button{min-width:38px;min-height:38px;background:transparent;border:0;display:grid;place-items:center;border-radius:8px;color:#9aa69a;flex:none}.star-button.saved{color:var(--green);background:#f0f5eb}.star-button.saved .icon{fill:#dbeccb}.race-status{font-size:9px;text-transform:uppercase;letter-spacing:.9px;font-weight:700;color:#7b8478;margin:17px 0 12px}.candidate-row{display:flex;justify-content:space-between;gap:6px;font-size:11px;margin:9px 0 6px}.candidate-label{display:flex;align-items:center;gap:6px}.candidate-row strong{font-variant-numeric:tabular-nums;font-weight:700}.vote-bar{height:5px;background:#edf0e9;border-radius:8px;overflow:hidden}.vote-bar span{display:block;height:100%;border-radius:8px;transition:width .4s}.race-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid #edf0e9;padding-top:13px;margin-top:15px;font-size:10px;color:var(--muted)}.text-button{padding:3px 0;background:none;border:0;font-size:10px;font-weight:700;color:var(--green);display:inline-flex;align-items:center;gap:4px;min-height:30px;text-align:left}.text-button .icon{width:13px;height:13px}.right-column{display:flex;flex-direction:column;gap:18px}.watchlist{padding:21px;background:#eef2e8;border:1px solid #dfe6d7;border-radius:14px}.watchlist-head{display:flex;align-items:center;justify-content:space-between}.watchlist h2{font-size:14px;margin:0;letter-spacing:-.2px}.watchlist>p{color:var(--muted);font-size:11px;line-height:1.5;margin:8px 0 18px}.watch-row{display:flex;align-items:center;gap:8px;border-top:1px solid #dbe3d4;padding:10px 0}.watch-row:first-child{border-top:0}.watch-link{border:0;background:none;text-align:left;padding:4px 0;flex:1;min-width:0}.watch-link strong{display:block;font-size:11px;font-weight:650}.watch-link small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.watch-row .star-button{min-width:30px;min-height:32px}.watchlist .button{margin-top:10px;background:#fff9;border-color:#d7e2ce;font-size:11px}.price-card{background:var(--deep);color:#fff;border-radius:14px;padding:23px 22px;position:relative;overflow:hidden}.price-card:after{content:"";width:120px;height:120px;position:absolute;top:-67px;right:-25px;border:1px solid #aec9a62b;border-radius:50%;box-shadow:0 0 0 17px #aec9a610,0 0 0 35px #aec9a608;pointer-events:none}.price-card .eyebrow{color:#bcd2b0;font-size:9px;letter-spacing:1.5px}.price-card h2{font-size:23px;line-height:1.18;font-weight:550;letter-spacing:-.7px;margin:15px 0 10px}.price-sub{font-size:11px;color:#bdcec6;line-height:1.6}.price{font-size:43px;font-weight:600;letter-spacing:-1.5px;margin:20px 0 3px}.price small{font-size:24px;vertical-align:top;position:relative;top:5px;margin-right:1px}.price-unit{font-size:10px;color:#c4d3c8}.feature-list{list-style:none;padding:0;margin:22px 0;display:flex;flex-direction:column;gap:13px}.feature-list li{display:flex;align-items:flex-start;gap:8px;font-size:11px;line-height:1.45}.feature-list .icon{width:13px;height:15px;flex:none;color:#b9daa6}.price-card .button{background:var(--lime);color:var(--deep);border-color:var(--lime);font-size:11px}.price-foot{font-size:9px;color:#c4d3c8;line-height:1.5;text-align:center;margin:10px 0 0}.mini-source{display:flex;align-items:flex-start;gap:10px;padding:0 5px;color:var(--muted);font-size:10px;line-height:1.7}.mini-source .icon{margin-top:2px;width:16px;height:16px}.mini-source button{color:var(--green);padding:0;border:0;background:none;font-size:10px;text-decoration:underline;text-align:left}.event-section{margin-top:29px}.event-row{background:white;border:1px solid var(--line);border-radius:12px;padding:17px;display:flex;gap:12px;align-items:flex-start;width:100%;text-align:left;margin-bottom:10px}.event-symbol{background:#eef4e9;color:var(--green);width:33px;height:33px;border-radius:10px;display:grid;place-items:center;flex:none}.event-copy{flex:1;min-width:0}.event-copy strong{font-size:12px;display:block;line-height:1.45}.event-copy p{font-size:11px;line-height:1.6;color:var(--muted);margin:6px 0}.event-copy small{display:block;font-size:9px;line-height:1.6;color:#7b877c}.event-row .arrow{margin-top:6px;width:16px}.empty{padding:30px 20px;text-align:center;border:1px dashed #cad6c2;border-radius:12px;background:#fafcf8;color:var(--muted);font-size:12px;line-height:1.7}.empty .icon{display:block;margin:0 auto 10px;color:#83977c}.empty .button{margin-top:14px}.footer{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:20px;margin-top:30px;color:#7a847b;font-size:10px;line-height:1.7}.footer a{font-size:10px;text-decoration:none}.footer strong{font-weight:500}.mobile-brand{display:none}.mobile-nav{display:none}.section-lead{font-size:13px;color:var(--muted);line-height:1.7;margin:0 0 22px}.page-heading{font-size:29px;letter-spacing:-1px;margin:0 0 10px;font-weight:600}.updates-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}.updates-toolbar .button{font-size:11px}.view-panel{min-height:420px}.event-pop{position:fixed;bottom:25px;right:25px;z-index:35;width:350px;max-width:calc(100vw - 32px);padding:21px;background:#fff;border:1px solid #bccdb2;border-radius:15px;box-shadow:0 15px 70px #13382630;animation:slide-in .2s ease-out}.event-pop[hidden]{display:none}.event-pop .pop-top{display:flex;justify-content:space-between;align-items:center}.event-pop .eyebrow{color:var(--green);font-size:9px}.event-pop .pop-close{background:none;border:0;padding:3px;min-width:30px;min-height:30px}.event-pop h3{font-size:19px;font-weight:600;letter-spacing:-.5px;margin:12px 0 8px}.event-pop p{font-size:12px;line-height:1.7;color:var(--muted);margin:0 0 12px}.event-pop .button{font-size:11px}.toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);z-index:70;padding:13px 20px;border-radius:10px;box-shadow:var(--shadow);background:var(--deep);color:white;font-size:12px;max-width:calc(100vw - 30px);text-align:center}.toast[hidden]{display:none}dialog{width:560px;max-width:calc(100vw - 28px);max-height:88dvh;border:1px solid var(--line);padding:0;border-radius:21px;box-shadow:0 35px 120px #142b243f;color:var(--ink);background:#fff}dialog::backdrop{background:#14282170;backdrop-filter:blur(4px)}.modal-wrap{padding:29px;position:relative}.modal-close{position:absolute;top:17px;right:17px;border:1px solid var(--line);background:#fff;border-radius:50%;width:34px;height:34px;display:grid;place-items:center}.modal-wrap>.eyebrow{color:var(--green);margin:3px 45px 15px 0;font-size:9px}.modal-wrap h2{font-size:29px;line-height:1.12;letter-spacing:-1px;font-weight:600;margin:0 35px 12px 0}.modal-sub{color:var(--muted);font-size:12px;line-height:1.7;margin-bottom:22px}.modal-notice{font-size:11px;line-height:1.6;padding:12px;background:#f3f3e7;border:1px solid #e6e7d2;border-radius:9px;margin:17px 0}.modal-wrap .candidate-row{font-size:13px;margin-top:16px}.modal-wrap .vote-bar{height:8px}.detail-other{font-size:11px;color:var(--muted);margin:11px 0}.detail-metrics{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:22px 0}.detail-metrics div{background:#f3f6ef;border-radius:10px;padding:16px}.detail-metrics small{font-size:10px;display:block;color:var(--muted);line-height:1.5}.detail-metrics strong{font-size:22px;display:block;margin-top:8px;font-weight:600;letter-spacing:-.5px}.detail-chart{border:1px solid var(--line);border-radius:10px;padding:15px;margin:15px 0}.detail-chart>span{font-size:11px;color:var(--muted)}.detail-chart svg{width:100%;height:70px;display:block;margin-top:12px}.source-note{font-size:10px;line-height:1.7;color:var(--muted);margin:18px 0}.modal-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:21px}.offer-price{font-size:57px;letter-spacing:-2px;font-weight:650;color:var(--green);margin:25px 0 4px}.offer-features{color:var(--ink)}.offer-features .icon{color:var(--green)}.offer-interest{background:#ecf4e5;border:1px solid #d7e5c9;padding:16px;border-radius:11px;font-size:12px;line-height:1.7;color:var(--green);margin:16px 0}.free-note{text-align:center;font-size:10px;color:var(--muted);line-height:1.6;margin:14px 0}.setting-group{padding:18px 0;border-top:1px solid var(--line)}.setting-group h3{font-size:12px;margin:0 0 12px;font-weight:650}.setting-line{display:flex;gap:14px;align-items:center;justify-content:space-between}.setting-copy strong{font-size:12px;font-weight:600;display:block;line-height:1.5}.setting-copy p{font-size:11px;line-height:1.6;color:var(--muted);margin:6px 0 0}.toggle{appearance:none;-webkit-appearance:none;flex:none;width:42px;height:25px;border-radius:20px;background:#d5ddcf;position:relative;cursor:pointer}.toggle:before{content:"";width:19px;height:19px;border-radius:50%;background:white;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #18342424;transition:transform .15s}.toggle:checked{background:var(--green)}.toggle:checked:before{transform:translateX(17px)}.check-row{display:flex;align-items:center;gap:10px;font-size:12px;margin:15px 0}.check-row input{accent-color:var(--green);width:18px;height:18px}.interest-state{color:var(--green);font-size:11px;line-height:1.6;margin-top:14px}.muted{color:var(--muted)}.source-link{font-size:12px;line-height:1.7}.skeleton{padding:50px;text-align:center}.compact-gap{margin-top:14px}button:hover{filter:brightness(.98)}button:active{transform:translateY(1px)}
.lang-mobile{border:1px solid var(--line);background:white;border-radius:9px;padding:9px;font-size:11px;min-height:36px;color:var(--ink)}
@keyframes slide-in{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1500px){.page{padding-left:50px;padding-right:50px}.content-grid{grid-template-columns:minmax(0,1fr) 310px}.race-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:1180px){.sidebar{width:185px;padding-left:14px;padding-right:14px}.page{margin-left:185px;padding:23px}.content-grid{grid-template-columns:minmax(0,1fr) 255px;gap:18px}.filters{grid-template-columns:1fr 1fr}.search-wrap{grid-column:1/-1}.hero h1{font-size:36px}.hero{align-items:flex-start}.hero-action{max-width:160px}.mode-hint{display:none}.race-card{padding:14px}.price-card{padding:20px}.watchlist{padding:18px}}
@media(max-width:930px){.content-grid{grid-template-columns:minmax(0,1fr)}.right-column{display:grid;grid-template-columns:1fr 1fr}.mini-source{grid-column:1/-1}.hero-action{max-width:none}.hero h1{font-size:36px}.race-grid{grid-template-columns:1fr 1fr}}
@media(max-width:680px){.sidebar{display:none}.page{margin-left:0;padding:17px 17px 90px}.mobile-brand{display:flex}.topbar{margin-bottom:19px;gap:8px}.brand-name{font-size:16px}.brand-mark{width:33px;height:33px}.brand-name span{font-size:8px;letter-spacing:1.2px;margin-top:5px}.prototype-label{display:none}.top-actions{gap:5px}.icon-button{min-width:36px;min-height:36px;border-radius:9px}.lang-mobile{background:transparent;border:0;font-size:11px;padding:8px 1px;max-width:60px}.demo-notice{font-size:10px;line-height:1.5;padding:10px 11px;margin-bottom:22px;align-items:flex-start}.demo-notice .icon{margin-top:1px}.hero{display:block;margin-bottom:21px}.hero h1{font-size:35px;max-width:370px;letter-spacing:-1.4px;line-height:1.06;margin-bottom:12px}.hero p{font-size:12px;max-width:340px}.hero .eyebrow{font-size:9px;margin-bottom:11px}.hero-action{margin-top:18px}.hero-action .button{min-height:41px;font-size:11px}.segmented{width:100%}.segmented button{flex:1;padding:10px 8px;font-size:11px}.mode-row{margin-bottom:21px}.summary-heading h2{font-size:13px}.summary-heading span{font-size:8px;max-width:100px;text-align:right}.summary-grid{gap:10px;margin-bottom:24px}.summary-card{padding:15px 13px;border-radius:12px}.summary-card-top{font-size:11px;line-height:1.4;align-items:flex-start}.summary-card-top .icon{width:17px;height:17px}.summary-number{font-size:27px}.summary-desc{font-size:9px;margin-top:5px;min-height:26px}.party-counts{font-size:10px}.party-counts span:nth-child(3){display:none}.section-title{font-size:14px}.count-pill{font-size:10px}.filters{gap:7px;grid-template-columns:1fr 1fr}.filter{font-size:11px;min-height:43px}.race-grid{gap:10px}.race-card{padding:13px 12px;border-radius:12px}.race-location{gap:6px}.state-tile{width:27px;height:27px;border-radius:7px;font-size:9px}.race-location strong{font-size:11px}.race-office{font-size:9px;max-width:100px}.star-button{min-width:30px;min-height:36px}.star-button .icon{width:17px;height:17px}.race-status{font-size:8px;margin-top:14px;letter-spacing:.6px;line-height:1.5}.candidate-row{font-size:10px}.candidate-label{gap:5px}.candidate-label .dot{width:5px;height:5px}.race-bottom{font-size:9px;display:block;padding-top:10px;margin-top:12px}.race-bottom .text-button{margin-top:3px;font-size:9px}.right-column{grid-template-columns:1fr;margin-top:7px}.watchlist{padding:20px}.price-card{padding:24px}.price-card h2{max-width:240px;font-size:28px}.price-card .feature-list{gap:13px}.price-card .feature-list li{font-size:12px}.price-card .button{font-size:12px;min-height:45px}.price-card .price{font-size:45px}.watchlist>p{font-size:12px}.watch-link strong{font-size:12px}.watch-link small{font-size:11px}.mini-source{padding:0 2px;font-size:10px}.footer{font-size:9px;margin-top:25px;gap:10px}.mobile-nav{position:fixed;inset:auto 0 0;background:#fffffff2;backdrop-filter:blur(15px);border-top:1px solid var(--line);display:flex;align-items:center;padding:7px 15px calc(7px + env(safe-area-inset-bottom));z-index:30}.mobile-nav button{flex:1;border:0;background:transparent;color:var(--muted);font-size:9px;display:flex;flex-direction:column;align-items:center;gap:5px;min-height:45px;border-radius:9px;padding:6px}.mobile-nav button.active{color:var(--green);background:#f1f6ed;font-weight:700}.mobile-nav .icon{width:19px;height:19px}.event-pop{right:14px;bottom:85px;padding:17px;width:340px}.event-pop h3{font-size:18px}.toast{bottom:84px;font-size:11px;min-width:200px}.modal-wrap{padding:25px 21px}.modal-wrap h2{font-size:26px}.modal-wrap .demo-notice{margin-bottom:18px}.page-heading{font-size:27px}.section-lead{font-size:12px}.event-row{padding:14px}.event-copy strong{font-size:12px}.updates-toolbar{align-items:flex-start}.updates-toolbar .button{font-size:10px;padding:9px 11px}.detail-metrics{gap:9px}.detail-metrics div{padding:13px}.detail-metrics strong{font-size:21px}dialog{border-radius:17px;max-height:88dvh}.hero-action .button{width:auto}}
@media(max-width:350px){.race-grid{grid-template-columns:1fr}.hero h1{font-size:31px}.summary-card{padding:12px}.summary-card-top{font-size:10px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

/* Homepage: election overview, one useful event, then personal exploration. */
:root{--bg:#f4f5f8;--ink:#172740;--muted:#667184;--line:#dfe4ec;--green:#244b7a;--deep:#132442;--blue:var(--party-dem);--red:var(--party-rep);--lime:#dfedaf}
.page{padding-top:18px}.sidebar{background:#fbfcfe}.nav-button.active{background:#e9eef6;color:var(--deep)}.topbar{margin-bottom:15px}.demo-notice{margin-bottom:18px;font-size:12px}.election-hero{background:var(--deep);color:white;border-radius:24px;padding:34px;display:grid;grid-template-columns:minmax(0,1.04fr) minmax(0,1fr);gap:30px;position:relative;overflow:hidden;margin-bottom:22px}.election-hero:before{content:"";position:absolute;left:0;top:0;width:100%;height:4px;background:linear-gradient(90deg,var(--blue) 0 49%,#f3f5fb 49% 51%,var(--red) 51% 100%)}.hero-copy{align-self:center}.hero-copy>.eyebrow{display:flex;gap:8px;align-items:center;color:#d8e3f4;font-size:10px;letter-spacing:1.8px}.hero-copy>.eyebrow .icon{width:17px;height:17px}.hero-copy h1{font-size:clamp(34px,3.2vw,54px);letter-spacing:-1.8px;line-height:1.06;font-weight:700;margin:18px 0;max-width:600px;text-wrap:balance}.hero-copy>p{font-size:14px;line-height:1.65;color:#c6d2e4;max-width:530px;margin:0}.home-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:25px}.home-actions .button{font-size:13px;min-height:47px}.home-actions .primary{background:var(--lime);color:var(--deep);border-color:var(--lime)}.hero-secondary{background:transparent;color:#fff;border-color:#ffffff38}.hero-assurance{display:flex;align-items:center;gap:7px;font-size:11px;color:#bac9de;margin-top:15px}.hero-assurance .icon{width:14px;height:14px;color:var(--lime)}.hero-chambers{align-self:center;min-width:0}.chamber-caption{font-size:11px;letter-spacing:.3px;color:#c8d4e6;margin-bottom:13px}.chamber-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.chamber-card{background:#ffffff09;border:1px solid #ffffff25;border-radius:15px;padding:18px;min-width:0}.chamber-top{display:flex;justify-content:space-between;gap:8px;align-items:flex-start;min-height:36px}.chamber-top h2{font-size:13px;font-weight:600;margin:0;line-height:1.4}.chamber-top .icon{width:18px;height:18px;color:#b7c7df}.chamber-pre{display:flex;flex-wrap:wrap;align-items:baseline;gap:9px;margin-top:13px}.chamber-pre strong{font-size:44px;font-weight:650;line-height:1;letter-spacing:-1px}.chamber-pre span{font-size:11px;color:#c0cee1;line-height:1.4}.seat-pattern{display:grid;grid-template-columns:repeat(12,1fr);gap:4px;margin:19px 0 14px}.seat-pattern i{aspect-ratio:1;border-radius:2px;background:#ffffff2b}.seat-pattern i:nth-child(5n){background:#ffffff59}.chamber-note{font-size:11px;line-height:1.65;color:#bdcbe0;margin:14px 0 0}.chamber-score{display:flex;justify-content:space-between;align-items:center;gap:7px;margin-top:20px}.chamber-score>div{min-width:0}.chamber-score strong{display:block;font-size:35px;letter-spacing:-1px;margin-top:7px}.chamber-score span{font-size:10px;overflow-wrap:anywhere}.dem-score{color:var(--party-dem-on-dark)}.rep-score{color:var(--party-rep-on-dark);text-align:right}.score-divider{color:#5e7190;font-size:22px!important}.chamber-card .neutral{background:#6b7890}.chamber-card .party-bar{height:7px;margin-top:15px}.mode-row{margin-bottom:22px}.segmented{background:#e7ebf1}.spotlight{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,.8fr);gap:32px;background:#fff;border:1px solid var(--line);border-left:4px solid var(--line);border-radius:16px;padding:25px 27px;margin-bottom:20px;scroll-margin-top:20px}.spot-copy>.eyebrow{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:10px;letter-spacing:1px;flex-wrap:wrap}.spot-copy>.eyebrow .icon{width:15px;height:15px;color:var(--green)}.sample-badge{border:1px solid #dce2eb;padding:4px 7px;border-radius:4px;font-size:9px;letter-spacing:.6px}.spot-copy h2{font-size:27px;letter-spacing:-.7px;font-weight:650;margin:12px 0 8px;line-height:1.2}.spot-location{font-size:13px;font-weight:650;margin:0 0 10px;color:var(--green)}.spot-explain{font-size:13px;line-height:1.65;color:var(--muted);max-width:590px;margin:0}.spot-actions{display:flex;flex-wrap:wrap;gap:10px 24px;margin-top:10px}.spot-actions .text-button{font-size:12px;min-height:40px}.spot-race{align-self:center;padding:18px 20px;background:#f5f7fb;border-radius:12px;min-width:0}.spot-race .race-status{margin:0 0 15px;font-size:10px;color:#5f6e84}.spot-race .candidate-row{font-size:13px;margin-top:13px}.spot-race .candidate-row strong{font-size:18px}.spot-source{font-size:10px;color:var(--muted);line-height:1.5;margin:15px 0 0}.state-prompt{display:flex;gap:16px;align-items:center;padding:21px 24px;background:#e9eef6;border-radius:15px;margin-bottom:28px}.state-prompt-icon{display:grid;place-items:center;width:43px;height:43px;border:1px solid #ccd8e8;border-radius:12px;flex:none}.state-prompt-icon .icon{color:var(--green)}.state-prompt>div:nth-child(2){flex:1}.state-prompt h2{font-size:19px;letter-spacing:-.4px;margin:0 0 6px;line-height:1.3}.state-prompt p{font-size:12px;line-height:1.6;color:var(--muted);margin:0}.state-prompt .button{flex:none;font-size:12px}.state-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.state-option{display:flex;align-items:center;gap:9px;min-height:62px;text-align:left;background:#fff;border:1px solid var(--line);border-radius:10px;padding:12px;font-size:13px}.state-option>span:nth-child(2){flex:1}.state-option>.icon{width:16px;height:16px;flex:none}.state-option.selected{border-color:var(--green);background:#edf2f9}.state-option .state-tile{background:#e9eff8;color:var(--green)}.content-grid{grid-template-columns:minmax(0,1fr) 275px}.section-title{font-size:18px}.race-grid{grid-template-columns:1fr 1fr}.race-card{padding:20px}.race-location strong{font-size:14px}.race-office{font-size:11px}.race-status{font-size:10px}.candidate-row{font-size:12px}.candidate-row strong{font-size:14px}.race-bottom{font-size:11px}.text-button{font-size:11px;min-height:40px}.filter{font-size:12px;min-height:45px}.star-button{min-width:42px;min-height:42px}.star-button.saved{background:#eaf0f9}.star-button.saved .icon{fill:#c7d9f0}.state-tile{background:#edf1f7;color:#46658b}.watchlist{background:#fff;border-color:var(--line)}.watchlist h2{font-size:16px}.watchlist>p{font-size:12px}.watch-row{border-color:var(--line)}.watch-link strong{font-size:12px}.watchlist .button{border-color:var(--line)}.price-card h2{font-size:26px}.price-sub,.feature-list li{font-size:12px}.price-foot{font-size:10px}.price-card{background:#1b3153}.event-copy strong{font-size:14px}.event-copy p{font-size:12px}.footer{font-size:11px}.mini-source{font-size:11px}.event-section{margin-top:27px}#races-section{scroll-margin-top:24px}
@media(min-width:1500px){.content-grid{grid-template-columns:minmax(0,1fr) 310px}.race-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:1200px){.election-hero{grid-template-columns:1fr;padding:28px;gap:26px}.hero-copy h1{font-size:44px;max-width:700px}.hero-chambers{width:100%}.chamber-top{min-height:0}.seat-pattern{grid-template-columns:repeat(18,1fr)}.chamber-pre strong{font-size:34px}.chamber-note{font-size:12px}.content-grid{grid-template-columns:minmax(0,1fr) 250px}}
@media(max-width:930px){.content-grid{grid-template-columns:minmax(0,1fr)}.spotlight{gap:20px;padding:22px;grid-template-columns:1.2fr 1fr}.state-prompt{flex-wrap:wrap}.state-prompt>div:nth-child(2){min-width:180px}}
@media(max-width:680px){.page{padding:15px 15px 90px}.topbar{margin-bottom:14px}.demo-notice{font-size:11px;padding:9px 10px;margin-bottom:15px}.election-hero{padding:25px 20px;border-radius:19px;gap:23px;margin-bottom:17px}.hero-copy h1{font-size:36px;letter-spacing:-1.3px;margin:15px 0;max-width:440px}.hero-copy>p{font-size:13px;line-height:1.6}.hero-copy>.eyebrow{font-size:9px;letter-spacing:1.2px}.home-actions{margin-top:20px;display:grid;grid-template-columns:1fr;gap:9px}.home-actions .button{min-height:46px;font-size:13px}.hero-assurance{font-size:10px;line-height:1.5}.chamber-grid{gap:10px}.chamber-card{padding:13px}.chamber-top h2{font-size:12px}.chamber-top{min-height:34px}.chamber-top .icon{display:none}.chamber-pre strong{font-size:35px}.chamber-pre{margin-top:9px;gap:7px}.chamber-pre span{font-size:11px}.chamber-caption{font-size:11px;line-height:1.5}.seat-pattern{grid-template-columns:repeat(12,1fr);gap:3px;margin:13px 0}.chamber-note{font-size:11px;line-height:1.55;margin-top:12px}.chamber-score{gap:4px;margin-top:12px}.chamber-score strong{font-size:29px}.chamber-score span{font-size:9px}.mode-row{margin-bottom:18px}.segmented button{font-size:11px;min-height:42px}.spotlight{grid-template-columns:1fr;gap:18px;padding:21px 18px;border-radius:14px}.spot-copy h2{font-size:27px}.spot-explain{font-size:13px}.spot-actions{gap:7px}.spot-actions .text-button{font-size:12px;min-height:42px}.spot-race{padding:16px}.spot-race .candidate-row{font-size:13px}.spot-race .candidate-row strong{font-size:18px}.spot-source{font-size:11px}.state-prompt{padding:19px;gap:13px}.state-prompt-icon{display:none}.state-prompt h2{font-size:21px}.state-prompt p{font-size:13px}.state-prompt .button{width:100%;min-height:45px;font-size:13px}.race-grid{grid-template-columns:1fr;gap:13px}.race-card{padding:20px}.race-location strong{font-size:16px}.race-office{font-size:12px;max-width:none}.state-tile{width:35px;height:35px;font-size:11px}.star-button{min-width:44px;min-height:44px}.star-button .icon{width:21px;height:21px}.race-status{font-size:10px;margin:17px 0}.candidate-row{font-size:13px;margin:11px 0 7px}.candidate-row strong{font-size:16px}.vote-bar{height:6px}.race-bottom{display:flex;font-size:12px;margin-top:17px;padding-top:13px}.race-bottom .text-button{font-size:12px;min-height:42px;margin-top:0}.section-title{font-size:19px}.filter{font-size:12px;min-height:46px}.count-pill{font-size:11px}.mobile-nav button{font-size:11px;min-height:49px}.mobile-nav button.active{background:#eaf0f8}.state-options{grid-template-columns:1fr}.state-option{font-size:14px;min-height:59px}.event-pop p{font-size:13px}.event-pop .button{min-height:44px;font-size:12px}.modal-sub{font-size:13px}.source-note{font-size:11px}.footer{font-size:10px}.watchlist>p{font-size:13px}.watch-link strong{font-size:14px}.watch-link small{font-size:12px}.right-column .price-card{margin-top:4px}}
@media(max-width:360px){.hero-copy h1{font-size:32px}.chamber-grid{grid-template-columns:1fr}.chamber-top{min-height:0}.chamber-pre{flex-wrap:nowrap}.seat-pattern{grid-template-columns:repeat(18,1fr)}.spot-copy h2{font-size:25px}}

.party-short{display:none}@media(max-width:680px){.chamber-score .party-full{display:none}.chamber-score .party-short{display:block;font-size:11px;overflow-wrap:normal}.chamber-score{align-items:flex-end}.score-divider{align-self:center}.chamber-score>div{flex:1}.chamber-card .chamber-note{font-size:10px}}
.real-polls{background:#fff;border:1px solid var(--line);border-radius:20px;padding:28px;scroll-margin-top:20px;max-width:100%}.real-polls>.section-row{align-items:center;margin-bottom:10px}.real-polls .eyebrow{color:var(--muted);font-size:10px;margin-bottom:9px}.real-polls h2{font-size:28px;line-height:1.2;letter-spacing:-.7px;margin:0;font-weight:650}.real-coverage{font-size:13px;color:var(--muted);line-height:1.6;margin:0 0 21px;max-width:650px}.poll-race-picker{display:flex;gap:8px;margin-bottom:25px}.poll-race-picker button{background:#f3f5f9;border:1px solid var(--line);padding:12px 19px;border-radius:12px;text-align:left;min-height:60px;color:var(--ink);font-size:15px;font-weight:650}.poll-race-picker button small{display:block;font-size:11px;font-weight:400;color:var(--muted);margin-top:5px}.poll-race-picker button.active{background:#eaf0fa;border-color:#5479ad;box-shadow:inset 0 0 0 1px #5479ad}.real-poll-card{max-width:780px;margin:0 auto;padding:4px 0 0}.real-poll-top{display:flex;justify-content:space-between;gap:20px;align-items:center}.real-data-badge{color:#326756;font-size:10px;letter-spacing:1px;font-weight:750}.real-poll-top h3{font-size:24px;line-height:1.3;letter-spacing:-.6px;font-weight:650;margin:9px 0 0}.real-poll-top h3 span{color:var(--muted);font-weight:400}.follow-poll{font-size:12px}.follow-poll.is-following{background:#eaf0f9;border-color:#b6c7e0}.follow-poll.is-following .icon{fill:#ceddf4}.real-poll-meta{display:flex;gap:5px;flex-direction:column;margin:17px 0 27px;font-size:13px;line-height:1.6;color:var(--muted)}.real-poll-meta strong{font-size:14px;color:var(--ink)}.poll-age{color:#886425;font-size:12px}.real-candidates{display:flex;flex-direction:column;gap:21px}.real-candidate>div:first-child{display:flex;align-items:baseline;justify-content:space-between;gap:18px;margin-bottom:9px}.real-candidate span{font-size:18px;line-height:1.4}.real-candidate strong{font-size:31px;font-variant-numeric:tabular-nums;letter-spacing:-.7px;white-space:nowrap}.real-candidate strong small{font-size:20px;font-weight:450;margin-left:2px}.real-bar{height:11px;border-radius:8px;overflow:hidden;background:#edf0f5}.real-bar i{display:block;height:100%;background:var(--candidate-color,var(--party-neutral));border-radius:8px}.real-poll-bottom{margin-top:27px;border-top:1px solid var(--line);padding-top:20px;display:flex;justify-content:space-between;gap:15px;align-items:center}.real-poll-bottom>div{display:flex;align-items:baseline;gap:15px}.real-poll-bottom small{font-size:12px;color:var(--muted)}.real-poll-bottom strong{font-size:20px;white-space:nowrap}.real-poll-bottom .text-button{font-size:13px;min-height:44px}.poll-explanation{font-size:12px;line-height:1.7;padding:12px 14px;margin:16px 0 0;background:#f4f6f9;border-radius:10px;color:var(--muted)}.poll-connection{font-size:11px;line-height:1.6;color:var(--muted);margin-top:23px}.poll-connection small{font-size:11px}.connection-error{padding:12px 14px;background:#fbf1e3;border-radius:9px;color:#815d21}.poll-attribution{font-size:10px;line-height:1.7;color:var(--muted);margin:12px 0 0}.poll-attribution a{color:var(--green)}.real-empty{padding:35px 15px;text-align:center}.real-empty>.icon{display:block;margin:0 auto 15px;color:var(--muted)}.real-empty h2,.real-empty h3{font-size:22px;line-height:1.4;margin:0 0 13px}.real-empty p{font-size:13px;color:var(--muted);line-height:1.7}.real-empty .button{margin-top:12px}.offer-strip{margin:22px 0;display:flex;align-items:center;justify-content:space-between;gap:24px;border:1px solid var(--line);border-radius:16px;background:#eaf0f7;padding:24px}.offer-strip h2{font-size:21px;margin:10px 0 8px;line-height:1.25;letter-spacing:-.4px}.offer-strip p{font-size:12px;color:var(--muted);line-height:1.6;margin:0;max-width:650px}.offer-strip .eyebrow{font-size:9px;color:var(--muted)}.offer-strip .button{flex:none}.return-polls{margin-bottom:20px}.return-polls .icon{transform:rotate(180deg)}.poll-details{margin:20px 0}.poll-details>div{padding:15px 0;border-bottom:1px solid var(--line)}.poll-details dt{font-size:11px;color:var(--muted);margin-bottom:7px}.poll-details dd{margin:0;font-size:14px;line-height:1.6}.refresh-polls .icon{width:16px;height:16px}
@media(max-width:680px){.real-hero .hero-chambers{display:none}.real-hero .home-actions{grid-template-columns:1fr}.real-hero .hero-copy h1{font-size:34px;margin:13px 0;max-width:400px}.real-hero{padding:23px 20px}.real-hero .hero-copy>p{font-size:13px}.real-polls{padding:21px 18px;border-radius:16px}.real-polls h2{font-size:24px;max-width:260px}.real-polls>.section-row{align-items:flex-start;gap:10px}.refresh-polls{padding:9px;font-size:11px;min-height:40px}.refresh-polls .icon{display:none}.real-coverage{font-size:12px;line-height:1.7;margin-top:14px}.poll-race-picker{gap:9px;margin-bottom:24px}.poll-race-picker button{flex:1;padding:12px;font-size:14px;min-width:0}.real-poll-top{gap:10px;align-items:flex-start}.real-poll-top h3{font-size:22px}.real-poll-top h3 span{display:block;font-size:14px;margin-top:5px}.follow-poll{font-size:11px;padding:10px;min-width:44px;min-height:44px}.follow-poll .icon{width:16px;height:16px}.real-data-badge{font-size:9px}.real-poll-meta{font-size:12px;margin:15px 0 22px}.real-poll-meta strong{font-size:13px}.real-candidate span{font-size:16px}.real-candidate strong{font-size:28px}.real-candidate strong small{font-size:18px}.real-candidate>div:first-child{gap:10px}.real-poll-bottom{align-items:flex-start;gap:8px}.real-poll-bottom>div{display:block}.real-poll-bottom small{display:block;font-size:11px;line-height:1.6}.real-poll-bottom strong{display:block;font-size:22px;margin-top:5px}.real-poll-bottom .text-button{font-size:12px;max-width:130px}.poll-explanation{font-size:12px;line-height:1.7;padding:12px}.poll-connection,.poll-connection small{font-size:11px}.poll-attribution{font-size:10px}.offer-strip{display:block;padding:21px}.offer-strip h2{font-size:22px}.offer-strip p{font-size:12px}.offer-strip .button{width:100%;margin-top:18px;min-height:46px}.footer .text-button{font-size:11px;max-width:260px}.real-empty{padding:30px 0}.real-poll-card{padding:0}}

@media(max-width:680px){.refresh-polls,.lang-mobile{min-height:44px}.icon-button{min-width:44px;min-height:44px}.refresh-polls{font-size:12px}}

/* Party is explicit metadata, independent of rank. Unknown answers stay neutral. */
.party-D{--candidate-color:var(--party-dem);--party-text:var(--party-dem-text);--party-tint:var(--party-dem-tint)}
.party-R{--candidate-color:var(--party-rep);--party-text:var(--party-rep-text);--party-tint:var(--party-rep-tint)}
.real-candidate-identity{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;min-width:0}
.real-candidate-identity>span{overflow-wrap:anywhere}
.candidate-party{display:inline-flex;align-items:center;gap:6px;padding:4px 9px;border-radius:6px;background:var(--party-tint);color:var(--party-text);font-size:12px;font-weight:600;line-height:1.4;white-space:nowrap}
.candidate-party b{font-size:11px;font-weight:800;border-right:1px solid currentColor;padding-right:6px;line-height:1}
.real-candidate>div>strong{color:var(--candidate-color,var(--ink))}
@media(max-width:680px){.real-candidate-identity{flex-direction:column;align-items:flex-start;gap:6px}.real-candidate>div:first-child{align-items:flex-start}.candidate-party{font-size:11px}.real-candidate>div>strong{line-height:1.2}}

/* Project-wide semantic palette. See DESIGN_SYSTEM.md before adding data surfaces. */
:root{--party-dem:#2864d7;--party-dem-text:#245abc;--party-dem-tint:#eaf2ff;--party-dem-on-dark:#8eb3ff;--party-rep:#d63e4d;--party-rep-text:#b42331;--party-rep-tint:#fff0f1;--party-rep-on-dark:#ffaba2;--party-neutral:#7b8798}
.candidate-row{align-items:flex-start;gap:12px}.candidate-label{flex-wrap:wrap;min-width:0;gap:5px 8px}.candidate-label>span{min-width:0;overflow-wrap:anywhere}.candidate-label .candidate-party{font-size:10px;padding:3px 6px}.candidate-row>strong{color:var(--candidate-color,var(--ink));white-space:nowrap}.candidate-row>strong .muted{display:block;white-space:normal}
.lead-badge{display:table;max-width:100%;padding:4px 7px;margin:5px 0 7px;border-radius:6px;color:var(--party-text,var(--muted));background:var(--party-tint,#edf0f5);font-size:11px;font-weight:600;line-height:1.5;white-space:normal}
.event-pop .lead-badge{margin-bottom:14px}.detail-metrics .lead-badge{font-size:10px}.trend-legend{display:flex;gap:15px;flex-wrap:wrap;margin-top:8px;color:var(--muted);font-size:10px}.trend-legend>span{display:flex;align-items:center;gap:5px}.trend-guide{font-size:10px;line-height:1.6;color:var(--muted);margin:8px 0 0}
.chamber-card .blue{background:var(--party-dem-on-dark)}.chamber-card .red{background:var(--party-rep-on-dark)}

/* Verified other parties use neutral styling with their full party names. */
.party-L,.party-G,.party-I{--candidate-color:var(--party-neutral);--party-text:#4b586a;--party-tint:#edf0f5}
.poll-selected{width:100%;display:flex;align-items:center;gap:12px;text-align:left;border:1px solid var(--line);border-radius:12px;background:#f7f8fb;padding:14px 16px;margin:0 0 28px;min-height:70px;color:var(--ink)}
.poll-selected:hover{background:#edf1f7;border-color:#b7c3d4}.poll-selected .state-tile{background:#e6ebf2;color:var(--ink);width:40px;height:40px;font-size:12px}.poll-selected-copy{flex:1;min-width:0}.poll-selected-copy strong{display:block;font-size:16px;line-height:1.35;overflow-wrap:anywhere}.poll-selected-copy small{display:block;font-size:12px;color:var(--muted);margin-top:4px}.poll-change-label{font-size:12px;font-weight:650}.poll-selected>.icon{width:16px;height:16px}
.live-race-search-label{display:block;font-size:12px;font-weight:650;margin:0 0 8px}.live-race-search{position:relative}.live-race-search>.icon{position:absolute;left:13px;top:15px;width:18px;height:18px;color:var(--muted)}.live-race-search input{display:block;width:100%;min-width:0;height:48px;border:1px solid var(--line);border-radius:10px;background:#fafbfc;color:var(--ink);font-size:15px;padding:12px 12px 12px 40px}.live-race-count{font-size:11px;color:var(--muted);margin:14px 0 10px}.live-race-options{display:grid;grid-template-columns:1fr 1fr;gap:9px}.live-race-option{display:flex;align-items:center;gap:9px;min-width:0;min-height:86px;padding:12px;text-align:left;border:1px solid var(--line);border-radius:10px;background:white}.live-race-option:hover{background:#f4f6f9}.live-race-option.selected{border-color:#7b8798;box-shadow:inset 0 0 0 1px #7b8798;background:#f0f3f7}.live-race-option .state-tile{color:var(--ink);background:#e9edf3}.live-race-option-copy{flex:1;min-width:0}.live-race-option-copy strong{display:block;font-size:14px;font-weight:650;line-height:1.35;overflow-wrap:anywhere}.live-race-option-copy small{display:block;font-size:11px;color:var(--muted);line-height:1.4;margin-top:5px}.live-race-option>.icon{width:15px;height:15px}.race-search-empty{text-align:center;padding:20px 0;font-size:14px;color:var(--muted)}.race-search-empty .button{margin-top:10px}
@media(max-width:680px){.poll-selected{padding:12px;gap:9px;margin-bottom:24px}.poll-selected .state-tile{width:32px;height:32px;font-size:10px}.poll-selected-copy strong{font-size:15px}.poll-change-label{font-size:11px}.live-race-options{grid-template-columns:1fr}.live-race-option{min-height:64px}.live-race-search input{font-size:16px}.live-race-option-copy strong{font-size:15px}}
/* Candidate portraits use a neutral frame; party identity stays in labels and bars. */
.real-candidate>.real-candidate-main:first-child{align-items:center;gap:16px}.candidate-person{display:flex;align-items:center;gap:12px;min-width:0;flex:1}.candidate-person .real-candidate-identity{flex-direction:column;align-items:flex-start;gap:5px;min-width:0}.real-candidate-name{overflow-wrap:anywhere}.candidate-portrait{position:relative;display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;overflow:hidden;border-radius:50%;background:#edf0f5;color:#536174}.candidate-portrait .candidate-initials{font-size:14px;font-weight:650;line-height:1;letter-spacing:.25px}.candidate-portrait .candidate-photo{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center 22%;background:#edf0f5}.candidate-photo-credits{border-top:1px solid var(--line);padding-top:13px;margin-top:18px;font-size:11px;line-height:1.6;color:var(--muted)}.candidate-photo-credits summary{cursor:pointer;font-weight:650;color:var(--ink);min-height:32px;padding:5px 0}.candidate-photo-credits ul{padding:0;margin:10px 0;list-style:none;display:flex;flex-direction:column;gap:10px}.candidate-photo-credits li{overflow-wrap:anywhere}.candidate-photo-credits li>a{font-weight:600}.candidate-photo-credits li>span{display:block}.candidate-photo-notice{margin-top:4px}.candidate-photo-credits p{margin:10px 0 0}.candidate-photo-credits a{color:var(--green)}
@media(max-width:680px){.real-candidate>.real-candidate-main:first-child{gap:10px}.candidate-person{gap:9px}.candidate-person .real-candidate-identity{gap:4px}.candidate-person .real-candidate-name{font-size:16px;line-height:1.35}.candidate-photo-credits summary{min-height:40px;padding:9px 0}}
/* Historical polls are separate source entries, without a combined trend. */
.real-poll-bottom>.poll-card-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:0 20px}.poll-card-actions .text-button{white-space:normal}.history-intro{margin-bottom:10px}.history-coverage{font-size:11px;line-height:1.7;color:var(--muted);margin:0 0 16px}.history-snapshot{color:var(--muted);font-size:11px;line-height:1.6;margin-bottom:5px}.history-snapshot p{margin:0}.history-snapshot p+p{margin-top:5px}.history-snapshot-warning{color:#78551f}.history-guide{font-size:11px;line-height:1.65;color:var(--muted);margin-bottom:8px}.history-guide summary{font-size:12px;min-height:32px;padding:7px 0;cursor:pointer;color:var(--green);font-weight:600}.history-guide p{margin:7px 0}.history-guide summary:focus-visible{outline:3px solid #65a98b;outline-offset:2px}.history-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0 12px}.history-toolbar>p{font-size:12px;font-weight:600;line-height:1.5;margin:0}.history-language{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--muted)}.history-language select{font-size:13px;min-height:40px;border:1px solid var(--line);background:white;color:var(--ink);border-radius:8px;padding:8px;max-width:72px}.poll-history-card{padding:17px 16px;border:1px solid var(--line);border-radius:12px;background:white;margin-bottom:12px;min-width:0}.poll-history-card h3{font-size:16px;font-weight:650;line-height:1.4;margin:0 0 8px;overflow-wrap:anywhere}.history-field-dates{font-size:11px;line-height:1.7;color:var(--muted);margin:0 0 12px}.history-variant{display:table;font-size:10px;line-height:1.5;padding:5px 8px;background:#edf0f5;border-radius:6px;color:#536174;margin:0 0 12px}.history-results{list-style:none;padding:0;margin:0}.history-results li{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:9px 0;border-top:1px solid #edf0f5;min-width:0}.history-candidate{display:flex;flex-wrap:wrap;align-items:center;gap:6px 9px;min-width:0}.history-candidate>span{font-size:13px;line-height:1.4;overflow-wrap:anywhere}.history-candidate .candidate-party{font-size:10px;padding:3px 6px;white-space:normal}.history-candidate .candidate-party b{font-size:10px}.history-results strong{font-size:16px;font-weight:650;font-variant-numeric:tabular-nums;color:var(--candidate-color,var(--ink));white-space:nowrap;flex:none}.history-source.text-button{font-size:12px;min-height:40px;margin-top:5px;display:inline-flex}.history-caution{display:flex;align-items:flex-start;gap:7px;font-size:10px;line-height:1.65;margin:10px 0 0;color:var(--muted)}.history-caution>.icon{width:14px;height:14px;margin-top:1px}.history-question{font-size:10px;line-height:1.65;margin:10px 0 0;color:var(--muted)}.history-more{margin-top:4px}.history-more[hidden]{display:none}.history-empty{font-size:13px;line-height:1.6;color:var(--muted)}.poll-history-card:focus-visible{outline:3px solid #65a98b;outline-offset:3px}
@media(max-width:680px){.real-poll-bottom{flex-wrap:wrap}.real-poll-bottom>.poll-card-actions{flex:1 1 100%;justify-content:flex-start;gap:0 18px}.poll-card-actions .text-button{max-width:none;min-height:44px}.poll-history-card{padding:15px 13px}.history-toolbar{align-items:center}.history-language{flex:none}.history-language>span{display:none}.history-language select{font-size:16px;min-height:44px}.history-candidate{align-items:flex-start;flex-direction:column;gap:4px}.history-results li{gap:10px}.history-results strong{font-size:16px}.history-field-dates{font-size:11px}.history-coverage{font-size:11px}.history-more{min-height:44px}}
@media(max-width:380px){.real-poll-top{flex-wrap:wrap}.real-poll-top>div{flex:1 1 100%;min-width:0}.real-poll-top .follow-poll{flex:none}}

/* Compact workspace and bounded race finder; the catalogue never becomes a long page. */
.coverage-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 20px}.coverage-header .eyebrow{font-size:10px;color:var(--muted);margin-bottom:10px}.coverage-header h1{font-size:30px;line-height:1.15;letter-spacing:-.7px;margin:0 0 9px}.coverage-header p{font-size:13px;color:var(--muted);margin:0;line-height:1.6}.coverage-header .button{flex:none}.coverage-header kbd{font:10px inherit;opacity:.65;margin-left:10px}.favorite-quick{display:flex;gap:7px;overflow-x:auto;padding-bottom:10px;margin-bottom:5px}.favorite-quick button{flex:none;min-height:35px;border:1px solid var(--line);border-radius:8px;background:white;padding:7px 10px;font-size:11px;cursor:pointer;color:var(--ink)}.favorite-quick button.active{background:#eaf0f9;border-color:#b6c7e0}.unverified-party{font-size:10px!important;line-height:1.3;color:var(--muted)}
#detail-dialog.race-finder-dialog{width:min(640px,calc(100% - 24px));height:min(650px,calc(100dvh - 30px));max-height:calc(100dvh - 30px);overflow:hidden}.race-finder-dialog .modal-wrap{height:100%;display:flex;flex-direction:column;box-sizing:border-box;padding:25px 26px 17px}.race-finder-dialog h2{font-size:25px;margin-bottom:16px}.finder-body{display:flex;flex-direction:column;gap:11px;flex:1;min-height:0}.finder-body .live-race-search input{min-height:45px;font-size:14px}.finder-filters{display:grid;grid-template-columns:1fr 1fr;gap:10px}.finder-filters label{font-size:10px;color:var(--muted);display:flex;flex-direction:column;gap:5px;min-width:0}.finder-filters select{width:100%;min-width:0;background:#fff;border:1px solid var(--line);border-radius:9px;min-height:42px;padding:7px;color:var(--ink);font:13px inherit}.finder-toggles{display:flex;align-items:center;gap:13px;flex-wrap:wrap}.finder-toggles label{font-size:11px;display:flex;align-items:center;gap:6px;color:var(--ink);min-height:30px}.finder-toggles input{accent-color:#326756;width:15px;height:15px}.finder-toggles .text-button{font-size:11px;margin-left:auto;min-height:30px}.finder-body #poll-picker-results{overflow-y:auto;min-height:0;flex:1}.finder-body .live-race-options{gap:8px;grid-template-columns:1fr 1fr}.finder-body .live-race-option{padding:10px;min-height:91px;border-radius:10px;gap:9px}.finder-body .live-race-option-copy strong{font-size:13px}.finder-body .live-race-option-copy small{font-size:10px;line-height:1.5}.finder-body .live-race-option .icon{width:13px;flex:none}.finder-body .state-tile{height:28px;width:28px;font-size:9px}.race-availability{color:var(--muted);font-size:9px!important}.finder-pagination{display:flex;align-items:center;justify-content:space-between;gap:10px;flex:none}.finder-pagination .button{min-height:36px;min-width:42px;padding:5px 12px;font-size:20px}.finder-pagination>span{font-size:11px;text-align:center;color:var(--muted)}.finder-note{font-size:10px;color:var(--muted);line-height:1.5;margin:0}.finder-body .race-search-empty{padding:20px 5px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:680px){.coverage-header{align-items:flex-start;gap:14px;flex-direction:column;margin-bottom:18px}.coverage-header h1{font-size:26px}.coverage-header p{font-size:12px}.coverage-header .button{width:100%;min-height:44px}.coverage-header kbd{display:none}.race-finder-dialog .modal-wrap{padding:22px 16px 14px}.race-finder-dialog h2{font-size:23px;margin-bottom:12px}.race-finder-dialog .eyebrow{font-size:9px}.finder-body{gap:9px}.finder-body .live-race-search input{font-size:16px}.finder-filters select{font-size:14px}.finder-body .live-race-options{grid-template-columns:1fr;gap:6px}.finder-body .live-race-option{min-height:66px;padding:8px 10px}.finder-body .live-race-option-copy small{font-size:10px}.finder-note{font-size:9px}.favorite-quick{margin-bottom:10px}.real-polls{scroll-margin-top:12px}}

/* Shared semantic colors for verified additional parties. */
:root{--party-lib:#a57708;--party-lib-text:#755400;--party-lib-tint:#fff5d7;--party-green:#238454;--party-green-text:#17633d;--party-green-tint:#e5f5eb;--party-independent:#7b4dc2;--party-independent-text:#633798;--party-independent-tint:#f1eafa;--party-constitution:#99612b;--party-constitution-text:#77491c;--party-constitution-tint:#f6eddf;--party-nonpartisan:#167b83;--party-nonpartisan-text:#105b61;--party-nonpartisan-tint:#e4f3f4;--map-dem-light:#bed3f6;--map-dem-medium:#75a2e7;--map-rep-light:#f6c7cb;--map-rep-medium:#e78f99}
.party-L{--candidate-color:var(--party-lib);--party-text:var(--party-lib-text);--party-tint:var(--party-lib-tint)}.party-G{--candidate-color:var(--party-green);--party-text:var(--party-green-text);--party-tint:var(--party-green-tint)}.party-I{--candidate-color:var(--party-independent);--party-text:var(--party-independent-text);--party-tint:var(--party-independent-tint)}.party-C{--candidate-color:var(--party-constitution);--party-text:var(--party-constitution-text);--party-tint:var(--party-constitution-tint)}.party-N{--candidate-color:var(--party-nonpartisan);--party-text:var(--party-nonpartisan-text);--party-tint:var(--party-nonpartisan-tint)}
.real-candidate-name,.history-candidate>span{color:var(--party-text,var(--ink))}
.party-O{--candidate-color:#625b89;--party-text:#4d466f;--party-tint:#f0edf8}
.roster-shortcut{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:12px 0 16px}.roster-shortcut .button{font-size:13px;min-height:44px}.roster-shortcut>small{color:var(--muted);font-size:11px}.roster-status{font-size:13px;line-height:1.65;background:#fff5e6;border-radius:9px;padding:12px 14px;color:#725823}.roster-status.is-verified{background:#edf4ef;color:#335d48}.ballot-group{margin:22px 0}.ballot-group h3{font-size:14px;display:flex;gap:8px;align-items:center}.ballot-group h3>span{font-size:11px;font-weight:400;color:var(--muted)}.ballot-list{list-style:none;margin:0;padding:0}.ballot-list>li{display:flex;align-items:flex-start;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}.ballot-candidate-copy{min-width:0;display:flex;align-items:flex-start;flex-direction:column;gap:6px}.ballot-candidate-copy>strong{color:var(--party-text,var(--ink));font-size:16px;overflow-wrap:anywhere}.ballot-candidate-copy .candidate-party{white-space:normal}.ballot-candidate-copy>small{font-size:11px;line-height:1.5;color:var(--muted)}.ballot-candidate-copy .candidate-party{color:var(--party-text,var(--ink))}.roster-sources{font-size:12px;line-height:1.8}.roster-sources summary{cursor:pointer;padding:10px 0;min-height:44px;font-weight:650}.roster-sources a{overflow-wrap:anywhere}.map-selection-actions{display:flex;gap:8px;flex-wrap:wrap}.map-selection-actions .button{min-height:44px}
@media(max-width:680px){.roster-shortcut{gap:8px}.roster-shortcut>small{font-size:10px}.ballot-candidate-copy>strong{font-size:15px}.map-selection-actions{width:100%}.map-selection-actions .button{flex:1}}
