.home-page main{max-width:1440px;margin:auto;padding:28px 32px 50px}.home-intro{display:flex;justify-content:space-between;gap:25px;align-items:center;margin-bottom:25px}.home-intro h1{font-size:clamp(30px,3.5vw,46px);letter-spacing:-1.8px;line-height:1.12;margin:8px 0 12px}.home-intro p:not(.eyebrow){color:var(--muted);margin:0;line-height:1.5}.home-turns{display:flex;border:1px solid var(--line);border-radius:12px;padding:4px;flex-shrink:0;gap:4px}.home-turns a{display:flex;flex-direction:column;padding:10px 20px;min-height:60px;border-radius:8px;font-weight:750;color:var(--muted);text-decoration:none}.home-turns span{font-size:12px;font-weight:400;margin-top:4px}.home-turns [aria-current]{background:var(--surface-soft);color:var(--ink)}.home-result-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(350px,1fr);grid-template-areas:"map score" "history history";gap:22px;align-items:start}.home-result-grid>.home-score{grid-area:score}.home-result-grid>.home-evolution{grid-area:history;margin:0}.home-result-grid>.home-map-with-status{grid-area:map;min-width:0}.home-result-grid .map-panel{margin:0}.home-result-grid .map-canvas{height:440px;padding:6px 18px}.home-result-grid .electoral-map{height:420px;max-height:420px;width:100%}.home-result-grid .map-panel .panel-heading{padding:20px 22px 10px}.home-result-grid .map-legend{padding:8px 22px}.home-score{overflow:hidden}.home-score>header{padding:21px 22px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);gap:15px}.home-score h2{font-size:19px;margin:6px 0 0}.home-status-dot{width:9px;height:9px;flex-shrink:0;border-radius:50%;background:#21bf86}.home-status-dot.is-waiting{background:#f4c74e}.home-progress{padding:16px 22px 12px}.home-progress>div{display:flex;justify-content:space-between;align-items:baseline;gap:10px}.home-progress strong{font-size:24px}.home-progress span,.home-progress small{font-size:12px;color:var(--muted)}.home-progress progress{width:100%;height:5px;margin:8px 0;accent-color:#24c38b;display:block}.home-candidates{list-style:none;margin:0;padding:0}.home-candidate{padding:17px 22px;border-bottom:1px solid var(--line)}.home-candidate-top{display:flex;gap:12px;align-items:center}.home-candidate-top .candidate-photo,.home-candidate-top .candidate-avatar{width:52px;height:60px;object-fit:cover;border-radius:7px}.home-candidate h3{font-size:16px;margin:0 0 5px}.home-candidate-top>div>span{font-size:12px;color:var(--muted)}.home-vote{margin-left:auto;text-align:right;flex-shrink:0}.home-vote strong{font-size:32px;letter-spacing:-1px;display:block;line-height:1.15}.home-vote span{font-variant-numeric:tabular-nums;font-size:12px}.home-candidate svg{display:block;width:100%;height:4px;margin:15px 0 9px;border-radius:3px}.home-candidate-bottom{display:flex;justify-content:space-between;gap:10px;font-size:12px;color:var(--muted)}.home-candidate-bottom strong{font-weight:550;color:var(--ink);text-align:right}.home-more>summary{padding:14px 22px;font-size:13px;cursor:pointer}.home-source{margin:16px 22px 8px;font-size:12px;line-height:1.65;color:var(--muted)}.home-basis,.home-photo-credit{margin:8px 22px;font-size:12px;line-height:1.6;color:var(--muted)}.home-score-actions{display:flex;gap:8px;flex-wrap:wrap;margin:16px 22px 22px}.home-score-actions .button{font-size:13px}.home-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:25px 0}.home-shortcuts>a{display:flex;gap:12px;align-items:center;border:1px solid var(--line);border-radius:10px;padding:18px;color:var(--ink);text-decoration:none;background:var(--surface)}.home-shortcuts>a>span:first-child{font-size:25px;color:#d6b252}.home-shortcuts>a>span:last-child{margin-left:auto;color:var(--muted)}.home-shortcuts strong{font-size:14px;line-height:1.5}.home-shortcuts small{display:block;color:var(--muted);font-size:12px;line-height:1.5;margin-top:4px}.home-maintenance{margin-top:24px}.home-page .map-state:focus path,.home-page .map-state:hover path{stroke:#fff;stroke-width:3}.home-page .map-uf-label{fill:#fff;font-size:13px;paint-order:stroke;stroke:#17202b;stroke-width:2px}.home-page .map-state:focus-visible{outline:none}.home-page .map-state:focus-visible path{stroke:#f4cc62;stroke-width:4}.home-page .map-layers{flex-wrap:wrap}
@media(max-width:850px){.home-page main{padding:22px 18px}.home-intro{align-items:flex-start;flex-direction:column;gap:18px}.home-result-grid{grid-template-columns:minmax(0,1fr);grid-template-areas:"score" "history" "map"}.home-result-grid .map-canvas{height:345px}.home-result-grid .electoral-map{height:325px;max-height:325px}.home-shortcuts{grid-template-columns:1fr}.home-turns{width:100%}.home-turns a{width:50%;text-align:center}.home-intro h1{letter-spacing:-1px}.home-score-actions .button{flex:1;justify-content:center}.home-maintenance{font-size:12px}.home-candidate-top{gap:9px}.home-candidate h3{font-size:14px}.home-vote strong{font-size:29px}.home-candidate{padding:16px}.home-candidate-top .candidate-photo{width:44px;height:52px}.home-score>header,.home-progress{padding-left:16px;padding-right:16px}.home-result-grid .map-panel .panel-heading{padding-left:16px;padding-right:16px}}
@media print{.home-turns,.home-shortcuts,.home-score-actions{display:none}.home-result-grid{grid-template-columns:1fr 1fr}.home-page main{padding:0}}
@media(max-width:850px){.home-result-grid{gap:14px}.home-intro h1{font-size:29px}.home-intro{margin-bottom:18px}}
.home-operation{margin:0 0 16px;font-size:12px;line-height:1.6;color:var(--muted)}
.home-my-city{display:flex;flex-wrap:wrap;align-items:center;gap:14px 24px;padding:16px 20px;margin:0 0 20px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.home-my-city>div:first-child{flex:1;min-width:220px}.home-my-city h2{font-size:16px;margin:0 0 5px}.home-my-city p{font-size:12px;color:var(--muted);line-height:1.5;margin:0}.my-city-actions{display:flex;gap:8px;flex-wrap:wrap}.my-city-actions .button{font-size:12px;min-height:44px}.home-my-city [hidden]{display:none!important}.home-my-city [data-my-city-saved]{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:8px}.home-my-city [data-my-city-open]{font-weight:650;font-size:14px}.home-my-city [data-my-city-remove]{background:transparent;border:0;color:var(--muted);font-size:12px;min-height:44px;text-decoration:underline}.home-my-city .my-city-message:empty{display:none}.home-my-city .my-city-message{flex-basis:100%}.home-my-city input{width:100%;max-width:100%}
@media(max-width:600px){.home-my-city{padding:14px;gap:10px}.my-city-actions{width:100%}.my-city-actions>*{flex:1}.home-my-city [data-my-city-save]{flex-basis:100%}}
@media print{.home-my-city{display:none}}
@media(max-width:600px){
 .home-my-city{padding:12px 14px;gap:8px;margin-bottom:14px}
 .home-my-city>div:first-child{flex-basis:100%;min-width:0}
 .home-my-city h2{font-size:14px;margin:0}
 .home-my-city>div:first-child>p{display:none}
 .my-city-actions{width:100%;flex-wrap:nowrap;gap:7px}
 .my-city-actions>*{flex:1 1 0;min-width:0;font-size:11px!important;padding:8px!important}
 .home-my-city [data-my-city-save]{flex:1 1 0}
 .home-my-city:has([data-my-city-save]:not([hidden])) .my-city-actions>a{display:none}
 .home-my-city:has([data-my-city-saved]:not([hidden])) h2{display:none}
 .home-my-city:has([data-my-city-save][aria-pressed=true]) [data-my-city-save]{display:none!important}
 .home-my-city [data-my-city-saved]{margin:0;gap:6px}
 .home-my-city [data-my-city-open]{font-size:12px}
 .home-my-city [data-my-city-remove]{font-size:11px;padding:5px;min-height:44px}
}
