
:root{--navy:#102A43;--teal:#078881;--gold:#E7A83E;--bg:#F5F7FA;--text:#334E68;--muted:#627D98;--line:#DCE5ED;--white:#fff}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--navy);font:15px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid var(--gold);outline-offset:3px}a{color:#056D68}.container{width:min(1420px,calc(100% - 48px));margin:auto}.hero{background:var(--navy);color:#fff;padding:36px 0 32px}.eyebrow{font-size:12px;letter-spacing:.15em;font-weight:750;color:#87D8CA;margin:0 0 10px}.hero-line{display:flex;align-items:flex-start;gap:20px;justify-content:space-between}.hero h1{font-size:clamp(26px,3.5vw,41px);line-height:1.13;margin:0 0 13px;letter-spacing:-.03em}.hero p{margin:0;color:#C4D3E0;font-size:15px}.badge{flex-shrink:0;border:1px solid #907947;color:#FCE8B9;padding:7px 11px;border-radius:7px;font-size:11px;font-weight:750;letter-spacing:.04em}.snapshot{font-size:12px!important;margin-top:14px!important;color:#9CB3C8!important}.intro{max-width:960px;margin:26px 0;color:var(--text)}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:0 0 25px}.stat{background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px 22px}.stat .label{color:var(--muted);font-size:12px;margin-bottom:8px}.stat strong{font-size:29px;line-height:1.1;display:block;letter-spacing:-.025em}.stat small{display:block;margin-top:8px;color:var(--muted);font-size:11px}.card{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}.controls{padding:20px 22px 17px;border-bottom:1px solid var(--line)}.tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}.tab{background:#F0F4F7;color:var(--text);border:1px solid transparent;padding:9px 15px;border-radius:7px;font-size:13px;font-weight:650}.tab.active{background:var(--teal);color:#fff}.filter-row{display:grid;grid-template-columns:minmax(200px,1fr) minmax(210px,1fr) minmax(170px,1fr) auto;align-items:end;gap:12px}.filter label{display:block;color:var(--muted);font-size:11px;font-weight:700;margin-bottom:5px}.filter input,.filter select{width:100%;background:#fff;border:1px solid #C6D3DF;border-radius:7px;min-height:41px;padding:8px 10px;color:var(--navy)}.filter input::placeholder{color:#8B9EAF}.button{min-height:41px;padding:8px 13px;border:1px solid #C6D3DF;border-radius:7px;background:#fff;color:var(--navy);font-size:12px;font-weight:650}.button:hover{background:#EFF5F8}.flag-toggle{display:flex;gap:7px;align-items:center;margin-top:14px;font-size:12px;color:#735119}.flag-toggle input{accent-color:var(--gold)}.map-grid{display:grid;grid-template-columns:minmax(0,1fr) 315px}.map-main{position:relative;min-width:0}.map-heading{padding:21px 24px 0}.map-heading h2{font-size:18px;margin:0 0 4px}.map-heading p{font-size:12px;color:var(--muted);margin:0}.svg-wrap{position:relative;overflow:hidden;background:#fff;padding:0 10px}.map-svg{width:100%;height:520px;display:block;touch-action:none;user-select:none;cursor:grab}.map-svg.dragging{cursor:grabbing}.map-svg .map-object{cursor:pointer}.map-svg .map-object:focus{outline:none;stroke:var(--gold);stroke-width:3px}.map-svg .map-object:hover{stroke:var(--gold);stroke-width:2px}.map-tools{position:absolute;top:14px;left:19px;z-index:2;display:flex;flex-direction:column;border:1px solid var(--line);border-radius:6px;background:#fff;overflow:hidden;box-shadow:0 2px 8px #102a4310}.map-tools button{width:33px;height:32px;border:0;background:white;color:var(--navy);font-size:20px;line-height:1}.map-tools button+button{border-top:1px solid var(--line)}.map-tools button:last-child{font-size:15px}.map-help{font-size:11px;color:var(--muted);position:absolute;bottom:5px;right:18px;background:#ffffffed;padding:3px 5px;border-radius:3px}.legend{padding:4px 24px 18px}.legend-title{font-size:11px;font-weight:700;margin-bottom:7px}.gradient{height:9px;width:100%;max-width:410px;background:linear-gradient(90deg,#E3F0EE,#41A89D,#078881,#083D49);border-radius:8px}.legend-ticks{display:flex;justify-content:space-between;width:100%;max-width:410px;font-size:10px;color:var(--muted);margin-top:4px}.legend-extra{font-size:11px;color:var(--muted);margin-top:8px}.legend-dot{display:inline-block;width:9px;height:9px;border:1px solid #8198AA;border-radius:50%;margin-right:5px;vertical-align:middle}.legend-dot.gold{background:#E7A83E;border-color:#AF7620}.legend-dot.empty{background:#D8E1E8;border-radius:2px}.side{border-left:1px solid var(--line);background:#FCFDFE;padding:24px 23px;min-height:650px}.side .kicker{color:var(--teal);font-size:11px;font-weight:750;text-transform:uppercase;letter-spacing:.08em;margin:0 0 6px}.side h3{font-size:20px;line-height:1.3;margin:0 0 10px;word-break:normal}.side .large{font-size:35px;line-height:1.15;font-weight:750;margin:20px 0 3px;letter-spacing:-.025em}.side .large-label{color:var(--muted);font-size:12px}.detail-line{border-bottom:1px solid #E4ECF2;padding:10px 0;font-size:12px;display:flex;gap:12px;justify-content:space-between}.detail-line span{color:var(--muted)}.detail-line strong{text-align:right;font-weight:650}.detail-address{font-size:12px;line-height:1.6;color:var(--text);margin:16px 0}.detail-address b{font-size:11px;display:block;color:var(--muted);margin-top:12px}.detail-note{padding:11px 12px;background:#FFF5DD;border-left:3px solid var(--gold);border-radius:3px;font-size:11px;color:#775719;margin-top:17px}.detail-hint{font-size:12px;color:var(--muted);margin-top:19px}.side .button{margin-top:14px;width:100%}.map-foot{display:flex;justify-content:space-between;gap:16px;align-items:center;border-top:1px solid var(--line);padding:14px 22px;background:#F9FBFC}.map-foot p{font-size:11px;color:var(--muted);margin:0;max-width:820px}.map-foot .actions{display:flex;gap:8px;flex-shrink:0}.rank-card{margin-top:23px}.rank-header{padding:20px 24px;border-bottom:1px solid var(--line);display:flex;gap:16px;align-items:center;justify-content:space-between}.rank-header h2{font-size:18px;margin:0}.rank-header p{font-size:12px;color:var(--muted);margin:4px 0 0}.rank-scroll{overflow:auto}table{border-collapse:collapse;width:100%;font-size:13px}th{text-align:left;white-space:nowrap;font-size:10px;letter-spacing:.035em;text-transform:uppercase;background:#F8FAFC;color:var(--muted);padding:13px 18px;border-bottom:1px solid var(--line)}td{padding:14px 18px;border-bottom:1px solid #EAF0F4;vertical-align:middle}td.numeric,th.numeric{text-align:right;font-variant-numeric:tabular-nums}td.rank-num{width:52px;color:var(--muted);font-size:12px}tr.rank-row{cursor:pointer}tr.rank-row:hover{background:#F0F8F7}tr.rank-row.selected{background:#E9F5F3}td .sub{display:block;color:var(--muted);font-size:11px;margin-top:3px}td .name{font-weight:650}.row-flag{color:#A16B15;font-weight:700;padding-left:5px}.rank-more{text-align:center;padding:15px}.rank-empty{text-align:center;color:var(--muted);padding:24px}.methods{display:grid;grid-template-columns:1.5fr 1fr;gap:24px;margin:24px 0 36px;color:var(--text)}.methods h2{font-size:16px;margin:0 0 10px;color:var(--navy)}.methods p,.methods li{font-size:12px}.methods ul{padding-left:18px;margin:0}.methods li+li{margin-top:6px}.methods p{margin:0 0 10px}.source-list a{word-break:break-word}.footer-page{border-top:1px solid var(--line);padding:18px 0 25px;color:var(--muted);font-size:11px}.tooltip{position:fixed;z-index:20;display:none;pointer-events:none;max-width:330px;border-radius:8px;background:#102A43;color:#fff;padding:12px 15px;box-shadow:0 6px 22px #102a4330;font-size:12px}.tooltip strong{font-size:13px;display:block;margin-bottom:6px}.tooltip .muted{color:#B6CADD;font-size:11px;margin-top:3px}.tooltip .gold-text{color:#F4CE81;font-size:11px;margin-top:6px}.hidden{display:none!important}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);border-radius:8px;background:var(--navy);color:white;padding:12px 20px;z-index:30;font-size:13px;box-shadow:0 6px 30px #102a4340}.flag-icon{color:#A57224}.empty-map{fill:#627D98;font-size:14px;text-anchor:middle}
.local-query-row{display:grid;grid-template-columns:minmax(150px,230px) minmax(140px,220px) 1fr;gap:12px;align-items:end;margin-top:13px;padding-top:13px;border-top:1px solid #E6EDF3}.query-help{font-size:11px;color:var(--muted);margin:0 0 7px}.sections-card{margin-top:23px;border-top:4px solid var(--teal)}.sections-card h2{font-size:19px}.sections-context{padding:13px 24px;font-size:12px;color:var(--text);background:#F5FAF9;border-bottom:1px solid var(--line)}.sections-scroll{max-height:550px;overflow:auto}.sections-scroll th{position:sticky;top:0;z-index:1}.sections-scroll td{font-size:12px}.section-hit{background:#FFF4D8!important}.section-status{display:inline-block;border-radius:4px;background:#EFF4F8;color:var(--muted);padding:3px 6px;font-size:10px}.section-status.available{background:#E5F4EF;color:#12674F}.section-status.missing{background:#FFF3D8;color:#906921}.sections-note{padding:12px 24px;color:var(--muted);font-size:11px;margin:0}.sections-actions{display:flex;gap:8px;flex-shrink:0}.section-query-badge{color:#895E1F;background:#FFF0CD;border-radius:4px;padding:2px 6px;font-size:11px}.school-codes{font-size:12px;color:var(--muted);margin-top:5px}@media(max-width:760px){.local-query-row{grid-template-columns:1fr 1fr}.query-help{grid-column:1/-1;margin:0}.sections-context,.sections-note{padding:12px 16px}.sections-card .rank-header{align-items:flex-start;flex-direction:column}.sections-actions{width:100%}.sections-scroll{max-height:480px}.sections-card h2{font-size:17px}}@media print{.local-query-row,.sections-actions{display:none!important}.sections-scroll{max-height:none;overflow:visible}.sections-card{break-inside:auto}.sections-scroll th{position:static}}
@media(max-width:1000px){.map-grid{grid-template-columns:minmax(0,1fr) 280px}.side{padding:22px 18px}.map-svg{height:450px}.filter-row{grid-template-columns:1fr 1fr}.stats{gap:10px}.stat{padding:17px}.stat strong{font-size:25px}.map-foot{align-items:flex-start}.map-foot .actions{flex-direction:column}.hero-line{display:block}.badge{display:inline-block;margin-top:18px}}
@media(max-width:760px){.container{width:calc(100% - 24px)}.hero{padding:26px 0}.hero h1{font-size:29px}.intro{font-size:13px;margin:20px 4px}.stats{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:17px}.stat{padding:15px}.stat strong{font-size:24px}.stat .label{font-size:11px}.filter-row{grid-template-columns:1fr}.filter-row>.button{min-height:35px}.controls{padding:16px}.tabs{gap:6px}.tab{font-size:11px;padding:8px 10px;flex:1}.map-grid{display:block}.map-heading{padding:18px 16px 0}.map-heading h2{font-size:17px}.map-svg{height:360px}.side{border-left:0;border-top:1px solid var(--line);min-height:0;padding:20px}.side h3{font-size:18px}.side .large{margin-top:12px;font-size:30px}.legend{padding:4px 16px 16px}.map-help{font-size:9px;bottom:1px}.map-foot{display:block;padding:15px 16px}.map-foot .actions{flex-direction:row;margin-top:12px}.rank-header{padding:17px 16px}.rank-header h2{font-size:17px}.rank-header .button{font-size:11px;padding:7px 9px}td,th{padding:12px 13px}.methods{display:block;margin:23px 7px 30px}.methods>div+div{margin-top:22px}.map-tools{left:12px;top:10px}.hero p{font-size:13px}.snapshot{font-size:11px!important}.tooltip{max-width:290px}}
@media print{body{background:white}.container{width:100%}.hero{background:white;color:var(--navy);padding:15px 0}.hero p,.snapshot{color:var(--text)!important}.hero h1{font-size:26px}.badge{color:#775719}.controls,.map-tools,.map-help,.actions,.rank-more,.rank-header .button,.tooltip,.toast{display:none!important}.stats{margin:14px 0}.stat{padding:12px}.stat strong{font-size:24px}.map-grid{grid-template-columns:1fr 260px}.map-svg{height:410px}.side{min-height:0}.card{border-radius:0;break-inside:avoid}.rank-card{break-inside:auto}.methods{break-inside:avoid}.rank-row{break-inside:avoid}.intro{font-size:12px;margin:10px 0}}


/* Detailed street view; the original analytical SVG remains available offline. */
.map-heading{padding-bottom:15px}.map-mode-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:0 20px 12px}.map-mode-switch{display:inline-flex;padding:4px;background:#eaf0f5;border:1px solid #d8e3eb;border-radius:10px;gap:3px}.map-mode-switch button{border:0;border-radius:7px;background:transparent;color:#486581;padding:9px 12px;font-size:13px;font-weight:700;min-height:38px}.map-mode-switch button[aria-pressed=true]{background:#fff;color:#056d68;box-shadow:0 1px 5px #102a4319}.map-utility{font-size:12px;min-height:38px}.view-3d{display:inline-flex;align-items:center;gap:6px;font-size:13px;margin-left:auto;white-space:nowrap;color:#334e68}.view-3d input{accent-color:#078881;width:16px;height:16px}.map-viewport{position:relative;margin:0 16px 12px;border:1px solid #c6d3df;border-radius:10px;overflow:hidden;background:#e3edf0}.street-map{width:100%;height:590px;position:relative}.street-map .maplibregl-canvas:focus-visible{outline:3px solid #e7a83e;outline-offset:-3px}.map-viewport .svg-wrap{padding:0}.map-viewport .map-svg{height:590px}.map-loading{position:absolute;z-index:8;left:50%;top:45%;transform:translate(-50%,-50%);max-width:85%;padding:16px 22px;border:1px solid #d5e1e7;border-radius:10px;background:#fffffff5;color:#334e68;text-align:center;box-shadow:0 8px 35px #102a4320;font-size:14px;pointer-events:none}.map-loading strong{display:block;margin-bottom:3px}.map-status-row{display:flex;gap:14px;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:0 23px 11px;color:#627d98;font-size:12px}.map-status{margin:0;flex:1;min-width:200px}.map-status[data-state=error]{color:#885718}.map-opacity{display:flex;align-items:center;gap:7px;white-space:nowrap}.map-opacity input{accent-color:#078881;width:90px;min-height:24px}.map-zoom-hint{position:absolute;z-index:2;bottom:39px;left:10px;max-width:calc(100% - 65px);padding:5px 9px;border:1px solid #d7e3e9;border-radius:5px;background:#fffffff0;color:#486581;font-size:11px;pointer-events:none}.maplibregl-ctrl-attrib{font-size:11px!important;line-height:1.4!important;max-width:100%;padding:3px 5px!important}.maplibregl-ctrl-attrib a{color:#334e68!important}.maplibregl-ctrl-group{border:1px solid #c6d3df!important;box-shadow:0 2px 8px #102a4322!important}.maplibregl-ctrl-group button{width:36px!important;height:36px!important}.maplibregl-popup{max-width:340px!important;z-index:9}.maplibregl-popup-content{padding:16px 17px!important;border-radius:10px!important;box-shadow:0 5px 28px #102a4338!important;font:13px/1.45 system-ui,sans-serif;color:#102a43}.maplibregl-popup-close-button{font-size:21px!important;width:29px;height:29px;color:#627d98}.street-popup-title{font-size:14px;line-height:1.35;margin:0 17px 10px 0}.street-popup-votes{font-size:23px;font-weight:750;color:#06766f;line-height:1.2;margin:0 0 7px}.street-popup-votes span{font-size:12px;font-weight:500;color:#486581}.street-popup-meta{margin:4px 0;font-size:12px;color:#486581}.street-popup-warning{color:#8f621c;font-size:12px;margin:8px 0}.street-popup-button{width:100%;margin-top:10px;min-height:36px}.nearby-list{max-height:270px;overflow:auto;display:grid;gap:5px}.nearby-list button{padding:9px;text-align:left;background:#f4f8fa;border:1px solid #dce5ed;border-radius:6px;color:#102a43;font-size:12px}.nearby-list button:hover{background:#e1f0ed}.nearby-list strong,.nearby-list span{display:block}.nearby-list span{margin-top:3px;color:#627d98}.detail-map-actions{display:grid;gap:8px;margin-top:14px}.detail-map-actions .button{width:100%;font-size:13px}.map-main:fullscreen{width:100vw;height:100vh;background:#fff;display:flex;flex-direction:column;padding:15px}.map-main:fullscreen .map-heading{padding-top:0}.map-main:fullscreen .map-viewport{flex:1;min-height:0}.map-main:fullscreen .street-map,.map-main:fullscreen .map-svg{height:100%}.map-main:fullscreen .svg-wrap{height:100%}.map-main:fullscreen .legend{padding-bottom:4px}.hidden{display:none!important}
@media(max-width:1000px){.street-map,.map-viewport .map-svg{height:520px}.view-3d{margin-left:0}.map-mode-bar{padding-left:16px;padding-right:16px}.map-status-row{padding-left:18px;padding-right:18px}}
@media(max-width:760px){.street-map,.map-viewport .map-svg{height:470px;height:min(66svh,560px);min-height:360px}.map-viewport{margin:0 10px 10px}.map-mode-bar{padding:0 10px 10px;gap:7px}.map-mode-switch button{padding:8px 10px;font-size:12px}.map-utility{font-size:12px;padding:7px 9px}.view-3d{font-size:12px;margin-left:auto}.map-status-row{padding:0 14px 12px;gap:7px}.map-zoom-hint{font-size:10px;bottom:59px}.maplibregl-ctrl-attrib{font-size:10px!important}.maplibregl-popup{max-width:min(310px,calc(100vw - 54px))!important}.map-main:fullscreen{padding:5px}.map-main:fullscreen .map-heading h2{font-size:16px}.map-main:fullscreen .map-mode-bar{padding-bottom:5px}.map-main:fullscreen .legend{font-size:11px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
@media print{.map-mode-bar,.street-map,.map-status-row,.map-zoom-hint,.map-loading{display:none!important}.map-viewport{border:0;margin:0}.map-viewport .svg-wrap,.map-viewport .svg-wrap.hidden{display:block!important}.map-viewport .map-svg{height:410px}.detail-map-actions{display:none!important}}

.candidate-controls{display:grid;grid-template-columns:minmax(220px,1fr) minmax(220px,1fr) auto;gap:14px;align-items:end;padding-bottom:18px;margin-bottom:18px;border-bottom:1px solid var(--line)}.candidate-controls .filter label{font-size:12px}.candidate-controls select{font-weight:650;min-height:45px}.candidate-a select{border-left:5px solid #2070b4}.candidate-b select{border-left:5px solid #d27716}.comparison-context{background:#f0f6fa;border:1px solid #d6e4ee;border-radius:8px;padding:11px 14px;margin:0 0 17px;font-size:13px;color:#486581}.comparison-context strong{color:#102a43}.candidate-chip{display:inline-block;border-radius:5px;padding:3px 8px;font-size:12px;font-weight:700;background:#e8f2fc;color:#195c92;margin-right:5px}.candidate-chip.b{background:#fff0df;color:#95500c}.candidate-chip small{font-size:11px;font-weight:500}.comparison-votes{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0 13px}.comparison-vote{background:#eef6fd;border-left:4px solid #2070b4;border-radius:7px;padding:11px 12px;min-width:0}.comparison-vote.b{background:#fff5e9;border-left-color:#d27716}.comparison-vote .candidate-name{font-size:12px;line-height:1.35;min-height:33px;font-weight:700;color:#27546f}.comparison-vote.b .candidate-name{color:#84511c}.comparison-vote strong{font-size:25px;line-height:1.25;display:block;margin-top:5px;overflow-wrap:anywhere}.comparison-vote small{font-size:11px;color:#627d98;display:block;margin-top:4px}.comparison-difference{padding:11px 12px;background:#f3f6f8;border:1px solid #dce5ed;border-radius:7px;font-size:13px;margin:12px 0}.comparison-difference strong{display:block;font-size:20px;margin:3px 0}.votes-a{color:#195c92}.votes-b{color:#99520e}.margin-positive{color:#195c92}.margin-negative{color:#99520e}.margin-tie{color:#627d98}.comparison-metric-note{font-size:12px;color:#627d98;margin:8px 0 0}.rank-row .candidate-column{min-width:112px}.comparison-legend{display:flex;align-items:center;justify-content:space-between;gap:8px;max-width:410px;font-size:11px;margin:0 0 6px}.candidate-heading{font-size:14px}.candidate-heading small{font-size:11px;font-weight:500;display:block;color:#627d98}.pair-status{font-size:11px;white-space:normal;min-width:120px}.compare-hero-candidates{color:#c4d3e0;font-size:15px}.stats .stat small{line-height:1.4}.stats .stat strong{overflow-wrap:anywhere}.comparison-headline{font-size:13px;font-weight:650;margin:0 0 8px}.sections-context .candidate-chip{margin-top:5px}.source-candidates{font-size:12px}.source-candidates p{margin:8px 0!important}.source-candidates a{word-break:break-word}.table-caption{font-size:12px;color:#627d98}.comparison-controls-note{grid-column:1 / -1;font-size:12px;color:#627d98;margin:0}.button:disabled{cursor:default;opacity:.5}.street-popup-pair{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:10px 0}.street-popup-pair>div{background:#edf5fd;border-radius:6px;padding:8px}.street-popup-pair>div+div{background:#fff3e5}.street-popup-pair strong{font-size:21px;display:block}.street-popup-pair small{font-size:11px;display:block;line-height:1.3;min-height:28px}.street-popup-margin{font-size:12px;color:#486581;margin:8px 0}.pair-swatches{display:flex;justify-content:space-between;max-width:410px;font-size:11px;margin-bottom:6px}.pair-swatches span:first-child{color:#99520e}.pair-swatches span:last-child{color:#195c92}
@media(max-width:1000px){.candidate-controls{grid-template-columns:1fr 1fr}.candidate-controls>.button{grid-column:1/-1;justify-self:start;min-height:34px}.comparison-votes{gap:7px}.comparison-vote{padding:10px}.comparison-vote strong{font-size:22px}}
@media(max-width:760px){.candidate-controls{grid-template-columns:1fr;gap:11px;margin-bottom:14px;padding-bottom:14px}.candidate-controls select{font-size:14px}.candidate-controls>.button{grid-column:auto;justify-self:stretch}.comparison-context{font-size:12px;padding:10px 11px}.comparison-votes{grid-template-columns:1fr 1fr}.comparison-vote strong{font-size:27px}.comparison-vote .candidate-name{font-size:13px;min-height:0}.candidate-heading{font-size:12px}.compare-hero-candidates{font-size:13px}.comparison-controls-note{grid-column:auto}.pair-swatches{font-size:10px}}
@media print{.candidate-controls,.comparison-context{display:none!important}.comparison-vote{break-inside:avoid}.comparison-vote strong{font-size:20px}}

/* Atlas Eleitoral — interface editorial; all electoral data and map scales are preserved. */
:root{--navy:#10263c;--teal:#245bc7;--gold:#bd711f;--bg:#f2f5fa;--text:#253951;--muted:#576b81;--line:#dce4ee;--a:#245bc7;--b:#a54d14;--radius:16px;--surface:#fff;--shadow:0 8px 30px rgba(22,44,72,.045);--rail:84px}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:96px}
body.atlas-body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,'Segoe UI',Arial,sans-serif;font-size:14px;line-height:1.55;letter-spacing:-.012em;font-variant-numeric:tabular-nums;-webkit-font-smoothing:antialiased}
button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}
button{cursor:pointer}button:disabled{cursor:default}a{color:#245bc7;text-underline-offset:3px}
button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:3px solid #c27314;outline-offset:3px;box-shadow:0 0 0 6px rgba(194,115,20,.13)}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.skip-link{position:fixed;top:-100px;left:100px;background:#fff;color:#10263c;border:2px solid #245bc7;padding:12px 18px;border-radius:8px;z-index:100}
.skip-link:focus{top:12px}.atlas-workspace{margin-left:var(--rail);min-width:0}.container{width:calc(100% - 64px);max-width:1536px;margin:0 auto}
.atlas-rail{position:fixed;inset:0 auto 0 0;z-index:35;width:var(--rail);display:flex;align-items:center;flex-direction:column;background:#102236;color:#cbd7e7;border-right:1px solid #ffffff0a;padding:25px 9px 22px}
.rail-brand{width:46px;height:46px;display:grid;place-items:center;border-radius:13px;color:#fff;background:#245bc7;margin-bottom:42px;text-decoration:none;box-shadow:0 8px 20px #0002}
.rail-brand svg{width:27px;height:27px}.rail-link{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;min-height:62px;width:64px;border-radius:10px;color:#bdcbdf;text-decoration:none;margin:4px 0;font-size:10px;font-weight:650;letter-spacing:.01em;border:1px solid transparent;transition:background .16s,color .16s}
.rail-link svg{width:21px;height:21px;stroke-width:1.7}.rail-link:hover{background:#1c354f;color:#fff}.rail-link.active,.rail-link[aria-current=location]{background:#203e5e;color:#fff;border-color:#385877}.rail-bottom{margin-top:auto;text-align:center;font-size:10px;color:#b7c8dc;line-height:1.8}.rail-bottom strong{display:block;font-size:12px;font-weight:750;letter-spacing:.1em;color:#fff}
.atlas-appbar{height:73px;background:#fff;border-bottom:1px solid var(--line)}.atlas-appbar>.container{height:100%;display:flex;align-items:center;justify-content:space-between;gap:20px}.appbar-brand{font-weight:750;font-size:12px;letter-spacing:.12em;color:#10263c}.appbar-brand small{font-weight:500;letter-spacing:0;font-size:12px;color:var(--muted);display:block;margin-top:2px}.appbar-right{display:flex;align-items:center;gap:12px;font-size:12px}.period-badge,.source-badge{display:inline-flex;align-items:center;gap:7px;min-height:29px;border-radius:6px;padding:4px 9px;background:#f1f5fa;color:#405b77;font-size:11px;font-weight:650;border:1px solid #e0e7f1;white-space:nowrap}.source-badge:before{content:'';width:6px;height:6px;border-radius:50%;background:#187956}.appbar-right a{color:#405b77;font-size:12px;text-decoration:none;display:inline-flex;align-items:center;gap:5px}.appbar-right svg{width:16px;height:16px}
.hero{margin:25px 0 0;padding:0;background:transparent;color:var(--navy)}.hero>.container{position:relative;background:#10263c;border:1px solid #203e59;border-radius:20px;overflow:hidden;padding:31px 36px 22px;color:#fff;box-shadow:0 9px 28px #10263c0c}.hero-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(240px,1fr);align-items:center;gap:28px;position:relative}.hero .eyebrow{font-size:10px;letter-spacing:.19em;font-weight:700;color:#b0c9e0;margin:0 0 12px;display:flex;align-items:center;gap:9px}.hero .eyebrow:before{content:'';width:19px;height:2px;background:#83b9f0}.hero h1{font-size:clamp(33px,3.1vw,49px);line-height:1.08;letter-spacing:-.055em;margin:0;font-weight:750}.hero h1 span{color:#a5c9fb!important;font-weight:450}.hero p{font-size:13px;color:#d3dfed;line-height:1.5;max-width:790px;margin:13px 0 0}.hero #reportSubtitle{font-size:13px;letter-spacing:0;color:#dae6f1;max-width:730px;min-height:20px}.hero-actions{display:flex;align-items:center;gap:13px;margin:20px 0 0}.hero-actions .button{min-height:39px;background:#fff;border-color:#fff;color:#173d73;box-shadow:none;font-size:12px;padding:8px 14px}.hero-actions .button:hover{background:#dfeafe;color:#10263c}.hero-actions .badge{background:#193954;border-color:#42617d;color:#d2e4f6;font-size:9px;letter-spacing:.08em;font-weight:650;margin:0;padding:6px 10px;white-space:normal}.hero .snapshot{color:#c0d1e3!important;font-size:10px!important;letter-spacing:.01em;border-top:1px solid #365067;margin-top:21px;padding-top:12px;max-width:none}.hero-cartography{align-self:stretch;display:flex;align-items:center;justify-content:center;position:relative;min-height:190px;max-height:220px;opacity:.92}.hero-cartography svg{width:100%;height:100%;max-height:235px}.hero-independent{font-size:10px!important;color:#b0c5da!important;margin:0!important}
.intro{max-width:none;margin:18px 3px 20px;font-size:12px;color:#576b81;line-height:1.7}.intro strong{font-weight:550;color:#405875}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0 0 28px}.stat{position:relative;min-width:0;background:#fff;border:1px solid var(--line);border-radius:13px;padding:18px 20px 17px;box-shadow:var(--shadow);overflow:hidden}.stat:before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:#d9e4f1}.stat:nth-child(1):before{background:#245bc7}.stat:nth-child(2):before{background:#8aa3c1}.atlas-body.has-comparison .stat:nth-child(2):before{background:#a54d14}.stat-eyebrow{display:flex;justify-content:space-between;align-items:center;margin:0 0 10px;font-size:9px;letter-spacing:.08em;color:#60748b;font-weight:700}.stat-eyebrow svg{width:17px;height:17px;color:#607a99}.stat .label{font-size:11px;color:#506681;line-height:1.45;min-height:31px;max-width:235px}.stat strong{display:block;font-size:clamp(24px,2.65vw,38px);line-height:1.15;color:#10263c;letter-spacing:-.05em;font-weight:750;margin:7px 0}.stat small{font-size:10px;line-height:1.6;display:block;color:#536b84;margin-top:8px}
.card{border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);background:var(--surface);overflow:hidden}.section-heading{padding:26px 27px 0;display:flex;align-items:center;justify-content:space-between;gap:20px}.section-heading .eyebrow{font-size:10px;letter-spacing:.13em;color:#5d7290;font-weight:750;margin:0 0 5px}.section-heading h2{font-size:22px;line-height:1.3;letter-spacing:-.04em;color:#142d48;margin:0;font-weight:700}.quick-presets{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}.quick-presets .button{font-size:11px;min-height:35px;padding:7px 10px;color:#355979;background:#f5f8fc;border-color:#dbe5ef;border-radius:7px}.quick-presets .button:hover,.quick-presets .button[aria-pressed=true]{background:#e9f0fe;border-color:#a2bbed;color:#1d4eaa}.quick-presets #clearComparison{background:transparent;color:#5d6f85}.button{display:inline-flex;justify-content:center;align-items:center;gap:7px;min-height:40px;padding:9px 13px;border:1px solid #c8d6e5;border-radius:8px;background:#fff;color:#294867;font-size:12px;font-weight:650;text-decoration:none;line-height:1.35;transition:background .16s,border-color .16s,box-shadow .16s}.button:hover{background:#edf3fb;border-color:#8facce;box-shadow:0 2px 6px #10263c08}.button svg{width:16px;height:16px;flex-shrink:0}.button.primary,#downloadCsv,#downloadSections{background:#245bc7;border-color:#245bc7;color:#fff}.button.primary:hover,#downloadCsv:hover,#downloadSections:hover{background:#1a489f;border-color:#1a489f}.button:disabled{opacity:.5;box-shadow:none}.controls{padding:24px 27px 22px;background:#fff}.candidate-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:15px;margin-bottom:0;padding-bottom:0;border-bottom:0}.filter{min-width:0}.filter label{display:block;color:#50657f;font-size:10px!important;letter-spacing:.055em;font-weight:700;margin-bottom:7px}.filter input,.filter select{width:100%;min-width:0;min-height:45px;background:#f7f9fc;border:1px solid #cbd8e6;border-radius:8px;color:#153451;font-size:13px;padding:10px 12px;box-shadow:0 1px 2px #10263c03;transition:border-color .15s,background .15s}.filter input:hover,.filter select:hover{border-color:#8aa5c9}.filter input:focus,.filter select:focus{background:#fff;border-color:#245bc7}.filter input::placeholder{color:#677c93;opacity:1}.candidate-controls select{min-height:51px;font-size:14px;font-weight:650;background:#fff;padding-left:14px}.candidate-a select{border-left:4px solid #245bc7}.candidate-b select{border-left:4px solid #a54d14}.candidate-controls #swapCandidates{min-height:51px;background:#f3f7fc;border-color:#ceddeb;font-size:12px}.comparison-controls-note{font-size:10px;margin:0;color:#5a6f88;grid-column:1/-1}.comparison-context{padding:11px 13px;margin:13px 0 23px;border:1px solid #e0e8f2;background:#f5f8fc;border-radius:8px;font-size:11px;color:#4a6480;line-height:1.7}.candidate-chip{font-size:10px;background:#e7efff;border-radius:5px;color:#204f99;padding:3px 7px;font-weight:700;margin-right:4px}.candidate-chip.b{background:#fff0e3;color:#91430e}.tabs{display:flex;gap:3px;padding:4px;background:#edf2f8;border:1px solid #dce5ef;border-radius:9px;margin:0 0 20px;max-width:735px}.tab{background:transparent;border:1px solid transparent;box-shadow:none;color:#516a87;border-radius:6px;padding:10px 15px;min-height:41px;font-size:12px;font-weight:650;line-height:1.3;flex:1}.tab.active,.tab[aria-pressed=true]{background:#fff;border-color:#dce6f2;color:#164c9e;box-shadow:0 2px 4px #183b6710}.tab:hover{color:#174e9d;background:#ffffff7d}.filter-row{grid-template-columns:minmax(150px,.85fr) minmax(220px,1.15fr) minmax(200px,1.2fr) auto;gap:13px;align-items:end}.filter-row>#reset{min-height:45px;color:#506984;background:transparent;border-color:#d6e0ed}.local-query-row{grid-template-columns:minmax(120px,205px) minmax(120px,170px) 1fr;gap:13px;margin-top:18px;padding-top:17px;border-color:#e2e9f1}.query-help{font-size:11px;color:#5a718a;line-height:1.55;margin:0 0 6px}.flag-toggle{font-size:11px;color:#536d86;margin-top:13px}.flag-toggle input{accent-color:#245bc7;width:15px;height:15px}.filter-chips{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:15px;min-height:0}.filter-chips:empty{display:none}.filter-chip{border:1px solid #c6d8eb;border-radius:6px;min-height:29px;font-size:10px;color:#254f7a;background:#edf4fd;padding:4px 7px;display:inline-flex;align-items:center;gap:8px;max-width:100%}.filter-chip span:first-child{max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.filter-chip .chip-x{font-size:15px;line-height:1;color:#395d88}.filter-chip:hover{background:#dfeafa}.filter-chip-label{font-size:10px;color:#5b708a;margin-right:2px}
.scope-summary{margin:0 27px 25px;border:1px solid #d8e4f1;border-radius:12px;background:#f8fbff;padding:18px 20px;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(240px,1fr);column-gap:26px;row-gap:15px}.scope-title{grid-column:1/-1;display:flex;gap:15px;justify-content:space-between;align-items:baseline}.scope-title h3{font-size:14px;color:#183b5e;letter-spacing:-.02em;margin:0;font-weight:750}.scope-title p{font-size:10px;color:#58728e;margin:0;text-align:right}.scope-overview{min-width:0}.scope-total-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.scope-total small{display:block;color:#56708c;font-size:10px;line-height:1.4;min-height:28px}.scope-total strong{display:block;font-size:25px;letter-spacing:-.045em;line-height:1.25;color:#123450;font-weight:750;margin:5px 0 2px}.scope-total span{display:block;font-size:9px;color:#5b7590}.scope-total.a strong{color:#245bc7}.scope-total.b strong{color:#a54d14}.scope-mini-bars{display:grid;gap:8px;margin-top:13px}.scope-mini-track{height:4px;border-radius:4px;background:#e3eaf4;overflow:hidden}.scope-mini-track>span{display:block;height:100%;border-radius:4px;background:#245bc7;transition:width .28s}.scope-mini-track.b>span{background:#a54d14}.scope-chart-note{font-size:9px;color:#5b7089;margin:7px 0 0;line-height:1.6}.scope-comparison{border-left:1px solid #dce7f2;padding-left:25px;min-width:0}.scope-counts{display:grid;grid-template-columns:1fr 1fr;gap:12px 18px}.scope-count{display:flex;gap:10px;align-items:center}.scope-count strong{font-size:23px;line-height:1.25;font-weight:700;color:#203e5a;min-width:30px;letter-spacing:-.04em}.scope-count.a strong{color:#245bc7}.scope-count.b strong{color:#a54d14}.scope-count span{display:block;font-size:10px;color:#486482;line-height:1.35}.scope-counts-title{font-size:9px;color:#58718e;margin:0 0 12px;letter-spacing:.045em;text-transform:uppercase;font-weight:650}.scope-hint{font-size:11px;line-height:1.7;color:#58718b;margin:0}.scope-hint strong{color:#224b76;display:block;margin-bottom:5px;font-size:12px}.scope-coverage{grid-column:1/-1;border-top:1px solid #dce7f2;padding-top:11px}.coverage-line{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0;font-size:10px;color:#4b6682}.coverage-line strong{font-weight:700;color:#224668}.coverage-track{height:5px;background:#d9e3ef;border-radius:5px;overflow:hidden;min-width:80px;max-width:170px;flex:1}.coverage-track span{display:block;height:100%;background:#557ea8;border-radius:5px}.coverage-note{font-size:9px;color:#5a708b;margin:5px 0 0;line-height:1.65}
.map-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:0;border-top:1px solid var(--line)}.map-main{min-width:0;background:#fff;padding-top:6px}.map-heading{padding:19px 23px 13px}.map-heading h2{font-size:20px;font-weight:700;color:#183852;letter-spacing:-.035em;line-height:1.3;margin:0}.map-heading p{font-size:10px;color:#546f88;margin:6px 0 0;line-height:1.6;max-width:850px}.map-mode-bar{padding:0 20px 12px;gap:7px}.map-mode-switch{background:#f0f4f9;border-color:#dce5ef;padding:3px;border-radius:8px}.map-mode-switch button{font-size:11px;padding:8px 10px;min-height:35px;border-radius:5px;font-weight:650;color:#56718d}.map-mode-switch button[aria-pressed=true]{color:#214f9d;box-shadow:0 1px 5px #10263c14}.map-utility{min-height:37px;font-size:10px;padding:7px 9px}.view-3d{font-size:11px;color:#416381;gap:5px}.view-3d input,.map-opacity input{accent-color:#245bc7}.map-viewport{margin:0 17px 13px;border:1px solid #bdcedf;border-radius:10px;background:#eaf1f4;box-shadow:inset 0 0 0 1px #fff}.street-map,.map-viewport .map-svg{height:610px}.map-loading{border-radius:11px;box-shadow:0 14px 42px #132a4540;background:#fffffff5;font-size:12px;padding:18px 24px;color:#41607e}.map-loading strong{color:#163954;font-size:14px}.map-status-row{font-size:10px;gap:8px;padding:0 22px 12px;color:#566f88}.map-status{min-width:140px}.map-opacity{font-size:10px;gap:6px}.map-opacity input{width:72px}.map-zoom-hint{font-size:9px;border-radius:5px;border-color:#c9d9e8;box-shadow:0 2px 8px #10263c12;color:#3f5e7b;padding:5px 8px}.legend{padding:1px 22px 20px}.legend-title{font-size:10px;color:#385a7b;font-weight:650;margin-bottom:10px}.gradient{max-width:450px;height:9px;border:1px solid #bfcfdf;border-radius:4px}.legend-ticks{max-width:450px;font-size:10px;color:#355575;margin-top:6px}.pair-swatches{max-width:450px;font-size:9px}.legend-extra{font-size:9px;margin-top:9px;line-height:1.7;color:#526d86}.legend-dot{width:8px;height:8px;vertical-align:baseline}.map-foot{background:#f7f9fc;border-top:1px solid var(--line);padding:15px 23px;gap:24px}.map-foot p{font-size:10px;line-height:1.7;color:#57708a}.map-foot .actions{gap:8px}.map-foot .button{font-size:11px;white-space:nowrap;min-height:37px}
.side{padding:25px 22px 24px;background:#f9fbfe;border-left:1px solid var(--line);color:#334f6a;min-width:0;min-height:0}.side .kicker{font-size:9px;letter-spacing:.12em;color:#59738f;font-weight:750;margin:0 0 7px}.side h3{font-size:20px;letter-spacing:-.035em;line-height:1.35;color:#143550;margin:0 0 16px;overflow-wrap:break-word}.side .large{font-size:43px;letter-spacing:-.065em;color:#173e68;font-weight:750;margin:12px 0 3px}.side .large-label{font-size:11px;color:#52718d;margin-bottom:21px}.comparison-headline{font-size:11px;line-height:1.6;color:#547291;font-weight:550}.comparison-votes{gap:9px;margin:16px 0 13px}.comparison-vote{border:1px solid #cdddf1;border-top:3px solid #245bc7;border-radius:9px;background:#edf4ff;padding:11px 10px;min-width:0;box-shadow:0 2px 5px #1c457104}.comparison-vote.b{border:1px solid #edd6c3;border-top:3px solid #a54d14;background:#fff5eb}.comparison-vote .candidate-name{font-size:11px;min-height:30px;line-height:1.4;color:#224f92;font-weight:650}.comparison-vote.b .candidate-name{color:#91410d}.comparison-vote strong{font-size:24px;line-height:1.2;font-weight:750;letter-spacing:-.055em;color:#214c90;overflow-wrap:normal;white-space:nowrap}.comparison-vote.b strong{color:#9b4911}.comparison-vote small{font-size:9px;line-height:1.6;color:#46678a}.comparison-vote.b small{color:#8c542d}.comparison-difference{padding:12px;border:1px solid #d5e1ee;border-radius:8px;background:#fff;margin:12px 0 17px;font-size:10px;color:#526c85}.comparison-difference strong{font-size:23px;letter-spacing:-.04em;font-weight:750;margin:3px 0 5px}.detail-line{font-size:11px;padding:9px 0;border-bottom:1px solid #e0e8f2;align-items:start;gap:14px}.detail-line>span{color:#506d89}.detail-line strong{color:#234b6e;font-weight:650;max-width:57%;text-align:right}.detail-address{font-size:11px;line-height:1.6;color:#3c5d7b;background:#f0f5fa;border:1px solid #dce6ef;border-radius:8px;padding:13px;margin:16px 0 11px}.detail-address b{font-size:9px;letter-spacing:.065em;color:#56728d;margin-top:13px;display:block}.detail-address b:first-child{margin-top:0}.detail-note{border:1px solid #dce7f1;border-left:3px solid #9bb5cf;background:#eef4fa;color:#4c6984;font-size:10px;line-height:1.7;padding:11px 12px;border-radius:5px;margin:13px 0}.detail-hint{font-size:10px;color:#55728d;line-height:1.75;margin:13px 0}.detail-map-actions{gap:7px}.detail-map-actions .button,#drillMunicipality{font-size:11px;min-height:39px;width:100%}.side #showSchoolSections{background:#245bc7;border-color:#245bc7;color:#fff}.side #showSchoolSections:hover{background:#1a489f}.votes-a,.margin-positive{color:#245bc7}.votes-b,.margin-negative{color:#a54d14}.margin-tie{color:#506b85}
.rank-card,.sections-card{margin-top:26px}.sections-card{border-top:3px solid #245bc7}.rank-header{display:flex;align-items:center;justify-content:space-between;padding:23px 25px 20px;gap:20px;background:#fff}.rank-header h2{font-size:20px;letter-spacing:-.035em;font-weight:700;color:#153752;line-height:1.35;margin:0}.rank-header p,.school-codes{font-size:11px;line-height:1.6;color:#58718c;margin:6px 0 0}.rank-header .eyebrow{font-size:9px!important;letter-spacing:.11em;font-weight:750}.toolbar-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.toolbar-actions .button,.sections-actions .button{font-size:11px;min-height:38px}.toolbar-actions #tableDensity{background:#f4f7fb;border-color:#dce5ef;color:#4b6988}.toolbar-actions #tableDensity[aria-pressed=true]{background:#e7effe;color:#194ca4;border-color:#9bb5df}.rank-scroll,.sections-scroll{overflow:auto;max-height:750px;scrollbar-width:thin;scrollbar-color:#b3c5d9 #f0f4f9}.rank-scroll table,.sections-scroll table{width:100%;border-collapse:separate;border-spacing:0;font-size:12px}.rank-scroll th,.sections-scroll th{background:#edf3fa;color:#375a7d;text-transform:none;letter-spacing:0;font-size:11px;font-weight:650;padding:14px 16px;position:sticky;top:0;z-index:3;border-top:1px solid #dce6f1;border-bottom:1px solid #ccdceb;vertical-align:middle;line-height:1.5;white-space:normal;min-width:88px}.rank-scroll td,.sections-scroll td{padding:15px 16px;border-bottom:1px solid #e4ebf4;font-size:12px;line-height:1.55;vertical-align:middle;background:#fff;color:#2c4c6b}.rank-scroll td.numeric,.rank-scroll th.numeric,.sections-scroll .numeric{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.rank-scroll td.numeric strong,.sections-scroll td.numeric strong{font-weight:650;font-size:13px}.rank-scroll tbody tr:nth-child(even)>td,.sections-scroll tbody tr:nth-child(even)>td{background:#f8fafd}.rank-scroll tbody tr:hover>td,.sections-scroll tbody tr:hover>td{background:#edf4fd}.rank-scroll tbody tr.selected>td,.sections-scroll tbody tr.section-hit>td{background:#e6effd!important;box-shadow:inset 0 1px #c5d7ef,inset 0 -1px #c5d7ef}.rank-scroll td:first-child,.rank-scroll th:first-child{min-width:43px;width:43px;text-align:center;color:#678099;padding-left:13px;padding-right:13px}.rank-scroll td:nth-child(2){min-width:240px;max-width:365px}.rank-scroll td:nth-child(2),.rank-scroll th:nth-child(2){position:sticky;left:0;z-index:1;box-shadow:1px 0 #dce6f1}.rank-scroll th:nth-child(2){z-index:4}.rank-row .name{font-size:12px;color:#173c5e;font-weight:650;line-height:1.5}.rank-row .sub{font-size:10px;color:#5c7691;line-height:1.7;margin-top:3px}.candidate-heading small{font-size:9px;color:#55718e;font-weight:500}.rank-scroll td.votes-a strong,.sections-scroll td.votes-a strong{color:#245bc7}.rank-scroll td.votes-b strong,.sections-scroll td.votes-b strong{color:#a54d14}.row-flag{color:#9b5e14}.rank-num{font-size:10px!important}.rank-more{padding:16px;text-align:center;border-top:0;background:#f9fbfe}.rank-more .button{font-size:11px;min-height:36px}.sections-context{padding:14px 25px;font-size:11px;line-height:1.85;color:#456686;background:#f3f7fd;border-color:#dce6f2}.sections-context .candidate-chip{font-size:11px}.sections-note{padding:13px 25px;margin:0;font-size:10px;color:#5b7390;line-height:1.75;background:#fafcff;border-top:1px solid #e1eaf4}.pair-status{font-size:10px!important;min-width:132px;white-space:normal}.section-query-badge{font-size:10px;background:#fff0da;color:#83530d;padding:3px 7px}.table-compact .rank-scroll td,.table-compact .sections-scroll td{padding-top:9px;padding-bottom:9px;font-size:11px}.table-compact .rank-scroll .sub{font-size:9px;line-height:1.6}.table-compact .rank-scroll th,.table-compact .sections-scroll th{padding-top:10px;padding-bottom:10px}
.methods{display:grid;grid-template-columns:1.3fr 1fr;gap:20px;margin:28px 0 40px;font-size:12px;align-items:start}.methods>h2{grid-column:1/-1;font-size:19px;color:#193c5b;margin:0;letter-spacing:-.025em}.method-card,.methods>details{background:#fff;border:1px solid #dbe5f0;border-radius:12px;padding:0;overflow:hidden}.methods summary{font-size:13px;font-weight:700;color:#2b506f;padding:18px 20px;cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:57px}.methods summary::-webkit-details-marker{display:none}.methods summary:after{content:'+';display:grid;place-items:center;width:24px;height:24px;border:1px solid #d9e4f0;border-radius:6px;font-size:19px;font-weight:400;color:#446581;background:#f5f8fc}.methods details[open]>summary{border-bottom:1px solid #e1e9f3}.methods details[open]>summary:after{content:'−'}.method-content{padding:6px 20px 19px}.methods h2{font-size:15px;margin:16px 0 10px;color:#214563}.methods p,.methods li{font-size:11px;line-height:1.85;color:#506b85}.methods ul{padding-left:17px;margin:12px 0}.methods li+li{margin-top:10px}.methods strong{font-weight:650;color:#2c506f}.methods code{background:#eff4fa;border:1px solid #dce7f1;border-radius:3px;padding:1px 4px;color:#2f5579;font-size:10px}.source-candidates{border-left:2px solid #c4d7ed;margin:14px 0;padding-left:12px}.source-candidates p{font-size:10px!important;margin:12px 0!important}.source-candidates a{font-size:10px}.footer-page{padding:21px 0 26px;background:transparent;border-top:1px solid #dce5ef;color:#5a738d;font-size:10px;line-height:1.6}
.tooltip{font-family:inherit;font-size:11px;line-height:1.6;padding:13px 16px;border:1px solid #d6e3ef;border-radius:10px;box-shadow:0 12px 32px #0e2a4640;background:#fffffff7;color:#214363;max-width:340px}.tooltip strong{display:block;font-size:12px;margin-bottom:6px}.tooltip .muted{color:#5b7590;font-size:10px}.maplibregl-popup-content{font-family:Inter,'Segoe UI',Arial,sans-serif!important;border:1px solid #c7d8e8!important;border-radius:11px!important;box-shadow:0 13px 38px #10263c40!important;padding:17px 18px!important}.street-popup-title{color:#183d5d;font-size:14px;font-weight:700;letter-spacing:-.02em}.street-popup-pair{gap:8px}.street-popup-pair>div{border-top:3px solid #245bc7;background:#edf4ff;padding:9px 10px}.street-popup-pair>div+div{border-color:#a54d14;background:#fff4e9}.street-popup-pair strong{font-size:25px;letter-spacing:-.045em}.street-popup-pair small{font-size:10px;color:#456481}.street-popup-margin{font-size:11px;background:#f3f7fc;border-radius:5px;padding:7px 9px}.street-popup-meta{font-size:11px;line-height:1.6;color:#4a6a87}.street-popup-button{background:#245bc7!important;color:#fff!important;border-color:#245bc7!important;border-radius:7px!important;font-size:11px;min-height:39px}.maplibregl-ctrl-group{border-radius:8px!important;border-color:#bacce0!important;box-shadow:0 3px 12px #10263c22!important}.maplibregl-ctrl-group button{width:36px!important;height:36px!important}.toast{font-size:12px;border-radius:9px;max-width:calc(100vw - 36px);padding:13px 20px;background:#132e49;box-shadow:0 8px 32px #132e4935}
.map-main:fullscreen{background:#fff;padding:15px}.map-main:fullscreen .map-viewport{min-height:0}.map-main:fullscreen .street-map,.map-main:fullscreen .map-svg{height:100%}.map-main:fullscreen .legend{padding-bottom:3px}
.rail-year{margin-top:auto;font-size:11px;letter-spacing:.12em;font-weight:700;color:#b7cce1}.appbar-brand{text-decoration:none}.appbar-brand strong{font-size:11px;letter-spacing:.12em}.appbar-brand>span{font-size:11px;font-weight:500;color:#5b718a;letter-spacing:0;display:block;margin-top:2px}.appbar-meta{display:flex;align-items:center;gap:12px}.appbar-source{font-size:11px;text-decoration:none;color:#3d5c7e}.stat-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.stat-top .stat-eyebrow{margin:0}.stat-icon{width:17px;height:17px;color:#607a99}.hero .independent-note{font-size:9px;color:#bad0e5;margin-top:8px}.methodology-section>.section-heading{padding:0;margin-top:33px}.methodology-section .methods{margin-top:16px}
@media(min-width:1800px){.hero h1{font-size:53px}.street-map,.map-viewport .map-svg{height:680px}.map-grid{grid-template-columns:minmax(0,1fr) 375px}.side{padding:27px}.comparison-vote strong{font-size:29px}}
@media(max-width:1250px){.container{width:calc(100% - 42px)}.hero>.container{padding:28px}.hero-grid{grid-template-columns:1.7fr 1fr;gap:10px}.hero h1{font-size:38px}.hero-cartography{min-height:160px}.stats{gap:12px}.stat{padding:16px}.stat strong{font-size:30px}.section-heading{align-items:flex-start;gap:14px;padding:22px 22px 0}.section-heading h2{font-size:20px}.quick-presets{max-width:360px}.controls{padding:21px 22px}.filter-row{grid-template-columns:1fr 1fr}.filter-row>#reset{justify-self:start}.scope-summary{margin-left:22px;margin-right:22px;column-gap:20px;padding:16px}.scope-comparison{padding-left:18px}.scope-total strong{font-size:23px}.map-grid{grid-template-columns:minmax(0,1fr) 305px}.side{padding:23px 18px}.comparison-vote strong{font-size:21px}.comparison-vote .candidate-name{font-size:10px}.street-map,.map-viewport .map-svg{height:575px}.map-mode-bar{padding-left:16px;padding-right:16px}.view-3d{margin-left:0}.map-foot{align-items:start}.map-foot .actions{flex-direction:column}.map-foot .button{width:100%}}
@media(max-width:1050px){:root{--rail:72px}.atlas-rail{padding-left:4px;padding-right:4px}.rail-link{width:58px}.container{width:calc(100% - 32px)}.hero>.container{padding:24px}.hero-grid{grid-template-columns:minmax(0,1fr) 190px}.hero h1{font-size:34px}.hero-cartography{min-height:145px}.candidate-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.candidate-controls>#swapCandidates{grid-column:1/-1;justify-self:start;min-height:35px;padding:7px 12px}.section-heading{display:block}.quick-presets{justify-content:flex-start;max-width:none;margin-top:15px}.stats{gap:10px}.stat{padding:14px}.stat strong{font-size:26px}.stat .label{font-size:10px}.map-grid{grid-template-columns:minmax(0,1fr) 280px}.side{padding:21px 15px}.side h3{font-size:18px}.comparison-votes{grid-template-columns:1fr;gap:8px}.comparison-vote .candidate-name{min-height:0;font-size:11px}.comparison-vote strong{font-size:28px;display:inline-block;margin-right:7px}.comparison-vote small{display:inline-block}.comparison-vote{padding:9px 12px}.scope-summary{grid-template-columns:1fr}.scope-comparison{padding:14px 0 0;border-left:0;border-top:1px solid #dce7f2}.scope-counts{grid-template-columns:repeat(4,1fr);gap:12px}.scope-title{gap:12px}.scope-total-grid{gap:20px}.scope-mini-bars{max-width:75%}.scope-coverage{padding-top:11px}.map-foot .actions{min-width:145px}.street-map,.map-viewport .map-svg{height:550px}.methods{grid-template-columns:1fr 1fr;gap:16px}.rank-header{padding:20px}.toolbar-actions{gap:6px}.toolbar-actions .button{padding:8px 10px;font-size:10px}}
@media(max-width:820px){:root{--rail:0px}.atlas-rail{position:static;width:100%;height:58px;flex-direction:row;justify-content:flex-start;padding:6px 14px;gap:4px;border:0}.rail-brand{width:36px;height:36px;margin:0 15px 0 0;border-radius:9px}.rail-brand svg{width:23px;height:23px}.rail-link{min-height:40px;width:auto;flex-direction:row;padding:7px 11px;font-size:10px;gap:6px;margin:0}.rail-link svg{width:16px;height:16px}.rail-bottom{margin:0 0 0 auto;line-height:1;font-size:9px}.rail-bottom strong{font-size:10px}.atlas-appbar{height:62px}.atlas-appbar .appbar-brand{font-size:10px}.atlas-appbar .appbar-brand small{font-size:11px}.source-badge{display:none}.hero{margin-top:16px}.hero h1{font-size:35px}.hero-grid{grid-template-columns:1fr 190px}.hero p{font-size:12px}.hero .eyebrow{font-size:9px}.hero-actions{margin-top:16px}.hero .snapshot{font-size:9px!important;margin-top:18px}.hero-independent{display:none}.map-grid{grid-template-columns:minmax(0,1fr)}.side{border-left:0;border-top:1px solid var(--line);padding:22px;display:block}.comparison-votes{grid-template-columns:1fr 1fr;max-width:600px}.comparison-vote{padding:14px 17px}.comparison-vote strong{display:block;font-size:32px}.comparison-vote small{display:block;font-size:10px}.comparison-vote .candidate-name{min-height:0;font-size:12px}.side .detail-line{font-size:12px;padding:10px 0}.side .large{font-size:42px}.side .detail-address{font-size:12px}.side .detail-map-actions{grid-template-columns:1fr 1fr}.side #drillMunicipality{width:auto;min-width:235px}.street-map,.map-viewport .map-svg{height:550px}.view-3d{margin-left:auto}.map-foot .actions{flex-direction:row}.map-foot{align-items:center}.rank-header{align-items:flex-start}.toolbar-actions{flex-wrap:wrap;justify-content:flex-end}.toolbar-actions .button{font-size:10px}.methods{grid-template-columns:1fr}.methods .method-content{padding:4px 20px 17px}.methods p,.methods li{font-size:12px}.skip-link{left:15px}.scope-title h3{font-size:14px}.scope-title p{font-size:10px}.stat strong{font-size:28px}}
@media(max-width:600px){html{scroll-padding-top:20px}.container{width:calc(100% - 24px)}.atlas-rail{padding:6px 10px;gap:0}.rail-brand{margin-right:8px;width:34px;height:34px}.rail-link{font-size:9px;padding:7px 9px;gap:4px}.rail-link svg{width:14px;height:14px}.rail-bottom{display:none}.atlas-appbar{height:59px}.appbar-right{gap:8px}.appbar-right a{font-size:10px}.period-badge{font-size:9px;padding:4px 7px;min-height:26px}.hero>.container{padding:24px 21px 17px;border-radius:14px}.hero-grid{display:block}.hero h1{font-size:36px}.hero-cartography{display:none}.hero #reportSubtitle{font-size:11px;line-height:1.65;margin-top:13px}.hero-actions{gap:9px;flex-wrap:wrap}.hero-actions .badge{font-size:8px}.hero .snapshot{font-size:9px!important;line-height:1.65;margin-top:18px;padding-top:10px}.intro{font-size:11px;line-height:1.75;margin:15px 1px 16px}.stats{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:20px}.stat{padding:14px 15px 13px;border-radius:10px}.stat-eyebrow{margin-bottom:8px}.stat .label{min-height:30px;font-size:10px}.stat strong{font-size:28px;margin-top:6px}.stat small{font-size:9px;min-height:29px}.stat-eyebrow svg{width:15px;height:15px}.section-heading{padding:21px 17px 0}.section-heading h2{font-size:21px}.section-heading .eyebrow{font-size:9px}.quick-presets{gap:6px;margin-top:14px}.quick-presets .button{font-size:10px;padding:7px 9px;min-height:34px}.controls{padding:19px 17px}.candidate-controls{grid-template-columns:1fr;gap:12px}.candidate-controls>#swapCandidates{grid-column:auto;justify-self:stretch;min-height:37px}.candidate-controls select{min-height:48px;font-size:14px}.comparison-controls-note{font-size:9px;line-height:1.7}.comparison-context{font-size:10px;padding:10px 11px;margin-top:12px;margin-bottom:19px}.candidate-chip{font-size:9px}.tabs{gap:2px;padding:3px;margin-bottom:17px}.tab{padding:9px 6px;font-size:10px;min-height:47px;white-space:normal}.filter-row{grid-template-columns:1fr;gap:12px}.filter input,.filter select{min-height:44px;font-size:13px}.filter-row>#reset{justify-self:stretch;min-height:36px}.local-query-row{grid-template-columns:1fr 1fr;margin-top:14px;padding-top:14px;gap:12px}.query-help{grid-column:1/-1;font-size:10px;margin:0}.filter-chips{gap:6px;margin-top:12px}.filter-chip{font-size:9px;min-height:28px}.scope-summary{margin:0 17px 19px;padding:15px;border-radius:9px;gap:13px}.scope-title{display:block}.scope-title p{text-align:left;margin-top:5px;font-size:9px}.scope-total-grid{gap:11px}.scope-total small{font-size:9px;min-height:28px}.scope-total strong{font-size:23px}.scope-total span{font-size:8px}.scope-counts{grid-template-columns:1fr 1fr;gap:11px 15px}.scope-count strong{font-size:23px;min-width:28px}.scope-count span{font-size:9px}.scope-counts-title{font-size:8px;margin-bottom:9px}.scope-mini-bars{max-width:100%;gap:7px}.coverage-line{font-size:9px;gap:7px}.coverage-track{max-width:100px}.coverage-note{font-size:8px}.scope-chart-note{font-size:8px}.map-heading{padding:17px 17px 12px}.map-heading h2{font-size:18px}.map-heading p{font-size:10px}.map-mode-bar{padding:0 12px 11px;gap:6px}.map-mode-switch button{padding:8px;font-size:10px;min-height:34px}.map-utility{font-size:9px;min-height:37px;padding:7px}.view-3d{font-size:10px}.map-viewport{margin:0 11px 11px;border-radius:8px}.street-map,.map-viewport .map-svg{height:470px;height:min(68svh,530px);min-height:370px}.map-status-row{padding:0 16px 11px;gap:6px}.map-status{font-size:9px}.map-opacity{font-size:9px}.map-opacity input{width:64px}.legend{padding:2px 16px 17px}.legend-title{font-size:9px;line-height:1.6}.pair-swatches{font-size:8px}.legend-extra{font-size:8px;line-height:1.85}.legend-ticks{font-size:9px}.side{padding:21px 18px}.side h3{font-size:21px}.comparison-votes{gap:9px}.comparison-vote{padding:12px}.comparison-vote strong{font-size:28px}.comparison-vote .candidate-name{font-size:11px;min-height:30px}.side .detail-map-actions{grid-template-columns:1fr}.side .detail-line{font-size:11px}.map-foot{display:block;padding:14px 17px}.map-foot p{font-size:9px}.map-foot .actions{margin-top:11px;min-width:0}.map-foot .button{font-size:10px}.rank-card,.sections-card{margin-top:20px}.rank-header{padding:20px 17px 16px;display:block}.rank-header h2{font-size:19px}.rank-header p{font-size:10px}.toolbar-actions,.sections-actions{margin-top:13px;justify-content:flex-start;gap:7px}.toolbar-actions .button,.sections-actions .button{font-size:10px;min-height:36px}.rank-scroll,.sections-scroll{max-height:610px}.rank-scroll th,.sections-scroll th{font-size:10px;padding:12px}.rank-scroll td,.sections-scroll td{padding:13px 12px;font-size:11px}.rank-scroll td:nth-child(2){min-width:185px;max-width:230px}.rank-row .name{font-size:11px}.rank-row .sub{font-size:9px}.rank-scroll td.numeric strong,.sections-scroll td.numeric strong{font-size:12px}.candidate-heading small{font-size:8px}.sections-context{padding:12px 17px;font-size:10px}.sections-context .candidate-chip{font-size:10px}.sections-note{font-size:9px;padding:13px 17px}.methods{margin-top:21px;margin-bottom:26px;gap:12px}.methods summary{padding:16px 17px;font-size:12px}.methods .method-content{padding:3px 17px 15px}.methods p,.methods li{font-size:11px}.source-candidates p{font-size:10px!important}.footer-page{padding:17px 0;font-size:9px}.maplibregl-popup{max-width:min(315px,calc(100vw - 48px))!important}.maplibregl-popup-content{padding:14px!important}.street-popup-title{font-size:13px}.street-popup-pair strong{font-size:24px}.street-popup-pair small{font-size:10px}.street-popup-button{font-size:11px}.map-main:fullscreen{padding:5px}}
@media(max-width:370px){.rail-link{padding:6px 7px}.appbar-right>a{display:none}.hero h1{font-size:32px}.stat strong{font-size:24px}.comparison-vote strong{font-size:25px}.scope-total strong{font-size:20px}.candidate-controls select{font-size:13px}.view-3d{margin-left:0}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
@media print{:root{--rail:0px;--bg:#fff}html{scroll-padding-top:0}.atlas-rail,.atlas-appbar,.hero-actions,.hero-cartography,.quick-presets,.filter-chips,.toolbar-actions,.skip-link{display:none!important}.atlas-workspace{margin-left:0}.container{width:100%;max-width:none}.hero{margin:0}.hero>.container{color:#10263c!important;background:#fff!important;border:0;border-bottom:2px solid #10263c;border-radius:0;padding:10px 0 15px;box-shadow:none}.hero-grid{display:block}.hero h1{font-size:29px;line-height:1.15;color:#10263c}.hero h1 span{color:#274f76!important}.hero p,.hero #reportSubtitle,.hero .snapshot,.hero .eyebrow{color:#385a7c!important}.hero .snapshot{border-color:#cad8e6;font-size:9px!important}.intro{font-size:10px;margin:12px 0}.stats{gap:9px;margin:12px 0 18px;grid-template-columns:repeat(4,1fr)}.stat{padding:10px;border-radius:0;box-shadow:none}.stat strong{font-size:25px}.stat .label{font-size:9px}.stat small{font-size:8px}.stat-eyebrow{display:none}.card{border-radius:0;box-shadow:none}.section-heading{padding:10px 0}.section-heading h2{font-size:19px}.scope-summary{margin:10px 0 15px;border-radius:0;break-inside:avoid;grid-template-columns:1.4fr 1fr;padding:12px}.scope-total strong{font-size:21px}.scope-comparison{border-left:1px solid #d9e4ee;border-top:0;padding:0 0 0 16px}.scope-counts{grid-template-columns:1fr 1fr;gap:8px}.scope-count strong{font-size:20px}.map-grid{grid-template-columns:minmax(0,1fr) 255px}.side{border-left:1px solid #d5e1ed;border-top:0;padding:15px;background:#fff}.side h3{font-size:17px}.side .large{font-size:31px}.side .detail-line{font-size:9px;padding:6px 0}.comparison-votes{grid-template-columns:1fr 1fr;gap:6px}.comparison-vote{padding:7px}.comparison-vote .candidate-name{font-size:9px;min-height:26px}.comparison-vote strong{font-size:18px}.comparison-vote small{font-size:8px}.comparison-difference{font-size:9px;padding:8px}.comparison-difference strong{font-size:18px}.detail-note,.detail-address,.detail-hint{font-size:9px;padding:8px}.map-heading{padding:12px}.map-heading h2{font-size:17px}.map-heading p{font-size:9px}.map-viewport .svg-wrap,.map-viewport .svg-wrap.hidden{display:block!important}.map-viewport .map-svg{height:390px;min-height:0}.map-viewport{border:0;margin:0}.legend{padding:6px 12px 12px}.map-foot{padding:9px 12px}.rank-header{padding:15px 10px}.rank-scroll,.sections-scroll{overflow:visible;max-height:none}.rank-scroll td:nth-child(2),.rank-scroll th:nth-child(2),.rank-scroll th,.sections-scroll th{position:static;box-shadow:none}.rank-scroll th,.sections-scroll th,.rank-scroll td,.sections-scroll td{padding:7px 6px;font-size:8px;min-width:0!important}.rank-scroll td.numeric strong,.sections-scroll td.numeric strong{font-size:9px}.rank-scroll td:nth-child(2){max-width:210px}.rank-row .name{font-size:9px}.rank-row .sub{font-size:8px}.candidate-heading small{font-size:8px}.sections-context,.sections-note{font-size:9px;padding:8px 10px}.rank-row,.sections-scroll tr{break-inside:avoid}.methods{display:block;margin:18px 0}.methods details{border:0;overflow:visible;margin-bottom:15px}.methods details>.method-content{display:block!important;padding:0}.methods summary{font-size:12px;padding:8px 0;display:block;border:0}.methods summary:after{display:none}.methods p,.methods li{font-size:9px}.footer-page{font-size:8px}}

@media(max-width:820px){.rail-links{display:flex;align-items:center;gap:3px}.rail-year{margin:0 0 0 auto}.appbar-meta{gap:8px}}
@media(max-width:600px){.appbar-meta{gap:7px}.appbar-source{font-size:10px}.appbar-brand strong{font-size:9px}.appbar-brand>span{font-size:10px}.rail-year{display:none}.stat-icon{width:15px;height:15px}.hero .independent-note{font-size:8px}.methodology-section>.section-heading{padding:0 3px;margin-top:24px}}
@media print{.stat-top{display:none}.hero .independent-note{color:#466887}.methodology-section>.section-heading{margin-top:17px}.appbar-meta{display:none}}

/* Controles de visualização destacados — 05/10/2026. */
.controls .tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-width:none;padding:0;border:0;border-radius:0;background:transparent;margin:0 0 24px}
.controls .tabs .tab{min-width:0;min-height:62px;padding:16px 20px;border:2px solid #a8bfdd;border-radius:10px;background:#f3f7fd;color:#244c78;font-size:15px;font-weight:750;line-height:1.35;box-shadow:0 2px 5px #183b670a;transition:background .16s,border-color .16s,box-shadow .16s}
.controls .tabs .tab:hover{background:#e6effc;border-color:#245bc7;color:#17478e}
.controls .tabs .tab.active,.controls .tabs .tab[aria-pressed=true]{background:#245bc7;border-color:#245bc7;color:#fff;box-shadow:0 4px 12px #245bc72b}
.controls .tabs .tab:focus-visible{outline:3px solid #102a43;outline-offset:3px}
@media(max-width:600px){.controls .tabs{grid-template-columns:1fr;gap:8px}.controls .tabs .tab{min-height:52px;padding:12px 16px;font-size:14px}}
@media(prefers-reduced-motion:reduce){.controls .tabs .tab{transition:none}}

/* Atlas Eleitoral · refinements shared by both pages; the national opening is scoped to body[data-pagina="nacional"]. */
.atlas-body{font-variant-numeric:tabular-nums}
.atlas-body table td,.atlas-body .stat strong{font-feature-settings:"tnum" 1}

/* Entry point to the live 2nd-round count, in both consultations' top bars (neutral colours, not a party's). */
.atlas-body a.atlas-ao-vivo{display:inline-flex;align-items:center;gap:8px;padding:9px 15px;border-radius:999px;background:#102a43;
  border:1px solid #102a43;color:#fff;font:600 13px/1.2 Inter,"Segoe UI",Arial,sans-serif;text-decoration:none}
.atlas-body a.atlas-ao-vivo::before{content:"";width:8px;height:8px;border-radius:50%;background:#e7a83e;box-shadow:0 0 0 3px rgba(231,168,62,.3)}
.atlas-body a.atlas-ao-vivo:hover{background:#1d3d5c}
.atlas-body a.atlas-ao-vivo:focus-visible{outline:3px solid #e7a83e;outline-offset:2px}

/* The full map credits ran over the scale bar on phones. */
@media(max-width:650px){
  .maplibregl-ctrl-attrib{font-size:10px;line-height:14px}
  .maplibregl-ctrl-bottom-left .maplibregl-ctrl-scale{margin-bottom:34px}
}

/* --- National page: one header instead of three, and an opening led by the result --- */
body[data-pagina="nacional"] .atlas-appbar,
body[data-pagina="nacional"] .stats,
body[data-pagina="nacional"] .quick-presets,
body[data-pagina="nacional"] .hero .eyebrow,
body[data-pagina="nacional"] #reportSubtitle,
body[data-pagina="nacional"] #provisional,
body[data-pagina="nacional"] .intro{display:none!important}
body[data-pagina="nacional"] .national-nav{align-items:center;gap:8px;padding:12px 28px;background:#fff;border-bottom:1px solid #dce5ed}
body[data-pagina="nacional"] .national-nav .atlas-marca{margin-right:auto;font:700 17px/1.2 Inter,"Segoe UI",Arial,sans-serif;color:#102a43;letter-spacing:-.01em}
body[data-pagina="nacional"] .national-nav a{padding:8px 14px;font-size:13px;border-radius:999px}
body[data-pagina="nacional"] .hero{padding:0;margin:22px 0 26px}
body[data-pagina="nacional"] .hero-grid{display:block;padding:30px 40px 22px}
body[data-pagina="nacional"] .hero-copy{max-width:none;padding:0}
body[data-pagina="nacional"] .hero h1{font-size:clamp(26px,2.7vw,38px);line-height:1.1;letter-spacing:-.025em;max-width:30ch;margin:0 0 20px}
body[data-pagina="nacional"] .hero-actions{display:none}
.atlas-busca p a{color:#fff;font-weight:600;margin-left:6px}
body[data-pagina="nacional"] .hero .snapshot{margin-top:16px;font-size:12.5px;opacity:.75}
body[data-pagina="nacional"] .hero .independent-note{display:none}

/* Timeline of elections: the time axis is what the national atlas adds. */
.atlas-eleicoes{display:flex;gap:6px;overflow-x:auto;padding:2px 0 4px;margin:0 0 26px;scrollbar-width:thin}
.atlas-eleicao{flex:0 0 auto;display:grid;gap:1px;min-width:86px;padding:9px 14px 8px;border-radius:10px;border:1px solid rgba(255,255,255,.18);color:#c7d6e6;text-decoration:none;line-height:1.15;transition:background .15s,border-color .15s}
.atlas-eleicao strong{font-size:17px;color:#fff;font-weight:700}
.atlas-eleicao span{font-size:12px}
.atlas-eleicao:hover{border-color:rgba(255,255,255,.5);background:rgba(255,255,255,.06)}
.atlas-eleicao[aria-current="page"]{background:#fff;border-color:#fff;color:#334e68}
.atlas-eleicao[aria-current="page"] strong{color:#102a43}
.atlas-eleicao:focus-visible{outline:3px solid #f3c25a;outline-offset:2px}

/* Result of the selected round, in the same side colours as the map. */
.atlas-resultado{--lado-a:#5b9be0;--lado-b:#ee9a3c;--lado-neutro:#9fb3c8;--lado-outros:#4b6480;max-width:980px}
.atlas-candidatos{display:flex;justify-content:space-between;gap:24px;margin-bottom:12px}
.atlas-candidato{display:grid;grid-template-columns:auto;gap:2px;min-width:0}
.atlas-candidato.fim{text-align:right;justify-items:end}
.atlas-candidato b{font-size:15px;color:#fff;font-weight:600}
.atlas-candidato small{font-size:12px;color:#9fb3c8}
.atlas-candidato strong{font-size:clamp(34px,4.4vw,54px);line-height:1;font-weight:700;letter-spacing:-.03em;margin-top:6px}
.atlas-candidato span{font-size:13px;color:#c7d6e6}
.atlas-candidato.lado-a strong{color:var(--lado-a)}
.atlas-candidato.lado-b strong{color:var(--lado-b)}
.atlas-candidato.lado-neutro strong{color:#fff}
.atlas-barra{position:relative;display:flex;height:14px;border-radius:7px;overflow:hidden;background:#24405c}
.atlas-barra i{display:block;min-width:2px}
.atlas-barra .lado-a{background:var(--lado-a)}
.atlas-barra .lado-b{background:var(--lado-b)}
.atlas-barra .lado-neutro{background:var(--lado-neutro)}
.atlas-barra .lado-outros{background:var(--lado-outros)}
.atlas-barra em{position:absolute;left:50%;top:-3px;bottom:-3px;width:2px;background:#fff;opacity:.75}
.atlas-outros,.atlas-base{margin:10px 0 0;font-size:13px;color:#b9cadb;line-height:1.5}
.atlas-base{color:#8fa7bf;font-size:12.5px;margin-top:4px}

/* School search: the most common reason to open the atlas. */
.atlas-busca{margin:26px 0 0;max-width:640px}
.atlas-busca label{display:block;font-size:15px;font-weight:600;color:#fff;margin-bottom:8px}
.atlas-busca div{display:flex;gap:8px}
.atlas-busca input{flex:1;min-width:0;height:48px;padding:0 16px;border-radius:10px;border:1px solid #9fb3c8;font:16px Inter,"Segoe UI",Arial,sans-serif;color:#102a43;background:#fff}
.atlas-busca input:focus-visible{outline:3px solid #f3c25a;outline-offset:1px}
.atlas-busca button{height:48px;padding:0 22px;border-radius:10px}
.atlas-busca p{margin:8px 0 0;font-size:12.5px;color:#9fb3c8}

@media(max-width:650px){
  body[data-pagina="nacional"] .national-nav{padding:10px 14px;flex-wrap:wrap}
  body[data-pagina="nacional"] .national-nav .atlas-marca{flex-basis:100%;margin-bottom:2px}
  body[data-pagina="nacional"] .hero{margin:14px 0 18px}
  body[data-pagina="nacional"] .hero-grid{margin:0;padding:22px 16px 18px}
  .atlas-eleicoes{flex-wrap:wrap;overflow:visible}
  .atlas-eleicao{min-width:0;flex:1 0 74px;padding:8px 10px 7px}
  .atlas-candidatos{gap:12px}
  .atlas-busca div{flex-direction:column}
  .atlas-busca input{flex:none;width:100%}
  .atlas-busca button{width:100%}
}
@media(prefers-reduced-motion:reduce){.atlas-eleicao{transition:none}}
