.election-page{padding:36px var(--gutter) 56px}.election-hero{display:grid;grid-template-columns:1.3fr 1fr;gap:48px;align-items:center;padding:14px 0 38px}.election-hero h1{font-size:clamp(38px,4.5vw,76px);margin:22px 0}.election-hero h1 em{font-style:normal;color:var(--green)}.election-hero>div>p:last-child{font-size:18px;color:var(--muted)}.election-official{display:inline-block;padding:7px 14px;background:var(--lime);border-radius:24px;font-size:12px;font-weight:700}.election-duel{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:28px;background:var(--surface);border:1px solid var(--line);border-radius:12px}.duel-person{display:grid;justify-items:center;gap:9px;text-align:center}.duel-person img{width:120px;height:120px;object-fit:cover;object-position:center 20%;border-radius:50%;border:4px solid #99702e}.duel-person:nth-child(2) img{border-color:#3068b1}.duel-person>strong{font-size:34px;line-height:1.2}.duel-person>span{font-size:15px;font-weight:700}.duel-gap{grid-column:1/-1;text-align:center;font-size:14px;border-top:1px solid var(--line);padding-top:18px}.duel-gap strong{color:var(--green)}.election-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:28px;border-block:1px solid var(--line);padding:24px 0}.election-kpis>div{border-right:1px solid var(--line);padding-right:20px}.election-kpis>div:last-child{border:0}.election-kpis strong{font-size:36px;display:block;line-height:1.2}.election-kpis span{display:block;font-size:13px;color:var(--muted);margin-top:10px;max-width:250px}.election-tabs{display:flex;flex-wrap:wrap;gap:8px;border-bottom:1px solid var(--line);margin:30px 0;padding:0 0 14px}.election-tabs a{color:var(--ink);font-size:15px;padding:10px 18px;border-radius:6px}.election-tabs a[aria-current=page]{background:var(--ink);color:var(--paper)}.election-tabs a:hover{box-shadow:inset 0 0 0 1px var(--ink)}[data-election-view]{padding-bottom:30px}.election-section-heading{display:flex;justify-content:space-between;gap:26px;align-items:center;margin:24px 0}.election-section-heading h2{margin:0;max-width:850px}.election-section-heading>p{font-size:14px;color:var(--muted)}.election-section-heading label{min-width:220px}.election-stories{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.election-story{border:1px solid var(--line);background:var(--surface);border-radius:10px;padding:28px;display:flex;flex-direction:column;align-items:start}.election-story:hover{border-color:var(--green)}.election-story>span{font-size:11px;letter-spacing:1.5px;color:var(--muted)}.election-story>strong{font-size:clamp(35px,3.5vw,60px);color:var(--green);letter-spacing:-1px;margin:16px 0}.election-story h3{font-size:24px;margin:0 0 12px}.election-story p{font-size:15px;color:var(--muted);line-height:1.7;margin-bottom:26px}.election-story>b{font-size:13px;margin-top:auto}.election-link-strip{display:flex;gap:24px;flex-wrap:wrap;font-size:14px;margin:26px 0}.election-link-strip a,.election-more{text-decoration:underline;text-underline-offset:4px}.election-two-columns{display:grid;grid-template-columns:1.6fr 1fr;gap:36px;align-items:start}.election-insight{border:1px solid var(--line);border-radius:10px;background:var(--surface);padding:28px}.election-insight h3{font-size:24px;margin:0 0 20px}.election-insight p{font-size:15px;color:var(--muted);line-height:1.8}.election-insight a{font-size:14px;text-decoration:underline;text-underline-offset:3px}.election-note{font-size:13px;color:var(--muted);line-height:1.8}.mayor-row{display:grid;grid-template-columns:72px minmax(0,1fr) 110px;gap:20px;padding:20px 0;border-bottom:1px solid var(--line);align-items:center}.mayor-row>img{width:72px;height:84px;object-fit:cover;object-position:center 20%;border-radius:6px}.mayor-row h3{font-size:20px;margin:0 0 5px}.mayor-row p{font-size:12px;color:var(--muted);margin:0 0 12px}.mayor-row>strong{font-size:25px;text-align:right;font-variant-numeric:tabular-nums}.mayor-row>strong small{font-size:12px;display:block;color:var(--muted);font-weight:400;margin-top:6px}.mayor-row a{font-size:10px;color:var(--muted)}.winner-tag{display:inline-block;font-size:9px;letter-spacing:1px;background:var(--lime);padding:3px 6px;margin-left:8px;vertical-align:middle}.mayor-track,.rank-track{height:7px;border-radius:3px;background:#e8e4df;overflow:hidden}.mayor-track>span,.rank-track>span{display:block;height:100%;background:var(--green)}.turnout-ring{width:175px;height:175px;border-radius:50%;background:conic-gradient(var(--green) var(--turnout),#dedfc7 0);display:grid;place-items:center;margin:24px auto}.turnout-ring strong{width:140px;height:140px;background:var(--surface);border-radius:50%;display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:29px}.turnout-ring small{font-size:13px;font-weight:400;color:var(--muted)}.election-subtitle{font-size:24px;margin-top:36px}.history-row{display:grid;grid-template-columns:70px 1fr;gap:20px;margin:20px 0}.history-row>strong{font-size:25px}.history-row>div{display:grid;gap:8px}.history-row span{display:block;color:white;font-size:13px;white-space:nowrap;min-width:190px;padding:9px 12px;border-radius:4px}.seat-svg{width:100%;max-height:440px;display:block}.seat-svg text{font:14px 'DM Sans',sans-serif;fill:var(--muted)}.seat-svg .seat-total{font-size:40px;font-weight:800;fill:var(--ink)}.seat-svg a:hover circle,.seat-svg a:focus circle{stroke:var(--ink);stroke-width:3px}.seat-legend-row{display:grid;grid-template-columns:12px 1fr 35px 60px;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid var(--line);font-size:14px}.seat-legend-row i{width:10px;height:10px;border-radius:50%}.seat-legend-row strong{font-size:23px;text-align:right}.seat-legend-row small{text-align:right;color:var(--muted)}.election-person-detail{margin:24px 0;display:flex;gap:20px;padding:20px;border:1px solid var(--line);border-radius:8px}.election-person-detail img{object-fit:cover;object-position:center 20%;width:90px;height:110px;border-radius:6px}.election-person-detail h3{font-size:21px;margin:0}.election-person-detail p{font-size:13px;margin:7px 0}.election-person-detail span{font-size:12px;font-weight:700}.election-person-detail a{font-size:11px}.election-person-select{max-width:500px;margin:24px 0}#council-mini-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(185px,1fr));gap:12px;margin:24px 0}#council-mini-grid>a{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid var(--line);border-left:3px solid var(--person-color);border-radius:6px;font-size:14px;font-weight:600}#council-mini-grid img{width:45px;height:50px;object-fit:cover;object-position:center 20%;border-radius:5px}#council-mini-grid a:hover{background:var(--surface)}#district-overview{display:grid;grid-template-columns:repeat(7,1fr);gap:10px;margin:24px 0}.district-tile{background:var(--paper);border:1px solid var(--line);border-radius:7px;text-align:left;padding:16px 12px;color:var(--ink)}.district-tile span{display:block;font-size:12px}.district-tile strong{font-size:32px;display:block;margin:8px 0;color:var(--green)}.district-tile small{display:block;font-size:11px;color:var(--muted)}.district-tile.selected{background:var(--surface);border-color:var(--green)}.district-summary{padding:24px;background:var(--surface);border-radius:8px}.district-summary h3{font-size:23px;margin:0}.district-summary p{font-size:15px;color:var(--muted);margin-bottom:0}.district-ranking{margin:24px 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 32px}.candidate-rank{display:grid;grid-template-columns:24px 42px minmax(0,1fr) 75px;gap:12px;align-items:center;padding:15px 0;border-bottom:1px solid var(--line)}.candidate-rank>span:first-child{font-size:13px;color:var(--muted)}.candidate-rank img{width:42px;height:48px;object-fit:cover;object-position:center 20%;border-radius:4px}.candidate-rank strong{font-size:15px;display:block}.candidate-rank small{font-size:11px;display:block;color:var(--muted);line-height:1.5}.candidate-rank b{text-align:right;font-size:20px}.candidate-rank b small{font-size:10px;font-weight:400}.candidate-rank .rank-track{height:3px;margin-top:8px}.candidate-rank.not-elected .rank-track span{background:#a7a0aa}.candidate-initials{width:42px;height:48px;display:grid;place-items:center;background:#ebe9df;font-size:12px;color:var(--muted);border-radius:4px}.candidate-rank.elected b{color:var(--green)}.election-pair-controls{display:flex;gap:20px;margin:24px 0}.election-pair-controls>label{flex:1;min-width:0}.pair-faces{display:grid;grid-template-columns:1fr 1fr;gap:20px}.pair-faces>div{display:grid;gap:8px;justify-items:center;text-align:center}.pair-faces img{width:72px;height:84px;object-fit:cover;object-position:center 20%;border-radius:6px}.pair-faces strong{font-size:17px}.pair-faces small{font-size:12px;color:var(--muted)}#election-pair-result{border:1px solid var(--line);border-radius:8px;padding:24px}.historical-score{display:flex;align-items:center;gap:24px;padding:24px 0;border-bottom:1px solid var(--line)}.historical-score strong{font-size:48px;white-space:nowrap;color:var(--green)}.historical-score span{font-size:14px;color:var(--muted)}#election-pair-result>a{font-size:14px;text-decoration:underline}.election-missing{background:var(--surface);padding:30px;border:1px dashed #a8a38d;border-radius:8px;max-width:1100px}.election-missing>span{font-size:11px;letter-spacing:1.5px;color:var(--muted)}.election-missing h3{font-size:26px;margin:15px 0}.election-missing p{font-size:16px;line-height:1.8;color:var(--muted)}.election-missing>a{font-size:14px;text-decoration:underline}.election-sources{border-top:1px solid var(--line);padding:26px 0;font-size:14px}.election-sources summary{font-size:16px;font-weight:700;cursor:pointer}.election-sources p{line-height:1.8;max-width:1100px;color:var(--muted)}.election-sources a{text-decoration:underline;text-underline-offset:3px}
@media(max-width:1050px){.election-hero{grid-template-columns:1fr;gap:24px}.election-duel{max-width:650px}.election-stories{grid-template-columns:1fr}.election-story>strong{font-size:48px}.election-two-columns{grid-template-columns:1fr}#district-overview{grid-template-columns:repeat(4,1fr)}.election-insight{max-width:none}}
@media(max-width:700px){.election-page{padding-top:24px}.election-hero h1{font-size:42px}.election-duel{padding:20px;gap:18px}.duel-person img{width:90px;height:90px}.duel-person>strong{font-size:28px}.duel-person>span{font-size:13px}.election-kpis{grid-template-columns:1fr 1fr;gap:24px 16px}.election-kpis>div{padding-right:10px}.election-kpis>div:nth-child(2){border:0}.election-kpis strong{font-size:30px}.election-kpis span{font-size:12px}.election-tabs{gap:7px}.election-tabs a{font-size:13px;padding:9px 12px}.election-section-heading{display:block}.election-section-heading label{display:block;margin-top:18px}.election-story{padding:22px}.mayor-row{grid-template-columns:50px minmax(0,1fr) 76px;gap:12px}.mayor-row>img{width:50px;height:65px}.mayor-row h3{font-size:16px}.mayor-row>strong{font-size:20px}.mayor-row>strong small{font-size:10px}.mayor-row p{font-size:10px}.winner-tag{font-size:8px;margin:4px 0}.history-row{grid-template-columns:46px 1fr;gap:12px}.history-row>strong{font-size:20px}.history-row span{font-size:11px;min-width:150px}.election-person-detail{padding:16px;gap:14px}.election-person-detail img{width:70px;height:90px}.election-person-detail h3{font-size:18px}#council-mini-grid{grid-template-columns:1fr 1fr;gap:8px}#council-mini-grid>a{padding:8px;gap:8px;font-size:12px}#council-mini-grid img{width:34px;height:40px}.district-ranking{grid-template-columns:1fr}#district-overview{grid-template-columns:repeat(2,1fr)}.district-tile strong{font-size:27px}.candidate-rank{grid-template-columns:18px 36px minmax(0,1fr) 60px;gap:9px}.candidate-rank img,.candidate-initials{width:36px;height:44px}.candidate-rank strong{font-size:14px}.candidate-rank b{font-size:18px}.candidate-rank small{font-size:10px}.election-pair-controls{display:block}.election-pair-controls>label{margin:14px 0}.pair-faces strong{font-size:14px}.historical-score{gap:14px}.historical-score strong{font-size:38px}.historical-score span{font-size:12px}.election-missing{padding:22px}.election-missing h3{font-size:23px}.election-missing p{font-size:14px}}

.history-candidate{display:grid;grid-template-columns:100px minmax(0,1fr) 65px;gap:12px;align-items:center}.history-row .history-label{font-size:13px;color:var(--ink);min-width:0;padding:0;white-space:normal}.history-row .history-track{display:block;height:12px;min-width:0;padding:0;background:#e8e4df;border-radius:3px;overflow:hidden}.history-track i{display:block;height:100%}.history-candidate>b{font-size:13px;text-align:right}@media(max-width:700px){.history-candidate{grid-template-columns:76px minmax(0,1fr) 54px;gap:7px}.history-row .history-label,.history-candidate>b{font-size:11px}}
