/* Standard workspaces share the broadcast palette. Data colours and map tiles
   retain their meaning; presentation modes own their existing stage geometry. */
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]){
 --atlas-page:#102c3c;--atlas-panel:#183a4b;--atlas-raised:#21495d;--atlas-control:#244b5f;
 --atlas-workspace-background:radial-gradient(ellipse at 45% 0,#214a5e,#102c3c 65%) fixed;
 --atlas-border:#456b80;--atlas-text:#edf7fc;--atlas-muted:#b5cfdf;--atlas-accent:#70e3c7;
 --ink:var(--atlas-text);--muted:var(--atlas-muted);--paper:var(--atlas-page);--line:var(--atlas-border);--green:var(--atlas-accent);--red:#ffb3c2;
 --desk-ink:var(--atlas-text);--desk-muted:var(--atlas-muted);--desk-paper:var(--atlas-page);--desk-line:var(--atlas-border);--desk-accent:var(--atlas-accent);
 --cp-ink:var(--atlas-text);--cp-muted:var(--atlas-muted);--cp-line:var(--atlas-border);--cp-accent:var(--atlas-accent);
 --oa-ink:var(--atlas-text);--oa-muted:var(--atlas-muted);--oa-line:var(--atlas-border);--oa-accent:var(--atlas-accent);
 --studio-ink:var(--atlas-text);--studio-muted:var(--atlas-muted);--studio-line:var(--atlas-border);--studio-paper:var(--atlas-page);
 --ca-border:var(--atlas-border);--ca-muted:var(--atlas-muted);--ca-accent:var(--atlas-accent);
 --tm-border:var(--atlas-border);--tm-muted:var(--atlas-muted);--ps-border:var(--atlas-border);
 --ko-ink:var(--atlas-text);--ko-muted:var(--atlas-muted);--ko-line:var(--atlas-border);--ko-accent:var(--atlas-accent);
 --px-ink:var(--atlas-text);--px-muted:var(--atlas-muted);--px-line:var(--atlas-border);--px-accent:var(--atlas-accent);
 color-scheme:dark;color:var(--atlas-text)!important;background:var(--atlas-workspace-background)!important;
}

/* The compact shell and floating controls use the same surfaces as the desk. */
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) :is(.reader-sticky-header,.desk-header,.newsroom-header,.desk-masthead,.topbar,.sidebar){background:var(--atlas-panel)!important;color:var(--atlas-text)!important;border-color:var(--atlas-border)!important;box-shadow:none}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) :is(#main,.app-shell,.view,.analytics-content,.kenya-county-profile,#officeArchivePanel,#comparisonContent){background:transparent!important;color:var(--atlas-text)}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) :is(.desk-brand,.brand,.page-heading h1,.reader-controls-panel>strong){color:var(--atlas-text)!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) :is(.desk-brand-light,.brand-mark i,.desk-brand-symbol i:nth-child(2)){color:var(--atlas-accent)!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .desk-brand-symbol i:first-child{background:#edf7fc}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) :is(.desk-brand small,.brand small,.save-state,#publicUpdatedAt,.page-heading p,.page-footer,.breadcrumb,.breadcrumb strong,.reader-controls-panel label){color:var(--atlas-muted)!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) :is(.reader-controls-panel,.reader-header-controls>summary,.reader-simulation-control>.simulation-guide-launch){background:var(--atlas-raised)!important;color:var(--atlas-text)!important;border-color:var(--atlas-border)!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) :is(.reader-simulation-control,.reader-simulation-control .simulation-guide-launch-copy,.reader-simulation-control .simulation-guide-launch-label,.reader-simulation-control .simulation-guide-ai-badge){color:var(--atlas-text)!important;border-color:var(--atlas-border)!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) #atlasRehearsalBanner{background:#493e2b!important;color:#ffe0a1!important;border-bottom-color:#62dfc4!important}

/* Cards and nested sections across Results, Simulate, Turnout, Polls, Evidence
   and account/administration screens. No width or map-camera rules live here. */
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .view:not(#countingView):not(.atlas-reference-wall) :is(
 .panel,[class*="-card"],[class*="-panel"],[class*="-shell"],.results-stat-strip,.results-stat-strip article,
 .region-results-section,.election-map-section,.map-results-panel,.map-controls-drawer,.map-explorer-controls,
 .cp-stats,.cp-stats>article,.cp-source-status,.cp-inside-content,.cp-inside-metrics,.cp-context-grid>article,
 .ee-map-card,.ee-results,.ee-roster,.ee-facts,.ee-roster-metrics,.ee-preview,.ee-form,
 .oa-hero,.oa-workspace,.oa-power-panel,.oa-map-detail,.oa-seats-overview,.oa-seat-group,.oa-summary,.oa-map-measures>article,
 .rc-summary-card,.rc-panel,.rp-election-controls,.rp-region-box,.rp-metrics,.rp-intelligence,.rp-spotlight,.rp-source-disclosure,
 .ko-panel,.ko-section,.ko-tool,.ko-guide-quick,.ko-status,.ko-place-results,
 .px-stats,.px-stats>article,.px-detail,.px-method,.px-register,
 .cs-controls,.cs-metrics,.cs-metrics>article,.cs-results,.cs-verdict,.cs-comparison,.cs-method,
 .studio-controls,.studio-map-detail,.studio-selected-county,.studio-mini-results,.studio-history-controls,
 .tm-stats,.tm-stats>article,.tm-details,.tm-roster,.tm-county-context,.tm-register-note,
 .tl-stats,.tl-stats>article,.tl-overrides,.tl-result-head,.tl-output,
 .ea-filter-bar,.ea-model-context,.ea-model-stats,.ea-model-stats>article,.ea-assumption-grid,.ea-response-buckets,
 .eh-stats,.eh-stats>article,.eh-ticket,.eh-detail,.eh-detail-stats,.eh-notice,.eh-register-notes,
 .ca-sidebar,.ca-detail,.ca-wikibox,.ca-result-card,.ca-summary-stats,.ca-review,
 .batch-controls,.batch-metrics,.batch-metrics>article,.batch-map-detail,.batch-geo-detail,.batch-rank-row,
 .ps-detail,.ps-selected,.ps-hover-card,.ws-detail,.ws-station-list,.ws-evidence,
 .membership-plan,.membership-account,.membership-feature-prompt,.member-account-card,.member-premium-card,
 .member-billing-card,.member-profile-details,.source-list,.workflow-explainer>article,.ledger-toolbar,.intake-card
){background:var(--atlas-panel)!important;color:var(--atlas-text)!important;border-color:var(--atlas-border)!important;box-shadow:none!important}

body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .view:not(#countingView):not(.atlas-reference-wall) :is(
 [class*="-toolbar"],[class*="-filterbar"],[class*="-topbar"],.oa-location-toolbar,.oa-controls-body,.oa-control-footer,
 .rc-controls,.rc-floating-controls,.rc-history-controls,.rp-election-controls,.studio-top-toolbar,.studio-controls-title,
 .ca-header,.studio-header,.tm-header,.ps-header,.ee-location-toolbar,.cp-section-head,.ea-card-source,.batch-filter,
 .source-toolbar,.pdf-page-controls,.pagination,.card-footer,.incoming-process-actions,.cp-mini-facts,.ko-source-note,.ps-roster-heading
){background:var(--atlas-raised)!important;color:var(--atlas-muted)!important;border-color:var(--atlas-border)!important}

/* Ward station detail uses the same dark surfaces as its surrounding map.
   Explicit text tones keep the nested summary and hover cards readable. */
body[data-atlas-theme=broadcast] .ward-stations :is(.ws-heading,.ws-stat-strip,.ws-registration,.ws-leader){background:#21495d!important;color:#edf7fc!important;border-color:#456b80!important}
body[data-atlas-theme=broadcast] .ward-stations :is(.ws-heading h2,.ws-stat-strip strong,.ws-registration dd,.ws-leader strong,.ws-reporting strong){color:#edf7fc!important}
body[data-atlas-theme=broadcast] .ward-stations :is(.ws-heading p,.ws-stat-strip span,.ws-stat-strip small,.ws-registration dt,.ws-registration p,.ws-leader small,.ws-leader span,.ws-detail>p,.ws-eyebrow){color:#c5deeb!important}
body[data-atlas-theme=broadcast] .ward-stations .ws-reporting span{color:#83e5cf!important}

/* Reading text and figures. Candidate/party swatches and chart series retain
   their original data colours; the existing counting stage owns its type scale. */
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .view:not(#countingView):not(.atlas-reference-wall) :is(h1,h2,h3,h4,h5,h6,label,summary,dt,td,dd){color:var(--atlas-text)!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .view:not(#countingView):not(.atlas-reference-wall) :is(p,small,figcaption,[class*="-muted"],[class*="-foot"],[class*="-caption"],[class*="-kicker"],[class*="-eyebrow"],[class*="-description"],[class*="-source-label"]){color:var(--atlas-muted)!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .view:not(#countingView):not(.atlas-reference-wall) :is(
 [class*="-stats"] strong,[class*="-metrics"] strong,[class*="-metric"] strong,[class*="-facts"] strong,
 .map-candidate-line strong,.map-ballot-detail b,.map-results-heading h2,.ee-candidate-line strong,.cp-candidate-heading h3,
 .oa-county-summary strong,.oa-map-candidates strong,.oa-candidates strong,.oa-vote,.oa-seat-group header b,
 .rc-main-metric strong,.rp-metrics strong,.rp-spotlight strong,.rp-intelligence strong,
 .cs-metrics b,.ea-share-top>strong,.eh-detail-lead strong,.ca-target-number,.tm-primary strong,.ps-candidate-rows strong,
 .ko-status-grid strong,.ko-share-top strong,.px-detail-values strong,.member-profile-details dd,.membership-price
){color:var(--atlas-text)!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .view:not(#countingView):not(.atlas-reference-wall) a{color:#8ce8d4!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .view:not(#countingView):not(.atlas-reference-wall) :is(.atlas-party-identity,.atlas-party-name,.atlas-party-name>span){color:#cde3ee!important}

/* Compact controls. Preserve seat-dot fills, range tracks and map geometry. */
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) :is(.desk-header,.topbar,.reader-controls-panel,.sidebar) :is(button,select,input){background:var(--atlas-control)!important;color:var(--atlas-text)!important;border-color:var(--atlas-border)!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .view:not(#countingView):not(.atlas-reference-wall) :is(button:not([data-oa-seat]),.button,select,input:not([type=range]):not([type=checkbox]):not([type=radio]),textarea){background:var(--atlas-control)!important;color:var(--atlas-text)!important;border-color:var(--atlas-border)!important;box-shadow:none}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) :is(input,textarea)::placeholder{color:#a5c1d2!important;opacity:1}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) :is(input[type=range],input[type=checkbox],input[type=radio]){accent-color:var(--atlas-accent)}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) select option{background:#21495d;color:#edf7fc}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .view:not(#countingView):not(.atlas-reference-wall) :is(button,.button):not([data-oa-seat]):hover{background:#2b596d!important;color:#fff!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .view:not(#countingView):not(.atlas-reference-wall) :is(.primary,.cp-primary,.ko-primary,.ca-primary,.tm-primary,.cs-run,.studio-run,.batch-primary,.member-account-primary,.membership-upgrade-button){background:#67d7bd!important;color:#0c303b!important;border-color:#8ae4ce!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .view:not(#countingView):not(.atlas-reference-wall) button:is(.active,[aria-pressed=true],[aria-selected=true],[aria-current=page]){background:#28535e!important;color:#a0f1dd!important;border-color:#68c7b9!important}

/* One tab style throughout, open at the bottom on selection. */
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) :is(#workspaceNav,.cp-tabs,.oa-office-grid,.ca-tabs,.batch-tabs,.batch-map-list-tabs,.studio-tabs,.studio-control-tabs,.simulation-guide-tabs,.member-account-tabs,.map-layer-tabs,.rc-mode-switch,.election-year-nav){--atlas-tab-surface:#102c3c!important;--atlas-tab-line:#567c90!important;--atlas-tab-selected:#9af1db!important;background:transparent!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) :is(#workspaceNav,.cp-tabs,.oa-office-grid,.ca-tabs,.batch-tabs,.batch-map-list-tabs,.studio-tabs,.studio-control-tabs,.simulation-guide-tabs,.member-account-tabs,.map-layer-tabs,.rc-mode-switch,.election-year-nav)>:is(button,a){background:#21475b!important;color:#c7e0ed!important;border-color:#567c90!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) :is(#workspaceNav,.cp-tabs,.oa-office-grid,.ca-tabs,.batch-tabs,.batch-map-list-tabs,.studio-tabs,.studio-control-tabs,.simulation-guide-tabs,.member-account-tabs,.map-layer-tabs,.rc-mode-switch,.election-year-nav)>:is(button,a):is(.active,[aria-pressed=true],[aria-selected=true],[aria-current=page]){background:#102c3c!important;color:#9af1db!important;border-bottom:0!important}

/* The selected office tab joins the location bar directly below it. */
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .view #officeArchivePanel:not(.oa-broadcast) .oa-office-grid>button.oa-office[aria-pressed=true]{background:var(--atlas-raised)!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) #workspaceNav.desk-workspace-nav>button.active{background:var(--atlas-primary-tab-background,var(--atlas-workspace-background))!important}
body[data-atlas-theme=broadcast][data-view=map]{--atlas-primary-tab-background:#132f42}

/* Dense tables remain easy to scan, including sticky column headings. */
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .view:not(#countingView):not(.atlas-reference-wall) :is(table,tbody,thead){background:var(--atlas-panel)!important;color:var(--atlas-text)!important;border-color:var(--atlas-border)!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .view:not(#countingView):not(.atlas-reference-wall) th{background:#244b5f!important;color:#cce4ee!important;border-color:#456b80!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .view:not(#countingView):not(.atlas-reference-wall) td{background:var(--atlas-panel)!important;border-color:#365b70!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .view:not(#countingView):not(.atlas-reference-wall) tbody tr:nth-child(even)>:is(td,th){background:#1c4052!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .view:not(#countingView):not(.atlas-reference-wall) tbody tr:hover>:is(td,th){background:#285467!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .view:not(#countingView):not(.atlas-reference-wall) :is(.ea-share-track,.cp-vote-track,.ee-vote-track,.oa-track,.rc-share-track,.rc-change-track,.tl-driver-track,.cs-prob-track,.ko-share-track,.eh-ticket-bar,.ps-hover-bar,.ws-vote-track,.batch-track,.studio-reveal-track){background:#35596e!important}

/* Existing status meanings remain distinct against the dark surfaces. */
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .view:not(#countingView):not(.atlas-reference-wall) :is(.cp-warning,.cp-quality-note,.eh-warning,.ea-important,.oa-breakdown-warning,.partial,.membership-account-warning,.tl-notice,.batch-callout){background:#4a4231!important;color:#ffe1a8!important;border-color:#937c50!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .view:not(#countingView):not(.atlas-reference-wall) :is(.cp-warning,.eh-warning,.ea-important,.oa-breakdown-warning,.partial,.tl-notice) :is(p,small,strong,span){color:#ffe1a8!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) :is(.error-banner,.cp-source-error,.cs-error,.tl-error,.px-error,.member-account-error,.simulation-guide-note.is-error){background:#513447!important;color:#ffd2db!important;border-color:#a9697d!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .view:not(#countingView):not(.atlas-reference-wall) :is(.cp-badge,.oa-tag,.ea-tag,.ea-verified,.eh-badge,.cp-pending,.cp-note,.ea-note,.ko-source-note,.ps-quality-note,.tm-availability,.membership-notice){background:#264b60!important;color:#c7e3ef!important;border-color:#547a90!important}

/* Floating previews, account dialogs and help use the shared palette as well. */
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) :is(dialog,.simulation-guide,.simulation-guide-body,.membership-access-dialog,.member-auth-card,.member-account-card,.oa-candidate-preview,.map-tooltip,.map-hover-card,.ps-hover-card,.cp-bubble-tooltip,.ee-preview){background:#183a4b!important;color:#edf7fc!important;border-color:#567a90!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) dialog :is(header,footer,.dialog-heading,.dialog-footer,.simulation-guide-header,.simulation-guide-footer,.oa-detail-head,.oa-detail-section,.rc-detail-footer){background:#21495d!important;color:#edf7fc!important;border-color:#456b80!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) :is(dialog,.simulation-guide,.oa-candidate-preview,.map-tooltip,.ps-hover-card,.cp-bubble-tooltip,.ee-preview) :is(h1,h2,h3,h4,strong,b,label,summary,td,th){color:#edf7fc!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) :is(dialog,.simulation-guide,.oa-candidate-preview,.map-tooltip,.ps-hover-card,.cp-bubble-tooltip,.ee-preview) :is(p,small,span){color:#bed8e6!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) :is(dialog,.simulation-guide) :is(input,select,textarea,button){background:#244b5f!important;color:#edf7fc!important;border-color:#567a90!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) dialog::backdrop{background:#061b29b8}

/* Chart labels follow the theme; geographic labels continue to sit on light
   basemap tiles. Party logos, portraits and evidence images are never filtered. */
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .view:not(#countingView):not(.atlas-reference-wall) :is(.ea-trend-chart,.ea-multi-trend,.rc-trend-card,.rp-trend,.cs-chart,.tl-chart,.eh-chart) svg text{fill:#c7e0ee!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .view:not(#countingView):not(.atlas-reference-wall) :is(.ea-trend-chart,.ea-multi-trend,.rc-trend-card,.rp-trend,.cs-chart,.tl-chart,.eh-chart) svg :is(line,[class*="grid"],[class*="axis"]){stroke:#527388!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .atlas-world-map{background:#e6edef!important;color:#294a5b}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .atlas-world-credit{background:#f4f8fae8!important;color:#315b70!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .atlas-world-credit a{color:#315b70!important}

/* Compact desktop rhythm; keep touch controls usable on narrow screens. */
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) #main{padding-top:14px;padding-bottom:24px}
body[data-access=public][data-task=results][data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) main#main{padding-top:0!important}
body[data-access=public][data-task=results][data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) main#main>.page-heading{margin-top:0!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .view:not(#countingView):not(.atlas-reference-wall) :is(.cp-card,.rc-panel,.oa-panel,.ea-card,.eh-card,.px-card,.tl-card,.cs-card,.ko-panel,.batch-panel,.member-account-card){padding:16px}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .view:not(#countingView):not(.atlas-reference-wall) :is(.cp-stats,.results-stat-strip,.tm-stats,.tl-stats,.eh-stats,.px-stats,.cs-metrics,.ea-model-stats,.batch-metrics)>article{padding:12px 16px}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .view:not(#countingView):not(.atlas-reference-wall) :is(table td,table th){padding-top:9px;padding-bottom:9px;font-size:14px!important;line-height:1.4}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .view:not(#countingView):not(.atlas-reference-wall) :is(button:not([data-oa-seat]),select,input:not([type=range]):not([type=checkbox]):not([type=radio])){min-height:36px;font-size:14px!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) :is(#workspaceNav,.cp-tabs,.oa-office-grid,.ca-tabs,.batch-tabs,.studio-tabs,.rc-mode-switch)>button{min-height:40px;padding:8px 13px!important;font-size:14px!important}
@media(max-width:700px){
 body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .view:not(#countingView):not(.atlas-reference-wall) :is(button:not([data-oa-seat]),select,input:not([type=range]):not([type=checkbox]):not([type=radio])){min-height:44px}
 body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) :is(#workspaceNav,.cp-tabs,.oa-office-grid,.ca-tabs,.batch-tabs,.studio-tabs,.rc-mode-switch)>button{min-height:44px}
}


/* Modules declare some legacy tokens locally, so reset them at their roots. */
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) :is(.kenya-county-profile,.kenya-scenario-studio,.kenya-constituency-atlas,.kenya-turnout-map,.px-explorer,#overviewContent,#guideContent,#comparisonContent,#officeArchivePanel){
 --cp-ink:var(--atlas-text);--cp-muted:var(--atlas-muted);--cp-line:var(--atlas-border);--cp-accent:var(--atlas-accent);
 --studio-ink:var(--atlas-text);--studio-muted:var(--atlas-muted);--studio-line:var(--atlas-border);--studio-paper:var(--atlas-page);
 --ko-ink:var(--atlas-text);--ko-muted:var(--atlas-muted);--ko-line:var(--atlas-border);--ko-accent:var(--atlas-accent);
 --px-ink:var(--atlas-text);--px-muted:var(--atlas-muted);--px-line:var(--atlas-border);--px-accent:var(--atlas-accent);
 --ca-ink:var(--atlas-text);--ca-muted:var(--atlas-muted);--ca-border:var(--atlas-border);--ca-accent:var(--atlas-accent);
 --tm-ink:var(--atlas-text);--tm-muted:var(--atlas-muted);--tm-border:var(--atlas-border);
}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) :is(.section-title-row,.map-explorer-heading,.map-intelligence-links,.map-explorer-rail,.map-search,.map-explorer-main,.election-map-layout,.studio-main,.studio-map-topline,.studio-map-legend,.studio-playback,.studio-footer,.cp-source-grid>article,.cp-station-detail,.cp-station-hint,.source-links-grid>article){background:var(--atlas-panel)!important;color:var(--atlas-text)!important;border-color:var(--atlas-border)!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) :is(.map-intelligence-links a,.map-explorer-actions a,.map-explorer-heading>a){background:var(--atlas-raised)!important;color:var(--atlas-text)!important;border-color:var(--atlas-border)!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) :is(.map-explorer-rail,.map-explorer-heading,.map-intelligence-links) :is(label,span,strong,summary){color:var(--atlas-text)!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) :is(.map-explorer-rail,.map-intelligence-links) small{color:var(--atlas-muted)!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) :is(.map-result-stat-label,.map-result-stat small,.map-result-stats small){color:var(--atlas-muted)!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) :is(#mapReceived,#mapValidVotes,#mapReporting,#mapRegistered,.map-result-stat strong){color:var(--atlas-text)!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) :is(.map-north,.studio-map-north,.cp-map-north){color:#294a5b!important;background:#f4f8fae8;border-radius:3px;padding:3px 5px}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .result-status{color:#c6b6ed!important;background:#35455f!important;border-color:#7a75a6!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .cn-estimate-source{font-size:13px!important;line-height:1.5;color:var(--atlas-muted);margin:0 0 14px}


body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]){background-color:var(--atlas-page)!important;--admin-ink:var(--atlas-text);--admin-muted:var(--atlas-muted);--admin-line:var(--atlas-border);--admin-dark:var(--atlas-panel);--admin-teal:var(--atlas-accent);--sim-ink:var(--atlas-text);--sim-muted:var(--atlas-muted);--sim-line:var(--atlas-border);--sim-accent:var(--atlas-accent)}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) :is(#officeArchivePanel,.electoral-explorer,#otherElectionsPanel){--oa-ink:var(--atlas-text);--oa-muted:var(--atlas-muted);--oa-line:var(--atlas-border);--oa-accent:var(--atlas-accent);--ee-muted:var(--atlas-muted);--ee-line:var(--atlas-border);--oe-line:var(--atlas-border);color:var(--atlas-text)}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) :is(.map-intelligence>summary,.admin-stat-grid>article,.admin-next-grid>article,.admin-workflow-note,.admin-queue-row,.admin-readiness-item,.admin-activity-list>li,.oe-cards>article,.oe-drop,.ops-job,.ops-version,.ops-candidate,.context-banner,.source-pane,.source-fingerprint,.form-reader,.review-details,.review-callout,.reference-strip,.audit-item,.csv-pipeline-summary,.csv-pipeline-job,.csv-pipeline-config){background:var(--atlas-panel)!important;color:var(--atlas-text)!important;border-color:var(--atlas-border)!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) :is(.admin-stat-label,.admin-stat-note,.admin-form-heading,.admin-nav-label,.admin-sidebar-note,.admin-panel-description,.admin-environment,.ops-note,.oe-note,.optional,.eyebrow,.form-level,.admin-stat-type,.admin-top-label,.context-banner span){color:var(--atlas-muted)!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) :is(.admin-stat-type,.admin-top-label,.form-token,.status-tag,.count-pill,.ops-badge,.oe-status,.nav-count){background:#2b5164!important;color:#d2e9f3!important;border-color:var(--atlas-border)!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) :is(.admin-stat-grid strong,.oe-cards strong,.ops-heading strong,.ops-metrics strong,.admin-check-count,.admin-queue-row strong,.admin-activity-list strong,.admin-readiness-item strong,.context-banner b,.tally-summary strong,#tallyValue){color:var(--atlas-text)!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) #adminPendingCount{color:#ffd18a!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) :is(.heading-actions,.context-banner) :is(button,select,input,.button){background:var(--atlas-control)!important;color:var(--atlas-text)!important;border-color:var(--atlas-border)!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .admin-sidebar :is(.admin-nav-item,.admin-sidebar-bottom button){color:#c7e0ed!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .admin-sidebar .admin-nav-item.active{background:#295468!important;color:#a0f1dd!important}
/* Admin metadata and selection controls need the same contrast as the queue. */
body[data-atlas-theme=broadcast][data-access=admin] .admin-sidebar :is(.admin-private-label,.admin-sidebar-note p,.admin-research-nav summary,.brand small,.admin-nav-item svg.icon){color:#c7dfeb!important}
body[data-atlas-theme=broadcast][data-access=admin] :is(.csv-pipeline-scope,.csv-pipeline-meta,.csv-pipeline-meta strong,.csv-pipeline-stats span,.csv-pipeline-note,.csv-pipeline-hint,.csv-pipeline-log small,.csv-pipeline-log p,.intake-toolbar>span,.form-list-help){color:#c7dfeb!important}
body[data-atlas-theme=broadcast][data-access=admin] .csv-pipeline-log [data-status=accepted]{color:#83e6ce!important}
body[data-atlas-theme=broadcast][data-access=admin] :is(.form-list-actions,.bulk-csv-toolbar){background:var(--atlas-raised)!important;border-color:var(--atlas-border)!important;color:var(--atlas-text)!important}
body[data-atlas-theme=broadcast][data-access=admin] .form-list-actions :is(label,strong){color:var(--atlas-text)!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .view:not(#countingView):not(.atlas-reference-wall) :is(.ops-error,.oe-warning,.admin-summary-limited,.inline-error){background:#513d37!important;color:#ffe0b8!important;border-color:#a58060!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .view:not(#countingView):not(.atlas-reference-wall) :is(.ops-empty,.admin-empty,.empty-results,.intake-drop-zone,.dropzone){background:var(--atlas-panel)!important;color:var(--atlas-muted)!important;border-color:var(--atlas-border)!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .view:not(#countingView):not(.atlas-reference-wall) :is(.admin-stat-grid>article,.admin-next-grid>article,.ops-panel){padding:16px}

body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) :is(.skip-link,.cp-button,.cp-county-status){background:var(--atlas-panel)!important;color:var(--atlas-text)!important;border-color:var(--atlas-border)!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) :is(.cp-stats>article>span,.cp-source-status>span,.cp-header h1 span,.cp-source-status>span:first-child,.cp-county-status>small,.public-photo-credits,.cp-breadcrumbs>span){color:var(--atlas-muted)!important}

body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) :is(.map-canvas-footer,.map-national-guidance>a,.admin-check-count,.admin-empty-mark,.admin-readiness-symbol,.admin-queue-status){background:var(--atlas-raised)!important;color:var(--atlas-text)!important;border-color:var(--atlas-border)!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) :is(.map-legend span,.map-ballot-detail span,.map-source-context,.map-source-context time,.map-canvas-footer>span,.page-footer>span,.page-footer strong,.page-footer a,.admin-form-heading>span,.admin-activity-list time,.admin-activity-list small){color:var(--atlas-muted)!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) :is(.admin-check-count.has-issues,.admin-readiness-item.warning .admin-readiness-symbol,.admin-readiness-item.blocked .admin-readiness-symbol){background:#4a4231!important;color:#ffe1a8!important}

body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .view:not(#countingView):not(.atlas-reference-wall) :is(.rc-filter-summary,.rc-history-map-detail,.rp-kpis,.rc-history-insights){background:var(--atlas-panel)!important;color:var(--atlas-text)!important;border-color:var(--atlas-border)!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .view:not(#countingView):not(.atlas-reference-wall) :is(table strong,table b,.rp-kpis strong,.rc-filter-summary strong,.rc-history-insights strong,.rc-history-map-detail strong){color:var(--atlas-text)!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .view:not(#countingView):not(.atlas-reference-wall) :is(.rc-mode-switch>span,.rc-filter-summary>span,.rc-history-standing>span,.rc-history-turnout>span,.rc-not-listed,.oa-control-footer>span,.oa-map-legend>span,.oa-seats-key,.oa-pagination>span,li){color:var(--atlas-muted)!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .view:not(#countingView):not(.atlas-reference-wall) :is(.rc-change-indicator.positive,.rc-change-indicator.positive>span){color:#83e1b4!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .view:not(#countingView):not(.atlas-reference-wall) :is(.rc-change-indicator.negative,.rc-change-indicator.negative>span){color:#ffa7b6!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .view:not(#countingView):not(.atlas-reference-wall) .rc-year{background:#294e63!important;color:#cce5ef!important}

body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .view:not(#countingView):not(.atlas-reference-wall) :is(.ea-trend-scroll,.ea-regional-list li,.ea-region-list li,.eh-status,.eh-register-grid,.eh-gap){background:var(--atlas-panel)!important;color:var(--atlas-text)!important;border-color:var(--atlas-border)!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .view:not(#countingView):not(.atlas-reference-wall) :is(.ea-filter-title,.ea-pollster,.ea-share-top>span,.ea-response-buckets b,.ea-poll-meta b,.eh-ticket>strong,.eh-county-tickets strong,.eh-county-tickets b,.eh-register-grid strong){color:var(--atlas-text)!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .view:not(#countingView):not(.atlas-reference-wall) :is([class*="-stats"] span,.ea-response-buckets>span,.ea-poll-meta>span,.ea-card-source>span,.eh-map-legend span,.eh-detail-stats span,.eh-source-list article>span,.eh-source-list code){color:var(--atlas-muted)!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .desk-workspace-nav>span{color:var(--atlas-muted)!important}

body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .view:not(#countingView):not(.atlas-reference-wall) :is(.ko-intro,.ko-form-flow li,.member-account-pitch,.membership-build-access){background:var(--atlas-panel)!important;color:var(--atlas-text)!important;border-color:var(--atlas-border)!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .view:not(#countingView):not(.atlas-reference-wall) :is(.ko-form-flow span,.ko-form-flow b,.membership-build-access strong,.member-account-pitch strong,.member-account-pitch>div>span,.member-account-progress span){color:var(--atlas-text)!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .member-account-progress i{background:var(--atlas-raised)!important;color:var(--atlas-text)!important}

body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .view:not(#countingView):not(.atlas-reference-wall) :is(.scenario-shelf,.scenario-shelf-caption,.scenario-shelf-settings>summary,.cs-aspirant,.cs-run-controls,.studio-control-footer,.studio-map-stage,.studio-reporting,.studio-selected-empty,.studio-national){background:var(--atlas-panel)!important;color:var(--atlas-text)!important;border-color:var(--atlas-border)!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .view:not(#countingView):not(.atlas-reference-wall) :is(.cs-aspirant-name,.scenario-shelf-caption strong,.studio-map-context strong,.studio-candidate-name strong,.studio-candidate-share,.studio-mini-results b,.studio-national-candidate b,.studio-reporting strong){color:var(--atlas-text)!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .view:not(#countingView):not(.atlas-reference-wall) :is(.cs-note,.studio-map-context>span,.studio-map-legend>span,.studio-national-heading>span,.studio-footer>span){color:var(--atlas-muted)!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .view:not(#countingView):not(.atlas-reference-wall) .studio-map-watermark{color:#455e6c!important}

body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .view:not(#countingView):not(.atlas-reference-wall) :is(.batch-status,#batchGeoHeading,.oe-auto-accept){background:var(--atlas-panel)!important;color:var(--atlas-text)!important;border-color:var(--atlas-border)!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .view:not(#countingView):not(.atlas-reference-wall) :is(.batch-geo-detail>strong,.oe-auto-accept strong){color:var(--atlas-text)!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .view:not(#countingView):not(.atlas-reference-wall) :is(.batch-geo-options>span,.batch-bubble-scale>span,.batch-selection-count){color:var(--atlas-muted)!important}

body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .view:not(#countingView):not(.atlas-reference-wall) :is(.tm-map-column,.tm-legend,.tm-scale,.tm-detail-disclosure,.tm-roster>div:first-child,.tm-shell>footer,.tl-workspace-details,.tl-workspace-details>summary,.tl-reference-grid,.tl-assumption-tag,.fp-source,.fp-ai,.ai-settings-body,.fp-run,.fp-stats,.fp-reader,.form-list-actions){background:var(--atlas-panel)!important;color:var(--atlas-text)!important;border-color:var(--atlas-border)!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .view:not(#countingView):not(.atlas-reference-wall) :is(strong,b,output,code){color:var(--atlas-text)!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .view:not(#countingView):not(.atlas-reference-wall) :is(.primary,.cp-primary,.cs-run,.studio-run,.batch-primary,.member-account-primary) :is(strong,b,span){color:inherit!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .view:not(#countingView):not(.atlas-reference-wall) :is(.tm-legend>span,.tl-source,.tl-ends>span,.tl-driver-row>span,.csv-pipeline-scope>span,.csv-pipeline-metrics span,.fp-result-heading>span,.fp-stats span){color:var(--atlas-muted)!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .view:not(#countingView):not(.atlas-reference-wall) :is(.tm-map-caption,.fp-state,.csv-pipeline-badge,#aiConnectionState){background:var(--atlas-raised)!important;color:var(--atlas-text)!important;border-color:var(--atlas-border)!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .view:not(#countingView):not(.atlas-reference-wall) .tl-card input[type=range]{background:transparent!important}

body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .view:not(#countingView):not(.atlas-reference-wall) .ops-kpi{background:var(--atlas-panel)!important;color:var(--atlas-text)!important;border-color:var(--atlas-border)!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .view:not(#countingView):not(.atlas-reference-wall) :is(.ops-live,.ops-kpi>span,.ops-pagination>span){color:var(--atlas-muted)!important}

body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .view:not(#countingView):not(.atlas-reference-wall) :is(.pm-source-strip,.pm-register-strip,.pm-layout,.pm-layout>aside,.pm-legend,.pm-selection-hint){background:var(--atlas-panel)!important;color:var(--atlas-text)!important;border-color:var(--atlas-border)!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .view:not(#countingView):not(.atlas-reference-wall) :is(.pm-kicker,.pm-legend>span){color:var(--atlas-muted)!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .view:not(#countingView):not(.atlas-reference-wall) .pm-watermark{background:#f4f8fae8!important;color:#294a5b!important}

/* Result inspectors occur in map rails, floating previews and scenario maps. */
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) :is(.map-results-card,.map-result-metrics>div,.map-result-register,.map-results-stats>div){background:var(--atlas-raised)!important;color:var(--atlas-text)!important;border-color:var(--atlas-border)!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) :is(.map-result-metrics dt,.map-result-metrics dt>span,.map-result-metrics dd,.map-result-register strong,.map-candidate-line b,.map-result-candidate strong){color:var(--atlas-text)!important;opacity:1!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) :is(.map-result-metrics small,.map-result-register span,.map-result-vote-count,.map-results-footnote,.map-result-candidate small){color:#c4dce9!important;opacity:1!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .map-result-leading{color:#87ead0!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .map-result-metrics dt{font-size:12px!important;line-height:1.4}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .map-result-metrics dd{font-size:18px!important;line-height:1.3;font-weight:750}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .map-result-metrics dd small{font-size:11px!important;line-height:1.4}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .map-candidate-line b{font-size:20px!important;font-weight:750}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) :is(.map-result-vote-count,.map-result-leading){font-size:12px!important}
body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .map-candidate-bar{background:#456b80!important}

body[data-atlas-theme=broadcast]:not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]) .map-result-open{background:var(--atlas-control)!important;color:var(--atlas-text)!important;border-color:var(--atlas-border)!important}

body[data-atlas-theme="broadcast"] #rcHistoryKPIs article>span{color:var(--atlas-muted)!important;opacity:1!important}

body[data-atlas-theme="broadcast"] .px-explorer .px-notice,
body[data-atlas-theme="broadcast"] .px-source-grid article,
body[data-atlas-theme="broadcast"] .px-table tbody tr:is(.is-selected,:hover){background:var(--atlas-raised)!important;color:var(--atlas-text)!important;border-color:var(--atlas-border)!important}
body[data-atlas-theme="broadcast"] .px-explorer :is(.px-notice,.px-notice strong,.px-notice b,.px-stats em,.px-detail-values span,.px-register>span,.px-source-label,.px-source-grid p){color:var(--atlas-muted)!important;opacity:1!important}
body[data-atlas-theme="broadcast"] .px-source-grid a{color:var(--atlas-accent)!important}

/* A/B comparison fieldsets and leader cards share the broadcast palette. */
body[data-atlas-theme=broadcast] #comparisonContent :is(.rp-area-controls,.rp-leader,.rp-insights,.rp-hover,.rp-settings-body){background:var(--atlas-panel)!important;color:var(--atlas-text)!important;border-color:var(--atlas-border)!important}
body[data-atlas-theme=broadcast] #comparisonContent :is(.rp-settings>summary,.rp-leader){background:var(--atlas-raised)!important;color:var(--atlas-text)!important}
body[data-atlas-theme=broadcast] #comparisonContent :is(.rp-area-controls legend,.rp-leader>strong,.rp-hover strong){color:var(--atlas-text)!important;opacity:1!important}
body[data-atlas-theme=broadcast] #comparisonContent :is(.rp-selection-summary,.rp-area-controls summary,.rp-leader>span,.rp-leader>p,.rp-hover,.rp-kpis span,.rp-kpis small,.rp-map-assign,.rp-map-key){color:#c4dce9!important;opacity:1!important}
body[data-atlas-theme=broadcast] #comparisonContent .rp-area-controls:first-child{border-top-color:#70e3c7!important}
body[data-atlas-theme=broadcast] #comparisonContent .rp-area-controls:nth-child(2){border-top-color:#cea4e9!important}
body[data-atlas-theme=broadcast] #comparisonContent .rp-leader.a{border-left-color:#70e3c7!important}
body[data-atlas-theme=broadcast] #comparisonContent .rp-leader.b{border-left-color:#cea4e9!important}
body[data-atlas-theme=broadcast] #comparisonContent .rp-repeat-band{fill:#365064}
body[data-atlas-theme=broadcast] #comparisonContent .rp-trend .rc-series-key span:first-child{color:#70e3c7!important}
body[data-atlas-theme=broadcast] #comparisonContent .rp-trend .rc-series-key span:last-child{color:#cea4e9!important}

body[data-atlas-theme=broadcast] .kenya-county-profile :is(.ee-bubble-legend,.ee-layer-key){background:var(--atlas-raised)!important;color:var(--atlas-text)!important;border-color:var(--atlas-border)!important}
body[data-atlas-theme=broadcast] .kenya-county-profile :is(.ee-bubble-colors>span,.ee-bubble-colors>strong,.ee-ward-hint,.ee-layer-key>span,.ee-layer-key>small){color:#c4dce9!important}

/* Source checks appear inside the historical county dialog as well as cards. */
body[data-atlas-theme=broadcast] #comparisonContent .rc-detail-checks{background:var(--atlas-raised)!important;color:var(--atlas-text)!important;border-left-color:#edc779!important;font-size:13px!important;line-height:1.65}
body[data-atlas-theme=broadcast] #comparisonContent .rc-detail-checks :is(p,li,small,strong){color:#d9eaf3!important;opacity:1!important;font-size:13px!important;line-height:1.65}
body[data-atlas-theme=broadcast] #comparisonContent .rc-detail-checks>strong{font-size:14px!important}
body[data-atlas-theme=broadcast] #comparisonContent .rc-detail-checks a{color:#9af1db!important;font-size:13px!important;font-weight:600;text-decoration:underline;text-underline-offset:3px}

/* Upload evidence surfaces use the dialog palette so every instruction remains readable. */
body[data-atlas-theme=broadcast] #uploadDialog :is(.folder-upload-hint,.drop-zone,.upload-preview,.upload-progress){background:#21495d!important;color:#edf7fc!important;border-color:#567a90!important}
body[data-atlas-theme=broadcast] #uploadDialog .drop-zone:hover{background:#285467!important;border-color:#70e3c7!important}
body[data-atlas-theme=broadcast] #uploadDialog input[type=file]::file-selector-button{background:#183a4b;color:#edf7fc;border:1px solid #567a90;border-radius:3px;padding:6px 10px;margin-right:10px;cursor:pointer}

/* County tabs join the surfaces they open; data and map positions stay unchanged. */
body[data-atlas-theme=broadcast] .view:not(#countingView):not(.atlas-reference-wall) #countyProfileContent .cp-tabs>button[aria-selected=true]{background:var(--atlas-panel)!important}
body[data-atlas-theme=broadcast] .view:not(#countingView):not(.atlas-reference-wall) #countyProfileContent .cp-tabs>button[data-cp-tab=overview][aria-selected=true]{background:var(--atlas-workspace-background)!important}
body[data-atlas-theme=broadcast] .view:not(#countingView):not(.atlas-reference-wall) #countyProfileContent .cp-tabs>button[data-cp-tab=stations][aria-selected=true]{background:var(--atlas-raised)!important}
#countyProfileContent .cp-accepted-forms tr[data-cp-form-code]{cursor:pointer}
#countyProfileContent .cp-accepted-forms tr[data-cp-form-code]:is(:hover,:focus-visible){background:#e8f3f7;outline:2px solid #157c85;outline-offset:-2px}
body[data-atlas-theme=broadcast] #countyProfileContent .cp-accepted-forms tr[data-cp-form-code]:is(:hover,:focus-visible){background:var(--atlas-raised);outline-color:var(--atlas-accent)}

/* Keep historical station controls aligned and the summary strip readable. */
#countyProfileContent .ps-toolbar{display:grid;grid-template-columns:minmax(200px,1fr) 180px 195px auto;align-items:end;gap:12px;padding:16px}
#countyProfileContent .ps-toolbar label{display:grid;gap:7px;margin:0;min-width:0}
#countyProfileContent .ps-toolbar :is(input,select){width:100%;height:38px;min-height:38px;margin:0;box-sizing:border-box}
#countyProfileContent .ps-camera-controls{display:flex;align-items:center;gap:5px;margin:0;flex-wrap:nowrap;align-self:end}
#countyProfileContent .ps-camera-controls button{height:38px;min-height:38px;white-space:nowrap}
#countyProfileContent .ps-history-badge{border-radius:0}
body[data-atlas-theme=broadcast] #countyProfileContent :is(.ps-coverage,.ps-map-column,.ps-legend){background:var(--atlas-panel)!important;color:var(--atlas-text)!important;border-color:var(--atlas-border)!important}
body[data-atlas-theme=broadcast] #countyProfileContent .ps-coverage :is(span,b){color:var(--atlas-text)!important;opacity:1}
body[data-atlas-theme=broadcast] #countyProfileContent .ps-history-badge{background:var(--atlas-panel)!important;color:var(--atlas-text)!important;border-color:var(--atlas-border)}
body[data-atlas-theme=broadcast] #countyProfileContent .ps-toolbar select:disabled{opacity:1;color:var(--atlas-text)!important;-webkit-text-fill-color:var(--atlas-text)}
@media(max-width:1300px){#countyProfileContent .ps-toolbar{grid-template-columns:minmax(200px,1fr) 180px 195px}#countyProfileContent .ps-camera-controls{grid-column:1/-1;justify-self:end}}
@media(max-width:740px){#countyProfileContent .ps-toolbar{grid-template-columns:1fr 1fr}#countyProfileContent .ps-toolbar .ps-search{grid-column:1/-1}#countyProfileContent .ps-camera-controls{justify-self:start;flex-wrap:wrap}}

body[data-atlas-theme=broadcast] #countyProfileContent :is(.cp-fingerprint code,.cp-source-docs code){background:var(--atlas-page)!important;color:#d9eaf3!important;border:1px solid var(--atlas-border);padding:12px;font-size:12px!important;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}

body[data-atlas-theme=broadcast] #countyProfileContent :is(.cp-history-elections>article,.cp-history-table caption){background:var(--atlas-raised)!important;color:var(--atlas-text)!important;border-color:var(--atlas-border)}
body[data-atlas-theme=broadcast] #countyProfileContent .cp-history-elections :is(h4,dt,dd,.cp-history-turnout,.cp-history-turnout-label){color:var(--atlas-text)!important;opacity:1}
body[data-atlas-theme=broadcast] #countyProfileContent .cp-history-status{background:var(--atlas-panel)!important;color:#d9eaf3!important}
body[data-atlas-theme=broadcast] #countyProfileContent .cp-history-status.is-annulled{background:#493e2b!important;color:#ffe0a1!important}
body[data-atlas-theme=broadcast] #countyProfileContent .cp-history-change.positive{color:#70e3c7!important}
body[data-atlas-theme=broadcast] #countyProfileContent .cp-history-change.negative{color:#ff9caa!important}
body[data-atlas-theme=broadcast] #countyProfileContent :is(.cp-history-no-change,.cp-history-unavailable){color:#b5cfdf!important;opacity:1}

/* Polling-location hover and pinned details use the same readable dark palette. */
body[data-atlas-theme=broadcast] .kenya-polling-stations :is(.ps-hover-leader,.ps-leader-summary,.ps-shared-compact,.ps-shared-point,.ps-quality-note){background:var(--atlas-raised)!important;color:var(--atlas-text)!important;border-color:var(--atlas-border)!important}
body[data-atlas-theme=broadcast] .kenya-polling-stations :is(.ps-hover-leader,.ps-leader-summary){border-left-color:var(--atlas-accent)!important}
body[data-atlas-theme=broadcast] .kenya-polling-stations :is(.ps-hover-leader,.ps-leader-summary)>strong{color:var(--atlas-text)!important;font-size:18px!important;opacity:1}
body[data-atlas-theme=broadcast] .kenya-polling-stations :is(.ps-hover-leader,.ps-leader-summary)>:is(small,span){color:#d9eaf3!important;font-size:12px!important;line-height:1.5;opacity:1}
body[data-atlas-theme=broadcast] .kenya-polling-stations :is(.ps-hover-card-head>small,.ps-hover-place,.ps-hover-results small,.ps-hover-totals span,.ps-location-metadata p,.ps-hover-foot,.ps-shared-compact small){color:#c4dce9!important;opacity:1}
body[data-atlas-theme=broadcast] .kenya-polling-stations .ps-hover-results small{font-size:12px!important;line-height:1.5}
body[data-atlas-theme=broadcast] .kenya-polling-stations .ps-hover-bar{background:#456b80!important}

body[data-access=public][data-view=officearchive] .page-heading{display:none!important}
body[data-access=public][data-view=counting] #countingContent.cn-analysis-desk{border-top:0!important}
body[data-atlas-theme=broadcast] :is(#workspaceNav,.election-section-nav.desk-primary-nav,.cp-tabs,.oa-office-grid,.ca-tabs,.batch-tabs,.studio-tabs,.studio-control-tabs,.simulation-guide-tabs,.member-account-tabs,.map-layer-tabs,.rc-mode-switch){border-bottom:0!important;box-shadow:none!important}

/* Public result views share one introduction position and spacing. */
body[data-access=public][data-view=map] #nationalResultsBanner .nr-executive.nr-executive-compact{grid-template-columns:1fr 1fr .55fr .8fr!important;margin-top:0!important;border-top:0!important;padding-top:24px}
body[data-access=public][data-view=map] #nationalResultsBanner .nr-executive-compact>.nr-reporting{min-width:0;width:auto;align-self:center;padding-left:24px;border-left:1px solid #365365}
@media(max-width:1000px){body[data-access=public][data-view=map] #nationalResultsBanner .nr-executive.nr-executive-compact{grid-template-columns:1fr 1fr!important;gap:18px}body[data-access=public][data-view=map] #nationalResultsBanner .nr-executive-compact>:is(.nr-margin,.nr-reporting){padding:0;border:0}}
body[data-access=public][data-task=results]:not([data-atlas-presentation=broadcast]):not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]):not([data-intelligence-presentation=broadcast]) :is(#countingContent.cn-analysis-desk,#projectionContent.cn-analysis-desk,#intelligenceContent>.ei-panel,#nationalResultsBanner .nr-banner){border:0!important}
body[data-access=public][data-task=results]:not([data-atlas-presentation=broadcast]):not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]):not([data-intelligence-presentation=broadcast]) main#main{padding-inline:24px!important}
body[data-access=public][data-task=results]:not([data-atlas-presentation=broadcast]):not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]):not([data-intelligence-presentation=broadcast]) :is(#countingContent.cn-analysis-desk,#projectionContent.cn-analysis-desk,#countyProfileContent.kenya-county-profile,#intelligenceContent>.ei-panel,#officeArchivePanel){box-sizing:border-box;max-width:none!important;margin:0!important;padding:0 24px 24px!important}
body[data-access=public][data-task=results]:not([data-atlas-presentation=broadcast]):not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]):not([data-intelligence-presentation=broadcast]) #nationalResultsBanner .nr-banner{margin:0 24px!important;padding:0 24px 24px!important}
body[data-access=public][data-task=results]:not([data-atlas-presentation=broadcast]):not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]):not([data-intelligence-presentation=broadcast]) :is(.cn-analysis-desk>.cn-modebar,.cn-analysis-desk>.projection-heading,.cp-profile>.cp-header,.ei-panel>.ei-heading,#officeArchivePanel>.oa-hero,.nr-banner>.nr-header){box-sizing:border-box;min-height:168px;margin:0!important;padding:24px 0!important;align-items:center}
body[data-access=public][data-task=results]:not([data-atlas-presentation=broadcast]):not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]):not([data-intelligence-presentation=broadcast]) main#main>.page-heading{box-sizing:border-box;min-height:168px;padding:24px!important;margin:0!important}
body[data-access=public][data-task=results]:not([data-atlas-presentation=broadcast]):not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]):not([data-intelligence-presentation=broadcast]) :is(.cn-modebar h1,.projection-heading h1,.cp-header h1,.ei-panel>.ei-heading h2,.oa-hero h2,.nr-header h2,.page-heading h1){font-size:30px!important;line-height:1.2;letter-spacing:-.6px;margin:0 0 8px!important}
body[data-access=public][data-task=results]:not([data-atlas-presentation=broadcast]):not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]):not([data-intelligence-presentation=broadcast]) :is(.cn-modebar p,.projection-heading p,.cp-header .cp-identity>div>p:last-child,.ei-panel>.ei-heading>div>p,.oa-hero>div>p:last-child,.page-heading>p){line-height:1.5;margin-block:0!important}
@media(max-width:800px){body[data-access=public][data-task=results]:not([data-atlas-presentation=broadcast]):not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]):not([data-intelligence-presentation=broadcast]) main#main{padding-inline:12px!important}body[data-access=public][data-task=results]:not([data-atlas-presentation=broadcast]):not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]):not([data-intelligence-presentation=broadcast]) :is(#countingContent.cn-analysis-desk,#projectionContent.cn-analysis-desk,#countyProfileContent.kenya-county-profile,#intelligenceContent>.ei-panel,#officeArchivePanel){padding-inline:16px!important}body[data-access=public][data-task=results]:not([data-atlas-presentation=broadcast]):not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]):not([data-intelligence-presentation=broadcast]) #nationalResultsBanner .nr-banner{margin-inline:12px!important;padding-inline:16px!important}body[data-access=public][data-task=results]:not([data-atlas-presentation=broadcast]):not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]):not([data-intelligence-presentation=broadcast]) :is(.cn-analysis-desk>.cn-modebar,.cn-analysis-desk>.projection-heading,.cp-profile>.cp-header,.ei-panel>.ei-heading,#officeArchivePanel>.oa-hero,.nr-banner>.nr-header){min-height:0;padding-block:20px!important}}
/* Extend this requested strip to the page edges while retaining its text inset. */
body[data-access=public][data-task=results][data-view=officearchive]:not([data-atlas-presentation=broadcast]):not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]):not([data-intelligence-presentation=broadcast]) #officeArchivePanel>.oa-hero{margin-inline:-48px!important;padding-inline:48px!important}
@media(max-width:800px){body[data-access=public][data-task=results][data-view=officearchive]:not([data-atlas-presentation=broadcast]):not([data-counting-presentation=broadcast]):not([data-office-presentation=broadcast]):not([data-intelligence-presentation=broadcast]) #officeArchivePanel>.oa-hero{margin-inline:-28px!important;padding-inline:28px!important}}

/* Requested county arrangement: reporting and controls left, map centre, candidates right. */
@media(min-width:1101px){
body[data-access=public][data-view=county]:not([data-atlas-presentation=broadcast]) #countyProfileContent .cp-profile:has(>.cp-tab-panel:is(#cp-panel-overview,#cp-panel-areas)){display:grid;grid-template-columns:260px minmax(0,1fr) 300px;gap:16px;align-items:start}
body[data-access=public][data-view=county]:not([data-atlas-presentation=broadcast]) #countyProfileContent .cp-profile:has(>.cp-tab-panel:is(#cp-panel-overview,#cp-panel-areas))>.cp-header{grid-column:1/-1;grid-row:1}
body[data-access=public][data-view=county]:not([data-atlas-presentation=broadcast]) #countyProfileContent .cp-profile:has(>.cp-tab-panel:is(#cp-panel-overview,#cp-panel-areas)) :is(.cp-tab-panel,.cp-overview-dashboard,.cp-summary-rail,.cp-overview-main,[data-cp-explorer],.electoral-explorer,.cp-overview-grid:not([hidden])){display:contents}
body[data-access=public][data-view=county]:not([data-atlas-presentation=broadcast]) #countyProfileContent .cp-profile:has(>.cp-tab-panel:is(#cp-panel-overview,#cp-panel-areas)) .cp-stats{grid-column:1;grid-row:3;grid-template-columns:repeat(2,minmax(0,1fr));margin:0;align-self:start}
body[data-access=public][data-view=county]:not([data-atlas-presentation=broadcast]) #countyProfileContent .cp-profile:has(>.cp-tab-panel:is(#cp-panel-overview,#cp-panel-areas)) .cp-stats>article{padding:10px 12px;border-right:0;border-bottom:1px solid var(--atlas-border)}
body[data-access=public][data-view=county]:not([data-atlas-presentation=broadcast]) #countyProfileContent .cp-profile:has(>.cp-tab-panel:is(#cp-panel-overview,#cp-panel-areas)) .cp-stats>article:last-child{border-bottom:0}
body[data-access=public][data-view=county]:not([data-atlas-presentation=broadcast]) #countyProfileContent .cp-profile:has(>.cp-tab-panel:is(#cp-panel-overview,#cp-panel-areas))>.cp-tabs{grid-column:1;grid-row:4;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:5px;margin:0;overflow:visible;background:none}
body[data-access=public][data-view=county]:not([data-atlas-presentation=broadcast]) #countyProfileContent .cp-profile:has(>.cp-tab-panel:is(#cp-panel-overview,#cp-panel-areas))>.cp-tabs>button{min-width:0;min-height:38px;white-space:normal;text-align:left;justify-content:flex-start;padding:8px;font-size:12px!important}
body[data-access=public][data-view=county]:not([data-atlas-presentation=broadcast]) #countyProfileContent .cp-profile:has(>.cp-tab-panel:is(#cp-panel-overview,#cp-panel-areas)) .ee-location-toolbar{grid-column:1/-1;grid-row:2;display:flex;flex-direction:row;align-items:center;gap:12px;padding:10px;margin:0;min-width:0;border:1px solid var(--atlas-border)}
body[data-access=public][data-view=county]:not([data-atlas-presentation=broadcast]) #countyProfileContent .cp-profile:has(>.cp-tab-panel:is(#cp-panel-overview,#cp-panel-areas)) .ee-location-toolbar :is(label,select){width:auto;min-width:0;max-width:100%}
body[data-access=public][data-view=county]:not([data-atlas-presentation=broadcast]) #countyProfileContent .cp-profile:has(>.cp-tab-panel:is(#cp-panel-overview,#cp-panel-areas)) .ee-location-toolbar label{display:flex;align-items:center;gap:8px;margin-left:auto}
body[data-access=public][data-view=county]:not([data-atlas-presentation=broadcast]) #countyProfileContent .cp-profile:has(>.cp-tab-panel:is(#cp-panel-overview,#cp-panel-areas)) .ee-location-toolbar .ee-breadcrumbs{flex-wrap:wrap;margin:0 auto 0 0;padding:0}
body[data-access=public][data-view=county]:not([data-atlas-presentation=broadcast]) #countyProfileContent .cp-profile:has(>.cp-tab-panel:is(#cp-panel-overview,#cp-panel-areas)) .ee-map-card{grid-column:2;grid-row:3/span 2;min-width:0;align-self:stretch;margin:0}
body[data-access=public][data-view=county]:not([data-atlas-presentation=broadcast]) #countyProfileContent .cp-profile:has(>.cp-tab-panel:is(#cp-panel-overview,#cp-panel-areas)) .ee-results{grid-column:3;grid-row:3/span 2;min-width:0;margin:0;align-self:start}
body[data-access=public][data-view=county]:not([data-atlas-presentation=broadcast]) #countyProfileContent .cp-profile:has(>.cp-tab-panel:is(#cp-panel-overview,#cp-panel-areas)) :is(.ee-status,.ee-form,.ee-roster,.ee-latest-stations,.cp-area-profile,.cp-inside-content,.cp-overview-context,.cp-tab-panel>.cp-card){grid-column:2/-1;min-width:0}
body[data-access=public][data-view=county]:not([data-atlas-presentation=broadcast]) #countyProfileContent .cp-profile:has(>.cp-tab-panel:is(#cp-panel-overview,#cp-panel-areas))>.cp-footer{grid-column:1/-1}
}

@media(min-width:1101px){
body[data-access=public][data-view=county]:not([data-atlas-presentation=broadcast]) #countyProfileContent .cp-profile:has(>.cp-tab-panel:is(#cp-panel-overview,#cp-panel-areas)) .cp-stats strong{font-size:22px!important;line-height:1.2;margin:5px 0}
body[data-access=public][data-view=county]:not([data-atlas-presentation=broadcast]) #countyProfileContent .cp-profile:has(>.cp-tab-panel:is(#cp-panel-overview,#cp-panel-areas)) .cp-stats>article:nth-child(2) strong{font-size:17px!important;white-space:nowrap}
body[data-access=public][data-view=county]:not([data-atlas-presentation=broadcast]) #countyProfileContent .cp-profile:has(>.cp-tab-panel:is(#cp-panel-overview,#cp-panel-areas)) .cp-stats :is(small,article>span){font-size:11px!important;line-height:1.45}
body[data-access=public][data-view=county]:not([data-atlas-presentation=broadcast]) #countyProfileContent .cp-profile:has(>.cp-tab-panel:is(#cp-panel-overview,#cp-panel-areas)) .ee-location-toolbar .ee-county-filter{display:none!important}
}

/* Keep comparison choices readable in both the sidebar and Broadcast drawer. */
body[data-atlas-theme=broadcast] #comparisonContent :is(#rcControlsBody,.rp-settings-body){background:#183a4b!important;color:#edf7fc!important;border-color:#456b80!important}
body[data-atlas-theme=broadcast] #comparisonContent :is(#rcControlsBody,.rp-settings-body) :is(label,legend,summary,p,small,summary span){color:#c4dce9!important;opacity:1}
body[data-atlas-theme=broadcast] #comparisonContent :is(#rcControlsBody,.rp-settings-body) :is(strong,select,button){color:#edf7fc!important}
body[data-atlas-theme=broadcast] #comparisonContent :is(#rcControlsBody,.rp-settings-body) select{background:#244b5e!important;border-color:#527689!important}
body[data-atlas-theme=broadcast] #comparisonContent :is(#rcControlsBody,.rp-settings-body) :is(select:disabled,button:disabled){color:#aec7d4!important}
body[data-atlas-theme=broadcast] #comparisonContent .rc-share-heading>label{color:#c4dce9!important}

/* Requested Analysis arrangement: comparison and geographic controls on the left. */
body[data-view=comparison]:not([data-atlas-presentation=broadcast]) #comparisonContent .rc-history-workspace{display:grid;grid-template-columns:280px minmax(0,1fr);gap:16px;align-items:start;margin-bottom:20px;min-width:0}
body[data-view=comparison]:not([data-atlas-presentation=broadcast]) #comparisonContent .rc-history-control-rail{display:flex;flex-direction:column;gap:16px;min-width:0}
body[data-view=comparison]:not([data-atlas-presentation=broadcast]) #comparisonContent .rc-inline-controls{position:static!important;inset:auto!important;width:100%!important;max-width:none;max-height:none;display:flex!important;filter:none;z-index:auto}
body[data-view=comparison]:not([data-atlas-presentation=broadcast]) #comparisonContent .rc-inline-controls #rcControlsToggle{width:100%;min-height:44px;text-align:left}
body[data-view=comparison]:not([data-atlas-presentation=broadcast]) #comparisonContent .rc-inline-controls #rcControlsToggle[aria-expanded=true] .rc-controls-chevron{transform:rotate(180deg)}
body[data-view=comparison]:not([data-atlas-presentation=broadcast]) #comparisonContent .rc-inline-controls #rcControlsBody{max-height:none;overflow:visible;padding:14px}
body[data-view=comparison]:not([data-atlas-presentation=broadcast]) #comparisonContent .rc-history-control-rail .rc-geography-panel{margin:0;padding:14px;min-width:0}
body[data-view=comparison]:not([data-atlas-presentation=broadcast]) #comparisonContent .rc-history-control-rail .rc-geography-selects{grid-template-columns:minmax(0,1fr);gap:12px;margin-top:12px}
body[data-view=comparison]:not([data-atlas-presentation=broadcast]) #comparisonContent .rc-history-control-rail :is(label,select,summary){font-size:13px!important;line-height:1.5}
body[data-view=comparison]:not([data-atlas-presentation=broadcast]) #comparisonContent .rc-history-control-rail :is(legend,.rc-foot){font-size:12px!important;line-height:1.5}
body[data-view=comparison]:not([data-atlas-presentation=broadcast]) #comparisonContent .rc-history-workspace>.rc-history-map-panel{min-width:0;margin-bottom:0}
#comparisonContent .rc-share-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}
#comparisonContent .rc-share-heading h4{flex:1;margin:0;min-width:160px}
#comparisonContent .rc-share-heading>label{display:grid;gap:5px;flex:0 1 180px;font-size:12px!important;line-height:1.5;min-width:140px}
#comparisonContent .rc-share-heading select{box-sizing:border-box;width:100%;min-height:40px;margin:0;font-size:13px!important}
@media(max-width:1100px){body[data-view=comparison]:not([data-atlas-presentation=broadcast]) #comparisonContent .rc-history-workspace{grid-template-columns:minmax(0,1fr)}body[data-view=comparison]:not([data-atlas-presentation=broadcast]) #comparisonContent .rc-history-control-rail{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}}
@media(max-width:700px){body[data-view=comparison]:not([data-atlas-presentation=broadcast]) #comparisonContent .rc-history-control-rail{grid-template-columns:minmax(0,1fr)}}

@media(max-width:700px){
 body[data-atlas-theme=broadcast][data-access=admin] .incoming-forms-table tbody{background:var(--atlas-page)!important}
 body[data-atlas-theme=broadcast][data-access=admin] .incoming-forms-table tbody tr{background:var(--atlas-panel)!important;color:var(--atlas-text)!important;border-color:var(--atlas-border)!important}
 body[data-atlas-theme=broadcast][data-access=admin] .incoming-forms-table :is(.incoming-area-name,.incoming-document strong){color:var(--atlas-text)!important}
 body[data-atlas-theme=broadcast][data-access=admin] .incoming-forms-table .incoming-area-name.is-warning{color:#ffdc96!important}
 body[data-atlas-theme=broadcast][data-access=admin] .incoming-forms-table [data-label]::before{color:#b5cfdf!important}
 body[data-atlas-theme=broadcast][data-access=admin] .incoming-forms-table .table-action:disabled{opacity:1!important;color:#aec5d2!important;background:#1e4051!important;border-color:#456475!important}
 body[data-atlas-theme=broadcast][data-access=admin] .incoming-process-actions>span{color:#b5cfdf!important}
 body[data-atlas-theme=broadcast][data-access=admin] .incoming-process-actions button:disabled{opacity:.75!important;color:#d4e5ee!important}
 #officeArchivePanel .oa-map-legend{display:none!important}
}

body[data-atlas-theme=broadcast] .rc-geography-toolbar{margin:0 0 16px;padding:12px 14px;background:var(--atlas-panel);border:1px solid var(--atlas-border)}
body[data-atlas-theme=broadcast] .rc-geography-toolbar>summary{display:none}
body[data-atlas-theme=broadcast] .rc-geography-toolbar #rcDrillControls{display:grid;grid-template-columns:minmax(180px,1fr) minmax(0,3fr);gap:10px 20px;align-items:center}
body[data-atlas-theme=broadcast] .rc-geography-toolbar .rc-geography-selects{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
body[data-atlas-theme=broadcast] .rc-geography-toolbar label{color:#c4dce9;font-size:12px}
body[data-atlas-theme=broadcast] .rc-geography-toolbar select{color:#edf7fc;background:#244b5f;border-color:#456b80}
body[data-atlas-theme=broadcast] .rc-geography-toolbar select:disabled{color:#aec7d4;opacity:1}
body[data-atlas-theme=broadcast] .rc-geography-toolbar #rcDrillStatus{grid-column:1/-1;margin:0;font-size:11px}
body[data-atlas-theme=broadcast] .rc-geography-toolbar #rcDrillStatus:empty{display:none}
body[data-atlas-theme=broadcast] .rc-drill-breadcrumbs{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;font-size:13px;line-height:1.5}
body[data-atlas-theme=broadcast] .rc-drill-breadcrumbs :is(a,button){border:0;padding:3px 0;min-height:30px;background:transparent;color:#8eecd9;font:inherit;text-decoration:none;cursor:pointer}
body[data-atlas-theme=broadcast] .rc-drill-breadcrumbs strong{font-size:inherit;color:#edf7fc}
body[data-atlas-theme=broadcast] .rc-drill-breadcrumbs>span{color:#9bbccc}
body[data-access=public] .reader-desktop-controls{display:contents}
body[data-access=public] .reader-desktop-controls>strong{color:var(--atlas-text,#173e51);font-size:16px}
body[data-access=public] .reader-mobile-menu{display:none}
@media(max-width:700px){
 body[data-access=public] .desk-masthead{grid-template-columns:44px minmax(0,1fr);grid-template-areas:'controls brand' 'status status'}
 body[data-access=public] .desk-masthead>.desk-account-actions{display:none!important}
 body[data-access=public] .reader-desktop-controls{display:none!important}
 body[data-access=public] .reader-controls-panel{width:340px;max-height:calc(100dvh - var(--reader-controls-top,140px) - 14px);overflow:auto;padding:12px;gap:0}
 body[data-access=public] .reader-mobile-menu{display:grid!important;gap:4px;margin:0;padding:0}
 body[data-access=public] .reader-mobile-menu>strong{padding:4px 10px 10px;color:#edf7fc;font-size:16px;line-height:1.4}
 body[data-access=public] .reader-mobile-menu>:is(a,button){display:flex;align-items:center;min-height:44px;width:100%;box-sizing:border-box;padding:9px 12px;border:1px solid #456b80;background:#244b5f;color:#edf7fc!important;font:inherit;font-size:15px!important;line-height:1.5;text-decoration:none;text-align:left;cursor:pointer}
 body[data-access=public] .reader-mobile-menu>[aria-current=page]{background:#102c3c!important;border-color:#70e3c7!important;color:#9af1db!important}
 body[data-access=public] .reader-mobile-menu>:is(a,button):focus-visible{outline:2px solid #70e3c7;outline-offset:1px}
}
