/* One shared grid across the reader site. Maps use all available content width. */
body[data-access=public]{--atlas-gutter:24px}
body[data-access=public] .desk-masthead,body[data-access=public] .desk-workspace-nav,body[data-access=public] main#main{box-sizing:border-box!important;width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important;padding-left:var(--atlas-gutter)!important;padding-right:var(--atlas-gutter)!important}
body[data-access=public] .desk-primary-nav{padding-left:var(--atlas-gutter)!important;padding-right:var(--atlas-gutter)!important;gap:30px}
body[data-access=public] .desk-workspace-nav{gap:24px;justify-content:flex-start}
body[data-access=public] .page-heading{margin-top:12px;margin-bottom:18px;padding-left:0;padding-right:0}
body[data-access=public] .page-heading h1{font-size:28px!important;line-height:1.25;letter-spacing:-.7px}
body[data-access=public] .page-heading p{margin-bottom:0;max-width:900px}
body[data-view=coalition] .studio-header{display:none}
body[data-view=coalition] #coalitionContent #csResults{display:none!important}
body[data-view=coalition] .studio-workspace{grid-template-columns:300px minmax(0,1fr)!important}
body[data-view=coalition] .studio-workspace.studio-controls-closed{grid-template-columns:minmax(0,1fr)!important}
body[data-view=coalition] .studio-map-layout{grid-template-columns:minmax(0,1fr) 300px!important}
body[data-view=coalition] .studio-map-detail{position:sticky;top:12px;align-self:start;max-height:calc(100svh - 24px);overflow:auto}
body[data-view=coalition] .studio-map-options{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}
body[data-view=coalition] .studio-map-topline{padding:12px 16px;min-height:90px}
body[data-view=coalition] .studio-map-context>strong{font-size:17px!important}
body[data-view=coalition] .studio-map-frame{background:#dce7e9}
body[data-view=coalition] .studio-map-frame>svg{height:clamp(640px,calc(100svh - 220px),960px)}
body[data-view=coalition] .studio-legend{padding:10px 16px}
body[data-view=coalition] .studio-playback{padding:12px 16px}
body[data-view=coalition] .studio-footer{padding:9px 16px}
.studio-map-detail [data-studio-totals] [class*=candidate]{min-width:0}
.pm-map-content[hidden],.pm-layout[hidden],.pm-results-content[hidden],.pm-method[hidden]{display:none!important}
.pm-layout{grid-template-columns:minmax(0,1fr) 310px}
.pm-display{flex-wrap:wrap}
.cp-world-map{width:100%;height:470px;border:1px solid #dce5eb;border-radius:7px}
.scenario-shelf{position:relative;overflow:visible;margin-bottom:12px}
.scenario-shelf-toolbar{padding:8px 12px;padding-right:55px;border-bottom:0;min-height:54px}
.scenario-shelf button small{display:inline;margin-left:6px}
.scenario-shelf-settings{position:absolute;top:12px;right:12px;z-index:8}
.scenario-shelf-settings>summary{cursor:pointer;list-style:none;width:29px;height:29px;border:1px solid #d5e0e7;border-radius:4px;background:#fff;text-align:center;padding:4px;color:#496a7c;font-size:15px!important}
.scenario-shelf-settings>summary::-webkit-details-marker{display:none}
.scenario-shelf-settings .scenario-shelf-caption{position:absolute;right:0;top:38px;display:block;width:300px;padding:16px;background:#fff;border:1px solid #d5e0e7;border-radius:7px;box-shadow:0 8px 24px #17374720}
.scenario-shelf-settings .scenario-shelf-caption label{display:block}
.scenario-shelf-settings .scenario-shelf-caption input{width:100%;margin-bottom:10px}
.scenario-shelf-status:empty{display:none}
body[data-view=map] .election-map-section{margin-bottom:0}
body[data-view=map] .election-map-layout{grid-template-columns:minmax(0,1fr) 320px;gap:0;align-items:start;border:1px solid #dce5eb;border-radius:8px;background:#fff;overflow:clip}
body[data-view=map] .map-canvas-panel{border:0;border-radius:0;min-width:0}
body[data-view=map] .map-frame{height:clamp(640px,calc(100svh - 220px),960px);min-height:640px}
body[data-view=map] .map-results-panel{border:0;border-left:1px solid #dce5eb;border-radius:0;position:sticky;top:12px;align-self:start;max-height:calc(100svh - 24px);overflow:auto;background:#fff}
body[data-view=map] .results-stat-strip{display:grid!important;grid-template-columns:1fr 1fr!important;gap:0;margin:0;border-bottom:1px solid #dce5eb}
body[data-view=map] .results-stat-strip>article{border:0;border-radius:0;box-shadow:none;padding:14px!important;background:#fff;min-width:0}
body[data-view=map] .results-stat-strip>article>span{display:block;font-size:10px!important;letter-spacing:.6px;padding:0;border:0}
body[data-view=map] .results-stat-strip strong{display:block;font-size:23px!important;margin:9px 0 5px;padding:0;line-height:1.2}
body[data-view=map] .results-stat-strip small{font-size:10px!important;line-height:1.5;padding:0}
body[data-view=map] .map-no-results{padding:20px 18px;min-height:0}
body[data-view=map] .map-no-results p{font-size:13px!important;line-height:1.7}
body[data-view=map] .map-no-results h3{font-size:18px!important}
body[data-view=map] .map-no-results .no-results-mark{display:none}
body[data-view=map] .map-canvas-footer{padding:9px 16px;font-size:11px!important}
.atlas-data-button{margin-left:auto;white-space:nowrap;border:1px solid #ccdae2;border-radius:5px;background:#fff;color:#24566b;padding:10px 14px;font-size:13px!important}
#mapSummaryPanel[hidden],#mapHoverPanel[hidden]{display:none!important}
.atlas-map-hover{padding:20px}.atlas-map-hover header{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #e1e8ed;padding-bottom:14px}.atlas-map-hover header p{font-size:10px!important;letter-spacing:.7px;color:#6b8191;margin:0 0 8px}.atlas-map-hover h3{font-size:23px!important;margin:0}.atlas-map-hover header button{background:#fff;border:1px solid #dce5eb;border-radius:4px;align-self:start;padding:1px 8px;color:#61798a}.atlas-map-hover dl{margin:20px 0}.atlas-map-hover dl>div{display:flex;justify-content:space-between;gap:10px;margin:14px 0}.atlas-map-hover dt{font-size:12px!important;color:#6b8191}.atlas-map-hover dd{margin:0;font-size:14px!important;font-weight:700}.atlas-map-hover>a{display:inline-block;color:#176c75;font-size:13px!important;font-weight:700;text-decoration:underline;text-underline-offset:4px}.atlas-map-hover>p{font-size:12px!important;color:#6b8191;line-height:1.6}
.atlas-data-dialog{width:min(1240px,calc(100vw - 48px));max-height:calc(100svh - 48px);padding:0;border:1px solid #dce5eb;border-radius:10px;color:#193c50;background:#f5f8fa}.atlas-data-dialog::backdrop{background:#15334680}.atlas-data-dialog>header{display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;padding:18px 24px;background:#fff;border-bottom:1px solid #dce5eb;z-index:3}.atlas-data-dialog header p{font-size:10px!important;letter-spacing:1px;margin:0 0 5px}.atlas-data-dialog header h2{font-size:22px!important;margin:0}.atlas-data-dialog header button{border:1px solid #dce5eb;background:#fff;border-radius:5px;padding:3px 10px}.atlas-data-dialog-body{padding:20px 24px}.atlas-data-dialog .region-results-section{margin:0}.atlas-data-dialog .map-results-notes{padding:16px 0;font-size:13px!important}
@media(max-width:1150px) and (min-width:701px){body[data-view=coalition] .studio-workspace{grid-template-columns:270px minmax(0,1fr)}body[data-view=coalition] .studio-map-layout{grid-template-columns:minmax(0,1fr) 255px!important}.studio-top-toolbar{flex-wrap:wrap}.studio-map-options label{font-size:12px!important}.pm-layout,body[data-view=map] .election-map-layout{grid-template-columns:minmax(0,1fr) 280px}}
@media(max-width:900px){body[data-view=coalition] .studio-map-layout{grid-template-columns:minmax(0,1fr)!important}body[data-view=coalition] .studio-map-detail{position:static;max-height:none}body[data-view=coalition] .studio-workspace{grid-template-columns:minmax(0,1fr)}body[data-view=coalition] .studio-tabbed-controls{position:static;height:auto;min-height:0;max-height:650px}.pm-layout,body[data-view=map] .election-map-layout{grid-template-columns:minmax(0,1fr)}.pm-layout>aside,body[data-view=map] .map-results-panel{position:static;max-height:none;border-left:0;border-top:1px solid #dce5eb}}
@media(max-width:700px){body[data-access=public]{--atlas-gutter:12px}body[data-access=public] .desk-primary-nav{gap:0}body[data-access=public] .desk-workspace-nav{gap:20px}body[data-access=public] .page-heading h1{font-size:24px!important}body[data-view=map] .map-frame{height:560px;min-height:70svh}.atlas-data-button{margin-left:0}.atlas-data-dialog{width:calc(100vw - 20px);max-height:calc(100svh - 20px)}.atlas-data-dialog-body{padding:14px}.studio-map-topline{display:block!important}.studio-map-options{margin-top:12px;justify-content:flex-start!important}}

body[data-access=public] .atlas-world-map .atlas-world-credit,body[data-access=public] .atlas-world-map .atlas-world-credit a{font-size:10px!important;line-height:1.5}
body[data-access=public] .studio-map-detail .map-results-card :is(p,span,small,dt,dd,a){font-size:12px!important;line-height:1.6}
body[data-access=public] .studio-map-detail .map-results-card :is(strong,b){font-size:14px!important;line-height:1.5}
body[data-access=public] .studio-map-detail .map-results-card header p{font-size:10px!important;letter-spacing:.5px}
body[data-access=public] .studio-map-detail .map-results-card header h3{font-size:20px!important}
body[data-access=public] .studio-map-detail .map-results-card .map-results-open{font-size:11px!important;padding:4px 6px}
body[data-access=public] .studio-map-detail .map-results-candidate>div>span{font-size:11px!important}
body[data-access=public] .studio-map-detail .map-results-footnote{font-size:10px!important}
body[data-access=public] .pm-layout aside .map-results-card :is(p,span,small,dt,dd,a){font-size:12px!important;line-height:1.6}
body[data-access=public] .pm-layout aside .map-results-card :is(strong,b){font-size:14px!important}
.studio-actions-overflow,.studio-map-settings-toggle{display:none}
body[data-access=public]:is([data-view=coalition],[data-view=forecast],[data-view=map]) .page-heading{position:absolute!important;width:1px!important;height:1px!important;margin:0!important;padding:0!important;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.scenario-shelf-modes:has([data-shelf-mode=side]:disabled){display:none}
@media(max-width:700px){
 body[data-access=public] .desk-masthead{padding-top:10px;padding-bottom:10px;gap:12px;min-height:0}
 body[data-access=public] .desk-brand>span:last-child,body[data-access=public] .desk-brand-light{font-size:23px!important}
 body[data-access=public] .desk-brand small{font-size:8px!important;margin-top:6px}
 body[data-access=public] .desk-masthead .election-year-button{font-size:13px!important;min-height:38px;padding:6px 9px}
 body[data-access=public] .desk-primary-nav .nav-item{min-height:40px;padding-top:10px;padding-bottom:8px;font-size:13px!important}
 body[data-access=public] .desk-primary-nav .desk-live-status{min-height:32px;padding:3px 0;gap:8px;justify-content:space-between}
 body[data-access=public] .desk-primary-nav .desk-live-status span{font-size:10px!important;white-space:nowrap}
 body[data-access=public] .desk-primary-nav .desk-live-status button{width:28px;height:28px;min-height:28px;padding:4px}
 body[data-access=public] .desk-workspace-nav{min-height:42px}
 body[data-view=coalition] .studio-main{padding:0!important}
 body[data-view=coalition] .studio-top-toolbar{position:relative;display:grid;grid-template-columns:40px minmax(0,1fr) 36px;gap:8px;padding:10px 12px}
 body[data-view=coalition] .studio-top-toolbar .studio-tabs{grid-column:2;grid-row:1;gap:12px;justify-content:center}
 body[data-view=coalition] .studio-top-toolbar .studio-tabs button{font-size:12px!important;min-height:36px;padding:8px 0}
 body[data-view=coalition] .studio-top-toolbar .studio-controls-toggle{grid-column:1;grid-row:1}
 body[data-view=coalition] .studio-search{grid-column:1/-1;grid-row:2;width:100%;margin:0}
 body[data-view=coalition] .studio-search input{min-height:36px;font-size:13px!important}
 body[data-view=coalition] .studio-actions-overflow{display:block;grid-column:3;grid-row:1;padding:0;width:36px;height:36px;background:#fff;border:1px solid #ccdae3;border-radius:4px;color:#28566c;font-size:22px!important}
 body[data-view=coalition] .studio-top-toolbar .studio-export-actions{display:none!important;position:absolute;z-index:15;right:12px;top:52px;min-width:150px;padding:8px;background:#fff;border:1px solid #d6e2e9;border-radius:6px;box-shadow:0 6px 18px #193b5125}
 body[data-view=coalition] .studio-top-toolbar:has(.studio-actions-overflow[aria-expanded=true]) .studio-export-actions{display:grid!important;gap:5px}
 body[data-view=coalition] .studio-map-topline{position:relative;min-height:80px;padding:12px 48px 12px 12px;display:block!important}
 body[data-view=coalition] .studio-map-context>span{font-size:9px!important;line-height:1.5}
 body[data-view=coalition] .studio-map-context>small{font-size:11px!important}
 body[data-view=coalition] .studio-map-settings-toggle{display:block;position:absolute;right:12px;top:18px;width:30px;height:30px;background:#fff;border:1px solid #d3e0e7;border-radius:4px;padding:2px;font-size:17px!important;color:#375b6d}
 body[data-view=coalition] .studio-map-topline .studio-map-options{display:none!important;position:absolute;top:70px;left:0;right:0;z-index:12;margin:0;padding:14px;background:#fff;border:1px solid #d6e2e9;box-shadow:0 6px 18px #193b5120}
 body[data-view=coalition] .studio-map-topline:has(.studio-map-settings-toggle[aria-expanded=true]) .studio-map-options{display:grid!important;gap:12px}
 body[data-view=coalition] .studio-map-options label{display:flex;justify-content:space-between;gap:8px;font-size:12px!important}
 body[data-view=coalition] .studio-map-options select{min-width:0;font-size:13px!important}
 .scenario-shelf-toolbar{min-height:52px;gap:7px}.scenario-shelf button{font-size:12px!important;min-height:32px;padding:6px 9px}
 .scenario-shelf-modes{overflow-x:auto;max-width:100%;flex-wrap:nowrap}.scenario-shelf-modes button{white-space:nowrap;font-size:10px!important}
}
/* Reporting explorer: one control rail, geographic canvas and a focused inspector. */
body[data-view=map] .map-explorer.election-map-section{padding:0!important;border:1px solid #d0dee7;border-radius:9px;background:#fff;box-shadow:0 5px 20px #1b3f5010;overflow:clip}
body[data-view=map] .map-explorer-heading.section-title-row{display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;column-gap:14px;row-gap:5px;padding:16px 20px;margin:0;background:#fff;border-bottom:1px solid #d7e3eb;min-height:78px}
body[data-view=map] .map-explorer-heading .section-kicker{display:none}
body[data-view=map] .map-explorer-heading h2{font-size:24px!important;line-height:1.2;margin:0;color:#173e51;font-weight:750}
body[data-view=map] .map-explorer-heading #mapBreadcrumbs{grid-column:2;grid-row:2;margin:0;padding:0;border:0;gap:7px;font-size:12px!important;justify-content:flex-start}
body[data-view=map] .map-explorer-heading #mapBreadcrumbs button{font-size:12px!important;min-height:20px;padding:0;color:#57778b}
body[data-view=map] .map-explorer-heading #mapBreadcrumbs button[aria-current]{color:#087c6c;font-weight:700}
.map-rail-toggle{grid-column:1;grid-row:1/3;display:flex;align-items:center;justify-content:center;width:38px;height:38px;border:1px solid #cbdce5;background:#f7fafc;border-radius:5px;color:#315e74;cursor:pointer;padding:7px}
.map-explorer-workspace{display:grid;grid-template-columns:224px minmax(0,1fr);align-items:stretch}.map-explorer-workspace.is-controls-closed{grid-template-columns:minmax(0,1fr)}
.map-explorer-rail{padding:18px 14px;background:#f3f7fa;border-right:1px solid #d7e3eb;min-width:0}.map-explorer-rail[hidden]{display:none!important}.map-rail-title{padding:0 6px 12px}.map-rail-title>span{font-size:10px!important;letter-spacing:1px;font-weight:800;color:#446c81}.map-rail-title p{font-size:12px!important;line-height:1.6;color:#6a8494;margin:8px 0 0}
body[data-access=public] .map-explorer-rail .map-search{min-width:0!important;max-width:none!important;width:100%;border:1px solid #cedde7;border-radius:5px;background:#fff;padding:8px;display:flex;margin:0 0 18px;gap:6px;height:42px}
.map-explorer-rail .map-search input{width:100%;min-width:0;height:auto;border:0;background:transparent;font-size:12px!important;padding:0;color:#234c60}.map-explorer-rail .map-search>span{width:16px;height:16px;flex:none;display:none}
body[data-view=map] .map-explorer-rail .map-control-row{display:flex;flex-direction:column;gap:18px;padding:0;margin:0;border:0;align-items:stretch}
body[data-access=public] .map-explorer-rail .map-layer-tabs{display:flex;flex-direction:column;overflow:visible;gap:4px;border:0;padding:0}
body[data-access=public] .map-explorer-rail .map-layer-tabs button{display:flex;align-items:center;justify-content:flex-start;gap:10px;text-align:left;padding:10px 12px;border:0;border-left:3px solid transparent;border-radius:4px;color:#4d6d7f;background:transparent;font-size:13px!important;min-height:40px}
body[data-access=public] .map-explorer-rail .map-layer-tabs button.active{background:#dcefe9;border-left-color:#08806c;color:#096f65;font-weight:750}
body[data-access=public] .map-explorer-rail .map-layer-tabs button:hover{background:#e6eff4}.map-explorer-rail .map-layer-tabs svg{flex:none;width:18px;height:18px}
body[data-access=public] .map-explorer-rail .public-map-options{display:block!important;padding:16px 5px 0;margin:0;border:0;border-top:1px solid #d5e1e9;background:transparent}
body[data-access=public] .map-explorer-rail .public-map-options>summary{display:none}
body[data-access=public] .map-explorer-rail .map-select-controls{display:grid!important;grid-template-columns:minmax(0,1fr);gap:16px}
body[data-access=public] .map-explorer-rail .map-select-controls label{display:grid;gap:6px;margin:0;font-size:11px!important;color:#59798b}
body[data-access=public] .map-explorer-rail .map-select-controls select{width:100%;min-width:0;font-size:12px!important;height:40px;border:1px solid #cbdde6;border-radius:5px;background:#fff;padding:8px;color:#214c61}
body[data-view=map] .map-explorer-rail .atlas-data-button{margin:0;width:100%;background:#fff;text-align:center;font-size:12px!important;padding:10px;min-height:40px}
.map-explorer-main{min-width:0;background:#eaf1f4}.map-explorer-main #mapError:not([hidden]){margin:12px}
body[data-view=map] .map-explorer-main .election-map-layout{border:0;border-radius:0;grid-template-columns:minmax(0,1fr) 300px}
body[data-view=map] .map-explorer-main .map-frame{height:clamp(660px,calc(100svh - 300px),1000px)}
/* Fit the complete country below the live header, including its coastal counties. */
@media(min-width:801px){body[data-view=map] .map-explorer-main{--atlas-map-height:clamp(560px,70svh,900px)}body[data-view=map] .map-explorer-main .map-frame{height:var(--atlas-map-height);min-height:560px}body[data-view=map] .map-explorer-main .map-results-panel{max-height:calc(var(--atlas-map-height) + 90px)}}
body[data-view=map] .election-map-layout[hidden],#mapWardStations[hidden],#mapWardLayers[hidden]{display:none!important}
body[data-view=map] .is-station-view .map-explorer-rail .public-map-options{display:none!important}
#mapDetailTools:not(:has([hidden])){margin-top:20px}#mapDetailTools .map-ward-layer-switch{display:grid;gap:6px;padding:16px 5px 0;border-top:1px solid #d5e1e9}#mapDetailTools .map-ward-layer-switch button{width:100%;justify-content:flex-start;font-size:12px!important}#mapDetailTools .map-ward-layer-switch small{margin:5px 0 0;font-size:10px!important;line-height:1.6}
.map-explorer-main .ws-shell{border:0;border-radius:0}.map-explorer-main .ws-heading{min-height:62px;padding:12px 18px;background:#f9fbfc}.map-explorer-main .ws-heading .ws-eyebrow{display:none}.map-explorer-main .ws-heading h2{font-size:17px!important;margin:0 0 4px}.map-explorer-main .ws-heading p{font-size:11px!important}.map-explorer-main .ws-evidence{font-size:10px!important}.map-explorer-main .ws-evidence select{height:38px;padding:6px 9px;font-size:12px!important;min-width:195px}.map-explorer-main .ws-stat-strip>div{padding:12px 18px}.map-explorer-main .ws-stat-strip strong{font-size:22px!important;margin:4px 0}.map-explorer-main .ws-stat-strip small{font-size:9px!important}.map-explorer-main .ws-layout{grid-template-columns:minmax(0,1fr) 300px}.map-explorer-main .ws-map{height:clamp(640px,calc(100svh - 380px),940px)}
.ws-inspector{border-left:1px solid #d9e5ec;min-width:0;background:#fff;position:sticky;top:0;align-self:start;max-height:900px;overflow:auto;overflow-anchor:none}
.ws-inspector .ws-toolbar{padding:15px;border-bottom:1px solid #dce6ec;gap:12px;background:#f7fafc;display:grid;grid-template-columns:auto 1fr;align-items:center}.ws-inspector .ws-toolbar>label{grid-column:1/-1;min-width:0;margin:0;font-size:11px!important}.ws-inspector .ws-toolbar input,.ws-inspector .ws-toolbar select{font-size:12px!important}.ws-inspector .ws-toolbar button{height:34px;font-size:11px!important;padding:6px 10px}.ws-inspector .ws-toolbar>span{font-size:10px!important;padding:0;text-align:right}.ws-inspector .ws-detail{position:static;border:0;max-height:none;overflow:visible;padding:18px}.ws-inspector .ws-detail h3{font-size:18px!important}
@media(max-width:1050px){.map-explorer-workspace{grid-template-columns:190px minmax(0,1fr)}.map-explorer-rail{padding:15px 10px}.map-explorer-main .ws-layout,body[data-view=map] .map-explorer-main .election-map-layout{grid-template-columns:minmax(0,1fr) 265px}.map-explorer-main .ws-heading{flex-wrap:wrap}.map-explorer-main .ws-map{height:640px}}
@media(max-width:800px){.map-explorer-workspace{grid-template-columns:minmax(0,1fr)}.map-explorer-rail{border-right:0;border-bottom:1px solid #d7e3eb}.map-rail-title{display:none}body[data-access=public] .map-explorer-rail .map-layer-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px}body[data-access=public] .map-explorer-rail .map-layer-tabs button{justify-content:center;flex-direction:column;padding:8px 3px;gap:5px;font-size:11px!important}body[data-view=map] .map-explorer-rail .map-control-row{gap:12px}.map-explorer-rail .map-search{margin-bottom:12px!important}.map-explorer-rail .atlas-data-button{width:auto!important}body[data-access=public] .map-explorer-rail .map-select-controls{grid-template-columns:1fr 1fr}#mapDetailTools .map-ward-layer-switch{display:flex;flex-wrap:wrap;gap:6px}#mapDetailTools .map-ward-layer-switch button{width:auto}#mapDetailTools .map-ward-layer-switch small{display:none}.map-explorer-main .ws-layout,body[data-view=map] .map-explorer-main .election-map-layout{grid-template-columns:1fr}.ws-inspector{position:static;max-height:none;border-left:0;border-top:1px solid #d9e5ec}.ws-inspector .ws-toolbar{grid-template-columns:1fr 1fr}.ws-inspector .ws-toolbar>label{grid-column:auto}.map-explorer-main .ws-map{height:560px}.map-explorer-main .ws-stat-strip>div{padding:10px}.map-explorer-main .ws-stat-strip strong{font-size:20px!important}body[data-view=map] .map-explorer-heading.section-title-row{padding:12px}.map-explorer-main .ws-heading{gap:12px}}
/* Keep the workspace compact despite shared form and typography defaults. */
/* National Form 34C has no local reporting polygons of its own. */
#mapNationalDeclaration[hidden]{display:none!important}
.map-explorer-rail button:disabled,.map-explorer-rail input:disabled,.map-explorer-rail select:disabled{opacity:.55;cursor:not-allowed}
.national-declaration{padding:26px;background:#f5f8fa;min-height:560px;color:#193c50}
.national-declaration>header{display:flex;justify-content:space-between;align-items:start;gap:20px;margin-bottom:24px}
.national-declaration header h2{font-size:25px!important;line-height:1.3;margin:6px 0 10px}
.national-declaration header p{font-size:13px!important;line-height:1.6;margin:0;color:#607e90}
.national-declaration header p:first-child{font-size:10px!important;letter-spacing:1px;font-weight:700}
.declaration-badge{background:#e2edf2;border:1px solid #cbdee7;color:#315d74;font-size:10px!important;letter-spacing:.5px;font-weight:750;padding:8px 10px;border-radius:5px;white-space:nowrap}
.declaration-steps{display:flex;align-items:center;gap:14px;padding:16px;background:#fff;border:1px solid #d7e3eb;border-radius:6px;margin-bottom:20px}
.declaration-steps span{font-size:12px!important;color:#708695;display:flex;align-items:center;gap:8px}.declaration-steps b{font-size:14px!important}.declaration-steps .active{color:#087767;font-weight:700}
.declaration-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.declaration-stats>div{padding:17px;background:#fff;border:1px solid #d7e3eb;border-radius:6px;min-width:0}.declaration-stats span{font-size:11px!important;color:#617f90;display:block}.declaration-stats strong{font-size:24px!important;line-height:1.3;display:block;margin-top:10px;font-variant-numeric:tabular-nums}
.declaration-empty{text-align:center;padding:42px 20px}.declaration-empty>div{width:66px;height:72px;display:grid;place-items:center;border:1px solid #c9dce5;background:#fff;border-radius:7px;color:#7290a1;margin:0 auto 20px;font-weight:750}.declaration-empty h3{font-size:20px!important;line-height:1.4;margin:0 0 12px}.declaration-empty p{font-size:13px!important;color:#607c8d;line-height:1.6}
.declaration-candidates{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:22px 0}.declaration-candidates article{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:8px 13px;padding:18px;background:#fff;border:1px solid #d7e3eb;border-left:3px solid var(--declaration-color);border-radius:6px}.declaration-candidates .candidate-portrait{width:48px;height:60px;margin:0;grid-row:1/3}.declaration-candidates article>div:not(.declaration-track){grid-column:2}.declaration-candidates strong{display:block;font-size:14px!important}.declaration-candidates span{display:block;font-size:11px!important;color:#6c8798;margin-top:6px}.declaration-candidates b{font-size:22px!important}.declaration-track{grid-column:2/-1;height:6px;background:#e1eaf0;border-radius:3px;overflow:hidden}.declaration-track i{display:block;height:100%;background:var(--declaration-color)}
.national-declaration footer{border-top:1px solid #d7e3eb;padding-top:16px}.national-declaration footer p,.national-declaration footer a{font-size:11px!important;line-height:1.7;color:#5b7b8f}.national-declaration footer a{display:inline-block;margin-top:8px;color:#22677c}
@media(max-width:900px){.declaration-stats{grid-template-columns:1fr 1fr}.declaration-candidates{grid-template-columns:1fr}.declaration-steps{flex-wrap:wrap;gap:10px}.national-declaration>header{flex-wrap:wrap}.national-declaration{padding:20px}}
body[data-access=public] #mapView .map-explorer :is(input,select){margin:0!important;font-size:13px!important;line-height:1.4!important}
body[data-access=public] #mapView .map-explorer-heading.section-title-row{min-height:68px;padding:10px 18px;row-gap:3px}
body[data-access=public] #mapView .map-explorer-heading #mapBreadcrumbs{line-height:1.4;min-height:18px}
body[data-access=public] #mapView .map-explorer-heading #mapBreadcrumbs :is(button,span){font-size:11px!important;line-height:1.4!important;min-height:18px}
body[data-access=public] #mapView .ws-heading{padding:10px 18px;min-height:62px}
body[data-access=public] #mapView .ws-evidence{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:9px;line-height:1.3!important;font-size:11px!important}
body[data-access=public] #mapView .ws-evidence select{min-height:36px;height:36px;font-size:12px!important}
body[data-access=public] #mapView .ws-stat-strip>div{padding:10px 18px}
body[data-access=public] #mapView .ws-stat-strip span{font-size:11px!important;line-height:1.4!important}
body[data-access=public] #mapView .ws-stat-strip strong{line-height:1.2!important;font-size:23px!important;margin:4px 0}
body[data-access=public] #mapView .ws-stat-strip small{font-size:10px!important;line-height:1.3!important}
body[data-access=public] #mapView .map-rail-title>span{font-size:10px!important;letter-spacing:1px}
body[data-access=public] #mapView .map-layer-tabs button>span{font-size:13px!important}
body[data-access=public] #mapView .ws-toolbar input,body[data-access=public] #mapView .ws-toolbar select{height:38px;min-height:38px;font-size:12px!important}
body[data-access=public] #nationalResultsBanner .nr-reporting strong{line-height:1.1!important}
body[data-access=public] #nationalResultsBanner .nr-reporting>div:first-child{min-height:32px}
body[data-access=public] #nationalResultsBanner .nr-reporting small{line-height:1.4!important}
body[data-access=public][data-view=map] #nationalResultsBanner .nr-banner{padding-top:13px;padding-bottom:13px}
@media(max-width:600px){body[data-access=public] #mapView .ws-evidence{width:100%}body[data-access=public] #mapView .ws-stat-strip>div{padding:10px}body[data-access=public] #mapView .ws-stat-strip strong{font-size:20px!important}body[data-access=public] #mapView .map-layer-tabs button>span{font-size:11px!important}}

.is-declaration-view .atlas-data-button{display:none!important}

/* Let the Results explorer meet both viewport edges without changing the
   shared page gutters used by other workspaces. */
body[data-access=public][data-view=map] #mapView>.election-map-section{width:calc(100% + var(--atlas-gutter) + var(--atlas-gutter));max-width:none;box-sizing:border-box;margin-left:calc(-1 * var(--atlas-gutter));margin-right:calc(-1 * var(--atlas-gutter));border-radius:0;border-left:0;border-right:0;box-shadow:none}

/* Keep accepted-year figures together and date the register separately. */
body[data-view=map] .map-explorer-main .results-stat-strip>article:has(#mapReporting){grid-column:1/-1}
body[data-view=map] .map-explorer-main .results-stat-strip>article:has(#mapRegistered){grid-column:1/-1;background:#f4f7f9;border-top:1px solid #dce5eb}
body[data-view=map] .map-explorer-main .results-stat-strip small{display:block}

/* One compact inspector, shared by area previews and the selected result. */
.map-results-panel .map-result-icon{width:15px;height:15px;flex:0 0 15px;display:inline-block;vertical-align:middle}
body[data-view=map] .map-results-panel .map-results-heading{padding:16px 16px 12px}
body[data-view=map] .map-results-panel .map-results-heading h3{font-size:20px!important;line-height:1.25;margin:8px 0 4px}
body[data-view=map] .map-results-panel .result-status{padding:5px 8px;font-size:10px!important;line-height:1.4}
.map-results-panel .atlas-map-hover{padding:12px}
.map-results-panel .atlas-map-hover>header{padding-bottom:10px;gap:12px}
.map-results-panel .atlas-map-hover>header p{display:flex;align-items:center;gap:6px;font-size:10px!important;margin:0 0 4px;letter-spacing:.2px}
.map-results-panel .atlas-map-hover>header h3{font-size:20px!important;line-height:1.25;letter-spacing:-.3px;margin:0}
.map-results-panel .atlas-map-hover>header button{display:grid;place-items:center;width:28px;height:28px;min-width:28px;min-height:28px;padding:0;font-size:18px!important;line-height:1}
.map-results-panel .map-result-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0 6px}
.map-results-panel .map-result-metrics>div{display:block;min-width:0;margin:0;padding:9px 10px;background:#f4f8fa;border:1px solid #e1eaee;border-radius:5px}
.map-results-panel .map-result-metrics dt{display:flex;align-items:center;gap:5px;color:#627e8d;font-size:10px!important;line-height:1.3}
.map-results-panel .map-result-metrics dt .map-result-icon{width:13px;height:13px;flex-basis:13px}
.map-results-panel .map-result-metrics dt>span{font-size:10px!important;line-height:1.3!important}
.map-results-panel .map-result-metrics dd{margin:5px 0 0;font-size:18px!important;font-weight:750;color:#183e50;line-height:1.2;letter-spacing:-.3px;font-variant-numeric:tabular-nums}
.map-results-panel .map-result-metrics .map-result-coverage-note{display:block;margin-top:5px;color:#6b8191;font-size:10px!important;font-weight:400;line-height:1.5;letter-spacing:0}
.map-results-panel .map-result-candidate{display:flex;align-items:center;gap:9px;padding:6px 0;margin:0;border-bottom:1px solid #e1e9ed;min-width:0}
.map-results-panel #mapCandidates{padding:0 16px}
.map-results-panel .map-result-candidate>.candidate-portrait,.map-results-panel .map-result-avatar{width:34px!important;height:43px!important;flex:0 0 34px!important;border-radius:4px;align-self:center}
.map-results-panel .map-result-avatar{display:grid;place-items:center;background:#edf2f5;border:1px solid #d4e0e7;color:#668292;box-sizing:border-box}
.map-results-panel .map-result-candidate-body{flex:1;min-width:0}
.map-results-panel .map-result-candidate .map-candidate-line{display:flex;align-items:start;gap:8px;line-height:1.35}
.map-results-panel .map-result-candidate .map-candidate-line strong{color:#193e50;font-size:12px!important;font-weight:650;line-height:1.35;overflow-wrap:break-word}
.map-results-panel .map-result-candidate .map-candidate-line b{font-size:14px!important;line-height:1.3;font-weight:750;letter-spacing:-.2px;color:#193e50;white-space:nowrap;font-variant-numeric:tabular-nums}
.map-results-panel .map-result-candidate .map-candidate-votes{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-top:2px;font-size:11px!important;line-height:1.35;color:#617f90}
.map-results-panel .map-result-candidate .map-candidate-votes>span{margin:0;font-size:11px!important;line-height:1.35;letter-spacing:0;color:inherit}
.map-results-panel .map-result-candidate .map-result-leading{display:inline-flex;align-items:center;gap:3px;color:#11786c!important;font-size:9px!important;font-weight:650;white-space:nowrap}
.map-results-panel .map-result-leading .map-result-icon{width:11px;height:11px;flex-basis:11px}
.map-results-panel .map-result-candidate .map-candidate-bar{height:4px;margin-top:3px;background:#edf2f5;border-radius:2px}
.map-results-panel .map-result-register{display:flex;align-items:center;gap:8px;padding:8px 0;margin-top:10px;border-top:1px solid #dce6eb;color:#718493}
.map-results-panel .map-result-register>div{display:flex;align-items:center;justify-content:space-between;gap:10px;flex:1;min-width:0}
.map-results-panel .map-result-register span{font-size:10px!important;line-height:1.35}
.map-results-panel .map-result-register strong{font-size:12px!important;font-weight:650;color:#58717f;font-variant-numeric:tabular-nums}
.map-results-panel .atlas-map-hover>.map-result-turnout{display:flex;align-items:center;gap:6px;margin:10px 0 0;font-size:10px!important;line-height:1.4;color:#688090}
.map-results-panel .map-result-turnout strong{margin-left:auto;color:#264f60;font-size:12px!important}
.map-results-panel .atlas-map-hover>.map-result-pending{font-size:12px!important;line-height:1.6;margin:14px 0}
.map-results-panel .atlas-map-hover>.map-result-open{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;box-sizing:border-box;margin-top:4px;padding:8px 10px;border:1px solid #c9dedf;border-radius:4px;background:#edf6f4;color:#126a66;font-size:12px!important;font-weight:650;text-decoration:none}
body[data-view=map] .map-explorer-main .map-results-panel .results-stat-strip{gap:0;margin:0;padding:0 16px 8px;border-bottom:1px solid #dce6eb}
body[data-view=map] .map-explorer-main .map-results-panel .results-stat-strip>article{padding:10px 0 5px;border:0;min-height:0}
body[data-view=map] .map-explorer-main .map-results-panel .results-stat-strip>article:has(#mapRegistered){padding:9px 10px;margin-top:6px;border:1px solid #e0e8ec;border-radius:4px;background:#f5f8fa}
body[data-view=map] .map-explorer-main .map-results-panel .results-stat-strip strong{font-size:19px!important;margin:5px 0;line-height:1.15}
body[data-view=map] .map-explorer-main .map-results-panel .results-stat-strip small{padding:0;font-size:10px!important;line-height:1.45}
body[data-view=map] .map-explorer-main .map-results-panel .results-stat-strip .map-result-stat-label{display:flex;align-items:center;gap:5px;font-size:9px!important;letter-spacing:.25px;line-height:1.4;padding:0;border:0}
.map-results-panel .map-ballot-detail{padding:10px 16px;margin:0}
.map-results-panel .map-ballot-detail>div{align-items:center;margin:7px 0;font-size:11px!important;line-height:1.4}
.map-results-panel .map-ballot-detail>div>span{display:flex;align-items:center;gap:6px}
.map-results-panel .map-ballot-detail b{font-size:12px!important;color:#264f60;font-variant-numeric:tabular-nums}
.map-results-panel .map-results-notes{padding:10px 16px;font-size:10px!important;line-height:1.6}
@media(min-width:801px){body[data-view=map] .map-explorer-main .map-results-panel{position:static;align-self:start;max-height:calc(var(--atlas-map-height) + 90px);scrollbar-width:thin;overscroll-behavior:contain}}
@media(max-width:800px){.map-results-panel .atlas-map-hover{padding:14px}.map-results-panel .map-result-candidate{padding:9px 0}.map-results-panel .map-result-candidate .map-candidate-line strong{font-size:13px!important}.map-results-panel .map-result-candidate .map-candidate-line b{font-size:15px!important}.map-results-panel .map-result-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
.map-polling-progress{position:absolute;right:12px;top:12px;z-index:5;max-width:220px;min-width:170px;padding:12px 14px;border:1px solid #cddfe6;border-radius:7px;background:#fffffff2;box-shadow:0 2px 9px #163b4b12;color:#193e50;pointer-events:none}
.map-polling-progress[hidden]{display:none}.map-polling-progress>span{display:block;font-size:10px!important;font-weight:650;letter-spacing:.3px}.map-polling-progress>strong{display:block;margin:5px 0;font-size:22px!important;line-height:1.2;font-variant-numeric:tabular-nums}.map-polling-progress>small{display:block;font-size:10px!important;line-height:1.5;color:#587684}.map-polling-progress progress{display:block;width:100%;height:5px;margin:8px 0;accent-color:#087e75;border:0;border-radius:4px;overflow:hidden}.map-polling-progress progress::-webkit-progress-bar{background:#e4eeef}.map-polling-progress progress::-webkit-progress-value{background:#087e75}.map-frame:has(.map-polling-progress:not([hidden]))>.map-north{top:130px}
@media(max-width:600px){.map-polling-progress{right:8px;top:8px;min-width:145px;max-width:180px;padding:9px 10px}.map-polling-progress>strong{font-size:19px!important}}
