
:root{--surface:#fff;--surface-soft:#f7f9fc;--border:#e2e8f1;--text:#182b46;--subtext:#718198;--blue:#3269df}body{color:var(--text)}[hidden]{display:none!important}header{gap:24px}header nav{gap:24px}.preview-banner{padding:10px 3.8%;background:#eaf1ff;border-bottom:1px solid #d5e2ff;color:#3562ad;font-size:10px;font-weight:750;letter-spacing:1px}.preview-banner span{margin-left:14px;font-weight:400;letter-spacing:0;color:#6b7f9e}main{max-width:1550px;padding-top:36px}.heading{margin-bottom:25px}.heading h1{font-size:38px}.election-pill{display:flex;align-items:center;gap:10px;border:1px solid var(--border);border-radius:9px;background:var(--surface);padding:14px 18px;font-size:21px;font-weight:750}.election-pill i{width:7px;height:7px;border-radius:50%;background:#3b77e9}.election-pill span{font-size:10px;font-weight:400;color:var(--subtext);padding-left:8px}.role-tabs{display:flex;gap:6px;padding:5px;background:#e9edf4;border:1px solid var(--border);border-radius:10px;margin-bottom:22px}.role-tabs button{flex:1;padding:13px 12px;border:0;background:transparent;color:var(--subtext);border-radius:7px;font-size:12px;font-weight:650}.role-tabs button[aria-pressed=true]{background:var(--surface);color:var(--blue);box-shadow:0 2px 5px #17345212}.panorama-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:24px}.panorama-stats article{border:1px solid var(--border);background:var(--surface);border-radius:10px;padding:20px 22px}.panorama-stats small{font-size:9px;letter-spacing:1.2px;color:var(--subtext);display:block}.panorama-stats strong{display:block;font:800 29px 'Neo Sans Pro',sans-serif;letter-spacing:-.8px;margin:7px 0 4px}.panorama-stats p{font-size:10px;color:var(--subtext)}.filter-panel{display:flex;align-items:flex-end;gap:16px;padding:19px 22px;border:1px solid var(--border);border-radius:10px;background:var(--surface);margin-bottom:22px}.filter-panel label{flex:1;font-size:10px;font-weight:650;color:var(--subtext)}.filter-panel select{width:100%;display:block;margin-top:8px;padding:11px;border:1px solid var(--border);border-radius:6px;background:var(--surface-soft);color:var(--text);font-size:12px}.reset-button{border:0;background:transparent;color:var(--blue);padding:12px 0;font-size:11px;white-space:nowrap}.panorama-workspace{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(290px,1fr);gap:22px}.panorama-map{background:#112237;border:1px solid #243b54;border-radius:12px;overflow:hidden;color:white;height:100%;display:flex;flex-direction:column}.panorama-map-head{display:flex;align-items:center;justify-content:space-between;padding:23px 25px 0;gap:12px}.panorama-map-head .eyebrow{color:#8da6c3;font-size:9px}.panorama-map-head h2{font-size:20px;margin-top:8px;color:#edf4ff;max-width:450px}.panorama-map-head p{font-size:10px;color:#a5b8cf;margin-top:6px;line-height:1.6}.panorama-map-head button,.panorama-map-foot button{background:#203950;color:#c9dff7;border:1px solid #48627e;border-radius:5px;padding:8px 10px;font-size:10px;white-space:nowrap}.panorama-map-stage{position:relative;flex:1;min-height:440px;height:490px;overflow:hidden}#electionMap{width:100%;height:100%;min-height:440px;display:block;touch-action:pan-y;user-select:none;-webkit-user-select:none}#electionMap path{stroke:#112237;stroke-width:.8;vector-effect:non-scaling-stroke;cursor:grab;touch-action:none;transition:fill .18s}#electionMap path:focus{stroke:#d8f3ff;stroke-width:2;outline:none}@media(hover:hover) and (pointer:fine){#electionMap path:hover{stroke:#d8f3ff;stroke-width:2;outline:none}}#electionMap path.selected{stroke:#fff;stroke-width:2.6}#electionMap.is-dragging path{cursor:grabbing}.panorama-ocean{position:absolute;right:22px;top:65px;pointer-events:none;color:#58728e;font-size:8px;letter-spacing:2px;transform:rotate(22deg)}.map-watermark{pointer-events:none}.panorama-zoom{position:absolute;right:20px;bottom:20px;display:flex;flex-direction:column;border:1px solid #47627f;background:#1d3650;border-radius:7px;overflow:hidden}.panorama-zoom button{border:0;background:transparent;color:#dbebff;width:36px;height:36px;font-size:20px}.panorama-zoom button+button{border-top:1px solid #35516d}.panorama-zoom button:disabled{opacity:.35}.map-scale{display:flex;align-items:center;justify-content:center;gap:12px;font-size:9px;color:#9ab0ca;padding:10px 20px 19px}.map-scale i{display:block;width:170px;height:6px;border-radius:5px;background:linear-gradient(90deg,#233d58,#85bbff)}.panorama-map-foot{padding:13px 23px;border-top:1px solid #2b4059;display:flex;justify-content:space-between;gap:10px;align-items:center;color:#8ea6c0;font-size:9px;line-height:1.6}#mapTip{position:absolute;z-index:10;pointer-events:none;background:var(--surface);color:var(--text);padding:12px 15px;border:1px solid var(--border);border-radius:8px;box-shadow:0 8px 25px #0003;font-size:12px;max-width:230px}#mapTip strong{display:block;margin-bottom:6px;font-size:14px}#mapTip small{display:block;margin-top:4px;color:var(--subtext);font-size:10px}.scope-panel{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:25px}.scope-panel h2{font-size:26px;margin-top:10px}.scope-panel>p{font-size:11px;color:var(--subtext);margin-top:8px;line-height:1.7}.scope-metric{padding:24px 0;border-bottom:1px solid var(--border)}.scope-metric>span{font-size:11px;color:var(--subtext)}.scope-metric strong{display:block;font:800 43px 'Neo Sans Pro',sans-serif;letter-spacing:-1.4px;margin:5px 0}.scope-metric small{color:var(--subtext);font-size:10px}.scope-section-title{font-size:10px;font-weight:750;margin:20px 0 8px;display:flex;justify-content:space-between}.scope-section-title span{font-weight:400;color:var(--subtext)}.leader-item{width:100%;display:flex;align-items:center;gap:10px;padding:13px 0;background:transparent;border:0;border-bottom:1px solid var(--border);text-align:left}.leader-rank{color:var(--subtext);font-size:10px;width:16px}.leader-name{flex:1;min-width:0;font-size:11px;font-weight:650}.leader-name small{display:block;font-weight:400;color:var(--subtext);font-size:9px;margin-top:4px}.leader-votes{text-align:right;font-size:12px;font-weight:750}.leader-votes small{display:block;color:var(--subtext);font-size:9px;margin-top:4px;font-weight:400}.scope-note{font-size:10px;line-height:1.8;background:var(--surface-soft);border:1px solid var(--border);border-radius:7px;padding:12px;margin-top:18px;color:var(--subtext)}.candidates-section{margin-top:34px}.candidates-section .section-head{align-items:center}.candidates-section .eyebrow{font-size:8px;margin-bottom:7px}.group-switch{display:flex;background:#e8edf5;border:1px solid var(--border);border-radius:7px;padding:4px}.group-switch button{border:0;background:transparent;color:var(--subtext);padding:8px 16px;border-radius:4px;font-size:11px}.group-switch button[aria-pressed=true]{background:var(--surface);color:var(--blue);box-shadow:0 1px 5px #112b4810}.candidate-tools{display:flex;gap:12px;margin:20px 0}.candidate-tools label{flex:1}.candidate-tools input,.candidate-tools select{border:1px solid var(--border);border-radius:6px;background:var(--surface);color:var(--text);padding:12px;font-size:12px}.candidate-tools input{width:100%}.candidate-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.candidate-card{border:1px solid var(--border);border-radius:10px;background:var(--surface);padding:20px;min-width:0;position:relative}.candidate-card.is-picked{border-color:var(--blue);box-shadow:0 0 0 1px var(--blue)}.candidate-card-top{display:flex;align-items:center;gap:11px;margin-bottom:17px}.candidate-avatar{display:flex;align-items:center;justify-content:center;border:1px solid #d4e2f9;border-radius:10px;background:#edf3ff;width:43px;height:43px;flex-shrink:0;font-size:13px;font-weight:750;color:#3665b8}.candidate-identity{flex:1;min-width:0}.candidate-identity h3{font-size:13px;line-height:1.5;overflow-wrap:anywhere}.candidate-identity p{font-size:10px;color:var(--subtext);margin-top:3px}.status-tag{display:inline-block;font-size:9px;padding:5px 7px;border-radius:5px;border:1px solid #e1e6ed;color:#758195;background:#f3f5f8}.status-tag.elected{background:#e7f5ef;color:#187e61;border-color:#d2eae0}.status-tag.substitute{background:#fff6e5;color:#9c7424;border-color:#f0e2c2}.candidate-vote-row{display:flex;align-items:flex-end;justify-content:space-between;gap:8px;margin-top:17px}.candidate-vote-row strong{font:800 25px 'Neo Sans Pro',sans-serif;letter-spacing:-.6px}.candidate-vote-row small{font-size:10px;color:var(--subtext)}.candidate-progress{height:4px;border-radius:4px;background:#e8eff9;margin-top:12px;overflow:hidden}.candidate-progress i{display:block;height:100%;background:#5183e7}.candidate-context{font-size:9px;color:var(--subtext);margin-top:8px}.candidate-map-button{width:100%;margin-top:16px;border:1px solid var(--border);background:var(--surface-soft);color:var(--blue);border-radius:6px;padding:9px;font-size:10px}.party-breakdown{font-size:10px;line-height:1.9;margin-top:12px;color:var(--subtext)}.load-more{display:block;margin:22px auto;border:1px solid var(--border);background:var(--surface);color:var(--blue);border-radius:6px;padding:12px 25px;font-size:12px}.denominator-note{font-size:10px;color:var(--subtext);line-height:1.8;margin-top:18px}.data-note{margin-top:30px;background:var(--surface);border:1px solid var(--border);border-radius:9px;padding:21px 24px}.data-note strong{font-size:12px}.data-note p{font-size:10px;color:var(--subtext);line-height:1.9;margin:10px 0}.data-note a{font-size:10px;color:var(--blue)}#sourceDate{font-size:10px;display:block;color:var(--subtext);margin-top:10px}.empty-results{grid-column:1/-1;text-align:center;padding:45px;border:1px dashed var(--border);color:var(--subtext);border-radius:9px}.panorama-error{position:fixed;inset:20%;z-index:100;background:var(--surface);border:1px solid #c66;border-radius:10px;padding:25px}#expandedMap{max-width:1300px;width:calc(100vw - 24px);height:calc(100dvh - 24px);padding:12px;background:var(--bg);overflow:auto}#expandedMap[open]{display:flex;flex-direction:column}.expanded-heading{display:flex;align-items:center;justify-content:space-between;padding:5px 4px 15px}.expanded-heading h2{font-size:17px}.expanded-heading button{background:var(--surface);border:1px solid var(--border);border-radius:5px;padding:8px 12px;color:var(--text)}#expandedMapBody{flex:1;min-height:0}#expandedMapBody .panorama-map-stage{height:60dvh}#expandedMapBody #expandMap{display:none}body.map-modal-open{overflow:hidden}
html[data-theme=dark]{--surface:#17283d;--surface-soft:#122135;--border:#2b405b;--text:#e5edf9;--subtext:#a4b6cd;--blue:#92b8ff}html[data-theme=dark] .preview-banner{background:#192f4f;border-color:#304970;color:#b3ceff}html[data-theme=dark] .preview-banner span{color:#a5bad6}html[data-theme=dark] :is(.role-tabs,.group-switch){background:#101f33}html[data-theme=dark] .candidate-avatar{background:#233e61;color:#b0cdff;border-color:#395b86}html[data-theme=dark] .candidate-progress{background:#263e5d}html[data-theme=dark] .status-tag{background:#27364b;color:#bac9dd;border-color:#3a4a62}html[data-theme=dark] .status-tag.elected{background:#1b3c36;color:#91dcc3;border-color:#2c5a4e}html[data-theme=dark] .status-tag.substitute{background:#3e3626;color:#e7ca89;border-color:#5b4c30}
@media(min-width:1100px){.panorama-map-stage{height:500px}.scope-panel{min-height:660px}}@media(max-width:1050px){.candidate-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.heading h1{font-size:32px}.election-pill{display:none}header .brand small{display:none}header nav{gap:15px}.panorama-map-head{padding:20px}.panorama-map-head h2{font-size:17px}}@media(max-width:760px){header{height:auto;min-height:75px;padding:15px 5%;flex-wrap:wrap;gap:16px}header .brand{font-size:11px}header nav{order:3;width:100%;font-size:11px;justify-content:space-between}header nav a{padding:7px 0}.theme-switch{margin-left:auto}.preview-banner{padding:10px 5%;font-size:8px;line-height:1.7}.preview-banner span{margin-left:8px}main{padding:25px 5% 0}.heading h1{font-size:28px}.heading p{font-size:11px}.role-tabs{display:grid;grid-template-columns:1fr 1fr}.role-tabs button{font-size:11px;padding:11px 7px}.panorama-stats{grid-template-columns:1fr 1fr;gap:10px}.panorama-stats article{padding:15px}.panorama-stats strong{font-size:24px}.panorama-stats small{font-size:8px}.filter-panel{display:grid;grid-template-columns:1fr 1fr;padding:15px;gap:13px}.filter-panel select{font-size:12px;padding:10px 7px}.filter-panel label:first-child{grid-column:1/-1}.filter-panel .reset-button{grid-column:1/-1;padding:2px}.panorama-workspace{grid-template-columns:1fr}.panorama-map-stage{height:420px;min-height:380px}#electionMap{min-height:380px}.scope-panel{padding:22px}.scope-metric strong{font-size:35px}.scope-note{font-size:10px}.candidates-section .section-head{flex-wrap:wrap;gap:16px}.candidates-section h2{font-size:19px}.candidate-tools{flex-wrap:wrap}.candidate-tools label{flex-basis:100%}.candidate-tools select{width:100%}.candidate-grid{grid-template-columns:1fr}.candidate-card{padding:18px}.candidate-identity h3{font-size:14px}.panorama-map-head{padding:18px 16px 0;align-items:flex-start}.panorama-map-head h2{font-size:17px}.panorama-map-head button{font-size:9px}.panorama-map-foot{padding:12px 16px}.panorama-map-foot span{max-width:210px}.panorama-ocean{right:15px;font-size:7px}.data-note{padding:18px}.scope-panel{scroll-margin-top:20px}footer{flex-wrap:wrap}.panorama-map{scroll-margin-top:15px}}

.panorama-map{scroll-margin-top:22px}.panorama-map:focus{outline:none}.candidate-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.candidate-person-top{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:13px;align-items:start;margin-bottom:18px}.candidate-photo{position:relative;width:64px;height:76px;border:1px solid var(--border);border-radius:10px;overflow:hidden;background:#eaf1fc;display:grid;place-items:center;color:#4873b4;font-size:17px;font-weight:750}.candidate-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 20%}.candidate-person-top .candidate-identity h3{font-size:18px;line-height:1.35;letter-spacing:-.25px;margin:1px 0 6px}.candidate-person-top .candidate-identity p{font-size:11px;line-height:1.6}.candidate-vote-top{text-align:right;padding-top:0;white-space:nowrap}.candidate-vote-top strong{font:800 32px 'Neo Sans Pro',sans-serif;line-height:1.25;letter-spacing:-1px;display:block}.candidate-vote-top small{display:block;font-size:10px;color:var(--subtext);margin-top:4px}.candidate-vote-top.votes-elected strong{color:#158462}.candidate-vote-top.votes-substitute strong{color:#d4841b}.candidate-result-line{display:flex;justify-content:space-between;gap:8px;align-items:center}.candidate-result-line>small{font-size:10px;color:var(--subtext);text-align:right}.ranking-explainer{font-size:10px;color:var(--subtext);line-height:1.8;margin:-5px 0 18px}html[data-theme=dark] .candidate-photo{background:#233e61;color:#a2c2f0}html[data-theme=dark] .candidate-vote-top.votes-elected strong{color:#64d4a6}html[data-theme=dark] .candidate-vote-top.votes-substitute strong{color:#f5b258}
@media(min-width:1650px){.candidate-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1000px) and (min-width:761px){.candidate-person-top{grid-template-columns:48px minmax(0,1fr) auto;gap:9px}.candidate-photo{width:48px;height:62px}.candidate-person-top .candidate-identity h3{font-size:15px}.candidate-vote-top strong{font-size:26px}}
@media(max-width:760px){.candidate-grid{grid-template-columns:1fr}.candidate-person-top{grid-template-columns:52px minmax(0,1fr) auto;gap:10px}.candidate-photo{width:52px;height:66px}.candidate-person-top .candidate-identity h3{font-size:16px;line-height:1.35}.candidate-person-top .candidate-identity p{font-size:10px}.candidate-vote-top strong{font-size:28px;letter-spacing:-.9px}.candidate-result-line>small{font-size:9px}.ranking-explainer{font-size:10px}}
@media(max-width:370px){.candidate-person-top{grid-template-columns:44px minmax(0,1fr) auto;gap:8px}.candidate-photo{width:44px;height:58px}.candidate-vote-top strong{font-size:24px}.candidate-person-top .candidate-identity h3{font-size:15px}}

.party-card .candidate-identity h3{font-size:25px;line-height:1.3;letter-spacing:-.5px}.party-card .candidate-vote-row strong{font-size:38px;line-height:1.2;letter-spacing:-1px}.party-card .candidate-avatar{width:50px;height:50px;font-size:15px}.party-elected-button{display:block;width:100%;padding:11px;margin-top:17px;background:var(--surface-soft);border:1px solid var(--border);border-radius:7px;color:var(--blue);font-size:12px;font-weight:650}.candidate-photo{padding:0;flex-shrink:0}.candidate-photo:not(:disabled){cursor:zoom-in}.candidate-photo:not(:disabled):hover{box-shadow:0 0 0 2px var(--blue)}.candidate-photo:disabled{cursor:default}.party-elected-dialog,.photo-dialog{background:var(--surface);color:var(--text);border:1px solid var(--border);padding:25px;max-height:calc(100dvh - 40px);overflow:auto}.party-elected-dialog{max-width:800px}.popup-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.popup-heading h2{font-size:22px;margin:8px 0}.popup-heading button{border:1px solid var(--border);background:var(--surface-soft);color:var(--text);border-radius:6px;padding:9px 12px;white-space:nowrap;font-size:12px}.popup-heading p{margin:5px 0;color:var(--subtext);font-size:12px}.popup-note{font-size:11px;color:var(--subtext);line-height:1.8;margin:14px 0 20px}.elected-row{display:flex;align-items:center;gap:15px;padding:18px 0;border-top:1px solid var(--border)}.elected-person{flex:1;min-width:0}.elected-person h3{font-size:17px;line-height:1.4}.elected-person p{font-size:11px;color:var(--subtext);margin:5px 0 7px}.elected-count{text-align:right;flex-shrink:0}.elected-count strong{display:block;font:800 29px 'Neo Sans Pro',sans-serif;color:#158462}.elected-count small{display:block;font-size:10px;color:var(--subtext);margin-top:4px}.elected-count span{display:block;font-size:10px;color:var(--subtext);margin-top:8px}.photo-dialog{max-width:620px;text-align:center}.photo-dialog .popup-heading{text-align:left}.photo-dialog>img{display:block;max-width:100%;max-height:65dvh;min-height:160px;width:auto;height:auto;object-fit:contain;margin:20px auto 10px;border-radius:9px}.photo-source{font-size:10px;color:var(--subtext);margin:12px 0 0}html[data-theme=dark] .elected-count strong{color:#64d4a6}dialog::backdrop{background:#06101fbb}
@media(max-width:600px){.party-card .candidate-identity h3{font-size:23px}.party-card .candidate-vote-row strong{font-size:34px}.party-elected-dialog,.photo-dialog{padding:20px 15px;width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}.popup-heading h2{font-size:19px}.elected-row{gap:10px}.elected-person h3{font-size:14px}.elected-count strong{font-size:23px}.elected-count span{max-width:110px;line-height:1.5}.elected-person p{font-size:10px}.popup-heading button{font-size:10px;padding:8px}.popup-heading .eyebrow{font-size:8px}.popup-note{font-size:10px}}

.photo-dialog>img{width:100%;height:65dvh;max-height:65dvh;object-fit:contain}
