@font-face{font-family:Poppins;src:url('/static/fonts/poppins-400.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Poppins;src:url('/static/fonts/poppins-500.ttf') format('truetype');font-weight:500;font-display:swap}
@font-face{font-family:Poppins;src:url('/static/fonts/poppins-600.ttf') format('truetype');font-weight:600;font-display:swap}
@font-face{font-family:Poppins;src:url('/static/fonts/poppins-700.ttf') format('truetype');font-weight:700;font-display:swap}
:root{--bg:#f4f5f6;--panel:#fff;--text:#25303c;--muted:#647080;--border:#e2e5e8;--field:#f8f9fa;--gold:#ebba00;--gold-text:#987000;--accent:#789627;--accent-soft:#f1f5e7;--shadow:0 3px 12px #22303e06;color-scheme:light}
html[data-theme=dark]{--bg:#161d26;--panel:#202a36;--text:#edf0f4;--muted:#b1bdcb;--border:#354353;--field:#263341;--gold-text:#f4c33c;--accent:#b1cb66;--accent-soft:#303d28;--shadow:none;color-scheme:dark}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:400 14px/1.5 Poppins,sans-serif}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}a{color:inherit;text-decoration:none}button{color:inherit}button,select,input{outline:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #ab861b;outline-offset:3px}h1,h2,h3,p{margin:0}svg{width:20px;height:20px;flex:none;display:block}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.page-width{width:min(1440px,calc(100% - 64px));margin:0 auto}
.utility-bar{background:var(--gold);color:#3c340f;font-size:12px;font-weight:500}.utility-bar>.page-width{height:32px;display:flex;align-items:center;justify-content:space-between}.utility-bar .page-width>div{display:flex;align-items:center;gap:22px}.utility-bar button{border:0;background:none;display:flex;align-items:center;gap:7px;font-size:12px}.utility-bar svg{width:15px;height:15px}.live-badge{display:inline-flex;align-items:center;gap:7px;font-weight:600;white-space:nowrap}.live-dot,.small-dot{width:6px;height:6px;background:#55731d;border-radius:50%;display:inline-block}.live-badge.warning .live-dot,.live-badge.offline .live-dot{background:#aa421f}.site-header{background:var(--panel);box-shadow:0 2px 5px #25303c09}.masthead{height:92px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:20px}.brand>img{width:72px;height:66px;object-fit:contain}.brand>span{padding-left:20px;border-left:1px solid var(--border)}.brand strong{font-size:27px;line-height:1.1;font-weight:500;letter-spacing:-.9px}.brand b{font-weight:700;color:var(--gold-text)}.brand-sub{display:block;color:var(--muted);font-size:12px;letter-spacing:3px;font-weight:600;margin-top:5px}.header-tools{display:flex;gap:20px;align-items:center}.coverage-label{font-size:13px;color:var(--muted)}.icon-button{border:1px solid var(--border);background:var(--panel);border-radius:7px;display:inline-flex;align-items:center;justify-content:center;width:39px;height:39px;flex:none}.icon-button:hover{background:var(--field)}.nav-bar{border-top:1px solid var(--border)}.nav-inner{display:flex;justify-content:space-between;align-items:center;gap:16px}.office-nav{display:flex;gap:30px}.nav-item{position:relative;border:0;background:none;font-size:14px;font-weight:500;padding:18px 0 17px;white-space:nowrap}.nav-item.active{font-weight:700}.nav-item.active:after{content:'';position:absolute;bottom:0;height:4px;background:var(--gold);border-radius:4px 4px 0 0;left:0;right:0}.nav-item:hover{color:var(--gold-text)}.nav-compare{display:flex;align-items:center;gap:8px;border:0;background:var(--field);padding:8px 12px;border-radius:6px;font-weight:500;font-size:13px}.nav-compare svg{width:17px;height:17px}
.filter-bar{display:flex;gap:16px;align-items:center;padding:23px 0;border-bottom:1px solid var(--border)}.scope-switch{display:flex;gap:3px;border:1px solid var(--border);padding:4px;background:var(--panel);border-radius:8px;flex:none}.scope-switch button{border:0;padding:9px 15px;background:none;border-radius:5px;font-size:13px;font-weight:500}.scope-switch .selected{background:var(--accent-soft);color:var(--accent);font-weight:700}.filter-field{display:flex;flex-direction:column;gap:3px}.filter-field>span{font-size:10px;letter-spacing:1px;font-weight:600;color:var(--muted)}select{height:38px;border:1px solid var(--border);border-radius:6px;padding:0 32px 0 12px;background:var(--panel);color:var(--text)}.filter-field select{height:32px;background:transparent;border:0;padding-left:0}.state-field{width:125px}.city-field{flex:1;min-width:160px;max-width:330px}.period-field{margin-left:auto}.button{height:39px;display:inline-flex;gap:8px;align-items:center;justify-content:center;border-radius:6px;padding:0 14px;border:1px solid var(--border);font-size:13px;font-weight:600;white-space:nowrap}.button svg{width:17px;height:17px}.button-white{background:var(--panel)}.button-white:hover{background:var(--field)}.button-primary{background:var(--gold);border-color:var(--gold);color:#383009}.mobile-compare{display:none}.compare-panel{padding:20px 24px;border:1px solid var(--border);border-left:4px solid var(--gold);border-radius:8px;background:var(--panel);margin-top:20px}.panel-top{display:flex;justify-content:space-between;gap:20px}.panel-top p{font-size:13px;color:var(--muted);margin-top:4px}.compare-controls{display:flex;gap:10px;margin-top:15px;flex-wrap:wrap}.compare-controls select{max-width:320px}.compare-chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.compare-chip{display:flex;gap:15px;align-items:center;background:var(--accent-soft);color:var(--accent);padding:6px 11px;border-radius:5px;font-size:13px;font-weight:500}.compare-chip button{border:0;background:none;font-size:20px;line-height:1}.notice{background:#fcf7e9;color:#675221;border:1px solid #eadfbd;border-radius:7px;padding:12px 16px;margin-top:18px;font-size:13px;line-height:1.65}html[data-theme=dark] .notice{background:#3b3320;color:#e8d7a6;border-color:#67562d}
.result-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 0}.eyebrow{color:var(--muted);font-weight:600;font-size:11px;letter-spacing:1.6px;margin-bottom:4px}h1{font-size:27px;font-weight:600;line-height:1.3;letter-spacing:-.8px}.heading-separator{font-weight:400;color:#bdc3c9;margin:0 12px}#territoryBadge{font-weight:400}.update-block{display:flex;flex-direction:column;align-items:flex-end;gap:5px}.result-state{font-size:12px;display:inline-flex;align-items:center;gap:6px;font-weight:600;color:var(--accent)}.result-state:before{content:'';width:6px;height:6px;border-radius:50%;background:var(--accent)}.last-update{font-size:11px;color:var(--muted)}.dashboard-grid{display:grid;grid-template-columns:282px minmax(0,1fr);gap:26px;align-items:start}.insights{display:flex;flex-direction:column;gap:16px}.card{background:var(--panel);border:1px solid var(--border);border-radius:10px;box-shadow:var(--shadow);overflow:hidden}h2{font-weight:600;font-size:18px;letter-spacing:-.35px}.general-card{padding:20px}.summary-place{font-size:12px;color:var(--muted);margin-top:3px}.counting-head{margin:20px 0 9px;display:flex;flex-wrap:wrap;gap:2px 8px;align-items:baseline}.counting-head strong{font-size:33px;font-weight:700;color:var(--accent);letter-spacing:-1.5px;line-height:1.2}.counting-head>span{font-size:12px;color:var(--muted)}.progress-bar,.attendance-bar{height:7px;background:var(--border);border-radius:4px;overflow:hidden;margin-bottom:18px}.progress-bar>span,.attendance-bar>span{display:block;height:100%;background:var(--accent);border-radius:4px}.summary-row{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:12px;margin-top:11px}.summary-row strong{font-weight:600;font-variant-numeric:tabular-nums;font-size:13px}.summary-divider{height:1px;background:var(--border);margin:18px 0}.attendance-bar{margin:18px 0 6px;height:6px}.attendance-labels{display:flex;justify-content:space-between;gap:10px;color:var(--muted);font-size:10px}.card-heading{padding:18px 20px 12px;display:flex;align-items:center;justify-content:space-between;gap:12px}.card-heading>span{color:var(--muted)}.votes-total{font-size:21px;letter-spacing:-.6px;font-weight:600;padding:0 20px}.votes-total span{font-size:12px;letter-spacing:0;color:var(--muted);font-weight:400;display:block}.vote-stacked-bar{height:7px;display:flex;overflow:hidden;border-radius:4px;margin:13px 20px 18px}.vote-stacked-bar span{height:100%}.votes-legend{padding:0 20px 16px}.legend-line{display:grid;grid-template-columns:8px 1fr auto;align-items:center;gap:9px;margin-top:12px;font-size:13px}.legend-line strong{font-weight:600;font-variant-numeric:tabular-nums}.legend-dot{height:8px;width:8px;border-radius:2px}.votes-note{margin:0 20px 18px;padding-top:12px;border-top:1px solid var(--border);color:var(--muted);font-size:11px;line-height:1.7}.micro-text{display:block;font-size:12px;color:var(--muted);line-height:1.6}.states-card h2{font-size:16px}.states-card .micro-text{font-size:11px;margin-top:3px}.search-field{display:flex;align-items:center;gap:9px;border:1px solid var(--border);border-radius:6px;background:var(--panel);padding:0 11px;height:39px;color:var(--muted)}.search-field svg{width:17px;height:17px}.search-field input{border:0;background:none;color:var(--text);min-width:0;width:100%;font-size:12px;height:100%}.search-field input:focus-visible{outline:none}.search-field:focus-within{border-color:#af9129;box-shadow:0 0 0 2px #edb90018}.search-field input::placeholder{color:var(--muted)}.municipal-search{margin:0 16px 12px}.states-progress{max-height:320px;overflow:auto;padding:0 16px}.state-tile{display:grid;grid-template-columns:1fr auto;width:100%;padding:10px 3px;border:0;border-bottom:1px solid var(--border);background:none;text-align:left;gap:6px;font-size:12px}.state-tile:hover{background:var(--accent-soft)}.state-tile strong{font-weight:500}.state-tile>span{font-weight:600;color:var(--accent)}.state-tile .metric-track{grid-column:1/-1;height:3px;margin:0}.card-bottom{padding:13px 18px;display:flex;justify-content:space-between;color:var(--muted);font-size:10px;border-top:1px solid var(--border)}
.candidate-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:16px;min-height:47px}.candidate-toolbar h2{font-size:18px}.candidate-toolbar .micro-text{font-size:11px}.table-actions{display:flex;gap:8px;align-items:center}.table-actions .search-field{width:235px}.leaders-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.leader-card{background:var(--panel);border:1px solid var(--border);border-radius:10px;padding:21px 21px 16px;box-shadow:0 4px 10px #25303c06;min-width:0}.candidate-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}.avatar{border-radius:50%;width:42px;height:42px;background:#eef0e8;color:#839156;display:flex;align-items:center;justify-content:center;position:relative;flex:none;overflow:hidden;border:3px solid var(--panel);outline:1px solid var(--border)}.avatar>span{font-size:14px;font-weight:600}.avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 18%}.avatar-large{width:70px;height:70px;border-width:4px;outline:2px solid #e8ebdc}.avatar-large>span{font-size:21px}.candidate-totals{text-align:right;min-width:0}.candidate-totals strong{font-size:31px;line-height:1.15;letter-spacing:-1.2px;font-weight:700;color:var(--gold-text);white-space:nowrap;display:block;font-variant-numeric:tabular-nums}.candidate-totals>span{display:block;color:var(--muted);font-size:13px;white-space:nowrap;margin-top:4px}.candidate-party{font-size:12px;font-weight:600;color:var(--muted);display:flex;align-items:center;gap:7px;margin-bottom:6px}.candidate-party>span{color:#b8bec4}.leader-card h3{font-size:18px;font-weight:700;line-height:1.35;letter-spacing:-.4px;min-height:49px;overflow-wrap:anywhere}.candidate-track{height:4px;background:var(--border);border-radius:3px;overflow:hidden;margin:13px 0 12px}.candidate-track>span{height:100%;display:block;background:var(--gold);border-radius:3px}.candidate-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px}.official-status{font-size:11px;font-weight:500;color:var(--muted)}.official-status.elected{color:var(--accent);font-weight:600}.candidate-position{font-size:10px;color:var(--muted)}.destination{font-size:10px;color:var(--muted);line-height:1.5;margin-top:5px}.destination.warning{color:#ad5d24}.source-note{font-size:11px;color:var(--muted);margin:16px 0 30px;line-height:1.7}.empty-state{display:flex;align-items:center;justify-content:center;text-align:center;flex-direction:column;padding:45px 25px;gap:12px;color:var(--muted);min-height:200px}.empty-state.wide{grid-column:1/-1}.empty-state strong{font-size:16px;color:var(--text)}.empty-state p{font-size:13px;max-width:440px}.empty-state svg{width:30px;height:30px;color:var(--accent)}
.data-table{width:100%;border-collapse:collapse;text-align:left}.data-table thead{background:var(--field)}.data-table th{font-weight:500;font-size:10px;letter-spacing:.6px;color:var(--muted);padding:14px 20px;border-bottom:1px solid var(--border)}.data-table td{padding:16px 20px;border-bottom:1px solid var(--border);font-size:13px}.data-table tr:last-child td{border-bottom:0}.data-table tbody tr:hover{background:var(--field)}.table-person{display:flex;align-items:center;gap:15px;min-width:180px}.rank-number{color:var(--muted);font-size:12px;width:17px;flex:none}.person-name{font-size:14px;font-weight:600;line-height:1.45}.person-name small{display:block;font-size:11px;font-weight:400;color:var(--muted);margin-top:3px}.party-label{font-size:12px;color:var(--muted)}.number-cell{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.table-percentage{font-size:16px;font-weight:600;color:var(--gold-text)}.table-status{font-size:11px;color:var(--muted)}.mini-track,.metric-track{height:3px;background:var(--border);border-radius:3px;overflow:hidden;margin-top:7px}.mini-track>span,.metric-track>span{height:100%;display:block;background:var(--accent)}.pagination{padding:14px 20px;border-top:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;font-size:11px;color:var(--muted);gap:12px}.pagination:empty{display:none}.pagination-buttons{display:flex;align-items:center;gap:12px}.pagination-buttons button{width:28px;height:28px;border:1px solid var(--border);border-radius:5px;background:var(--panel);font-size:19px}.comparison-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px;margin-bottom:24px}.scope-title{font-size:18px;font-weight:600;margin-bottom:5px}.comparison-sub{font-size:11px;color:var(--muted);line-height:1.7}.leader-person{margin-top:20px}.leader-value{font-size:32px;font-weight:700;color:var(--gold-text);margin-top:14px;letter-spacing:-1px}.leader-votes{font-size:13px;color:var(--muted)}.compare-table-wrap{overflow:auto}.compare-table{min-width:640px}.compare-table th{font-size:12px;letter-spacing:0;font-weight:600}.compare-table th .micro-text{font-size:10px;font-weight:400}.comparison-value{display:flex;flex-direction:column;gap:3px;min-width:145px}.comparison-value strong{font-size:20px;font-weight:600}.comparison-value small{font-size:12px;color:var(--muted)}.comparison-status{font-size:10px;color:var(--muted)}.comparison-foot{font-size:11px;color:var(--muted);padding:16px 20px;border-top:1px solid var(--border);line-height:1.7}
.main-footer{margin-top:30px;border-top:1px solid var(--border);padding:20px 0;display:flex;align-items:center;justify-content:space-between;gap:15px;color:var(--muted);font-size:11px}.main-footer button{background:none;border:0;font-size:11px}.institutional-footer{background:#607697;color:#fff;border-top:5px solid var(--gold);margin-top:12px}.institutional-footer>.page-width{display:flex;align-items:center;justify-content:space-between;padding:24px 0}.institutional-footer strong{font-size:14px;font-weight:600}.institutional-footer p{font-size:11px;opacity:.8;margin-top:4px}.institutional-footer img{width:116px;height:64px;object-fit:contain}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:var(--text);color:var(--panel);border-radius:8px;padding:14px 20px;max-width:calc(100% - 32px);font-size:13px;z-index:30;box-shadow:0 8px 30px #0002}dialog{background:var(--panel);color:var(--text);border:1px solid var(--border);border-radius:12px;max-width:780px;width:calc(100% - 40px);max-height:85vh;overflow:auto;padding:30px}dialog::backdrop{background:#1b263799;backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.dialog-heading h2{font-size:24px}dialog>p{font-size:13px;line-height:1.8;color:var(--muted)}.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:24px 0}.about-grid strong{font-weight:600}.about-grid p{font-size:12px;line-height:1.8;color:var(--muted);margin-top:5px}.cache-details{background:var(--field);border-radius:7px;font-size:11px;line-height:1.8;padding:16px;margin:20px 0;overflow-wrap:anywhere}.dialog-links{display:flex;gap:16px;flex-wrap:wrap;font-size:12px;color:var(--accent);font-weight:500}
@media(min-width:1600px){.page-width{width:min(1500px,calc(100% - 100px))}.dashboard-grid{grid-template-columns:300px minmax(0,1fr);gap:30px}.leader-card{padding:24px}.leader-card h3{font-size:20px}.candidate-totals strong{font-size:35px}.avatar-large{width:78px;height:78px}}
@media(max-width:1250px){.page-width{width:calc(100% - 44px)}.office-nav{gap:24px}.coverage-label{font-size:12px}.dashboard-grid{grid-template-columns:265px minmax(0,1fr);gap:22px}.leaders-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.scope-switch button{padding:8px 11px}.filter-bar{gap:12px}.city-field{max-width:220px}.state-field{width:95px}.data-table .party-column{display:none}.data-table td,.data-table th{padding:15px}.last-update{font-size:10px}.candidate-toolbar .table-actions .search-field{width:195px}}
@media(max-width:950px){.header-tools .coverage-label{display:none}.nav-compare{font-size:0;padding:9px}.nav-compare svg{width:20px;height:20px}.filter-bar{flex-wrap:wrap}.scope-switch{flex:0 0 auto}.city-field{max-width:none;flex:1}.period-field{margin-left:0}.state-field{display:none}.dashboard-grid{grid-template-columns:235px minmax(0,1fr);gap:18px}.general-card{padding:16px}.summary-row{font-size:11px}.summary-row strong{font-size:12px}.counting-head strong{font-size:30px}.attendance-labels{font-size:9px}.leader-card{padding:17px}.avatar-large{width:55px;height:55px}.candidate-totals strong{font-size:27px}.candidate-totals>span{font-size:11px}.leader-card h3{font-size:16px}.candidate-toolbar{align-items:flex-start;flex-direction:column}.candidate-toolbar .table-actions{width:100%}.candidate-toolbar .table-actions .search-field{flex:1;width:auto}.result-heading{align-items:flex-start}.update-block{max-width:250px}.last-update{text-align:right}.office-nav{gap:24px}.nav-item{font-size:13px}.data-table td:last-child,.data-table th:last-child{display:none}.compare-table td:last-child,.compare-table th:last-child{display:table-cell}h1{font-size:24px}}
@media(max-width:700px){.page-width{width:calc(100% - 32px)}.utility-bar>.page-width{height:29px}.utility-bar>.page-width>span{font-size:10px}.utility-bar .page-width>div{gap:8px}.utility-bar button{font-size:0;gap:0}.live-badge{font-size:10px}.masthead{height:82px}.brand{gap:12px}.brand>img{width:57px;height:55px}.brand>span{padding-left:12px}.brand strong{font-size:22px}.brand-sub{font-size:10px;letter-spacing:2px}.header-tools{gap:0}.icon-button{width:35px;height:35px}.nav-inner{width:100%;padding:0 16px;gap:0}.office-nav{width:100%;overflow:auto;gap:22px;scrollbar-width:none}.nav-item{font-size:12px;padding:14px 0}.nav-compare{display:none}.filter-bar{gap:13px;padding:17px 0}.scope-switch{flex:1;justify-content:space-between}.scope-switch button{font-size:12px;padding:8px 13px}.city-field{order:3;flex:1 1 48%;min-width:140px}.period-field{order:4;flex:1 1 38%;min-width:130px}.filter-field select{width:100%;font-size:12px;padding-right:18px}.filter-field>span{font-size:9px}.mobile-compare{display:flex}.button{padding:0 10px;font-size:11px}.button svg{width:15px;height:15px}.result-heading{padding:20px 0;flex-direction:column;gap:10px}h1{font-size:24px}.heading-separator{margin:0 9px}.update-block{align-items:flex-start;max-width:none;gap:4px}.last-update{text-align:left;font-size:10px}.result-state{font-size:11px}.dashboard-grid{display:flex;flex-direction:column;gap:22px}.insights{display:grid;width:100%;grid-template-columns:1fr 1fr;gap:12px}.general-card{padding:15px;grid-column:1/-1}.general-card h2{font-size:16px}.summary-place{font-size:11px}.counting-head{margin-top:14px}.counting-head strong{font-size:32px}.summary-row{font-size:12px;display:inline-flex;width:calc(50% - 9px);margin-top:10px;gap:7px;flex-wrap:wrap}.summary-row:nth-of-type(2n){margin-right:12px}.summary-row strong{font-size:13px}.summary-divider{margin:12px 0 2px}.attendance-labels{font-size:10px}.votes-card{grid-column:1/-1}.votes-card .votes-legend{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.votes-card .card-heading{padding:15px 16px 8px}.votes-total{padding:0 16px}.vote-stacked-bar{margin:10px 16px}.votes-legend{padding:0 16px 16px}.votes-note{margin-left:16px;margin-right:16px}.states-card{grid-column:1/-1;order:4}.states-progress{max-height:170px;display:grid;grid-template-columns:1fr 1fr;gap:0 15px}.insights .states-card{display:none}.result-main{width:100%}.candidate-toolbar{flex-direction:row;flex-wrap:wrap;gap:12px}.candidate-toolbar .table-actions{width:100%}.leaders-grid{gap:12px}.leader-card{padding:15px 13px}.avatar-large{width:51px;height:51px}.candidate-card-top{gap:6px;margin-bottom:15px}.candidate-totals strong{font-size:26px}.candidate-totals>span{font-size:10px}.candidate-party{font-size:10px}.leader-card h3{font-size:15px;min-height:42px}.candidate-track{margin:12px 0 9px}.candidate-card-bottom{align-items:flex-start;flex-direction:column;gap:2px}.official-status{font-size:10px}.candidate-position{font-size:9px}.destination{font-size:9px}.table-person{gap:8px;min-width:135px}.person-name{font-size:12px}.person-name small{font-size:10px}.rank-number{font-size:10px;width:12px}.data-table td,.data-table th{padding:13px 10px}.table-percentage{font-size:13px}.number-cell{font-size:12px!important}.pagination{padding:12px;font-size:10px}.source-note{margin-bottom:0}.main-footer{align-items:flex-start;font-size:10px;gap:10px}.institutional-footer strong{font-size:12px}.institutional-footer p{font-size:10px}.institutional-footer img{width:100px}.institutional-footer>.page-width{padding:20px 0;gap:20px}.comparison-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.comparison-summary .leader-card{padding:15px}.scope-title{font-size:15px}.comparison-summary .table-person{min-width:0}.comparison-summary .person-name{font-size:13px}.comparison-summary .leader-value{font-size:28px}.compare-controls select{width:100%;max-width:none}.compare-controls .button{width:100%}.compare-panel{padding:16px}.notice{font-size:12px;padding:12px}.about-grid{grid-template-columns:1fr}.dialog-links{flex-direction:column}.toast{width:calc(100% - 32px)}}
@media(max-width:380px){.leaders-grid{grid-template-columns:1fr}.candidate-card-top{gap:15px}.avatar-large{width:67px;height:67px}.candidate-totals strong{font-size:31px}.candidate-totals>span{font-size:13px}.leader-card h3{font-size:18px;min-height:0}.candidate-card-bottom{flex-direction:row}}

.person-name{font-size:15px}.data-table th{font-size:11px}.table-status{font-size:12px}
@media(max-width:700px){.insights{display:contents}.general-card{order:0;width:100%}.result-main{order:1}.votes-card{order:2;width:100%}.insights .states-card{order:3;display:block;width:100%}.person-name{font-size:12px}.data-table th{font-size:9px}.general-card .summary-row{margin-right:0}.summary-row:nth-of-type(2n){margin-right:0}.general-card .summary-row{display:flex;width:100%}.general-card .summary-row strong{font-size:13px}.summary-divider{margin-top:14px}.attendance-bar,.attendance-labels{display:none}.general-card .summary-divider{display:none}.general-card{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.general-card h2,.general-card .summary-place,.general-card .counting-head,.general-card .progress-bar{grid-column:1/-1}.general-card .summary-row{flex-direction:column;gap:2px}.general-card .progress-bar{margin-bottom:0}.states-progress{display:block}}
