:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--background:#0e1218;--foreground:#f0f2f5;--card:#191f28;--secondary:#303846;--muted-foreground:#a5afbd;--border:#303946;--destructive:#f36a73;--radius:16px;--font-sans:"Aptos","Segoe UI",sans-serif;--font-mono:"SFMono-Regular","Consolas",monospace}*{box-sizing:border-box}body{font-family:var(--font-sans);color:var(--foreground);background:var(--background);margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}button:disabled{cursor:default;opacity:.5}:is(button:focus-visible,a:focus-visible){outline-offset:3px;outline:2px solid #87c8ff}a{color:var(--muted-foreground)}.dashboard{width:100%;max-width:470px;padding:8px 12px max(8px,env(safe-area-inset-bottom));gap:8px;margin:0 auto;display:grid}header{justify-content:space-between;align-items:center;height:46px;display:flex}.location{text-align:left;background:0 0;border:0;min-height:44px;padding:0;line-height:1.15}.location>span{color:var(--muted-foreground);font-size:11px}.location strong{letter-spacing:-.6px;margin-top:3px;font-size:23px;display:block}.location strong span{color:var(--muted-foreground);font-size:16px}.year{margin-left:5px;font-size:10px}.refresh{background:var(--secondary);border:0;border-radius:25px;align-items:center;gap:6px;min-height:44px;padding:0 14px;font-size:12px;font-weight:600;display:flex}.refresh>span{font-size:21px}.status{color:var(--muted-foreground);justify-content:space-between;gap:4px;font-size:10px;line-height:14px;display:flex}.error{color:var(--destructive)}.ballots{background:var(--card);border-radius:9px;gap:4px;padding:3px;display:flex}.ballots button{min-height:32px;color:var(--muted-foreground);background:0 0;border:0;border-radius:6px;flex:1;font-size:12px}.ballots button[aria-pressed=true]{background:var(--secondary);color:var(--foreground)}.panel{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);min-width:0;padding:11px 13px}.panel-head{align-items:center;gap:8px;height:22px;display:flex}h2{letter-spacing:-.15px;margin:0;font-size:14px;font-weight:650}.panel-head h2{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.text-button{color:var(--muted-foreground);background:0 0;border:0;min-height:32px;margin-left:auto;padding:0 0 0 8px;font-size:10px}.tag{color:var(--muted-foreground);border:1px solid var(--border);border-radius:4px;padding:2px 5px;font-size:9px}.result-chart{align-items:center;gap:24px;height:122px;display:flex}.ring{border-radius:50%;flex-shrink:0;place-items:center;width:112px;height:112px;display:grid}.ring-core{background:var(--card);border-radius:50%;flex-direction:column;justify-content:center;align-items:center;width:88px;height:88px;display:flex}.ring-core strong{letter-spacing:-1px;font-size:28px;font-weight:650}.ring-core small{font-size:13px}.ring-core span{color:var(--muted-foreground);margin-top:2px;font-size:10px}.legend{flex:1;min-width:0}.legend button{text-align:left;background:0 0;border:0;align-items:center;gap:7px;width:100%;height:23px;padding:0;font-size:11px;display:flex}.legend i{border-radius:50%;flex-shrink:0;width:7px;height:7px}.legend span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.legend b{font-family:var(--font-mono);margin-left:auto;font-size:12px;font-weight:500}.ward-stats,.city-totals{color:var(--muted-foreground);justify-content:space-between;gap:6px;font-size:10px;line-height:21px;display:flex}.ward-stats b,.city-totals b{color:var(--foreground);margin-left:4px;font-weight:550}.station-progress{border:0;border-top:1px solid var(--border);width:100%;min-height:26px;color:var(--muted-foreground);background:0 0;align-items:center;gap:8px;margin-top:4px;padding:3px 0 0;font-size:10px;display:flex}.station-progress b{color:var(--foreground);margin-left:auto;font-size:11px}.station-dots{gap:4px;display:flex}.station-dots i{background:var(--secondary);border-radius:2px;width:9px;height:9px}.station-dots i.reported{background:var(--foreground)}.metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:4px 0;display:grid}.metric>div:first-child{flex-direction:column;gap:4px;display:flex}.metric span{color:var(--muted-foreground);white-space:nowrap;font-size:9px}.metric b{font-size:12px;font-family:var(--font-mono);font-weight:500}.track{background:var(--secondary);border-radius:2px;height:4px;margin-top:5px;overflow:hidden}.track i{height:100%;display:block}.track.unknown{background:repeating-linear-gradient(90deg,var(--secondary),var(--secondary) 5px,transparent 5px,transparent 8px)}.city-totals{margin-top:6px;font-size:9px}.muted{color:var(--muted-foreground)}.comparisons .panel-head{justify-content:space-between}.comparisons h2{align-items:center;gap:6px;font-size:12px;display:flex}.comparisons h2 i{border-radius:50%;width:7px;height:7px}.comparisons .muted{font-size:9px}.comparison-chart{flex-direction:column;justify-content:space-around;height:78px;margin-top:3px;display:flex}.comparison-chart>div{grid-template-columns:65px 1fr 45px;align-items:center;gap:8px;font-size:10px;display:grid}.comparison-chart b{text-align:right;font-size:11px;font-weight:500;font-family:var(--font-mono)}.compare-track{background:var(--secondary);border-radius:2px;height:8px;overflow:hidden}.compare-track i{height:100%;display:block}.comparison-note{color:var(--muted-foreground);margin-top:5px;font-size:9px}footer{color:var(--muted-foreground);justify-content:space-between;font-size:9px;line-height:15px;display:flex}footer a{text-decoration:none}dialog{border:1px solid var(--border);background:var(--card);width:calc(100% - 24px);max-width:430px;color:var(--foreground);border-radius:20px;padding:16px;box-shadow:0 20px 100px #0008}dialog::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#05090dbb}.dialog-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.dialog-head>button{background:var(--secondary);border:0;border-radius:50%;width:44px;height:44px}.ward-choices{gap:8px;margin:14px 0;display:flex}.ward-choices button{border:1px solid var(--border);background:0 0;border-radius:9px;flex:1;min-height:44px}.ward-choices button[aria-pressed=true]{background:var(--secondary);border-color:var(--muted-foreground)}.station-list>div{border-top:1px solid var(--border);align-items:center;display:flex}.station-list button{text-align:left;background:0 0;border:0;justify-content:space-between;align-items:center;gap:8px;width:100%;min-height:48px;padding:10px 0;font-size:12px;display:flex}.station-list button small{color:var(--muted-foreground);margin-top:4px;font-size:9px;display:block}.station-list button b{white-space:nowrap;font-size:10px}.station-list a{padding:12px;font-size:14px}.source-note{color:var(--muted-foreground);margin-top:14px;font-size:9px}.party-detail{min-height:315px;margin-top:12px}.party-detail>div{margin:12px 0}.party-detail>div>div:first-child{justify-content:space-between;gap:8px;font-size:12px;display:flex}.party-detail span{white-space:nowrap;text-overflow:ellipsis;max-width:55%;overflow:hidden}.party-detail b{font-family:var(--font-mono);font-size:11px}.party-detail small{color:var(--muted-foreground);margin-left:8px}.party-detail .track{height:8px}.pagination{justify-content:space-between;align-items:center;font-size:12px;display:flex}.pagination button{background:var(--secondary);border:0;border-radius:50%;width:44px;height:44px;font-size:20px}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.spin{animation:none}}@media (max-height:740px) and (min-width:360px){.dashboard{gap:6px;padding-top:5px}.panel{padding:8px 12px}.result-chart{height:108px}.ring{width:100px;height:100px}.ring-core{width:79px;height:79px}.ring-core strong{font-size:25px}.legend button{height:21px}.comparison-chart{height:66px}.station-progress{margin-top:2px}.city-totals{margin-top:3px}}@media (min-width:700px){.dashboard{margin:24px auto}}.dashboard{gap:6px}.panel{padding:8px 12px}.result-chart{gap:24px;height:100px}.ring{width:96px;height:96px}.ring-core{width:75px;height:75px}.ring-core strong{font-size:25px}.legend button{height:20px}.comparison-chart{height:62px}.city-totals{margin-top:3px}.ballots button{min-height:30px}.share-trigger{border:1px solid var(--border);background:0 0;border-radius:22px;height:44px;margin-left:auto;margin-right:8px;padding:0 10px;font-size:11px}.legend button[aria-pressed=true]{background:var(--secondary);border-radius:4px}.party-focus{text-align:left;text-overflow:ellipsis;background:0 0;border:0;max-width:55%;padding:0;overflow:hidden}.share-sheet{flex-direction:column;gap:12px;padding:12px 0;display:flex}.share-sheet h3,.share-sheet p{margin:0}.share-sheet p{color:var(--muted-foreground);font-size:12px}.share-sheet input{background:var(--secondary);color:var(--foreground);border:1px solid var(--border);border-radius:8px;width:100%;padding:12px}.share-sheet button{background:var(--secondary);border:0;border-radius:8px;min-height:44px}.share-sheet a{font-size:12px}.ring-core span{text-overflow:ellipsis;white-space:nowrap;max-width:72px;overflow:hidden}
