:root{--blue-950:#04355f;--blue-800:#07518f;--blue-700:#075baa;--blue-600:#0b6bc1;--blue-100:#ddecfb;--blue-50:#f1f7fd;--green:#138a4b;--green-light:#e3f7ec;--ink:#16324a;--muted:#61778a;--line:#d7e2eb;--white:#fff;--shadow:0 18px 50px #04355f21}*{box-sizing:border-box}html{background:var(--blue-50);scroll-behavior:smooth;min-height:100%}body{min-height:100%;color:var(--ink);-webkit-font-smoothing:antialiased;background:radial-gradient(circle at 12% 9%,#3c97e024,#0000 28rem),linear-gradient(#fafdff 0%,#edf5fc 100%);margin:0;font-family:Arial,Helvetica,sans-serif}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}.app-shell{width:min(1240px,100%);min-height:100svh;padding:max(16px, env(safe-area-inset-top)) clamp(16px, 3vw, 38px) max(18px, env(safe-area-inset-bottom));flex-direction:column;margin:0 auto;display:flex}.brand-header{border-bottom:1px solid #075baa24;justify-content:space-between;align-items:center;gap:20px;padding:4px 0 18px;display:flex}.official-brand{width:fit-content;max-width:min(100%,278px);color:var(--blue-950);text-decoration:none;display:block}.official-brand-logo{object-fit:contain;width:100%;height:auto;display:block}.brand-lockup{color:var(--blue-700);align-items:center;gap:11px;text-decoration:none;display:flex}.brand-lockup>span:last-child{display:grid}.brand-lockup strong{letter-spacing:.02em;font-size:clamp(1.35rem,3vw,1.8rem);line-height:1}.brand-lockup small{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;margin-top:4px;font-size:.75rem;font-weight:700}.brand-symbol{color:#fff;background:var(--blue-700);border-radius:15px;place-items:center;width:48px;height:48px;display:grid;box-shadow:0 8px 20px #075baa38}.paw-mark{fill:currentColor;flex:none;width:28px;height:28px}.voting-view{flex:1}.hero-copy{text-align:center;max-width:850px;margin:clamp(26px,5vh,46px) auto clamp(22px,4vh,34px)}.eyebrow{color:var(--blue-700);letter-spacing:.12em;text-transform:uppercase;font-size:.76rem;font-weight:800;display:block}.hero-copy h1,.followup-card h1,.admin-shell h1,.admin-shell h2{color:var(--blue-950);margin:8px 0;line-height:1.08}.hero-copy h1{letter-spacing:-.04em;font-size:clamp(2rem,5vw,3.75rem)}.hero-copy p{color:var(--muted);margin:12px 0 0;font-size:clamp(1rem,2vw,1.2rem)}.kiosk-controls{justify-content:center;min-height:38px;margin-top:18px;display:flex}.kiosk-button{min-height:42px;color:var(--blue-800);cursor:pointer;background:#ffffffc7;border:1px solid #075baa38;border-radius:999px;padding:9px 15px;font-size:.8rem;font-weight:800}.kiosk-button:hover,.kiosk-button:focus-visible{border-color:var(--blue-600);outline:3px solid #0b6bc124}.kiosk-status{color:var(--green);background:var(--green-light);border-radius:999px;align-items:center;gap:8px;padding:9px 14px;font-size:.78rem;font-weight:800;display:inline-flex}.kiosk-status>span{background:currentColor;border-radius:50%;width:8px;height:8px;box-shadow:0 0 0 4px #138a4b1f}.candidate-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(14px,2vw,24px);display:grid}.candidate-card{min-width:0;color:inherit;background:var(--white);box-shadow:var(--shadow);border:2px solid #0000;border-radius:24px;transition:transform .16s,border-color .16s,box-shadow .16s;overflow:hidden}.candidate-card:hover,.candidate-card:focus-within{border-color:var(--blue-600);transform:translateY(-5px);box-shadow:0 24px 58px #04355f33}.profile-trigger{width:100%;min-height:44px;color:var(--blue-800);letter-spacing:.025em;cursor:pointer;background:linear-gradient(90deg,#f6faff,#e8f4ff);border:0;border-bottom:1px solid #075baa1f;justify-content:space-between;align-items:center;gap:10px;padding:9px 14px;font-size:.78rem;font-weight:900;display:flex}.profile-trigger>span:last-child{width:24px;height:24px;color:var(--white);background:var(--blue-700);border-radius:50%;place-items:center;font-size:1rem;line-height:1;display:grid}.profile-trigger:hover,.profile-trigger:focus-visible{background:var(--blue-100);outline:none}.candidate-vote-button{width:100%;color:inherit;cursor:pointer;text-align:left;background:0 0;border:0;padding:0;display:block}.candidate-vote-button:focus-visible{outline-offset:-4px;outline:4px solid #0b6bc147}.candidate-vote-button:active{transform:scale(.995)}.photo-frame{aspect-ratio:4/3;background:#d7ecff;width:100%;display:block;position:relative;overflow:hidden}.candidate-card:first-child .photo-frame{background:#ded2f2}.candidate-card:nth-child(2) .photo-frame{background:#cbe9fb}.candidate-card:nth-child(3) .photo-frame{background:#f8dcc0}.photo-frame img{object-fit:contain;object-position:center;width:100%;height:100%;transition:transform .22s;display:block}.candidate-vote-button:hover .photo-frame img{transform:none}.tap-pill{color:var(--white);background:#04355fe6;border-radius:999px;padding:9px 12px;font-size:.76rem;font-weight:800;position:absolute;bottom:14px;right:14px;box-shadow:0 6px 18px #04355f40}.candidate-copy{gap:10px;padding:clamp(15px,2vw,22px);display:grid}.candidate-title-row{gap:3px;display:grid}.candidate-title-row strong{color:var(--blue-950);font-size:clamp(1.35rem,2.5vw,1.85rem)}.candidate-title-row>span{color:var(--muted);font-size:.83rem;font-weight:700}.cause-chip{width:fit-content;max-width:100%;color:var(--blue-800);background:var(--blue-100);border-radius:9px;padding:7px 10px;font-size:.78rem;font-weight:800}.candidate-message{min-height:2.4em;color:var(--muted);font-size:.91rem;line-height:1.4}.campaign-line{color:var(--blue-800);text-align:center;justify-content:center;align-items:center;gap:10px;margin:clamp(24px,4vh,40px) auto 6px;font-size:clamp(.88rem,2vw,1.05rem);font-weight:800;display:flex}.campaign-line .paw-mark{width:22px;height:22px}.modal-backdrop{z-index:20;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px);background:#041f36b8;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.confirm-sheet{background:var(--white);border-radius:28px;width:min(580px,100%);padding:clamp(22px,4vw,34px);animation:.18s ease-out both rise;box-shadow:0 30px 90px #021a2f5c}.profile-backdrop{z-index:30}.profile-sheet{background:var(--white);border-radius:30px;grid-template-columns:minmax(280px,.92fr) minmax(0,1.08fr);width:min(920px,100%);max-height:calc(100svh - 32px);animation:.18s ease-out both rise;display:grid;position:relative;overflow:hidden;box-shadow:0 30px 90px #021a2f66}.profile-close{z-index:2;width:42px;height:42px;color:var(--blue-950);cursor:pointer;background:#ffffffeb;border:1px solid #075baa29;border-radius:50%;place-items:center;padding:0;font-size:1.8rem;line-height:1;display:grid;position:absolute;top:14px;right:14px;box-shadow:0 7px 20px #04355f24}.profile-close:hover,.profile-close:focus-visible{background:var(--blue-50);outline:3px solid #0b6bc133}.profile-image{background:radial-gradient(circle at 50% 35%,#ffffffe6,#0000 42%),linear-gradient(155deg,#d9ecfb,#f7fbff);place-items:center;min-height:0;padding:clamp(16px,3vw,28px);display:grid}.profile-image img{object-fit:contain;object-position:center;width:100%;height:100%;max-height:calc(100svh - 78px);display:block}.profile-content{align-self:stretch;min-width:0;max-height:calc(100svh - 32px);padding:clamp(28px,5vw,54px);overflow-y:auto}.profile-content h2{color:var(--blue-950);letter-spacing:-.045em;margin:7px 0 2px;font-size:clamp(2.2rem,6vw,4rem);line-height:1}.profile-role{color:var(--muted);margin:0 0 18px;font-size:clamp(.95rem,2vw,1.12rem);font-weight:800}.profile-cause{margin-bottom:20px}.profile-speech{color:var(--ink);white-space:pre-line;margin:0;font-size:clamp(1rem,2vw,1.13rem);line-height:1.65}.profile-actions{grid-template-columns:1fr 1.25fr;gap:12px;margin-top:26px;display:grid}@keyframes rise{0%{opacity:0;transform:translateY(18px)scale(.98)}}.confirm-person{align-items:center;gap:18px;display:flex}.confirm-person img{border:5px solid var(--blue-100);object-fit:contain;object-position:center 48%;background:var(--blue-50);border-radius:22px;width:112px;height:112px}.confirm-person h2{color:var(--blue-950);margin:6px 0;font-size:clamp(1.55rem,5vw,2.2rem)}.confirm-person p{color:var(--muted);margin:0;line-height:1.5}.sheet-actions,.choice-actions,.form-actions,.export-actions,.admin-header-actions{gap:12px;display:flex}.sheet-actions{margin-top:28px}.sheet-actions>*{flex:1}.button{min-height:52px;color:inherit;cursor:pointer;border:0;border-radius:14px;justify-content:center;align-items:center;padding:13px 20px;font-weight:800;text-decoration:none;transition:transform .14s,box-shadow .14s,background .14s;display:inline-flex}.button:disabled{cursor:wait;opacity:.62;box-shadow:none}.modal-error{margin-top:16px}.vote-receipt{color:var(--muted);margin:-10px 0 22px;font-size:.82rem}.vote-receipt strong{color:var(--blue-800);letter-spacing:.08em;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.button:hover,.button:focus-visible{outline-offset:2px;outline:3px solid #0b6bc138}.button:active{transform:translateY(1px)}.button.primary{color:var(--white);background:var(--blue-700);box-shadow:0 9px 20px #075baa38}.button.primary:hover{background:var(--blue-800)}.button.secondary{color:var(--blue-800);background:var(--blue-50);box-shadow:inset 0 0 0 1px var(--line)}.button.whatsapp{background:var(--green);box-shadow:0 9px 20px #138a4b33}.button.wide{width:100%}.button.compact{min-height:44px;padding:10px 15px}.followup-card{background:var(--white);width:min(650px,100%);box-shadow:var(--shadow);text-align:center;border-radius:30px;margin:clamp(34px,7vh,80px) auto;padding:clamp(28px,6vw,52px)}.followup-card h1{letter-spacing:-.035em;margin:10px 0 14px;font-size:clamp(2rem,6vw,3.1rem)}.lead{max-width:500px;color:var(--muted);margin:0 auto 26px;font-size:clamp(1.02rem,2.5vw,1.22rem);line-height:1.55}.success-badge{width:84px;height:84px;color:var(--green);background:var(--green-light);border-radius:28px;place-items:center;margin:0 auto 20px;display:grid}.success-badge svg{width:52px;height:52px}.success-badge path{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:6px}.choice-actions{flex-direction:column;max-width:480px;margin:0 auto}.privacy-note,.reset-note{color:var(--muted);margin:18px 0 0;font-size:.82rem}.mini-icon{color:#fff;background:var(--green);border-radius:22px;place-items:center;width:64px;height:64px;margin:0 auto 20px;font-size:.9rem;font-weight:900;display:grid}.contact-form{text-align:left;gap:18px;margin-top:28px;display:grid}label{color:var(--blue-950);gap:8px;font-size:.9rem;font-weight:800;display:grid}input[type=text],input[type=tel],input[type=password]{border:1px solid var(--line);width:100%;min-height:56px;color:var(--ink);background:#fbfdff;border-radius:13px;padding:13px 15px;font-size:1rem}input:focus{border-color:var(--blue-600);outline:3px solid #0b6bc124}.consent-row{background:var(--blue-50);color:var(--muted);border-radius:13px;grid-template-columns:auto 1fr;align-items:start;gap:11px;padding:14px;font-size:.82rem;font-weight:500;line-height:1.45}.consent-row input{width:21px;height:21px;accent-color:var(--blue-700);margin:0}.form-error{color:#8a2330;background:#fff0f2;border-radius:10px;margin:-6px 0 0;padding:10px 12px;font-size:.85rem;font-weight:700}.form-actions>*{flex:1}.adoption-banner{color:var(--blue-800);background:var(--blue-50);text-align:left;border-radius:17px;align-items:center;gap:14px;margin:26px 0;padding:17px;display:flex}.adoption-banner>div{gap:3px;display:grid}.adoption-banner span{color:var(--muted);font-size:.83rem}footer{color:var(--muted);justify-content:space-between;align-items:center;gap:16px;margin-top:auto;padding:26px 0 4px;font-size:.73rem;display:flex}footer a{color:var(--muted);text-decoration:none}footer a:hover{color:var(--blue-700);text-decoration:underline}.developer-credit{text-align:center}.admin-shell{width:min(1120px,100%);min-height:100svh;margin:0 auto;padding:clamp(20px,4vw,44px)}.admin-login{place-items:center;display:grid}.login-card{background:var(--white);width:min(460px,100%);box-shadow:var(--shadow);border-radius:26px;padding:clamp(26px,5vw,42px)}.login-official-brand{max-width:300px;margin:0 auto 26px}.admin-official-brand{max-width:245px;margin-bottom:20px}.login-card h1{font-size:clamp(2rem,6vw,2.8rem)}.login-card>p{color:var(--muted);line-height:1.5}.login-card form{gap:16px;margin-top:24px;display:grid}.back-link{color:var(--blue-700);margin-bottom:28px;font-size:.86rem;font-weight:800;text-decoration:none;display:inline-block}.admin-header{justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:28px;display:flex}.admin-header h1{letter-spacing:-.04em;font-size:clamp(2.2rem,5vw,3.3rem)}.summary-grid{grid-template-columns:repeat(3,1fr);gap:16px;display:grid}.summary-card,.results-card,.export-card{background:var(--white);border:1px solid #075baa1a;border-radius:22px;box-shadow:0 14px 38px #04355f14}.summary-card{gap:5px;padding:22px;display:grid}.summary-card>span,.summary-card small{color:var(--muted)}.summary-card>span{font-size:.85rem;font-weight:800}.summary-card strong{color:var(--blue-950);letter-spacing:-.04em;font-size:2.6rem}.summary-card small{font-size:.76rem}.summary-card.featured{color:#fff;background:var(--blue-700);border-color:#0000}.summary-card.featured>span,.summary-card.featured small,.summary-card.featured strong{color:#fff}.results-card{margin-top:20px;padding:clamp(22px,4vw,34px)}.section-heading{justify-content:space-between;align-items:center;gap:20px;display:flex}.section-heading h2,.export-card h2{font-size:clamp(1.45rem,3vw,2rem)}.result-status{color:var(--blue-800);background:var(--blue-100);border-radius:999px;padding:7px 10px;font-size:.72rem;font-weight:800}.result-list{gap:22px;margin-top:28px;display:grid}.result-row{grid-template-columns:minmax(130px,1fr) minmax(220px,3fr) 80px;align-items:center;gap:20px;display:grid}.result-name,.result-number{gap:3px;display:grid}.result-name strong,.result-number strong{color:var(--blue-950)}.result-name span,.result-number span{color:var(--muted);font-size:.75rem}.result-progress{background:var(--blue-100);border-radius:999px;height:13px;overflow:hidden}.result-progress>span{border-radius:inherit;background:linear-gradient(90deg, var(--blue-700), #52a7e8);min-width:0;height:100%;transition:width .3s;display:block}.result-number{text-align:right}.result-number strong{font-size:1.35rem}.export-card{justify-content:space-between;align-items:center;gap:24px;margin-top:20px;padding:clamp(22px,4vw,34px);display:flex}.export-card p{color:var(--muted);margin:8px 0 0}.export-actions{flex-wrap:wrap;justify-content:flex-end}.admin-footnote{max-width:720px;color:var(--muted);text-align:center;margin:20px auto 0;font-size:.78rem;line-height:1.5}.election-status{border-radius:18px;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px;padding:17px 20px;display:flex}.election-status.open{color:#126a3e;background:#e8f7ef;box-shadow:inset 0 0 0 1px #bce6cf}.election-status.closed{color:#744b0b;background:#fff5dc;box-shadow:inset 0 0 0 1px #f0d697}.election-status>div:first-child{gap:4px;display:grid}.election-status span{font-size:.8rem}.status-actions{gap:10px;display:flex}.admin-error{margin:-8px 0 18px}.integrity-ok{color:var(--green)!important;font-size:clamp(1.65rem,4vw,2.25rem)!important}.integrity-alert{color:#a52d3b!important;font-size:clamp(1.65rem,4vw,2.25rem)!important}.dashboard-split{grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);gap:20px;margin-top:20px;display:grid}.dashboard-split .results-card{margin-top:0}.pie-card{background:var(--white);border:1px solid #075baa1a;border-radius:22px;padding:clamp(22px,4vw,34px);box-shadow:0 14px 38px #04355f14}.pie-card h2{color:var(--blue-950);margin:7px 0 0}.pie-layout{justify-content:center;align-items:center;gap:24px;margin-top:24px;display:flex}.pie-chart{border-radius:50%;place-items:center;width:170px;height:170px;display:grid;box-shadow:0 13px 30px #04355f26}.pie-chart:before{content:"";background:#fff;border-radius:50%;grid-area:1/1;width:98px;height:98px}.pie-chart>span{z-index:1;color:var(--blue-950);text-align:center;grid-area:1/1;font-size:1.7rem;font-weight:900;display:grid}.pie-chart small{color:var(--muted);text-transform:uppercase;font-size:.66rem;font-weight:700}.pie-legend{gap:12px;min-width:150px;display:grid}.pie-legend>div{grid-template-columns:10px 1fr auto;align-items:center;gap:8px;font-size:.78rem;display:grid}.pie-legend i{border-radius:3px;width:10px;height:10px}.pie-legend strong{color:var(--blue-950)}.podium-list{gap:11px;margin-top:24px;display:grid}.podium-row{background:var(--blue-50);border-radius:14px;grid-template-columns:42px 1fr auto;align-items:center;gap:13px;padding:13px;display:grid}.position-number{color:#fff;background:var(--blue-700);border-radius:12px;place-items:center;width:38px;height:38px;font-weight:900;display:grid}.podium-row>div{gap:2px;display:grid}.podium-row span{color:var(--muted);font-size:.72rem}.nightly-card,.audit-card{margin-top:20px}.table-scroll{margin-top:24px;overflow-x:auto}.audit-scroll{max-height:430px;overflow:auto}.admin-table{border-collapse:collapse;width:100%;font-size:.8rem}.admin-table th,.admin-table td{border-bottom:1px solid var(--line);text-align:left;white-space:nowrap;padding:12px}.admin-table th{color:var(--muted);background:var(--blue-50);letter-spacing:.04em;text-transform:uppercase;font-size:.7rem}.admin-table td small{color:var(--muted);margin-top:2px;display:block}.admin-table code{color:var(--blue-800);font-size:.72rem}.result-status.verified{color:#126a3e;background:#e8f7ef}.result-status.invalid{color:#8a2330;background:#fff0f2}.empty-state{color:var(--muted);background:var(--blue-50);text-align:center;border-radius:14px;margin:28px 0 0;padding:24px}.result-screen{background:radial-gradient(circle at 12% 12%,#4c9fe033,#0000 31rem),linear-gradient(#fafdff,#eaf4fc);flex-direction:column;width:100%;min-height:100svh;padding:clamp(20px,4vw,48px);display:flex}.result-screen-header{justify-content:space-between;align-items:center;gap:20px;display:flex}.result-official-brand{max-width:268px}.live-badge{color:var(--green);background:var(--green-light);border-radius:999px;align-items:center;gap:8px;padding:8px 12px;font-size:.75rem;font-weight:800;display:flex}.live-badge i{background:currentColor;border-radius:50%;width:8px;height:8px}.result-hero{text-align:center;margin:clamp(28px,6vh,58px) auto 26px}.result-hero h1{color:var(--blue-950);letter-spacing:-.05em;margin:8px 0;font-size:clamp(2.3rem,6vw,4.8rem);line-height:1}.result-hero p{color:var(--muted);margin:15px 0 0}.tie-alert{color:#744b0b;text-align:center;background:#fff5dc;border-radius:13px;width:min(760px,100%);margin:0 auto 20px;padding:13px 18px;font-size:.84rem;font-weight:800}.tie-inline{color:#744b0b;background:#fff5dc;border-radius:12px;margin:0 0 16px;padding:11px 14px;font-size:.78rem;font-weight:800}.final-podium{grid-template-columns:repeat(3,1fr);align-items:end;gap:clamp(14px,3vw,30px);width:min(1120px,100%);margin:auto;display:grid}.final-candidate{box-shadow:var(--shadow);text-align:center;background:#fff;border-radius:26px;justify-items:center;padding:clamp(18px,3vw,28px);display:grid;position:relative}.final-result .position-1{padding-top:34px;transform:translateY(-18px);box-shadow:0 24px 70px #04355f33}.final-position{color:var(--blue-800);font-size:1.15rem;font-weight:900;position:absolute;top:13px;left:15px}.final-photo{aspect-ratio:1;background:#ddecfb;border:6px solid;border-radius:50%;width:min(210px,74%);margin:11px 0 18px;overflow:hidden}.final-photo img{object-fit:cover;object-position:center 43%;width:100%;height:100%}.final-role{letter-spacing:.1em;text-transform:uppercase;font-size:.77rem;font-weight:900}.final-candidate h2{color:var(--blue-950);margin:6px 0;font-size:clamp(1.45rem,3vw,2.2rem)}.final-candidate>strong{color:var(--ink);font-size:1.1rem}.final-candidate>small{color:var(--muted);margin-top:3px}.result-footer{color:var(--blue-800);text-align:center;justify-items:center;gap:3px;margin-top:clamp(28px,5vh,50px);display:grid}.result-footer span{color:var(--muted);font-size:.85rem}.loading-result{text-align:center;justify-content:center;align-items:center;gap:24px}.loading-result h1{color:var(--blue-950)}@media (orientation:landscape) and (min-width:720px) and (max-height:1000px){.app-shell{min-height:100svh;padding:max(8px, env(safe-area-inset-top)) clamp(16px, 2.2vw, 30px) max(8px, env(safe-area-inset-bottom))}.brand-header{padding:0 0 8px}.brand-header .official-brand{max-width:220px}.voting-view{flex-direction:column;flex:1;min-height:0;display:flex}.hero-copy{margin:8px auto 10px}.hero-copy .eyebrow{font-size:.65rem}.hero-copy h1{margin:3px 0;font-size:clamp(1.9rem,4.4vh,2.6rem)}.hero-copy p{margin-top:4px;font-size:.9rem}.kiosk-controls{min-height:30px;margin-top:6px}.kiosk-button{min-height:32px;padding:6px 12px;font-size:.7rem}.kiosk-status{padding:6px 11px;font-size:.68rem}.candidate-grid{gap:14px}.candidate-card{border-radius:18px}.profile-trigger{min-height:30px;padding:5px 10px;font-size:.66rem}.profile-trigger>span:last-child{width:19px;height:19px;font-size:.8rem}.photo-frame{aspect-ratio:auto;height:clamp(140px,24vh,215px)}.tap-pill{padding:6px 9px;font-size:.66rem;bottom:9px;right:9px}.candidate-copy{gap:5px;padding:10px 13px 12px}.candidate-title-row{gap:1px}.candidate-title-row strong{font-size:clamp(1.12rem,2.8vh,1.5rem)}.candidate-title-row>span{font-size:.7rem}.cause-chip{padding:5px 8px;font-size:.67rem}.candidate-message{min-height:0;font-size:.76rem;line-height:1.25}.campaign-line{margin:8px auto 2px;font-size:.78rem}.campaign-line .paw-mark{width:18px;height:18px}footer{grid-template-columns:1fr auto 1fr;margin-top:0;padding:8px 0 0;font-size:.62rem;display:grid}footer>:last-child{justify-self:end}}@media (max-width:719px){.brand-header{align-items:flex-start}.brand-header .official-brand{max-width:min(56vw,208px)}.result-screen-header{align-items:flex-start}.result-official-brand{max-width:min(61vw,235px)}.admin-official-brand{max-width:min(76vw,260px)}.candidate-grid{grid-template-columns:1fr}.candidate-vote-button{grid-template-columns:minmax(132px,42%) 1fr;display:grid}.candidate-card{border-radius:20px}.photo-frame{aspect-ratio:auto;height:100%;min-height:222px}.tap-pill{padding:7px 9px;font-size:.65rem;bottom:8px;right:8px}.candidate-copy{align-content:center;padding:15px}.candidate-title-row{gap:3px;display:grid}.cause-chip{font-size:.68rem}.candidate-message{min-height:0;font-size:.8rem}.confirm-person{align-items:flex-start}.confirm-person img{width:92px;height:92px}.profile-sheet{grid-template-columns:1fr;max-height:calc(100svh - 24px);overflow-y:auto}.profile-image{height:min(42svh,360px);padding:12px 18px}.profile-image img{max-height:100%}.profile-content{padding:24px}.profile-content h2{font-size:clamp(2.25rem,12vw,3.4rem)}.profile-speech{font-size:.98rem;line-height:1.55}.profile-actions{grid-template-columns:1fr}.sheet-actions,.form-actions,.admin-header,.export-card{flex-direction:column;align-items:stretch}.summary-grid{grid-template-columns:1fr}.election-status,.status-actions,.dashboard-split,.pie-layout{flex-direction:column;align-items:stretch}.dashboard-split,.status-actions{grid-template-columns:1fr;display:grid}.pie-layout{align-items:center;display:flex}.final-podium{grid-template-columns:1fr}.final-result .position-1{transform:none}.final-candidate{text-align:left;grid-template-columns:96px 1fr auto;place-items:center start;column-gap:16px}.final-position{z-index:1;top:8px;left:9px}.final-photo{grid-row:1/5;width:96px;margin:0}.final-candidate h2,.final-candidate .final-role{grid-column:2}.final-candidate>strong,.final-candidate>small{grid-column:3}.admin-header-actions,.export-actions{grid-template-columns:1fr 1fr;width:100%;display:grid}.export-actions .button:last-child{grid-column:1/-1}.result-row{grid-template-columns:1fr 64px;gap:10px}.result-progress{grid-area:2/1/auto/-1}footer{flex-direction:column;align-items:flex-start}}@media (max-width:430px){.candidate-vote-button{grid-template-columns:44% 1fr}.candidate-message{display:none}.campaign-line{align-items:flex-start}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
