:root{--ink:#193d33;--muted:#727c76;--bg:#f5f6f1;--border:#e0e5dc;--lime:#d7ee9b}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:#263c32;font:15px/1.5 'Segoe UI',Arial,sans-serif}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #7a9d36;outline-offset:3px}.sidebar{width:250px;position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--border);padding:36px 22px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;text-decoration:none;font-weight:750;font-size:29px;letter-spacing:-1.5px;gap:7px}.brand>span:last-child{font-size:25px;letter-spacing:-1px}.brand small{display:block;font-size:8px;letter-spacing:1.3px;font-weight:500}.brand-dot{color:#a0b36b;font-size:13px;margin-left:-8px}.location{font-size:12px;margin:38px 0 26px;color:#748175;border-bottom:1px solid var(--border);padding-bottom:24px}.nav{border:0;background:none;text-align:left;padding:13px 14px;width:100%;margin-bottom:7px;color:#667269;border-radius:7px;font-size:13px}.nav.active{background:#edf3e3;color:var(--ink);font-weight:650}.nav span{float:right}.side-bottom{margin-top:auto;padding:20px 10px}.small-label{font-size:10px;letter-spacing:1.6px;font-weight:650}.side-bottom p{font-family:Georgia,serif;font-size:19px;line-height:1.5}.side-bottom small{font-size:11px;color:var(--muted)}.line{height:1px;background:var(--border);margin:20px 0}.workspace{margin-left:250px}header{height:80px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 42px;background:#fff;font-size:12px;color:#7d837e}.header-sep{margin:0 12px;color:#ccd0c9}header strong{color:var(--ink);font-weight:500}.date{font-size:10px;letter-spacing:1px;display:flex;align-items:center;gap:22px}.avatar{display:grid;place-items:center;border:1px solid var(--border);border-radius:50%;width:32px;height:32px;font-size:11px}main{max-width:1450px;margin:auto;padding:36px 42px 50px}.eyebrow{font-size:10px;letter-spacing:1.8px;color:#74826f;font-weight:650}h1{font:normal 40px/1.2 Georgia,serif;letter-spacing:-1px;margin:8px 0 12px}h2{font-size:20px;font-weight:600;margin:0}h3{margin:12px 0;font-size:19px;font-weight:600;letter-spacing:-.3px}.subtitle{color:var(--muted);font-size:13px;margin:0}.heading{display:flex;justify-content:space-between;align-items:center;gap:18px}.btn{border:1px solid var(--border);border-radius:6px;padding:10px 17px;background:white;color:var(--ink);font-size:12px;font-weight:600}.btn.primary{background:var(--ink);color:white;border-color:var(--ink)}.banner{margin:30px 0;background:var(--ink);color:white;border-radius:10px;min-height:158px;padding:26px 30px;display:flex;justify-content:space-between;position:relative;overflow:hidden}.banner h2{font:28px Georgia,serif;margin:8px 0 10px}.banner p{font-size:12px;color:#cad6c8;margin:0;max-width:470px}.banner .eyebrow{color:var(--lime)}.ballot-art{position:relative;width:160px;flex-shrink:0;display:grid;place-items:center;background:radial-gradient(circle,#719b5544 0,transparent 70%);font:80px Georgia;color:var(--lime);transform:rotate(-10deg)}.section-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:30px 0 18px}.section-bar h2 span{font-size:11px;font-weight:400;color:var(--muted);margin-left:8px}.text-button{border:0;background:transparent;color:var(--ink);font-size:12px}.filters{display:flex;gap:6px;margin:20px 0}.chip{background:transparent;border:1px solid var(--border);border-radius:30px;padding:6px 15px;font-size:12px;color:#6d766e}.chip.active{background:var(--ink);color:#fff;border-color:var(--ink)}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.card{border:1px solid var(--border);background:#fff;border-radius:9px;padding:21px;display:flex;flex-direction:column;min-height:245px;transition:transform .18s,box-shadow .18s}.card:hover{transform:translateY(-3px);box-shadow:0 8px 25px #183b3310}.card-top{display:flex;align-items:center;justify-content:space-between}.tag{font-size:9px;letter-spacing:1px;text-transform:uppercase;padding:4px 8px;border-radius:3px;background:#eef0ea;color:#6b765f}.tag.Federal{background:#edf0f9;color:#606b92}.tag.State{background:#f7efde;color:#92713f}.star{border:0;background:none;font-size:22px;color:#708641;padding:0 3px}.card-title{border:0;padding:0;background:none;text-align:left;color:var(--ink)}.card p{font-size:12px;color:var(--muted);margin:0}.waiting{margin-top:23px;font-size:12px;color:#74816a;display:flex;align-items:center;gap:7px}.waiting i{height:6px;width:6px;background:#9aa784;border-radius:50%}.card-bottom{margin-top:auto;padding-top:20px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid #f0f2ed;margin-top:22px;font-size:10px;color:#899084}.card-bottom button{border:0;background:none;color:var(--ink);padding:0;font-size:12px}.columns{display:grid;grid-template-columns:1.5fr 1fr;gap:24px}.panel{background:white;border:1px solid var(--border);border-radius:9px;padding:23px}.source-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:17px 0;border-bottom:1px solid #edf0e9;text-decoration:none}.source-row:last-child{border:0}.source-icon{height:34px;width:34px;background:#eef2e7;border:1px solid var(--border);display:grid;place-items:center;border-radius:6px;font-weight:700;font-size:12px}.source-info{flex:1}.source-info strong{display:block;font-size:12px}.source-info small{font-size:10px;color:var(--muted)}.source-status{font-size:10px;color:#77836b}.notice{background:#eff3e7;padding:20px;border-radius:7px;font-size:12px;margin-top:18px}.notice p{color:var(--muted);margin:7px 0 0}.feed-item{padding:16px 0;border-bottom:1px solid var(--border);font-size:13px}.feed-item a{text-decoration:none}.feed-item a:hover{text-decoration:underline}.feed-item small{display:block;color:var(--muted);font-size:10px;margin-bottom:5px}.empty{padding:30px 16px;color:var(--muted);font-size:13px;border:1px dashed var(--border);border-radius:8px}.empty strong{display:block;color:var(--ink);margin-bottom:8px}.search{background:white;border:1px solid var(--border);border-radius:6px;padding:12px 15px;width:100%;margin:24px 0 0}footer{margin:0 42px;padding:24px 0;border-top:1px solid var(--border);display:flex;justify-content:space-between;font-size:10px;color:#8b9388;gap:16px}footer>span:first-child{margin-right:auto;margin-left:15px}dialog{width:min(700px,calc(100% - 28px));max-height:90vh;border:1px solid var(--border);border-radius:12px;padding:35px;color:var(--ink);box-shadow:0 20px 100px #0003}dialog::backdrop{background:#10291fc0;backdrop-filter:blur(4px)}.close{position:absolute;right:15px;top:10px;border:0;background:none;font-size:28px;color:#77816d}dialog h2{font:30px Georgia;margin:20px 0 10px}dialog .section-bar{margin-top:24px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:12px 22px;background:var(--ink);color:white;border-radius:8px;font-size:12px;display:none;z-index:5}a.external{font-size:12px;text-decoration:none;display:inline-block;margin-top:12px;border-bottom:1px solid #bac9ae}.loading{color:#87947a;font-size:11px}.full{grid-column:1/-1}@media(min-width:1500px){main{padding-top:48px}.card{min-height:270px}}@media(max-width:1100px){.sidebar{width:210px;padding:30px 16px}.workspace{margin-left:210px}main{padding:28px}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.columns{grid-template-columns:1fr}header{padding:0 28px}}@media(max-width:650px){.sidebar{inset:auto 0 0;width:100%;height:65px;padding:5px;background:#fff;z-index:3;border-top:1px solid var(--border);border-right:0}.sidebar .brand,.location,.side-bottom{display:none}nav{display:flex;height:100%}.nav{font-size:10px;text-align:center;padding:10px 4px;margin:0;border-radius:5px}.nav span{display:none}.workspace{margin:0}header{height:59px;padding:0 20px}.date{font-size:9px;gap:8px}.avatar{display:none}main{padding:26px 18px 28px}h1{font-size:34px}.heading{align-items:flex-start}.heading>.btn{padding:10px;white-space:nowrap;margin-top:24px}.subtitle{font-size:12px;max-width:230px}.banner{padding:22px;margin:24px 0;min-height:165px}.banner h2{font-size:25px}.ballot-art{width:55px;font-size:55px;opacity:.6}.banner p{max-width:240px;font-size:11px}.grid{grid-template-columns:1fr}.card{min-height:220px;padding:20px}.filters{overflow:auto;white-space:nowrap}.section-bar h2{font-size:18px}.section-bar h2 span{font-size:10px}.panel{padding:20px}.columns{gap:4px}footer{margin:0 18px 75px;flex-wrap:wrap}footer>span:last-child{display:none}dialog{padding:28px 20px}#toast{bottom:85px;max-width:90%;white-space:nowrap}}

.filter-fields{display:grid;grid-template-columns:1.4fr 1fr;gap:12px;margin:0 0 16px}.filter-fields label{font-size:11px;font-weight:600;color:var(--muted)}.filter-fields select{display:block;width:100%;margin-top:6px;border:1px solid var(--border);border-radius:6px;background:white;color:var(--ink);padding:10px;font:inherit;font-size:13px;min-height:44px}.search{margin-top:0}.match-count{font-size:12px;color:var(--muted);margin:16px 0;scroll-margin-top:20px}.pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px;color:var(--muted);margin-top:20px}.btn:disabled{opacity:.4;cursor:default}.race-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:28px}.race-shortcuts button{padding:18px;border:1px solid var(--border);background:#fff;border-radius:8px;color:var(--ink);text-align:left}.race-shortcuts button:hover{background:#edf3e3}.race-shortcuts strong{font:30px Georgia,serif;display:block}.race-shortcuts span{font-size:12px;display:block;margin-top:6px}.catalog-note{font-size:11px;color:var(--muted);margin-top:14px;max-width:780px}.directory{margin-top:18px}.directory .source-row{min-height:78px}.source-status{text-align:right;max-width:125px}.source-info{min-width:0}.source-info strong,.source-info small{overflow-wrap:anywhere}select:focus-visible{outline:3px solid #7a9d36;outline-offset:3px}.star{min-width:36px;min-height:36px}@media(max-width:650px){.race-shortcuts{gap:8px}.race-shortcuts button{padding:12px 9px}.race-shortcuts strong{font-size:25px}.race-shortcuts span{font-size:10px}.filter-fields{grid-template-columns:1fr;gap:10px}.pagination{font-size:10px;gap:6px}.pagination .btn{padding:9px}.catalog-note{font-size:10px}.source-status{max-width:90px}.source-info small{line-height:1.5}}

.results-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.result-card{cursor:pointer;min-height:0;padding:22px}.result-card h3{font-size:20px;margin:10px 0 4px}.race-state{font-size:11px!important;margin-bottom:16px!important}.remove-race{border:0;background:transparent;color:#829084;font-size:23px;min-width:36px;min-height:36px}.add-race{padding:7px 14px}.add-race.added{background:#edf3e3;color:#4a6b32;opacity:1}.candidate-list{margin-top:14px}.candidate-row{padding:12px 0;border-top:1px solid #edf0e9}.candidate-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.candidate-name{display:inline-flex;align-items:center;gap:12px;border-radius:5px;padding:9px 11px;font-size:11px;font-weight:650;letter-spacing:.2px;color:white;overflow-wrap:anywhere;max-width:78%;min-height:37px}.candidate-name.dem{background:#235ab8}.candidate-name.rep{background:#be3540}.candidate-name.other{background:#646e65}.candidate-name>small{border-left:1px solid #ffffff55;padding-left:9px;flex-shrink:0;font-size:10px}.candidate-count{display:flex;flex-direction:column;text-align:right;white-space:nowrap}.candidate-count strong{font-size:17px;font-weight:650}.candidate-count small{font-size:10px;color:#7f887b}.candidate-metrics{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:9px}.candidate-metrics>div{display:flex;flex-direction:column}.candidate-metrics span{font-size:10px;color:#7a8479}.candidate-metrics strong{font-size:17px;font-weight:500;margin-top:2px}.candidate-metrics small{font-size:9px;color:#91998c}.more-candidates{font-size:10px!important;margin-top:3px!important;color:#829078!important}.reporting{padding:14px 0 8px}.reporting>div:first-child{display:flex;align-items:baseline;gap:8px}.reporting strong{font-size:20px;font-weight:500}.reporting span{font-size:11px;color:#6f7e6e}.reporting-track{height:4px;background:#e7ecdf;border-radius:4px;overflow:hidden;margin:8px 0}.reporting-track i{display:block;background:#78985a;height:100%}.reporting>small{display:block;font-size:9px;color:#899280;line-height:1.5}.race-status{font-size:10px;color:#687b5c;padding:6px 0}.race-status.delayed{color:#9a6e2b}.call-line{font-size:11px;color:#818b7b;padding:8px 0;line-height:1.6}.winner-call{color:#27533b;font-weight:650}.result-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--border);margin-top:10px;padding-top:13px;gap:14px}.result-footer span{font-size:9px;color:#87917d;max-width:60%;overflow-wrap:anywhere}.result-footer button{font-size:11px;color:var(--ink);border:0;background:none;padding:6px 0;white-space:nowrap}.count-empty{padding:23px 0;font-size:12px;color:#8b9682;line-height:1.7}.update-bar{display:flex;align-items:center;gap:8px;font-size:11px;color:#7c8b73;margin:24px 0}.update-bar button{margin-left:auto}.update-indicator{width:6px;height:6px;background:#7c9c5e;border-radius:50%}.update-indicator.offline{background:#b6863b}.data-note{font-size:10px;color:#8c9783;line-height:1.8;margin:22px 0}.feed-panels{display:grid;gap:16px}.feed-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.feed-heading h2{font-size:17px}.feed-heading h3{font-size:16px;margin:0}.feed-panels p{font-size:12px;color:#7c8b72}.feed-panels small{font-size:11px;color:#84907b;line-height:1.8}.feed-state{font-size:10px;padding:4px 8px;background:#f0f2ec;border-radius:4px;white-space:nowrap;color:#87917e}.feed-state.connected{background:#eaf1df;color:#587947}.comparison-panel{margin-top:16px}.source-stamp{font-size:10px;color:#829079;line-height:1.7}.forecast-heading{margin-top:26px}.forecast-empty{background:#f3f5ef;border:1px dashed #dbe3d1;border-radius:7px;padding:20px;font-size:12px}.forecast-empty p{color:#86927d;font-size:11px;line-height:1.8;margin-bottom:0}.result-card:hover .card-title{color:#4a683b}@media(min-width:1500px){.results-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:1100px){.results-grid{grid-template-columns:1fr}}@media(max-width:650px){.result-card{padding:18px}.result-card h3{font-size:20px}.candidate-name{font-size:11px}.candidate-metrics span{font-size:10px}.feed-heading{align-items:flex-start}.feed-heading h3{font-size:14px}.update-bar{font-size:10px;flex-wrap:wrap}.update-bar .text-button{font-size:11px;padding:3px}.result-footer span{max-width:55%}.result-footer button{font-size:10px}.data-note{font-size:9px}.source-stamp{font-size:9px}.comparison-panel{padding:17px}.heading h1{font-size:32px}.heading .btn{padding:10px;font-size:11px}.results-grid{gap:16px}}

.race-list{display:flex;flex-direction:column;gap:12px}.race-list-item{background:white;border:1px solid var(--border);border-radius:8px;padding:14px 20px;cursor:pointer}.race-list-item:hover{border-color:#afbea2}.race-list-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.race-list-heading h3{font-size:17px;line-height:1.4;margin:0}.race-list-heading .remove-race{font-size:20px;min-height:30px;min-width:30px}.compact-candidate{display:grid;grid-template-columns:minmax(0,1fr) 58px 110px 55px;gap:12px;align-items:center;padding:6px 0}.compact-candidate .candidate-name{max-width:none;width:fit-content;font-size:11px;padding:7px 10px;min-height:32px}.compact-votes{text-align:right;font-variant-numeric:tabular-nums;font-size:14px}.compact-votes small{font-size:10px;color:var(--muted)}.compact-share{text-align:right;font-size:14px;font-weight:600;font-variant-numeric:tabular-nums}.candidate-standing{text-align:right;font-size:10px;font-weight:650;color:#68804f}.race-list-bottom{display:flex;align-items:center;gap:16px;color:#87927e;font-size:10px;margin-top:8px;padding-top:8px;border-top:1px solid #f0f2eb;flex-wrap:wrap}.race-list-bottom .text-button{margin-left:auto;font-size:10px;padding:3px 0}.standing-summary{color:#657852}.compact-empty{font-size:12px;color:#8b9682;margin:12px 0}.dashboard-empty{padding:35px;text-align:center;font-size:14px;background:#fff}.heading>.btn{margin-top:0}@media(max-width:650px){.race-list-item{padding:12px 14px}.race-list-heading h3{font-size:16px}.compact-candidate{grid-template-columns:minmax(0,1fr) 37px 64px 42px;gap:6px}.compact-candidate .candidate-name{font-size:10px;padding:7px 8px;gap:6px}.compact-candidate .candidate-name>small{padding-left:6px;font-size:9px}.compact-votes{font-size:12px}.compact-votes small{display:block;font-size:9px}.compact-share{font-size:12px}.candidate-standing{font-size:9px}.race-list-bottom{gap:8px;font-size:9px}.race-list-bottom .text-button{font-size:9px}.heading h1{font-size:30px}.heading>.btn{white-space:nowrap;padding:10px 12px}.update-bar{margin:16px 0}.match-count{margin:12px 0}}

.county-scope{font-size:11px;line-height:1.7;background:#eff3e7;color:#66785b;border-radius:6px;padding:12px 14px;margin-top:18px}.measure-description{font-size:12px;line-height:1.8;margin-top:15px;color:#748269}.measure-description summary{cursor:pointer;color:var(--ink);font-weight:600}.race-shortcuts{grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:650px){.race-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}.nav{font-size:9px}.county-scope{font-size:10px}}

.election-table-scroll{max-height:calc(100dvh - 275px);min-height:220px;overflow:auto;border:1px solid var(--border);border-radius:8px;background:white;scrollbar-gutter:stable}.election-table{width:100%;min-width:760px;border-collapse:separate;border-spacing:0;table-layout:fixed;font-size:12px;font-variant-numeric:tabular-nums}.election-table thead th{position:sticky;top:0;z-index:2;background:#edf1e5;color:#657456;text-align:right;font-size:10px;letter-spacing:.3px;padding:14px 18px;border-bottom:1px solid #d7dfcd;font-weight:650}.election-table thead th:first-child{text-align:left;width:43%}.election-table thead th:nth-child(2){width:17%}.election-table thead th:nth-child(3){width:15%}.election-table thead th:nth-child(4){width:12%}.election-table thead th:nth-child(5){width:13%}.table-race-heading th{padding:10px 16px;background:#f5f7f0;border-top:1px solid #dce3d4;border-bottom:1px solid #e6ebdf;text-align:left;font-weight:500}.table-race-heading th>div{display:flex;align-items:center;gap:12px}.table-race-heading .card-title{font-size:13px;font-weight:650;white-space:normal;text-align:left}.table-race-status{font-size:10px;color:#839174;white-space:nowrap}.table-race-actions{display:flex;align-items:center;gap:12px;margin-left:auto;flex-shrink:0}.table-race-actions .text-button{font-size:10px}.table-race-actions .add-race{font-size:10px;min-height:30px;padding:5px 10px}.table-race-actions .remove-race{min-height:25px;min-width:25px;font-size:19px}.table-candidate-row th,.table-candidate-row td{padding:9px 18px;border-bottom:1px solid #f0f2ea;text-align:right;vertical-align:middle;font-weight:500;cursor:pointer}.table-candidate-row th{text-align:left}.table-candidate-row:hover th,.table-candidate-row:hover td{background:#fafbf8}.election-table .candidate-name{max-width:none;font-size:10px;padding:6px 9px;min-height:28px;gap:9px;font-weight:600}.table-standing{display:inline-block;margin-left:9px;font-size:9px;color:#608042;font-weight:650}.table-reporting small{display:block;font-size:9px;color:#819073;margin-top:4px}.table-empty-row td{padding:18px;color:#8c9881;font-size:11px}.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}#cards.race-list{display:block}#pagination:empty{display:none}@media(max-width:650px){.election-table-scroll{max-height:calc(100dvh - 255px);min-height:260px;border-radius:6px}.election-table{min-width:700px}.election-table thead th{padding:12px}.table-candidate-row th,.table-candidate-row td{padding:9px 12px}.table-race-heading th{padding:9px 12px}.table-race-heading th>div{gap:10px}.table-race-status{font-size:9px}}

/* Individual local race selection keeps Add visible on phones. */
.local-election-list{background:#fff;border:1px solid var(--line);border-radius:10px;padding:20px}.local-election-list h2{margin:0 0 6px}.local-election-list>p{font-size:13px;color:var(--muted);margin:0 0 16px}.local-election-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 0;border-top:1px solid var(--line)}.local-election-row>div{min-width:0}.local-election-row .card-title{display:block;text-align:left;white-space:normal}.local-election-row small{display:block;margin-top:6px;color:var(--muted);font-size:11px}.local-election-row>.btn{flex-shrink:0}

.news-comparison{margin:24px 0}.news-comparison h3{font-size:20px}.news-average{background:#eef3e4;border:1px solid #d8e1cb;border-radius:8px;padding:18px;margin-bottom:18px}.news-average h4,.news-source h4{margin:0 0 12px;font-size:15px}.news-source{padding:18px 0;border-bottom:1px solid var(--border)}.news-table-scroll{overflow:auto;max-width:100%}.news-table{width:100%;min-width:520px;border-collapse:collapse;font-size:12px;font-variant-numeric:tabular-nums}.news-table th,.news-table td{padding:10px 8px;text-align:right;border-bottom:1px solid #e2e7db}.news-table th:first-child{text-align:left;width:40%}.news-table thead th{font-size:10px;color:#657456}.news-table td small{display:block;font-size:9px;color:#727c76}.news-table .candidate-name{font-size:10px}.news-rating,.news-missing{font-size:12px;color:#637257}.news-missing{line-height:1.7}.local-election-list,.local-election-row{border-color:var(--border)}

@media(max-width:650px){.news-table{display:block;min-width:0;width:100%}.news-table thead{display:none}.news-table tbody{display:block}.news-table tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:12px 0;border-bottom:1px solid #dce3d4}.news-table th:first-child{grid-column:1/-1;width:auto;padding:0 0 10px;border:0}.news-table td{padding:4px 3px;text-align:left;border:0}.news-table td:before{content:attr(data-label);display:block;min-height:28px;font-size:9px;color:#657456}.news-table .candidate-name{max-width:100%;white-space:normal}.news-average{padding:14px}}

.account-controls{display:flex;align-items:center;gap:7px}.account-button{border:1px solid #d7dfd1;border-radius:6px;padding:7px 10px;font-size:11px;color:var(--ink);background:white;white-space:nowrap}.account-button.filled{background:var(--ink);color:white}.account-notice{font-size:12px;padding:12px 15px;background:#eef3e7;border-radius:7px;margin-bottom:18px;display:flex;gap:10px;align-items:center;flex-wrap:wrap}.account-welcome{padding:22px;border:1px solid var(--border);border-radius:9px;background:white;margin-bottom:22px}.account-welcome h2{font-size:23px;margin:0 0 8px}.account-welcome p{font-size:13px;color:var(--muted)}.account-welcome .text-button{margin-left:12px}#account-dialog{width:min(440px,calc(100vw - 30px));padding:28px;border:0;border-radius:12px;max-height:90dvh;color:var(--ink)}#account-dialog::backdrop{background:#193d33aa;backdrop-filter:blur(3px)}.account-close{position:absolute;right:15px;top:12px;background:none;border:0;font-size:26px;color:#7a8778}#account-dialog h2{font-family:Georgia,serif;font-size:29px;margin:8px 0 12px}#account-dialog p{font-size:13px;line-height:1.7;color:var(--muted)}#account-form label{display:block;font-size:13px;font-weight:600;margin:18px 0}#account-form input{display:block;width:100%;padding:12px;border:1px solid var(--border);border-radius:6px;font-size:16px;margin-top:6px}#account-form>.btn{width:100%}.account-links{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-top:17px}.account-links button{font-size:12px}#auth-message{min-height:20px;color:#83542c}.detail-navigation{display:flex;gap:18px;padding:10px 0;border-bottom:1px solid var(--border)}.detail-navigation button{font-size:13px}#news-comparison-title,#official-results-title{scroll-margin-top:20px}@media(max-width:650px){.workspace>header{gap:8px;flex-wrap:wrap;height:auto;min-height:64px;padding-top:12px;padding-bottom:12px}.account-controls{margin-left:auto}.account-button{font-size:10px;padding:6px 8px}.account-notice{font-size:11px}.account-welcome h2{font-size:21px}#account-dialog{padding:24px}}
/* Fit every results column on a phone; long labels wrap within their cells. */
@media(max-width:650px){
 .election-table{min-width:0;width:100%;font-size:9px;line-height:1.35}
 .election-table thead th{font-size:8px;letter-spacing:0;padding:9px 3px;overflow-wrap:anywhere}
 .election-table thead th:first-child{width:34%}
 .election-table thead th:nth-child(2){width:20%}
 .election-table thead th:nth-child(3){width:18%}
 .election-table thead th:nth-child(4),.election-table thead th:nth-child(5){width:14%}
 .table-candidate-row th,.table-candidate-row td{padding:7px 3px;overflow-wrap:anywhere}
 .election-table .candidate-name{display:block;max-width:100%;font-size:9px;line-height:1.35;padding:5px;white-space:normal;overflow-wrap:anywhere;min-height:0}
 .election-table .candidate-name small{display:inline;font-size:8px;margin-left:3px;padding-left:3px}
 .table-standing{display:block;font-size:8px;margin:3px 0 0}
 .table-reporting small{font-size:7px;overflow-wrap:anywhere}
 .table-race-heading th{padding:8px 6px}
 .table-race-heading th>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 7px}
 .table-race-heading .card-title{font-size:10px;line-height:1.35;min-width:0;overflow-wrap:anywhere}
 .table-race-status{grid-row:2;grid-column:1/-1;font-size:8px;white-space:normal;overflow-wrap:anywhere}
 .table-race-actions{grid-row:1;grid-column:2;gap:6px;margin-left:0;min-width:0}
 .table-race-actions .text-button{font-size:9px;padding:3px 0}
 .table-race-actions .add-race{font-size:9px;padding:4px 6px}
 .table-empty-row td{font-size:9px;padding:10px 6px;overflow-wrap:anywhere}
}
