/* E-Voting OSIS — Clean Red & White */
:root{--red:#c8102e;--red-hover:#ad0f29;--red-soft:#fff3f5;--red-light:#fbdde3;--red-muted:#d74b60;--ink:#22242b;--ink-2:#40444b;--grey:#717680;--line:#ebeaeb;--line-2:#f0eef0;--white:#fff;--background:#fbfafb;--radius:17px;--shadow:0 12px 32px rgba(43,31,36,.035);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--ink);font-synthesis:none}
*,*:before,*:after{box-sizing:border-box}body{margin:0;background:var(--background)}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled,input:disabled,textarea:disabled{cursor:not-allowed;opacity:.54}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #e87287;outline-offset:3px}a{color:inherit;text-decoration:none}.container{max-width:1180px;padding-inline:28px;margin-inline:auto}.hidden{display:none!important}[hidden]{display:none!important}.site-header{background:white;border-bottom:1px solid var(--line);height:80px;display:flex;align-items:center}.header-inside{display:flex;align-items:center;justify-content:space-between;gap:18px;width:100%}.logo{display:flex;align-items:center;gap:12px;font-size:23px;font-weight:850;letter-spacing:-.065em;line-height:1}.logo-mark{width:46px;height:46px;display:grid;place-items:center;flex:0 0 auto;overflow:hidden}.logo-mark img{width:100%;height:100%;object-fit:contain;display:block}.logo-dot{color:var(--red)}.logo small{font-size:8px;display:block;letter-spacing:.22em;font-weight:750;color:#85868b;margin-top:7px}.header-right{display:flex;align-items:center;gap:12px;font-size:11px;font-weight:780;color:#71747d;letter-spacing:.095em}.header-signal{width:7px;height:7px;border-radius:99px;background:var(--red)}.header-admin{margin-left:20px;padding:11px 14px;border:1px solid var(--line);border-radius:9px;color:var(--ink);background:white;letter-spacing:0;font-size:12px;font-weight:650}.header-admin:hover{border-color:var(--red);color:var(--red)}.header-admin-label{font-size:10px;color:var(--red);background:var(--red-soft);padding:9px 11px;border-radius:6px}.hero{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(260px,.7fr);background:#fff;border:1px solid var(--line);border-radius:23px;overflow:hidden;margin-top:33px;margin-bottom:22px;min-height:405px}.hero-copy{padding:56px 28px 51px 49px}.micro-label{font-size:11px;color:var(--red);font-weight:850;letter-spacing:.155em;display:flex;align-items:center;gap:10px}.red-line{display:inline-block;height:2px;width:26px;background:var(--red)}.hero h1{font-size:clamp(32px,3.8vw,52px);font-weight:880;letter-spacing:-.055em;line-height:1.16;margin:0 0 13px;max-width:790px;color:var(--red)}.hero h1 span{color:var(--red)}.hero-school{font-size:16px;font-weight:760;margin:0;color:var(--red)}.hero-desc{max-width:520px;font-size:14px;line-height:1.85;color:var(--grey);margin-top:20px;margin-bottom:25px}.hero-meta{display:flex;align-items:center;gap:14px;flex-wrap:wrap;color:#5e6167;font-size:12px;font-weight:680}.hero-meta span:not(.meta-split){display:flex;align-items:center;gap:7px}.hero-meta svg{color:var(--red)}.meta-split{height:16px;width:1px;background:#dad9da}.hero-aside{border-left:1px solid #f7e9ec;background:linear-gradient(135deg,#fffafb,#fff2f4);display:flex;align-items:center;justify-content:center;flex-direction:column;position:relative}.ballot-art{height:230px;width:258px;position:relative;display:flex;align-items:flex-end;justify-content:center;margin-top:-8px}.art-box{height:128px;width:181px;border-radius:19px;background:linear-gradient(145deg,#e12e48,#b50827);box-shadow:0 22px 32px #c8102e23;display:flex;justify-content:center;align-items:flex-end;z-index:2;position:relative;padding-bottom:20px}.art-box>span{color:#ffffffa6;letter-spacing:.3em;font-size:12px;font-weight:800}.art-slot{height:9px;background:#8e0b1e;width:112px;border-radius:7px;position:absolute;top:22px;left:35px}.art-paper{width:113px;height:124px;background:#fff;border:1px solid #f3e4e7;border-radius:7px;position:absolute;top:18px;left:74px;transform:rotate(-8deg);z-index:1;box-shadow:0 4px 14px #af455419;padding:20px 14px}.art-paper span{display:block;background:#e4e4e6;width:67px;height:4px;border-radius:5px;margin-bottom:12px}.art-paper span:nth-child(2){width:46px}.art-paper b{color:var(--red);font-size:30px;position:absolute;right:12px;bottom:18px}.art-back{width:220px;height:220px;background:#fce2e8;border-radius:50%;position:absolute;top:10px}.art-round{position:absolute;background:#c8102e;border-radius:50%;opacity:.72}.round-one{width:12px;height:12px;top:56px;left:7px}.round-two{width:6px;height:6px;top:11px;right:28px}.aside-bottom{text-align:center;z-index:4;margin:12px 0}.status-pill{display:inline-flex;background:#fff;border:1px solid var(--red-light);color:var(--red);border-radius:100px;padding:8px 13px;font-size:11px;font-weight:780}.aside-bottom p{color:#747076;font-size:11px;margin:10px 0}.eyebrow{font-size:10px;color:var(--red);font-weight:850;letter-spacing:.145em}.auth-area{background:#fff;border:1px solid var(--line);border-radius:18px;padding-top:27px;padding-bottom:27px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.03fr);align-items:center;gap:28px;box-shadow:var(--shadow);margin-bottom:73px}.auth-intro h2{font-size:20px;line-height:1.35;margin:6px 0 5px;letter-spacing:-.03em}.auth-intro p{font-size:12px;line-height:1.7;color:var(--grey);margin:0;max-width:440px}.auth-form label,label{display:block;font-size:12px;font-weight:720;margin-bottom:9px}.auth-input-row{display:flex;gap:9px}input,textarea{width:100%;min-width:0;border:1px solid #e2e0e3;background:#fff;border-radius:9px;padding:13px 14px;font-size:13px;color:var(--ink);outline:none}input:focus,textarea:focus{border-color:#d43650;box-shadow:0 0 0 3px #c8102e13}textarea{resize:vertical;min-height:100px;line-height:1.55}.auth-input-row input{flex:1}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:9px;padding:13px 18px;white-space:nowrap;border:1px solid transparent;font-size:12px;font-weight:750;transition:background .13s ease,transform .13s ease}.button:hover:not(:disabled){transform:translateY(-1px)}.button-primary{background:var(--red);color:#fff}.button-primary:hover:not(:disabled){background:var(--red-hover)}.button-success{background:#108a57;color:#fff}.button-success:hover:not(:disabled){background:#0b774a}.button-outline{color:var(--ink);background:#fff;border:1px solid #e2e0e3}.button-outline:hover:not(:disabled){border-color:var(--red);color:var(--red)}.button-red-outline{background:#fff;color:var(--red);border-color:#edb4c0}.button-red-outline:hover{background:var(--red-soft)}.field-error{font-size:11px;color:#b50e29;min-height:14px;margin:7px 0 0}.auth-complete{display:flex;align-items:center;gap:13px;grid-column:1/-1}.round-check{width:40px;height:40px;border-radius:50%;background:#fff3f5;border:1px solid #fac9d0;color:var(--red);display:grid;place-items:center;font-weight:800}.auth-complete div:nth-child(2){flex:1}.auth-complete b{font-size:14px}.auth-complete p{color:var(--grey);font-size:12px;margin:5px 0 0}.notice{padding:14px 18px;background:#fff5f6;border:1px solid #f3ccd1;color:#a61630;border-radius:12px;font-size:13px;line-height:1.5;margin:16px 0}.notice.success{background:#f0fbf6;color:#117147;border-color:#c5edda}.notice.error{background:#fff0f2;color:#b51631;border-color:#f0bcc6}.section-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:27px}.section-head h2{font-size:34px;letter-spacing:-.05em;line-height:1.15;margin:9px 0 9px}.section-head h2 span{color:var(--red)}.section-head p{font-size:13px;line-height:1.7;color:var(--grey);margin:0}.count-label{width:108px;flex:0 0 108px;border-left:2px solid var(--red);padding-left:15px}.count-label strong{display:block;font-size:41px;color:var(--red);line-height:.95;letter-spacing:-.08em}.count-label span{font-size:9px;color:#888a90;font-weight:820;letter-spacing:.09em}.candidates-section{margin-bottom:66px}.candidate-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.candidate-card{border:1px solid var(--line);border-radius:18px;background:#fff;overflow:hidden;display:flex;flex-direction:column;box-shadow:var(--shadow);transition:border-color .15s,transform .15s}.candidate-card:hover{border-color:#f0c4cc;transform:translateY(-3px)}.candidate-top{padding:22px 19px 19px;text-align:center;background:linear-gradient(180deg,#fffafa 0%,#fff3f5 100%);position:relative;border-bottom:1px solid #f4e8eb}.candidate-index{display:flex;align-items:center;justify-content:center;gap:9px;color:var(--red);font-weight:790;font-size:10px;letter-spacing:.12em}.candidate-index:before,.candidate-index:after{content:"";display:block;height:1px;width:17px;background:#e5adb8}.pair-photos{display:flex;align-items:center;justify-content:center;gap:11px;margin-top:21px}.portrait{width:45%;max-width:142px;height:170px;border:3px solid #fff;border-radius:12px;background:#f0e0e4;position:relative;display:flex;align-items:center;justify-content:center;color:var(--red);font-weight:850;font-size:33px;box-shadow:0 5px 18px #77112614;overflow:hidden}.portrait:nth-child(2){background:#f0e8e8}.portrait img{width:100%;height:100%;object-fit:cover}.portrait-tag{position:absolute;bottom:0;left:0;right:0;color:#fff;background:#be1230d9;font-weight:800;font-size:9px;letter-spacing:.1em;padding:7px 3px}.candidate-body{text-align:center;padding:21px 15px 8px;flex:1}.candidate-body h3{font-size:18px;font-weight:790;letter-spacing:-.025em;margin:0;overflow-wrap:anywhere}.candidate-body .amp{font-size:15px;color:var(--red);font-weight:780;margin:6px}.candidate-body p{color:#909098;font-size:11px;margin:15px 0 10px}.candidate-divider{width:35px;height:2px;background:#e6b1bb;margin:0 auto}.candidate-buttons{display:flex;gap:9px;padding:17px}.candidate-buttons .button{padding:12px 8px;flex:1}.candidate-buttons .button-primary{flex:1.1}.candidate-loading{height:406px;border-radius:18px;background:linear-gradient(90deg,#f7f3f4,#fff,#f7f3f4);background-size:200% 100%;animation:skel 1.7s infinite}@keyframes skel{to{background-position-x:-200%}}.trust-strip{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);padding-top:29px;padding-bottom:40px;gap:22px}.trust-entry{display:flex;gap:14px;align-items:flex-start}.trust-icon{font-size:19px;font-weight:850;color:var(--red);border:1px solid #f4ced4;background:#fff3f5;width:40px;height:40px;display:grid;place-items:center;border-radius:12px;flex:none}.trust-entry b{font-size:12px;display:block;margin:3px 0 5px}.trust-entry p{font-size:11px;line-height:1.6;color:var(--grey);margin:0}.footer{background:#fff;border-top:1px solid var(--line);color:#89888c;font-size:11px}.footer-inside{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:24px;padding-bottom:24px}.results-section{margin-bottom:52px}.result-list{background:#fff;border:1px solid var(--line);border-radius:16px;padding:24px}.result-entry{margin:0 0 23px}.result-entry:last-child{margin-bottom:0}.result-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:13px;margin-bottom:9px}.result-heading b{font-weight:740}.result-heading strong{font-size:13px;color:var(--red)}.result-track{height:10px;border-radius:100px;background:#f5edef;overflow:hidden}.result-fill{height:100%;border-radius:100px;background:var(--red);width:0%;transition:width .3s}.result-entry:nth-child(2) .result-fill{background:#e66c7c}.result-entry:nth-child(3) .result-fill{background:#8e4351}.modal{border:1px solid var(--line);padding:0;width:min(650px,94vw);max-height:90vh;border-radius:19px;box-shadow:0 30px 100px #1a090f42;color:var(--ink)}dialog::backdrop{background:#2a141bbd;backdrop-filter:blur(3px)}.modal-header{padding:22px 24px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line)}.modal-header h3{font-size:19px;letter-spacing:-.04em;margin:5px 0 0}.close-icon{font-size:26px;line-height:1;border:1px solid var(--line);background:#fff;border-radius:10px;color:#5e5f66;width:39px;height:39px}.profile-inner{padding:25px;overflow:auto;max-height:65vh}.profile-index{text-align:center;margin-bottom:20px}.profile-people{display:grid;grid-template-columns:1fr 1fr;gap:15px}.profile-person{background:#fff9fa;border:1px solid #f7e8ea;padding:16px;text-align:center;border-radius:13px}.profile-person .portrait{width:132px;height:153px;max-width:100%;margin:0 auto 14px}.profile-person h3{font-size:15px;line-height:1.4;margin:0 0 6px}.profile-person p{color:var(--grey);font-size:11px;line-height:1.65;margin:0}.profile-prose{margin-top:22px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.6}.profile-prose h4{font-size:13px;color:var(--red);margin:0 0 7px}.profile-prose p{margin:0}.narrow-modal{max-width:475px}.confirm-body{padding:25px;font-size:13px;line-height:1.7}.confirm-body p{margin:10px 0}.confirm-body strong{color:var(--red)}.confirm-actions{padding:0 25px 25px;display:flex;gap:9px;justify-content:flex-end}
/* Administrative views */
.admin-main{padding-top:36px;padding-bottom:50px}.admin-login{max-width:470px;margin:35px auto 110px;padding:45px;background:white;border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow)}.login-symbol{width:52px;height:52px;border-radius:14px;background:var(--red);display:grid;place-items:center;color:white;font-size:27px;margin-bottom:21px}.admin-login h1{font-size:31px;letter-spacing:-.06em;margin:8px 0}.admin-login p{font-size:13px;color:var(--grey);line-height:1.7;margin-bottom:28px}.admin-login label{margin:0 0 10px}.admin-login input{margin-bottom:13px}.wide-button{width:100%}.dashboard-title{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:26px}.dashboard-title h1{font-size:37px;letter-spacing:-.055em;margin:8px 0 5px}.dashboard-title p{font-size:13px;color:var(--grey);margin:0}.dashboard-controls{display:flex;align-items:center;gap:10px}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:19px}.stat-card{border:1px solid var(--line);background:#fff;border-radius:16px;padding:20px 21px;min-width:0;position:relative}.stat-icon{height:32px;width:32px;border-radius:9px;color:var(--red);background:var(--red-soft);display:grid;place-items:center;font-size:18px;margin-bottom:17px}.stat-card small{display:block;color:var(--grey);font-size:12px;font-weight:650}.stat-card strong{font-size:39px;letter-spacing:-.055em;display:block;margin:2px 0 4px}.stat-card p{color:#939198;font-size:11px;margin:0}.panel{background:#fff;border:1px solid var(--line);border-radius:17px;padding:25px;margin-bottom:19px;box-shadow:var(--shadow)}.panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.panel-head h2{font-size:21px;letter-spacing:-.04em;margin:7px 0}.panel-head p{margin:0;color:var(--grey);font-size:12px;line-height:1.7}.live-label{display:flex;align-items:center;gap:8px;border:1px solid #f3d3d9;padding:10px 13px;border-radius:100px;color:var(--red);font-size:10px;font-weight:780;white-space:nowrap}.live-label i{height:7px;width:7px;background:var(--red);border-radius:50%;box-shadow:0 0 0 4px #c8102e18}.dashboard-results{padding-top:26px}.dashboard-results .result-track{height:12px}.dashboard-results .result-entry{margin-bottom:26px}.admin-two-col{display:grid;grid-template-columns:1fr 1fr;gap:19px}.stack-form{display:flex;flex-direction:column;margin-top:23px}.stack-form label{margin:0 0 7px}.stack-form input{margin-bottom:16px}.stack-form .button{align-self:flex-start;margin-top:2px}.panel-hint{background:#fff9f9;color:#9b5d66;padding:12px;border-radius:9px;font-size:11px;line-height:1.65;margin-top:16px}.candidate-editor{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:23px}.editor-card{border:1px solid var(--line);padding:18px;border-radius:13px;background:#fffdfd;min-width:0}.editor-card h3{color:var(--red);margin:0 0 16px;font-size:15px}.editor-card label{font-size:11px;margin:12px 0 6px;color:var(--ink-2)}.editor-card input,.editor-card textarea{font-size:12px;padding:10px}.editor-card textarea{min-height:80px}.editor-card .button{width:100%;margin-top:15px}.editor-photo{padding:12px;background:#fff7f8;border:1px solid #f9e8eb;margin-top:12px;border-radius:10px}.editor-photo b{display:block;font-size:11px;margin-bottom:9px}.editor-photo img{display:block;width:82px;height:84px;object-fit:cover;border-radius:7px;margin-bottom:10px;border:1px solid #eee}.editor-photo input{font-size:10px;padding:6px}.editor-photo small{color:var(--grey);font-size:10px}.control-buttons{display:flex;gap:11px;margin-top:21px;flex-wrap:wrap}.small-caution{color:#a86b71;font-size:11px;line-height:1.6;margin:18px 0 0}.audit-list{margin-top:20px;max-height:220px;overflow:auto}.audit-item{padding:12px 0;display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);font-size:12px}.audit-item b{display:block;margin-bottom:4px}.audit-item time{color:#9a99a0;white-space:nowrap;font-size:11px}.audit-item small{color:var(--grey)}
@media(max-width:1020px){.hero-copy{padding-left:31px}.hero h1{font-size:40px}.candidate-editor{grid-template-columns:repeat(2,1fr)}}
@media(max-width:800px){.hero{grid-template-columns:1fr 220px}.hero-copy{padding:35px 20px 32px 29px}.hero h1{font-size:34px}.hero-desc{font-size:12px}.ballot-art{transform:scale(.82);margin-left:-12px}.auth-area{grid-template-columns:1fr;gap:19px}.candidate-grid{gap:12px}.portrait{height:135px}.candidate-body h3{font-size:15px}.candidate-buttons{flex-direction:column}.trust-strip{gap:12px}.stats-grid{grid-template-columns:repeat(2,1fr)}.admin-two-col{grid-template-columns:1fr}}
@media(max-width:630px){.container{padding-inline:17px}.site-header{height:69px}.logo{font-size:19px}.logo-mark{width:34px;height:34px}.header-right{gap:8px}.header-signal,.header-right>span:not(.header-admin-label){display:none}.header-admin{margin:0;padding:9px 10px;font-size:11px}.hero{display:block;margin-top:12px;margin-bottom:14px;border-radius:15px}.hero-copy{padding:28px 22px 22px}.micro-label{font-size:9px}.hero h1{font-size:33px;line-height:1.15;margin-top:20px}.hero-school{font-size:14px}.hero-desc{font-size:12px;margin-top:14px;margin-bottom:18px}.hero-aside{border-left:0;border-top:1px solid #f9e4e8;flex-direction:row;gap:10px;justify-content:flex-start;padding:12px 22px;align-items:center}.ballot-art{display:none}.aside-bottom{text-align:left;margin:0}.aside-bottom p{margin:6px 0 0}.auth-area{padding-top:22px;padding-bottom:22px;margin-bottom:48px}.auth-input-row{flex-direction:column}.auth-intro h2{font-size:18px}.auth-complete{flex-wrap:wrap}.auth-complete button{margin-left:auto}.section-head{align-items:flex-start}.section-head h2{font-size:29px}.section-head p{font-size:12px}.count-label{width:68px;flex-basis:68px;padding-left:9px}.count-label strong{font-size:28px}.count-label span{font-size:8px}.candidate-grid{grid-template-columns:1fr;gap:17px}.candidate-card{max-width:450px;width:100%;margin:0 auto}.portrait{height:180px}.candidate-buttons{flex-direction:row}.trust-strip{grid-template-columns:1fr}.footer-inside{display:block;text-align:center}.footer-inside span{display:block;margin:5px}.result-heading{font-size:11px;gap:7px}.result-heading strong{font-size:11px;white-space:nowrap}.profile-inner{padding:14px}.profile-people{gap:9px}.profile-person{padding:10px}.profile-person .portrait{height:125px;width:110px}.profile-person h3{font-size:12px}.modal-header{padding:16px}.modal-header h3{font-size:17px}.confirm-actions{flex-direction:column}.dashboard-title{align-items:flex-start;flex-direction:column}.dashboard-title h1{font-size:28px}.stat-card{padding:15px}.stat-card strong{font-size:29px}.panel{padding:19px}.panel-head{flex-direction:column}.candidate-editor{grid-template-columns:1fr}.admin-login{padding:25px;margin-bottom:75px}.control-buttons .button{width:100%}.audit-item{display:block}.audit-item time{display:block;margin-top:8px}}
/* Demo-only warning. Clear separation from production voting. */
.demo-ribbon{background:#801022;color:#fff;padding:12px 0;font-size:11px;line-height:1.45}
.demo-ribbon-inner{display:flex;align-items:center;justify-content:space-between;gap:16px}
.demo-ribbon b{display:block;letter-spacing:.055em;font-size:11px}
.demo-ribbon span{display:block;color:#ffdae0;margin-top:3px}
.demo-ribbon-links{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.demo-ribbon-links strong{color:#fff;background:#ffffff24;border-radius:5px;padding:3px 6px;letter-spacing:.03em}
.demo-ribbon-links button{background:white;color:#801022;border:0;border-radius:8px;padding:8px 11px;font-weight:800;cursor:pointer;font-size:11px}
@media(max-width:720px){.demo-ribbon-inner{align-items:flex-start;flex-direction:column}.demo-ribbon-links{gap:7px}}


.hero-logo-card{position:relative;background:#fff;border:1px solid #f1d3d8;border-radius:20px;padding:14px;box-shadow:0 18px 34px rgba(200,16,46,.08);max-width:320px;margin-inline:auto}.hero-logo-card img{display:block;width:100%;height:auto;border-radius:14px;background:#f5f5f5}.hero-logo-badge{position:absolute;left:18px;bottom:18px;background:rgba(200,16,46,.96);color:#fff;padding:8px 12px;border-radius:999px;font-size:11px;font-weight:800;letter-spacing:.12em;box-shadow:0 8px 20px rgba(200,16,46,.2)}.header-mini-logo{width:56px;height:56px;object-fit:cover;border-radius:12px;border:1px solid #f1d3d8;background:#fff;box-shadow:0 8px 20px rgba(200,16,46,.08)}.vote-toast{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%) scale(.96);z-index:9999;opacity:0;pointer-events:none;transition:opacity .45s ease, transform .45s ease}.vote-toast.show{opacity:1;transform:translate(-50%,-50%) scale(1)}.vote-toast.fade-out{opacity:0;transform:translate(-50%,-50%) scale(.98)}.vote-toast-inner{display:flex;align-items:center;gap:14px;background:#c8102e;color:#fff;padding:16px 18px;border-radius:18px;box-shadow:0 18px 40px rgba(95,11,27,.26);min-width:min(92vw,340px);max-width:92vw}.vote-toast-icon{width:44px;height:44px;border-radius:50%;background:rgba(255,255,255,.14);display:grid;place-items:center;font-size:22px;font-weight:900}.vote-toast b{display:block;font-size:15px;margin-bottom:4px}.vote-toast p{margin:0;font-size:12px;line-height:1.5;color:rgba(255,255,255,.92)}
@media (max-width:900px){.section-head{align-items:flex-start}.section-head h2{font-size:28px}.auth-input-row{flex-direction:column}.auth-input-row .button{width:100%;justify-content:center;padding-inline:14px}.candidate-buttons{flex-direction:column}.candidate-buttons .button{width:100%}.header-mini-logo{display:none}}@media (max-width:700px){.hero{grid-template-columns:1fr}.hero-copy{padding:34px 22px 28px}.hero-aside{border-left:0;border-top:1px solid #f7e9ec;padding:22px}.auth-area{grid-template-columns:1fr;padding-top:22px;padding-bottom:22px}.container{padding-inline:16px}.site-header{height:auto;padding-block:12px}.header-inside{align-items:flex-start;flex-direction:column}.header-right{width:100%;justify-content:space-between;flex-wrap:wrap;gap:8px}.logo{font-size:21px}.hero h1{font-size:34px}.section-head h2{font-size:25px}.count-label{display:none}.candidate-grid{grid-template-columns:1fr}.vote-toast-inner{padding:15px 16px}}

/* Accessibility-oriented success message: 5 seconds visible, then gentle fade. */
.status-toast{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;
  padding:20px;z-index:10000;background:rgba(26,14,18,.30);opacity:0;visibility:hidden;
  pointer-events:none;transition:opacity .55s ease,visibility .55s ease;}
.status-toast.show{opacity:1;visibility:visible;}
.status-toast.fade-out{opacity:0;visibility:hidden;}
.status-toast-card{display:flex;align-items:center;gap:22px;width:min(620px,100%);
  background:#fff;border:2px solid #f2c6ce;border-radius:24px;padding:30px 32px;
  color:var(--ink);box-shadow:0 24px 70px rgba(96,12,32,.27);
  transform:scale(.96) translateY(8px);transition:transform .35s ease;}
.status-toast.show .status-toast-card{transform:scale(1) translateY(0);}
.status-toast-icon{width:80px;height:80px;flex:0 0 80px;display:grid;place-items:center;
  color:var(--red);background:#fff5f6;border:3px solid #f2c6ce;
  border-radius:50%;font-size:42px;font-weight:900;line-height:1;}
.status-toast-copy{min-width:0;}
.status-toast-copy strong{display:block;color:#c8102e;font-size:clamp(23px,2.4vw,29px);
  font-weight:850;letter-spacing:-.035em;line-height:1.2;}
.status-toast-copy p{color:#55535a;margin:11px 0 0;font-size:clamp(17px,1.6vw,20px);
  line-height:1.5;font-weight:500;}
@media(max-width:630px){
  .status-toast-card{gap:16px;padding:24px 18px;border-radius:20px;}
  .status-toast-icon{width:60px;height:60px;flex-basis:60px;font-size:31px;}
  .status-toast-copy strong{font-size:22px;}
  .status-toast-copy p{font-size:17px;margin-top:8px;}
}
@media(max-width:360px){
  .status-toast-card{flex-direction:column;align-items:center;text-align:center;}
}
@media(prefers-reduced-motion:reduce){.status-toast,.status-toast-card{transition:none;}}

/* Makassar live clock in banner, using WITA wall time regardless of viewer time zone. */
.election-clock{margin:20px 0 18px;max-width:520px;background:#fff;
  border:1px solid #f1cfd5;border-radius:16px;padding:16px 20px;
  box-shadow:0 7px 25px rgba(200,16,46,.06);}
.clock-heading{color:#ab1b32;display:flex;align-items:center;gap:8px;
  font-weight:850;font-size:10px;letter-spacing:.08em;flex-wrap:wrap;}
.clock-live-dot{height:8px;width:8px;border-radius:50%;background:#d61635;
  box-shadow:0 0 0 4px rgba(214,22,53,.09);}
.clock-zone{color:#7f7680;font-size:10px;font-weight:700;letter-spacing:.04em;}
.clock-line{display:flex;align-items:baseline;gap:15px;flex-wrap:wrap;margin:8px 0 12px;}
.clock-time{color:#c8102e;letter-spacing:.015em;font-size:clamp(37px,4.3vw,51px);
  line-height:1.15;font-weight:870;font-variant-numeric:tabular-nums;
  font-feature-settings:'tnum';}
.clock-date{color:#66616c;font-size:14px;font-weight:700;}
.clock-schedule{padding-top:11px;border-top:1px solid #f0e7e9;
  font-size:12px;color:#665c62;}
.clock-schedule strong{color:#b71530;white-space:nowrap;}
@media(max-width:630px){.election-clock{padding:15px 16px;margin:17px 0;}
  .clock-time{font-size:42px;}.clock-date{font-size:12px;}}

/* Gmail pilot module */
.mail-pilot-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px 0}.mail-pilot-stats>div{padding:15px;border:1px solid #eddde1;border-radius:12px;background:#fff8f9}.mail-pilot-stats small{display:block;font-size:11px;color:#7a7076}.mail-pilot-stats strong{display:block;font-size:27px;color:#c8102e;margin-top:5px}.mail-pilot-panel #refresh-mail{margin-top:12px}@media(max-width:650px){.mail-pilot-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* V4 - compact first screen, centered code entry for shared voting tablets. */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.hero{min-height:270px;margin-top:15px;margin-bottom:13px;grid-template-columns:minmax(0,1.35fr) minmax(210px,.65fr)}
.hero-copy{padding:25px 25px 21px 36px}.hero h1{font-size:clamp(26px,3.1vw,43px);margin:0 0 6px;line-height:1.11}
.hero-desc{display:none}.hero-meta{margin-top:7px}.hero-logo-card{max-width:210px;padding:3px}.aside-bottom{margin:6px 0 0}
.election-clock{margin:9px 0 7px;padding:10px 15px;max-width:470px}.clock-line{margin:4px 0 5px}.clock-time{font-size:clamp(29px,3vw,40px)}.clock-heading{font-size:9px}.clock-schedule{padding-top:7px}
.clock-schedule-state{display:inline-block;margin-left:9px;color:#74606a;font-size:10px}
.auth-area{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;border:2px solid #f2d6db;padding:20px 22px 17px;margin-bottom:30px;background:#fff;max-width:1180px}
.auth-intro{width:100%}.auth-intro h2{font-size:clamp(19px,2.1vw,25px);color:var(--red);letter-spacing:-.025em;line-height:1.3;margin:5px auto 0;max-width:720px}
.auth-form{width:min(100%,700px);margin-inline:auto}.auth-form .auth-input-row{width:100%;display:flex;align-items:stretch;gap:12px}
.auth-form .auth-input-row input{flex:1 1 60%;font-size:clamp(16px,2.2vw,23px);text-align:center;letter-spacing:.055em;font-weight:780;min-height:56px;border:2px solid #e4d1d5;padding:12px 14px}
.auth-form .auth-input-row input::placeholder{color:#a5a0a3;font-weight:500;letter-spacing:.04em;font-size:clamp(13px,1.6vw,18px)}
.auth-form .auth-input-row button{flex:0 0 auto;min-height:56px;padding:13px 22px;font-size:16px;white-space:normal}
.auth-form .field-error{font-size:13px;min-height:0}.auth-complete{width:min(100%,600px);justify-content:center;text-align:left}
.status-toast{background:rgba(11,57,37,.35)}
.status-toast-card{background:#f3fff7;border-color:#93dcba;box-shadow:0 24px 75px rgba(11,90,58,.28)}
.status-toast.show{pointer-events:auto}
.status-toast-icon{color:#11845d;background:#ecfff5;border-color:#a3dfc4}
.status-toast-copy strong{color:#11734f}
.schedule-panel{border-color:#f0d2d9;background:linear-gradient(120deg,#fff 75%,#fff6f7)}
.schedule-panel .panel-head{align-items:center}.schedule-clock-mark{font-size:23px;font-weight:850;letter-spacing:.045em;color:var(--red);white-space:nowrap}
.schedule-clock-mark span{color:#c0a3ab;font-weight:400}
.schedule-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;max-width:600px;margin:18px 0 12px}
.schedule-fields input{font-size:22px;color:#a80e2c;font-weight:800;padding:12px 16px;min-height:58px}
.schedule-switch{display:flex;gap:11px;align-items:center;font-size:14px;font-weight:750;cursor:pointer;margin:8px 0}
.schedule-switch input{width:20px;min-width:20px;height:20px;accent-color:var(--red);margin:0}
.schedule-help{font-size:12px;color:#70656b;line-height:1.65;max-width:800px}
@media(max-width:900px){.hero{grid-template-columns:minmax(0,1.35fr) minmax(175px,.65fr)}.hero-copy{padding:21px 20px 17px}.hero-logo-card{max-width:175px}.election-clock{padding:10px 12px}}
@media(max-width:700px){.hero{grid-template-columns:1fr;min-height:0}.hero-copy{padding:20px 18px 12px}.hero h1{font-size:clamp(27px,7vw,36px)}.hero-aside{padding:8px 16px 10px;display:flex;flex-direction:row;gap:10px;border-top:1px solid #f6e4e6;justify-content:center}.hero-logo-card{max-width:118px;margin:0}.aside-bottom{margin:0}.aside-bottom p{margin:6px 0 0}.hero-meta{display:none}.election-clock{margin:8px 0 4px}.clock-time{font-size:34px}.auth-area{padding:18px 16px 14px;gap:13px;margin-bottom:22px}.auth-form .auth-input-row{flex-direction:column;gap:10px}.auth-form .auth-input-row button{width:100%;font-size:16px;flex:auto}.schedule-fields{gap:9px}.schedule-fields input{font-size:19px;padding:11px 9px}.schedule-clock-mark{font-size:17px}}
@media(max-height:850px) and (min-width:701px){.demo-ribbon-inner{padding-block:5px}.hero{min-height:220px}.hero-copy{padding-top:15px;padding-bottom:13px}.hero-aside{padding-top:8px}.hero-logo-card{max-width:155px}.auth-area{padding-block:13px}.election-clock{padding-block:8px}}

/* V5: shared voting booths — clearer confirmation and no user logout action. */
.confirm-greeting{display:block;color:#b20e2a;font-size:clamp(23px,2.8vw,32px);font-weight:900;letter-spacing:-.03em;text-transform:none;line-height:1.2}
#confirm-modal .modal-header h3{font-size:clamp(23px,2.8vw,32px);line-height:1.2;color:#b20e2a;letter-spacing:-.035em;margin-top:4px}
#confirm-modal .confirm-body{font-size:clamp(16px,1.8vw,19px);line-height:1.65}
.auth-complete{width:min(100%,790px);max-width:790px;justify-content:center;align-items:center;text-align:left;gap:18px;padding:9px 5px}
.auth-complete .round-check{width:54px;height:54px;flex:0 0 54px;font-size:24px;background:#effcf5;color:#16825a;border-color:#a4e3c5}
.auth-complete b{font-size:clamp(20px,2.2vw,27px);font-weight:900;line-height:1.2;color:#14704e}
.auth-complete p{font-size:clamp(15px,1.75vw,20px);font-weight:750;line-height:1.4;color:#374a40;margin-top:6px}
/* Keep logo large in the horizontal/tablet banner without cropping the characters. */
@media (min-width:701px){
 .hero{grid-template-columns:minmax(0,1.13fr) minmax(295px,.87fr);min-height:308px}
 .hero-aside{padding:10px 8px 7px;gap:3px;justify-content:center}
 .hero-logo-card{box-sizing:border-box;width:min(100%,390px);max-width:none;padding:2px;overflow:hidden;box-shadow:0 8px 26px #c8102e0f}
 .hero-logo-card img{display:block;width:100%;max-height:285px;height:auto;object-fit:contain;object-position:center}
 .aside-bottom{margin:0}
}
@media (min-width:701px) and (max-height:850px){
 .hero{min-height:272px}
 .hero-logo-card img{max-height:250px}
}
@media (max-width:700px){
 .auth-complete{max-width:100%;gap:12px}
 .auth-complete b{font-size:clamp(18px,4.8vw,23px)}
 .auth-complete p{font-size:clamp(14px,3.8vw,17px)}
 .hero-logo-card img{object-fit:contain}
}

@media(max-width:700px){.confirm-greeting,.modal-header h3{font-size:22px}}

/* V7 monitor and candidate color refinements */
.monitor-side{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}.monitor-card{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;padding:10px 14px;border:1px solid #efe3e7;border-radius:14px;background:#fff7f9;min-width:170px}.monitor-card span{font-size:10px;font-weight:800;letter-spacing:.13em;color:#b31834}.monitor-card strong{font-size:27px;line-height:1.05;letter-spacing:-.04em;color:#1f2328;margin:4px 0 2px}.monitor-card small{font-size:13px;font-weight:800;color:#b31834}.result-entry.result-1 .result-fill,.result-fill.fill-1{background:#ffe45c}.result-entry.result-2 .result-fill,.result-fill.fill-2{background:#64dd7a}.result-entry.result-3 .result-fill,.result-fill.fill-3{background:#66cfff}.result-entry.result-1 .result-heading strong{color:#b18c00}.result-entry.result-2 .result-heading strong{color:#1f8d3d}.result-entry.result-3 .result-heading strong{color:#127db8}.schedule-panel{order:2}.big-panel{order:1}.confirm-greeting{font-weight:400!important}.dashboard-results .result-track{background:#eef1f3;border:1px solid #e4e8ec}.dashboard-results{padding-top:20px}@media(max-width:700px){.monitor-side{justify-content:flex-start}.monitor-card{align-items:flex-start;min-width:0;width:100%}.monitor-card strong{font-size:24px}}

/* V8: panitia email workflow and large touch targets */
.distribution-panel{border-color:#edced3}.distribution-panel .panel-head{margin-bottom:19px}.distribution-mode{padding:13px 15px;border-radius:12px;background:#fff6f8;color:#a31935;font-size:13px;font-weight:750;margin-bottom:15px}.distribution-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.distribution-steps>div{background:#fff;border:1px solid #f1e4e7;border-radius:14px;padding:17px;min-width:0;display:flex;flex-direction:column;gap:9px}.distribution-steps p{font-size:12px;line-height:1.65;color:#68626a;margin:0 0 3px}.distribution-steps input[type=file],.distribution-steps input[type=url]{font-size:13px}.distribution-steps .button{white-space:normal;line-height:1.4}.step-label{font-size:13px;font-weight:850;color:#bd1837;margin-bottom:5px}.distribution-preview{font-size:12px;background:#faf8fa;border-radius:8px;padding:11px;line-height:1.6;overflow-wrap:anywhere;min-height:55px}.dist-approval{display:flex;align-items:start;gap:9px;line-height:1.6;color:#625d65}.dist-approval input{width:18px;height:18px;flex:none;margin:3px 0}.distribution-panel .mail-pilot-stats{margin-top:18px}.distribution-footer{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}.distribution-footer .small-caution{margin:13px 0;max-width:700px}@media(max-width:850px){.distribution-steps{grid-template-columns:1fr}.distribution-steps>div{padding:16px}}

.distribution-panel .mail-pilot-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:19px}.distribution-panel .mail-pilot-stats>div{border:1px solid #f0e4e7;border-radius:12px;background:#fff8fa;padding:15px}.distribution-panel .mail-pilot-stats small{font-size:11px;color:#8a6671;display:block}.distribution-panel .mail-pilot-stats strong{display:block;font-size:27px;font-weight:850;color:#bc1735;margin-top:5px}@media(max-width:630px){.distribution-panel .mail-pilot-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* V8.1: visibility fix for voting-code form on draft / after hours / closed states. */
.auth-state{width:min(100%,780px);margin:0 auto 4px;padding:11px 15px;border:1px solid #f0cfd6;border-radius:11px;background:#fff8e8;color:#78451e;text-align:center;font-size:14px;font-weight:650;line-height:1.55}
#voter-form{width:min(100%,790px)}
#voter-form:not(.hidden){display:block}
#voter-form input:disabled{background:#f6f4f5;color:#69616a;opacity:1;cursor:not-allowed}
#voter-form button:disabled{opacity:.63}
@media(max-width:700px){.auth-state{font-size:13px;padding:11px 12px}}

/* V9: multi-contest selection and panitia configuration */
.v9-intro-choices{padding:4px 0 15px}.v9-category-cards,.v9-contest-config{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.v9-category-card,.v9-config-card{background:white;border:1px solid #f1dce1;border-radius:16px;padding:20px;min-width:0}
.v9-category-card{display:flex;flex-direction:column;gap:10px}.v9-category-chip{font-size:12px;font-weight:800;color:#b91635}.v9-category-card strong{font-size:22px}.v9-category-card small{color:#858088}
.v9-workflow{background:white;border:1px solid #f2e2e6;border-radius:19px;padding:20px 24px;box-shadow:var(--shadow)}
.v9-welcome{display:flex;flex-direction:column;gap:5px;border-radius:13px;background:#f1fff7;border:1px solid #cceedd;padding:14px 18px;margin-bottom:16px;color:#126d45}
.v9-welcome span{font-size:11px;font-weight:800;letter-spacing:.12em}.v9-welcome strong{font-size:19px}.v9-welcome small{color:#3a7657;font-size:12px}
.v9-steps{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:24px}.v9-step{border-radius:100px;border:1px solid #e9d9de;background:#fff;color:#74676d;padding:10px 16px;font-size:12px;font-weight:800}
.v9-step.current{background:#c8102e;color:white;border-color:#c8102e}.v9-step.done:not(.current){background:#effaf3;border-color:#abe6c4;color:#157b4e}
.v9-candidate{box-shadow:none}.v9-candidate.v9-selected{border:2px solid #20a86c;background:#f6fff9}.candidate-grid.v9-two{grid-template-columns:repeat(2,minmax(0,370px));justify-content:center}
.pair-photos.v9-single .portrait{width:55%;max-width:185px}.v9-workflow-actions{margin-top:20px;display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.v9-workflow-actions span{font-size:12px;color:#328454;font-weight:750}.v9-review-list{display:flex;flex-direction:column;gap:10px;margin:14px 0}
.v9-review-list>div{border:1px solid #ecdfe3;border-radius:9px;padding:12px 14px;display:flex;flex-direction:column;gap:5px}.v9-review-list b{color:#c8102e}.v9-review-list span{font-size:13px}
.v9-result-group{margin-bottom:28px}.v9-result-group h3{color:#bd1833;margin:10px 0 17px;border-bottom:1px solid #f1dde0;padding-bottom:8px}
.v9-config-card h3{font-size:19px;margin:0 0 10px;color:#bd1833}.v9-config-card p{font-size:12px;color:#747078;line-height:1.6}.v9-config-card label{margin:11px 0 7px}
.v9-config-card input[type=number],.v9-config-card select{width:100%;border:1px solid #e6dce0;padding:11px;border-radius:9px;font:inherit;background:white}
.v9-config-card input[type=checkbox]{width:19px;height:19px;accent-color:#c8102e}.v9-contest-editors{display:flex;flex-direction:column;gap:20px;margin-top:22px}
.v9-editor-section{background:#fff;border:1px solid #eddee2;padding:18px;border-radius:15px}.v9-editor-section h3{color:#b91b35;font-size:17px;margin:0 0 15px}
.v9-editor-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.v9-editor-grid .editor-card{background:#fffafa}.v9-edit-notice{color:#68656c;font-size:12px}
@media(max-width:900px){.v9-category-cards,.v9-contest-config{grid-template-columns:1fr 1fr}.v9-editor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:670px){.v9-category-cards,.v9-contest-config,.v9-editor-grid{grid-template-columns:1fr}.candidate-grid.v9-two{grid-template-columns:1fr}.v9-workflow{padding:15px}.v9-workflow-actions{flex-direction:column}.v9-workflow-actions .button{width:100%}.v9-welcome strong{font-size:16px}}

/* Compact candidate cards on landscape tablet to reduce scrolling in seven booths. */
@media (orientation:landscape) and (min-width:701px) and (max-height:850px){.v9-workflow{padding:15px 19px}.v9-welcome{padding:9px 14px;margin-bottom:9px}.v9-steps{margin-bottom:14px}.v9-workflow .section-head{margin-bottom:14px}.v9-workflow .portrait{height:125px;max-width:122px}.v9-workflow .candidate-top{padding:12px 14px}.v9-workflow .pair-photos{margin-top:10px}.v9-workflow .candidate-body{padding:10px 12px 3px}.v9-workflow .candidate-buttons{padding:11px}.v9-workflow-actions{margin-top:12px}}

.demo-ribbon{display:none!important}.hero-logo-card img{width:100%;height:auto;object-fit:contain;object-position:center}


/* V9.2 — Portal Panitia: identical layout on demo and server. */
body.admin-body{background:#faf8f9}
.admin-mode-pill{display:inline-flex;border:1px solid #cddbcf;background:#f1fff4;color:#216d4a;font-size:10px;font-weight:800;letter-spacing:.04em;border-radius:999px;padding:8px 12px;white-space:nowrap}
.mode-demo .admin-mode-pill{border-color:#f2dabc;background:#fff9ec;color:#9a5c0d}
.demo-utilities{margin-top:14px;margin-bottom:-12px;padding:13px 18px;border:1px solid #e9d9de;background:#fff;border-radius:15px;display:flex;gap:16px;align-items:center;justify-content:space-between}
.demo-utilities-copy{display:flex;flex-direction:column;gap:2px}.demo-utilities-copy strong{color:#aa2b44;font-size:11px;letter-spacing:.08em}.demo-utilities-copy span,.demo-demo-code{color:#6b6269;font-size:11px;line-height:1.5}
.demo-utilities-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.demo-utilities-actions button{border:1px solid #d9cad0;border-radius:9px;background:#fff;padding:9px 11px;font-weight:750;color:#9c2140;font-size:11px}
.demo-utilities-actions button:hover{background:#fff4f6}
.admin-jump-nav{display:flex;gap:7px;overflow-x:auto;padding:0 0 14px;margin:0 0 4px;scrollbar-width:thin}
.admin-jump-nav a{white-space:nowrap;font-size:12px;color:#834153;background:white;border:1px solid #e9dce0;border-radius:999px;padding:10px 14px;font-weight:750}
.admin-jump-nav a:hover,.admin-jump-nav a:focus-visible{background:#fff0f3;border-color:#e3adb9}
.admin-main section[id]{scroll-margin-top:16px}
.readiness-panel{padding:20px 24px;border-color:#e8e0e3}
.readiness-score{color:#2d7655;border:1px solid #d0e9d9;border-radius:100px;background:#effaf2;padding:11px 16px;font-weight:850;font-size:12px;white-space:nowrap}
.readiness-items{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:11px;margin:18px 0 9px}
.readiness-item{display:flex;align-items:flex-start;gap:9px;padding:12px;background:#f8f7f8;border:1px solid #ece8eb;border-radius:12px;min-width:0}
.readiness-indicator{display:grid;place-items:center;flex:0 0 23px;width:23px;height:23px;border-radius:50%;font-weight:850;font-size:13px}
.is-ready .readiness-indicator{background:#daf4e5;color:#167547}.is-pending .readiness-indicator{background:#fff0d9;color:#a56516}
.readiness-item b{font-size:11px;line-height:1.4;display:block}.readiness-item small{font-size:10px;color:#777079;line-height:1.5;display:block;margin-top:4px;overflow-wrap:anywhere}
.readiness-footnote{font-size:11px;color:#776f77;line-height:1.6;margin:10px 0 0}
.admin-editor-help{font-size:12px;color:#76656d;margin:19px 0 10px}
.v92-editor-details{border:1px solid #e9d7dd;border-radius:14px;background:#fff;margin-bottom:15px;overflow:hidden}
.v92-editor-details>summary{padding:18px 20px;display:flex;justify-content:space-between;align-items:center;gap:12px;cursor:pointer;background:#fffafa;list-style:revert;font-weight:850;color:#ab1838}
.v92-editor-details[open]>summary{border-bottom:1px solid #ebdfe3;background:#fff5f7}
.v92-editor-details .v9-editor-grid{padding:17px}
.v92-editor-title{font-size:16px}.v92-editor-title small{display:block;color:#7d747b;font-size:11px;font-weight:550;margin-top:3px}
.v92-photo-count{display:inline-flex;background:white;color:#385f47;border:1px solid #d9e7de;border-radius:100px;padding:7px 11px;font-size:10px;white-space:nowrap}
.mode-demo .distribution-mode{background:#fff9ed;color:#95601c;border:1px solid #f0dfbc}
.mode-demo .distribution-panel .distribution-steps button[disabled]{opacity:.65}
/* Improve consistency of dropdown appearance */
.admin-body select{background:white;color:var(--ink);min-height:41px}
.admin-body .header-mini-logo{object-fit:contain;background:transparent;border:0;box-shadow:none}
@media(max-width:1080px){.readiness-items{grid-template-columns:repeat(3,minmax(0,1fr))}.demo-utilities{flex-direction:column;align-items:flex-start}}
@media(max-width:700px){.readiness-items{grid-template-columns:repeat(2,minmax(0,1fr))}.readiness-panel .panel-head{align-items:flex-start}.readiness-score{font-size:11px}.v92-editor-details .v9-editor-grid{padding:10px}.admin-jump-nav a{font-size:11px;padding:9px 12px}.demo-utilities{margin-top:10px}.admin-main{padding-top:22px}.dashboard-title{gap:10px}}
@media(max-width:440px){.readiness-items{grid-template-columns:1fr}.v92-editor-details>summary{align-items:flex-start;flex-direction:column}}

/* V9.3: Portal Panitia — concise operational flow, same on demo and server */
.v93-flow-guide{background:linear-gradient(120deg,#fff,#fff8fa);border-color:#efdce2}
.v93-flow-guide .panel-head h2{font-size:clamp(17px,2vw,22px)}
.v93-flow-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:15px}
.v93-flow-steps>span{display:flex;align-items:center;gap:8px;padding:12px 11px;border-radius:12px;background:white;border:1px solid #f1e4e8;font-size:11px;font-weight:750;color:#433941;line-height:1.45}
.v93-flow-steps b{display:grid;place-items:center;min-width:24px;height:24px;border-radius:50%;background:#cb1232;color:white}
@media(max-width:850px){.v93-flow-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:460px){.v93-flow-steps{grid-template-columns:1fr}}

/* V9.4 — footer-only pilot disclosure; administrator confirmation and progress focus */
.final-close-dialog{max-width:515px;width:min(515px,94vw)}
.final-close-content{padding:24px}
.final-close-content h4{font-size:20px;line-height:1.4;margin:0 0 9px;color:#ae1832}
.final-close-content p{font-size:13px;line-height:1.7;color:#59525a}
.final-close-content label{font-weight:850;font-size:14px}
.final-close-content input{font-size:17px;letter-spacing:.04em;padding:15px}
.final-close-buttons{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-top:22px}
.final-close-buttons .button{font-size:13px;white-space:normal}
@media(max-width:650px){.final-close-buttons{flex-direction:column}.final-close-buttons .button{width:100%}}
.v9-workflow-actions{scroll-margin-top:24px;padding:12px 6px;background:linear-gradient(180deg,#fff,#f1fff6);border-radius:12px}
.v9-workflow-actions .button-success{min-height:50px;font-size:14px;box-shadow:0 5px 15px #1386571c}

/* V9.5: group permissions and class-aware kiosk */
.v95-groups{padding:20px;margin:20px 0 23px;background:#fff9fa;border:1px solid #f0dce0;border-radius:17px}
.v95-groups h3{font-size:19px;color:#b31630;margin:0 0 8px}.v95-groups p{font-size:12px;color:#676772;margin:0 0 15px}
.v95-group-item{display:flex;align-items:center;gap:14px;padding:14px;border:1px solid #e7dfe1;border-radius:12px;background:white;margin-bottom:12px;cursor:pointer}
.v95-group-item input{width:24px;height:24px;flex:0 0 24px;accent-color:#10885c;margin:0}.v95-group-item strong{display:block;font-size:13px}.v95-group-item small{font-size:11px;line-height:1.5;color:#6e737c;display:block;margin-top:4px}
.v95-fixed-mode{font-size:12px;padding:11px 9px;background:#f1f6f5;border-radius:8px;color:#185a42;margin-top:10px}.v95-category-state{font-size:11px;color:#808080;display:block;margin:11px 0}
.v95-warning{padding:12px;border-radius:10px;background:#fff8df;color:#855800;font-size:12px;line-height:1.6}
.v95-tv-link{background:#eef7f1;border-color:#cee8d7;color:#0e784d!important}
@media(max-width:680px){.v95-group-item{align-items:flex-start}.v95-tv-link{font-size:10px;max-width:130px;text-align:center}.v95-groups{padding:13px}}

/* V9.5 presentation-safe public turnout board: NEVER expose per-candidate totals here. */
.tv-body{margin:0;background:linear-gradient(135deg,#fff 0%,#fff5f6 62%,#fff 100%);font-family:Inter,ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;color:#26252a}
.tv-shell{min-height:100vh;display:flex;flex-direction:column}.tv-header{padding:18px clamp(22px,4vw,68px);display:flex;justify-content:space-between;align-items:center;background:white;border-bottom:1px solid #f2dadd;gap:12px}
.tv-brand{display:flex;align-items:center;gap:12px}.tv-brand img{width:52px;height:52px;object-fit:contain}.tv-brand strong{display:block;font-weight:900;letter-spacing:-.055em;font-size:29px;line-height:1}.tv-brand small{display:block;font-size:10px;letter-spacing:.2em;font-weight:800;color:#8a8c93;margin-top:5px}.tv-red{color:#c8102e}.tv-topinfo{display:flex;align-items:center;gap:20px;font-weight:800;color:#95132c}.tv-live{padding:11px 17px;border-radius:999px;background:#f0fbf6;color:#07814f;font-size:14px;letter-spacing:.14em}.tv-stage{flex:1;display:grid;place-items:center;padding:25px clamp(15px,5vw,65px)}.tv-center{text-align:center;width:min(100%,1050px)}.tv-kicker{display:block;color:#a40c2e;font-weight:900;letter-spacing:.2em;font-size:clamp(12px,1.4vw,19px)}.tv-center h1{font-size:clamp(35px,5.6vw,78px);letter-spacing:-.055em;color:#b61230;line-height:1.06;margin:16px 0 8px}.tv-school{font-weight:750;font-size:clamp(17px,2.2vw,28px);margin:0}.tv-explainer{color:#727480;font-size:clamp(13px,1.6vw,21px);margin:28px 0 12px}.tv-main-count{display:flex;align-items:baseline;justify-content:center;gap:clamp(8px,2vw,27px);font-weight:900;font-variant-numeric:tabular-nums;letter-spacing:-.045em;font-size:clamp(70px,12vw,175px);line-height:1.12;color:#211e24}.tv-main-count #tv-voted{color:#b81231}.tv-main-count .tv-divide{font-size:.66em;color:#c6a9af;font-weight:300}.tv-progress{height:clamp(17px,2.4vw,32px);background:#f0e6e9;border:1px solid #ebd7dc;border-radius:50px;overflow:hidden;margin:28px auto;max-width:930px}.tv-progress div{height:100%;background:linear-gradient(90deg,#d52343,#fe8b72);width:0;transition:width .45s ease}.tv-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:30px 0 22px}.tv-metric{padding:22px 14px;border:1px solid #eedde1;border-radius:17px;background:#fff}.tv-metric small{display:block;font-size:clamp(10px,1.2vw,16px);color:#6d6f77;font-weight:800;letter-spacing:.1em}.tv-metric strong{display:block;margin-top:8px;color:#2e2b31;font-size:clamp(25px,3.6vw,49px)}.tv-metric-highlight{background:#fff1f4;border-color:#f1cdd6}.tv-metric-highlight strong{color:#b81231}.tv-status{font-weight:800;color:#317559;font-size:clamp(13px,1.5vw,18px);margin:24px 0 0}.tv-footer{padding:16px clamp(22px,4vw,68px);border-top:1px solid #f0dade;display:flex;justify-content:space-between;gap:18px;color:#88838a;font-size:12px;font-weight:650}
@media(max-width:700px){.tv-header{padding:10px 16px}.tv-brand img{width:38px;height:38px}.tv-brand strong{font-size:21px}.tv-topinfo{gap:9px;font-size:11px}.tv-live{padding:7px 10px;font-size:11px}.tv-metrics{gap:8px}.tv-metric{padding:12px 6px;border-radius:10px}.tv-main-count{font-size:clamp(56px,13vw,110px)}.tv-footer{font-size:9px;padding:12px}}

/* V9.6: local panitia confirmation with zero forced scroll */
.admin-save-toast{position:fixed;z-index:9500;left:50%;bottom:max(26px,env(safe-area-inset-bottom));transform:translate(-50%,32px);opacity:0;visibility:hidden;pointer-events:none;padding:16px 24px;border-radius:18px;min-width:min(500px,calc(100vw - 32px));max-width:min(780px,calc(100vw - 32px));background:#ecfff3;border:2px solid #80d5a2;color:#116b3f;box-shadow:0 18px 52px #0d513630;text-align:center;font-size:clamp(15px,1.5vw,20px);font-weight:800;line-height:1.45;transition:transform .25s ease,opacity .25s ease,visibility .25s ease}
.admin-save-toast.visible{transform:translate(-50%,0);opacity:1;visibility:visible}
.admin-save-toast.is-error{background:#fff4f4;border-color:#e7a0aa;color:#a01032}
.v92-editor-details>summary{min-height:68px}
.v92-editor-details .v9-editor-grid{padding:20px}
@media(max-width:700px){.admin-save-toast{padding:13px 17px}.v92-editor-details .v9-editor-grid{padding:12px}}
@media(prefers-reduced-motion:reduce){.admin-save-toast{transition:none}}

/* V9.6: 4K 3840x2160 TV canvas, all information one screen */
.tv-body{height:100dvh;overflow:hidden}
.tv-shell{height:100dvh;min-height:0;overflow:hidden}
.tv-stage{min-height:0;overflow:hidden}
.tv-center{max-height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center}
.tv-progress{width:100%}
@media(min-width:2560px) and (min-height:1200px){
  .tv-header{padding:clamp(28px,2.25vh,62px) clamp(80px,4.2vw,175px);min-height:0}
  .tv-brand{gap:26px}.tv-brand img{width:clamp(85px,5.2vw,155px);height:clamp(85px,5.2vw,155px)}
  .tv-brand strong{font-size:clamp(45px,2.5vw,94px)}.tv-brand small{font-size:clamp(15px,.85vw,31px);letter-spacing:.2em;margin-top:12px}
  .tv-topinfo{font-size:clamp(25px,1.5vw,55px);gap:42px}.tv-live{font-size:clamp(21px,1.2vw,42px);padding:18px 32px}
  .tv-stage{padding:clamp(20px,1.6vh,40px) 7vw}
  .tv-center{width:min(100%,2350px)}
  .tv-kicker{font-size:clamp(25px,1.25vw,48px)}
  .tv-center h1{font-size:clamp(75px,5vw,185px);line-height:1.05;margin:clamp(12px,1.3vh,28px) 0}
  .tv-school{font-size:clamp(30px,1.9vw,69px)}
  .tv-explainer{font-size:clamp(22px,1.25vw,47px);margin:clamp(16px,1.7vh,37px) 0 8px}
  .tv-main-count{font-size:clamp(140px,10vw,360px);line-height:1.08;gap:42px}
  .tv-progress{height:clamp(34px,2.4vh,56px);max-width:2050px;margin:clamp(20px,2vh,45px) 0}
  .tv-metrics{width:100%;gap:32px;margin:clamp(16px,1.7vh,37px) 0}
  .tv-metric{border-radius:29px;padding:clamp(22px,2.3vh,52px) 24px}
  .tv-metric small{font-size:clamp(19px,1.1vw,40px)}
  .tv-metric strong{font-size:clamp(50px,3.2vw,120px);margin-top:12px}
  .tv-status{font-size:clamp(25px,1.35vw,49px);margin:clamp(15px,1.4vh,31px) 0 0}
  .tv-footer{font-size:clamp(16px,.95vw,34px);padding:clamp(24px,2vh,46px) 4vw}
}
@media(max-height:730px){.tv-header{padding-block:7px}.tv-brand img{height:32px;width:32px}.tv-brand strong{font-size:19px}.tv-center h1{font-size:clamp(25px,5vh,44px);margin:4px 0}.tv-explainer{margin:6px 0}.tv-main-count{font-size:clamp(44px,12vh,83px)}.tv-progress{margin:9px auto;height:14px}.tv-metrics{margin:9px 0;gap:8px}.tv-metric{padding:9px 6px}.tv-metric strong{font-size:clamp(21px,4vh,33px)}.tv-status{margin-top:6px}.tv-footer{padding:8px 15px}}

/* V9.7: unobtrusive top-right panitia notifications; guarded live transition. */
.admin-save-toast{left:auto;right:clamp(12px,2vw,28px);top:max(91px,env(safe-area-inset-top));bottom:auto;transform:translate(24px,0);min-width:0;width:min(400px,calc(100vw - 24px));max-width:calc(100vw - 24px);text-align:left;padding:14px 18px;border-radius:14px;font-size:clamp(13px,1.2vw,16px)}
.admin-save-toast.visible{transform:translate(0,0)}
.group-phase-notice{font-size:12px;line-height:1.65;color:#305d4b;border-left:3px solid #16a86b;padding:10px 12px;background:#edf9f2;border-radius:6px;margin:9px 0 16px}
.v95-groups[data-phase="open"]{border-color:#99d8b3;background:#f5fff8}
.v95-groups[data-phase="open"] h3:after{content:' · SEDANG BERLANGSUNG';font-size:10px;color:#0e8e55;letter-spacing:.045em}
#edit-groups-dialog .final-close-content{padding:22px 25px}#edit-groups-dialog p{font-size:13px;line-height:1.7}#edit-groups-dialog .final-close-buttons{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;margin-top:15px}
@media(max-width:650px){.admin-save-toast{top:max(75px,env(safe-area-inset-top));font-size:14px}#edit-groups-dialog .final-close-content{padding:15px 18px}}

/* V9.8: Portal Panitia popup always centered */
.admin-save-toast{position:fixed;left:50%;right:auto;top:50%;bottom:auto;transform:translate(-50%,-45%);text-align:center;width:min(560px,calc(100vw - 32px));min-width:0;max-width:calc(100vw - 32px);z-index:9500}
.admin-save-toast.visible{transform:translate(-50%,-50%)}
@media(max-width:650px){.admin-save-toast{top:50%;left:50%;right:auto;transform:translate(-50%,-45%)}.admin-save-toast.visible{transform:translate(-50%,-50%)}}

.result-historical{font-size:12px;font-weight:700;color:#777985;letter-spacing:0}

/* V9.9 portal depan: jam kecil di atas emblem, jadwal dipertahankan di kiri. */
.site-header .logo{letter-spacing:-.04em}.site-header .logo small{font-size:clamp(7px,.8vw,9px);letter-spacing:.08em;margin-top:6px}
.hero{grid-template-columns:minmax(0,1.23fr) minmax(300px,.77fr);min-height:0}
.hero-copy{padding:26px 27px 25px 34px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.hero .official-heading{color:#b20d2c;font-size:clamp(10px,1vw,13px);font-weight:850;letter-spacing:.16em;display:block;margin-bottom:12px}
.hero h1,.hero h1 span{font-size:clamp(27px,2.8vw,40px);line-height:1.17;color:#252529;font-weight:900;letter-spacing:-.035em}
.hero .hero-school{font-size:15px;color:#a62037;margin-top:5px}
.hero-aside{padding:12px 18px 12px;justify-content:center;gap:8px}
.hero-aside .compact-clock{padding:7px 14px 9px;box-shadow:none;border:1px solid #f0d6dc;background:#fff;max-width:350px;width:100%;margin:0 auto;text-align:center}
.hero-aside .compact-clock .clock-time{font-size:clamp(22px,2.1vw,31px);letter-spacing:.035em;color:#bc1531;display:block;font-weight:850;line-height:1.13}
.hero-aside .compact-clock .clock-date{font-size:clamp(11px,.95vw,13px);line-height:1.25;margin-top:2px;color:#59575d}
.hero-aside .hero-logo-card{width:min(100%,360px);padding:0;margin:0 auto;max-width:360px}
.hero-aside .hero-logo-card img{object-fit:contain;max-height:260px;width:100%}
.hero-aside .aside-bottom{margin:0;text-align:center}
.schedule-left{width:min(100%,510px);margin-top:18px;margin-bottom:8px}
.schedule-left-heading{font-size:12px;color:#a51d36;font-weight:850;letter-spacing:.13em}
.schedule-left .clock-schedule{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:6px;background:#fff8fa;border:1px solid #f3dce1;border-radius:10px;padding:10px 12px;font-size:13px}
.schedule-left .clock-schedule #schedule-caption{display:none}
.schedule-left .clock-schedule strong{font-size:16px}
#voter-code{text-transform:uppercase;letter-spacing:.12em;font-weight:800;font-size:clamp(20px,2vw,26px)}
@media(max-width:900px){.hero{grid-template-columns:minmax(0,1fr) minmax(250px,.72fr)}.hero-copy{padding:18px 19px}.hero-aside{padding:10px}.hero-aside .hero-logo-card img{max-height:215px}}
@media(max-width:700px){.hero{display:flex;flex-direction:column}.hero-copy{padding:22px 18px 12px;width:100%}.hero h1,.hero h1 span{font-size:clamp(25px,7.3vw,35px)}.hero-aside{flex-direction:column;width:100%;padding:10px 20px}.hero-aside .compact-clock{max-width:320px}.hero-aside .compact-clock .clock-time{font-size:28px}.hero-aside .hero-logo-card{max-width:200px}.hero-aside .hero-logo-card img{max-height:155px}.schedule-left{margin-top:12px}.schedule-left .clock-schedule{padding:8px 10px}}
/* V9.9 final TV: wall-mounted 4K landscape, 3-minute ranked / 2-minute pie loop. */
.tv-body{overflow:hidden}.tv-shell{height:100dvh;min-height:0;overflow:hidden}
.tv-results-stage{flex:1;min-height:0;display:flex;flex-direction:column;padding:clamp(15px,2.3vh,48px) clamp(20px,3vw,90px) clamp(8px,1vh,18px);overflow:hidden}
.tv-results-top{text-align:center;flex:0 0 auto}.tv-results-top>span{color:#b71938;font-weight:900;letter-spacing:.17em;font-size:clamp(12px,1.1vw,30px)}
.tv-results-top h1{font-size:clamp(25px,3vw,84px);line-height:1.1;letter-spacing:-.04em;margin:.18em 0 .12em;color:#2b2730}
.tv-results-top p{font-size:clamp(12px,1.05vw,26px);color:#65636b;margin:0}
.tv-results-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(12px,1.3vw,36px);flex:1;min-height:0;align-items:stretch;padding:clamp(12px,1.8vh,35px) 0}
.tv-result-card{border:1px solid #ecd5db;border-radius:clamp(12px,1vw,26px);background:#fff;box-shadow:0 12px 45px #86132a0c;display:flex;flex-direction:column;padding:clamp(13px,1.4vw,34px);min-width:0;min-height:0;overflow:hidden}
.tv-result-card-head{border-bottom:2px solid #f2e3e6;padding-bottom:clamp(10px,1vh,24px);display:flex;flex-direction:column;gap:3px;flex:0 0 auto}
.tv-result-type{font-weight:900;color:#b71938;font-size:clamp(18px,1.65vw,42px);line-height:1.2;letter-spacing:-.03em}
.tv-result-total{font-size:clamp(12px,.94vw,23px);color:#777079;font-weight:700}
.tv-rank-list{display:flex;flex-direction:column;gap:clamp(7px,1vh,23px);margin-top:clamp(13px,1.4vh,35px);overflow:hidden;min-height:0}
.tv-rank-row{display:flex;align-items:center;gap:clamp(8px,.8vw,20px);padding:clamp(8px,1.05vh,20px) clamp(8px,.7vw,18px);border:1px solid #f0e8ea;border-radius:clamp(9px,.7vw,19px);background:#fcfafb;min-width:0}
.tv-rank-number{display:grid;place-items:center;width:clamp(29px,2.8vw,72px);height:clamp(29px,2.8vw,72px);border-radius:50%;background:#ad1632;color:white;font-size:clamp(16px,1.45vw,35px);font-weight:900;flex:0 0 auto}
.tv-rank-color{width:clamp(7px,.6vw,16px);height:clamp(32px,2.8vw,65px);border-radius:999px;flex:none}
.tv-rank-person{min-width:0;flex:1}.tv-rank-person strong{display:block;font-size:clamp(11px,.9vw,26px);line-height:1.23;overflow-wrap:anywhere}.tv-rank-person small{display:block;color:#857982;font-size:clamp(9px,.65vw,16px);margin-top:5px}
.tv-rank-count{text-align:right;flex:0 0 auto}.tv-rank-count strong{display:block;font-size:clamp(19px,1.7vw,45px);line-height:1.1;color:#a91734}.tv-rank-count small{display:block;font-size:clamp(10px,.76vw,21px);color:#636168}
.tv-pie-visual{flex:1;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;gap:clamp(8px,1vh,24px)}
.tv-pie{width:min(19.5vw,30vh);aspect-ratio:1;border-radius:50%;box-shadow:0 4px 20px #33333314;display:grid;place-items:center;flex:0 0 auto}
.tv-pie-center{width:53%;aspect-ratio:1;border-radius:50%;background:#fff;display:flex;flex-direction:column;justify-content:center;align-items:center;box-shadow:0 0 0 1px #eee}
.tv-pie-center b{font-weight:900;font-size:clamp(22px,1.75vw,50px)}.tv-pie-center small{font-weight:800;color:#7a777e;font-size:clamp(9px,.65vw,18px)}
.tv-pie-legend{width:100%;display:grid;gap:clamp(3px,.55vh,13px);overflow:hidden}
.tv-legend-row{display:flex;align-items:center;gap:clamp(8px,.55vw,17px);padding:clamp(4px,.44vh,11px);background:#faf9fa;border-radius:8px;font-size:clamp(10px,.8vw,23px);min-width:0}
.tv-legend-row>span:nth-child(2){min-width:0;flex:1;overflow-wrap:anywhere}.tv-legend-row b{font-variant-numeric:tabular-nums}
.tv-legend-dot{width:clamp(11px,.85vw,24px);height:clamp(11px,.85vw,24px);border-radius:4px;flex:0 0 auto}
.tv-results-rotation{text-align:center;color:#987480;font-size:clamp(11px,.85vw,20px);font-weight:750;margin:0 0 4px}
.tv-results-empty{text-align:center;grid-column:1/-1;font-size:clamp(20px,2vw,48px)}
@media(max-width:950px){.tv-results-grid{gap:8px}.tv-result-card{padding:12px}.tv-rank-row{gap:5px;padding:6px}.tv-pie{width:min(24vw,32vh)}}
/* Keep candidate rankings readable at television viewing distance. */
@media(min-width:1920px) and (min-height:1000px){
 .tv-rank-list{flex:1;justify-content:center}
 .tv-rank-row{min-height:min(7.5vh,160px)}
 .tv-rank-person strong{font-size:clamp(22px,1.15vw,42px)}
 .tv-rank-count strong{font-size:clamp(28px,2vw,56px)}
 .tv-result-type{font-size:clamp(28px,1.9vw,54px)}
 .tv-result-total{font-size:clamp(17px,1vw,30px)}
}

/* V10: verification and class-aware code CSV issuance. */
.auth-intro .v10-code-heading{color:#bc1533;font-weight:900;font-size:clamp(22px,2.4vw,31px);line-height:1.18;margin:0 0 9px}
.auth-intro .v10-code-description{color:#5c5f69;font-size:clamp(13px,1.25vw,16px);font-weight:550;line-height:1.55;max-width:500px;margin:0}
.v10-codes-help{font-size:12px;line-height:1.65;color:#655d64;margin:8px 0 6px}
.v10-codes-help strong{color:#92243a}
.v10-code-preview{padding:10px 12px;border:1px solid #b7e8d0;background:#f1fcf6;border-radius:10px;font-size:13px;font-weight:780;color:#136c46;margin:10px 0}
#codes-class-x{margin-bottom:8px}
@media(max-width:700px){.auth-intro .v10-code-heading{font-size:24px}.auth-intro .v10-code-description{font-size:14px}}


/* V10.1: centered verification text above input on tablet and mobile. */
#auth-area .auth-intro{
    width:100%; max-width:790px; margin-left:auto; margin-right:auto; text-align:center;
}
#auth-area .auth-intro .v10-code-heading{
    text-align:center; margin:0 auto 10px; max-width:100%;
}
#auth-area .auth-intro .v10-code-description{
    text-align:center; margin:0 auto; width:100%; max-width:660px;
    padding-inline:4px; text-wrap:pretty;
}
#auth-area #voter-form{margin-inline:auto;}
@media(max-width:700px){
    #auth-area .auth-intro .v10-code-description{
        max-width:100%; font-size:14px; line-height:1.55;
    }
}


/* V10.3 — foto calon standar potret 4 x 6 cm, ketua dan wakil tidak tertukar. */
.candidate-grid .pair-photos{gap:10px;align-items:flex-start;justify-content:center;}
.candidate-grid .pair-photos .portrait{
  flex:0 1 4cm;width:4cm;max-width:calc((100% - 10px)/2);
  height:auto;aspect-ratio:2/3;min-height:0;border-radius:9px;
}
.candidate-grid .pair-photos.v9-single .portrait{flex:0 1 4cm;width:4cm;max-width:100%;height:auto;aspect-ratio:2/3;}
.candidate-grid .pair-photos .portrait img,.profile-person .portrait img{object-fit:cover;object-position:center top;}
.profile-people .profile-person .portrait{width:4cm;max-width:100%;height:auto;aspect-ratio:2/3;}
/* Override prior landscape iPad height-only rules; preserve the 2:3 portrait ratio. */
@media (orientation:landscape) and (min-width:701px) and (max-height:850px){
  .v9-workflow .candidate-grid .pair-photos .portrait{width:4cm;max-width:calc((100% - 10px)/2);height:auto;aspect-ratio:2/3;}
}
/* Save/Edit pairs: editing is locked until a successful save. */
.v103-save-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-top:16px;}
.v103-save-actions .button{margin:0;flex:1 1 165px;white-space:normal;}
.v103-edit-button{background:#edf0f2;border:1px solid #b7bfc6;color:#263641;}
.v103-edit-button:disabled{background:#e4e5e7;border:1px solid #d5d7d9;color:#9499a0;cursor:not-allowed;opacity:1;}
.editor-card .v103-save-actions .button{margin:0;width:auto;}
.stack-form .v103-save-actions .button{align-self:auto;margin:0;}
.v103-monitor-shortcut{background:#fff;}
.v103-monitor-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px;}
.v103-monitor-actions .button{display:inline-flex;align-items:center;justify-content:center;}
.v103-results-link{border:1px solid #e0bbc3;}
@media (max-width:560px){.v103-save-actions .button{flex-basis:130px;}.v103-monitor-actions .button{width:100%;}}

/* V10.3 private administrator results 4K dashboard, no scrollbar at 3840x2160 */
.admin-results-body{margin:0;background:#f3f5f8;font-family:inherit;color:#202832;overflow:hidden;}
.private-results-shell{width:100vw;height:100vh;height:100dvh;box-sizing:border-box;display:flex;flex-direction:column;overflow:hidden;gap:clamp(7px,.7vh,18px);padding:clamp(10px,1.3vh,32px) clamp(12px,1.5vw,58px);}
.private-results-header{display:flex;justify-content:space-between;align-items:center;flex:none;gap:24px;min-height:clamp(58px,7vh,135px);border-bottom:2px solid #e0e4ec;padding-bottom:clamp(8px,1vh,20px);}
.private-results-brand{display:flex;align-items:center;gap:clamp(9px,1vw,24px);}
.private-results-brand img{height:clamp(42px,4vw,100px);width:clamp(42px,4vw,100px);object-fit:contain;}
.private-results-brand strong{display:block;color:#bf1436;font-size:clamp(20px,2.1vw,76px);font-weight:900;letter-spacing:-.04em;line-height:1.05;}
.private-results-brand small{display:block;font-size:clamp(9px,.7vw,24px);font-weight:800;letter-spacing:.08em;margin-top:5px;}
.private-results-header-right{display:flex;align-items:center;gap:clamp(12px,1.5vw,42px);font-size:clamp(12px,1vw,32px);font-weight:800;}
.private-results-indicator{color:#16875a;border-radius:99px;background:#e5faee;padding:clamp(6px,.7vw,19px) clamp(9px,1vw,28px);}
.private-results-login{width:min(670px,95vw);margin:auto;background:#fff;padding:clamp(24px,3vw,62px);border-radius:24px;box-shadow:0 15px 60px #0002;text-align:center;}
.private-results-kicker{font-size:clamp(13px,1vw,30px);color:#ba1738;letter-spacing:.11em;font-weight:900;}
.private-results-login h1{font-size:clamp(28px,2.6vw,58px);margin:16px 0;}
.private-results-login p{color:#525963;line-height:1.5;}
.private-results-login form{display:grid;gap:12px;text-align:left;margin:26px 0;}
.private-results-login input,.private-results-login button{font-size:18px;padding:15px;border-radius:11px;}
.private-results-login input{border:1px solid #c4c8ce;}
.private-results-login button{background:#bb1434;color:#fff;border:0;font-weight:800;cursor:pointer;}
.private-results-error{color:#bc1838!important;font-weight:800;min-height:1em;}
.private-results-content{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden;gap:clamp(8px,1vh,25px);}
.private-results-content[hidden],.private-results-login[hidden]{display:none!important;}
.private-results-intro{display:flex;justify-content:space-between;gap:20px;align-items:center;flex:none;}
.private-results-intro h1{font-size:clamp(27px,2.1vw,72px);margin:clamp(2px,.3vh,12px) 0;font-weight:900;letter-spacing:-.045em;}
.private-results-intro p{font-size:clamp(13px,.86vw,28px);color:#6b7280;margin:0;}
.private-results-status-wrap{text-align:right;display:flex;flex-direction:column;gap:8px;align-items:flex-end;font-size:clamp(11px,.62vw,23px);color:#6b7280;}
.private-results-state{background:#f0f9ff;border:1px solid #bcdbea;color:#06587f;border-radius:16px;padding:clamp(10px,.8vw,30px);font-size:clamp(12px,.9vw,30px);font-weight:900;}
.private-results-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(9px,1.1vw,28px);flex:none;}
.private-results-metrics>div{border:1px solid #e2e7eb;border-radius:clamp(12px,1vw,25px);background:#fff;padding:clamp(10px,1vw,36px);box-shadow:0 7px 18px #00000009;}
.private-results-metrics small{display:block;color:#8a3245;font-size:clamp(10px,.79vw,27px);font-weight:900;letter-spacing:.07em;}
.private-results-metrics strong{display:block;color:#202832;font-size:clamp(30px,3vw,110px);line-height:1.2;font-weight:900;}
.private-results-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:clamp(10px,1vw,30px);flex:1;min-height:0;overflow:hidden;}
.private-results-category{display:flex;flex-direction:column;min-height:0;background:#fff;border:1px solid #e3e6ed;box-shadow:0 10px 28px #00000008;border-radius:clamp(14px,1vw,28px);overflow:hidden;}
.private-results-cat-head{padding:clamp(12px,1.1vw,38px);background:linear-gradient(100deg,#b61032,#e23c54);color:#fff;display:flex;align-items:flex-start;flex-direction:column;gap:clamp(4px,.4vh,13px);flex:none;}
.private-results-cat-head span{font-size:clamp(18px,1.6vw,54px);font-weight:900;}
.private-results-cat-head b{font-size:clamp(10px,.9vw,28px);letter-spacing:.07em;opacity:.93;}
.private-results-category-body{display:flex;flex-direction:column;min-height:0;flex:1;overflow:hidden;justify-content:space-evenly;padding:clamp(6px,.8vw,32px);gap:clamp(3px,.4vh,12px);}
.private-results-entry{min-height:0;}
.private-results-entry-title{display:flex;gap:clamp(5px,.5vw,16px);align-items:center;font-size:clamp(10px,.74vw,27px);margin-bottom:clamp(4px,.45vh,12px);}
.private-results-entry-title strong{font-size:inherit;line-height:1.16;flex:1;min-width:0;overflow-wrap:anywhere;}
.private-results-slot{flex:none;width:clamp(22px,2vw,64px);height:clamp(22px,2vw,64px);border-radius:10px;background:#fae5e9;color:#a70d2a;display:grid;place-items:center;font-weight:900;}
.private-results-votes{flex:none;white-space:nowrap;font-weight:900;color:#1b2631;}
.private-results-votes em{font-style:normal;color:#b81235;}
.private-results-bar{height:clamp(9px,1.05vh,27px);background:#eff2f5;border-radius:12px;overflow:hidden;}
.private-results-fill{height:100%;background:#ffdf54;border-radius:12px;transition:width .4s ease;}
.private-results-fill.fill-2{background:#57c975;}.private-results-fill.fill-3{background:#5dc8f8;}.private-results-fill.fill-4{background:#ff9b64;}.private-results-fill.fill-5{background:#be97fb;}.private-results-fill.fill-6{background:#ef81ba;}.private-results-fill.fill-7{background:#80c4ad;}.private-results-fill.fill-8{background:#b7ba39;}
.private-results-footer{font-size:clamp(11px,.7vw,24px);font-weight:800;color:#59616e;flex:none;display:flex;justify-content:space-between;gap:10px;border-top:1px solid #dce2e7;padding-top:clamp(5px,.5vh,13px);}
@media(max-width:970px){.private-results-grid{gap:7px}.private-results-metrics{gap:7px}.private-results-votes{font-size:11px}.private-results-entry-title{flex-wrap:wrap}.private-results-slot{width:24px;height:24px}.private-results-status-wrap span{display:none}}
@media(max-width:650px){.private-results-brand small{font-size:8px}.private-results-header-right{font-size:10px}.private-results-header-right time{display:none}.private-results-intro h1{font-size:23px}.private-results-grid{grid-template-columns:1fr}.admin-results-body{overflow:auto}.private-results-shell{height:auto;min-height:100vh;overflow:visible}.private-results-content,.private-results-grid,.private-results-category,.private-results-category-body{overflow:visible}.private-results-metrics strong{font-size:23px}.private-results-metrics small{font-size:9px}.private-results-cat-head{padding:12px}.private-results-footer{font-size:10px}}

.v103-edit-button:not(:disabled){background:#fff;border-color:#c53b55;color:#a31632;font-weight:800;}
.v103-edit-button:not(:disabled):hover{background:#fff1f4;}

/* V11: label Kode Unik rapi tepat di atas kotak input. */
.v11-code-label{display:block;width:100%;font-weight:800;font-size:14px;letter-spacing:.01em;color:#24242a;margin:0 0 9px;text-align:center}
.auth-form{display:block}
@media(min-width:701px){.v11-code-label{width:calc(60% - 8px)}}


/* V11.2: hapus label visual 'Kode Unik' dan pusatkan banner depan. */
.v11-code-label{display:none!important}
.hero-copy{align-items:center!important;text-align:center!important}
.hero .official-heading,.hero h1,.hero .hero-school,.hero-desc,.hero-meta{margin-left:auto!important;margin-right:auto!important;text-align:center!important}
.hero h1{max-width:100%!important}
.hero h1 span{display:block}
.hero .hero-school{text-transform:uppercase;letter-spacing:.03em;font-weight:850}
@media(max-width:700px){
  .hero-copy{align-items:center!important;text-align:center!important}
}

/* V12: Jadwal Pemilihan centered within its own column and red check marks for both assurances. */
.hero .schedule-left{margin-left:auto!important;margin-right:auto!important;text-align:center;width:min(100%,510px)}
.hero .schedule-left-heading{text-align:center;display:block}
.hero .schedule-left .clock-schedule{justify-content:center;text-align:center;align-content:center}
.hero .schedule-left .clock-schedule strong,.hero .schedule-left .clock-schedule-state{text-align:center}
.hero .hero-meta{justify-content:center;align-items:center}
.hero .hero-meta span:not(.meta-split){align-items:center;justify-content:center}
.hero .hero-meta svg{color:#b20d2c;flex:0 0 auto}
@media(max-width:700px){.hero .schedule-left{width:100%}}
