/* Reader foundation: five tasks, one compact header, one principal workspace. */
body[data-access="public"]{--desk-ink:#122638;--desk-muted:#526578;--desk-line:#dce4e9;--desk-accent:#087c68;--desk-paper:#f3f6f8;color:var(--desk-ink);background:var(--desk-paper)}
body[data-access="public"] .desk-header{position:relative;inset:auto;display:block;width:100%;height:auto;padding:0;background:#fff;border:0;border-top:4px solid #0d7463;border-bottom:1px solid var(--desk-line);box-shadow:none}
.desk-masthead{max-width:1600px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:28px;padding:14px 32px;min-height:76px}
.desk-brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:#122638;flex-shrink:0}
.desk-brand>span:last-child{font-size:28px;font-weight:800;letter-spacing:-1.2px;line-height:1}
.desk-brand-light{font-weight:450;color:#0c7d68;margin-left:5px}
.desk-brand small{display:block;margin-top:9px;font-size:10px!important;font-weight:700;letter-spacing:1.3px;color:#637382}
.desk-brand-symbol{display:flex;align-items:center;gap:3px;transform:skew(-17deg);height:34px}
.desk-brand-symbol i{display:block;height:29px;width:5px;background:#112d3c}.desk-brand-symbol i:nth-child(2){height:37px;background:#0c8e73}.desk-brand-symbol i:nth-child(3){height:24px;background:#d8494f}
body[data-access="public"] .desk-masthead .election-year-nav{display:flex;align-items:center;gap:4px;background:#eff4f6;border:1px solid #e2e9ed;border-radius:8px;padding:4px;margin:0;min-height:0;overflow:visible}
body[data-access="public"] .desk-masthead .election-year-tab{border:0;border-radius:5px;padding:9px 16px;min-height:42px;background:transparent;color:#617184;font-weight:650;white-space:nowrap;letter-spacing:0}
body[data-access="public"] .desk-masthead .election-year-tab span{font-size:16px;margin-left:4px;font-weight:500}
body[data-access="public"] .desk-masthead .election-year-tab.active{color:#fff;background:#163b48;box-shadow:0 2px 5px #0c273d16}
body[data-access="public"] .desk-account-actions{position:static;display:flex;gap:12px;align-items:center;margin:0}
.desk-build-label{font-size:11px;font-weight:750;color:#7a6842;letter-spacing:.8px;background:#fcf5e8;border:1px solid #e8ddc5;border-radius:4px;padding:5px 8px}
.desk-build-label{display:none}
body[data-access="public"] .desk-account-actions button{position:static;min-height:42px;border:0;background:transparent;color:#214658;padding:8px 10px;border-radius:5px;white-space:nowrap}
body[data-access="public"] .desk-account-actions .membership-header-button{background:#122e3e;color:#fff;border:1px solid #122e3e}
body[data-access="public"] .desk-primary-nav{display:flex!important;align-items:center;justify-content:flex-start;gap:36px;height:auto;min-height:55px;margin:0;padding:0 max(32px,calc((100% - 1536px)/2));border-top:1px solid #edf1f4;background:#fff;overflow:visible}
body[data-access="public"] .desk-primary-nav .nav-item{display:block;border:0;border-bottom:3px solid transparent;border-radius:0;min-height:55px;padding:16px 1px 13px;margin:0;color:#647385;background:transparent;font-weight:650}
body[data-access="public"] .desk-primary-nav .nav-item.active{color:#08735f;border-bottom-color:#08735f;background:transparent}
.desk-nav-note{margin-left:auto;color:#7a8996;font-size:14px}
.desk-live-status{margin-left:auto;display:flex;align-items:center;gap:14px;color:#748493;min-width:0}
.desk-live-status .save-state{font-size:14px}.desk-live-status time{font-size:14px;white-space:nowrap}.desk-live-status .icon-button{display:grid;place-items:center;min-width:40px;min-height:40px;background:transparent;color:#517183;border:1px solid #e0e7ed}
@media(max-width:1000px){.desk-live-status .save-state{display:none}}
@media(max-width:700px){.desk-live-status{grid-column:1/-1;width:100%;margin:0;justify-content:space-between;padding:2px 8px;border-top:1px solid #e9eef2}.desk-live-status .save-state{display:inline-flex}.desk-live-status time{margin-left:auto}.desk-live-status .icon-button{min-height:38px;min-width:38px}}
body[data-access="public"] .app-shell{margin:0;width:100%}
body[data-access="public"] .topbar{display:none}
.desk-workspace-nav{display:flex;gap:22px;align-items:center;min-height:55px;margin:0 auto;padding:0 32px;max-width:1600px;border:0;background:transparent;overflow:auto;scrollbar-width:none}
.desk-workspace-nav[hidden]{display:none!important}.desk-workspace-nav>span{color:#748290;margin-right:8px;white-space:nowrap;font-size:14px}
.desk-workspace-nav{min-height:45px}
.desk-workspace-nav>span:first-child{display:none}
.desk-workspace-nav button{flex-shrink:0;min-height:44px;padding:7px 0;background:transparent;color:#647487;border:0;border-bottom:2px solid transparent;font-weight:550}
.desk-workspace-nav button.active{color:#183d4d;font-weight:750;border-bottom-color:#183d4d}
body[data-access="public"] main#main{width:100%;max-width:1600px;min-width:0;padding:14px 32px 30px;margin:0 auto}
body[data-access="public"] .page-heading{margin:3px 0 22px;gap:12px}
body[data-access="public"] .page-heading .eyebrow{display:none}
body[data-access="public"] .page-heading h1{margin:0 0 7px;color:#122638}
body[data-access="public"] .page-heading p{margin:0;color:#617286;max-width:1000px}
body[data-access="public"]:is([data-view="map"],[data-view="turnout"],[data-view="coalition"],[data-view="constituency"]) .page-heading p{display:none}
body[data-access="public"] .context-banner{display:none!important}
body[data-access="public"] :is(h1,h2,h3,h4){color:#183648}
body[data-access="public"] :is(p,small,.map-results-notes,.ea-description,.ea-question,.ea-note,.map-muted,.ea-card-source,.map-canvas-footer){color:#5c6d7d}
body[data-access="public"] :is(label,td,summary,.map-candidate-line strong,.map-ballot-detail b,.map-tooltip,.ea-pollster){color:#223d50}
body[data-access="public"] th{color:#65788a;font-weight:650;background:#f4f7f9}
body[data-access="public"] :is(input:not([type=range]):not([type=checkbox]):not([type=radio]),select,textarea){border-color:#d7e1e7;border-radius:6px;background:#fff;color:#213b50;min-height:42px}
body[data-access="public"] :is(button,.button){border-radius:6px}
body[data-access="public"] :is(.button.primary,.studio-run){background:#103e4e!important;border-color:#103e4e!important;color:#fff!important}
body[data-access="public"] :is(.panel,.tl-card,.ea-card,.eh-card,.px-panel,.ca-shell,.studio-shell){border-color:#dce5eb;border-radius:10px;box-shadow:none;background:#fff}
body[data-access="public"] :is(.cs-intro,.tl-intro){display:none}
body[data-access="public"] :is(.ca-header,.studio-header){padding:14px 20px;align-items:center;border-bottom:1px solid #e2e9ed;background:#fff}
body[data-access="public"] :is(.ca-header h2,.studio-header h2,.ca-header p,.studio-header>div>p:last-child){display:none}
body[data-access="public"] :is(.ca-eyebrow,.studio-kicker){margin:0!important;color:#526779!important;font-size:13px!important;letter-spacing:.6px}
body[data-access="public"] .kenya-scenario-studio{margin:0 0 20px;--studio-ink:#193c4e;--studio-muted:#65788b}
body[data-access="public"] .studio-workspace{grid-template-columns:290px minmax(0,1fr)}
body[data-access="public"] :is(.studio-controls,.ca-sidebar){padding:20px;background:#f8fafb;border-color:#dce5eb}
body[data-access="public"] :is(.studio-controls-title p,.studio-controls-note){font-size:14px!important}
body[data-access="public"] .studio-slider>span{align-items:flex-start}
body[data-access="public"] .studio-controls-note{line-height:1.55}
body[data-access="public"] .ca-workspace{grid-template-columns:300px minmax(0,1fr)}
body[data-access="public"] .ca-main{padding:0;margin:0;min-width:0}
body[data-access="public"] :is(.ca-filterbar,.studio-top-toolbar){padding:14px 20px;background:#fff;gap:14px}
body[data-access="public"] .ca-filterbar{grid-template-columns:minmax(220px,1fr) minmax(160px,.4fr) minmax(170px,.5fr) auto}
body[data-access="public"] .ca-file-actions,body[data-access="public"] .studio-export-actions{flex-wrap:wrap}
body[data-access="public"] .ca-topbar{padding:12px 20px;gap:16px;flex-wrap:wrap;background:#f8fafb}
body[data-access="public"] .ca-filterbar label{font-size:14px!important}
body[data-access="public"] .results-stat-strip{gap:0;border:1px solid #dce5eb;border-radius:9px;overflow:hidden;background:#fff;margin-bottom:20px}
body[data-access="public"] .results-stat-strip article{border:0;border-right:1px solid #e2e8ed;border-radius:0;padding:16px 20px;text-align:left;box-shadow:none}
body[data-access="public"] .results-stat-strip article:last-child{border-right:0}
body[data-access="public"] .results-stat-strip article>span{padding:0;background:none;border:0;font-size:13px;letter-spacing:.5px;color:#627689}
body[data-access="public"] .results-stat-strip article strong{display:block;color:#183c4b;margin:8px 0}
body[data-access="public"] .results-stat-strip article small{padding:0;font-size:14px!important;display:block;line-height:1.4}
body[data-access="public"][data-return-status="awaiting"] #nationalResultsBanner{display:none}
body[data-access="public"] .election-map-section{padding:20px;background:#fff;border:1px solid #dce5eb;border-radius:10px}
body[data-access="public"] .election-map-section>.section-title-row{margin:0 0 12px}
body[data-access="public"] .election-map-section .section-kicker{display:none}
body[data-access="public"] .election-map-section h2{margin:0}
body[data-access="public"] .map-control-row{padding:12px 0;border-color:#e2e9ed}
body[data-access="public"] .map-layer-tabs button{color:#5c7183;background:transparent;border:1px solid transparent}
body[data-access="public"] .map-layer-tabs button.active{color:#096c5b;background:#e8f4f0;border-color:#cce3db}
body[data-access="public"] .map-select-controls label{font-size:14px!important}
body[data-access="public"] .map-select-controls select{max-width:210px}
body[data-access="public"] .election-map-layout{grid-template-columns:minmax(0,1fr) 350px;gap:20px}
body[data-access="public"] .map-frame{min-height:420px;background:#f6f9fa}
body[data-access="public"] #kenyaMap{height:510px}
body[data-access="public"] :is(.map-canvas-panel,.map-results-panel){border-color:#dee7ec;border-radius:6px}
body[data-access="public"] .map-results-heading h3{margin:8px 0}
body[data-access="public"] .map-no-results{padding:26px 20px}
body[data-access="public"] .map-no-results h3{margin:0 0 10px}
body[data-access="public"] .map-results-notes{font-size:14px!important;line-height:1.6}
body[data-access="public"] .geography-method{font-size:14px!important;margin:16px 0 0}
body[data-access="public"] .region-results-section{margin-top:25px}
body[data-access="public"] .region-results-table td{padding:16px 18px}
body[data-access="public"] .region-results-table td small{font-size:14px!important}
body[data-access="public"] .map-search{max-width:390px;min-width:260px}
body[data-access="public"] .eh-intro{padding:0 0 20px;border:0;background:transparent}
body[data-access="public"] .eh-intro>div:first-child{display:none}
body[data-access="public"] .eh-selectors{margin-left:auto}
body[data-access="public"] .eh-status{margin-top:0}
body[data-access="public"] :is(.eh-stats,.tl-stats){gap:0;border:1px solid #dce5eb;border-radius:8px;overflow:hidden}
body[data-access="public"] :is(.eh-stats article,.tl-stats article){border:0;border-radius:0;border-right:1px solid #e0e7ed;padding:20px;background:#fff}
body[data-access="public"] :is(.eh-stats article span,.tl-stats article span){font-size:13px;color:#617589}
body[data-access="public"] .eh-candidate-grid{gap:16px}
body[data-access="public"] .eh-ticket-card{background:#fff}
body[data-access="public"] :is(.cs-ticket-settings,.cs-model-details,.tl-workspace-details){border:1px solid #dce5eb;border-radius:9px;margin:20px 0;background:#fff;overflow:hidden}
body[data-access="public"] :is(.cs-ticket-settings,.cs-model-details,.tl-workspace-details)>summary{padding:18px 22px;min-height:60px;font-weight:750;cursor:pointer;color:#224a5b;background:#f9fbfc}
body[data-access="public"] :is(.cs-model-details,.tl-workspace-details)[open]>summary{border-bottom:1px solid #dce5eb;margin-bottom:18px}
body[data-access="public"] .cs-detail-subheading{margin:25px 22px 14px}
body[data-access="public"] .tl-layout{margin:0;padding:20px;gap:24px}
body[data-access="public"] .tl-layout>.tl-card{padding:0;border:0}
body[data-access="public"] .tl-workspace-details .tl-action-row{margin-top:15px}
body[data-access="public"] .tl-top-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:18px 0}
body[data-access="public"] .tl-top-actions p{margin:0;max-width:750px}
body[data-access="public"] .tm-header{padding:12px 20px;background:#fff}
body[data-access="public"] .tm-header h2,body[data-access="public"] .tm-header p{display:none}
body[data-access="public"] .tm-stats>div{padding:14px 18px}
body[data-access="public"] .tm-stats>div{min-width:0}
body[data-access="public"] .tm-stats small{display:none}
body[data-access="public"] .tm-stats span{font-size:16px!important;text-transform:none;letter-spacing:0}
body[data-access="public"] .tm-workspace{grid-template-columns:minmax(0,1fr) 330px}
body[data-access="public"] .tm-scenario-badge{border-radius:4px;padding:4px 8px;color:#705c36;background:#fcf6e9;border-color:#e8ddc9}
body[data-access="public"] .tm-layer-controls>label{text-transform:none;letter-spacing:0}
body[data-access="public"] .tm-map-wrap svg{height:500px}
body[data-access="public"] .tm-map-wrap{background:#f4f8fa}
body[data-access="public"] .tm-header{display:none}
@media(min-width:1000px){body[data-access="public"] .tm-layer-controls>label:first-child{width:175px}body[data-access="public"] .tm-layer-controls>label:nth-child(2){width:215px}body[data-access="public"] .tm-layer-controls .tm-search-label{max-width:360px;min-width:180px}body[data-access="public"] .tm-fit-controls{margin-left:auto;align-self:flex-end}body[data-access="public"] .tm-fit-controls button{height:42px;min-height:42px}}
@media(max-width:700px){body[data-access="public"] .tm-workspace{grid-template-columns:1fr}body[data-access="public"] .tm-map-wrap svg{height:400px}}
@media(max-width:700px){body[data-access="public"] .tm-stats{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-access="public"] .tm-stats>div{padding:12px 14px}body[data-access="public"] .tm-stats strong{font-size:24px!important}body[data-access="public"] .tm-stats span{overflow-wrap:break-word}body[data-access="public"] .desk-brand>span:last-child,body[data-access="public"] .desk-brand-light{font-size:24px!important}body[data-access="public"] .desk-account-actions .membership-header-button{display:block}body[data-access="public"] .desk-account-actions .member-account-header-button{display:none}}
@media(max-width:700px){body[data-access="public"] .desk-header .desk-account-actions .membership-header-button{display:block}}
@media(min-width:701px){body[data-access="public"] .desk-primary-nav{min-height:48px}body[data-access="public"] .desk-primary-nav .nav-item{min-height:48px;padding:12px 1px 10px}body[data-access="public"] main#main{padding-top:8px}}
body[data-access="public"] .tl-output{padding:0 20px 20px}
body[data-access="public"] .tl-disclosure details{margin-top:20px}
body[data-access="public"] .px-header h2{display:none}
body[data-access="public"] .page-footer{margin-top:36px;padding-top:20px;border-color:#dce5eb;letter-spacing:0;color:#6a7c8e}
body[data-access="public"] .page-footer span,body[data-access="public"] .public-admin-link{font-size:14px!important;color:#607586}
@media(max-width:1200px){.desk-masthead{gap:18px}.desk-build-label{display:none}body[data-access="public"] .desk-masthead .election-year-tab span{display:none}.desk-workspace-nav{padding:0 24px}body[data-access="public"] .studio-workspace{grid-template-columns:260px minmax(0,1fr)}body[data-access="public"] .ca-workspace{grid-template-columns:270px minmax(0,1fr)}}
@media(max-width:900px){.desk-masthead{padding:15px 20px;min-height:85px;gap:15px}.desk-brand>span:last-child{font-size:24px}.desk-brand small{font-size:9px!important;letter-spacing:.7px}body[data-access="public"] .desk-account-actions .membership-header-button{display:none}body[data-access="public"] .desk-primary-nav{gap:30px;padding:0 22px}.desk-nav-note{display:none}body[data-access="public"] main#main{padding:14px 22px 24px}body[data-access="public"] .election-map-layout{grid-template-columns:minmax(0,1fr) 300px}body[data-access="public"] .ca-filterbar{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.desk-masthead{display:grid;grid-template-columns:minmax(0,1fr) auto;padding:16px;gap:15px}.desk-brand>span:last-child{font-size:26px}.desk-brand-symbol{height:30px}body[data-access="public"] .desk-masthead .election-year-nav{grid-column:1/-1;grid-row:2;width:100%;justify-content:space-between}body[data-access="public"] .desk-masthead .election-year-tab{flex:1;min-height:42px;padding:8px}body[data-access="public"] .desk-masthead .election-year-tab span{display:inline}body[data-access="public"] .desk-account-actions{grid-column:2;grid-row:1;gap:0}body[data-access="public"] .desk-account-actions button{padding:8px 0}body[data-access="public"] .desk-primary-nav{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;padding:0 8px;min-height:54px}body[data-access="public"] .desk-primary-nav .nav-item{font-size:15px!important;padding:15px 0 12px;min-height:54px}.desk-workspace-nav{gap:22px;padding:0 16px;min-height:51px}.desk-workspace-nav>span{display:none}.desk-workspace-nav button{font-size:15px!important;min-height:44px}body[data-access="public"] main#main{padding:13px 16px 24px}body[data-access="public"] .page-heading{margin-bottom:18px}body[data-access="public"] .page-heading p{font-size:16px!important}body[data-access="public"] .results-stat-strip{grid-template-columns:1fr 1fr}body[data-access="public"] .results-stat-strip article{padding:14px;border-bottom:1px solid #e1e8ed}body[data-access="public"] .results-stat-strip article:nth-child(even){border-right:0}body[data-access="public"] .election-map-section{padding:14px}body[data-access="public"] .election-map-layout{grid-template-columns:1fr}body[data-access="public"] .map-search{min-width:0;width:100%;max-width:none}body[data-access="public"] .map-control-row{display:block}.public-map-options{margin:10px 0 0}body[data-access="public"] .map-layer-tabs{display:flex;overflow:auto;flex-wrap:nowrap}body[data-access="public"] .map-layer-tabs button{font-size:14px!important;padding:8px 9px;white-space:nowrap}body[data-access="public"] #kenyaMap{height:420px}body[data-access="public"] .ca-workspace,body[data-access="public"] .studio-workspace{display:flex;flex-direction:column}body[data-access="public"] .ca-main{order:0}body[data-access="public"] .ca-sidebar{order:1;border-right:0;border-top:1px solid #dde5eb}body[data-access="public"] .studio-main{order:0}body[data-access="public"] .studio-controls{order:1;border:0;border-top:1px solid #dde5eb}body[data-access="public"] .ca-topbar{padding:12px;gap:10px}body[data-access="public"] .ca-file-actions{gap:7px}body[data-access="public"] .ca-file-actions button{font-size:14px!important}body[data-access="public"] .ca-filterbar{padding:12px;gap:10px}body[data-access="public"] .ca-filterbar .ca-search{grid-column:1/-1}body[data-access="public"] .tl-top-actions{align-items:flex-start;flex-direction:column}body[data-access="public"] .tl-layout{padding:16px;display:block}body[data-access="public"] .tl-layout>.tl-card+.tl-card{margin-top:28px;padding-top:25px;border-top:1px solid #dce5eb}body[data-access="public"] .eh-stats{grid-template-columns:1fr 1fr}body[data-access="public"] .page-footer{gap:14px}body[data-access="public"] .page-footer>span{display:block!important}}
/* Shared navigation icon rhythm; labels remain readable and accessible. */
body[data-access="public"] .desk-primary-nav .nav-item,.desk-workspace-nav button[data-view]{display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap}
.desk-menu-icon{display:block;flex:0 0 18px;width:18px!important;height:18px!important;max-height:18px!important;pointer-events:none}
.desk-menu-label{white-space:nowrap;line-height:1.35}
@media(max-width:700px){body[data-access="public"] .desk-primary-nav .nav-item{flex-direction:column;gap:5px;padding:9px 0 8px;min-height:64px;font-size:13px!important}body[data-access="public"] .desk-primary-nav .desk-menu-label{font-size:13px!important}.desk-workspace-nav button[data-view]{gap:7px}.desk-workspace-nav .desk-menu-label{font-size:13px!important}}
body[data-access=public] #nationalResultsBanner{display:block!important;width:100%;margin:0 0 18px}
body[data-access=public] #nationalResultsBanner .nr-banner{margin:0;padding:20px 24px;background:#fff;border:1px solid #dce5eb;border-top:3px solid #117762;border-radius:8px}
body[data-access=public] #nationalResultsBanner .nr-header{display:flex;align-items:center;gap:24px;flex-wrap:wrap;margin-bottom:17px}
body[data-access=public] #nationalResultsBanner .nr-header>div:first-child{margin-right:auto}
body[data-access=public] #nationalResultsBanner h2{font-size:23px!important;margin:5px 0 0;color:#153a48}
body[data-access=public] #nationalResultsBanner .nr-eyebrow{font-size:10px!important;letter-spacing:.9px;color:#617f89}
body[data-access=public] #nationalResultsBanner .nr-groups{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0}
body[data-access=public] #nationalResultsBanner .nr-group{position:relative;padding:13px 20px;border:0;border-left:3px solid var(--nr-color);border-radius:0;min-width:0}
body[data-access=public] #nationalResultsBanner .nr-rank{display:block;font-size:10px!important;margin:0 0 7px;color:#6b8391}
body[data-access=public] #nationalResultsBanner h3{font-size:17px!important;min-height:24px;margin:0 0 4px;color:#193d4c}
body[data-access=public] #nationalResultsBanner .nr-party{display:block;font-size:10px!important;min-height:16px;margin:0 0 10px;color:#6d8390}
body[data-access=public] #nationalResultsBanner .nr-figures{display:flex;flex-direction:column;align-items:flex-start;gap:5px}
body[data-access=public] #nationalResultsBanner .nr-figures>div:first-child{order:2;display:flex;align-items:baseline;gap:5px}
body[data-access=public] #nationalResultsBanner .nr-figures strong{font-size:16px!important}
body[data-access=public] #nationalResultsBanner .nr-figures span{font-size:10px!important;color:#6b8390}
body[data-access=public] #nationalResultsBanner .nr-percentage{display:flex;align-items:baseline;gap:7px}
body[data-access=public] #nationalResultsBanner .nr-percentage b{font-size:34px!important;line-height:1.2;color:#163e4b;font-variant-numeric:tabular-nums}
.nr-reporting{min-width:230px}.nr-reporting>div:first-child{display:flex;justify-content:space-between;align-items:center;gap:24px}.nr-reporting>div>span{font-size:10px!important;letter-spacing:.8px;color:#617f89}.nr-reporting strong{font-size:29px!important;color:#0c755f}.nr-reporting-track{height:6px;border-radius:3px;overflow:hidden;background:#e5efeb;margin:7px 0}.nr-reporting-track i{display:block;height:100%;background:#16836c}.nr-reporting>small{display:block;font-size:10px!important;color:#6c8590}
body[data-access=public] #nationalResultsBanner .nr-combined-bar{display:flex;margin-top:18px;height:8px;border-radius:3px;background:#edf1f4}
body[data-access=public] #nationalResultsBanner .nr-footer{font-size:10px!important;line-height:1.5;margin-top:12px}.nr-group>.candidate-portrait{float:right;margin:0 0 7px 10px}
.studio-candidate-name>.candidate-portrait{float:left;margin:0 9px 5px 0}.studio-wiki-candidate{display:flex;align-items:center;gap:12px}.studio-wiki-candidate>.candidate-portrait{width:56px;height:70px}.studio-wiki-candidate strong{font-size:15px!important}
@media(max-width:800px){body[data-access=public] #nationalResultsBanner .nr-groups{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 0}body[data-access=public] #nationalResultsBanner .nr-banner{padding:16px}.nr-reporting{flex:1;min-width:220px}body[data-access=public] #nationalResultsBanner .nr-source-status{display:none}body[data-access=public] #nationalResultsBanner .nr-header{gap:14px}.nr-group>.candidate-portrait{display:none}}

/* Compact election-night masthead with an optional candidate breakdown. */
body[data-access=public] #nationalResultsBanner .nr-banner{background:#132f42;color:#f2f7fa;border-color:#25485b;border-top-color:#20b897;padding:18px 22px;box-shadow:0 5px 18px #142e4010}
body[data-access=public] #nationalResultsBanner .nr-header{align-items:center;gap:24px;margin:0}
body[data-access=public] #nationalResultsBanner h2,body[data-access=public] #nationalResultsBanner h3,body[data-access=public] #nationalResultsBanner .nr-figures strong,body[data-access=public] #nationalResultsBanner .nr-percentage b{color:#f0f7fb!important}
body[data-access=public] #nationalResultsBanner .nr-eyebrow,body[data-access=public] #nationalResultsBanner .nr-rank,body[data-access=public] #nationalResultsBanner .nr-party,body[data-access=public] #nationalResultsBanner .nr-figures span,body[data-access=public] #nationalResultsBanner .nr-footer,body[data-access=public] #nationalResultsBanner .nr-reporting small,body[data-access=public] #nationalResultsBanner .nr-reporting>div>span{color:#a9c5d3!important}
body[data-access=public] #nationalResultsBanner .nr-reporting strong{color:#65dfbd!important}
body[data-access=public] #nationalResultsBanner .nr-reporting-track{background:#345365}
body[data-access=public] #nationalResultsBanner .nr-reporting-track i{background:#40d4ae}
body[data-access=public] #nationalResultsBanner .nr-source-status{color:#bcd3de}
body[data-access=public] #nationalResultsBanner .nr-state{background:#284356;border-color:#4e687d;color:#d2deeb}
body[data-access=public] #nationalResultsBanner .nr-toggle{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;background:#25495e;border:1px solid #4a6b7d;color:#e3f2f7;border-radius:5px;padding:6px;flex:none}
body[data-access=public] #nationalResultsBanner .nr-toggle:hover{background:#365e72}
body[data-access=public] #nationalResultsBanner .nr-collapsible{margin-top:22px}
body[data-access=public] #nationalResultsBanner .nr-collapsible[hidden]{display:none!important}
body[data-access=public] #nationalResultsBanner .nr-empty-bar{background:#315063}
@media(max-width:600px){body[data-access=public] #nationalResultsBanner .nr-header{gap:12px;flex-wrap:wrap}body[data-access=public] #nationalResultsBanner .nr-header>div:first-child{flex:1}body[data-access=public] #nationalResultsBanner .nr-reporting{order:3;flex-basis:100%;min-width:0}body[data-access=public] #nationalResultsBanner .nr-toggle{margin-left:auto}}
body[data-access=public] #nationalResultsBanner .nr-preview-button{padding:8px 12px;min-height:38px;border:1px solid #6d9aab;background:#214a5e;color:#e7f5fa;border-radius:5px;font-size:12px!important;white-space:nowrap}
body[data-access=public] #nationalResultsBanner .nr-preview-button[aria-pressed=true]{background:#f2d68d;border-color:#f2d68d;color:#213a47}
body[data-access=public] #nationalResultsBanner .nr-demo-note{margin:14px 0 0;padding:9px 12px;border:1px solid #75856e;background:#384945;color:#f2dfac;font-size:12px!important;line-height:1.6}
body[data-access=public] #nationalResultsBanner .nr-demo-note strong{color:#ffe7a8}
body[data-access=public] #nationalResultsBanner .nr-demo-controls{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:24px;padding:12px 16px;background:#1c4055;border-radius:5px;color:#c6dfeb;font-size:12px!important}
body[data-access=public] #nationalResultsBanner .nr-demo-controls label{margin:0;font-size:12px!important;color:inherit}
body[data-access=public] #nationalResultsBanner .nr-demo-controls input{max-width:400px;min-width:150px;flex:1;accent-color:#55d8b8;height:20px}
body[data-access=public] #nationalResultsBanner .nr-demo-controls output{font-weight:750;min-width:48px;color:#6be5c2}
body[data-access=public] #nationalResultsBanner .nr-candidate-identity{display:flex;align-items:center;gap:12px;min-height:65px;margin:5px 0 14px}
body[data-access=public] #nationalResultsBanner .nr-candidate-identity>.candidate-portrait{float:none;display:block;flex:none;width:44px;height:55px;margin:0}
body[data-access=public] #nationalResultsBanner .nr-candidate-identity .nr-party{margin-bottom:0}
body[data-access=public] #nationalResultsBanner .nr-demo-roster{margin:17px 0;padding:12px 0;border-top:1px solid #3a596c;border-bottom:1px solid #3a596c;color:#d9e9f0;font-size:12px!important}
body[data-access=public] #nationalResultsBanner .nr-demo-roster summary{cursor:pointer;color:#c6dce8}
body[data-access=public] #nationalResultsBanner .nr-demo-roster>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:18px}
body[data-access=public] #nationalResultsBanner .nr-demo-roster article{display:flex;align-items:center;gap:9px;min-width:0}
body[data-access=public] #nationalResultsBanner .nr-demo-roster article>span:not(.candidate-portrait){flex:1}
body[data-access=public] #nationalResultsBanner .nr-demo-roster small{display:block;color:#9cbccd;font-size:10px!important;margin-top:3px}
body[data-access=public] #nationalResultsBanner .nr-footer strong{color:#d7e9f2}
@media(max-width:950px){body[data-access=public] #nationalResultsBanner .nr-demo-roster>div{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Give each candidate a complete row on phones; percentages never share the
   narrow name column or force the page beyond the viewport. */
@media(max-width:600px){
 body[data-access=public] .desk-masthead .election-year-nav{min-width:0;box-sizing:border-box}
 body[data-access=public] .desk-masthead .election-year-tab{flex:1 1 0;min-width:0;padding:8px 4px;font-size:13px!important}
 body[data-access=public] .desk-masthead .election-year-tab span{font-size:13px;margin-left:3px}
 body[data-access=public] #nationalResultsBanner .nr-banner{padding:16px;box-sizing:border-box;min-width:0}
 body[data-access=public] #nationalResultsBanner .nr-header>div:first-child{min-width:0}
 body[data-access=public] #nationalResultsBanner .nr-groups{grid-template-columns:minmax(0,1fr);gap:16px}
 body[data-access=public] #nationalResultsBanner .nr-group{padding:12px 14px;border-left-width:3px}
 body[data-access=public] #nationalResultsBanner .nr-rank{min-height:0;margin-bottom:10px}
 body[data-access=public] #nationalResultsBanner .nr-candidate-identity{align-items:center;gap:12px;min-height:0;margin:0 0 14px}
 body[data-access=public] #nationalResultsBanner .nr-candidate-identity>.candidate-portrait{width:56px!important;height:70px!important;flex:0 0 56px}
 body[data-access=public] #nationalResultsBanner h3{min-height:0;overflow-wrap:break-word;word-break:normal}
 body[data-access=public] #nationalResultsBanner .nr-party{min-height:0}
 body[data-access=public] #nationalResultsBanner .nr-figures{flex-direction:row;flex-wrap:nowrap;align-items:flex-end;justify-content:space-between;gap:12px;min-width:0}
 body[data-access=public] #nationalResultsBanner .nr-figures>div:first-child{flex-direction:column;align-items:flex-end;gap:1px;min-width:0}
 body[data-access=public] #nationalResultsBanner .nr-percentage{flex-direction:column;align-items:flex-start;gap:1px;margin:0;min-width:0}
 body[data-access=public] #nationalResultsBanner .nr-percentage b{font-size:clamp(28px,8vw,34px)!important;white-space:nowrap}
 body[data-access=public] #nationalResultsBanner .nr-footer>span{min-width:0;overflow-wrap:break-word}
}

/* Keep branding, edition/task navigation, workspace tools and the tally together. */
html:has(body[data-access=public] .reader-sticky-header){scroll-padding-top:var(--reader-sticky-height,0px)}
body[data-access=public] .reader-sticky-header{position:sticky;top:var(--nr-sticky-offset,0px);z-index:60;background:var(--desk-paper);display:flex;flex-direction:column;max-height:calc(100dvh - var(--nr-sticky-offset,0px) - clamp(100px,20dvh,180px));overflow:auto;box-shadow:0 5px 18px #142e4018;scrollbar-width:thin}
body[data-access=public] .reader-sticky-header:has(.nr-toggle[aria-expanded=true]){position:relative;top:auto;max-height:none;overflow:visible}
body[data-access=public] .reader-sticky-header>.desk-header,body[data-access=public] .reader-sticky-header>.desk-workspace-nav{flex:none;width:100%}
body[data-access=public] .reader-tally-wrap{display:flex;flex-direction:column;flex:0 1 auto;min-height:0;width:100%;margin:0;padding:0;box-sizing:border-box}
body[data-access=public] #nationalResultsBanner{position:static;display:flex!important;flex-direction:column;min-height:0;margin:0}
body[data-access=public] #nationalResultsBanner .nr-banner{display:flex;flex-direction:column;flex:0 1 auto;min-height:0;box-sizing:border-box;padding:18px 32px;border-radius:0;border-left:0;border-right:0;box-shadow:none}
body[data-access=public] #nationalResultsBanner .nr-header{flex:none}
body[data-access=public] #nationalResultsBanner .nr-collapsible{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#658495 #132f42}
@media(max-width:900px){body[data-access=public] #nationalResultsBanner .nr-banner{padding:16px 22px}}
@media(max-width:700px){body[data-access=public] #nationalResultsBanner .nr-banner{padding:16px}}
