/* Main reader refinements; existing office, intake and scenario layouts keep their own rules. */
.atlas-party-identity{display:inline-flex;align-items:center;gap:8px;vertical-align:middle;max-width:100%;color:inherit}
.atlas-party-symbol{width:30px;height:30px;object-fit:contain;background:#fff;border:1px solid #dce5eb;border-radius:4px;flex:none;padding:2px;box-sizing:border-box}
.atlas-party-name{display:grid;gap:1px;font-weight:650;line-height:1.35}
.atlas-party-name>span{font-weight:400;color:#627a8c;font-size:12px!important}
.atlas-party-fallback{display:inline-grid;place-items:center;width:30px;height:30px;border:1px solid #c4d2db;border-radius:4px;background:#f1f5f7;color:#496477;font-size:10px!important;font-weight:750;flex:none}
.atlas-party-identity.is-compact{gap:6px}.atlas-party-identity.is-compact .atlas-party-symbol,.atlas-party-identity.is-compact .atlas-party-fallback{width:24px;height:24px}
.map-result-party{margin:5px 0 2px;color:#526e80}.map-result-party .atlas-party-name{font-size:12px!important}
body[data-access=public][data-view=map] .reader-sticky-header{position:relative;top:auto;max-height:none;overflow:visible}
body[data-access=public][data-view=map] #nationalResultsBanner .nr-banner{padding:22px 28px 18px;border-top:0;background:#132f42}
body[data-access=public][data-view=map] #nationalResultsBanner .nr-header{padding:0;min-height:0;gap:18px}
body[data-access=public] #nationalResultsBanner .nr-rehearsal{display:inline-flex;align-items:center;gap:8px;margin:0 0 7px;color:#f9dc91!important;font-size:14px!important;letter-spacing:.035em;font-weight:750}
.nr-rehearsal:before{content:'';width:7px;height:7px;flex:none;border-radius:50%;background:currentColor}
body[data-access=public][data-view=map] #nationalResultsBanner .nr-eyebrow{font-size:12px!important;margin:0 0 3px;letter-spacing:.08em}
body[data-access=public][data-view=map] #nationalResultsBanner .nr-header h2{font-size:20px!important}
body[data-access=public][data-view=map] #nationalResultsBanner .nr-source-status{display:none}
body[data-access=public][data-view=map] #nationalResultsBanner .nr-reporting{width:260px;flex:none}
body[data-access=public][data-view=map] #nationalResultsBanner .nr-reporting small{font-size:12px!important;line-height:1.5}
body[data-access=public][data-view=map] #nationalResultsBanner .nr-reporting>div>span{font-size:12px!important}
.nr-executive{display:none}
body[data-access=public][data-view=map] #nationalResultsBanner .nr-executive{display:grid;grid-template-columns:1fr 1fr .75fr;gap:0;margin-top:19px;border-top:1px solid #365365;padding-top:17px}
.nr-executive-candidate{display:flex;align-items:center;gap:14px;min-width:0;padding:0 24px;border-left:1px solid #365365}
.nr-executive-candidate:first-child{padding-left:0;border-left:0}
.nr-executive-candidate .candidate-portrait{width:46px;height:58px;flex:none}
body[data-access=public] #nationalResultsBanner .nr-executive-candidate strong{font-size:30px!important;color:#f4f9fc;line-height:1.2;font-variant-numeric:tabular-nums;letter-spacing:-.03em}
.nr-executive-identity{min-width:0;display:grid;gap:4px}
body[data-access=public] #nationalResultsBanner .nr-executive-identity h3{font-size:16px!important;line-height:1.35;min-height:0;margin:0;color:#f4f9fc}
body[data-access=public] #nationalResultsBanner .nr-executive-identity small{font-size:13px!important;color:#bdd0dc}
.nr-executive-identity .atlas-party-identity{font-size:12px!important}
.nr-executive-identity .atlas-party-symbol{width:22px;height:22px}
.nr-executive-party{display:flex;flex-direction:column;align-items:flex-start;gap:4px;color:#bdd0dc;font-size:12px!important}
.nr-executive-party>.atlas-party-identity+small{display:block;margin-inline-start:29px}
.nr-margin{display:grid;align-content:center;gap:5px;padding:0 24px;border-left:1px solid #365365;color:#bcd0dc}
body[data-access=public] #nationalResultsBanner .nr-margin :is(span,small){color:#c1d6df!important}
body[data-access=public] #nationalResultsBanner .nr-margin span{font-size:13px!important}
body[data-access=public] #nationalResultsBanner .nr-margin strong{font-size:30px!important;color:#69dfc1;line-height:1.2;font-variant-numeric:tabular-nums}
body[data-access=public] #nationalResultsBanner .nr-margin small{font-size:13px!important}
.nr-context-line{display:none}
body[data-access=public][data-view=map] #nationalResultsBanner .nr-context-line{display:flex;gap:20px;flex-wrap:wrap;margin:15px 0 0;padding-top:12px;border-top:1px solid #365365;color:#abc5d3;font-size:12px!important}
body[data-access=public][data-view=map] #nationalResultsBanner .nr-context-line span{font-size:12px!important}
body[data-access=public][data-view=map] .map-explorer-heading.section-title-row{padding:14px 20px;min-height:72px;grid-template-columns:38px minmax(0,1fr) auto}
body[data-view=map] .map-intelligence{grid-column:3;grid-row:1/3;position:relative}
body[data-view=map] .map-intelligence>summary{cursor:pointer;list-style:none;border:1px solid #bcd8dc;border-radius:5px;padding:9px 13px;color:#087d76;background:#f0f9f7;font-size:14px!important}
.map-intelligence>summary::-webkit-details-marker{display:none}
.map-intelligence-links{position:absolute;right:0;top:calc(100% + 8px);z-index:45;width:310px;padding:8px;background:#fff;border:1px solid #cbdde4;border-radius:8px;box-shadow:0 12px 35px #173b4c24}
.map-intelligence-links a{display:grid;gap:3px;padding:12px;color:#173e51;text-decoration:none;border-radius:4px;font-size:14px!important}
.map-intelligence-links a:hover,.map-intelligence-links a:focus-visible{background:#edf6f5}
.map-intelligence-links small{font-size:12px!important;color:#617c8b}
body[data-access=public][data-view=map] .map-explorer-workspace{grid-template-columns:200px minmax(0,1fr)}
body[data-access=public][data-view=map] .map-explorer-workspace.is-controls-closed{grid-template-columns:minmax(0,1fr)}
body[data-access=public][data-view=map] .map-explorer-main .election-map-layout{grid-template-columns:minmax(0,1fr) 330px}
body[data-access=public][data-view=map] .map-explorer-main{--atlas-map-height:clamp(720px,86svh,1100px)}
body[data-access=public][data-view=map] .map-explorer-main .map-frame{height:var(--atlas-map-height);min-height:720px}
body[data-view=map] .map-polling-progress{display:none}
body[data-view=map] .map-results-panel{padding:20px;max-height:none!important;overflow:visible}
body[data-access=public][data-view=map] .map-explorer-rail :is(input,select,button,label),body[data-access=public][data-view=map] .map-explorer-rail .map-layer-tabs button{font-size:14px!important}
body[data-view=map] .map-explorer-rail .map-rail-title p{font-size:13px!important}
body[data-view=map] .map-results-panel .map-result-candidate{padding:14px 0;gap:10px}
body[data-view=map] .map-results-panel .map-candidate-line strong{font-size:14px!important;line-height:1.45}
body[data-view=map] .map-results-panel .map-candidate-line b{font-size:18px!important}
body[data-view=map] .map-results-panel .map-candidate-votes span{font-size:13px!important}
body[data-view=map] .map-results-panel :is(.results-stat-strip span,.results-stat-strip p,.map-result-metrics dt span){font-size:12px!important}
body[data-view=map] .map-results-panel .results-stat-strip strong{font-size:22px!important}
.map-national-guidance{border-top:1px solid #dbe7ec;padding-top:18px;margin-top:16px}
.map-national-guidance h3{font-size:18px!important;margin:0 0 8px;color:#183d4d}
.map-national-guidance p{font-size:14px!important;color:#5c7787;line-height:1.65}
.map-national-guidance a,.map-evidence-link{display:inline-flex;gap:7px;align-items:center;margin-top:8px;padding:9px 12px;border:1px solid #bbd7d9;border-radius:4px;text-decoration:none;color:#08776e;font-size:14px!important;background:#f2f9f7}
.map-source-context{font-size:12px!important;color:#647e8d;border-top:1px solid #dae5eb;padding-top:13px;margin-top:18px;line-height:1.7}
.map-source-context time{font-weight:650;color:#3c5e70}
.map-ballot-detail .map-turnout-note{grid-column:1/-1;margin:0;color:#677f8e;font-size:12px!important}
/* Seat dots represent electoral contests, never the number of forms received. */
.oa-seats-overview{padding:20px 22px;border-bottom:1px solid #d3e1e8;background:#fff}
.oa-seats-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:14px}
.oa-seats-heading h3{margin:0 0 4px;font-size:20px!important;color:#173e50}
.oa-seats-heading p{margin:0;color:#647c8d;font-size:13px!important}
.oa-seats-key{display:flex;align-items:center;gap:7px;white-space:nowrap;font-size:12px!important;color:#647c8d}
.oa-seats-key i{height:10px;width:10px;background:#708a9b;border-radius:50%}
.oa-seat-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}
.oa-seat-group{min-width:0;padding:14px;border:1px solid #d6e2e8;border-radius:5px;background:#fbfdfe}
.oa-seat-group header{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:12px}
.oa-seat-group header b{font-size:15px!important;color:#254a5c;white-space:nowrap}
.oa-seat-group header .atlas-party-name{font-size:14px!important}
.oa-seat-group .atlas-party-name>span{font-size:12px!important}
.oa-seat-group.is-unresolved{grid-column:1/-1}
.oa-pending-seats>summary{cursor:pointer;color:#35677b;font-size:13px!important;margin-bottom:10px}
.oa-seat-dots{display:flex;flex-wrap:wrap;gap:5px;align-content:flex-start}
.oa-seat-dots button{display:block;flex:none;width:13px!important;height:13px!important;min-width:0!important;min-height:0!important;padding:0!important;margin:0!important;border:1px solid #00000018!important;border-radius:50%!important;background:var(--seat-color);box-shadow:none!important}
.oa-seat-dots button.is-partial{background:repeating-linear-gradient(135deg,var(--seat-color),var(--seat-color) 3px,#fff 3px,#fff 5px)}
.oa-seat-dots button.is-missing{background:#e2e9ee;border-color:#bacbd5!important}
.oa-seat-dots button.is-tied{background:#ae9fc5}
.oa-seat-dots button:hover{transform:scale(1.35);box-shadow:0 0 0 2px #fff,0 0 0 3px #55788b!important}
.oa-seat-dots button:focus-visible{outline:3px solid #1b7181;outline-offset:3px}
.oa-seats-note{margin:12px 0 0;color:#647c8d;font-size:12px!important}
.oa-power-sidebar .oa-seats-overview{border:1px solid #d3e1e8;border-radius:5px;padding:16px}
.oa-power-sidebar .oa-seat-groups{grid-template-columns:minmax(0,1fr);gap:9px}
.oa-power-sidebar .oa-seats-heading{display:block;margin-bottom:16px}
.oa-power-sidebar .oa-seats-heading h3{font-size:18px!important}
.oa-power-sidebar .oa-seats-key{margin-top:9px;display:flex}
.oa-power-sidebar .oa-map-detail[hidden]{display:none!important}
.oa-power-sidebar .oa-map-detail:not([hidden]){margin-bottom:14px}
.oa-power-sidebar .oa-seat-group{padding:8px 0;border:0;border-top:1px solid #dfE8ed;border-radius:0;background:transparent}
.oa-power-sidebar .oa-seat-group header{margin-bottom:6px}
.oa-power-sidebar .oa-seat-group .atlas-party-symbol,.oa-power-sidebar .oa-seat-group .atlas-party-fallback{width:26px;height:26px}
.oa-power-sidebar .oa-seat-group .atlas-party-name>span{max-width:180px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:11px!important;line-height:1.3}
.oa-power-sidebar .oa-seat-groups{gap:6px}
@media(min-width:851px){#officeArchivePanel .oa-map{height:clamp(800px,95svh,1100px)}}
.oa-map-winner{bottom:40px;max-width:min(340px,calc(100% - 80px));pointer-events:none}
.oa-map-winner[hidden]{display:none!important}
.oa-map-winner .atlas-party-name>span,.oa-map-winner small{font-size:12px!important}
.oa-power-sidebar{display:block!important}
#officeArchivePanel .oa-location-toolbar{background:#fff!important}
/* Results tools use the same paper-tab language as the office selector. */
body[data-access=public] #workspaceNav.desk-workspace-nav{position:relative;display:flex;align-items:stretch;gap:6px;padding:14px 24px 18px;background:#fff;border:0;min-height:0;overflow-x:auto;scrollbar-width:thin}
body[data-access=public] #workspaceNav.desk-workspace-nav:after{content:'';position:absolute;left:24px;right:24px;bottom:18px;height:1px;background:#86bad6;pointer-events:none}
body[data-access=public] #workspaceNav.desk-workspace-nav>button[data-view]{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;gap:9px;flex:0 0 auto;min-height:44px;margin:0;padding:10px 18px;border:1px solid #86bad6;border-radius:0!important;background:#e8f3f7;color:#456a81;box-shadow:none;font-size:16px!important;line-height:1.4;white-space:nowrap}
body[data-access=public] #workspaceNav.desk-workspace-nav>button[data-view].active{background:#fff;color:#096f88;border-bottom-color:#fff;font-weight:700}
body[data-access=public] #workspaceNav.desk-workspace-nav>button[data-view]:after{display:none}
body[data-access=public] #workspaceNav.desk-workspace-nav>button[data-view]:hover{color:#075e78;background:#f4fafc}
body[data-access=public] #workspaceNav.desk-workspace-nav>button[data-view]:focus-visible{outline:2px solid #087e86;outline-offset:2px}
@media(max-width:700px){body[data-access=public] #workspaceNav.desk-workspace-nav{padding:10px 12px 14px;gap:5px}body[data-access=public] #workspaceNav.desk-workspace-nav:after{left:12px;right:12px;bottom:14px}body[data-access=public] #workspaceNav.desk-workspace-nav>button[data-view]{padding:10px 12px;font-size:14px!important}body[data-access=public] #workspaceNav .desk-menu-label{font-size:14px!important}}
.oa-map-detail .atlas-party-identity{font-size:13px!important}
@media(min-width:1800px){body[data-access=public][data-view=map] .map-explorer-main{--atlas-map-height:clamp(840px,95svh,1200px)}body[data-access=public][data-view=map] .map-explorer-main .election-map-layout{grid-template-columns:minmax(0,1fr) 360px}}
@media(max-width:1100px){body[data-access=public][data-view=map] .map-explorer-workspace{grid-template-columns:180px minmax(0,1fr)}body[data-access=public][data-view=map] .map-explorer-main .election-map-layout{grid-template-columns:minmax(0,1fr) 280px}.nr-executive-candidate{padding:0 15px;gap:9px}.nr-margin{padding:0 15px}}
@media(max-width:800px){
 body[data-access=public][data-view=map] #nationalResultsBanner .nr-banner{padding:18px 16px}
 body[data-access=public][data-view=map] #nationalResultsBanner .nr-header{display:grid;grid-template-columns:minmax(0,1fr) 38px;gap:12px}
 body[data-access=public][data-view=map] #nationalResultsBanner .nr-reporting{width:auto;grid-column:1/-1;grid-row:2;margin:0}
 body[data-access=public][data-view=map] #nationalResultsBanner .nr-toggle{grid-column:2;grid-row:1}
 body[data-access=public][data-view=map] #nationalResultsBanner .nr-reporting-track{height:4px}
 body[data-access=public][data-view=map] #nationalResultsBanner .nr-executive{grid-template-columns:1fr 1fr;gap:16px;margin-top:15px;padding-top:15px}
 .nr-executive-candidate{padding:0;gap:8px;align-items:flex-start;border:0}.nr-executive-candidate .candidate-portrait{display:none}
 body[data-access=public] #nationalResultsBanner .nr-executive-candidate strong{font-size:27px!important}
 body[data-access=public] #nationalResultsBanner .nr-executive-identity h3{font-size:14px!important}
 .nr-executive-party{flex-wrap:wrap;gap:5px}.nr-margin{grid-column:1/-1;border-left:0;border-top:1px solid #365365;padding:12px 0 0;display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 14px}
 body[data-access=public] #nationalResultsBanner .nr-margin strong{font-size:24px!important}
 body[data-access=public] #nationalResultsBanner .nr-rehearsal{font-size:12px!important;line-height:1.5}
 body[data-access=public][data-view=map] .map-explorer-workspace{grid-template-columns:minmax(0,1fr)}
 body[data-access=public][data-view=map] .map-explorer-main .election-map-layout{grid-template-columns:minmax(0,1fr)}
 body[data-access=public][data-view=map] .map-explorer-main .map-frame{height:620px;min-height:620px}
 body[data-access=public][data-view=map] .map-explorer-heading.section-title-row{grid-template-columns:38px minmax(0,1fr);gap:9px;padding:12px}
 body[data-view=map] .map-intelligence{grid-column:1/-1;grid-row:3;justify-self:start}
 .map-intelligence-links{right:auto;left:0;width:min(310px,calc(100vw - 64px))}
 body[data-access=public][data-view=map] .map-explorer-rail .map-layer-tabs button{font-size:12px!important}
 body[data-view=map] .map-results-panel{padding:20px}
 .oa-seats-overview{padding:16px}.oa-seats-heading{align-items:flex-start}.oa-seats-heading h3{font-size:18px!important}
 .oa-seat-groups{grid-template-columns:minmax(0,1fr)}.oa-seat-group{padding:12px}
}

body[data-access=public] #nationalResultsBanner .nr-executive-party{flex-wrap:wrap}
body[data-access=public] #nationalResultsBanner .nr-executive-party .atlas-party-name{font-size:12px!important;color:#e1edf3}
body[data-access=public] #nationalResultsBanner .nr-executive-party .atlas-party-name>span{font-size:12px!important;color:#b9d0dc}
body[data-view=map] .map-result-party .atlas-party-name>span{font-size:12px!important}
body[data-view=map] .context-banner{display:none!important}
