/* Atlas Eleitoral — identidade neutra e exploração territorial. */
:root{--site-red:#245a70;--site-red-deep:#183b4e;--site-bg:#f4f6f8;--site-tint:#eaf1f5;--site-text:#202b39;--site-muted:#586574;--site-border:#dce3e9;--site-focus:#087e91;color:var(--site-text);background:var(--site-bg)}
body{background:var(--site-bg);color:var(--site-text)}
a{color:#245a70}a:hover{color:#183b4e}
h1,h2,h3{color:#202b39}
main{max-width:1400px;padding:24px 32px 56px}
.site-top-bar{display:none}.site-header{background:#fff;border-color:#dce3e9}
.site-header-inner{max-width:1400px;padding:15px 32px}
.site-brand{font-size:21px;font-weight:750;letter-spacing:-.4px;color:#202b39}
.site-brand-mark{background:#183b4e;color:#fff;width:40px;height:40px;border-radius:10px}
.site-main-nav a{font-weight:650;color:#44515f}.site-main-nav a:hover,.site-main-nav a[aria-current=page]{background:#eaf1f5;color:#245a70}
.site-workspace .site-eyebrow{background:#eaf1f5;color:#245a70}
.alert{background:#eaf1f5;color:#31495a}
th{background:#edf2f6;color:#263b4b}tr:hover td{background:#f3f7f9}
.card{box-shadow:none;border-color:#dce3e9;border-radius:14px}
.grid article{background:#f8fafc;border-color:#dce3e9}
.controls label{color:#3e4e5d}
button,select,input{border-color:#bdc9d2;color:#293b4b;background:#fff;min-height:44px}
button:hover:not(:disabled){background:#edf3f6}
.site-page-quicklinks a,.site-comparison-advanced,.site-glossary{border-color:#dce3e9}
.site-display-controls,#spectrumDetail{background:#f8fafc;border-color:#dce3e9}
.site-export-policy,.site-inline-help{color:#586574}
.site-facts::after{content:none}.site-task-icon{background:#eaf1f5;color:#245a70}
.site-comparison-primary{grid-template-columns:1fr 1fr;gap:16px}
.site-comparison-actions{margin:16px 0}
#spectrumRun,.geo-primary{background:#245a70!important;color:#fff!important;border-color:#245a70!important;font-weight:700}
#spectrumRun:hover:not(:disabled),.geo-primary:hover:not(:disabled){background:#183b4e!important}
.geo-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:14px 0 25px}
.site-overline,.geo-step{font-size:11px;letter-spacing:.11em;font-weight:800;color:#586574}
.geo-heading h1{font-size:clamp(30px,3.3vw,44px);line-height:1.13;letter-spacing:-1.2px;margin:11px 0 14px;font-weight:750}
.geo-heading p{max-width:720px;color:#586574;font-size:15px;margin:0}
.geo-guide-link{display:block;font-size:13px;border:1px solid #dce3e9;background:#fff;padding:11px 16px;border-radius:9px;white-space:nowrap;margin-top:23px}
.geo-explorer{display:grid;grid-template-columns:minmax(0,1.38fr) minmax(340px,1fr);background:#fff;border:1px solid #dce3e9;border-radius:18px;overflow:hidden;box-shadow:0 5px 26px #16354e05}
.geo-map-side{padding:26px 28px;background:#fafcfd;min-width:0}
.geo-map-top{display:flex;justify-content:space-between;align-items:center;gap:12px}.geo-map-top h2{margin:8px 0 0;font-size:24px;letter-spacing:-.4px}
.geo-map-top button{font-size:12px;padding:9px 12px}
.geo-hint{font-size:13px;color:#586574;margin:10px 0 16px}
.geo-regions{display:flex;gap:7px;flex-wrap:wrap}
.geo-regions button{padding:9px 12px;min-height:40px;font-size:12px;font-weight:650;border-color:#d5dfe7;border-radius:8px}
.geo-regions button[aria-pressed=true]{background:#245a70;color:#fff;border-color:#245a70}
.geo-current-selection{display:flex;gap:12px;justify-content:space-between;align-items:center;font-size:12px;line-height:1.5;color:#445767;padding:10px 0 0;margin:8px 0 0}.geo-current-selection a{white-space:nowrap;text-decoration:underline}
.geo-map-host{height:425px;display:flex;align-items:center;justify-content:center;margin:8px 0 5px}
.geo-map-host svg{width:100%;height:100%;overflow:visible}
.geo-map-host [data-uf]{cursor:pointer;outline:none;transition:fill .15s;fill:#d0dbe4;filter:drop-shadow(0 0 1.4px #fff)}
.geo-map-host [data-uf]:nth-child(even){fill:#bbcbd7}
.geo-map-host [data-uf]:hover{fill:#819fac}
.geo-map-host [data-uf].is-selected{fill:#326c81}
.geo-map-host [data-uf]:focus-visible{fill:#087e91;filter:drop-shadow(0 0 3px #063c50)}
.geo-map-host text{fill:#263c4e;font-family:system-ui,sans-serif;font-size:22px;font-weight:750;pointer-events:none;paint-order:stroke;stroke:#fafcfd;stroke-width:2px;stroke-linejoin:round}
.geo-map-host .is-selected text{fill:#fff;stroke:#326c81}
.geo-map-host text.is-active-label{fill:#fff;stroke:#326c81}
.geo-map-caption{font-size:11px;line-height:1.5;color:#586574;display:flex;align-items:flex-start;gap:7px;margin:5px 0 16px}
.geo-map-caption span{display:inline-block;flex:0 0 9px;height:9px;border-radius:50%;background:#326c81;margin-top:3px}
.geo-select-label{display:flex;flex-direction:column;font-size:12px;color:#586574;font-weight:650;gap:7px;max-width:420px}
.geo-select-label select{width:100%;min-height:44px;font-size:14px}
.geo-source{font-size:11px;color:#586574;margin-top:12px}.geo-source summary{cursor:pointer}.geo-source p{max-width:450px}
.geo-inspector{padding:26px;border-left:1px solid #dce3e9;min-width:0}
.geo-territory-top h2{font-size:29px;letter-spacing:-.6px;margin:10px 0 8px}
.geo-badge{display:inline-flex;background:#f0f4f7;border:1px solid #e0e6eb;color:#4d6475;font-size:11px;padding:5px 9px;border-radius:6px;font-weight:700}
.geo-context{font-size:12px;color:#586574;margin:14px 0}
.geo-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0 19px}
.geo-stats article{border:1px solid #e0e6eb;background:#f8fafc;border-radius:10px;padding:12px;min-width:0}.geo-stats article:last-child{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px}
.geo-stats small{display:block;font-size:11px;line-height:1.5}.geo-stats strong{display:block;font-size:23px;margin-top:5px;letter-spacing:-.5px;color:#253c4f;font-variant-numeric:tabular-nums}
.geo-stats article:last-child strong{margin:0;font-size:20px}
.geo-candidate-table{font-size:12px;table-layout:auto;width:100%}.geo-candidate-table caption{text-align:left;font-weight:750;font-size:13px;margin-bottom:9px;color:#293b4b}
.geo-candidate-table th,.geo-candidate-table td{position:static;white-space:normal;background:transparent;padding:9px 0;border-bottom:1px solid #e4eaf0}
.geo-candidate-table th{font-weight:550;text-align:left}.geo-candidate-table thead th{font-size:10px;color:#586574}.geo-candidate-table td,.geo-candidate-table thead th:not(:first-child){text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap;padding-left:10px}
.geo-small{font-size:11px;color:#586574;line-height:1.5;margin:10px 0 19px}
#geoChildren h3{font-size:13px;font-weight:750;margin:15px 0 9px}
.geo-state-list{display:flex;flex-wrap:wrap;gap:6px}.geo-state-list button,.geo-state-list a{font-size:11px;padding:7px 10px;min-height:36px;border:1px solid #dce3e9;border-radius:7px;background:#fff;line-height:1.5}
.geo-next{margin-top:21px;padding-top:20px;border-top:1px solid #e1e7ec;display:grid;gap:9px}
.geo-next button{text-align:left;width:100%;font-size:12px;line-height:1.4;padding:11px 13px;border-color:#dce3e9}
.geo-next p{font-size:11px;color:#586574;margin:3px 0 0;line-height:1.5}
.geo-result-controls{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:18px 0 8px}.geo-result-controls label{display:flex;flex:1 1 200px;gap:7px;flex-direction:column;font-size:13px;font-weight:650}.geo-result-controls select,.geo-result-controls input{width:100%}
#geoOfficialOutput{margin:23px 0}.geo-source-note{font-size:12px;color:#586574}.geo-more{border-top:1px solid #dce3e9;padding-top:15px}.geo-more summary{font-weight:650;cursor:pointer}
.geo-instructions{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;padding:16px 16px 16px 38px;background:#f3f7f9;border-radius:10px;font-size:12px;line-height:1.6;color:#586574;margin:17px 0 22px}.geo-instructions strong{display:block;color:#293b4b}
.geo-help-start{background:#fff;border:1px solid #dce3e9;border-radius:14px;padding:22px;margin:20px 0}.geo-help-start li{margin:10px 0;line-height:1.6}
button:focus-visible,select:focus-visible,input:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #087e91;outline-offset:3px}
html{scroll-padding-top:100px}#territoryOfficial{scroll-margin-top:100px}
@media(max-width:1000px){.geo-explorer{grid-template-columns:minmax(0,1.1fr) minmax(320px,1fr)}.geo-map-side,.geo-inspector{padding:22px}.geo-map-host{height:360px}.geo-heading h1{font-size:38px}.geo-territory-top h2{font-size:26px}}
@media(max-width:780px){main{padding:18px 16px 40px}.site-header-inner{padding:12px 16px}.geo-heading{display:block;padding-top:5px}.geo-heading h1{font-size:34px}.geo-guide-link{display:inline-flex;margin-top:14px}.geo-explorer{grid-template-columns:1fr}.geo-map-side{padding:20px}.geo-inspector{border-left:0;border-top:1px solid #dce3e9;padding:22px}.geo-map-host{height:360px}.geo-instructions{grid-template-columns:1fr;gap:9px}.site-comparison-primary{grid-template-columns:1fr}.geo-result-controls button{width:100%}.geo-stats strong{font-size:24px}}
@media(max-width:420px){.site-brand{font-size:18px}.site-brand-mark{width:35px;height:35px}.geo-map-side,.geo-inspector{padding:17px}.geo-map-host{height:310px}.geo-map-top h2{font-size:22px}.geo-map-top button{padding:7px;font-size:11px}.geo-regions{gap:5px}.geo-regions button{font-size:11px;padding:8px}.geo-heading h1{font-size:31px}.geo-heading p{font-size:14px}.geo-candidate-table{font-size:11px}.geo-candidate-table td{padding-left:6px}.site-display-controls label{flex-wrap:wrap;width:100%}}
