:root{--ink:#142e3e;--muted:#64736f;--paper:#f6f5ee;--line:#dedfd5;--red:#bb493d;--blue:#28688f;--green:#286750;--peach:#edb49b;--radius:15px}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:85px}body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.6 Inter,"Segoe UI",Arial,sans-serif}button,input,select{font:inherit;color:inherit}button,a,input,select{touch-action:manipulation}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #b66d29;outline-offset:3px}button:disabled{cursor:default;opacity:.5}[hidden]{display:none!important}.page{width:min(100% - 40px,1080px);margin-inline:auto}.top{height:74px;padding:0 max(20px,calc((100vw - 1080px)/2));display:flex;align-items:center;justify-content:space-between;background:#f6f5eef0;backdrop-filter:blur(14px);border-bottom:1px solid #dedfd580;position:sticky;top:0;z-index:20}.brand{text-decoration:none;display:flex;gap:8px;align-items:center;font-size:16px;letter-spacing:1.8px;font-weight:800;line-height:1}.brand-symbol{font-size:35px;font-weight:400;color:var(--red);line-height:1}.year{font-size:9px;font-weight:500;color:var(--muted);border:1px solid var(--line);padding:5px;border-radius:3px;margin-left:6px}.icon-button{width:42px;height:42px;background:transparent;border:1px solid var(--line);border-radius:50%;font-size:25px;line-height:1}.hero{padding:63px 0 45px;max-width:1080px}.eyebrow{display:flex;align-items:center;gap:7px;letter-spacing:1.6px;font-size:10px;font-weight:750;color:var(--green);margin:0 0 22px}.live-dot{width:6px;height:6px;background:var(--green);border-radius:50%}h1,h2{font-family:Georgia,"Times New Roman",serif;font-weight:400;line-height:1.04;letter-spacing:-1.7px}h1{font-size:clamp(62px,8vw,110px);margin:0 0 30px}h1 em,h2 em{font-weight:400;color:var(--red);font-style:italic}h2{font-size:clamp(35px,4.6vw,57px);margin:0 0 24px;letter-spacing:-1.3px}.hero-copy{font-size:18px;max-width:465px;color:var(--muted);line-height:1.65;margin:0 0 30px}.hero-copy strong{color:var(--ink);font-weight:650}.primary,.secondary{display:flex;align-items:center;justify-content:space-between;text-decoration:none;border-radius:7px;font-size:14px;font-weight:650;min-height:52px;border:0;padding:15px 19px}.primary{background:var(--ink);color:#fff;max-width:360px;gap:20px}.primary>span{font-size:22px;line-height:1}.primary:hover{background:#254454}.secondary{background:#e9ede4;border:1px solid #d2dacd;color:var(--ink);gap:15px;justify-content:center}.text-link{display:inline-block;margin-top:18px;font-size:12px;color:var(--muted);text-underline-offset:5px}.hero-preview{display:flex;align-items:center;gap:27px;padding:25px 0 0;margin-top:35px;border-top:1px solid var(--line);max-width:480px}.hero-preview>div{display:flex;flex-direction:column}.tiny{font-size:9px;letter-spacing:1px;color:var(--muted);font-weight:650}.hero-preview strong{font-size:18px;letter-spacing:-.5px;margin-top:6px}.arrow{font-size:25px;color:#99a59a}.caption{font-size:10px;line-height:1.6;color:var(--muted);margin:13px 0 0}.hero>.caption{font-size:9px}.red{color:var(--red)}.blue{color:var(--blue)}.story{padding:55px 0 65px;border-top:1px solid var(--line)}.step-tabs{display:flex;gap:6px;margin:30px 0 14px;overflow-x:auto}.step-tabs button{min-height:42px;flex:1;white-space:nowrap;padding:9px 10px;font-size:11px;font-weight:650;color:var(--muted);border:1px solid var(--line);border-radius:6px;background:transparent}.step-tabs [aria-selected=true]{background:var(--ink);border-color:var(--ink);color:#fff}.step-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:30px;min-height:295px}.step-number{font-size:10px;letter-spacing:1px;color:var(--green);font-weight:700}.step-card h3{font-size:21px;line-height:1.3;margin:12px 0}.step-card .big{font-size:42px;letter-spacing:-1.8px;font-weight:650;line-height:1.1;margin:20px 0}.step-card p{color:var(--muted);font-size:13px;max-width:750px;margin:0}.step-card strong{color:var(--ink)}.mini-bar{height:11px;border-radius:3px;display:flex;overflow:hidden;margin:25px 0 8px;background:#d7ddce}.mini-bar i{display:block;height:100%;background:var(--red)}.mini-bar i+ i{background:var(--blue)}.mini-bar-labels{display:flex;justify-content:space-between;font-size:10px;color:var(--muted)}.next-step{display:block;margin:13px 0 0 auto;border:0;background:transparent;color:var(--green);padding:7px 0;font-weight:650;min-height:40px;font-size:12px}.candidate-pair{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:30px}.candidate-pair article{padding:25px;border-top:1px solid var(--line)}.candidate-title{display:flex;align-items:center;gap:8px;font-weight:700;font-size:14px}.candidate-title small{color:var(--muted);font-size:10px;font-weight:500}.avatar{border:1px solid currentColor;border-radius:50%;width:29px;height:29px;display:grid;place-items:center;font-size:11px}.candidate-total{font-size:27px;letter-spacing:-1px;font-weight:650;margin-top:17px;font-variant-numeric:tabular-nums}.candidate-total>span{font-weight:400;color:#91a095;font-size:21px}.candidate-total small{display:block;font-size:10px;font-weight:400;letter-spacing:0;color:var(--muted);margin-top:1px}.candidate-pair p{font-size:12px;margin-top:15px}.candidate-pair p span{font-size:10px;color:var(--muted)}.math-section{background:var(--ink);color:#f8f5ec;padding:65px 0}.math-section .eyebrow{color:#a8c3ad}.math-section h2{color:#f8f5ec;max-width:760px}.section-lead{font-size:15px;color:var(--muted);max-width:620px;line-height:1.7;margin:0 0 28px}.math-section .section-lead{color:#c7d1cd}.pool{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:40px 0 32px}.pool>div{flex:1}.pool strong{font-size:46px;font-weight:550;letter-spacing:-1.5px;display:block;line-height:1.1}.pool strong small{font-size:21px;letter-spacing:0;font-weight:400}.pool span{font-size:12px;line-height:1.5;color:#c5d0cc;display:block;margin-top:12px}.operator{font-size:26px;font-weight:400;color:#8fa69c}.pool-total strong{color:var(--peach)}.gain-split{display:flex;border-radius:7px;overflow:hidden;min-height:76px}.gain-split>div{padding:16px;display:flex;flex-direction:column;justify-content:center}.gain-split .lula{width:73.6028%;background:#bd5d4f}.gain-split .flavio{width:26.3972%;background:#346b89}.gain-split b{font-size:14px;white-space:nowrap}.gain-split small{font-size:9px;color:#fff;margin-top:4px;opacity:.85}.math-caution{font-size:12px;color:#c7d1cd;margin:20px 0 0}.math-caution strong{color:#fff}.math-details{border-top:1px solid #426052;margin-top:30px;padding-top:22px}.math-details summary{font-size:13px;font-weight:600;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:15px}.math-details summary span{font-size:22px;line-height:1}.math-details p{font-size:12px;color:#c7d1cd;max-width:800px}#exactMath{margin:22px 0}#exactMath>div{display:flex;justify-content:space-between;gap:15px;padding:14px 0;border-top:1px solid #345044;font-size:12px}#exactMath b{font-variant-numeric:tabular-nums;font-size:14px;white-space:nowrap}#exactMath .sum{border-top:1px solid #8ca68e;color:var(--peach);font-weight:700}.local-section{padding:65px 0}.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:26px}.finder{max-width:760px;position:relative}.finder label{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:700;margin-bottom:12px}.number{width:22px;height:22px;display:grid;place-items:center;border-radius:50%;color:white;background:var(--green);font-size:10px;font-weight:600}.search-field{position:relative}.search-field>span{position:absolute;left:14px;top:7px;font-size:25px;color:var(--green)}input[type=search]{width:100%;height:53px;border:1px solid #ccd5c8;border-radius:7px;padding:12px 35px 12px 45px;font-size:16px;background:#fafbf7}input[type=search]::placeholder{color:#879082;font-size:13px}.quick-cities{display:flex;align-items:center;gap:8px;margin-top:15px;flex-wrap:wrap}.quick-cities>span{font-size:9px;color:var(--muted)}.quick-cities button{border:1px solid #dde4d5;border-radius:5px;background:#f4f7ef;padding:7px 8px;font-size:10px;min-height:32px}.hits{border:1px solid var(--line);border-radius:8px;max-height:295px;overflow-y:auto;margin-top:7px;background:white}.hits button{display:block;text-align:left;width:100%;padding:13px 14px;border:0;border-bottom:1px solid #e6eade;background:#fff;font-size:13px;min-height:48px}.hits button:hover,.hits button:focus{background:#eef3e8}.hits button small{display:block;color:var(--muted);font-size:10px;margin-top:3px}.hits .empty{padding:16px;color:var(--muted);font-size:12px}#schoolFinder{border-top:1px solid var(--line);padding-top:24px;margin-top:25px}#finderStatus,#schoolLoading{font-size:12px;margin:12px 0 0;color:var(--muted)}.scope-tabs{display:flex;gap:8px;margin:26px 0 13px}.scope-tabs button{background:transparent;border:1px solid var(--line);border-radius:6px;padding:10px 12px;min-height:44px;font-size:11px;font-weight:650}.scope-tabs [aria-selected=true]{background:#e7eddf;border-color:#b6c8ad;color:var(--green)}.result-card{max-width:760px}.result-card h3{font-family:Georgia,serif;font-size:30px;font-weight:400;letter-spacing:-.6px;margin:0 0 5px;line-height:1.15}.result-eyebrow{font-size:9px;letter-spacing:1.4px;color:var(--green);margin-bottom:9px}.result-subtitle{font-size:10px;color:var(--muted);margin-bottom:22px}.vote-row{margin:20px 0}.vote-row>div:first-child{display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:650;margin-bottom:10px}.rounds{display:grid;grid-template-columns:1fr 1fr;gap:20px}.rounds strong{font-size:25px;line-height:1.2;letter-spacing:-.6px;display:block;font-variant-numeric:tabular-nums}.rounds small{display:block;color:var(--muted);font-size:10px;margin-top:5px}.vote-track{height:4px;background:#edf0e7;margin:9px 0}.vote-track i{display:block;height:4px;background:currentColor}.vote-delta{font-size:10px;color:var(--muted)}.vote-delta b{font-weight:700;color:var(--ink)}.margin-note{background:#edf2e6;border-left:3px solid var(--green);border-radius:0 7px 7px 0;padding:15px;font-size:12px;line-height:1.7;margin-top:22px}.margin-note strong{display:block;font-size:18px;letter-spacing:-.4px}.result-links{display:flex;gap:20px;font-size:10px;margin-top:20px;flex-wrap:wrap;color:var(--blue)}#sectionControls{margin-top:20px;max-width:760px}#sectionControls label{display:block;font-size:12px;font-weight:650;margin-bottom:9px}select{max-width:100%;height:48px;padding:10px 12px;border:1px solid #ccd5c8;background:white;border-radius:7px;font-size:14px}#sectionSelect{width:100%}#loadSchool{margin-top:12px;width:100%;font-size:12px}#sectionResult{margin-top:16px;max-width:760px}.section-alert{font-size:12px;padding:17px 18px;background:#f1ead8;border:1px solid #ddcda9;border-radius:9px;color:#61522d;margin-bottom:15px}.section-alert strong{display:block;margin-bottom:5px}.section-alert.error{background:#f8e9e2;border-color:#e9c5b8;color:#7a4539}.section-alert button{font-size:12px;border:1px solid #d8b7a6;background:white;border-radius:5px;padding:8px 13px;margin-top:10px;min-height:40px}.wide{width:100%;max-width:760px;margin-top:16px;font-size:12px}.map-section{background:#e9eee5;padding:60px 0}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.section-heading>p{font-size:12px;color:var(--muted);max-width:230px;margin-bottom:25px}.map-controls{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:12px 0 15px}.map-controls select{min-width:220px;font-size:12px}.map-modes{display:flex;background:#dce4d6;border-radius:6px;padding:3px}.map-modes button{border:0;background:transparent;min-height:39px;padding:8px 14px;border-radius:4px;font-size:11px;font-weight:650;color:#5c725c}.map-modes .active{background:white;color:var(--ink);box-shadow:0 1px 5px #29432e12}.map-wrap{height:650px;background:#f2f5ee;position:relative;border:1px solid #d4decc;border-radius:var(--radius);overflow:hidden}#map{width:100%;height:100%;touch-action:none;display:block;cursor:grab}#map.dragging{cursor:grabbing}#municipalities path{stroke:#fff;stroke-width:.3;vector-effect:non-scaling-stroke;cursor:pointer}#municipalities path:hover,#municipalities path.selected{stroke:var(--ink);stroke-width:2;filter:brightness(1.05)}#states path{fill:none;stroke:#19392c;stroke-width:.65;stroke-opacity:.4;vector-effect:non-scaling-stroke}.map-buttons{position:absolute;right:14px;top:14px;display:grid}.map-buttons button{width:42px;height:42px;font-size:23px;background:white;border:1px solid #d5ddce;border-bottom:0}.map-buttons button:last-child{border-bottom:1px solid #d5ddce;border-radius:0 0 6px 6px;font-size:22px}.map-buttons button:first-child{border-radius:6px 6px 0 0}#mapLoading{position:absolute;inset:0;display:grid;place-items:center;background:#f2f5eef0;z-index:2}#mapLoading .secondary{font-size:13px}#mapTooltip{position:absolute;pointer-events:none;background:var(--ink);color:#fff;font-size:11px;padding:9px 12px;border-radius:6px;max-width:210px;z-index:3}.map-legend{display:flex;gap:25px;justify-content:center;margin-top:18px;font-size:11px}.map-legend>span{display:flex;align-items:center;gap:7px}.map-legend i{display:inline-block;width:9px;height:9px;border-radius:50%}.red-bg{background:var(--red)}.blue-bg{background:var(--blue)}#mapDescription{text-align:center}#mapResult{margin-top:20px}.places-section{padding:65px 0}.ranking-switch{display:flex;gap:8px;margin:25px 0}.ranking-switch button{padding:9px 17px;border-radius:6px;border:1px solid var(--line);background:transparent;font-size:12px;min-height:40px}.ranking-switch .active{background:var(--ink);color:white;border-color:var(--ink)}.ranking-row{display:grid;grid-template-columns:25px minmax(0,1fr) 110px;gap:12px;border-top:1px solid var(--line);padding:17px 0;align-items:center}.ranking-row>span{font-size:10px;color:var(--muted)}.ranking-row button{font-size:13px;text-align:left;border:0;background:transparent;padding:0;font-weight:650;min-height:32px}.ranking-row small{font-size:9px;color:var(--muted);display:block;font-weight:400}.ranking-row strong{font-size:16px;text-align:right;color:var(--red);letter-spacing:-.4px;font-variant-numeric:tabular-nums}.ranking-bar{height:4px;background:#e8ebdf;border-radius:2px;margin-top:9px}.ranking-bar i{display:block;height:4px;background:#c77766;border-radius:2px}.places-section details{margin-top:25px}.card summary{font-size:13px;font-weight:650;cursor:pointer;line-height:1.4;display:flex;justify-content:space-between;gap:20px;list-style:none}.card summary::-webkit-details-marker{display:none}.card summary span{font-size:20px;line-height:1}.card p{font-size:12px;color:var(--muted);margin:17px 0 0;line-height:1.8}.share-section{background:#ead8c8;padding:56px 0}.share-section h2{margin-top:20px}.share-section .eyebrow{color:#775443}.share-section p{font-size:14px;max-width:450px;margin-bottom:25px;color:#695d50}.text-button{display:block;background:none;border:0;font-size:12px;min-height:44px;padding:12px 0;text-decoration:underline;text-underline-offset:4px}#shareStatus{font-size:11px;margin:10px 0}.sources-section{padding:65px 0}.sources-section>p:not(.eyebrow){font-size:13px;color:var(--muted);max-width:620px}.sources-section details{margin-top:13px}.source-links{display:flex;flex-wrap:wrap;gap:10px 23px;margin-top:20px}.source-links a,.sources-section details>a{font-size:11px;color:var(--blue);text-underline-offset:3px}.source-repo{display:inline-block;font-size:12px;margin-top:24px;color:var(--green);text-underline-offset:4px}footer.page{border-top:1px solid var(--line);padding:25px 0 105px;display:flex;justify-content:space-between;gap:20px}footer>.brand{font-size:12px}footer>span{font-size:10px;color:var(--muted)}.bottom-nav{position:fixed;left:50%;transform:translateX(-50%);bottom:0;width:min(100%,480px);display:flex;justify-content:space-around;background:#f9faf5f5;backdrop-filter:blur(18px);border:1px solid #d6dfcf;border-bottom:0;border-radius:15px 15px 0 0;padding:9px 10px max(10px,env(safe-area-inset-bottom));z-index:30;box-shadow:0 -5px 20px #152e3c0a}.bottom-nav a{font-size:10px;text-decoration:none;display:flex;flex-direction:column;align-items:center;gap:0;color:#647660;min-width:55px;min-height:44px;justify-content:center}.bottom-nav span{font-size:24px;line-height:1.2}.bottom-nav a.active{color:var(--ink);font-weight:750}#toast{position:fixed;bottom:95px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;border-radius:7px;padding:12px 18px;font-size:12px;z-index:40;width:max-content;max-width:calc(100vw - 40px);box-shadow:0 4px 20px #142e3e30}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(min-width:800px){.hero{position:relative;padding-right:48%;min-height:760px}.hero h1{font-size:90px}.hero-copy{font-size:16px}.hero-preview{position:absolute;left:58%;right:0;top:210px;flex-wrap:wrap;max-width:400px;border-top:0;padding-top:0;gap:35px}.hero-preview strong{font-size:30px}.hero-preview .tiny{font-size:11px}.hero-preview .arrow{font-size:40px}.hero-preview>div{width:100%}.hero-preview>div:last-child{border-top:1px solid var(--line);padding-top:22px}.hero>.caption{position:absolute;left:58%;top:505px;max-width:340px}.story>.eyebrow,.story>h2{max-width:600px}.story .step-tabs{max-width:700px}.step-card{max-width:850px}.candidate-pair{max-width:850px}.step-card .big{font-size:60px}.step-card h3{font-size:25px}.local-section{position:relative}.local-section .finder{max-width:760px}.map-section .page{max-width:1080px}.sources-section{max-width:900px}}
@media(max-width:600px){.top{height:65px}.brand{font-size:13px;gap:6px;letter-spacing:1.5px}.brand-symbol{font-size:30px}.year{font-size:8px}.icon-button{width:36px;height:36px;font-size:22px}.hero{padding:43px 0 36px}.hero .eyebrow{font-size:9px;letter-spacing:1px;margin-bottom:25px}h1{font-size:70px;letter-spacing:-2.4px;margin-bottom:25px}h2{font-size:39px;letter-spacing:-1.3px;margin-bottom:22px}.hero-copy{font-size:15px;line-height:1.7;margin-bottom:25px}.primary{width:100%;max-width:none;font-size:13px;min-height:52px}.text-link{font-size:11px;margin-top:16px}.hero-preview{margin-top:30px;gap:16px;justify-content:space-between;padding-top:22px}.hero-preview strong{font-size:17px}.hero-preview .tiny{font-size:8px}.hero-preview .arrow{font-size:21px}.hero>.caption{font-size:8px}.story{padding:42px 0 45px}.eyebrow{font-size:9px;letter-spacing:1.3px;margin-bottom:18px}.step-tabs{gap:5px;margin-top:23px}.step-tabs button{font-size:9px;padding:9px 7px;min-height:39px}.step-card{padding:23px;min-height:300px}.step-card h3{font-size:19px}.step-card .big{font-size:39px;letter-spacing:-1.5px}.step-card p{font-size:12px}.candidate-pair{gap:12px;margin-top:20px}.candidate-pair article{padding:20px 0 0}.candidate-title{font-size:12px;gap:6px}.avatar{width:25px;height:25px;font-size:10px}.candidate-total{font-size:22px;letter-spacing:-.8px;white-space:nowrap}.candidate-total>span{font-size:16px}.candidate-total small{font-size:9px}.candidate-pair p{font-size:11px}.candidate-pair p span{font-size:9px}.math-section{padding:45px 0}.math-section h2{font-size:37px}.section-lead{font-size:13px;line-height:1.75}.pool{display:grid;grid-template-columns:1fr 20px 1fr;gap:23px 10px;margin:30px 0}.pool strong{font-size:37px}.pool strong small{font-size:18px}.pool span{font-size:10px;margin-top:9px}.pool .equals{grid-column:1/-1;text-align:center;font-size:23px;line-height:.5}.pool .pool-total{grid-column:1/-1;text-align:center;padding:20px 0;border:1px solid #4d675e;border-radius:9px}.pool-total strong{font-size:45px}.pool-total span{font-size:11px}.operator{text-align:center}.gain-split{min-height:85px}.gain-split>div{padding:12px 10px}.gain-split .lula{width:73.6028%}.gain-split .flavio{width:26.3972%}.gain-split b{font-size:11px;white-space:normal}.gain-split .flavio b{font-size:10px}.gain-split small{font-size:8px;max-width:160px}.math-caution{font-size:11px}.math-details summary{font-size:11px}#exactMath>div{font-size:10px;gap:14px}#exactMath b{font-size:12px}.math-details p{font-size:11px}.local-section{padding:45px 0}.card{padding:22px}.finder{padding:20px}.finder label{font-size:12px}input[type=search]{font-size:16px}input[type=search]::placeholder{font-size:12px}.scope-tabs{gap:6px}.scope-tabs button{flex:1;font-size:10px;padding:9px 7px;min-height:42px}.rounds{gap:15px}.rounds strong{font-size:25px}.result-card h3{font-size:27px}.result-subtitle{font-size:9px}.vote-row>div:first-child{font-size:11px}.vote-delta{font-size:9px;line-height:1.7}.margin-note{font-size:11px;padding:12px 14px}.margin-note strong{font-size:17px}.map-section{padding:45px 0}.section-heading{display:block}.section-heading>p{margin:0 0 20px;font-size:11px;max-width:none}.map-controls{display:block}.map-controls select{width:100%;min-width:0;font-size:14px;height:45px;margin-bottom:10px}.map-modes{display:flex}.map-modes button{flex:1;font-size:10px;min-height:39px}.map-wrap{height:460px;border-radius:12px}.map-buttons{right:12px;top:12px}.map-buttons button{width:39px;height:40px}.map-legend{font-size:10px}.places-section{padding:45px 0}.ranking-row{grid-template-columns:20px minmax(0,1fr) 97px;gap:9px;padding:16px 0}.ranking-row button{font-size:12px}.ranking-row strong{font-size:16px}.ranking-row small{font-size:9px}.ranking-switch button{font-size:11px}.share-section{padding:43px 0}.share-section h2{font-size:43px}.share-section p{font-size:13px}.sources-section{padding:45px 0}.sources-section h2{font-size:37px}.sources-section>p:not(.eyebrow){font-size:12px}.sources-section details{padding:20px}.card summary{font-size:12px}.card p{font-size:11px}.source-links{gap:8px 16px}.source-links a,.sources-section details>a{font-size:10px}.source-repo{font-size:11px}footer.page{padding-top:24px;padding-bottom:105px;flex-wrap:wrap}footer>span{font-size:9px}.bottom-nav{border-radius:0;border-left:0;border-right:0}#shareLocal{font-size:11px}}
@media(max-width:355px){h1{font-size:61px}.page{width:calc(100% - 32px)}.hero-preview strong{font-size:15px}.candidate-total{font-size:20px}.step-tabs button{font-size:8px}.gain-split b{font-size:10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Accessible chronological explainer and low-cost canvas map renderer. */
.timeline-intro{max-width:700px;margin:48px 0 20px;padding-top:30px;border-top:1px solid var(--line)}.timeline-intro h3{font:400 clamp(27px,3vw,38px)/1.12 Georgia,serif;letter-spacing:-.7px;margin:0 0 10px}.timeline-intro h3 em{color:var(--red)}.timeline-intro>p:last-child,.timeline-note{color:var(--muted);font-size:12px;line-height:1.7;max-width:680px}.timeline{list-style:none;counter-reset:timeline;max-width:760px;margin:25px 0;padding:0 0 0 28px;border-left:1px solid #c7d2c3}.timeline li{counter-increment:timeline;position:relative;padding:0 0 28px 20px}.timeline li:last-child{padding-bottom:0}.timeline li:before{content:counter(timeline);position:absolute;left:-42px;top:-2px;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:var(--green);color:white;font-size:11px;font-weight:700}.timeline li>span{font-size:9px;letter-spacing:1.2px;color:var(--green);font-weight:750}.timeline h4{font-size:17px;line-height:1.3;margin:5px 0}.timeline li p{font-size:12px;color:var(--muted);line-height:1.7;margin:0;max-width:650px}.timeline li b{color:var(--ink)}.timeline-note{background:#f0f2e9;border-radius:8px;padding:14px 16px;margin:25px 0 0}.timeline-note a{display:inline-block;margin-left:4px;color:var(--blue);text-underline-offset:3px}.map-wrap #map{width:100%;height:100%;display:block;touch-action:none;cursor:grab;background:#f2f5ee}.map-wrap #map.dragging{cursor:grabbing}
@media(max-width:600px){.timeline-intro{margin-top:36px;padding-top:25px}.timeline h4{font-size:15px}.timeline li p,.timeline-note{font-size:11px}.timeline{padding-left:23px}.timeline li:before{left:-36px}}
@media(max-width:600px){.hero>.caption{font-size:9px;line-height:1.55;margin-top:20px}}

/* One vector mark keeps the A Virada logo identical across browser fonts and devices. */
.brand-symbol{display:inline-flex;align-items:center;justify-content:center;width:29px;height:32px;flex:0 0 auto;color:var(--red);font-size:0;line-height:1}.brand-symbol svg{display:block;width:22px;height:22px;overflow:visible}.brand-symbol path{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:600px){.brand-symbol{width:26px;height:28px}.brand-symbol svg{width:20px;height:20px}}

.map-city-label{position:absolute;left:16px;top:16px;z-index:2;max-width:calc(100% - 82px);padding:9px 13px;border:1px solid rgba(255,255,255,.34);border-radius:7px;background:rgba(20,46,62,.92);color:#fff;font-size:14px;font-weight:700;line-height:1.25;letter-spacing:.1px;text-shadow:0 1px 2px rgba(0,0,0,.2);box-shadow:0 2px 10px rgba(20,46,62,.14);pointer-events:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:600px){.map-city-label{left:11px;top:11px;max-width:calc(100% - 70px);padding:8px 10px;font-size:12px}}

.territory-math{border-top:1px solid var(--line);margin-top:18px;padding-top:16px}.territory-math summary{cursor:pointer;font-size:12px;font-weight:650;list-style:none}.territory-math summary::-webkit-details-marker{display:none}.territory-math>p{font-size:11px;color:var(--muted);line-height:1.7;margin:12px 0}.territory-math dl{margin:12px 0}.territory-math dl>div{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:10px 0;border-top:1px solid var(--line);font-size:11px}.territory-math dt{color:var(--muted)}.territory-math dd{margin:0;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}.territory-math .territory-total{color:var(--ink);font-weight:700}.territory-math .territory-total dt{color:var(--ink)}@media(max-width:355px){.territory-math dl>div{font-size:10px;gap:8px}}

.apuracao-night{margin-top:16px}.apuracao-night ol{padding-left:22px;margin:14px 0}.apuracao-night li{padding:8px 0 8px 4px;font-size:11px;line-height:1.75;color:var(--muted)}.apuracao-night li b{color:var(--ink)}.evidence-faq h3{font-size:13px;font-family:inherit;letter-spacing:0;margin:22px 0 0}.evidence-faq p{margin-top:8px}.evidence-faq a{color:var(--blue);text-underline-offset:2px}

.bottom-nav .brand-symbol{margin-bottom:0;}

.share-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;max-width:880px;margin:30px 0 22px}.share-action{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:7px;min-height:150px;padding:22px 70px 22px 24px;border:1px solid #d2c4b6;border-radius:14px;background:#fbfaf6;color:var(--ink);text-align:left;box-shadow:0 5px 16px rgba(20,46,62,.06);transition:transform .16s ease,box-shadow .16s ease}.share-action:hover{transform:translateY(-2px);box-shadow:0 9px 22px rgba(20,46,62,.1)}.share-action-number{font-size:10px;letter-spacing:1.2px;font-weight:750;color:var(--green)}.share-action strong{font-size:19px;line-height:1.25}.share-action small{font-size:12px;line-height:1.5;color:var(--muted)}.share-action-icon{position:absolute;right:23px;top:50%;transform:translateY(-50%);width:38px;height:38px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;font-size:24px;line-height:1;color:var(--red)}.share-story-hint{max-width:880px;padding:16px 18px;border-left:3px solid var(--green);border-radius:0 8px 8px 0;background:#f7f4ee;color:#695d50;font-size:13px;line-height:1.65}.share-story-hint strong{color:var(--ink)}.share-story-hint b{color:var(--green);overflow-wrap:anywhere}#shareStatus{min-height:1.5em}
@media(max-width:600px){.share-actions{grid-template-columns:1fr;gap:12px;margin:24px 0 18px}.share-action{min-height:120px;padding:18px 64px 18px 19px;border-radius:12px}.share-action strong{font-size:17px}.share-action small{font-size:11px}.share-story-hint{padding:14px;font-size:12px}}
.story-preview{display:grid;grid-template-columns:minmax(0,340px) minmax(180px,1fr);align-items:center;gap:24px;max-width:760px;margin:28px 0 0;padding:18px;border:1px solid #d2c4b6;border-radius:14px;background:#fbfaf6}.story-preview[hidden]{display:none}.story-preview img{display:block;width:100%;height:auto;border-radius:7px;background:#f6f5ee;box-shadow:0 5px 20px rgba(20,46,62,.12)}.story-preview figcaption{display:flex;flex-direction:column;align-items:flex-start;gap:12px;color:var(--muted);font-size:13px}.story-preview figcaption strong{color:var(--ink);font-size:16px}.story-preview figcaption a{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 16px;border-radius:7px;background:var(--ink);color:white;font-weight:650;text-decoration:none}.story-preview figcaption a:hover{background:#254454}
@media(max-width:600px){.story-preview{grid-template-columns:minmax(0,1fr);gap:14px;padding:14px;margin-top:20px}.story-preview img{width:min(100%,340px);margin-inline:auto}.story-preview figcaption{align-items:center;text-align:center}.story-preview figcaption a{width:100%}}

.math-faq-link{display:inline-block;margin-top:14px;color:#f8f5ec;font-size:12px;text-underline-offset:4px}.evidence-faq{margin-top:30px;scroll-margin-top:90px}.evidence-faq>h3{font-size:20px;line-height:1.25;margin:0 0 10px}.evidence-faq>p{font-size:12px;color:var(--muted);max-width:680px}.evidence-faq .card{margin-top:10px}.evidence-faq .card summary{justify-content:flex-start;gap:12px}.evidence-faq .card summary::before{content:"+";font-size:18px;line-height:1;flex:0 0 14px;color:var(--green)}.evidence-faq .card[open] summary::before{content:"−"}

.hero-preview{flex-wrap:wrap}.hero-preview>div:last-of-type{border-top:1px solid var(--line)}.hero-preview .hero-margin-caption{flex:0 0 100%;margin:0;font-size:10px;line-height:1.5}@media(min-width:800px){.hero-preview>div:last-of-type{padding-top:22px}}@media(max-width:799px){.hero-preview{row-gap:12px}.hero-preview>div:last-of-type{border-top:0}.hero-preview .hero-margin-caption{font-size:9px}}
