body.kiosk{background:#E9EDF3;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;overflow:hidden;height:100vh;display:flex;flex-direction:column}
.kmast{background:var(--navy);color:#fff;display:flex;align-items:center;gap:18px;padding:10px 28px}
.kmast .ktitle .en{font-size:20px;font-weight:600}.kmast .as{font-size:13px;opacity:.85}
.kmast .kelection{flex:1;text-align:center;font-size:17px;font-weight:500}
.kmast .kbooth{font-size:14px;opacity:.85;min-width:120px;text-align:right}
.kscreen{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:20px;overflow:auto}

/* code entry */
.entry-card{background:#fff;border-radius:10px;padding:36px 40px;width:460px;max-width:100%;text-align:center;box-shadow:0 8px 30px rgba(11,42,91,.15);border-top:6px solid var(--saffron)}
.entry-card h1{font-size:26px;color:var(--navy)}
.entry-card .as{color:var(--muted);font-size:15px}
.code-input{display:flex;justify-content:center;gap:10px;margin:22px 0 18px}
.code-input span{width:52px;height:64px;border:2px solid #B9C2CE;border-radius:8px;font-size:34px;font-weight:700;display:flex;align-items:center;justify-content:center;color:var(--navy);background:#FAFBFD}
.code-input span.filled{border-color:var(--navy)}
.code-hidden{position:absolute;opacity:0;pointer-events:none;height:0;width:0}
.numpad{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:0 auto;width:300px}
.numpad button{font:inherit;font-size:26px;font-weight:600;padding:14px 0;border-radius:8px;border:1px solid #B9C2CE;background:#fff;color:var(--ink);cursor:pointer}
.numpad button:active,.numpad button.hit{background:var(--navy);color:#fff;border-color:var(--navy)}
.numpad .nk-go.hit{background:#0F6E06}
.entry-hint{font-size:13px;color:var(--muted);margin:6px 0 0}
.numpad .nk-alt{font-size:22px;color:var(--muted)}
.numpad .nk-go{background:var(--green);color:#fff;border-color:var(--green);font-size:20px}
.kmsg{margin-top:14px;font-size:15px;min-height:22px}
.kmsg.error{color:var(--danger);background:var(--danger-bg);padding:8px;border-radius:6px}

/* ballot */
.ballot-head{width:100%;max-width:1000px;display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:12px}
.post-name{font-size:30px;font-weight:700;color:var(--navy)}
.post-as{font-size:17px;color:var(--muted)}
.instr{font-size:14px;color:var(--muted);text-align:right;max-width:420px}
.evm{width:100%;max-width:1000px;background:#F2F4F7;border:3px solid #9AA6B8;border-radius:12px;padding:10px;box-shadow:inset 0 2px 6px rgba(0,0,0,.08)}
.crow{display:grid;grid-template-columns:56px 84px 1fr 96px 120px;align-items:center;gap:14px;background:#fff;border:1px solid var(--line);border-radius:8px;padding:8px 14px;margin-bottom:8px;min-height:96px;cursor:pointer;transition:background .15s}
.crow:last-child{margin-bottom:0}
.crow:hover{background:#FAFBFD}
.crow.sel{background:#EEF6FF;border-color:var(--navy-2);box-shadow:0 0 0 2px rgba(18,60,122,.25)}
.crow .serial{font-size:26px;font-weight:700;color:var(--muted);text-align:center}
.crow .photo{width:76px;height:84px;object-fit:cover;border-radius:6px;border:1px solid var(--line);background:#EEF1F5}
.crow .photo.none{display:flex;align-items:center;justify-content:center;color:#B9C2CE;font-size:34px}
.crow .cname{font-size:24px;font-weight:600;line-height:1.2}
.crow .cmeta{font-size:14px;color:var(--muted);margin-top:2px}
.crow .symbol{width:84px;height:84px;object-fit:contain;border:1px solid var(--line);border-radius:6px;background:#fff;padding:4px}
.crow .symname{font-size:12px;color:var(--muted);text-align:center;margin-top:2px}
.crow .press{display:flex;align-items:center;gap:12px;justify-content:flex-end}
.lamp{width:18px;height:18px;border-radius:50%;background:#C9CED6;border:2px solid #9AA6B8;box-shadow:inset 0 1px 2px rgba(0,0,0,.2)}
.crow.sel .lamp{background:#FF3B30;border-color:#B42318;box-shadow:0 0 12px #FF3B30}
.pbtn{width:64px;height:40px;border-radius:6px;background:linear-gradient(#2F6FD1,#0B2A5B);border:2px solid #061A3C;box-shadow:0 3px 0 #061A3C}
.crow.sel .pbtn{transform:translateY(2px);box-shadow:0 1px 0 #061A3C}
.crow.nota{background:#FAFAFA}
.crow.nota .cname{color:var(--muted)}
.nota-sym{width:84px;height:84px;border:1px dashed #9AA6B8;border-radius:6px;display:flex;align-items:center;justify-content:center;font-weight:700;color:var(--muted);font-size:14px;background:#fff}
.ballot-foot{width:100%;max-width:1000px;display:flex;justify-content:space-between;align-items:center;margin-top:14px}
.dots{display:flex;gap:8px}.dots span{width:12px;height:12px;border-radius:50%;background:#C9CED6}.dots span.done{background:var(--green)}.dots span.cur{background:var(--saffron)}
.kbtn{font:inherit;font-size:18px;font-weight:600;padding:12px 26px;border-radius:8px;border:0;background:var(--navy);color:#fff;cursor:pointer}
.kbtn:disabled{opacity:.35;cursor:not-allowed}
.kbtn-light{background:#fff;color:var(--navy);border:1px solid #B9C2CE}
.kbtn-cast{background:var(--green);font-size:22px;padding:16px 40px;letter-spacing:1px}

/* review */
.review-card{background:#fff;border-radius:10px;padding:32px 40px;width:760px;max-width:100%;box-shadow:0 8px 30px rgba(11,42,91,.15);border-top:6px solid var(--green)}
.review-card h1{font-size:26px;color:var(--navy);text-align:center}
.review-card>.as{text-align:center;color:var(--muted)}
table.review{width:100%;border-collapse:collapse;margin:18px 0}
table.review td{padding:10px 8px;border-bottom:1px solid var(--line);font-size:17px}
table.review td.post{color:var(--muted);width:40%}
table.review td.choice{font-weight:600}
table.review img{width:40px;height:40px;object-fit:contain;vertical-align:middle;margin-right:10px;border:1px solid var(--line);border-radius:4px}
.review-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}

/* done */
.done-card{text-align:center}
.tick{width:120px;height:120px;border-radius:50%;background:var(--green);color:#fff;font-size:72px;line-height:120px;margin:0 auto 20px}
.done-card h1{font-size:30px;color:var(--navy)}
.done-card .as{font-size:18px;color:var(--muted)}

/* lock overlay */
.lock{position:fixed;left:0;top:0;right:0;bottom:0;background:rgba(180,35,24,.96);z-index:1000;display:flex;align-items:center;justify-content:center;color:#fff;text-align:center;animation:pulse 1s infinite alternate}
@keyframes pulse{from{background:rgba(180,35,24,.96)}to{background:rgba(120,15,10,.98)}}
.lock-box{max-width:560px;padding:24px}
.lock-icon{font-size:90px;line-height:1}
.lock h1{font-size:36px;margin:8px 0}
.lock p{font-size:18px}
.lock .kbtn{background:#fff;color:var(--danger);margin-top:12px}
@media(prefers-reduced-motion:reduce){.lock{animation:none}}
@media(max-width:760px){.crow{grid-template-columns:40px 60px 1fr 70px 90px}.crow .cname{font-size:18px}.crow .symbol,.nota-sym{width:60px;height:60px}.ballot-head{flex-direction:column;align-items:flex-start}.instr{text-align:left}}

.mockband{background:repeating-linear-gradient(45deg,#7A3FBF,#7A3FBF 14px,#5E2E96 14px,#5E2E96 28px);color:#fff;text-align:center;font-weight:700;font-size:14px;letter-spacing:.5px;padding:7px}

html,body.kiosk{max-width:100%;overflow-x:hidden}
.kscr{width:100%;max-width:100%}
.entry-card,.review{margin:0 auto}
