@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--navy:#21184e;--red:#e72132;--teal:#2ab7be;--bg:#f6f7fb;--muted:#777787;--line:#e7e7ef}*{box-sizing:border-box}body{margin:0;color:var(--navy);background:var(--bg);font-family:'DM Sans',sans-serif;font-size:16px}button,input,select,textarea{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer;border:0}a{color:inherit}button:disabled{opacity:.45;cursor:default}.colorline{height:5px;position:fixed;top:0;left:0;right:0;z-index:5;background:linear-gradient(90deg,#e72132 0 25%,#e42699 25% 45%,#2ab7be 45% 70%,#ffbb16 70% 85%,#95bc20 85%)}aside{width:236px;position:fixed;top:5px;bottom:0;background:white;border-right:1px solid var(--line);padding:38px 24px;display:flex;flex-direction:column}.brand{font-family:Manrope,sans-serif;font-size:40px;letter-spacing:-2px;font-weight:800;text-decoration:none}.brand>span:first-child{color:var(--red)}.brand-sub{display:block;font-size:10px;letter-spacing:2px;font-weight:700;margin-top:2px}.school-label{font-size:12px;color:var(--muted);margin:42px 0 18px;letter-spacing:1px}nav{display:grid;gap:7px}nav button{text-align:left;background:none;color:#747184;padding:13px 15px;border-radius:9px;font-size:14px;display:flex;gap:13px;align-items:center}nav button.active{color:var(--navy);background:#f0edf8;font-weight:700}nav button.active:before{content:'';position:absolute;left:0;height:24px;width:3px;background:var(--red)}.aside-bottom{margin-top:auto;padding-top:28px}.aside-bottom img{width:128px;mix-blend-mode:multiply}.aside-bottom p{font-size:12px;color:var(--muted);line-height:1.7}.workspace{margin-left:236px}header{height:86px;padding:0 42px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;font-size:14px;color:var(--muted)}.profile{color:var(--navy);background:none;font-weight:600;display:flex;gap:16px;align-items:center}.profile span{background:#f0edf8;border-radius:50%;padding:10px}main{max-width:1350px;margin:auto;padding:37px 42px 20px;min-height:calc(100vh - 200px)}.eyebrow{font-size:12px;font-weight:700;letter-spacing:1.5px;color:var(--teal);margin:0 0 10px}h1,h2,h3{font-family:Manrope,sans-serif}h1{font-size:32px;letter-spacing:-1px;margin:0 0 10px;font-weight:800}h2{font-size:20px;margin:0}h3{font-size:17px;margin:0 0 10px}p{line-height:1.6}.sub{color:var(--muted);margin:0;font-size:14px}.title-row{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.button{padding:12px 18px;border-radius:8px;font-weight:600;font-size:14px;background:var(--navy);color:white;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none}.button.red{background:var(--red)}.button.light{background:white;color:var(--navy);border:1px solid var(--line)}.button.small{padding:8px 13px}.banner{background:var(--navy);color:white;border-radius:13px;display:flex;justify-content:space-between;overflow:hidden;min-height:185px;margin-bottom:26px}.banner-text{padding:28px 30px;max-width:70%}.banner .eyebrow{color:#72d7dc}.banner h2{font-size:25px;margin-bottom:9px}.banner p{color:#cac5e0;font-size:14px;margin:0 0 20px}.banner .button{background:white;color:var(--navy)}.banner img{width:190px;object-fit:cover;object-position:center;border-left:5px solid var(--teal);margin:0}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:30px}.stat{background:white;border:1px solid var(--line);padding:22px;border-radius:10px}.stat-label{font-size:13px;color:var(--muted);display:flex;justify-content:space-between;align-items:center}.stat-icon{padding:7px 9px;border-radius:7px;background:#f1eff9;color:var(--navy)}.stat strong{font:800 30px Manrope;display:block;margin:8px 0}.stat small{font-size:12px;color:var(--muted)}.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.section-head p{font-size:14px;color:var(--muted);margin:5px 0}.stages{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.stage{background:white;border:1px solid var(--line);border-radius:10px;padding:23px;position:relative}.stage.current{border-top:3px solid var(--teal);padding-top:21px}.stage-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.round-number{font-size:12px;letter-spacing:1px;font-weight:700;color:var(--muted)}.badge{font-size:12px;border-radius:5px;padding:5px 8px;background:#eff0f5;color:#777585}.badge.teal{background:#e4f7f5;color:#13867e}.stage p{font-size:14px;color:var(--muted);margin:0 0 21px;min-height:45px}.stage ul{padding:0;margin:0 0 23px;list-style:none;font-size:12px;line-height:2;color:#757184}.stage li:before{content:'✓';color:var(--teal);margin-right:8px}.stage .button{width:100%}.note{margin-top:24px;border:1px solid #d9e9ed;background:#eef7f9;display:flex;gap:16px;padding:17px 20px;border-radius:9px;font-size:13px;line-height:1.7;color:#59667a}.note b{color:var(--navy)}footer{max-width:1350px;margin:auto;padding:27px 42px;display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:12px}.logos{display:flex;gap:20px;align-items:center}.logos img{width:60px;height:60px;object-fit:contain;mix-blend-mode:multiply}.panel{background:white;border:1px solid var(--line);border-radius:12px;padding:26px;margin-bottom:20px}.empty{padding:40px 24px;text-align:center;color:var(--muted)}.empty h2{color:var(--navy);margin-bottom:10px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:14px;text-align:left}th{font-size:12px;color:var(--muted);background:#f9f9fc;letter-spacing:.3px}td,th{padding:16px;border-bottom:1px solid var(--line)}label{display:block;font-size:14px;font-weight:500;margin:14px 0 6px}input,select,textarea{width:100%;padding:12px;border:1px solid #d9d8e2;border-radius:7px;background:white;color:var(--navy)}input[type=checkbox],input[type=radio]{width:auto}input:focus,select:focus,textarea:focus{outline:2px solid var(--teal);outline-offset:2px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}dialog{border:0;border-radius:14px;max-width:570px;width:calc(100% - 30px);padding:30px;color:var(--navy);box-shadow:0 20px 80px #17112c40}dialog::backdrop{background:#18133270}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:var(--navy);color:white;padding:14px 23px;border-radius:9px;z-index:20;display:none;max-width:90%;font-size:14px}.category-chips{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.chip{padding:8px 12px;font-size:13px;border:1px solid var(--line);border-radius:6px;background:white}.chip.active{background:var(--navy);color:white}.candidate-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.candidate{padding:20px;border:1px solid var(--line);border-radius:9px;background:white}.avatar{width:44px;height:44px;background:#f1ecf7;border-radius:50%;display:grid;place-items:center;font-weight:700;margin-bottom:14px}.candidate small{color:var(--muted);font-size:12px}.candidate strong.number{float:right;font:800 27px Manrope;color:var(--teal)}.candidate h3{margin-top:10px}.ballot{max-width:780px;margin:20px auto}.vote-option{display:block;padding:16px;border:1px solid var(--line);border-radius:8px;margin:10px 0;cursor:pointer}.vote-option:has(input:checked){border-color:var(--teal);background:#eafafa}.vote-option input{margin-right:12px}.codes{font:13px monospace}.progress{height:7px;background:#eceaf3;border-radius:6px;margin:10px 0}.progress>div{height:100%;background:var(--teal);border-radius:6px}.ata{font-family:Georgia,serif;color:#111;line-height:1.7}.ata h1{font-size:24px;text-align:center}.ata h2{margin-top:30px}.ata .signatures{display:flex;justify-content:space-around;margin:70px 0 20px;gap:40px}.ata .signatures span{border-top:1px solid black;padding-top:8px}.loading{padding:80px;text-align:center}.vote-heading{background:var(--navy);color:white;padding:24px;border-radius:10px;margin-bottom:24px}@media(max-width:1100px){aside{width:200px;padding:30px 20px}.workspace{margin-left:200px}main{padding:28px 25px}.stats{grid-template-columns:repeat(2,1fr)}.stages{grid-template-columns:1fr}.stage p{min-height:0}.stage ul{display:flex;gap:20px;flex-wrap:wrap}.banner img{width:160px}.candidate-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){aside{position:relative;width:auto;padding:15px 20px 0;top:5px;border-right:0;border-bottom:1px solid var(--line)}.brand{font-size:31px}.brand-sub{font-size:9px}.school-label,.aside-bottom{display:none}nav{display:flex;overflow:auto;margin-top:17px;gap:4px}nav button{flex-shrink:0;padding:12px 10px;font-size:12px}nav button.active:before{display:none}.workspace{margin:0}header{height:65px;padding:0 20px;font-size:12px}header>span{max-width:170px}.profile{font-size:12px;gap:8px}main{padding:27px 20px}h1{font-size:26px}.title-row{align-items:flex-start;flex-wrap:wrap;gap:15px}.banner-text{padding:24px;max-width:100%}.banner img{display:none}.banner h2{font-size:22px}.stats{gap:10px}.stat{padding:16px}.stat-label{font-size:12px}.candidate-grid,.form-row{grid-template-columns:1fr}.panel{padding:20px}footer{padding:20px;gap:20px}footer>span{max-width:160px}.logos img{width:48px;height:48px}.section-head{align-items:flex-start;gap:15px}.ata .signatures{flex-direction:column;gap:50px}.vote-option{font-size:14px}}@media print{body{background:white}aside,header,footer,.colorline,.no-print,dialog,#toast{display:none!important}.workspace{margin:0}main{padding:0}.panel{border:0;padding:0}.ata{font-size:12pt}.ata table{font-size:10pt}.ata h2{break-after:avoid}.ata tr{break-inside:avoid}}
.auth-layout{display:grid;grid-template-columns:minmax(300px,560px) 1fr;gap:48px;align-items:start}.auth-card h2{margin-bottom:12px}.auth-card .button.light{margin-top:12px}.auth-programs{padding:30px 10px;max-width:420px}.auth-programs img{width:100px;height:110px;object-fit:contain;mix-blend-mode:multiply;margin:0 20px 30px 0}.auth-programs h2{font-size:24px}.auth-programs p{color:var(--muted)}.auth-links{display:flex;flex-wrap:wrap;justify-content:space-between;margin-top:20px;gap:12px}.button.text-button{background:none;color:var(--navy);padding:5px 0;text-decoration:underline;text-underline-offset:3px;font-size:13px}.auth-divider{border-top:1px solid var(--line);margin:24px 0}.account-card{max-width:620px}.account-card form{margin-top:24px}@media(max-width:1050px){.auth-layout{grid-template-columns:1fr;gap:20px}.auth-programs{display:none}}@media(max-width:700px){.auth-card{padding:22px 18px}nav>.button{font-size:14px}}
/* A dedicated surface for the supervised tablet. */
body.urna-mode{background:#e7e8ec;color:#161616}.urna-mode aside,.urna-mode header,.urna-mode footer{display:none}.urna-mode .workspace{margin:0}.urna-mode main{max-width:1240px;min-height:100vh;padding:24px}.urna-top{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}.urna-top>div{display:flex;align-items:center;gap:12px}.urna-top b{font:800 27px Manrope;color:var(--navy)}.urna-top span{font-size:14px;color:#565663}.urna-machine{background:#dedfda;border:1px solid #babbba;border-radius:14px;padding:26px;box-shadow:0 10px 30px #25252c18;display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:28px}.urna-screen{background:#f5f6ef;border:3px solid #868980;box-shadow:inset 0 0 15px #00000012;min-height:460px;padding:24px;display:flex;flex-direction:column}.urna-screen h1{font-size:clamp(22px,3vw,32px);color:#141414;letter-spacing:0}.urna-screen p{margin:8px 0;font-size:16px}.urna-eyebrow{font-size:14px!important;font-weight:700;letter-spacing:1px}.urna-school-name{font-size:14px!important;color:#555;overflow-wrap:anywhere}.urna-number{display:flex;gap:8px;margin:15px 0}.urna-number span{height:64px;width:54px;display:grid;place-items:center;border:2px solid #242424;font:700 40px monospace}.urna-candidate{min-height:122px}.urna-candidate h2{font-size:24px;overflow-wrap:anywhere}.urna-instructions{font-size:14px;border-top:2px solid #777;padding-top:12px;line-height:1.6;margin-top:auto}.urna-error{font-size:14px!important;color:#aa1424;font-weight:600;min-height:22px}.urna-keyboard{padding:22px 18px;background:#303239;border-radius:8px;align-self:center}.urna-keyboard>p{color:#f3f3f3;text-align:center;font-size:14px;font-weight:700;letter-spacing:2px;margin:0 0 24px}.urna-digits{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;max-width:248px;margin:0 auto 28px}.urna-key{background:#101115;color:white;border-radius:5px;border-bottom:5px solid #000;font:700 28px Manrope;min-height:64px;box-shadow:0 2px 4px #0005}.urna-key:active{transform:translateY(2px);border-bottom-width:3px}.urna-key:focus-visible{outline:3px solid #69e9f0;outline-offset:3px}.urna-digits .urna-key:last-child{grid-column:2}.urna-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;align-items:end}.urna-actions .urna-key{font:800 12px Manrope;min-height:60px;border-bottom-color:#0006;padding:6px 2px}.urna-key.white{background:#fff;color:#161616}.urna-key.orange{background:#f28a39;color:#141414}.urna-key.green{background:#53bd78;color:#101c13;min-height:72px}.urna-code{font:700 28px monospace;letter-spacing:6px}.urna-screen label{font-size:14px}.urna-screen input{color:#161616}.urna-start{margin:16px 0;width:100%}.urna-brands{display:flex;justify-content:center;gap:24px;margin-top:22px}.urna-brands img{width:68px;height:64px;object-fit:contain;mix-blend-mode:multiply}.urna-brands img:first-child{width:120px}.urna-finish{flex:1;display:flex;flex-direction:column;justify-content:center;text-align:center}.urna-finish h1{font:700 clamp(70px,12vw,110px) Manrope;letter-spacing:10px}.urna-top .button{font-size:14px}.urna-mode button{touch-action:manipulation}@media(max-width:850px){.urna-mode main{padding:18px}.urna-machine{grid-template-columns:minmax(0,1fr) 270px;gap:16px;padding:18px}.urna-screen{padding:18px}.urna-keyboard{padding:20px 12px}.urna-top span{display:none}}@media(max-width:600px){.urna-mode main{padding:14px}.urna-top{gap:8px}.urna-top>div{gap:6px}.urna-top .button{padding:10px;font-size:12px}.urna-machine{grid-template-columns:1fr;padding:14px;gap:16px}.urna-screen{min-height:410px}.urna-keyboard{width:100%}.urna-digits{max-width:280px;margin-bottom:20px}.urna-key{min-height:58px}.urna-actions{max-width:350px;margin:auto}.urna-keyboard>p{margin-bottom:16px}.urna-brands{margin-top:16px}.urna-candidate h2{font-size:22px}}
.avatar{overflow:hidden}.avatar img{width:100%;height:100%;object-fit:cover}.photo-preview{display:flex;align-items:center;gap:16px;margin-top:12px}.photo-preview img{width:96px;height:120px;object-fit:contain;border:1px solid var(--line);border-radius:6px}.photo-preview [hidden]{display:none}.urna-candidate-details{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.urna-candidate-details>div:first-child{min-width:0}.urna-portrait{width:90px;height:116px;flex-shrink:0;border:1px solid #999;background:#e5e6de;display:grid;place-items:center;overflow:hidden;text-align:center}.urna-portrait img{height:100%;width:100%;object-fit:contain}.urna-portrait span{font-size:13px;color:#555;padding:8px}.urna-candidates-modal{max-width:660px;max-height:85vh;padding:24px}.urna-list-header{display:flex;justify-content:space-between;align-items:center;gap:16px}.urna-list-body>.sub{margin:16px 0}.urna-list-category{border-top:1px solid var(--line);padding-top:18px;margin-top:20px}.urna-list-category h3{font-size:18px}.urna-list-candidate{display:flex;align-items:center;gap:16px;padding:12px 0}.urna-list-candidate>.urna-portrait{width:56px;height:70px}.urna-list-candidate>span{overflow-wrap:anywhere;min-width:0}.urna-list-number{font:700 28px monospace;border:1px solid var(--line);padding:8px;letter-spacing:2px}.urna-top{align-items:flex-start}.urna-top>div:last-child{justify-content:flex-end;flex-wrap:wrap}.urna-candidates-modal::backdrop{background:#16161dcc}@media(max-width:600px){.urna-top>div:last-child{max-width:240px}.urna-top>div:last-child>button:first-child{flex-basis:100%}.urna-candidates-modal{padding:18px}.urna-list-candidate{gap:10px}.urna-candidate-details{gap:12px}.urna-portrait{width:78px;height:100px}}
.candidate-camera{margin-top:18px;border:1px solid var(--line);padding:14px;border-radius:8px}.candidate-camera[hidden]{display:none}.candidate-camera video{display:block;width:100%;max-height:320px;background:#171717;object-fit:contain}.candidate-camera .form-actions{flex-wrap:wrap}.candidate-camera p{font-size:14px}.urna-number{flex-wrap:wrap}.urna-number span{width:clamp(36px,5vw,54px)}.urna-list-number{font-size:24px;letter-spacing:1px}@media(max-width:600px){.urna-number{gap:5px}.urna-number span{height:52px;width:40px;font-size:32px}.urna-list-number{font-size:20px;padding:6px}.urna-list-candidate{gap:8px}}
