:root{font-family:Inter,Arial,sans-serif;--page:#071827;--surface:#10283c;--text:#f6fbff;--accent:#68cee8;--secondary:#8baeca;--muted:#9bb7ca;--border:#ffffff20;color-scheme:dark}
*{box-sizing:border-box}html{background:var(--page)}body{margin:0;background:radial-gradient(circle at 85% 0%,color-mix(in srgb,var(--accent) 13%,transparent),transparent 45%),var(--page);color:var(--text);min-height:100vh}a{color:inherit;text-decoration:none}button,input{font:inherit}[hidden]{display:none!important}
.projection-shell{width:min(1480px,calc(100% - 40px));margin:auto}.projection-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:19px 0;border-bottom:1px solid var(--border)}.projection-brand img{display:block;width:184px;max-height:60px;object-fit:contain;object-position:left center}.projection-header-actions{display:flex;align-items:center;gap:24px;color:var(--muted);font-size:12px;font-weight:750;letter-spacing:.12em}.projection-header-actions a{padding:11px 15px;border:1px solid var(--border);border-radius:10px;color:var(--text);letter-spacing:0}.projection-header-actions a:hover{border-color:var(--accent)}
.projection-intro{display:flex;align-items:end;justify-content:space-between;gap:20px;padding:35px 0 24px}.eyebrow{display:block;color:var(--accent);font-size:11px;font-weight:900;letter-spacing:.16em}.projection-intro h1{font-size:clamp(30px,4vw,58px);line-height:1.04;letter-spacing:-.045em;margin:10px 0}.projection-intro p{max-width:780px;color:var(--muted);font-size:16px;line-height:1.5;margin:0}.projection-status{white-space:nowrap;border:1px solid var(--border);border-radius:99px;padding:10px 14px;color:var(--muted);font-size:12px;font-weight:800}.projection-status[data-status=projected]{border-color:color-mix(in srgb,var(--accent) 55%,transparent);background:color-mix(in srgb,var(--accent) 11%,transparent);color:var(--accent)}.projection-status[data-status=final]{color:#8ce2bc;border-color:#8ce2bc77}.projection-error{padding:12px 15px;background:#9d263333;border:1px solid #e5556688;border-radius:12px;margin-bottom:14px}
.projection-summary{display:grid;grid-template-columns:1.25fr repeat(3,1fr);gap:10px}.projection-summary>div,.forecast-panel,.states-panel,.method-panel{background:var(--surface);border:1px solid var(--border);border-radius:17px}.projection-summary>div{min-height:128px;padding:20px}.projection-summary span,.summary-item span{display:block;color:var(--muted);font-size:10px;font-weight:900;letter-spacing:.13em}.projection-summary strong{display:block;font-variant-numeric:tabular-nums;font-size:29px;line-height:1.3;margin:10px 0 4px}.projection-summary small{display:block;color:var(--muted);font-size:11px}.summary-primary strong{color:var(--accent)}.progress-track{height:6px;background:color-mix(in srgb,var(--text) 13%,transparent);border-radius:9px;overflow:hidden;margin-bottom:10px}.progress-track i{display:block;height:100%;background:var(--accent);transition:width .7s}
.forecast-panel,.states-panel{margin-top:12px;padding:24px}.panel-heading{display:flex;align-items:end;justify-content:space-between;gap:18px}.panel-heading h2{font-size:clamp(22px,2.6vw,35px);line-height:1.14;margin:8px 0 0;letter-spacing:-.03em}.projected-total,.states-count{color:var(--muted);font-size:12px;font-weight:700}.forecast-content{margin-top:22px}.waiting-message{border:1px dashed var(--border);border-radius:13px;padding:27px;margin:0;color:var(--muted);line-height:1.55}.forecast-candidates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.forecast-candidate{background:color-mix(in srgb,var(--party) 10%,var(--surface));border:1px solid color-mix(in srgb,var(--party) 55%,var(--border));border-left:5px solid var(--party);border-radius:13px;padding:20px;min-width:0}.candidate-top{display:flex;align-items:end;justify-content:space-between;gap:15px}.candidate-party{font-size:11px;font-weight:900;letter-spacing:.12em;color:var(--muted)}.candidate-top h3{font-size:clamp(20px,2.4vw,32px);margin:5px 0 0;line-height:1.08;letter-spacing:-.03em}.candidate-top strong{font-size:clamp(29px,3.4vw,46px);font-variant-numeric:tabular-nums;white-space:nowrap}.candidate-bar{height:8px;border-radius:9px;background:color-mix(in srgb,var(--text) 16%,transparent);overflow:hidden;margin:20px 0 11px}.candidate-bar i{display:block;height:100%;background:var(--party)}.candidate-bottom{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:12px}.candidate-bottom b{font-size:15px}.forecast-candidate>small{display:block;color:var(--muted);font-size:11px;margin-top:12px}.forecast-comparison{margin-top:19px;color:var(--muted);font-size:11px;text-align:center}.split-bar{display:flex;height:10px;border-radius:10px;overflow:hidden;margin-bottom:8px}.split-bar i{display:block;height:100%;flex:1}.split-bar i:first-child{flex:none}.forecast-note{font-size:12px;line-height:1.5;color:var(--muted);margin:17px 0 0}
.candidate-person{display:flex;align-items:center;gap:13px;min-width:0}.candidate-person>div{min-width:0}.forecast-photo{display:grid;place-items:center;flex:none;width:66px;height:72px;overflow:hidden;border:2px solid var(--party);border-radius:10px;background:#eef2f5;color:#183447;font-size:20px;font-weight:900}.forecast-photo img,.forecast-photo>span{display:block;width:100%;height:100%;object-fit:cover}.forecast-photo>span{display:grid;place-items:center}.candidate-top{align-items:center}.forecast-candidates--pending{margin-top:12px}.forecast-candidate.is-pending>small{margin-top:13px}
.states-table-wrap{overflow:auto;margin-top:17px;max-height:480px}.states-panel table{width:100%;border-collapse:collapse;text-align:left;min-width:650px}.states-panel th{font-size:10px;letter-spacing:.12em;color:var(--muted);position:sticky;top:0;background:var(--surface);padding:12px}.states-panel td{border-top:1px solid var(--border);padding:11px 12px;font-size:13px;font-variant-numeric:tabular-nums}.states-panel td small{display:block;color:var(--muted);font-size:10px;margin-top:3px}.state-leader{display:inline-flex;align-items:center;gap:8px;font-weight:750}.state-leader i{height:8px;width:8px;border-radius:50%;flex:none}.method-panel{margin-top:12px;padding:20px 24px;color:var(--muted);font-size:13px;line-height:1.6}.method-panel summary{cursor:pointer;color:var(--text);font-weight:800}.method-panel p{max-width:1050px;margin:14px 0 0}footer{font-size:11px;color:var(--muted);padding:25px 0 32px}
body[data-edition=white-label]{color-scheme:light}body[data-edition=white-label] .projection-status[data-status=final]{color:var(--secondary);border-color:var(--secondary)}
@media(max-width:900px){.projection-summary{grid-template-columns:repeat(2,1fr)}.projection-intro{align-items:start;flex-direction:column}.projection-header-actions>span{display:none}}
@media(max-width:620px){.projection-shell{width:min(100% - 24px,520px)}.projection-header{padding:13px 0}.projection-brand img{width:142px;max-height:44px}.projection-intro{padding:23px 0 20px}.projection-intro p{font-size:14px}.projection-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.projection-summary>div{min-height:111px;padding:14px}.projection-summary strong{font-size:22px}.forecast-panel,.states-panel{padding:17px}.forecast-candidates{grid-template-columns:1fr}.candidate-bottom{font-size:11px}.panel-heading{align-items:start;flex-direction:column}.projection-header-actions a{font-size:11px;padding:9px}}
@media(max-width:620px){.candidate-person{gap:9px}.forecast-photo{width:52px;height:58px}.candidate-top h3{font-size:20px}.candidate-top strong{font-size:28px}}
