@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');
:root{color-scheme:dark;--bg:#0b1220;--surface:#101b2c;--map:#101e2b;--line:#243346;--text:#f2f6fd;--muted:#91a2b8;--accent:#d9ec90;--bn:#3e70ec;--pn:#12a383;--ph:#e95566;--unknown:#546779}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:16px/1.5 'DM Sans',Arial,sans-serif}button,a{-webkit-tap-highlight-color:transparent}button,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.38}button:focus-visible,a:focus-visible{outline:3px solid var(--accent);outline-offset:3px}button{color:inherit}a{color:#bdcef9}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:'Manrope','DM Sans',Arial,sans-serif}button{border:0}.masthead{height:87px;padding:0 36px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.brand{display:flex;gap:13px;align-items:center;text-decoration:none;color:var(--text);font:500 20px/1.2 Manrope,Arial,sans-serif;letter-spacing:1.5px}.brand strong{font-weight:800}.brand small{display:block;color:var(--muted);font:500 10px/1.6 'DM Sans',sans-serif;letter-spacing:2px;margin-top:6px}.brand-mark{display:grid;place-items:center;background:#e8f0ee;color:#102032;width:41px;height:43px;border-radius:8px;font-size:31px;font-weight:800;position:relative;letter-spacing:-3px}.brand-mark span{position:absolute;right:4px;bottom:0px;color:#519269;font-size:27px}.header-right{display:flex;gap:22px;align-items:center}.official-label{color:#9cacbe;font-size:13px}.button{background:#19273a;border:1px solid #324257;border-radius:7px;padding:9px 13px;font-size:14px}.button:hover{background:#26384b}.subtle{background:transparent}.button span{margin-right:5px}.icon-button{font-size:22px;width:37px;height:36px;padding:0}main{padding:24px 30px 20px;max-width:1900px;margin:auto}.workspace-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.eyebrow{font-size:11px;font-weight:700;color:var(--muted);letter-spacing:1.8px}.workspace-heading h1{font-size:25px;line-height:1.35;font-weight:650;margin-top:5px;letter-spacing:-.6px}.coverage{display:flex;gap:31px;align-items:center}.coverage>span{font:650 26px/1.2 Manrope,sans-serif}.coverage small{font:400 13px/1.2 'DM Sans',sans-serif;color:var(--muted);margin-left:5px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 395px;min-height:760px;height:calc(100vh - 215px);max-height:1080px;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--surface)}.map-column{display:flex;flex-direction:column;min-width:0;position:relative;background:var(--map)}.breadcrumbs{height:50px;min-height:50px;display:flex;align-items:center;gap:10px;padding:0 21px;background:#122030;border-bottom:1px solid var(--line);overflow-x:auto;white-space:nowrap}.breadcrumbs button{background:transparent;padding:0;color:#aec0d4;font-size:13px}.breadcrumbs button.current{color:#f2f5fa;font-weight:600}.breadcrumbs .separator{color:#576d80}.map-toolbar{position:absolute;top:67px;left:20px;right:20px;z-index:2;display:flex;align-items:center;justify-content:space-between;pointer-events:none}.map-toolbar>*{pointer-events:auto}.level-tabs{padding:4px;background:#0c1725;border:1px solid #293c4e;border-radius:8px;display:flex;gap:2px}.level-tabs button{background:transparent;padding:6px 16px;color:var(--muted);font-size:13px;border-radius:5px}.level-tabs button.active{background:#334153;color:#f7faff}.map-stage{flex:1;min-height:450px;position:relative;overflow:hidden;background:radial-gradient(ellipse at 55% 48%,#20334566,transparent 60%),#101e2b;touch-action:pan-y}.map-stage:before{content:'';position:absolute;inset:0;background-image:linear-gradient(#ffffff03 1px,transparent 1px),linear-gradient(90deg,#ffffff03 1px,transparent 1px);background-size:55px 55px;pointer-events:none}.map-context{position:absolute;top:82px;left:25px;pointer-events:none;z-index:1;max-width:70%}.map-context h2{font-size:27px;letter-spacing:-.5px;margin:3px 0}.map-context p:last-child{font-size:13px;color:#a3b3c3;max-width:210px}.north{position:absolute;top:76px;right:28px;color:#a1b4c8;text-align:center;font-size:11px;font-weight:600;z-index:1}.north span{display:block;font-size:32px;line-height:1.2}#map{display:block;width:100%;height:100%;position:absolute;inset:0}.region{stroke:#b8d0e0;stroke-width:1.4;stroke-linejoin:round;vector-effect:non-scaling-stroke;cursor:pointer;fill-opacity:.82;transition:fill-opacity .18s,filter .18s}.region:hover,.region:focus{fill-opacity:1;filter:brightness(1.2);outline:none;stroke:white;stroke-width:2.8}.region.selected{stroke:var(--accent);stroke-width:3;fill-opacity:1}.context-region{fill:#263847;stroke:#688292;stroke-width:1;vector-effect:non-scaling-stroke;opacity:.55}.map-label{font:550 14px 'DM Sans',sans-serif;fill:white;paint-order:stroke;stroke:#152335;stroke-width:3px;stroke-linejoin:round;pointer-events:none;text-anchor:middle}.map-code{fill:#d2dfeb;font-size:10px;font-weight:450}.map-footnote{position:absolute;left:21px;bottom:13px;font-size:11px;color:#6f849a;max-width:80%}.zoom-controls{position:absolute;right:20px;bottom:20px;display:flex;flex-direction:column;border:1px solid #344859;border-radius:7px;overflow:hidden;box-shadow:0 5px 15px #0002}.zoom-controls button{width:35px;height:34px;background:#182a3b;font-size:23px;line-height:1}.zoom-controls button+button{border-top:1px solid #344859}.zoom-controls button:hover{background:#30475b}.map-tooltip{position:absolute;background:#07111cf2;border:1px solid #687b8c;padding:10px 13px;border-radius:6px;pointer-events:none;z-index:5;font-size:13px;box-shadow:0 6px 20px #0005}.map-tooltip small{display:block;color:#a4b6c7;margin-top:3px}.map-empty{position:absolute;left:50%;top:53%;transform:translate(-50%,-50%);width:70%;text-align:center;background:#152335eb;padding:25px;border:1px solid var(--line);border-radius:10px;font-size:14px;color:#b5c5d7}.map-empty strong{display:block;font-size:18px;color:var(--text);margin-bottom:8px}.legend{display:flex;justify-content:center;gap:20px;align-items:center;flex-wrap:wrap;padding:14px 18px;font-size:12px;border-top:1px solid #233544;color:#bac9d9;background:#11212e}.legend span{display:flex;align-items:center;gap:6px}.legend .legend-title{color:#7e94aa}.legend i{width:9px;height:9px;display:inline-block;background:var(--swatch);border-radius:2px}.map-bottom{display:flex;justify-content:space-between;gap:20px;color:#7e91a6;font-size:10px;padding:10px 20px;background:#0e1b28}.map-bottom span:last-child{letter-spacing:1.5px;white-space:nowrap}.analytics{padding:24px 23px;overflow-y:auto;border-left:1px solid var(--line);scrollbar-width:thin;scrollbar-color:#32445b transparent}.panel-loading{color:var(--muted)}.selection-head{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}.area-tag{font-size:11px;color:var(--accent);letter-spacing:1.3px;text-transform:uppercase;font-weight:650}.selection-head h2{font-size:28px;line-height:1.3;font-weight:700;letter-spacing:-.7px;margin:7px 0}.subtext{color:var(--muted);font-size:13px;line-height:1.65}.area-symbol{font-size:25px;color:#617a95;background:#17293d;width:45px;height:45px;border-radius:9px;display:grid;place-items:center;flex-shrink:0;margin-top:5px}.result-card{margin:21px 0 23px;border:1px solid color-mix(in srgb,var(--party-color) 38%,#25364b);border-radius:9px;background:linear-gradient(100deg,color-mix(in srgb,var(--party-color) 15%,#122033),#152133);padding:15px}.result-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.party-badge{background:var(--party-color);color:white;font-weight:700;font-size:13px;padding:4px 10px;border-radius:4px}.result-date{font-size:11px;color:#9eb1c6}.result-card h3{font-size:15px;font-weight:600;margin:13px 0 3px}.winner-label{font-size:11px;color:#91a5bf}.result-metrics{display:grid;grid-template-columns:1fr 1fr;margin-top:15px;gap:12px;border-top:1px solid #ffffff10;padding-top:12px}.result-metrics strong{font-size:20px;font-weight:650;display:block}.result-metrics span{font-size:11px;color:#92a6bf}.section-title{display:flex;justify-content:space-between;align-items:baseline;margin:23px 0 12px;gap:10px}.section-title h3{font-size:15px;font-weight:650}.source-tag{font-size:10px;letter-spacing:.6px;color:#7fa0b4}.stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.stat-box{border:1px solid #2a3a50;border-radius:7px;padding:12px 13px;background:#142238}.stat-box>span{display:block;font-size:12px;color:#9ab0c8}.stat-box strong{font:650 24px/1.3 Manrope,sans-serif;display:block;letter-spacing:-.4px;margin:5px 0 3px}.stat-box small{font-size:10px;color:#7e99b5}.stat-box.wide{grid-column:1/-1}.stat-box.wide strong{font-size:31px}.stat-box.emphasis{background:#1a2e42;border-color:#354961}.gender-chart{margin-top:16px}.gender-labels{display:flex;justify-content:space-between;font-size:12px;color:#b2c1d3}.gender-labels strong{font-weight:550;color:#e6eef9}.bar-track{display:flex;overflow:hidden;height:7px;border-radius:7px;background:#26374f;margin:8px 0}.bar-track span{height:100%;min-width:0}.data-note{font-size:11px;line-height:1.6;color:#7f96ae;margin-top:10px}.data-note a{color:#9db4d4}.seat-totals{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:19px 0}.seat-total{border-bottom:3px solid var(--party-color);padding:10px;background:#17243a;border-radius:5px 5px 0 0}.seat-total strong{display:block;font:600 25px/1.3 Manrope,sans-serif}.seat-total span{font-size:12px;color:#c0cede}.seat-total small{font-size:10px;color:#88a0b7}.area-list{display:flex;flex-direction:column;gap:7px}.area-row{display:flex;align-items:center;gap:10px;background:#142237;border:1px solid #28384c;border-radius:6px;text-align:left;padding:10px;width:100%;font-size:14px;transition:background .15s}.area-row:hover,.area-row.active{background:#253a50;border-color:#59717f}.area-row .code{font:500 11px/1.3 'DM Sans',sans-serif;min-width:36px;color:#9cb1c8}.area-row .area-name{flex:1}.area-row .mini-party{width:7px;height:22px;background:var(--party-color);border-radius:2px}.area-row .arrow{color:#7e9bb1;margin-left:2px}.list-count{font-size:12px;color:#859eb8}.availability{font-size:13px;line-height:1.65;background:#182536;border:1px dashed #354c60;border-radius:7px;padding:13px;color:#9eb3cb}.availability strong{display:block;color:#d9e4f1;margin-bottom:4px;font-weight:500}.source-link{display:inline-flex;font-size:11px;color:#97b4d1;margin-top:10px}.analytics hr{border:0;border-top:1px solid var(--line);margin:24px 0}.back-panel{background:transparent;padding:0;color:#a3bed5;font-size:12px;margin-bottom:16px}.panel-footer{margin:20px 0 0;padding-top:14px;border-top:1px solid var(--line);font-size:11px;color:#728da8}.pdm-info{padding:13px;border-left:2px solid var(--accent);background:#203039;font-size:13px;color:#c5d3d9;margin:16px 0}.pdm-info small{display:block;color:#92a9b5;margin-top:4px}dialog{background:#111e30;border:1px solid #344a61;border-radius:12px;color:var(--text);width:min(660px,94vw);max-height:86vh;padding:26px;box-shadow:0 20px 100px #0008}dialog::backdrop{background:#030a13b8;backdrop-filter:blur(4px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #2b3c50;padding-bottom:17px;margin-bottom:15px}.dialog-head h2{font-size:23px;margin-top:4px}#sources-content h3{font-size:16px;margin:19px 0 5px}#sources-content p,#sources-content li{font-size:14px;color:#a8bad0;line-height:1.75}#sources-content a{overflow-wrap:anywhere}#sources-content ul{padding-left:19px}.fatal{padding:30px;color:#e4a6a8}.no-data{color:#91a5bb;font-size:14px}.pdm-list-note{font-size:12px;line-height:1.7;color:#91aabd;margin-bottom:11px}
@media(min-width:1550px){.workspace{grid-template-columns:minmax(0,1fr) 440px}.analytics{padding:27px 28px}.map-context{top:92px;left:31px}.map-context h2{font-size:34px}}
@media(max-width:1100px){main{padding:20px 18px}.masthead{padding:0 23px}.workspace{grid-template-columns:minmax(0,1fr) 350px}.analytics{padding:20px 18px}.coverage{gap:19px}.legend{gap:12px}.legend-title{width:100%;justify-content:center}.map-label{font-size:16px}.map-context h2{font-size:25px}.map-bottom span:last-child{display:none}}
@media(max-width:800px){.masthead{height:74px;padding:0 17px}.brand{font-size:17px;gap:10px}.brand small{font-size:9px}.official-label{display:none}.header-right{gap:0}.header-right .button{font-size:12px;padding:8px}.workspace-heading h1{font-size:20px}.workspace-heading{gap:15px;align-items:flex-start}.coverage{gap:12px}.coverage>span{font-size:21px}.coverage small{display:block;margin:3px 0 0;font-size:10px}main{padding:18px 12px}.workspace{display:flex;flex-direction:column;height:auto;min-height:0;max-height:none}.map-column{height:640px;flex-shrink:0}.map-stage{min-height:360px}.analytics{overflow:visible;border-left:0;border-top:1px solid var(--line);padding:24px}.map-context{top:79px;left:21px}.map-context h2{font-size:24px}.map-context p:last-child{max-width:150px;font-size:12px}.map-toolbar{left:15px;right:15px;top:64px}.legend{padding:12px 9px;font-size:11px;gap:14px}.legend .legend-title{width:auto}.map-label{font-size:18px}.map-code{font-size:13px}.map-footnote{font-size:10px}.area-list{display:grid;grid-template-columns:1fr 1fr}.map-bottom{font-size:9px}.selection-head h2{font-size:29px}.workspace-heading .eyebrow{font-size:9px}}
@media(max-width:430px){.brand{font-size:15px}.brand-mark{width:34px;height:37px;font-size:27px}.brand small{letter-spacing:1px}.header-right .button{max-width:118px;font-size:11px;line-height:1.4}.coverage{gap:11px}.workspace-heading h1{max-width:205px;font-size:19px}.coverage>span{font-size:18px}.map-column{height:600px}.legend{gap:10px}.legend .legend-title{width:100%}.area-list{grid-template-columns:1fr}.map-label{font-size:20px}.analytics{padding:21px}.level-tabs button{padding:6px 13px}.map-context{max-width:65%}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

.text-link{background:transparent;padding:0;color:#a8c4dd;font-size:inherit;text-decoration:underline}.age-chart{margin-top:18px;display:flex;flex-direction:column;gap:9px}.age-row{display:grid;grid-template-columns:72px 1fr 42px;align-items:center;gap:9px;font-size:11px;color:#96adc4}.age-row strong{font-size:11px;color:#c5d4e2;text-align:right;font-weight:500}.age-track{height:6px;border-radius:4px;background:#20334a;overflow:hidden}.age-track i{display:block;height:100%;background:#a8c5ac;border-radius:4px}.pdm-browser{position:absolute;left:22px;bottom:46px;width:min(345px,70%);z-index:2;background:#0c1928ed;border:1px solid #405368;border-radius:9px;box-shadow:0 14px 30px #0004;backdrop-filter:blur(10px)}.pdm-browser-head{display:flex;justify-content:space-between;align-items:center;padding:13px 14px 0;font-size:13px}.pdm-browser-head span{font-size:10px;color:#7f9fbb}.pdm-browser>p{font-size:11px;color:#90a5bb;padding:5px 14px 10px;line-height:1.5}.pdm-browser-list{max-height:191px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#4a6278 transparent;padding:0 5px 5px}.pdm-browser-list button{display:flex;justify-content:space-between;align-items:center;gap:10px;text-align:left;padding:9px;border-radius:5px;background:transparent;width:100%;font-size:13px;line-height:1.4}.pdm-browser-list button:hover,.pdm-browser-list button.active{background:#283f51}.pdm-browser-list button.active{box-shadow:inset 2px 0 var(--accent)}.pdm-browser-list small{display:block;font-size:9px;color:#7f9db7;margin-bottom:1px}.pdm-electors{text-align:right;font-size:12px;color:#dbe5f0}.pdm-electors small{margin:0;font-size:9px}.map-label{font-size:18px}.map-code{font-size:12px}.stat-box strong{font-size:22px}.brand small{font-size:11px}.eyebrow{font-size:12px}.age-row,.age-row strong{font-size:12px}.map-bottom{font-size:11px}.pdm-browser-list small{font-size:11px}.pdm-browser-list button{font-size:14px}.pdm-browser-list{max-height:180px}.pdm-browser>p{font-size:12px}.pdm-browser-head{font-size:14px}.pdm-browser-head span{font-size:12px}
@media(max-width:800px){.map-label{font-size:21px}.map-code{font-size:14px}.pdm-browser{width:55%;left:15px;bottom:34px}.pdm-browser-list{max-height:148px}.pdm-browser-head span{display:none}.pdm-browser>p{font-size:11px}.pdm-browser-list button{font-size:12px}.pdm-browser-list small{font-size:10px}.stat-box strong{font-size:24px}}

@media(min-width:801px){.workspace{min-height:560px}.map-stage{min-height:340px}.map-context{top:77px}.legend{padding:11px 16px}.map-bottom{padding:8px 18px}.map-context p:last-child{max-width:185px}}

.quick-stats{margin-top:18px}.quick-stats .stat-box{padding:10px 12px}.quick-stats .stat-box strong{font-size:22px}

@media(max-width:800px){#map{top:64px;height:calc(100% - 64px)}.map-context{top:76px}.map-context h2{font-size:22px}.map-context p:last-child{max-width:250px}.map-context .eyebrow{font-size:10px}.pdm-browser{max-width:220px}.pdm-browser>p{line-height:1.35}}

.map-label-target .map-label,.map-label-target tspan{pointer-events:auto;cursor:pointer}.map-label-target .label-leader{pointer-events:none}.map-label-target:hover .map-label{fill:var(--accent)}

.representative-card{margin-top:18px;padding:14px 15px;background:#203142;border:1px solid #49606d;border-left:3px solid var(--accent);border-radius:7px}.representative-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px;color:#b8cda7}.representative-party{background:#344858;border-radius:4px;padding:3px 7px;color:#e1eaf5;font-size:12px}.representative-card h3{font-size:18px;line-height:1.4;margin:9px 0 6px}.representative-card a{font-size:12px;color:#9ec0db}.representative-card>small{display:block;margin-top:10px;color:#8399b1;font-size:11px}.representative-office{font-size:13px;color:#bdcdda;margin-bottom:5px}.parent-representative{margin-top:12px;padding:10px 0 0;display:block;width:100%;background:transparent;border-top:1px solid #ffffff1a;text-align:left}.parent-representative span{display:block;font-size:11px;color:#a7bacb}.parent-representative strong{display:block;font-size:14px;font-weight:500;color:#e1e9f1;margin-top:3px}.parent-representative:hover strong{color:var(--accent)}.area-name small{display:block;font-size:11px;color:#90a7bf;line-height:1.5;margin-top:3px}.map-tooltip{max-width:290px}.map-tooltip small{white-space:normal}

/* Coalition scenario panel: independent statewide arithmetic. */
.analytics-wrap{display:flex;flex-direction:column;min-height:0;min-width:0;overflow:hidden;border-left:1px solid var(--line)}.analytics-wrap .analytics{border-left:0;min-height:0;flex:1}.panel-tabs{display:flex;flex-shrink:0;padding:8px 10px;gap:5px;border-bottom:1px solid var(--line);background:#102033}.panel-tabs button{flex:1;background:transparent;padding:10px 6px;border-radius:6px;color:#9fb3c9;font-size:13px}.panel-tabs button[aria-selected=true]{background:#2e4054;color:#e9f1fa}.panel-tabs button:last-child[aria-selected=true]{color:var(--accent)}.scenario-symbol{display:grid;place-items:center;width:43px;height:43px;font-size:26px;background:#293c37;color:var(--accent);border-radius:9px}.sim-context{font-size:13px;color:#bac9d8;line-height:1.6;padding:12px;margin-top:15px;border-left:2px solid #93b0c1;background:#17283b}.sim-inputs .section-title{margin-top:20px}.sim-inputs .text-link{font-size:12px}.sim-input-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.sim-input-grid label{font-size:14px;color:#c8d6e5}.sim-input-grid label>i{display:inline-block;width:8px;height:8px;border-radius:2px;margin-right:6px}.sim-input-grid input,.appointed-input-row input{display:block;width:100%;margin-top:7px;padding:9px 11px;border:1px solid #4d6076;border-radius:6px;background:#0b1929;color:#f1f6ff;font:600 22px Manrope,sans-serif;appearance:auto}.sim-input-grid input:focus-visible,.appointed-input-row input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.sim-checkbox{display:flex;gap:9px;align-items:center;font-size:13px;margin-top:15px;color:#c4d2df;cursor:pointer}.sim-checkbox input{accent-color:#bace82;width:16px;height:16px}.appointed-input-row{background:#15273b;padding:12px;border:1px solid var(--line);border-radius:6px;margin-top:10px}.appointed-input-row label{font-size:13px}.appointed-input-row input{width:100px;font-size:18px}.appointed-input-row p,.sim-assumption{font-size:12px;line-height:1.6;color:#8ea6bf;margin:10px 0 0}.sim-error{padding:12px;background:#472b36;border:1px solid #9e5365;color:#f6c6ce;border-radius:6px;font-size:14px;margin-top:15px}.sim-outcome{padding:17px;border:1px solid #4d6a65;border-radius:9px;background:linear-gradient(145deg,#233933,#182637);margin-top:20px}.sim-outcome[data-status=below]{background:linear-gradient(145deg,#3b3327,#182637);border-color:#81714a}.sim-total{display:flex;align-items:center;gap:10px;margin-top:5px}.sim-total>strong{font:650 50px/1.2 Manrope,sans-serif;letter-spacing:-2px}.sim-total>span{font-size:21px;color:#d9e4e6}.sim-total small{display:block;font-size:11px;color:#9eb4bd}.sim-status{font-size:13px;color:#d4e5b2;margin:7px 0 17px}.sim-outcome[data-status=below] .sim-status{color:#e5cb94}.sim-seats{display:grid;grid-template-columns:repeat(14,1fr);gap:4px}.sim-seats>i{height:13px;border-radius:2px;display:block}.seat-bn{background:var(--bn)}.seat-pn{background:var(--pn)}.seat-other{background:#566677}.seat-appointed{background:var(--accent)}.seat-other-appointed{background:#566677;outline:1px dashed #abb8c5;outline-offset:-1px}.sim-seat-key{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px;color:#b8cbd7;font-size:11px}.sim-seat-key span{display:flex;gap:4px;align-items:center}.sim-seat-key i{width:7px;height:7px;border-radius:1px}.sim-metrics{display:grid;grid-template-columns:1fr 1fr;gap:12px;border-top:1px solid #ffffff1a;margin-top:15px;padding-top:13px}.sim-metrics strong{font-size:23px;display:block}.sim-metrics span{display:block;font-size:11px;color:#a2b6c5;line-height:1.5}.sim-summary{font-size:13px;color:#b8ccd3;line-height:1.65;margin-top:14px}.sim-limit{padding:13px;border:1px solid #3e5266;border-radius:7px;margin-top:13px;font-size:12px;line-height:1.65;color:#9cb2c9}.sim-limit strong{display:block;color:#d0dce7;font-size:13px;margin-bottom:4px}.sim-method{font-size:12px;line-height:1.6;color:#95aac1}.sim-notes>div{margin-top:14px;padding-bottom:14px;border-bottom:1px solid var(--line)}.sim-notes h4,.sim-recommendations h4{font:600 14px/1.5 Manrope,sans-serif;margin:0 0 5px}.sim-notes p,.sim-recommendations p{font-size:13px;line-height:1.7;color:#a4b8cb;margin:0}.sim-recommendations article{display:flex;gap:12px;padding:15px 0;border-bottom:1px solid var(--line)}.sim-recommendations article>span{font-size:12px;color:#a4bb81;padding-top:2px}.sim-sources{margin-top:20px;font-size:12px;color:#98aec4;line-height:1.7}.sim-sources summary{cursor:pointer;color:#c4d2e1;font-size:14px}.sim-sources p{margin:10px 0}.sim-sources a{color:#a8c6e4}.analytics-wrap [hidden]{display:none!important}
@media(max-width:800px){.analytics-wrap{border-left:0;border-top:1px solid var(--line);min-height:0;overflow:visible}.analytics-wrap .analytics{border:0;overflow:visible}.panel-tabs{padding:9px 15px}.panel-tabs button{font-size:14px;padding:12px}.sim-seats>i{height:15px}.sim-input-grid input{padding:12px;font-size:24px}}

.representative-age{font-size:12px;line-height:1.6;color:#a7bacb;margin:0 0 9px}.representative-age a{font-size:inherit}.age-legend{font-size:12px;line-height:1.6;color:#90a7bf;margin:0 0 10px}

/* Compact chrome keeps the full canvas available to the map. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.masthead{height:54px;padding:0 14px;gap:20px}.brand{font-size:18px;gap:10px;white-space:nowrap}.brand small{display:none}.brand-mark{width:32px;height:34px;font-size:25px}.brand-mark span{font-size:22px}.coverage{gap:18px;margin-left:auto;white-space:nowrap}.coverage>span{font-size:18px}.coverage small{font-size:12px;margin-left:4px}.header-right{gap:16px}.official-label{font-size:12px}.header-right .button{padding:6px 10px;font-size:13px}
main{max-width:none;padding:6px}.workspace{grid-template-columns:minmax(0,1fr) clamp(320px,25vw,370px);height:calc(100dvh - 66px);min-height:500px;max-height:none;border-radius:8px}
.map-topbar{display:flex;align-items:center;gap:12px;min-height:48px;padding:5px 12px;flex-shrink:0;background:#122030;border-bottom:1px solid var(--line)}.breadcrumbs{flex:1;min-width:0;height:36px;min-height:36px;padding:0;border:0;background:transparent;gap:8px;overflow-x:auto}.breadcrumbs button{font-size:14px}.map-toolbar{position:static;display:flex;flex-shrink:0;gap:8px;pointer-events:auto}.level-tabs{padding:3px}.level-tabs button{font-size:14px;padding:5px 12px}.map-context{display:none}#map{top:0;height:100%}.north{top:12px;right:13px}.north span{font-size:25px}.map-footnote{left:12px;bottom:8px;max-width:calc(100% - 65px);font-size:11px}
.legend{padding:7px 12px;gap:14px;font-size:12px}.legend .legend-title{width:auto}.map-bottom{padding:5px 12px;font-size:11px}.map-bottom span:last-child{display:none}.zoom-controls{right:12px;bottom:34px}.zoom-controls button{width:40px;height:40px}.region{fill-opacity:.92;stroke-width:1.6}.map-label{font-weight:650;stroke-width:4px}.map-code{font-weight:600;fill:#eef4fb}
@media(max-width:1100px){.official-label{display:none}.coverage{gap:12px}.header-right{gap:0}.masthead{gap:14px}}
@media(max-width:800px){.masthead{height:50px;padding:0 10px}.brand{font-size:16px}.coverage>span{font-size:16px}.coverage small{display:inline;font-size:11px;margin:0 0 0 3px}main{padding:4px}.workspace{height:auto;min-height:0}.map-column{height:calc(100svh - 58px);min-height:580px}.map-topbar{padding:5px 10px;gap:8px}.level-tabs button{padding:5px 10px}.map-bottom{padding:5px 10px}.legend{gap:11px}}
@media(max-width:600px){.coverage{display:none}.header-right{margin-left:auto}.header-right .button{font-size:12px;max-width:none}.map-topbar{flex-wrap:wrap;gap:2px}.breadcrumbs{flex-basis:100%;height:27px;min-height:27px}.map-toolbar{width:100%}.level-tabs{flex:1}.level-tabs button{flex:1}.legend{font-size:11px;gap:10px}.legend .legend-title{width:auto}}

.state-switch{display:flex;gap:3px;padding:3px;background:#111e30;border:1px solid #304257;border-radius:7px;flex-shrink:0}.state-switch a{padding:4px 10px;color:#9eb1c6;text-decoration:none;font-size:13px;border-radius:4px}.state-switch a[aria-current=page]{color:#e8f2c5;background:#304039}.state-switch a:hover{color:white;background:#2a3c50}.state-flag{width:64px;height:32px;object-fit:contain;display:block;flex-shrink:0;border:1px solid #ffffff40;box-shadow:0 2px 6px #0003}.masthead{gap:14px}.header-right{gap:12px}.header-right .official-label{display:none}
.representative-affiliation{font-size:12px;line-height:1.6;color:#a7bacb;margin-top:5px}
.has-public-issues{gap:3px;padding:7px 6px}.has-public-issues button{font-size:12px;line-height:1.4;padding:9px 4px}.has-public-issues #issues-tab[aria-selected=true]{color:#d9ec90;background:#304039}.issue-scope{border-left:2px solid #a1bbc6;background:#1b2b3d;color:#bdccd9;padding:11px 12px;font-size:13px;line-height:1.6;margin-top:17px}.issue-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}.issue-summary>div{background:#142238;border:1px solid #2a3a50;border-radius:7px;padding:12px}.issue-summary strong{display:block;font:650 28px/1.3 Manrope,sans-serif}.issue-summary span{font-size:12px;color:#a4bad0}.issue-period{font-size:12px;line-height:1.7;color:#92abc1;margin-top:11px}.issue-filters{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}.issue-filters label{font-size:12px;color:#b5c8d9;min-width:0}.issue-filters select{display:block;width:100%;min-width:0;background:#122137;color:#e5edf7;border:1px solid #42596d;border-radius:5px;padding:8px 6px;font-size:12px;margin-top:5px}.issue-filters select:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.issue-result-count{font-size:12px;color:#90a8bf;margin:15px 0 10px}.issue-card{background:#142235;border:1px solid #30465a;border-radius:8px;padding:15px;margin-bottom:12px}.issue-card-top{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:11px;color:#9db5c9}.issue-card-top>span{color:#cbdeab}.issue-card h3{font-size:16px;line-height:1.5;margin:10px 0 7px}.issue-card p{font-size:13px;line-height:1.7;color:#b5c7d8}.issue-status{background:#263c4e;border-left:2px solid #9cb7c9;padding:8px 10px;margin:13px 0 7px}.issue-status strong{display:block;color:#dbe7f1;font-size:12px;font-weight:600}.issue-status span{display:block;color:#9db4c8;font-size:11px;margin-top:2px}.issue-status-resolved{border-left-color:#a4c780}.issue-status-action_announced{border-left-color:#d7be85}.issue-status-in_progress{border-left-color:#83b9d3}.issue-card .issue-evidence{font-size:12px;color:#93acc1}.issue-card>a{display:inline-block;font-size:12px;color:#bbd4ec;margin-top:11px}.issue-card>small{display:block;font-size:11px;color:#849db3;margin-top:3px}.issue-method{font-size:12px;line-height:1.7;color:#94acc2;border-top:1px solid #304257;padding-top:14px;margin-top:18px}.issue-method summary{font-size:14px;color:#d0dfeb;cursor:pointer}.issue-method p{margin-top:10px}.issue-loading{margin-top:20px}
@media(max-width:1150px){.masthead .coverage{display:none}.state-switch{margin-left:auto}}
@media(max-width:680px){.masthead{height:auto;min-height:50px;flex-wrap:wrap;padding:7px 10px;gap:7px 12px}.brand{font-size:15px}.brand-mark{display:none}.state-switch{order:4;flex-basis:100%;margin:0;justify-content:center}.state-switch a{flex:1;text-align:center}.header-right{margin-left:auto;gap:8px}.header-right .button{font-size:11px;padding:5px 7px}.state-flag{width:50px;height:25px}.map-column{height:calc(100svh - 97px)}}
/* Melaka: public-source share of voice. */
.has-sov{display:grid;grid-template-columns:1fr 1fr;gap:3px}.has-sov button{min-height:35px;font-size:12px}.has-sov #sov-tab[aria-selected=true]{background:#244152;color:#aee6ee}.sov-scope{margin:17px 0;background:#193245;border-left:2px solid #79c9d5;padding:12px;font-size:12px;line-height:1.65;color:#b9d1df}.sov-scope strong,.sov-scope span{display:block}.sov-scope strong{color:#d5e9ef;margin-bottom:3px}.sov-period-control label,.sov-compare-controls label{display:block;font-size:12px;color:#b4cada}.sov-period-control select,.sov-compare-controls select{width:100%;min-width:0;background:#122137;color:#e5edf7;border:1px solid #42596d;border-radius:5px;padding:10px 8px;font-size:13px;margin-top:5px}.sov-period-control select:focus-visible,.sov-compare-controls select:focus-visible{outline:2px solid #8bd5dc;outline-offset:2px}.sov-period-control p{font-size:12px;line-height:1.7;color:#9bb5c9;margin-top:7px}.sov-compare-controls{border-top:1px solid #2c4357;padding-top:16px;margin-top:18px}.sov-compare-controls h3,.sov-all h3,.sov-detail h3{font-size:15px;color:#d7e4ee;margin:0 0 12px}.sov-compare-controls label{margin-top:9px}.sov-totals{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:20px}.sov-totals>div{background:#16283c;padding:11px 7px;border:1px solid #30485e;border-radius:6px;text-align:center}.sov-totals strong{display:block;font:650 24px/1.3 Manrope,sans-serif;color:#d6edf2}.sov-totals span{font-size:11px;color:#a4bdd0}.sov-coverage,.sov-denominator{font-size:12px;line-height:1.65;color:#96b1c7;margin:12px 0 17px}.sov-empty,.sov-stale{margin:14px 0}.sov-person-card{padding:14px;margin:12px 0;background:#14273a;border:1px solid #355369;border-radius:8px}.sov-card-head{display:flex;align-items:start;justify-content:space-between;gap:12px}.sov-card-head h4{font-size:14px;line-height:1.5;color:#d9e7f0;margin:0;overflow-wrap:anywhere}.sov-card-head>strong{font:650 24px/1.4 Manrope,sans-serif;color:#96dce4;white-space:nowrap}.sov-bar{height:6px;background:#2c4156;border-radius:4px;margin:12px 0 7px;overflow:hidden}.sov-bar i{display:block;height:100%;background:#78cbd4;border-radius:4px}.sov-person-card>p{font-size:12px;color:#aac1d3;margin:0 0 10px}.sov-highest{padding:10px;background:#1a3347;border-radius:5px}.sov-highest span,.sov-highest small{display:block;font-size:11px;color:#9ebdd0;line-height:1.6}.sov-highest strong{display:block;color:#d7e9ee;font-size:13px;line-height:1.6;margin-top:3px}.sov-platform-list{display:flex;flex-wrap:wrap;gap:6px;margin:11px 0}.sov-platform-list>span{display:flex;gap:8px;font-size:11px;border:1px solid #3a5369;border-radius:4px;padding:4px 6px;color:#b1cddd}.sov-platform-list b{color:#e0ecf3}.sov-person-card>.text-link{font-size:12px}.sov-all{margin-top:24px}.sov-table-wrap{border:1px solid #30475d;border-radius:6px;overflow:hidden}.sov-all table{width:100%;border-collapse:collapse;table-layout:fixed}.sov-all th,.sov-all td{padding:10px 8px;text-align:left;border-bottom:1px solid #263e53;font-size:11px;line-height:1.6;vertical-align:top;overflow-wrap:anywhere}.sov-all thead th{background:#21384d;color:#c3d9e7;font-weight:600}.sov-all thead th:first-child{width:46%}.sov-all thead th:nth-child(2){width:22%}.sov-all thead th:nth-child(3){width:32%}.sov-all tbody th{font-weight:500;color:#d3e3ef}.sov-all tbody th button{font:inherit;color:inherit;background:none;border:0;padding:0;text-align:left;cursor:pointer}.sov-all tbody th button:hover{text-decoration:underline}.sov-all tbody th small{display:block;color:#829fb6;font-size:10px}.sov-all td{color:#a8c1d3}.sov-all td strong,.sov-all td span{display:block}.sov-all td strong{color:#dce9f2;font-size:13px}.sov-all td span{color:#93d4de}.sov-all tr:last-child th,.sov-all tr:last-child td{border-bottom:0}.sov-detail{margin-top:24px;scroll-margin-top:10px}.sov-detail article{padding:12px 0;border-bottom:1px solid #30465b}.sov-detail article>div{font-size:11px;color:#8fb6cd;margin-bottom:7px}.sov-detail a{font-size:13px;color:#bbd9ea;line-height:1.6}.sov-detail p{font-size:12px;color:#91acc1;line-height:1.65;margin:7px 0}

/* Compact region navigation preserves the map-first layout. */
.state-switch select{width:172px;max-width:100%;background:#18283b;color:#e3edf5;border:0;border-radius:4px;padding:5px 9px;font-size:13px;cursor:pointer}.state-switch select:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.masthead .brand{flex-shrink:0;font-size:17px;letter-spacing:.8px}.coverage .territory-label small{max-width:110px;display:block;margin:0;font-size:11px}.panel-tabs button[hidden]{display:none}.panel-tabs:has(#scenario-tab[hidden]){grid-template-columns:repeat(3,1fr)}@media(max-width:680px){.state-switch select{width:100%;padding:5px 8px}.masthead .brand{font-size:14px}.brand small{font-size:8px;letter-spacing:1px}.masthead .state-switch{padding:2px}}

.seat-totals.has-other{grid-template-columns:repeat(2,1fr)}
