:root{--edge:92px;--navy:#0B2A6B;--blue:#0758E8;--sky:#6699FF;--white:#fff;--bg:#F1F5F8;--text:#152746;--muted:#7384A1;--amber:#FFC66D;font-family:'Segoe UI Variable Text','Segoe UI','Microsoft YaHei UI','Leelawadee UI',system-ui,sans-serif;color:var(--text);color-scheme:light;-webkit-font-smoothing:antialiased}
*,*::before,*::after{box-sizing:border-box}*{line-height:1.5}html,body{margin:0;min-height:100%;background:var(--bg)}[hidden]{display:none!important}h1,h2,p{margin:0}button,input,select{font:inherit}button{touch-action:manipulation;-webkit-tap-highlight-color:transparent;cursor:pointer}button:disabled{cursor:default}:focus-visible{outline:3px solid var(--sky);outline-offset:3px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.page{position:relative;isolation:isolate;min-height:100vh;min-height:100svh;display:flex;flex-direction:column;overflow:clip;padding:env(safe-area-inset-top) env(safe-area-inset-right) calc(env(safe-area-inset-bottom) + var(--keyboard-space,0px)) env(safe-area-inset-left)}
.background{position:absolute;z-index:-1;inset:0;overflow:hidden;pointer-events:none;background:radial-gradient(ellipse at 100% 4%,#EAF1FC66,transparent 48%),radial-gradient(ellipse at 0 100%,#E6EEF866,transparent 46%)}
.drum{position:absolute;width:340px;height:340px;border-radius:50%;background:url('/delegate/assets/drum.webp') center/contain no-repeat;opacity:.085;animation:drum-turn 90s linear infinite;will-change:transform}.drum-top{top:-59px;right:-107px;animation-delay:-18s}.drum-bottom{bottom:-80px;left:-112px;animation-duration:115s;animation-direction:reverse;animation-delay:-42s;opacity:.075}.head-ornament{position:absolute;inset:0;overflow:hidden;pointer-events:none}.head-ornament .drum{width:300px;height:300px;top:-137px;right:-86px;filter:brightness(0) invert(1);opacity:.08;animation-duration:125s;animation-direction:reverse;animation-delay:-14s}.page[data-motion-paused=true] .drum{animation-play-state:paused}@keyframes drum-turn{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
.page-tools{position:relative;display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:8px;width:100%;max-width:460px;margin:0 auto;padding:12px 20px 0;height:var(--edge);flex-shrink:0}.tool-row{display:flex;gap:8px}.language-label{position:relative;display:inline-flex;min-width:82px;min-height:36px;border:1px solid #D6DFEB;border-radius:8px;background:#ffffffc7;color:var(--navy)}.language-face{display:flex;align-items:center;gap:7px;padding:7px 10px;pointer-events:none;font-size:11px;font-weight:650;line-height:1.5}.language-face img{display:block;width:18px;height:12px;border-radius:2px;object-fit:fill;box-shadow:0 0 0 1px #0b2a6b0d}.language-chevron{width:6px;height:6px;border-right:1.5px solid #64779D;border-bottom:1.5px solid #64779D;transform:translateY(-2px) rotate(45deg);margin-left:5px}.language-label select{position:absolute;inset:-4px 0;width:100%;height:calc(100% + 8px);margin:0;opacity:0;cursor:pointer;font-size:16px}.language-label:has(select:focus-visible){outline:3px solid var(--sky);outline-offset:3px}.language-label:has(select:disabled){opacity:.6}
.main{position:relative;flex:1;display:flex;align-items:center;justify-content:center;padding:30px 20px;min-width:0}.card{width:100%;max-width:420px;border-radius:14px;background:var(--white);overflow:hidden;box-shadow:0 3px 5px #0b2a6b13,0 1px 2px #0b2a6b08}.card-head{position:relative;isolation:isolate;overflow:hidden;padding:20px 17px 16px;background:var(--navy);color:var(--white)}.heading-row{display:flex;align-items:center;gap:10px;position:relative;z-index:1}.heading-copy{flex:1;min-width:0}.logo{width:39px;height:41px;flex-shrink:0;display:grid;place-items:center;background:var(--white);border-radius:8px}.logo img{object-fit:contain;width:31px;height:31px}h1{font-family:'Segoe UI Variable Display','Segoe UI',system-ui,sans-serif;font-size:17px;line-height:1.32;font-weight:700;letter-spacing:-.35px;color:var(--white);text-align:center;text-wrap:balance;overflow-wrap:anywhere}.meeting-meta{position:relative;z-index:1;display:flex;align-items:baseline;justify-content:center;gap:3px 5px;flex-wrap:wrap;color:var(--amber);font-size:10px;line-height:1.5;font-weight:500;letter-spacing:0;margin:8px 0 0}.meeting-meta>span{min-width:0;overflow-wrap:anywhere}.meeting-meta .separator{opacity:.6;flex-shrink:0}.meeting-meta strong{font-weight:650;letter-spacing:.3px}.card-body{padding:23px 19px 19px}h2{font-family:'Segoe UI Variable Display','Segoe UI',system-ui,sans-serif;font-size:19px;line-height:1.4;font-weight:700;letter-spacing:-.3px;color:var(--navy);text-wrap:balance;overflow-wrap:anywhere}p{font-size:12px;line-height:1.75;color:var(--muted);margin-top:9px}.login-intro{text-align:center;margin:0 0 23px}.login-intro h2,.ballot-title{font-size:17px;line-height:1.4;text-wrap:pretty}.login-intro p,.ballot-description{font-size:11px;color:#8795AB;margin-top:7px}
.field{display:block;font-size:10px;line-height:1.5;font-weight:600;letter-spacing:.25px;text-transform:uppercase;color:#506381;margin:0 0 18px}.input-wrap{display:flex;align-items:center;min-height:44px;border:1px solid #D6DFEB;border-radius:7px;background:var(--white);margin-top:7px;transition:border-color .15s,box-shadow .15s}.input-wrap:focus-within{border-color:var(--blue);box-shadow:0 0 0 3px #0758e80b}.input-wrap>img{display:block;object-fit:contain;width:17px;height:17px;margin:0 7px;flex-shrink:0}.input-wrap input{display:block;width:100%;min-width:0;padding:9px 10px 9px 0;border:0;border-radius:7px;color:var(--text);background:transparent;font-size:16px;line-height:1.5;text-transform:none;letter-spacing:0;outline-offset:0;font-weight:400}.input-wrap input:focus{outline:none}.input-wrap:has(input:focus-visible){outline:2px solid var(--sky);outline-offset:2px}.input-wrap input::placeholder{font-size:13px;color:#A4B2C7;font-weight:400}
.primary{width:100%;display:flex;align-items:center;justify-content:center;gap:4px;min-height:47px;border:1px solid var(--blue);border-radius:7px;background:var(--blue);color:var(--white);font-size:11px;font-weight:700;letter-spacing:.25px;text-transform:uppercase;padding:13px 10px;transition:background .15s,transform .15s}.button-icon{display:inline-flex;margin-right:6px}.button-icon svg{display:block;flex-shrink:0}.primary:hover:enabled{background:#0648C5;border-color:#0648C5}.primary:active:enabled{transform:translateY(1px)}.primary:disabled{background:#DCE7F8;border-color:#DCE7F8;color:#6581AC}.login-button{margin-top:26px}.secondary{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;min-height:45px;border:1px solid #CFDBEC;border-radius:7px;background:var(--white);color:var(--navy);padding:11px 10px;font-size:12px;font-weight:550;margin-top:10px}.secondary:hover{background:#F3F7FC}.link-button{display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;border:0;border-radius:7px;background:transparent;color:var(--blue);padding:10px 5px;font-size:11px;font-weight:550;margin-top:5px}.actions{margin-top:22px}.footnote{font-size:10px;line-height:1.65;color:#8795AB;text-align:center;margin-top:13px}
.choices{padding:0;margin:21px 0 25px;border:0;display:grid;gap:12px;min-width:0}.choice{position:relative;display:flex;align-items:center;justify-content:space-between;gap:9px;width:100%;min-height:46px;border:1px solid #A3B5D0;border-radius:7px;background:#F7F9FC;color:#334E77;padding:11px 12px;box-shadow:0 2px 0 #b7c6dc55;font-size:12px;font-weight:600;transition:background .15s,border-color .15s,color .15s;cursor:pointer}.choice input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}.choice-check{visibility:hidden;color:var(--white);font-family:'Segoe UI Symbol','Segoe UI',sans-serif;font-size:19px;font-weight:400;line-height:1;flex-shrink:0}.choice:has(input:checked){background:var(--blue);border-color:var(--blue);color:var(--white);box-shadow:0 2px 0 #0648c52b}.choice:has(input:checked) .choice-check{visibility:visible}.choice:has(input:focus-visible){outline:3px solid var(--sky);outline-offset:3px}.choice:has(input:disabled){opacity:.65}.choice>span:first-of-type{min-width:0;overflow-wrap:anywhere}
.status-panel{text-align:center;padding:7px 0 3px}.state-visual{width:67px;height:67px;margin:0 auto 18px;border-radius:50%;display:grid;place-items:center;background:#EDF3FF;color:var(--blue);border:1px solid #e4edfc;font-family:'Segoe UI Symbol','Segoe UI',sans-serif;font-size:29px;line-height:1}.state-visual.door{width:76px;height:76px;background:radial-gradient(circle,#E6EEFE 0 55%,#F2F6FE 100%);border-color:#E6EDFB;box-shadow:0 0 0 9px #edf2fc8c}.state-visual.scan{width:74px;height:74px;border-radius:20px;background:linear-gradient(160deg,#fff,#E5EDFC);border-color:#DFE8F8;box-shadow:0 8px 20px #0758e81f}.state-visual.done{width:76px;height:76px;background:#EDF3FE;border-color:#E2EAFA;box-shadow:0 0 0 9px #f1f5fd99}.state-visual svg{display:block}.state-visual.warning{background:#FFF5E6;color:#B67719;border-color:#F5E7CE;font-size:28px}.status-panel p{margin:10px auto 0;max-width:320px}.badge{display:inline-flex;align-items:center;gap:5px;border-radius:5px;padding:4px 8px;font-size:10px;font-weight:550;color:var(--blue);background:#EDF3FF}.dot{height:4px;width:4px;border-radius:50%;background:currentColor;flex-shrink:0}.person{display:flex;align-items:center;gap:9px;text-align:left;border:1px solid #E7EDF6;border-radius:8px;padding:11px 12px;margin:20px 0;color:var(--navy);background:#F8FAFE}.avatar{display:grid;place-items:center;width:31px;height:31px;border-radius:50%;background:#EAF1FF;font-size:10px;font-weight:650;color:var(--blue);flex-shrink:0}.person-copy{min-width:0}.person strong{display:block;font-size:12px;font-weight:650;overflow-wrap:anywhere}.person small{display:block;font-size:10px;color:var(--muted);margin-top:2px}.info{background:#F3F7FC;border:1px solid #E7EDF6;border-radius:7px;padding:11px 12px;font-size:11px;line-height:1.75;text-align:left;color:#64779D;margin-top:18px}.alert{background:#FFF7EB;border:1px solid #F2E3CA;border-radius:7px;padding:11px 12px;font-size:11px;line-height:1.7;text-align:left;color:#866229;margin:0 0 18px}.confirm-choice{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#EDF3FF;border:1px solid #D6E3FC;border-radius:8px;padding:15px;margin:20px 0;color:var(--blue);font-size:16px;font-weight:650;text-align:left;overflow-wrap:anywhere}.confirm-choice span:last-child{font-size:20px;font-weight:400}.round-status{display:flex;justify-content:space-between;gap:8px;align-items:center;color:var(--muted);font-size:10px;margin:0 0 14px}.countdown{color:var(--text);font-size:13px;font-weight:400;margin:12px 0}.countdown-time{color:#C62828;font-weight:700;font-variant-numeric:tabular-nums}.screen-image{aspect-ratio:16/9;width:100%;display:grid;place-items:center;border-radius:8px;background:#0A1830;color:#A7BADA;padding:16px;text-align:center;margin:20px 0 0;font-size:11px;line-height:1.7}.monitor{position:relative;width:28px;height:19px;border:1.5px solid #8CA5CB;border-radius:3px;margin:0 auto 13px}.monitor::before{content:'';position:absolute;width:1.5px;height:5px;background:#8CA5CB;top:17px;left:12px}.monitor::after{content:'';position:absolute;width:13px;height:1.5px;background:#8CA5CB;top:22px;left:6px}.screen-state{display:flex;align-items:center;gap:5px;font-size:10px;color:var(--muted);margin-top:11px}.footer{position:relative;min-height:var(--edge);display:flex;flex-direction:column;justify-content:flex-end;padding:12px 12px 17px;font-size:10px;line-height:1.5;color:#5B6F8E;font-weight:500;text-align:center;flex-shrink:0}.footer strong{color:var(--navy);font-weight:750}.startup-mark{padding:30px;text-align:center;color:var(--muted);font-size:13px}
@media(min-width:750px){.drum-top{right:calc(50% - 390px);top:-45px;width:430px;height:430px}.drum-bottom{left:calc(50% - 390px);bottom:-135px;width:430px;height:430px}}
@media(max-width:350px){.main{padding-left:14px;padding-right:14px}.card-head{padding-left:14px;padding-right:14px}.card-body{padding-left:16px;padding-right:16px}h1{font-size:16px}.heading-row{gap:8px}.logo{width:35px;height:38px}.logo img{width:29px;height:29px}.meeting-meta{gap:3px 4px}.status-panel h2{font-size:18px}.person{padding:10px;gap:7px}.person strong{font-size:11px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}.drum{animation-play-state:paused}}

.screen-toggle{position:relative;display:grid;place-items:center;width:36px;height:36px;padding:7px;border:1px solid #D6DFEB;border-radius:8px;background:#ffffffc7;color:var(--navy)}.screen-toggle::before{content:"";position:absolute;inset:-4px}.screen-toggle:hover{background:#fff}.collapse-icon{display:none}.screen-toggle[aria-pressed=true] .expand-icon{display:none}.screen-toggle[aria-pressed=true] .collapse-icon{display:initial}
.logout-toggle{position:relative;display:grid;place-items:center;width:36px;height:36px;padding:7px;border:1px solid #D6DFEB;border-radius:8px;background:#ffffffc7;color:var(--navy)}.logout-toggle::before{content:"";position:absolute;inset:-4px}.logout-toggle:hover{background:#fff}.logout-toggle:disabled{opacity:.5}.logout-dialog{width:calc(100% - 40px);max-width:360px;padding:24px;border:1px solid #D6DFEB;border-radius:14px;color:var(--text);background:var(--white);box-shadow:0 16px 48px #07152b33}.logout-dialog::backdrop{background:#07152b66}.logout-dialog h2{font-size:18px}.logout-actions{display:flex;gap:10px;margin-top:22px}.logout-actions>button{flex:1;margin:0;min-width:0}

.screen-image{position:relative;overflow:hidden;touch-action:pinch-zoom}.screen-image>img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.projection-banner{position:absolute;bottom:0;left:0;right:0;background:#07152bd9;color:#fff;padding:8px 40px 8px 10px;font-size:11px;z-index:1}.projection-expand{position:absolute;right:7px;top:7px;display:grid;place-items:center;width:36px;height:36px;background:#07152bbd;color:#fff;border:1px solid #ffffff55;border-radius:6px;font-size:23px;z-index:2}.screen-image:fullscreen{aspect-ratio:auto;width:100vw;height:100dvh;border-radius:0;padding:0}.tv-screen{background:#07152b;color:#fff;overflow:hidden}.tv-tools{position:fixed;left:max(16px,env(safe-area-inset-left));top:max(16px,env(safe-area-inset-top));display:flex;gap:10px;z-index:5;opacity:.85}.tv-tools:hover,.tv-tools:focus-within{opacity:1}.tv-stage{width:100vw;height:100vh;height:100dvh;display:grid;place-items:center;touch-action:pinch-zoom}.tv-stage>img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.tv-placeholder{text-align:center;padding:30px}.tv-placeholder>img{margin-bottom:20px}.tv-placeholder h1{font-size:24px}.tv-placeholder p{color:#b9c9df}.tv-has-image .tv-placeholder{display:none}.tv-caption{position:fixed;bottom:0;left:0;right:0;padding:10px 20px;background:#07152ba8;color:#c9d7e9;text-align:center;font-size:12px}
.round-tools{display:inline-flex;align-items:center;gap:8px}.rules-button{position:relative;display:grid;place-items:center;width:30px;height:30px;padding:0;border:1px solid #D6E3FC;border-radius:50%;background:#EDF3FF;color:var(--blue)}.rules-button::before{content:"";position:absolute;inset:-7px}.rules-button:hover{background:#E1EBFD}
.rules-dialog{max-height:calc(100dvh - 40px);overflow:auto}.rules-list{display:grid;gap:9px;margin:16px 0 0;padding:0 0 0 18px;font-size:12px;line-height:1.7;color:#40557A;text-align:left}.rules-list li{overflow-wrap:anywhere}.rules-list .rules-note{list-style:none;margin-left:-18px;color:var(--muted)}.rules-dialog .logout-actions>button{margin:0}
