:root{--paper:#f7f5f0;--white:#fffefa;--ink:#292c32;--muted:#747776;--wine:#7e263f;--wine-light:#f1e5e8;--line:#e3e1da;--gold:#b69a65;--green:#54756a;--shadow:0 10px 32px #37283a08;font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:14px;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button{background:none;border:0}button:disabled,select:disabled,input:disabled{cursor:not-allowed;opacity:.45}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:3px solid #bc9351;outline-offset:3px}button:hover{color:var(--wine)}[hidden]{display:none!important}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:650;letter-spacing:-.035em}h1{font-size:34px;line-height:1.16}h1>span{color:var(--wine)}h2{font-size:23px}.header{background:#fffefa;border-bottom:1px solid var(--line);padding:0 max(28px,calc((100vw - 1544px)/2))}.masthead{min-height:90px;display:flex;gap:36px;align-items:center}.identity{display:flex;gap:12px;align-items:center;flex:none}.identity-mark{background:var(--wine);color:#fff7e9;width:45px;height:45px;border-radius:13px;display:grid;place-items:center}.identity-mark svg{width:30px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round}.identity b{font-size:21px;letter-spacing:.13em;font-weight:750}.identity small{display:block;letter-spacing:.19em;font-size:9px;margin-top:3px;color:var(--wine);font-weight:700}.site-name{border-left:1px solid var(--line);padding-left:28px;font-weight:600;font-size:18px;line-height:1.45;letter-spacing:-.025em}.site-name em{font-style:normal;color:var(--wine)}.site-name small{display:block;font-weight:400;font-size:11px;color:var(--muted);letter-spacing:0}.nav{display:flex;margin-left:auto;align-items:center;gap:6px}.nav :is(button,a){padding:10px 15px;border-radius:7px;font-size:12px;white-space:nowrap}.nav .active{background:var(--wine-light);color:var(--wine);font-weight:600}.nav span{margin-left:6px}.office-tabs{display:flex;border-top:1px solid var(--line);border-bottom:1px solid var(--line);gap:8px}.office-tabs button{position:relative;flex:1;white-space:nowrap;padding:16px 10px;font-size:12px;color:#666965}.office-tabs button.active{color:var(--wine);font-weight:700}.office-tabs button.active:after{position:absolute;bottom:-1px;left:0;right:0;height:3px;background:var(--wine);content:'';border-radius:2px 2px 0 0}.office-tabs button:hover{background:#f8f1f0}.filters{display:grid;grid-template-columns:1.35fr 1.25fr 1fr 1fr 1.15fr 34px;gap:14px;padding:16px 0 19px;align-items:end}label{display:flex;flex-direction:column;gap:6px;font-size:10px;font-weight:650;color:#646664;letter-spacing:.015em}select,input{background:#fffefa;border:1px solid var(--line);border-radius:6px;color:var(--ink);height:36px;padding:0 10px;min-width:0;font-size:12px}select{padding-right:25px;width:100%}.input-wrap{display:flex;border:1px solid var(--line);border-radius:6px;background:var(--white);align-items:center}.input-wrap span{font-size:21px;padding-left:10px;color:#999}.input-wrap input{border:0;width:100%;background:transparent}.icon-button{width:34px;height:36px;font-size:23px;border-radius:6px}.icon-button:hover{background:var(--wine-light)}main{max-width:1600px;margin:auto;padding:26px 28px 0}.explorer-heading{display:flex;justify-content:space-between;gap:20px;align-items:flex-end;margin-bottom:22px}.breadcrumb{font-size:11px;color:var(--muted);margin-bottom:10px;display:flex;align-items:center;gap:9px}.breadcrumb button{padding:0;color:var(--wine);font-weight:600}.breadcrumb span{color:#c6bdb7}#election-description{font-size:12px;color:var(--muted);margin-top:9px}.label,.eyebrow{text-transform:uppercase;letter-spacing:.13em;font-size:9px;font-weight:700;color:var(--muted)}.year-controls{text-align:right}.year-buttons{display:flex;gap:6px;justify-content:flex-end;margin-top:7px;max-width:680px;flex-wrap:wrap}.year-buttons button{border:1px solid var(--line);border-radius:6px;padding:9px 14px;background:var(--white);font-size:12px}.year-buttons button.active{background:var(--wine);color:white;border-color:var(--wine);box-shadow:0 4px 8px #7e263f12}.year-controls p{font-size:10px;color:var(--muted);margin-top:7px;max-width:620px}.map-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px;gap:12px}.segmented{padding:4px;border:1px solid var(--line);border-radius:8px;display:flex;gap:3px}.segmented button{padding:7px 12px;font-size:11px;border-radius:5px;color:var(--muted)}.segmented .active{color:var(--wine);background:#fffefa;box-shadow:0 1px 5px #312b3012;font-weight:650}.map-options{display:flex;align-items:center;gap:16px}.map-options label{flex-direction:row;align-items:center}.map-options select{width:90px;height:29px;font-size:11px}.button{border:1px solid var(--line);padding:9px 13px;border-radius:6px;background:var(--white);font-size:11px;display:inline-flex;gap:14px;justify-content:center;align-items:center;line-height:1.4}.button:hover{border-color:#bd9da8}.button.primary{background:var(--wine);color:white;border-color:var(--wine)}.map-layout{display:grid;grid-template-columns:minmax(0,1fr) 292px;gap:16px;align-items:stretch}.map-panel,.summary-panel{border:1px solid var(--line);background:var(--white);border-radius:11px;overflow:hidden;box-shadow:var(--shadow)}.map-stage{height:clamp(400px,47vw,560px);position:relative;background:#eeefeb;overflow:hidden;isolation:isolate}.map-stage:before{content:'';position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at 50% 30%,#f8f8f4,transparent 75%)}#map{width:100%;height:100%;position:absolute;inset:0;touch-action:none;user-select:none}#map.dragging{cursor:grabbing}#map path{vector-effect:non-scaling-stroke;stroke:#fffdf7;stroke-width:.7;cursor:pointer;transition:fill .15s}#map path:hover,#map path:focus{stroke:#402a37;stroke-width:2;outline:none}#map path.selected{stroke:var(--wine);stroke-width:2.5}#map .map-label{font-size:11px;font-family:inherit;fill:#303235;paint-order:stroke;stroke:#ffffffa8;stroke-width:3px;stroke-linejoin:round;pointer-events:none;text-anchor:middle;font-weight:650;letter-spacing:.02em}#map .state-label{font-size:10px}.map-level{position:absolute;top:15px;left:15px;background:#fffefae8;backdrop-filter:blur(10px);border:1px solid #e3e0d9;border-radius:6px;padding:8px 11px;font-size:10px;color:#5d645f;pointer-events:none}.map-north{position:absolute;top:21px;right:19px;font-size:12px;letter-spacing:2px;color:#777e72}.zoom-control{position:absolute;left:15px;bottom:42px;display:flex;flex-direction:column;border:1px solid #d8dcd2;border-radius:7px;background:var(--white);box-shadow:0 3px 6px #20202007;overflow:hidden}.zoom-control button{width:33px;height:33px;font-size:21px;line-height:1}.zoom-control button+button{border-top:1px solid var(--line)}.zoom-control button:hover{background:var(--wine-light)}.map-ocean{position:absolute;bottom:26px;left:33%;letter-spacing:.3em;font-size:10px;color:#a1aaa7;pointer-events:none}.tile-attribution{position:absolute;bottom:1px;right:0;font-size:9px;background:#ffffffe0;padding:3px}.map-footer{min-height:39px;padding:10px 14px;display:flex;gap:10px;justify-content:space-between;align-items:center;font-size:10px;color:var(--muted)}.map-footer button{font-size:10px;white-space:nowrap;color:var(--wine)}.summary-panel{padding:24px 22px;display:flex;flex-direction:column;}.summary-panel .eyebrow{color:var(--wine);font-size:9px}.summary-title{display:flex;gap:8px;justify-content:space-between;margin:9px 0 19px}.summary-title h2{font-size:24px}.primary-stat strong{display:block;font-size:36px;letter-spacing:-.05em;font-weight:600;line-height:1.1}.primary-stat>span{font-size:11px;color:var(--muted);display:block;margin-top:5px}.stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:20px 0 0}.stat-grid span{display:block;color:var(--muted);font-size:10px;margin-bottom:5px}.stat-grid b{font-size:16px;font-weight:600;letter-spacing:-.02em}.summary-coverage{font-size:10px;color:var(--muted);line-height:1.5;padding:11px 0 14px;border-bottom:1px solid var(--line)}.summary-list-title{font-size:10px;display:flex;justify-content:space-between;gap:8px;margin:15px 0 10px}.summary-list-title>span{color:var(--muted)}.summary-votes{overflow:auto;min-height:60px;flex:1;scrollbar-width:thin;scrollbar-color:#c6b7bb transparent}.vote-group{padding:7px 0 9px;border-bottom:1px solid #e9e6e0}.vote-line{display:flex;align-items:center;gap:6px;font-size:10px;line-height:1.5}.vote-line strong{margin-left:auto;font-size:11px;white-space:nowrap}.swatch{width:8px;height:8px;border-radius:2px;flex:none;display:inline-block}.vote-line small{color:var(--muted);font-size:9px;width:38px;text-align:right;flex:none}.vote-bar{height:3px;background:#eeebe5;border-radius:2px;margin-top:5px;overflow:hidden}.vote-bar i{height:100%;display:block;border-radius:2px}.ballot-details{margin:5px 0 2px 14px;font-size:9px;color:#6e716d}.ballot-details summary{cursor:pointer;font-size:9px}.ballot-details div{display:flex;justify-content:space-between;line-height:1.9}.summary-votes .other-vote{display:flex;justify-content:space-between;font-size:10px;color:#777b74;margin-top:9px}.color-rule{color:var(--muted);font-size:9px;line-height:1.5;margin-top:15px;padding-top:10px}.source-link{display:inline-block;color:var(--wine);font-size:10px;margin-top:11px;text-decoration:underline;text-underline-offset:3px}.summary-panel .primary{width:100%;margin-top:13px}.notice{font-size:11px;background:#f5eedf;border:1px solid #e5dbc4;border-radius:7px;color:#6d5a35;padding:12px 15px;margin-top:12px;line-height:1.6}.map-legend{display:flex;gap:16px;flex-wrap:wrap;align-items:center;margin:13px 3px 0;min-height:16px;color:#777970;font-size:10px}.map-legend>span{display:flex;gap:5px;align-items:center}.map-legend strong{color:#52574d;font-weight:600;margin-right:6px}.history-workspace{margin-top:30px}.data-tabs{border-bottom:1px solid var(--line);display:flex;gap:26px}.data-tabs button{font-size:12px;padding:0 0 13px;position:relative;color:var(--muted)}.data-tabs .active{color:var(--wine);font-weight:650}.data-tabs .active:after{content:'';position:absolute;bottom:-1px;left:0;right:0;height:2px;background:var(--wine)}.section-heading{display:flex;justify-content:space-between;align-items:center;margin:26px 0 18px;gap:15px}.section-heading .eyebrow{font-size:8px;margin-bottom:7px}.section-heading h2{font-size:23px}.section-heading p{font-size:11px;color:var(--muted);margin-top:7px}.coverage-chip{font-size:10px;color:#6f7b6f;background:#eaf0e7;border:1px solid #dce6d7;border-radius:20px;padding:6px 10px;white-space:nowrap}.year-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.year-card{background:var(--white);border:1px solid var(--line);border-radius:9px;padding:21px;min-width:0}.year-card.active{border-color:#b68b98}.year-card-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.year-card h3{font-size:28px;font-weight:550}.year-card-head button{font-size:10px;color:var(--wine);background:var(--wine-light);padding:5px 8px;border-radius:5px}.year-card .total{font-size:23px;letter-spacing:-.03em}.year-card .small-label{color:var(--muted);font-size:10px;margin:3px 0 15px}.year-card .vote-line{font-size:9px}.year-card .vote-line small{width:32px}.year-card .stat-grid{padding-top:12px;border-top:1px solid var(--line);margin-top:14px;grid-template-columns:1fr;gap:10px}.year-card .stat-grid div{display:flex;justify-content:space-between}.year-card .stat-grid b{font-size:12px}.year-card .source-link{font-size:9px}.method-strip{margin:25px 0 30px;border-top:1px solid var(--line);padding:21px 0;display:flex;align-items:center;gap:13px}.method-strip p{font-size:10px;color:var(--muted);line-height:1.7;max-width:1000px}.info-icon{border:1px solid #a8a393;border-radius:50%;height:20px;width:20px;flex:none;display:grid;place-items:center;font-family:serif;color:#8a816b}.method-strip button{font-size:10px;color:var(--wine);white-space:nowrap;margin-left:auto}footer{max-width:1600px;margin:auto;border-top:1px solid var(--line);padding:24px 28px 32px;display:flex;gap:24px;align-items:center;font-size:10px;color:var(--muted)}footer a{font-weight:750;color:var(--ink);letter-spacing:.08em}footer a span{font-weight:400;font-size:9px}footer p{margin-left:auto}footer button{font-size:10px}.map-tooltip{position:absolute;z-index:5;width:285px;max-height:390px;overflow:auto;background:#fffefaf5;backdrop-filter:blur(12px);border:1px solid #d4c8cb;box-shadow:0 8px 25px #2e223b20;border-radius:8px;padding:15px;pointer-events:auto;font-size:11px}.map-tooltip h3{font-size:17px;margin-bottom:6px}.map-tooltip .tooltip-meta{font-size:10px;color:var(--muted);margin-bottom:10px}.map-tooltip .tooltip-footer{margin-top:10px;color:var(--wine);font-size:10px}.map-tooltip .vote-line{font-size:10px}.map-loading{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:10px;background:#f5f4efd9;z-index:10;color:var(--wine);font-size:12px}.spinner{border:2px solid #cbbcc1;border-top-color:var(--wine);border-radius:50%;width:17px;height:17px;animation:spin 1s infinite linear}@keyframes spin{to{transform:rotate(360deg)}}.secondary-view{min-height:70vh;max-width:1280px;margin:25px auto 60px}.secondary-view>h1{margin:12px 0}.secondary-view>p{color:var(--muted);line-height:1.7;font-size:13px}.people-controls{display:grid;grid-template-columns:2fr 1fr;gap:15px;max-width:850px;margin:30px 0 16px}.people-controls input,.people-controls select{height:45px;font-size:14px}.people-results{margin-top:25px;display:grid;gap:12px}.person-card{border:1px solid var(--line);border-radius:9px;padding:20px;background:var(--white)}.person-card h3{font-size:19px}.person-card>p{font-size:11px;color:var(--muted);margin-top:5px}.person-row{display:flex;gap:18px;align-items:center;padding:12px 0;border-top:1px solid var(--line);font-size:11px;margin-top:10px}.person-row b{color:var(--wine)}.person-row span:last-child{margin-left:auto}.empty-state{border:1px dashed #cbc7bf;border-radius:9px;padding:35px;text-align:center;line-height:1.7;color:var(--muted);font-size:13px;grid-column:1/-1}.empty-state strong{color:var(--ink);display:block;font-size:17px;margin-bottom:5px;font-weight:550}.sources-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:26px 0}.source-card{background:var(--white);border:1px solid var(--line);border-radius:9px;padding:23px}.source-card h2{font-size:19px;margin-bottom:12px}.source-card p,.source-card li{font-size:12px;color:var(--muted);line-height:1.8}.source-card a{color:var(--wine);text-decoration:underline;text-underline-offset:3px}.source-card ul{padding-left:17px}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:8px;background:var(--white)}table{border-collapse:collapse;width:100%;font-size:11px}th{text-align:left;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.03em;padding:12px 15px;background:#f1f0eb;white-space:nowrap}td{padding:12px 15px;border-top:1px solid var(--line);vertical-align:top}td .swatch{margin-right:7px}.chart-panel{padding:25px;background:var(--white);border:1px solid var(--line);border-radius:9px;margin-bottom:18px}.chart-panel p{font-size:11px;color:var(--muted);margin-bottom:20px}.chart-panel svg{width:100%;height:310px;overflow:visible}.chart-panel circle{cursor:pointer}.chart-panel circle:hover,.chart-panel circle:focus{stroke:var(--wine);stroke-width:3;outline:none}.chart-tip{font-size:12px;background:var(--wine-light);padding:10px 14px;border-radius:6px;min-height:37px;color:var(--wine);margin-top:10px}.chart-legend{display:flex;flex-wrap:wrap;gap:13px;font-size:10px;margin-top:10px}.chart-legend span{display:flex;align-items:center;gap:6px}dialog{border:1px solid var(--line);border-radius:12px;max-width:520px;padding:32px;color:var(--ink);background:var(--white);box-shadow:0 20px 100px #26242b33}dialog::backdrop{background:#2b203b55}dialog>.icon-button{position:absolute;right:10px;top:10px}dialog h2{margin:10px 0 20px}dialog li{padding:7px 0;font-size:13px}dialog p{font-size:11px;color:var(--muted);line-height:1.7}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:12px 20px;border-radius:8px;color:white;background:var(--wine);font-size:12px;z-index:40;max-width:90vw;box-shadow:0 5px 25px #30203030}.muted{color:var(--muted)}.candidate-name{font-size:9px;color:var(--muted);line-height:1.4;padding:3px 0 0 14px}.status-pill{font-size:9px;padding:3px 6px;background:#eeeee8;border-radius:4px;display:inline-block}
@media(min-width:1600px){.header{padding:0 calc((100vw - 1544px)/2)}.map-stage{height:580px}}
@media(max-width:1100px){.site-name{display:none}.masthead{min-height:77px}.filters{gap:9px;grid-template-columns:1.4fr 1.4fr 1fr 1fr 1.1fr 30px}.map-layout{grid-template-columns:minmax(0,1fr) 265px;gap:12px}.summary-panel{padding:20px 17px}.primary-stat strong{font-size:31px}.year-buttons button{padding:8px 10px}.year-card{padding:16px}.year-card .vote-line small{display:none}.map-stage{height:460px}}
@media(max-width:800px){.header{padding:0 18px}.masthead{gap:15px;min-height:75px}.identity-mark{width:38px;height:38px;border-radius:10px}.identity b{font-size:18px}.identity small{font-size:8px}.nav{gap:1px}.nav :is(button,a){padding:8px 10px;font-size:11px}.office-tabs{overflow-x:auto;gap:8px}.office-tabs button{padding:14px 8px;font-size:11px;flex:none}.filters{grid-template-columns:1fr 1fr 1fr;padding:14px 0;gap:12px}.section-filter{grid-column:2}.filters .icon-button{justify-self:end}main{padding:20px 18px 0}.explorer-heading{align-items:flex-start;flex-direction:column;gap:16px}h1{font-size:30px}.year-controls{text-align:left}.year-buttons{justify-content:flex-start}.year-controls p{max-width:none}.map-toolbar{flex-wrap:wrap}.map-options{margin-left:auto}.map-layout{grid-template-columns:1fr}.map-stage{height:500px}.summary-panel{display:block;padding:22px}.summary-title{margin-bottom:15px}.summary-panel .stat-grid{max-width:350px}.summary-votes{max-height:360px}.primary-stat strong{font-size:35px}.summary-coverage{padding-bottom:13px}.year-grid{grid-template-columns:1fr 1fr}.year-card .vote-line small{display:block}.section-heading{align-items:flex-start}.coverage-chip{display:none}.method-strip{align-items:flex-start;flex-wrap:wrap}.method-strip p{flex:1}.method-strip button{margin-left:33px}footer{padding:24px 18px;gap:12px;flex-wrap:wrap}footer p{margin:0}.sources-grid{grid-template-columns:1fr}.people-controls{grid-template-columns:1fr}.person-row{flex-wrap:wrap;gap:8px}.person-row span:last-child{margin-left:0}.map-ocean{left:25%}}
@media(max-width:480px){.header{padding:0 13px}.identity{gap:8px}.identity b{font-size:17px}.identity small{font-size:7px}.identity-mark{width:32px;height:34px}.identity-mark svg{width:24px}.nav :is(button,a){padding:8px 6px;font-size:10px}.nav :is(button,a) span{display:none}.filters{grid-template-columns:1fr 1fr;gap:10px}.entity-filter{grid-column:1}.section-filter{grid-column:1}.filters .icon-button{grid-column:2;grid-row:3;align-self:end}.filters label{font-size:9px}main{padding:20px 13px 0}.map-toolbar{gap:10px}.segmented{width:100%;justify-content:space-between}.segmented button{padding:6px 7px;font-size:10px}.map-options{width:100%;justify-content:space-between}.map-stage{height:390px}.map-level{font-size:9px;max-width:78%;padding:7px 8px;top:10px;left:10px}.map-north{right:12px;top:16px}.map-footer{font-size:9px;align-items:start;line-height:1.5}.map-footer button{font-size:9px}.map-legend{gap:9px;font-size:9px}.data-tabs{gap:20px}.data-tabs button{font-size:11px}.year-grid{grid-template-columns:1fr}.year-card{padding:20px}.year-card .vote-line{font-size:11px}.year-card .stat-grid{grid-template-columns:1fr 1fr}.year-card .stat-grid div{display:block}.section-heading h2{font-size:22px}.chart-panel{padding:16px 12px}.chart-panel svg{height:250px}.secondary-view h1{font-size:29px}.people-controls input{font-size:12px}.map-tooltip{width:260px;max-height:310px}.map-ocean{font-size:8px;letter-spacing:.18em}.year-buttons button{padding:8px 11px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}@media print{.header,.map-toolbar,.map-options,.zoom-control,.map-help,.nav,.filters,.data-tabs,footer,.method-strip{display:none}main{padding:0}.map-layout{grid-template-columns:2fr 1fr}.map-stage{height:400px}.year-grid{grid-template-columns:repeat(4,1fr)}.year-card{break-inside:avoid}}
@media(min-width:801px){.masthead{min-height:80px}.office-tabs button{padding-top:14px;padding-bottom:14px}.filters{padding-top:13px;padding-bottom:15px}.map-stage{height:clamp(340px,calc(100svh - 416px),560px)}.summary-title{margin-bottom:14px}.stat-grid{margin-top:16px}}
.office-tabs{overflow-y:hidden;scrollbar-width:thin}

/* Readability and a quieter, more compact electoral workspace. */
:root{--muted:#68706d;--line:#e2e4dc;--shadow:0 8px 28px #27352d05}
body{font-variant-numeric:tabular-nums}
.masthead{min-height:78px}.office-tabs button{padding:13px 10px}.filters{padding:13px 0 15px;gap:12px}
main{padding-top:22px}.explorer-heading{margin-bottom:18px}.breadcrumb{margin-bottom:8px}
.nav{border:1px solid #e9e6e0;border-radius:10px;padding:4px}.nav :is(button,a){padding:9px 15px}
.map-layout{grid-template-columns:minmax(0,1fr) 332px;gap:18px}
.map-panel,.summary-panel{border-radius:14px}.map-stage{height:clamp(390px,calc(100svh - 395px),560px);background:#edf0ec}
.summary-panel{padding:21px 20px;}
.summary-title{margin:9px 0 15px}.primary-stat strong{font-size:34px}.stat-grid{margin-top:17px;gap:14px}.stat-grid span{font-size:11px}.stat-grid b{font-size:17px}
.summary-coverage{font-size:10px;line-height:1.6;padding:10px 0 12px}.summary-list-title{font-size:11px;margin:13px 0 6px}
.summary-votes{padding-right:5px;scrollbar-gutter:stable}.vote-group{padding:8px 0 10px}.vote-line{font-size:11px;gap:7px}.vote-line>span{min-width:0;overflow-wrap:anywhere}.vote-line strong{font-size:12px}.vote-line small{font-size:10px;width:44px}
.summary-panel .vote-line{display:grid;grid-template-columns:8px minmax(0,1fr) auto 44px;align-items:start}.summary-panel .swatch{margin-top:4px}.vote-bar{height:4px}.candidate-name{font-size:10px;padding-top:4px}.ballot-details{font-size:10px;margin-bottom:5px}.ballot-details summary{font-size:10px;padding:3px 0}.ballot-details summary:hover{color:var(--wine)}
.summary-votes .other-vote{font-size:11px}.color-rule{font-size:10px;margin-top:12px;padding-top:6px}.source-link{font-size:11px}
#map .map-label{stroke:#fffdf2d9;stroke-width:1.8px;letter-spacing:0;font-weight:600}
.map-footer{line-height:1.45}.map-legend{font-size:11px;gap:14px;margin-top:15px}.map-legend .swatch{width:9px;height:9px}.segmented button{font-size:12px}.button{font-size:12px;transition:border-color .15s,background .15s}.button:hover{background:#faf5f5}.button.primary:hover{background:#682038;color:#fff}
.year-card{border-radius:12px;padding:20px}.year-card.active{border-color:#b48393;box-shadow:inset 0 3px var(--wine)}.year-card .vote-line{font-size:11px}.year-card .other-vote{display:flex;justify-content:space-between;gap:8px;font-size:11px;color:var(--muted);padding:4px 0}.year-card .stat-grid{padding-top:14px}.chart-legend{font-size:11px;gap:12px 18px}.chart-tip{line-height:1.5}.table-wrap th{font-size:10px;letter-spacing:.06em}.table-wrap td{font-size:12px;line-height:1.6}th,td{text-wrap:pretty}.history-workspace{margin-top:28px}
/* People: explicit offices, lists, and a single readable timeline. */
.people-heading{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:12px 0 30px}.people-heading h1{font-size:38px;letter-spacing:-.045em;margin:13px 0 11px}.people-heading p{font-size:14px;line-height:1.6;color:var(--muted)}.people-heading-note{display:flex;align-items:center;gap:15px;flex:none;padding-right:10px}.people-heading-note p{font-size:12px}.archive-symbol{display:grid;place-items:center;background:#e9eee7;color:#637963;border-radius:50% 50% 14px 50%;width:59px;height:59px;font-size:29px}
.people-search-panel{background:var(--white);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);padding:22px 24px 16px}.people-controls{max-width:none;grid-template-columns:1.6fr 1fr 1.2fr;gap:18px;margin:0}.people-controls label{font-size:11px}.people-controls input,.people-controls select{height:44px;font-size:13px;border-radius:8px}.people-controls input{padding-left:14px;background:#fafaf6}
.people-filter-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;margin-top:17px;padding-top:15px;border-top:1px solid #eeede6}.people-mode{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.people-mode>span{font-size:11px;color:var(--muted);margin-right:12px}.people-mode button{padding:7px 11px;border-radius:6px;font-size:11px;color:var(--muted)}.people-mode button.active{background:var(--wine-light);color:var(--wine);font-weight:650}.people-mode button:hover{background:#f3efeb}.text-button{color:var(--wine);font-size:11px;padding:6px 0;white-space:nowrap}.text-button:hover{text-decoration:underline;text-underline-offset:4px}
.secondary-view>.people-coverage{font-size:11px;line-height:1.8;margin:14px 3px 0;color:var(--muted)}.people-coverage b{color:#4c5650;font-weight:600}.people-results{gap:14px;margin-top:26px}.people-result-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;font-size:12px;color:var(--muted);padding:0 3px 2px}.people-result-heading b{color:var(--ink)}.people-result-heading>span{font-size:11px}
.people-start{text-align:center;padding:36px 20px 40px;border-top:1px solid var(--line)}.search-symbol{font-size:28px;line-height:48px;width:48px;margin:0 auto 15px;border-radius:50%;background:#ebece5;color:#6a796d}.people-start h2{font-size:23px;letter-spacing:-.025em}.people-start p{font-size:13px;color:var(--muted);margin:10px 0 21px}.people-shortcuts{display:flex;justify-content:center;flex-wrap:wrap;gap:9px}.people-shortcuts button{gap:24px}.people-start small{display:block;max-width:580px;margin:25px auto 0;font-size:11px;color:var(--muted);line-height:1.8}
.person-card{border-radius:12px;padding:22px 25px;box-shadow:var(--shadow)}.person-card-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:15px}.person-card-head h3{font-size:21px;font-weight:600}.person-card-head p{font-size:11px;color:var(--muted);margin-top:6px}.person-open{color:var(--wine);flex:none}.person-row{display:grid;grid-template-columns:48px minmax(230px,1.35fr) minmax(100px,.6fr) minmax(180px,1fr);gap:15px;margin:0;padding:13px 0;font-size:12px;align-items:center}.person-row:last-of-type{padding-bottom:0}.person-year{font-size:15px}.person-role>strong{font-size:13px;font-weight:550}.person-badges{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}.scope-badge,.mode-badge{font-size:10px;padding:3px 6px;border-radius:4px;line-height:1.4;display:inline-block;font-weight:500}.scope-badge.federal{background:#eef0f4;color:#54677d}.scope-badge.local{background:#edf2e9;color:#567154}.mode-badge{background:#f3f1ec;color:#6f7069}.mode-badge.rp{background:#f1e6ed;color:#88546f}.person-territory{font-size:11px;color:var(--muted);margin-left:0!important}.person-party{font-size:11px;overflow-wrap:anywhere}.person-more{padding-top:14px;font-size:11px;color:var(--muted)}.people-more{justify-self:center;margin:10px 0}.person-name-link{color:var(--wine);padding:0;text-align:left}.person-name-link:hover{text-decoration:underline}
.back-people{justify-self:start}.person-detail-heading{padding-top:8px}.person-detail-heading h2{font-size:32px;margin:11px 0 8px}.person-detail-heading>p{font-size:12px;color:var(--muted)}.identity-note{font-size:11px;color:var(--muted);line-height:1.7;padding-bottom:8px}.person-timeline{display:grid;gap:17px}.timeline-entry{display:grid;grid-template-columns:80px minmax(0,1fr);gap:20px;position:relative}.timeline-year{font-size:22px;color:var(--wine);font-weight:550;letter-spacing:-.03em;padding-top:23px;position:relative}.timeline-year:after{content:'';position:absolute;right:0;top:36px;bottom:-45px;width:1px;background:#dcd5d5}.timeline-entry:last-child .timeline-year:after{bottom:0}.timeline-year i{position:absolute;right:-3px;top:30px;width:7px;height:7px;border-radius:50%;background:#b48495;z-index:1}.timeline-card{padding:24px;border:1px solid var(--line);border-radius:12px;background:var(--white)}.timeline-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.timeline-card h3{font-size:20px}.timeline-party{font-size:12px;font-weight:600;color:var(--wine);padding-top:3px;max-width:40%;overflow-wrap:anywhere}.timeline-territory{font-size:12px;color:var(--muted);margin-top:13px}.record-status{display:flex;gap:15px;justify-content:space-between;align-items:center;margin:15px 0 18px}.record-status .source-link{margin-top:0;flex:none}.status-pill{font-size:10px;padding:5px 8px;background:#f1f2ed;color:#596455;line-height:1.5}.person-vote-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:18px;border-top:1px solid var(--line);padding-top:17px}.person-vote-grid span{font-size:11px;color:var(--muted);display:block;margin-bottom:7px}.person-vote-grid b{font-size:21px;font-weight:550;letter-spacing:-.02em}.rp-explanation{background:#f8f3f6;border-radius:7px;padding:14px 16px}.rp-explanation b{font-size:11px;color:#88546f}.rp-explanation p{font-size:11px;line-height:1.7;color:var(--muted);margin-top:5px}.person-loading,.people-footnote{font-size:11px;color:var(--muted);line-height:1.7}.people-footnote{margin-left:100px;padding-top:5px}
@media(min-width:801px) and (max-width:1100px){.map-layout{grid-template-columns:minmax(0,1fr) 310px}.summary-panel{padding:18px 16px}.site-name{font-size:16px;padding-left:20px}.masthead{gap:22px}.year-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.people-heading-note{display:none}.person-row{grid-template-columns:45px minmax(190px,1.4fr) minmax(70px,.6fr) minmax(140px,1fr)}}
@media(max-width:800px){.masthead{min-height:75px}.nav{padding:3px}.nav :is(button,a){padding:8px 10px}.map-layout{grid-template-columns:1fr}.map-stage{height:480px}.summary-panel{display:block;padding:22px}.summary-votes{max-height:390px}.summary-panel .vote-line{grid-template-columns:8px minmax(0,1fr) auto 50px}.people-heading{padding-top:0}.people-heading h1{font-size:32px}.people-heading-note{display:none}.people-controls{grid-template-columns:1fr 1fr}.people-name-field{grid-column:1/-1}.people-filter-footer{align-items:flex-start}.people-mode>span{width:100%;margin-bottom:3px}.person-card{padding:20px}.person-row{grid-template-columns:40px minmax(0,1fr) auto;gap:8px 13px}.person-territory{grid-column:2/-1}.person-row span:last-child{margin-left:0}.person-party{max-width:160px}.person-vote-grid{gap:12px}.person-detail-heading h2{font-size:28px}.timeline-entry{grid-template-columns:58px minmax(0,1fr);gap:17px}.timeline-year{font-size:18px}.people-footnote{margin-left:75px}}
@media(max-width:480px){.nav{border:0;padding:0;gap:0}.nav :is(button,a){padding:8px 7px;font-size:11px}.header .identity small{letter-spacing:.13em}.office-tabs button{font-size:12px}.filters{gap:10px}.map-stage{height:370px}.segmented button{font-size:11px;padding:7px 6px}.map-legend{font-size:10px;gap:10px}.map-footer{font-size:10px}.summary-votes{max-height:420px}.summary-panel .vote-line{font-size:11px}.year-grid{grid-template-columns:1fr}.year-card .vote-line strong{font-size:12px}.people-heading h1{font-size:30px}.people-heading p{font-size:13px}.secondary-view{margin-top:12px}.people-search-panel{padding:18px 15px 14px}.people-controls{gap:14px}.people-controls input,.people-controls select{font-size:12px}.people-filter-footer{flex-direction:column;gap:7px}.people-mode{gap:3px}.people-mode button{font-size:10px;padding:8px 7px}.people-mode>span{font-size:10px}.people-filter-footer>.text-button{align-self:flex-end;font-size:10px}.people-result-heading>span{display:none}.people-start{padding:29px 3px}.people-start h2{font-size:22px}.people-shortcuts{gap:8px}.people-shortcuts button{font-size:11px;padding:9px 10px;gap:12px}.person-card{padding:18px 15px}.person-card-head{align-items:flex-start;gap:12px;flex-wrap:wrap}.person-card-head h3{font-size:19px}.person-open{font-size:11px;padding:7px 10px}.person-row{grid-template-columns:38px minmax(0,1fr);gap:7px 10px}.person-role>strong{font-size:12px}.person-party{grid-column:2;max-width:none;font-weight:600}.person-territory{font-size:11px}.scope-badge,.mode-badge{font-size:9px}.timeline-entry{grid-template-columns:1fr;gap:8px}.timeline-year{padding:2px 0;font-size:19px}.timeline-year:after,.timeline-year i{display:none}.timeline-card{padding:18px 15px}.timeline-card-head{gap:10px;flex-wrap:wrap}.timeline-card h3{font-size:19px}.timeline-party{max-width:100%;font-size:11px}.record-status{align-items:flex-start;flex-direction:column;gap:10px}.person-vote-grid{gap:10px}.person-vote-grid span{font-size:10px;line-height:1.5}.person-vote-grid b{font-size:18px}.people-footnote{margin-left:0}.person-detail-heading h2{font-size:26px}.identity-note{font-size:10px}.rp-explanation{padding:13px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}

.person-badges span{margin-left:0!important}.person-row>.person-territory{margin-left:0!important}

@media(min-width:801px){.map-stage{height:clamp(340px,calc(100svh - 460px),560px)}}
.map-toolbar{flex-wrap:wrap}.map-options{flex-wrap:wrap;gap:10px}.map-options .territory-control select{width:200px}.sheet-download{margin-top:9px;width:100%;font-size:11px;padding:8px}.summary-panel .color-rule{margin-top:8px}.summary-panel .source-link{margin-top:8px}.export-choices{display:flex;flex-direction:column;gap:10px;margin:22px 0}.export-choices .button{padding:13px;font-size:13px}.person-sheet{margin:12px 0 8px}.summary-panel .primary-stat strong{font-size:30px}.summary-panel .summary-title{margin-bottom:10px}.summary-panel .stat-grid{margin-top:12px}.summary-panel .vote-group{padding-top:5px;padding-bottom:7px}
@media(min-width:801px){.map-stage{height:clamp(360px,calc(100svh - 475px),560px)}}
@media(max-width:800px){.map-options{width:100%;justify-content:space-between}.map-options .territory-control select{width:190px}}
@media(max-width:480px){.map-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.map-options label{justify-content:space-between}.map-options .territory-control{grid-column:1/-1}.map-options .territory-control select{width:230px}.map-options>label:not(.territory-control){grid-column:1/-1;justify-self:end}.map-options>.button{width:100%;font-size:11px}.sheet-download{font-size:12px;padding:10px}}

.download-ready{position:fixed;bottom:80px;right:24px;z-index:45;background:var(--white);box-shadow:0 4px 22px #30203025;border-color:var(--wine);color:var(--wine)}

#map #boundary path{stroke:#454b49;stroke-width:1.8;pointer-events:none;cursor:default}

/* The map and results share available screen space; only the vote list scrolls. */
.map-layout{--workspace-height:clamp(460px,calc(100svh - 395px),620px);align-items:stretch}
.map-panel{display:flex;flex-direction:column;min-width:0}
.map-footer{flex-shrink:0}
.summary-panel{display:grid;grid-template-rows:auto minmax(160px,1fr) auto;gap:12px;min-width:0;padding:18px;overflow:visible}
.summary-overview,.summary-results,.summary-actions{min-width:0;min-height:0}
.summary-overview .eyebrow{font-size:9px}
.summary-panel .summary-title{margin:7px 0 10px}
.summary-title h2{font-size:23px;overflow-wrap:anywhere;line-height:1.15}
.summary-panel .primary-stat{display:flex;align-items:baseline;gap:9px;flex-wrap:wrap}
.summary-panel .primary-stat strong{font-size:30px;line-height:1.1}
.summary-panel .primary-stat>span{margin:0;font-size:10px;white-space:nowrap}
.summary-panel .stat-grid{margin:10px 0 0;gap:10px}
.summary-panel .stat-grid span{font-size:10px;margin-bottom:4px}
.summary-panel .stat-grid b{font-size:16px}
.coverage-details{position:relative;margin-top:11px;font-size:10px;color:var(--muted);line-height:1.5}
.coverage-details>summary{cursor:pointer;min-height:20px;padding:2px 0;text-decoration:underline;text-decoration-color:#d2c7c9;text-underline-offset:3px}
.coverage-details[open]>summary{color:var(--wine)}
.coverage-details .summary-coverage{position:absolute;z-index:6;top:100%;left:0;right:0;max-height:160px;overflow:auto;padding:12px;margin:5px 0 0;border:1px solid #d9d1d3;border-radius:8px;background:var(--white);box-shadow:0 5px 20px #30203020;font-size:11px;line-height:1.6}
.summary-results{display:flex;flex-direction:column;border-top:1px solid var(--line);padding-top:11px}
.summary-list-title{flex:none;margin:0 0 8px;font-size:11px}
.summary-votes{flex:1 1 0;min-height:0;max-height:none;overflow-y:auto;overflow-x:hidden;padding-right:8px;scrollbar-gutter:stable;scrollbar-width:thin;overscroll-behavior:contain}
.summary-votes::-webkit-scrollbar{width:7px}
.summary-votes::-webkit-scrollbar-thumb{background:#c6b7bb;border-radius:8px}
.summary-votes::-webkit-scrollbar-track{background:#f1efeb;border-radius:8px}
.summary-votes:focus-visible{outline-offset:2px}
.results-scroll-hint{flex:none;display:block;font-size:9px;line-height:1.5;color:var(--muted);padding-top:7px}
.summary-panel .vote-group{padding:7px 0 9px}
.summary-actions{display:grid;gap:7px;border-top:1px solid var(--line);padding-top:11px}
.summary-actions .sheet-download,.summary-actions .source-link,.summary-actions .primary{margin:0}
.summary-actions .sheet-download{min-height:36px;padding:8px;font-size:11px}
.summary-actions .source-link{font-size:10px;text-align:center;line-height:1.5}
.explorer>.color-rule{margin:9px 3px 0;padding:0;font-size:10px;line-height:1.6}
@media(min-width:801px){
 .map-layout{height:var(--workspace-height)}
 .map-panel,.summary-panel{height:100%;max-height:none}
 .map-stage{height:auto;min-height:0;flex:1 1 0}
 .summary-panel{min-height:460px}
}
@media(min-width:801px) and (max-height:900px){
 .masthead{min-height:66px}
 .office-tabs button{padding-top:10px;padding-bottom:10px}
 .filters{padding-top:10px;padding-bottom:11px}
 main{padding-top:16px}
 .explorer-heading{margin-bottom:13px;gap:15px}
 .explorer-heading h1{font-size:30px}
 .breadcrumb{margin-bottom:6px}
 #election-description{margin-top:6px}
 .year-buttons{margin-top:5px}
 .year-buttons button{padding:7px 12px}
 .map-toolbar{margin-bottom:11px}
 .map-options{gap:8px}
 .map-options .territory-control select{width:185px}
 .map-options>.button{padding:8px 11px}
}
@media(max-width:800px){
 .map-layout{height:auto}
 .map-panel,.summary-panel{height:auto;max-height:none}
 .map-panel .map-stage{flex:none;height:clamp(330px,60vw,480px)}
 .summary-panel{grid-template-rows:auto auto auto;padding:20px;gap:14px}
 .summary-votes{flex:none;max-height:420px}
 .summary-actions .sheet-download{min-height:40px;font-size:12px}
}
@media print{.map-layout{height:auto}.summary-panel{height:auto;max-height:none}.summary-votes{overflow:visible;max-height:none}.results-scroll-hint{display:none}}

.summary-metrics{display:grid;grid-template-columns:1.2fr .95fr 1.1fr;gap:8px;align-items:end}
.summary-panel .summary-metrics .primary-stat{display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.summary-panel .summary-metrics .primary-stat>span{order:-1;font-size:10px;line-height:1.5}
.summary-panel .summary-metrics .primary-stat strong{font-size:24px;line-height:1.2}
.summary-panel .summary-metrics .stat-grid{display:contents}
.summary-panel .summary-metrics .stat-grid span{font-size:10px;line-height:1.5;margin-bottom:4px}
.summary-panel .summary-metrics .stat-grid b{font-size:16px;line-height:1.8}
.summary-metrics.wide-total{grid-template-columns:1fr 1fr}
.summary-metrics.wide-total .primary-stat{grid-column:1/-1}
.summary-metrics.wide-total .primary-stat strong{font-size:28px}
.summary-actions{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px}
.summary-actions>.primary{grid-column:1/-1}
.summary-actions .source-link{max-width:85px;text-align:right}
@media(max-width:380px){.summary-metrics{grid-template-columns:1fr 1fr}.summary-metrics .primary-stat{grid-column:1/-1}.summary-actions{grid-template-columns:1fr}.summary-actions .source-link{max-width:none;text-align:center}}
@media(min-width:801px) and (max-height:850px){
 .masthead{min-height:58px}
 .office-tabs button{padding-top:8px;padding-bottom:8px}
 .filters select,.filters input{height:32px}
 main{padding-top:12px}
 .explorer-heading{margin-bottom:10px}
}

.map-footer-links{display:flex;gap:18px;align-items:center;flex-wrap:wrap}#cartography-dialog{max-width:720px;width:calc(100% - 32px);max-height:85vh;overflow:auto}#cartography-dialog table{font-size:12px;width:100%}#cartography-dialog th,#cartography-dialog td{padding:12px 10px;vertical-align:top}#cartography-dialog small{display:block;font-size:10px;color:var(--muted);margin-top:5px}#cartography-dialog a{color:var(--wine)}

#basemap{width:100px}

/* Explicit map layer and appearance controls. */
.map-toolbar-groups{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-width:0}
.map-view-group{display:flex;align-items:center;gap:7px;min-width:0}
.map-control-label{font-size:10px;font-weight:650;color:#646664;white-space:nowrap}
.map-views button{white-space:nowrap;padding-left:9px;padding-right:9px}
.color-strength{min-width:160px}
.range-line{display:flex;align-items:center;gap:7px;height:29px}
.color-strength input[type=range]{appearance:none;-webkit-appearance:none;width:108px;height:4px;min-width:88px;padding:0;border:0;border-radius:4px;background:linear-gradient(90deg,#e8dadd,#7e263f)}
.color-strength input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:15px;height:15px;border-radius:50%;background:var(--white);border:2px solid var(--wine);box-shadow:0 1px 4px #2b202930}
.color-strength input[type=range]::-moz-range-thumb{width:12px;height:12px;border-radius:50%;background:var(--white);border:2px solid var(--wine)}
.color-strength output{font-size:10px;color:var(--muted);min-width:30px;text-align:right;font-variant-numeric:tabular-nums}
@media(max-width:1120px){.map-toolbar-groups{width:100%;justify-content:space-between}.map-options{width:100%;justify-content:flex-end}.map-view-group{margin-left:auto}}
@media(max-width:800px){.map-toolbar-groups,.map-view-group{width:100%}.map-view-group{margin:0;align-items:flex-start;flex-direction:column}.map-views{width:100%;overflow-x:auto}.map-views button{flex:1}.map-options{justify-content:space-between}.color-strength{order:3;min-width:180px}}
@media(max-width:480px){.map-options{display:grid;grid-template-columns:1fr 1fr;width:100%}.map-options .territory-control{grid-column:1/-1}.map-options .territory-control select{width:100%}.map-options .color-strength{grid-column:1/-1;min-width:0}.color-strength .range-line{width:100%}.color-strength input[type=range]{flex:1;width:auto}.map-options>.button{width:100%}.map-views button{padding:7px 6px;font-size:9px}}

.map-status{position:absolute;z-index:3;left:50%;top:50%;transform:translate(-50%,-50%);width:min(390px,calc(100% - 70px));padding:22px;background:#fffefaf5;border:1px solid #d8d2c7;border-radius:12px;box-shadow:0 8px 30px #32222e12;pointer-events:none}.map-status strong{display:block;font-size:17px;color:var(--wine);line-height:1.3;margin-bottom:9px}.map-status p{font-size:12px;line-height:1.7;color:#646664}.map-status small{display:block;font-size:10px;line-height:1.5;margin-top:10px;color:#747776}

.historical-map-note{font-size:10px;color:#7d6c48;background:#f6f0e2;border-radius:4px;padding:6px 8px;margin:-4px 0 12px;line-height:1.5}

/* Source quality and atomic selection state. */
.data-quality-alert{padding:10px 12px;border-left:3px solid #b38339;background:#faf2df;color:#684f2b;font-size:11px;line-height:1.55;border-radius:4px;margin:10px 0}
.selection-pending #map,.selection-pending .zoom-control,.selection-pending #map-level,.selection-pending .tile-attribution{visibility:hidden;pointer-events:none}
.selection-pending .map-loading{display:flex;z-index:20;background:#f7f5f0}
button:disabled{cursor:not-allowed;opacity:.45}

/* Street renderer sits below the unchanged INE electoral overlay. */
#street-background{position:absolute;inset:0;pointer-events:none}
.selection-pending #street-background{visibility:hidden!important}
.map-stage:has(#street-background[data-state="ready"]):before{display:none}
.input-wrap input{min-width:0}.input-wrap #clear-section-filter{flex:0 0 30px;width:30px;height:30px;margin-right:3px;color:var(--wine)}

.people-role-filter{display:flex;align-items:center;gap:9px;font-size:11px;color:var(--muted)}.people-role-filter select{font:inherit;color:var(--ink);padding:7px 10px;border:1px solid var(--line,#ddd);border-radius:6px;background:#fff;max-width:190px}

/* Section identifiers remain legible without blocking map interaction. */
#map .section-label{pointer-events:none;paint-order:stroke;fill:#252328;font-weight:700;text-anchor:middle}
.map-tooltip.section-tooltip{width:auto;max-width:150px;padding:9px 12px;pointer-events:none}
.map-tooltip.section-tooltip h3{font-size:13px;margin:0}

/* Keep the selected election beside its territorial results. */
.summary-election{display:grid;gap:3px;margin:0 0 15px;line-height:1.4;overflow-wrap:anywhere}
.summary-election[hidden]{display:none}
.summary-election strong{font-size:13px;font-weight:650;color:var(--wine)}
.summary-election span{font-size:11px;color:var(--muted)}


@media(max-width:600px){.masthead{flex-wrap:wrap}.nav{margin-left:0;flex-wrap:wrap}}

/* Shared navigation: identical links and active state in every section. */
.nav>a{display:inline-flex;align-items:center;color:var(--ink);font-weight:600;line-height:normal}.nav>a:hover{color:var(--wine)}.nav>a[aria-current="page"]{background:var(--wine-light);color:var(--wine)}
.ui-icon{width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}.nav .ui-icon{margin-left:6px}.button .ui-icon+span{margin:0}
@media(max-width:600px){.nav{width:100%;justify-content:flex-start;flex-wrap:nowrap}.nav>a{flex:none}}
.votario-logo{display:block;height:45px;width:auto}
@media(max-width:900px){.votario-logo{height:38px}}
@media(max-width:640px){.votario-logo{height:34px}}
