/* LFSA Digital, adapted to a light data workspace. Encodings belong to the data. */
:root{--lfsa-deep:#061640;--lfsa-navy:#0a2463;--lfsa-gold:#f5c518;--lfsa-blue:#2278a8;--ink:#16181d;--muted:#5b6472;--paper:#fbfbfc;--line:#e3e6ec;--green:#2278a8;--white:#fff;--sans:'Inter',system-ui,sans-serif;--serif:'Space Grotesk',sans-serif}
body{font-family:var(--sans);-webkit-font-smoothing:antialiased;line-height:1.55;background:var(--paper)}
header{height:auto;min-height:72px;background:var(--lfsa-deep);padding:12px 28px;border-bottom:1px solid #ffffff18;gap:28px;row-gap:10px;flex-wrap:wrap}
.brand{font-family:var(--serif);letter-spacing:.04em;gap:12px}.brand-mark{display:inline-block;flex:none;width:40px;height:48px;font-family:Georgia,'Times New Roman',serif;font-size:48px;font-weight:400;letter-spacing:-8px;line-height:1}.brand-mark span{color:#d0af72;font-size:25px}.brand-sub{letter-spacing:.15em}.header-note{color:#cbd5e1}header .quiet{border-color:#ffffff25;color:#cbd5e1}
.lab-nav button{font-family:var(--serif);font-size:14px;color:#cbd5e1;min-height:44px}.lab-nav button[aria-pressed=true]{color:#f5c518;border-color:#f5c518}
.workspace{max-width:1920px;grid-template-columns:280px minmax(0,1fr)}.controls{background:#fff;padding:28px 22px;border-color:var(--line)}.controls h1{font-family:var(--serif);font-size:25px;line-height:1.16;letter-spacing:-.03em;font-weight:600}.intro{font-size:12px;line-height:1.7}.controls label{font-size:12px;color:#303946;font-weight:600}.section-line{border-color:var(--line);margin-top:28px}.section-line h2{font-family:var(--serif);font-size:14px}
main{padding:28px 28px 0}.main-heading h2{font-family:var(--serif);font-weight:600;letter-spacing:-.03em;font-size:32px}.period-label{font-size:12px}.main-heading{margin-bottom:20px}
select,input,.search-box{border-color:#cfd5df;border-radius:8px;background:#fff;color:var(--ink);font-size:13px;min-height:44px}input{caret-color:var(--lfsa-blue)}select:disabled,input:disabled{background:#f1f3f7;color:#657080}.search-box input{min-width:0}.search-results{background:#fff;box-shadow:0 8px 24px #06164018}.search-results button:hover{background:#edf3fa}
.segmented,.map-view-menu,.chart-view-menu{background:#edf0f5;border-radius:8px}.segmented button{color:#515e70;min-height:44px}.segmented .active{background:#fff;color:var(--lfsa-navy);box-shadow:none;border:1px solid #cfd5df}.map-view-menu button,.chart-view-menu button,.cohort-basis button{font-family:var(--serif);font-size:12px;min-height:44px;color:#465469;border-radius:6px}.map-view-menu button:hover,.chart-view-menu button:hover{background:#fff;color:var(--lfsa-navy)}.map-view-menu button[aria-pressed=true],.chart-view-menu button[aria-pressed=true],.cohort-basis button[aria-pressed=true]{background:var(--lfsa-navy);color:#fff}.cohort-basis button{background:#edf0f5}.explorer-presets button{border-color:#cfd5df;background:#fff;color:#465469;min-height:44px;border-radius:8px}
.map-section{border-radius:12px;border-color:#cfd5df}.panel-map,#map{background:#f0f3f7}.comparison-map h3{font-family:var(--serif);color:var(--ink);background:#fff;font-size:13px;font-weight:600}.panel-legend{background:#fff;color:#465469;border-color:var(--line)}.legend-note,.legend-values{color:#5b6472}.close-violence{border-color:#cfd5df;color:#465469;border-radius:6px}.close-violence:hover{background:#edf0f5}.leaflet-tooltip{font-family:var(--sans);font-size:12px;line-height:1.5;border:1px solid #cfd5df;border-radius:8px;box-shadow:0 6px 20px #06164018}
.metrics strong,.detail-data strong{font-family:var(--serif);font-weight:600;letter-spacing:-.025em;font-variant-numeric:tabular-nums}.metrics span{letter-spacing:.04em;font-size:11px}.metrics small{font-size:12px}.score-title h3,h3,.explorer-title h2,.swing-ranking h2,.cohort-heading h2{font-family:var(--serif);letter-spacing:-.025em;font-weight:600}.scoreboard,.detail-card,.relation-card,.explorer-controls,.swing-ranking{border-color:var(--line);border-radius:12px;background:#fff}.selected-territory .detail-card{padding:24px}.detail-card p{font-size:13px;line-height:1.7}.pill{background:#edf0f5;color:#465469}.vote-bar{background:#edf0f5}
#preset-explanation,.map-caption,.selection-note{background:#edf3fa;color:#344761;border-radius:8px}#correlation,.ranking-link,.cohort-select{color:var(--lfsa-navy)}.chart-toolbar label,.segment-fields label{color:#465469}.explorer-controls{padding:22px;gap:18px}.chart-toolbar,.shared-explorer,.segment-controls,.bklit-report{border-color:var(--line)}
.table-scroll th,.bklit-table th{background:#f0f3f7;color:#465469;font-family:var(--serif);font-size:12px}.table-scroll td,.bklit-table td{border-color:var(--line);font-variant-numeric:tabular-nums}.table-scroll tbody tr:hover,.bklit-table tbody tr:hover{background:#edf3fa}.segment-fields select{border-radius:8px;border-color:#cfd5df;color:var(--ink)}.cohort-report td small{color:#5b6472}.bklit-surface{--chart-foreground:#16181d;--chart-foreground-muted:#5b6472;--chart-grid:#e3e6ec;border-color:var(--line);border-radius:12px}.bklit-surface h3{font-family:var(--serif)}.bklit-surface p{color:#465469}.bklit-chart svg text{fill:#16181d}.bklit-link{background:var(--lfsa-navy);border-color:var(--lfsa-navy);border-radius:8px}.bklit-link:hover{background:var(--lfsa-deep)}.bklit-tooltip{border-color:#cfd5df;color:var(--ink);border-radius:8px}.cohort-select:active{background:#edf3fa;color:var(--lfsa-navy)}
button,a,select,input{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--lfsa-blue);outline-offset:3px}header button:focus-visible,header a:focus-visible,header select:focus-visible{outline-color:var(--lfsa-gold)}::selection{background:var(--lfsa-gold);color:var(--lfsa-deep)}*{scrollbar-color:#aab6c8 #f0f3f7;scrollbar-width:thin}
@media(max-width:1100px){header{gap:16px}.header-note{display:none}main{padding:24px 20px 0}}
@media(max-width:700px){header{padding:0 14px;gap:12px;height:auto;min-height:72px;flex-wrap:wrap;padding-block:12px}.brand{font-size:17px}.brand-mark{width:32px;height:40px;font-size:40px}.brand-mark span{font-size:21px}.lab-nav{flex:1}.lab-nav button{padding-inline:9px;font-size:13px}.workspace{display:block}.controls{padding:18px}.controls h1{display:none}main{padding:20px 14px 0}.main-heading h2{font-size:25px}.map-view-menu button{font-size:11px}.period-label{font-size:10px}.explorer-controls{padding:16px}.metrics{gap:12px}.metrics strong{font-size:24px}.metrics span,.metrics small{font-size:10px}.selected-territory .detail-card{padding:18px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.explorer-table button,.table-select,.table-actions button{color:var(--lfsa-navy)}.history-report,.cohort-report,.party-editor,.method-details{border-color:var(--line)}.cohort-basis button:active{background:#edf3fa;color:var(--lfsa-navy)}.field-note,.panel-legend,.source-mini{line-height:1.6}.map-caption{padding:12px 16px}
/* Match the incumbent selector specificity for sidebar and workbench states. */
.controls select,.controls input,.explorer-controls select,.chart-toolbar select,.table-filters select{min-height:44px;border:1px solid #cfd5df;border-radius:8px;background:#fff;color:var(--ink);font-family:var(--sans);font-size:13px}
.controls .search-box input{border:0;background:transparent}.explorer-presets button[aria-pressed=true]{background:var(--lfsa-navy);color:#fff;border-color:var(--lfsa-navy)}
.crime-dot{background:#16181d}.vote-dot{background:var(--lfsa-blue)}.brand-sub{font-family:var(--sans)}


/* Atlas identity and single-owner borders. Never place a frame around a frame. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0}
header .brand{flex:none}header .lab-nav{align-self:center;gap:8px}
header .lab-nav button{position:relative;min-height:44px;padding:10px 16px;border:0;border-radius:6px;text-decoration:none;background:transparent;line-height:1.25}
header .lab-nav button[aria-pressed=true]{color:var(--lfsa-gold);text-decoration:none}
header .lab-nav button[aria-pressed=true]::after{content:'';position:absolute;left:16px;right:16px;bottom:2px;height:2px;background:var(--lfsa-gold);border-radius:1px}
header .lab-nav button:hover,header .quiet:hover{background:#ffffff0c}
header .language-switch{display:block;flex:none;margin:0 0 0 auto;min-width:0;min-height:0;width:auto;background:none;border:0;box-shadow:none;border-radius:0}
header .language-switch select{display:block;min-width:132px;max-width:180px;min-height:44px;margin:0;border:1px solid #ffffff40;box-shadow:none;background:#0a2463;color:#f4f4f5;border-radius:8px;font-family:var(--sans);font-size:12px;padding:8px 26px 8px 10px;line-height:1.4;font-weight:500}header .language-switch option{background:#0a2463;color:#f4f4f5}
header .quiet{border:0;margin-left:0;padding:10px 12px;min-height:44px;border-radius:6px;white-space:nowrap}
.map-section.multiple-maps{overflow:hidden;border:1px solid #cfd5df;border-radius:12px;background:#fff}
.paired-maps,.history-maps{gap:0;background:#fff}
.comparison-map{border:0;border-radius:0;background:#fff}
.paired-maps .comparison-map+.comparison-map,.history-maps .comparison-map+.comparison-map{border-left:1px solid var(--line)}
.comparison-map h3{border:0;border-bottom:1px solid var(--line)}
.comparison-map .panel-map{border:0;border-radius:0}
.panel-legend{border:0;border-top:1px solid var(--line)}
.controls .search-box{border:1px solid #cfd5df;border-radius:8px;overflow:hidden}
.controls .search-box input{border:0;border-radius:0;box-shadow:none}
@media(max-width:900px){header .quiet{display:none}}
@media(max-width:700px){header{gap:10px;padding:12px 14px}header .brand{margin-right:auto}header .language-switch{margin-left:0}header .language-switch select{min-width:120px;max-width:156px;font-size:12px}header .lab-nav{order:3;flex-basis:100%;margin-left:0;gap:8px}header .lab-nav button{flex:1;text-align:center;min-height:44px}header .lab-nav button[aria-pressed=true]::after{left:25%;right:25%}.paired-maps .comparison-map+.comparison-map,.history-maps .comparison-map+.comparison-map{border-left:0;border-top:1px solid var(--line)}}

@media(min-width:701px) and (max-width:1099px){.history-maps .comparison-map:nth-child(odd){border-left:0}.history-maps .comparison-map:nth-child(n+3){border-top:1px solid var(--line)}}
footer{align-items:center;flex-wrap:wrap;gap:16px;padding:24px 0;border-top:1px solid var(--line);font-size:12px;line-height:1.7}
.builder-credit{margin:0;color:var(--muted)}.builder-credit a{display:inline-flex;align-items:center;min-height:44px;color:var(--lfsa-navy);text-decoration:underline;text-underline-offset:4px;text-decoration-color:#cfd5df}.builder-credit a:hover{text-decoration-color:var(--lfsa-navy)}footer #footer-method{min-height:44px;font-size:12px}@media(max-width:700px){footer{align-items:flex-start;gap:4px}.builder-credit{font-size:11px}footer #footer-method{padding:8px 0}}
/* Compact navigation and explicit electoral transition workflow. */
[hidden]{display:none!important}.workspace.sidebar-collapsed{grid-template-columns:minmax(0,1fr)}
.sidebar-toggle{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:8px 12px;margin:0 0 18px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);font-weight:600;font-size:13px}.sidebar-toggle .icon{transform:rotate(90deg)}.sidebar-collapsed .sidebar-toggle .icon{transform:rotate(-90deg)}
.close-violence{display:inline-flex;align-items:center;justify-content:center;float:right;width:44px;height:44px;padding:10px;margin:-12px -8px -8px 8px}.close-violence .icon{width:20px;height:20px}
.transition-report{margin:24px 0 32px;padding:24px;border:1px solid var(--line);border-radius:12px;background:#fff;scroll-margin-top:20px}.transition-report h2{font-size:24px;margin:0;line-height:1.25}.transition-report>p{max-width:70ch;line-height:1.5}.transition-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:22px 0 12px}.transition-filters label{display:block;font-size:12px;font-weight:600;margin-bottom:8px}.transition-filters select,.transition-range input{width:100%;min-height:44px;border:1px solid #cfd5df;border-radius:8px;background:#fff;color:var(--ink);padding:9px 12px}.transition-range{display:grid;grid-template-columns:auto minmax(80px,180px) auto minmax(80px,180px);align-items:center;gap:12px;margin:16px 0}.transition-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding:20px 0;margin:12px 0;border-block:1px solid var(--line)}.transition-summary strong{display:block;font-size:28px;font-variant-numeric:tabular-nums}.transition-summary span{font-size:12px;color:#465469}.transition-report .bklit-surface{border:0;padding:12px 0}.transition-link{min-height:44px;border:0;background:transparent;color:var(--lfsa-navy);font-weight:700;text-decoration:underline;text-underline-offset:4px;padding:6px 10px}.analysis-method{margin-top:20px;color:#465469}.analysis-method p{max-width:75ch;line-height:1.6}.analysis-method summary,.segment-controls>summary,.cohort-report>summary{cursor:pointer;font-weight:600;padding:8px 0}.cohort-report{padding:18px 0}.segment-controls>summary{margin-bottom:12px}.coverage-bars{list-style:none;padding:0;margin:24px 0;display:grid;gap:20px}.coverage-bars li>div:first-child{display:flex;justify-content:space-between;gap:16px;margin-bottom:8px;font-size:13px}.coverage-bars strong{font-variant-numeric:tabular-nums}.coverage-bars small{font-weight:400;color:#465469}.coverage-track{height:12px;background:#edf0f5;border-radius:4px;overflow:hidden}.coverage-track span{display:block;height:100%;background:var(--lfsa-navy);border-radius:4px}
@media(max-width:700px){.transition-report{padding:16px}.transition-filters{grid-template-columns:1fr}.transition-summary{grid-template-columns:1fr 1fr}.transition-range{grid-template-columns:1fr 1fr}.transition-report .table-scroll table{min-width:680px}.sidebar-toggle{position:relative}.cohort-report table{min-width:600px}}
.controls #filter-toggle{display:none!important}.controls .filter-fields{display:block!important}.sidebar-toggle:hover{background:#edf0f5}.transition-cities button,#transition-cities button{border:0;background:transparent;min-height:44px;color:var(--lfsa-navy);text-align:left;text-decoration:underline;text-underline-offset:3px}
/* Impeccable audit: readable labels and targets at every breakpoint. */
.brand-sub{font-size:11px;letter-spacing:.08em}.field-note,.sidebar-footer,.source-mini,.pill,.map-help,.legend,.legend-note,.legend-values,.map-label,.period-label,.metrics span,.metrics small,.detail-data span,.candidate-row,.coverage-note,.panel-legend,.chart-toolbar,.builder-credit,footer{font-size:12px}
header .quiet,.toolbar-right .quiet,.quiet,.text-button,#relief-controls button{font-size:13px;min-height:44px}.legend{width:190px;padding:14px}.map-help{padding:10px 12px}.score-title>span,.score-candidate small,#filter-summary,#size-key small,.winner-key,.vote-bins small{font-size:12px}.party-editor .field-note{font-size:12px}.comparison-map h3{padding:16px}.transition-summary span{line-height:1.5}.controls h1{margin-top:0}
@media(max-width:700px){.period-label{font-size:12px}.metrics span,.metrics small{font-size:12px}.map-view-menu button,.cohort-basis button{font-size:12px}.main-heading{align-items:flex-start;gap:12px;flex-wrap:wrap}.main-heading .period-label{text-align:left}.legend{width:172px;right:10px}.map-label{max-width:calc(100% - 24px)}.map-help{display:none}}
.map-summary{margin:18px 0 28px;border-block:1px solid var(--line);padding:12px 0}.map-summary>summary{cursor:pointer;font-weight:600;min-height:44px;padding:10px 0}.map-summary>summary span{font-weight:400;font-size:12px;color:var(--muted);margin-left:12px}.map-summary .metrics{margin-top:18px}.candidate-change,.party-change{display:block;font-size:12px;line-height:1.6;color:#465469}.candidate-change{margin-top:6px}.cohort-focus{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0}.cohort-focus label{display:block;font-size:12px;font-weight:600;margin-bottom:8px}.cohort-focus select{width:100%;padding:9px 12px;border:1px solid #cfd5df;min-height:44px}.party-cohort-chart{margin-block:24px}.cohort-legend{display:flex;flex-wrap:wrap;gap:16px;margin-bottom:16px;font-size:12px}.cohort-legend span:before{content:"";display:inline-block;width:12px;height:12px;margin-right:7px;background:#cfd5df;border-radius:2px}.cohort-legend .gain-key:before{background:#2278a8}.cohort-legend .retained-key:before{background:#0a2463}.cohort-legend .loss-key:before{background:#b6633f}.party-outcome-bar{display:flex;height:18px;min-width:200px;border-radius:3px;overflow:hidden;background:#edf0f5;margin-bottom:8px}.cohort-bar-gained{background:#2278a8}.cohort-bar-retained{background:#0a2463}.cohort-bar-lost{background:#b6633f}.cohort-bar-other{background:#cfd5df}.cohort-counts{display:flex;flex-wrap:wrap;gap:4px}.party-cohort-chart button{min-height:44px;border:0;background:transparent;color:var(--lfsa-navy);font-weight:600;text-decoration:underline;text-underline-offset:4px;padding:6px 8px;text-align:left}.party-cohort-chart td{vertical-align:top;padding:16px 12px}.party-cohort-chart th{text-align:left;white-space:normal}.party-cohort-chart td small{display:block;font-size:12px;line-height:1.6;color:#465469}.cohort-net{font-weight:700;font-variant-numeric:tabular-nums}.transition-refine>summary{font-weight:600;cursor:pointer;min-height:44px;padding-block:10px}.party-cohort-chart table{width:100%;border-collapse:collapse}.party-cohort-chart td,.party-cohort-chart th{border-bottom:1px solid var(--line)}
@media(max-width:900px){.cohort-focus{grid-template-columns:1fr}.party-cohort-chart table{min-width:800px}.map-summary>summary span{display:block;margin-left:0}}
.map-summary .scoreboard{padding:20px}.transition-report .bklit-surface{padding:12px}.cohort-report{padding:18px}
.global-group{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 24px;padding:18px;border:1px solid var(--line);border-radius:12px;background:#fff}.global-group strong{font-size:15px;line-height:1.5}.global-group p{font-size:12px;color:var(--muted);margin:6px 0 0;max-width:75ch}.global-group-actions{display:flex;gap:8px;flex-wrap:wrap;flex-shrink:0}.global-group-actions button,.apply-group{min-height:44px;border:1px solid #cfd5df;border-radius:8px;background:#fff;padding:10px 14px;color:var(--lfsa-navy);font-size:13px;font-weight:600}.apply-group{background:var(--lfsa-navy);border-color:var(--lfsa-navy);color:#fff;margin:10px 0 16px}.apply-group:hover{background:var(--lfsa-deep)}.global-group-actions button:hover{background:#edf0f5}@media(max-width:1000px){.global-group{align-items:flex-start;flex-direction:column}.global-group-actions{flex-shrink:1}}
.socio-report{padding:24px 0;margin:28px 0;border-block:1px solid var(--line)}.socio-report h2{font-size:24px;line-height:1.3;margin:0 0 12px}.socio-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:22px 0}.socio-stats span{display:block;color:var(--muted);font-size:12px}.socio-stats strong{display:block;font-size:24px;line-height:1.4;font-variant-numeric:tabular-nums}.socio-report table{border-collapse:collapse;width:100%;font-variant-numeric:tabular-nums}.socio-report caption{text-align:left;padding:12px 0;font-weight:600;font-size:13px}.socio-report th,.socio-report td{padding:12px;text-align:right;border-bottom:1px solid var(--line)}.socio-report th{font-size:12px;background:#f0f3f7}.socio-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.socio-report details{max-width:80ch;margin-top:12px}.socio-report summary{cursor:pointer;font-weight:600;min-height:44px;padding-block:10px}.socio-report details p{font-size:13px;line-height:1.6}.socio-detail{border-top:1px solid var(--line);padding-top:12px;margin-top:16px}.socio-report .apply-group:disabled{background:#edf0f5;color:#657080;cursor:not-allowed;border-color:var(--line)}@media(max-width:700px){.socio-stats{grid-template-columns:1fr;gap:14px}.socio-report table{min-width:520px}.socio-stats strong{font-size:22px}}

/* Cohort comparisons: visible denominators and shared count/percentage scales. */
.cohort-view-control{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:24px 0 12px}.cohort-view-control label{font-size:13px;font-weight:600}.cohort-view-control select{min-height:44px;padding:8px 12px;max-width:100%}.cohort-takeaway{font-size:20px;font-weight:600;line-height:1.4;margin:20px 0 8px;max-width:65ch}.cohort-visual-row{padding:20px 0;border-bottom:1px solid var(--line)}.cohort-visual-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:12px}.cohort-visual-heading button{font-weight:600;font-size:15px;text-align:left;min-height:44px;padding:8px 12px}.cohort-visual-heading>span{font-size:13px;color:var(--muted)}.cohort-visual-row .party-outcome-bar{height:20px;background:transparent;border-radius:0}.cohort-visual-row .cohort-counts{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.cohort-visual-row .cohort-counts button{min-height:44px;padding:8px 12px;font-size:13px;color:var(--ink);background:var(--surface,#fff);border:1px solid var(--line);border-radius:6px}.cohort-counts button span{color:var(--muted);margin-left:6px}.cohort-visual-row button[aria-pressed=true]{outline:2px solid #142e72;outline-offset:2px}.cohort-visual-row button:disabled{opacity:.65;cursor:default}.cohort-deltas{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:20px 0 0}.cohort-deltas dt{font-size:13px;color:var(--muted)}.cohort-deltas dd{font-size:20px;font-weight:600;margin:4px 0;font-variant-numeric:tabular-nums}.cohort-deltas small{font-size:12px;color:var(--muted)}.cohort-details{margin-top:20px}.cohort-details>summary{min-height:44px;padding:12px 0;cursor:pointer;font-weight:600}.cohort-details .cohort-legend{display:none}@media(max-width:600px){.cohort-deltas{grid-template-columns:1fr;gap:12px}.cohort-deltas>div{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}.cohort-deltas dt{flex-basis:100%}.cohort-takeaway{font-size:18px}}
/* Shared control rhythm: keep text, hit areas and native-menu affordances apart. */
body :is(.controls,.explorer-controls,.chart-toolbar,.table-filters,.transition-report,.cohort-workbench,.socio-report,.analysis-map-workbench) select{
 appearance:none;-webkit-appearance:none;min-height:44px;min-width:0;max-width:100%;margin:0;padding:10px 40px 10px 12px;line-height:1.4;box-sizing:border-box;
 background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23465469' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:16px 16px
}
body :is(.controls,.explorer-controls,.table-filters,.transition-report,.cohort-workbench,.socio-report) label{line-height:1.4}
.chart-toolbar,.table-filters,.cohort-view-control{gap:12px;align-items:center;flex-wrap:wrap}
header{column-gap:20px;row-gap:12px;padding:14px 24px;min-height:76px;height:auto;align-items:center}
header .brand{min-width:0}header .lab-nav{display:flex;min-width:0;gap:8px;align-items:stretch}
header .lab-nav button{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;padding:10px 14px;min-width:0;min-height:52px;text-align:left}
header .nav-data-badge{display:block;white-space:normal;line-height:1.35;font-size:11px;font-family:var(--sans);font-weight:400;letter-spacing:0}
header .language-switch{margin:0 0 0 auto;flex:0 0 auto;align-self:center}
header .language-switch select{appearance:none;-webkit-appearance:none;min-height:44px;min-width:168px;max-width:184px;padding:10px 40px 10px 12px;line-height:1.4;margin:0;background-repeat:no-repeat;background-position:right 12px center;background-size:16px 16px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23edf2f8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
@media(min-width:1024px){header{flex-wrap:nowrap}header .lab-nav{flex:1 1 auto}header .header-note{flex:0 1 auto;white-space:nowrap}}
@media(max-width:1399px){header .header-note{display:none}}
@media(max-width:1023px){header{flex-wrap:wrap;padding:14px 20px;gap:14px 16px}header .lab-nav{order:3;flex:1 0 100%;margin:0}header .lab-nav button{flex:1;align-items:center;text-align:center}header .language-switch{margin-left:auto}header .quiet{display:none}}
@media(max-width:600px){header{padding:12px 14px;gap:12px}header .brand{font-size:16px;gap:9px;letter-spacing:.04em}header .brand-mark{width:32px;height:40px;font-size:40px}header .brand-sub{font-size:9px;letter-spacing:.05em}header .language-switch select{min-width:164px;max-width:170px;font-size:12px}header .lab-nav{gap:8px}header .lab-nav button{padding:10px 8px;min-height:58px}header .nav-data-badge{font-size:11px}}
@media(forced-colors:active){body select,header .language-switch select{appearance:auto;-webkit-appearance:auto;background-image:none}}
/* Every native select shares one text/chevron gutter, including lazy-loaded panels.
   Important logical insets protect this contract from component padding shorthands. */
:root{--atlas-select-chevron:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23465469' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");--atlas-select-chevron-light:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23edf2f8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
body select{box-sizing:border-box;appearance:none!important;-webkit-appearance:none!important;min-block-size:44px!important;min-inline-size:0!important;max-inline-size:100%!important;padding-block:10px!important;padding-inline-start:12px!important;padding-inline-end:44px!important;line-height:1.4;margin-block:0;background-image:var(--atlas-select-chevron)!important;background-repeat:no-repeat!important;background-position:right 12px center!important;background-size:16px 16px!important;text-overflow:ellipsis;white-space:nowrap;touch-action:manipulation}
header select,body[data-tab="counting"] select{--atlas-select-chevron:var(--atlas-select-chevron-light);--atlas-select-disabled-bg:#142a5a;--atlas-select-disabled-ink:#b8c7df}
header select{--atlas-control-focus:var(--lfsa-gold,#f5c518)}body[data-tab="counting"] select{--atlas-control-focus:#79afff}
body select:focus-visible{outline:2px solid var(--atlas-control-focus,#1769c2)!important;outline-offset:3px}
body select:disabled{opacity:1!important;cursor:not-allowed;background-color:var(--atlas-select-disabled-bg,#f1f3f7)!important;color:var(--atlas-select-disabled-ink,#5b6472)!important}
body select:is([multiple],[size]:not([size="0"]):not([size="1"])){appearance:auto!important;-webkit-appearance:auto!important;background-image:none!important;padding-inline-end:12px!important;white-space:normal}
body .two-fields>div{min-inline-size:0;flex:1 1 0}body :is(.results-table-controls,.vote-balance-controls,.chart-toolbar,.table-filters,.analysis-indicator-control,.cohort-view-control,.selection-toolbar,#comparison-toolbar){gap:12px;flex-wrap:wrap;align-items:flex-end}
body :is(.results-table-controls,.vote-balance-controls)>label{min-inline-size:0;max-inline-size:100%;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:7px;margin:0;line-height:1.4}
body .results-table-controls>label{flex:1 1 180px}body .results-table-controls>label>select{width:100%}body .vote-balance-controls>label{flex:1 1 240px}
body :is(.cohort-steps,.cohort-weight,.table-filters,.explorer-controls)>*{min-inline-size:0}body .analysis-indicator-control{min-inline-size:0}
header .language-switch{min-inline-size:0;max-inline-size:100%}
@media(max-width:600px){body select{font-size:16px!important}body :is(.results-table-controls,.vote-balance-controls,.analysis-indicator-control,.cohort-view-control){align-items:stretch}body :is(.results-table-controls,.vote-balance-controls)>label{flex:1 1 100%;width:100%}header .language-switch select{width:206px;max-width:100%;min-width:0}body .analysis-indicator-control select{width:100%}}
@media(forced-colors:active){body select{appearance:auto!important;-webkit-appearance:auto!important;background-image:none!important;background-color:Field!important;color:FieldText!important;border:1px solid ButtonText!important}body select:disabled{color:GrayText!important}body select:focus-visible{outline-color:Highlight!important}}
body select:dir(rtl){background-position:left 12px center!important}
.vote-transfer-simple{max-width:75ch;margin:18px 0;line-height:1.6;font-size:13px}.vote-transfer-simple>summary{min-height:44px;padding:11px 0;font-weight:600;cursor:pointer}.vote-transfer-simple>summary:focus-visible{outline:2px solid #1769c2;outline-offset:3px}.vote-transfer-simple p{margin:10px 0}.vote-transfer-simple ul{padding-inline-start:20px}
