:root{color-scheme:dark;--bg:#0e0f11;--panel:#15171a;--panel-2:#2a2d31;--line:#ffffff24;--text:#f2f0ea;--muted:#a3a199;--subtle:#91918b;--red:#ff4c58;--green:#36d99a;--cream:#a9f0e6;--amber:#e7b56a;--body:'IBM Plex Sans','Helvetica Neue',Arial,sans-serif;--display:'Archivo','Helvetica Neue',Arial,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;background:var(--bg);color:var(--text);font-family:var(--body);font-size:15px;line-height:1.5;-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled,select:disabled{cursor:not-allowed;opacity:.5}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline;text-underline-offset:4px}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--cream);outline-offset:4px}button{border:0}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:var(--display);font-weight:600;line-height:1.1}svg{display:block}button svg{width:20px;height:20px}small,.fine{font-size:12px;color:var(--muted)}.muted{color:var(--muted)}.red-text{color:var(--red)}.green-text{color:var(--green)}[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}.skip-link{position:fixed;top:8px;left:8px;padding:12px;background:var(--cream);color:var(--bg);z-index:50;transform:translateY(-200%)}.skip-link:focus{transform:translateY(0)}
.site-header{max-width:1280px;padding:25px 48px;display:flex;align-items:center;gap:40px;margin:auto;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;font-size:25px;letter-spacing:-1.2px;font-weight:700;white-space:nowrap}.brand>span:not(.edition){font-weight:400}.brand-icon{width:26px;height:26px;stroke:var(--cream);stroke-width:2;fill:var(--bg);margin-right:10px}.edition{border-left:1px solid var(--line);padding-left:18px;margin-left:18px;font-size:11px;letter-spacing:1.2px;font-weight:500;color:var(--muted);text-transform:uppercase}.site-header nav{display:flex;align-items:center;gap:28px;margin-left:auto;font-size:12px}.site-header nav a{color:var(--muted)}.site-header nav a[aria-current=page]{color:var(--text)}.fato-brand{font-family:var(--display);font-size:14px;font-weight:700;line-height:.95;letter-spacing:-.5px;position:relative;padding-right:20px}.fato-brand>span{position:absolute;right:0;top:3px;font-size:24px;color:var(--cream)}.demo-banner{max-width:1184px;margin:auto;display:flex;align-items:center;gap:10px;min-height:43px;font-size:11px;color:var(--muted);border-bottom:1px solid var(--line)}.demo-banner strong{color:var(--cream);font-size:10px;letter-spacing:1.1px}.demo-dot{height:5px;width:5px;background:var(--amber);border-radius:50%;flex-shrink:0}.demo-banner button{margin-left:auto;font-size:11px;white-space:nowrap}.text-button{background:none;border:0;padding:8px 0;color:var(--cream);font-size:12px}.text-button:hover{text-decoration:underline;text-underline-offset:4px}
.dashboard{max-width:1120px;margin:0 auto;padding:42px 0 0}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px;gap:24px}.eyebrow{font-size:10px;font-weight:600;letter-spacing:1.7px;color:var(--muted);text-transform:uppercase}.eyebrow-dot{padding:0 9px;color:var(--subtle)}.page-heading h1{font-size:57px;letter-spacing:-2.5px;margin:10px 0 8px;max-width:750px}.breadcrumbs{display:flex;gap:10px;font-size:12px;color:var(--muted)}.breadcrumbs span:last-child{color:var(--text)}.heading-actions{display:flex;align-items:flex-end;flex-direction:column;gap:14px}.simulation-tag{font-size:11px;color:var(--muted);display:flex;gap:7px;align-items:center}.simulation-tag i{width:6px;height:6px;background:var(--cream);border-radius:50%}.secondary-button{display:inline-flex;justify-content:center;align-items:center;gap:14px;min-height:40px;padding:9px 16px;background:transparent;border:1px solid #454d44;border-radius:4px;font-size:12px;color:var(--text)}.secondary-button:hover{background:#252b25;text-decoration:none}.notice{padding:16px 20px;border:1px solid #395152;background:#152124;border-radius:4px;color:#c3d5d2;font-size:13px;margin-bottom:20px}.notice strong{color:var(--text);margin-right:4px}.notice-warning{background:#272216;border-color:#685236;color:#e2caa6}
.projection-hero{background:linear-gradient(110deg,#1b1e22,#191c20 65%,#1b1f23);border:1px solid #4a555a;border-radius:8px;padding:22px 28px 0;overflow:hidden;position:relative}.projection-top{display:flex;justify-content:space-between;align-items:center;gap:12px}.projection-top>a{font-size:11px;color:var(--muted)}.projection-stamp{display:flex;align-items:center;gap:8px;color:var(--cream);font-size:10px;letter-spacing:1.7px}.projection-stamp svg{width:22px;height:22px}.projection-stamp strong{font-weight:700}.projection-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:15px 0 22px}.projection-heading h2{font-size:23px;letter-spacing:-.5px}.winner-label{font-size:11px;color:var(--muted);display:block}.winner-label strong{font-weight:600;color:var(--text)}.projection-numbers{display:grid;grid-template-columns:1fr 1fr;margin-bottom:25px}.projected-candidate:first-child{border-right:1px solid #394347;padding-right:32px}.projected-candidate:last-child{padding-left:40px}.projected-name{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:500}.projected-name i{width:7px;height:7px;background:currentColor;border-radius:50%}.projected-name small{font-size:10px;margin-left:8px}.candidate-13{--candidate:var(--red);--candidate-bg:#301a1e;--candidate-border:#66323a}.candidate-22{--candidate:var(--green);--candidate-bg:#152b23;--candidate-border:#2c5a45}.projected-name,.projected-value{color:var(--candidate)}.projected-value{font-size:76px;line-height:1.14;letter-spacing:-3.5px;font-family:var(--display);font-weight:600;font-variant-numeric:tabular-nums;margin:5px 0 3px}.projected-votes{font-size:12px;color:#c1c4c3;font-variant-numeric:tabular-nums}.projection-foot{border-top:1px solid #343c40;display:flex;justify-content:space-between;gap:10px;margin:0 -28px;padding:10px 28px;font-size:10px;color:var(--muted)}
.official-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:25px 0 10px}.official-heading .eyebrow{font-size:9px;letter-spacing:1.3px;color:#d8ddd4}.official-heading>span:last-child{font-size:10px;color:var(--muted)}.candidate-plates{display:grid;grid-template-columns:1fr 1fr;gap:12px}.candidate-plate{position:relative;display:grid;grid-template-columns:1fr auto;align-items:center;background:var(--candidate-bg);border:1px solid var(--candidate-border);border-top:3px solid var(--candidate);padding:17px 22px;border-radius:3px;gap:3px 12px}.candidate-name{display:flex;gap:10px;align-items:center}.candidate-name h2{font-size:18px;font-weight:600;letter-spacing:-.3px}.candidate-name div>span{font-size:10px;color:var(--muted)}.candidate-number{font-family:var(--display);border:1px solid var(--candidate-border);height:32px;width:32px;border-radius:50%;display:grid;place-items:center;font-size:12px;color:var(--candidate)}.observed-value{font-family:var(--display);font-size:35px;letter-spacing:-1px;color:var(--candidate);font-variant-numeric:tabular-nums}.observed-votes{grid-column:1/-1;font-size:11px;color:#aab0a8;text-align:right}.observed-votes strong{font-weight:500;color:var(--text)}
.chart-section{padding-top:30px}.chart-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.chart-heading h2{font-size:20px;letter-spacing:-.4px}.chart-tabs{display:flex;gap:4px;border-bottom:1px solid var(--line)}.chart-tabs button{font-size:11px;color:var(--muted);padding:8px 10px;background:transparent;border-bottom:2px solid transparent}.chart-tabs button[aria-pressed=true]{color:var(--text);border-bottom-color:var(--cream)}.chart-key{display:flex;gap:22px;margin:17px 0 24px;font-size:10px;color:var(--muted);align-items:center}.chart-key>span{display:flex;gap:8px;align-items:center}.chart-key>span:last-child{margin-left:auto}.line-key{display:inline-block;width:23px;height:0;border-top:2px solid #d4d9cd;flex-shrink:0}.line-key.dashed{border-top-style:dashed}.grid-line{stroke:#3d433c;stroke-width:1;stroke-dasharray:2 7}.threshold-line{stroke:#5d655b;stroke-width:1;stroke-dasharray:3 5}.axis-label{fill:#9ba498;font-family:var(--body);font-size:12px}.history-line{fill:none;stroke-width:3;stroke-linejoin:round;stroke-linecap:round}.history-projected{stroke-dasharray:5 4}.projection-line{fill:none;stroke-width:2.5;stroke-dasharray:6 6;stroke-linecap:round}.end-label{font-family:var(--display);font-size:17px;font-weight:600}.now-line{stroke:#71796c;stroke-width:1;stroke-dasharray:3 5}.now-label{fill:#d5dbcd;font-size:10px;font-family:var(--body);letter-spacing:.6px}.chart-axis-caption{display:flex;justify-content:space-between;color:var(--subtle);font-size:10px;padding:0 3% 0 5%;margin-top:-5px}.chart-axis-caption span:nth-child(2){color:var(--muted)}.chart-inspection{border:1px solid var(--line);display:flex;align-items:center;gap:12px;border-radius:3px;margin-top:20px;padding:8px 12px;font-size:10px;color:var(--muted)}.chart-inspection input{width:100px;accent-color:var(--cream);cursor:pointer}.chart-inspection output{margin-left:auto;font-variant-numeric:tabular-nums;color:#c4cbbf}.chart-note{font-size:11px;color:var(--subtle);margin:12px 0 0}.history-table{font-size:11px;border-bottom:1px solid var(--line);margin-top:5px}.history-table summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;padding:14px 0;color:var(--muted)}.history-table summary span{font-size:20px;line-height:1}.table-scroll{overflow:auto;margin:0 0 15px}.history-table table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap;font-variant-numeric:tabular-nums}.history-table caption{text-align:left;padding:10px 0;color:var(--muted)}.history-table th{font-weight:500;background:#202620}.history-table td,.history-table th{padding:9px 14px;border-bottom:1px solid var(--line)}.history-table td span{color:var(--muted)}
.progress-panel{padding:20px 0 22px;border-bottom:1px solid var(--line)}.progress-copy{display:flex;align-items:center;justify-content:space-between}.progress-copy h2{font-family:var(--body);font-size:13px;font-weight:500}.progress-copy>div{display:flex;align-items:baseline;gap:10px}.progress-copy strong{font-family:var(--display);font-size:25px;letter-spacing:-.8px}.progress-copy>div>span{font-size:11px;color:var(--muted)}.progress-track{height:5px;background:#343b32;margin:12px 0 10px;border-radius:3px;overflow:hidden}.progress-track>span{display:block;height:100%;background:#f2f0ea;transition:width .6s ease}.progress-meta{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:var(--muted)}.status-pill{font-size:10px;color:#c6cfbf;border:1px solid #424c3c;border-radius:3px;padding:3px 7px}.updates{display:flex;gap:25px;font-size:10px;margin-top:20px;color:var(--muted)}.updates>span{display:flex;align-items:center;gap:5px}.updates>span:last-child{margin-left:auto}.updates strong{font-weight:400;color:#cad1c2}.quiet-dot,.amber-dot{display:inline-block;width:5px;height:5px;background:#bdc7b1;border-radius:50%;margin-right:3px}.amber-dot{background:var(--amber)}.local-turnout{padding:25px 0;display:grid;grid-template-columns:1fr auto auto;gap:30px;border-bottom:1px solid var(--line)}.local-turnout h3{font-size:20px;margin:8px 0}.local-turnout p{font-size:12px;color:var(--muted)}.local-turnout>div:not(:first-child){display:flex;flex-direction:column;justify-content:center}.local-turnout>div>span{font-size:11px;color:var(--muted)}.local-turnout strong{font-family:var(--display);font-size:30px;font-weight:500}
.explore-section{padding-top:55px}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:24px}.section-heading h2{font-size:34px;letter-spacing:-1.4px;margin-top:9px}.section-heading>p{font-size:12px;color:var(--muted);line-height:1.65}.map-panel{border:1px solid var(--line);border-radius:6px;background:var(--panel);padding:24px 28px 15px}.map-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.map-top h3{font-size:23px;letter-spacing:-.5px;margin-top:6px}.map-top small{font-family:var(--body);font-size:13px}.map-top .secondary-button{font-size:11px;min-height:36px}.map-mode{border:0;padding:0;margin:22px 0 0}.map-mode legend{font-size:11px;color:var(--muted);margin-bottom:9px;padding:0}.segmented{display:grid;grid-template-columns:1fr 1fr;max-width:590px;border:1px solid #454d41;border-radius:4px;overflow:hidden;padding:3px;gap:3px}.segmented button{background:transparent;color:var(--muted);display:flex;text-align:left;align-items:center;gap:12px;padding:11px 15px;border-radius:2px;font-size:12px}.segmented button[aria-pressed=true]{background:#a9f0e6;color:#0e0f11}.segmented button[aria-pressed=true] .line-key{border-color:#0e0f11}.segmented small{display:block;font-size:10px;color:inherit;opacity:.75;margin-top:1px}.map-mode-note{display:flex;align-items:center;gap:8px;margin:12px 0 0;font-size:10px;color:var(--muted)}.tiny-dot{width:4px;height:4px;border-radius:50%;background:var(--muted)}.map-canvas{position:relative;height:465px;max-width:800px;margin:10px auto 0}.map-canvas>svg{width:100%;height:100%}.map-region{stroke:#111a15;stroke-width:.85;cursor:pointer;transition:fill .25s,filter .2s;fill-rule:evenodd}.map-region:hover,.map-region:focus{filter:brightness(1.25);stroke:#f4f6e8;stroke-width:2;outline:none}.map-region.selected{stroke:#fff4ce;stroke-width:2.5;filter:brightness(1.2)}.map-label{fill:#121e16;paint-order:stroke;stroke:#b6c7b2;stroke-width:.00035;pointer-events:none;font-family:var(--body);font-weight:700}.map-tooltip{position:absolute;left:10px;bottom:10px;pointer-events:none;padding:13px 16px;border:1px solid #4a5748;background:#101612ed;box-shadow:0 8px 30px #0003;border-radius:4px;font-size:12px;min-width:160px}.map-tooltip>span{display:block;font-size:11px;margin-top:2px}.map-tooltip>strong{display:block;margin-bottom:5px}.map-tooltip>small{display:block;margin-top:6px;font-size:10px}.map-legend{display:grid;grid-template-columns:60px repeat(3,1fr);max-width:480px;gap:4px 10px;align-items:center;margin:10px auto 28px;font-size:9px;color:var(--muted)}.legend-candidate{display:contents}.legend-candidate b{font-size:11px;font-weight:500}.legend-candidate>span{height:7px;border-radius:1px}.legend-bands{display:contents}.legend-bands>span{text-align:center;font-size:9px}.legend-bands>span:first-child{grid-column:2}.legend-neutral{grid-column:1/-1;display:flex;justify-content:center;gap:22px;margin-top:10px}.legend-neutral>span{display:flex;align-items:center;gap:5px}.neutral-swatch,.missing-swatch{display:inline-block;height:9px;width:12px;background:#85888a;border-radius:1px}.missing-swatch{background:repeating-linear-gradient(135deg,#272c2a 0 2px,#62685f 2px 3px)}.map-selectors{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding-top:22px;border-top:1px solid var(--line)}.map-selectors label,.municipality-search label{font-size:11px;font-weight:500;color:#cbd2c7;display:block}.map-selectors select{display:block;width:100%;margin-top:7px;min-height:43px;padding:8px 12px;background:#0e0f11;border:1px solid #3e444a;color:var(--text);border-radius:3px;font-size:13px}.municipality-search{margin-top:18px}.search-field{position:relative}.search-field>svg{position:absolute;top:13px;left:12px;width:18px;height:18px;stroke:#a3a199;stroke-width:1.4;fill:none}.search-field input{width:100%;padding:11px 14px 11px 40px;margin-top:7px;min-height:43px;background:#0e0f11;border:1px solid #3e444a;border-radius:3px;font-size:12px;color:var(--text)}.search-field input::placeholder{color:#9a9d9c}.search-results:empty{display:none}.search-results{max-height:260px;overflow:auto;border:1px solid #3e444a;border-top:0;background:#121619}.search-results button{display:flex;justify-content:space-between;width:100%;padding:12px 15px;background:transparent;text-align:left;font-size:12px;border-bottom:1px solid #293327}.search-results button:hover{background:#283323}.search-results button>span{color:var(--muted)}.search-results p{font-size:12px;padding:15px;color:var(--muted)}.map-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:12px;font-size:9px;color:var(--subtle)}.map-bottom button{font-size:11px}
.products-section{padding-top:55px}.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.product-card{border:1px solid var(--line);border-radius:4px;padding:20px 22px 0;display:flex;flex-direction:column;background:#15171a;overflow:hidden}.product-meta{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between;margin-bottom:20px;font-size:9px;color:var(--muted);letter-spacing:.4px}.development{font-size:8px;border:1px solid #3f5357;background:#20292d;color:#b4ceca;padding:3px 5px;border-radius:2px;letter-spacing:0;white-space:nowrap}.product-card h3{font-size:27px;letter-spacing:-.8px;line-height:1.1}.product-card>p{font-size:12px;color:var(--muted);line-height:1.65;margin-top:12px;min-height:60px}.cylinders{display:flex;justify-content:center;align-items:flex-end;gap:26px;height:139px;margin:20px 0 7px}.cylinder-item{display:flex;flex-direction:column;align-items:center;gap:12px;min-width:48px}.cylinder-item>span{font-size:9px;color:var(--muted)}.cylinder{width:44px;height:var(--height);position:relative;border-radius:0 0 50% 50% / 0 0 10px 10px;background:linear-gradient(90deg,var(--shade),var(--fill) 55%,var(--shade));opacity:.8}.cylinder:before{content:'';position:absolute;top:-7px;width:100%;height:14px;border-radius:50%;background:var(--top);border:1px solid #ffffff17}.cylinder-red{--fill:#b83e48;--shade:#6b2b32;--top:#d85e64}.cylinder-green{--fill:#20875c;--shade:#164530;--top:#4caf7e}.cylinder-gray{--fill:#737c6b;--shade:#3d4637;--top:#8b9680}.expected-line{position:absolute;left:-13px;right:-13px;top:22%;border-top:1px dashed #e2e7d9}.illustration-note{font-size:9px;color:var(--subtle);display:block;text-align:center;margin:3px 0 22px}.product-card>button{margin:auto -22px 0;padding:14px 22px;background:transparent;border-top:1px solid var(--line);text-align:left;display:flex;justify-content:space-between;font-size:11px}.product-card>button:hover{background:#20292d}.anomaly-visual{display:flex;flex-direction:column;gap:7px;height:139px;justify-content:center;margin:20px 0 7px}.anomaly-visual>div{display:flex;align-items:center;gap:15px;padding:13px 10px;border-bottom:1px solid #343c40}.anomaly-visual span{height:4px;width:50%;background:#49565b}.anomaly-visual i{height:4px;width:15%;background:#303a3f}.anomaly-visual b{height:20px;width:20px;font-size:12px;display:grid;place-items:center;border-radius:50%;border:1px solid #5e6544;color:#aeb48f;line-height:1}.method-teaser{display:flex;align-items:center;gap:25px;padding:30px 0;margin:48px 0 25px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.method-symbol{font-size:55px;font-family:var(--display);color:var(--cream)}.method-teaser h2{font-size:25px;letter-spacing:-.6px;margin:7px 0 8px}.method-teaser p{font-size:12px;color:var(--muted)}.method-teaser>a{margin-left:auto;white-space:nowrap}.site-footer{max-width:1120px;margin:auto;display:flex;justify-content:space-between;gap:30px;padding:24px 0 40px}.footer-wordmark{font-size:28px;font-family:var(--display);letter-spacing:-1px}.site-footer p{font-size:11px;color:var(--muted);margin-top:9px}.site-footer>div:last-child{display:flex;flex-direction:column;align-items:flex-end;gap:8px;font-size:11px}.site-footer>div:last-child span{color:var(--subtle)}
dialog{color:var(--text);background:#1b1e22;border:1px solid #505c49;border-radius:8px;padding:26px;max-width:560px;width:calc(100% - 32px);box-shadow:0 30px 100px #0006}dialog::backdrop{background:#080c08bd;backdrop-filter:blur(5px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.icon-button{height:32px;width:32px;background:#29363c;border-radius:50%;font-size:23px;line-height:1}dialog h2{font-size:29px;letter-spacing:-.7px;max-width:420px}dialog p{font-size:13px;color:var(--muted);margin:15px 0;line-height:1.7}.scenario-options{display:grid;gap:8px;margin:20px 0}.scenario-options>button{padding:14px 16px;min-height:65px;border:1px solid #3d5458;background:#1c292d;text-align:left;border-radius:4px}.scenario-options>button:hover{background:#273a40}.scenario-options span{display:block;color:var(--muted);font-size:11px;margin-top:3px}.product-preview{font-size:13px;padding:22px;border:1px dashed #5f6d52;margin:22px 0;color:var(--cream);border-radius:4px}.initial-loading,.route-error,.map-error,.map-loading,.chart-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px;text-align:center;min-height:300px;padding:30px}.initial-loading{min-height:70vh}.route-error h1{font-size:36px}.route-error p,.map-error p,.chart-empty p{font-size:13px;color:var(--muted)}.chart-empty{min-height:280px;background:#15171a;border:1px dashed #3c4734;border-radius:4px}.empty-orbit{font-size:40px;color:var(--subtle)}.spinner{display:inline-block;height:20px;width:20px;border:2px solid #3e4936;border-top-color:#c7d2b8;border-radius:50%;animation:spin 1s linear infinite}.loading-state{padding:30px 0}.loading-state p{display:flex;align-items:center;gap:12px;font-size:13px;color:var(--muted);margin:20px 0}.skeleton{background:linear-gradient(100deg,#171d20 20%,#263236 50%,#171d20 80%);background-size:200% 100%;animation:shimmer 1.5s infinite;border-radius:4px;height:100px}.skeleton.wide{height:220px}.skeleton-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:15px 0}.chart-skeleton{height:210px}.no-script{padding:30px;text-align:center}.method-page{max-width:1060px;margin:0 auto;padding:40px 0}.back-link{font-size:12px;color:var(--muted);display:inline-block;margin-bottom:35px}.method-page>h1{font-size:64px;letter-spacing:-2.5px;line-height:1.02;margin:15px 0 25px}.method-lead{font-size:19px;max-width:680px;color:#c0c9b8;line-height:1.6}.method-page>.notice{margin:30px 0 45px;max-width:800px}.method-layout{display:grid;grid-template-columns:220px 1fr;gap:60px}.method-index{display:flex;align-self:start;flex-direction:column;gap:15px;position:sticky;top:25px;font-size:12px;color:var(--muted)}.method-index .eyebrow{margin-bottom:6px}.method-content section{padding-bottom:40px;margin-bottom:40px;border-bottom:1px solid var(--line);scroll-margin-top:30px}.method-number{font-family:var(--display);font-size:13px;color:var(--subtle);display:block;margin-bottom:12px}.method-content h2{font-size:31px;letter-spacing:-1px;margin-bottom:22px}.method-content p{font-size:15px;color:#bbc5b4;line-height:1.85;margin:15px 0}.method-equation{font-size:12px;background:#152427;padding:20px;border:1px solid #334d50;border-radius:3px;margin:20px 0}.method-compare{display:grid;grid-template-columns:1fr 1fr;gap:25px;margin:24px 0}.method-compare>div{border:1px solid #354b50;padding:20px;border-radius:3px}.method-compare strong{display:block;margin-top:15px}.method-compare p{font-size:13px;margin:6px 0 0}.source-item{border-left:2px solid #567774;padding-left:20px;margin:30px 0}.source-item a{font-size:12px;text-decoration:underline;text-underline-offset:4px}.source-item strong{font-size:14px}.source-item p{font-size:13px}.site-header,.dashboard,.site-footer,.method-page{animation:appear .4s ease both}@keyframes spin{to{transform:rotate(360deg)}}@keyframes shimmer{to{background-position:-200% 0}}@keyframes appear{from{opacity:0}to{opacity:1}}
@media(min-width:1400px){.dashboard{max-width:1120px}.projection-numbers{margin-bottom:28px}.map-canvas{height:500px}}
@media(max-width:1250px){.site-header{padding:22px 30px}.demo-banner{margin:0 30px}.dashboard,.site-footer,.method-page{margin:0 40px}.edition{display:none}.site-header nav{gap:20px}.product-card{padding:18px 17px 0}.product-card>button{margin-left:-17px;margin-right:-17px;padding-left:17px;padding-right:17px}.product-meta{align-items:flex-start;flex-direction:column}.product-card h3{font-size:25px}}
@media(max-width:850px){.site-header{gap:24px;padding:20px 24px}.brand{font-size:23px}.site-header nav{font-size:11px;gap:18px}.fato-brand{font-size:12px}.demo-banner{margin:0 24px;line-height:1.5;padding:9px 0;flex-wrap:wrap;gap:6px 9px}.demo-banner>span:not(.demo-dot){flex:1}.demo-banner button{font-size:10px}.dashboard,.site-footer,.method-page{margin:0 28px}.projected-value{font-size:65px}.projection-heading{align-items:flex-start;flex-direction:column;gap:8px}.candidate-name h2{font-size:15px}.observed-value{font-size:28px}.candidate-plate{padding:15px}.updates{gap:12px;flex-wrap:wrap}.updates>span:last-child{margin-left:0}.product-grid{gap:10px}.product-card{padding:16px 13px 0}.product-card h3{font-size:23px}.product-card>p{font-size:11px;min-height:72px}.product-card>button{margin-left:-13px;margin-right:-13px;padding-left:13px;padding-right:13px;font-size:10px}.cylinders{gap:13px}.cylinder{width:35px}.cylinder-item{min-width:35px}.cylinder-item>span{font-size:8px}.method-teaser{gap:18px;flex-wrap:wrap}.method-teaser>a{margin-left:65px}.method-page>h1{font-size:55px}.method-layout{grid-template-columns:165px 1fr;gap:25px}.method-content h2{font-size:26px}.chart-inspection{flex-wrap:wrap}.chart-inspection output{width:100%;margin:0}.local-turnout{gap:20px}.section-heading h2{font-size:30px}.chart-heading{align-items:flex-start;flex-direction:column;gap:10px}}
@media(max-width:600px){.site-header{padding:17px 18px;gap:14px;flex-wrap:wrap}.brand{font-size:24px;margin-right:auto}.brand-icon{width:23px;height:23px}.fato-brand{font-size:12px}.site-header nav{order:3;width:100%;justify-content:space-between;padding-top:10px;margin-top:3px;border-top:1px solid #282f26;font-size:11px}.demo-banner{margin:0 18px;gap:5px 7px;font-size:10px;padding:9px 0}.demo-banner>span:not(.demo-dot){flex-basis:calc(100% - 120px)}.demo-banner button{margin-left:12px;padding:3px 0}.demo-banner strong{font-size:9px}.demo-dot{width:4px;height:4px}.dashboard{padding-top:27px;margin:0 18px}.page-heading{gap:12px;margin-bottom:22px;align-items:flex-start}.page-heading h1{font-size:43px;letter-spacing:-1.8px;max-width:235px;overflow-wrap:break-word;margin-top:10px}.page-heading .eyebrow{font-size:8px;letter-spacing:1.1px;line-height:1.7}.eyebrow-dot{padding:0 3px}.heading-actions{gap:12px;padding-top:4px;flex-shrink:0}.heading-actions .simulation-tag{display:none}.heading-actions .secondary-button{padding:8px 10px;font-size:10px;gap:8px;min-height:35px;max-width:105px;line-height:1.3;text-align:left}.breadcrumbs{font-size:10px;gap:6px;flex-wrap:wrap}.projection-hero{padding:16px 16px 0;border-radius:5px}.projection-stamp{font-size:8px;letter-spacing:1.2px;gap:6px}.projection-stamp svg{width:18px;height:18px}.projection-top>a{font-size:9px;max-width:90px;text-align:right;line-height:1.4}.projection-heading{margin:14px 0 21px;gap:7px}.projection-heading h2{font-size:22px;letter-spacing:-.6px}.winner-label{font-size:10px;line-height:1.5}.projection-numbers{margin-bottom:20px}.projected-candidate:first-child{padding-right:12px}.projected-candidate:last-child{padding-left:16px}.projected-name{font-size:11px;gap:5px;flex-wrap:wrap;line-height:1.25;min-height:32px;align-content:flex-start}.projected-name i{width:5px;height:5px}.projected-name small{font-size:8px;display:block;width:100%;margin-left:10px;color:var(--muted)}.projected-value{font-size:clamp(37px,10.5vw,55px);letter-spacing:-1.7px;margin:6px 0 5px;white-space:nowrap}.projected-votes{font-size:10px;line-height:1.5;display:block;max-width:130px}.projection-foot{margin:0 -16px;padding:9px 16px;font-size:8px;gap:7px;line-height:1.5}.projection-foot span{flex:1}.projection-foot span:last-child{text-align:right}.official-heading{margin-top:22px}.official-heading .eyebrow{font-size:8px;letter-spacing:1px;line-height:1.6}.official-heading .eyebrow .muted{display:block;font-size:7px;letter-spacing:.8px}.official-heading>span:last-child{font-size:9px;text-align:right}.candidate-plates{gap:8px}.candidate-plate{display:flex;flex-direction:column;align-items:flex-start;padding:12px 13px;gap:9px;border-top-width:2px}.candidate-name{gap:7px}.candidate-name h2{font-size:13px;letter-spacing:-.3px;line-height:1.1;max-width:105px}.candidate-name div>span{font-size:8px}.candidate-number{height:26px;width:26px;flex-shrink:0;font-size:10px}.observed-value{font-size:30px;line-height:1;margin-top:2px}.observed-votes{font-size:9px;text-align:left;line-height:1.45}.observed-votes strong{display:block;font-size:11px}.chart-section{padding-top:26px}.chart-heading h2{font-size:20px}.chart-tabs{width:100%;gap:12px}.chart-tabs button{font-size:10px;padding:8px 0}.chart-key{font-size:9px;gap:14px;flex-wrap:wrap;margin:16px 0 24px}.chart-key>span:last-child{margin-left:0;flex-basis:100%;font-size:8px}.chart-key .line-key{width:19px}.chart-axis-caption{font-size:8px;gap:10px;padding:0 10px}.chart-inspection{font-size:9px;margin-top:15px;gap:8px;padding:9px 10px}.chart-inspection input{flex:1;min-height:20px}.chart-inspection output{font-size:9px;line-height:1.5;letter-spacing:-.1px}.chart-note{font-size:10px;line-height:1.65;margin-top:10px}.history-table summary{font-size:10px;gap:15px}.progress-panel{padding-top:18px}.progress-copy h2{font-size:11px}.progress-copy strong{font-size:25px}.progress-copy>div{gap:5px;flex-direction:column;align-items:flex-end}.progress-copy>div>span{font-size:9px;margin-top:-6px}.progress-meta{font-size:9px;gap:12px;align-items:flex-start}.status-pill{font-size:8px;white-space:nowrap}.updates{font-size:9px;gap:8px 14px;margin-top:18px}.updates>span:last-child{width:100%;font-size:8px}.local-turnout{grid-template-columns:1fr 1fr;gap:20px}.local-turnout>div:first-child{grid-column:1/-1}.local-turnout h3{font-size:22px}.local-turnout p{font-size:11px}.local-turnout strong{font-size:29px}.local-turnout .eyebrow{font-size:8px}.explore-section,.products-section{padding-top:38px}.section-heading{align-items:flex-start;flex-direction:column;gap:12px;margin-bottom:20px}.section-heading h2{font-size:32px;letter-spacing:-1.2px;margin-top:7px}.section-heading>p{font-size:11px}.section-heading .eyebrow{font-size:9px;letter-spacing:1.4px}.map-panel{padding:17px 14px 11px;border-radius:4px}.map-top .eyebrow{font-size:8px}.map-top h3{font-size:20px}.map-top .secondary-button{font-size:9px;padding:7px 8px;gap:5px;min-height:32px}.map-mode{margin-top:20px}.map-mode legend{font-size:10px}.segmented{gap:2px;padding:3px}.segmented button{gap:6px;padding:10px 7px;font-size:10px;line-height:1.3;align-items:flex-start}.segmented .line-key{width:12px;margin-top:6px}.segmented small{font-size:8px;margin-top:4px;line-height:1.3}.map-mode-note{font-size:9px;align-items:flex-start;line-height:1.6;gap:6px}.tiny-dot{margin-top:5px;flex-shrink:0}.map-canvas{height:330px;margin-top:10px}.map-tooltip{left:0;bottom:0;min-width:130px;padding:10px 12px;font-size:11px}.map-tooltip>span{font-size:10px}.map-legend{grid-template-columns:36px repeat(3,1fr);gap:5px 5px;margin-bottom:22px}.legend-bands>span{font-size:8px}.legend-candidate b{font-size:9px}.legend-neutral{font-size:9px;gap:16px}.map-selectors{grid-template-columns:1fr;gap:15px;padding-top:18px}.map-selectors label,.municipality-search label{font-size:10px}.map-selectors select{font-size:12px}.municipality-search{margin-top:16px}.search-field input{font-size:11px}.map-bottom{align-items:flex-start;flex-direction:column;gap:4px;font-size:8px;margin-top:15px}.map-bottom button{font-size:10px}.product-grid{grid-template-columns:1fr;gap:14px}.product-card{padding:20px 20px 0;display:grid;grid-template-columns:1fr 125px;column-gap:15px;align-items:start}.product-meta{grid-column:1/-1;flex-direction:row;gap:8px;font-size:9px;margin-bottom:18px;align-items:center}.development{font-size:8px}.product-card h3{font-size:26px;grid-column:1;line-height:1.15}.product-card>p{grid-column:1;font-size:11px;min-height:0;margin-top:12px;line-height:1.7}.cylinders,.anomaly-visual{grid-column:2;grid-row:2/4;margin:0;align-self:center;height:135px;gap:10px}.cylinder{width:28px}.cylinder-item{min-width:28px}.cylinder-item>span{font-size:7px;text-align:center}.illustration-note{grid-column:1/-1;font-size:8px;text-align:right;margin:16px 0}.product-card>button{grid-column:1/-1;margin:0 -20px;padding:14px 20px;font-size:11px}.anomaly-visual>div{gap:10px;padding:10px 0}.method-teaser{margin-top:35px;padding:25px 0;gap:15px}.method-symbol{font-size:36px;align-self:flex-start;margin-top:18px}.method-teaser>div{flex:1;min-width:230px}.method-teaser .eyebrow{font-size:8px}.method-teaser h2{font-size:23px;line-height:1.15}.method-teaser p{font-size:11px;line-height:1.7}.method-teaser>a{margin-left:42px;font-size:11px}.site-footer{margin:0 18px;padding:0 0 30px;gap:20px;flex-wrap:wrap}.site-footer>div:last-child{align-items:flex-start;font-size:10px}.site-footer p{font-size:10px}.footer-wordmark{font-size:26px}.notice{padding:13px 14px;font-size:11px;line-height:1.7}.chart-empty{padding:25px 15px;min-height:250px}.chart-empty h3{font-size:19px}.chart-empty p{font-size:12px}.map-error{padding:25px 5px}.map-error h3{font-size:21px}dialog{padding:22px}dialog h2{font-size:27px}dialog p{font-size:12px}.method-page{margin:0 20px;padding:25px 0}.back-link{margin-bottom:28px}.method-page>h1{font-size:45px;letter-spacing:-1.8px;margin-bottom:20px}.method-lead{font-size:16px}.method-page>.notice{margin:24px 0 30px}.method-layout{grid-template-columns:1fr;gap:30px}.method-index{position:static;display:grid;grid-template-columns:1fr 1fr;gap:12px;font-size:10px;padding-bottom:25px;border-bottom:1px solid var(--line)}.method-index .eyebrow{grid-column:1/-1}.method-content h2{font-size:28px}.method-content p{font-size:14px;line-height:1.8}.method-content section{margin-bottom:30px;padding-bottom:30px}.method-equation{font-size:10px;padding:16px}.method-compare{gap:12px}.method-compare>div{padding:15px}.method-compare p{font-size:12px}.source-item p{font-size:12px}.source-item a{font-size:11px}.source-item{padding-left:15px}.route-error h1{font-size:30px}}
@media(max-width:360px){.dashboard{margin:0 12px}.projected-value{font-size:36px}.projected-candidate:last-child{padding-left:12px}.projected-name{font-size:10px}.candidate-plate{padding:10px}.candidate-name h2{font-size:12px}.product-card{grid-template-columns:1fr 106px;padding-left:15px;padding-right:15px}.product-card>button{margin-left:-15px;margin-right:-15px;padding-left:15px;padding-right:15px}.product-card h3{font-size:24px}.page-heading h1{max-width:200px;font-size:38px}.map-panel{padding-left:10px;padding-right:10px}.segmented button{font-size:9px}.segmented .line-key{display:none}}
.difference-callout{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 0 14px}.difference-callout>span{font-size:11px;color:var(--muted)}.difference-link{background:none;padding:5px 0;color:var(--text);font-size:12px;letter-spacing:.3px;text-decoration:underline;text-underline-offset:4px}.difference-link:hover{color:#fff}.difference-row{display:flex;gap:16px;padding-top:22px;margin-top:10px;border-top:1px solid var(--line)}.difference-row>.line-key{margin-top:11px}.difference-row h3{font-size:22px}.difference-row p{margin:9px 0 0}.counting-axis{stroke:#fff;stroke-width:1.5;stroke-dasharray:5 5;opacity:.8}.now-line{stroke:#fff;opacity:.65}.sticky-scoreboard{position:fixed;inset:0 0 auto;z-index:30;background:#0e0f11f5;border-bottom:1px solid #526269;backdrop-filter:blur(14px);box-shadow:0 8px 32px #0004}.sticky-inner{max-width:1120px;margin:auto;display:flex;align-items:center;gap:30px;position:relative;padding:13px 0}.sticky-place{display:flex;flex-direction:column;gap:5px;min-width:150px;max-width:280px}.sticky-place>.eyebrow{color:var(--text);font-size:11px}.sticky-place>span:last-child{font-size:10px;color:var(--muted)}.sticky-place strong{font-size:15px;color:var(--text)}.sticky-place small{font-size:9px}.sticky-scores{display:grid;grid-template-columns:65px minmax(110px,1fr) minmax(110px,1fr);gap:2px 24px;align-items:baseline;flex:1;white-space:nowrap}.sticky-label{font-size:9px;color:var(--muted);letter-spacing:.6px}.sticky-scores>strong{font-size:11px;font-weight:400}.sticky-scores b{font-family:var(--display);font-size:24px;font-weight:600;margin-left:7px}.sticky-scores>span:not(.sticky-label){font-size:13px;font-variant-numeric:tabular-nums}.sticky-inner>.difference-link{font-size:10px;white-space:nowrap}.sticky-inner>.icon-button{height:28px;width:28px;font-size:19px;flex-shrink:0}.dashboard>.official-heading{margin-top:0}.dashboard>.progress-panel{padding:14px 0 16px}.dashboard>.progress-panel .updates{margin-top:12px}.dashboard>.progress-panel .progress-track{margin-top:8px}.dashboard>.projection-hero .projected-value{font-size:62px}.dashboard>.projection-hero .projection-numbers{margin-bottom:20px}.dashboard>.candidate-plates .observed-value{font-size:44px}.dashboard>.candidate-plates .candidate-plate{padding-top:22px;padding-bottom:22px}html{scroll-padding-top:130px}
@media(max-width:1250px){.sticky-inner{margin:0 35px;gap:20px}.sticky-scores{column-gap:15px}.sticky-inner>.difference-link{font-size:9px}}
@media(max-width:850px){.sticky-inner{margin:0 25px;gap:15px}.sticky-place{min-width:125px;max-width:190px}.sticky-scores{grid-template-columns:55px 90px 90px;gap:3px 12px}.sticky-scores b{font-size:20px}.sticky-inner>.difference-link{font-size:8px;white-space:normal;max-width:100px}.sticky-place small{display:none}.sticky-inner>.icon-button{display:none}}
@media(max-width:600px){.difference-callout{align-items:flex-start;flex-direction:column;gap:4px;padding:17px 0 14px}.difference-callout>span{font-size:10px}.difference-link{font-size:12px}.dashboard>.projection-hero .projected-value{font-size:clamp(35px,10vw,50px)}.dashboard>.candidate-plates .observed-value{font-size:36px}.dashboard>.candidate-plates .candidate-plate{padding-top:14px;padding-bottom:14px}.sticky-inner{display:block;margin:0 18px;padding:9px 0 8px}.sticky-place{max-width:none;flex-direction:row;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:4px;padding-right:0}.sticky-place>.eyebrow{font-size:9px;letter-spacing:.7px;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sticky-place>span:last-child{font-size:8px;white-space:nowrap}.sticky-place strong{font-size:12px}.sticky-scores{grid-template-columns:58px 1fr 1fr;gap:0 10px}.sticky-scores>strong{font-size:10px}.sticky-scores b{font-size:22px;margin-left:4px}.sticky-scores>span:not(.sticky-label){font-size:12px}.sticky-label{font-size:8px}.sticky-inner>.difference-link{display:block;font-size:9px;max-width:none;white-space:nowrap;padding:5px 0 0;margin-left:68px}.sticky-inner>.icon-button{display:none}.difference-row h3{font-size:20px}.difference-row{gap:12px}html{scroll-padding-top:145px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* Official Neuraldata identity, copied from neuraldata.io without redrawing. */
.brand{gap:8px;color:#edeee8;letter-spacing:normal}.brand .nd-wordmark-mark{width:28px;height:28px;flex-shrink:0}.brand .nd-lettering{width:148px;height:auto;flex-shrink:0}.brand-tagline{font-family:"IBM Plex Mono",monospace;font-size:9px;color:#a3a199;text-transform:uppercase;letter-spacing:1px;margin-left:5px}.eyebrow,.edition,.product-meta,.sticky-label{font-family:"IBM Plex Mono",monospace}.footer-brand{display:inline-flex}.projection-stamp{color:#a9f0e6}.difference-link{color:#a9f0e6}.secondary-button{border-color:#ffffff24}.secondary-button:hover{background:#242a2e}.segmented button[aria-pressed=true] .line-key{border-color:#0e0f11}@media(max-width:1100px){.brand-tagline{display:none}}@media(max-width:600px){.brand .nd-wordmark-mark{width:25px;height:25px}.brand .nd-lettering{width:135px;height:auto}.brand{gap:7px}.projection-heading h2{font-size:20px}.sticky-place .eyebrow{letter-spacing:.2px}}

/* Apurado has visual priority in the revised score hierarchy. */
.dashboard>.candidate-plates .observed-value{font-size:56px}.dashboard>.projection-hero .projected-value{font-size:54px}.dashboard>.official-heading .eyebrow{font-size:11px}.dashboard>.official-heading>span:last-child{font-size:11px}@media(max-width:600px){.dashboard>.candidate-plates .observed-value{font-size:40px}.dashboard>.projection-hero .projected-value{font-size:clamp(33px,9.5vw,43px)}.dashboard>.official-heading .eyebrow{font-size:9px}.dashboard>.official-heading>span:last-child{font-size:9px}}

/* Geographic exploration: official NeuralData surface, custom reader controls. */
.dashboard{animation:none}
.map-canvas{overflow:hidden;border-radius:4px;isolation:isolate}
.interactive-map{position:absolute;inset:0;font-family:var(--body)}
.map-navigation{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:30px;margin-top:12px;color:var(--muted);font-size:11px;line-height:1.4}
.map-navigation button{font-size:11px;padding:6px 0}
.map-gesture-hint{font-size:10px;line-height:1.5;color:var(--muted);text-align:center;margin:10px 0 22px}
.map-touch-hint{display:none}
.map-loading-overlay{position:absolute;z-index:3;left:12px;bottom:12px;display:flex;align-items:center;gap:10px;padding:12px 15px;background:#0e0f11ed;border:1px solid var(--line);border-radius:4px;font-size:11px;max-width:calc(100% - 24px)}
.map-loading-overlay .spinner{width:14px;height:14px;flex-shrink:0}
.map-loading-overlay .secondary-button{font-size:10px}
.map-state-label{color:#f2f0ea;font-family:'IBM Plex Mono',monospace;font-size:11px;font-weight:600;text-shadow:0 1px 3px #000,0 0 3px #000,0 0 4px #000;pointer-events:none}
.map-selection-label{background:#0e0f11ed;border:1px solid #f2f0ea90;color:var(--text);padding:6px 10px;font-size:11px;line-height:1.3;border-radius:3px;max-width:180px;text-align:center;pointer-events:none}
.map-canvas .maplibregl-ctrl-group{background:#0e0f11eb;border:1px solid #ffffff30;box-shadow:0 2px 10px #0002;border-radius:4px}
.map-canvas .maplibregl-ctrl-group button{width:40px;height:40px;color:var(--text)}
.map-canvas .maplibregl-ctrl-group button+button{border-top:1px solid #ffffff30}
.map-canvas .maplibregl-ctrl-group button:hover{background:#2a2d31}
.map-canvas .maplibregl-ctrl-group button .maplibregl-ctrl-icon{filter:invert(1)}
.map-canvas .maplibregl-ctrl-group button:disabled{opacity:.4}
.map-home-control svg{width:19px;height:19px;display:block;margin:auto}
.map-canvas .maplibregl-canvas:focus-visible{outline:2px solid var(--cream);outline-offset:-2px}
.map-canvas .map-tooltip{z-index:3;background:#0e0f11ed;border-color:#ffffff30;max-width:calc(100% - 75px)}
.map-fallback-note{position:absolute;left:0;right:0;bottom:0;font-size:10px;line-height:1.5;color:var(--muted);background:#15171ae8;padding:8px 12px;text-align:center;pointer-events:none}
.map-canvas[data-renderer=svg]>svg{padding-bottom:35px}
.map-canvas[data-renderer=svg] .map-tooltip{bottom:45px}
.map-canvas .maplibregl-cooperative-gesture-screen{background:#0e0f11ad;color:var(--text);font-family:var(--body);font-size:14px;line-height:1.5}
@media(pointer:coarse){.map-touch-hint{display:inline}.map-mouse-hint{display:none}}
@media(max-width:600px){
  .map-navigation{font-size:10px;gap:8px}.map-navigation button{font-size:10px;white-space:nowrap}
  .map-gesture-hint{font-size:9px;margin-bottom:22px}.map-state-label{font-size:9px}
  .map-canvas .maplibregl-ctrl-group button{width:44px;height:44px}
  .map-canvas .maplibregl-ctrl-top-right .maplibregl-ctrl{margin:6px 6px 0 0}
  .map-selection-label{font-size:10px;max-width:140px}
  .map-loading-overlay{font-size:10px;left:5px;bottom:5px;padding:9px 10px;max-width:calc(100% - 10px)}
  .map-canvas .map-tooltip{left:5px;bottom:5px}
}

.map-update-failed .interactive-map{visibility:hidden;pointer-events:none}

/* Geography actions and chart tabs remain obvious on a touch screen. */
#choose-place,#back-brazil,.territory-action{background:var(--cream);color:var(--bg);border:1px solid var(--cream);font-size:13px;font-weight:600;min-height:48px;padding:12px 18px;gap:12px}
#choose-place:hover,#back-brazil:hover,.territory-action:hover{background:#cef8f1;border-color:#cef8f1;text-decoration:none}
#choose-place>span,#back-brazil>span{font-size:19px;line-height:1}
#back-brazil{min-height:44px;font-size:12px;padding:10px 15px;flex-shrink:0}
.map-df-marker{position:absolute;width:0;height:0;z-index:2;pointer-events:none}
.map-df-marker::before{content:'';position:absolute;left:0;top:0;width:95px;height:1.5px;background:var(--cream);transform:rotate(6.1deg);transform-origin:left center}
.map-df-marker::after{content:'';position:absolute;width:7px;height:7px;left:-3.5px;top:-3.5px;border-radius:50%;background:#fff;box-shadow:0 0 0 2px #0e0f11}
.map-df-button{position:absolute;left:72px;top:-12px;width:44px;height:44px;border:2px solid var(--cream);border-radius:6px;background:var(--bg);color:var(--cream);font-family:'IBM Plex Mono',monospace;font-size:14px;font-weight:600;box-shadow:0 2px 12px #0005;pointer-events:auto;touch-action:manipulation}
.map-df-button:hover,.map-df-button:focus-visible{background:var(--cream);color:var(--bg)}
.map-df-button:active{background:#cef8f1;color:var(--bg)}
.exterior-link{display:flex;align-items:center;gap:14px;border:1px solid #ffffff30;background:var(--panel);border-radius:5px;padding:15px 18px;margin-bottom:16px}
.exterior-link:hover{border-color:var(--cream);background:#1b2325;text-decoration:none}
.exterior-link>svg{width:28px;height:28px;stroke:var(--cream);stroke-width:1.3;flex-shrink:0}
.exterior-link>span:nth-child(2){flex:1}
.exterior-link strong{display:block;font-size:14px;font-weight:500}
.exterior-link small{display:block;font-size:11px;margin-top:2px}
.exterior-availability{font-size:10px;color:var(--muted);border:1px solid var(--line);border-radius:3px;padding:3px 6px}
.exterior-link>span:last-child{font-size:21px;color:var(--cream)}
.exterior-notice strong{display:block;margin-bottom:5px}
.exterior-coverage{padding:35px 0 50px;max-width:760px}
.exterior-coverage h2{font-size:29px;margin-top:12px;line-height:1.2}
.exterior-coverage p{color:var(--muted);font-size:14px;line-height:1.8;margin:15px 0 25px}
.exterior-coverage .text-button{display:inline-block;margin-left:20px}
.exterior-dashboard .heading-actions .territory-action{max-width:none;min-height:48px;font-size:13px;align-self:stretch}
@media(max-width:600px){
  .page-heading{flex-direction:column;align-items:stretch;gap:18px}
  .page-heading h1{max-width:none}
  .heading-actions{align-items:stretch;padding-top:0}
  #choose-place{width:100%;max-width:none;justify-content:space-between;min-height:48px;padding:12px 16px;font-size:13px}
  .map-top{flex-wrap:wrap;gap:14px}
  .map-top>div{flex:1;min-width:120px}
  #back-brazil{min-height:44px;font-size:11px;padding:10px 12px}
  .exterior-link{display:grid;grid-template-columns:24px minmax(0,1fr) 20px;gap:7px 12px;padding:13px 12px}
  .exterior-link>svg{width:24px;height:24px;grid-column:1;grid-row:1/3}
  .exterior-link>span:nth-child(2){grid-column:2;grid-row:1}
  .exterior-link strong{font-size:13px}.exterior-link small{font-size:9px}
  .exterior-availability{grid-column:2;grid-row:2;justify-self:start;font-size:9px}
  .exterior-link>span:last-child{grid-column:3;grid-row:1/3}
  .exterior-coverage h2{font-size:24px}.exterior-coverage p{font-size:12px}
  .exterior-coverage .text-button{display:block;margin-left:0;margin-top:10px}
}

.current-label{font-family:var(--display);font-size:17px;font-weight:600;font-variant-numeric:tabular-nums;paint-order:stroke;stroke:var(--bg);stroke-width:5px;stroke-linejoin:round;pointer-events:none}
@media(max-width:649px){.current-label{font-size:13px;stroke-width:4px}}

/* Candidate names sit on the outer edges; both numeric columns stay centered. */
.progress-track{overflow:visible}
.progress-track>span{position:relative;border-radius:inherit}
.progress-end{position:absolute;right:0;top:50%;width:12px;height:12px;transform:translate(50%,-50%);border-radius:50%;background:#fff;box-shadow:0 0 0 3px var(--bg)}
.dashboard>.candidate-plates .candidate-plate{display:flex;flex-direction:column;align-items:stretch;gap:12px}
.candidate-plates .candidate-name{min-height:40px;justify-content:flex-start}
.candidate-plates .candidate-22 .candidate-name{flex-direction:row-reverse;text-align:right}
.candidate-plates .observed-value,.candidate-plates .observed-votes{text-align:center;width:100%}
.candidate-plates .observed-votes strong{display:block;font-size:14px}
.projection-numbers .projected-candidate:first-child{padding-right:24px}
.projection-numbers .projected-candidate:last-child{padding-left:24px}
.projection-numbers .projected-value,.projection-numbers .projected-votes{text-align:center;max-width:none}
.projection-numbers .projected-votes{display:block}
.projection-numbers .projected-name{min-height:32px}
.projection-numbers .candidate-22 .projected-name{justify-content:flex-end;text-align:right}
.projection-numbers .candidate-22 .projected-name small{margin-left:0;margin-right:0}
@media(max-width:600px){
  .dashboard>.candidate-plates .candidate-plate{gap:10px}
  .candidate-plates .candidate-name{min-height:43px;align-items:flex-start}
  .candidate-plates .observed-votes strong{font-size:12px}
  .projection-numbers .projected-candidate:first-child{padding-right:12px}
  .projection-numbers .projected-candidate:last-child{padding-left:12px}
  .projection-numbers .candidate-22 .projected-name small{margin-right:0}
}

/* The national probability view has a different denominator from vote share. */
.chart-tabs button{min-height:44px}
.victory-panel{border:1px solid var(--line);border-radius:6px;padding:26px 28px;background:var(--panel)}
.victory-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}
.victory-intro h3{font-size:26px;letter-spacing:-.5px;margin-top:9px}
.victory-intro>.development{white-space:nowrap}
.victory-lead{font-size:13px;color:var(--muted);margin-top:12px;max-width:650px}
.victory-candidates{display:grid;grid-template-columns:1fr 1fr;gap:30px;margin:28px 0 22px}
.victory-candidate{border-top:2px solid var(--candidate);padding-top:15px;min-width:0}
.victory-candidate>span{color:var(--candidate);font-weight:500;font-size:16px;display:block}
.victory-candidate>span small{color:var(--muted);margin-left:10px;font-size:10px}
.victory-value{display:block;font-family:var(--display);font-size:64px;font-weight:600;color:var(--candidate);letter-spacing:-2px;line-height:1.3;font-variant-numeric:tabular-nums}
.victory-candidate>small{font-size:11px}
.victory-candidate.candidate-22>span{text-align:right}
.victory-candidate .victory-value,.victory-candidate>small{text-align:center;display:block}
.victory-pending{padding:17px 20px;background:#a9f0e609;border-left:2px solid var(--cream)}
.victory-pending strong{font-size:14px;font-weight:500;color:var(--text)}
.victory-pending p{margin-top:6px;font-size:12px;line-height:1.7;color:var(--muted);max-width:770px}
.victory-context{display:grid;grid-template-columns:.8fr 1fr 1fr;gap:25px;margin-top:26px;padding-top:22px;border-top:1px solid var(--line)}
.victory-context>div{display:flex;flex-direction:column;gap:5px;min-width:0}
.victory-context span{font-size:11px;color:var(--muted)}
.victory-context strong{font-family:var(--display);font-size:27px;font-weight:500;font-variant-numeric:tabular-nums;letter-spacing:-.6px}
.victory-context small{font-size:10px}
.victory-explanation{margin-top:25px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}
.victory-explanation summary{cursor:pointer;display:flex;justify-content:space-between;gap:15px;padding-top:17px;color:var(--text)}
.victory-explanation summary>span{font-size:17px}
.victory-explanation p{margin-top:13px;line-height:1.8;max-width:820px}
.victory-update{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:var(--muted)}
.probability-history{border-top:1px solid var(--line);padding-top:24px;margin-top:24px}
.probability-history svg{width:100%;margin-top:18px}
.probability-history>p{font-size:10px;color:var(--muted)}
@media(max-width:600px){
  .chart-tabs{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:9px}
  .chart-tabs button{font-size:10px;line-height:1.4;text-align:left;min-width:0}
  .victory-panel{padding:20px 16px}
  .victory-intro{flex-direction:column;gap:10px}.victory-intro .eyebrow{font-size:8px}.victory-intro h3{font-size:24px}.victory-intro>.development{font-size:9px}
  .victory-lead{font-size:11px;line-height:1.7}
  .victory-candidates{gap:18px;margin:23px 0}.victory-candidate>span{font-size:13px;min-height:40px}.victory-candidate>span small{display:block;font-size:9px;margin:3px 0 0}.victory-value{font-size:42px;letter-spacing:-1.5px}.victory-candidate>small{font-size:9px}
  .victory-pending{padding:13px 12px}.victory-pending strong{font-size:12px}.victory-pending p{font-size:11px}
  .victory-context{grid-template-columns:1fr;gap:16px;margin-top:21px;padding-top:20px}.victory-context>div{display:grid;grid-template-columns:1fr auto;align-items:baseline;gap:3px 10px}.victory-context strong{font-size:20px}.victory-context span{font-size:10px}.victory-context small{grid-column:1/-1;font-size:9px}
  .victory-explanation{font-size:11px;margin-top:20px}.victory-explanation summary{line-height:1.6}.victory-update{font-size:10px;flex-direction:column;gap:5px}.probability-history .eyebrow{font-size:8px}
}

/* Historical updates stay in sync across the scoreboard, chart and geography. */
.history-context{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:11px 15px;margin:-6px 0 22px;border:1px solid var(--line);border-left:3px solid var(--cream);border-radius:3px;background:var(--panel)}
.history-context-copy{display:flex;align-items:baseline;gap:15px;font-size:11px;color:var(--muted)}
.history-context-copy strong{font-weight:500;color:var(--text)}
.history-context time,.timeline-readout time{font-variant-numeric:tabular-nums}
.history-context[data-historical=true]{background:#a9f0e60a;border-color:#a9f0e647}
.history-context .text-button{white-space:nowrap;font-size:11px;padding:5px 0}
.history-context[data-historical=false] .text-button{visibility:hidden}
.sticky-time{display:block;font-family:var(--body);font-size:9px;color:var(--muted);font-weight:400;letter-spacing:0;text-transform:none;margin-top:3px}
.map-time{display:block;margin-top:7px;color:var(--muted);font-size:11px;font-variant-numeric:tabular-nums}
.time-explorer{margin-top:25px;padding:22px 24px 18px;border:1px solid #ffffff30;border-radius:6px;background:var(--panel);overflow-anchor:none}
.timeline-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}
.timeline-heading h3{font-size:17px;letter-spacing:-.3px}
.history-status{border:1px solid #ffffff24;color:var(--muted);border-radius:3px;padding:3px 7px;font-size:10px;white-space:nowrap}
.time-explorer[data-historical=true] .history-status{color:var(--cream);border-color:#a9f0e64d;background:#a9f0e60a}
.timeline-readout{display:flex;align-items:baseline;gap:16px;margin-top:16px}
.timeline-readout time{font-family:var(--display);font-size:28px;letter-spacing:-.6px}
.timeline-readout>span{font-size:12px;color:var(--muted)}
.timeline-scrubber{display:flex;align-items:center;gap:18px;margin-top:12px}
.timeline-step{width:44px;height:44px;display:grid;place-items:center;flex-shrink:0;border:1px solid #ffffff30;border-radius:4px;background:transparent;color:var(--text);font-size:28px;line-height:1}
.timeline-step:hover:enabled{background:#a9f0e613;border-color:var(--cream)}
.timeline-step:disabled{opacity:.3}
.timeline-track{position:relative;flex:1;min-width:0}
#history-point{display:block;appearance:none;-webkit-appearance:none;width:100%;height:44px;margin:0;background:transparent;cursor:ew-resize;touch-action:pan-y}
#history-point::-webkit-slider-runnable-track{height:5px;border-radius:3px;background:linear-gradient(to right,var(--cream) var(--time-progress,100%),#ffffff26 var(--time-progress,100%))}
#history-point::-moz-range-track{height:5px;border-radius:3px;background:#ffffff26}
#history-point::-moz-range-progress{height:5px;background:var(--cream);border-radius:3px}
#history-point::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:24px;height:24px;margin-top:-9.5px;border:5px solid var(--panel);border-radius:50%;background:var(--cream);box-shadow:0 0 0 1px var(--cream)}
#history-point::-moz-range-thumb{box-sizing:border-box;width:24px;height:24px;border:5px solid var(--panel);border-radius:50%;background:var(--cream);box-shadow:0 0 0 1px var(--cream)}
#history-point:focus-visible{outline-offset:5px;border-radius:4px}
.timeline-ticks{position:absolute;left:12px;right:12px;bottom:0;display:flex;justify-content:space-between;pointer-events:none}
.timeline-ticks i{width:1px;height:4px;background:#ffffff40}
.timeline-ends{display:flex;justify-content:space-between;gap:10px;margin:8px 62px 0;font-size:10px;color:var(--muted);font-variant-numeric:tabular-nums}
.timeline-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:17px;padding-top:12px;border-top:1px solid var(--line)}
.timeline-footer output{font-size:10px;color:var(--muted)}
.timeline-footer .text-button{padding:4px 0;font-size:11px}
.timeline-hint{font-size:11px;color:var(--muted);margin-top:8px}
@media(max-width:600px){
  .history-context{padding:10px 11px;gap:10px;margin-top:0;margin-bottom:20px}
  .history-context-copy{flex-direction:column;gap:2px;font-size:10px}
  .history-context .text-button{font-size:10px;white-space:normal;max-width:102px;text-align:right}
  .sticky-time{font-size:8px;margin-top:1px}
  .map-time{font-size:9px}
  .time-explorer{padding:17px 13px 15px;margin-top:22px}
  .timeline-heading{gap:8px}.timeline-heading h3{font-size:15px}.history-status{font-size:8px;padding:3px 5px}
  .timeline-readout{gap:11px;margin-top:15px}.timeline-readout time{font-size:25px}.timeline-readout>span{font-size:10px}
  .timeline-scrubber{gap:12px;margin-top:8px}.timeline-ends{margin-left:56px;margin-right:56px;font-size:9px}
  .timeline-footer{align-items:flex-start;gap:12px;margin-top:18px}.timeline-footer output{font-size:9px;max-width:125px}.timeline-footer .text-button{font-size:10px;max-width:125px;padding:0;text-align:right}
  .timeline-hint{font-size:10px;line-height:1.6}
}

@media(max-width:600px){
  .chart-tabs{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:4px;padding:4px;background:var(--panel);border:1px solid #ffffff38;border-radius:7px}
  .chart-tabs button{min-height:50px;padding:9px 6px;border:1px solid #ffffff26;border-radius:4px;background:#25282d;color:#dadbd6;font-size:11px;line-height:1.4;text-align:center;font-weight:500;transition:background .15s,color .15s}
  .chart-tabs button:hover{background:#34393e}
  .chart-tabs button[aria-pressed=true]{background:var(--cream);color:var(--bg);border-color:var(--cream);font-weight:600}
  .chart-tabs button:focus-visible{outline-offset:2px}
}
