/* LWZ check-in and admin panel */
.app-body { min-height: 100vh; }
.ci-wrap { max-width: 520px; margin: 0 auto; padding: max(20px, env(safe-area-inset-top)) 18px 40px; }
.ci-head { text-align: center; margin-bottom: 22px; }
.ci-kicker { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.18em; font-size: 12px; color: var(--teal-light-accent); }
.ci-clock { font-family: var(--font-head); font-size: 28px; line-height: 1.1; color: #fff; }
.ci-date { font-size: 13px; color: var(--gray); }
.ci-card { background: var(--surface); border: 1px solid var(--surface-border); border-radius: 14px; padding: 26px 22px; box-shadow: var(--glow); display: grid; gap: 14px; }
.ci-card h1 { font-family: var(--font-head); text-transform: uppercase; font-size: 26px; letter-spacing: 0.03em; line-height: 1.1; }
.ci-card label { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.1em; font-size: 12px; color: #cfdada; display: block; margin-bottom: 6px; }
.ci-card input, .ci-card select { width: 100%; font: inherit; font-size: 17px; padding: 13px 14px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.16); background: rgba(255,255,255,0.05); color: #fff; }
.ci-card select option { background: #101717; }
.ci-pin { position: relative; }
.ci-card .ci-pin #sid { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; color: transparent; caret-color: transparent; background: transparent; border-color: transparent; font-size: 16px; z-index: 1; }
.ci-dots { display: flex; justify-content: center; gap: 16px; padding: 22px 14px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.16); background: rgba(255,255,255,0.05); }
.ci-pin:focus-within .ci-dots { border-color: var(--teal-light-accent); }
.ci-dots i { width: 18px; height: 18px; border-radius: 50%; background: rgba(255,255,255,0.18); transition: background 0.15s, transform 0.15s; }
.ci-dots i.on { background: #fff; transform: scale(1.1); }
.ci-card input:focus, .ci-card select:focus { outline: none; border-color: var(--teal-light-accent); }
.ci-btn { width: 100%; text-align: center; padding: 15px; border-radius: 10px; font-size: 17px; }
.ci-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ci-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ci-err { color: #ffb38a; font-size: 14px; }
.ci-next { color: #c9d4d4; }
.ci-info { display: grid; gap: 0; margin: 0; }
.ci-info div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ci-info dt { color: var(--gray); font-size: 14px; }
.ci-info dd { margin: 0; color: #fff; font-size: 15px; }
.ci-consent { display: flex !important; gap: 10px; align-items: flex-start; text-transform: none !important; letter-spacing: 0 !important; font-family: var(--font-body) !important; font-size: 14px !important; color: #c9d4d4 !important; }
.ci-consent input { width: 22px; height: 22px; flex-shrink: 0; margin-top: 1px; accent-color: var(--teal); }
.ci-present { text-align: center; }
.ci-bigclock { font-family: var(--font-head); font-size: 54px; color: var(--teal-light-accent); line-height: 1; }
.ci-mark { font-size: 20px; padding: 20px; background: var(--orange); border-color: var(--orange); color: #111; }
.ci-done { text-align: center; }
.ci-check { font-size: 64px; color: var(--teal-light-accent); line-height: 1; }
@media (max-width: 420px) { .ci-grid { grid-template-columns: 1fr; } }
.ci-card h1 { text-align: center; }
.ci-card h1 + .note { text-align: center; }
label[for="sid"] { text-align: center; }
/* Voting page */
.vt-note { text-align: center; font-size: 13px; }
.vt-choices { display: grid; gap: 12px; margin-top: 4px; }
.vt-choice { width: 100%; padding: 20px 16px; border-radius: 10px; border: 2px solid rgba(255,255,255,0.22); background: rgba(255,255,255,0.05); color: #fff; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; font-size: 22px; transition: border-color 0.15s, background 0.15s; }
.vt-choice:hover, .vt-choice:focus-visible { border-color: var(--teal-light-accent); background: rgba(0,116,116,0.2); outline: none; }
.vt-pick { text-align: center; font-family: var(--font-head); font-weight: 600; text-transform: uppercase; font-size: 30px; letter-spacing: 0.04em; color: var(--teal-light-accent); }
/* Voting page in the site framework: site header, teal band, section heading, site cards. */
.vt-body .vt-band { height: 8px; background: linear-gradient(90deg, #005f5f 0%, #009090 50%, #005f5f 100%); box-shadow: 0 6px 24px rgba(0,0,0,0.45); }
.vt-main { max-width: 720px; padding-top: 36px; padding-bottom: 60px; }
.vt-head { margin-bottom: 24px; }
.vt-head .sub { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.12em; color: var(--teal-light-accent); font-variant-numeric: tabular-nums; }
.vt-main .ci-card { background: var(--surface); border: 1px solid var(--surface-border); border-top: 4px solid var(--gold); border-radius: 6px; box-shadow: var(--glow); padding: 28px 26px; }
.vt-main .ci-card h1 { text-align: left; font-size: 30px; }
.vt-main .ci-card h1 + .note { text-align: left; }
.vt-main label[for="sid"] { text-align: left; }
.vt-main .ci-done h1, .vt-main .ci-done p { text-align: center; }
@media (max-width: 760px) { .vt-main { padding-top: 22px; } .vt-main .ci-card { padding: 22px 18px; } .vt-main .ci-card h1 { font-size: 26px; } }
/* Check-in: student number check and class confirmation */
.ci-sidrow dd { font-family: var(--font-head); font-size: 22px !important; letter-spacing: 0.14em; color: var(--teal-light-accent) !important; }
.ci-notme { background: none; border: 0; color: var(--teal-light-accent); text-decoration: underline; font: inherit; font-size: 14px; cursor: pointer; padding: 8px; justify-self: center; }
.ci-sidline { color: #cfdada; font-size: 15px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ci-sidline strong { font-family: var(--font-head); letter-spacing: 0.14em; font-size: 20px; color: var(--teal-light-accent); }
.ci-sidline .ci-notme { padding: 4px; }
.ci-classes { display: grid; gap: 10px; }
.ci-classbtn { width: 100%; padding: 18px 14px; border-radius: 10px; border: 2px solid rgba(255,255,255,0.22); background: rgba(255,255,255,0.05); color: #fff; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; font-size: 20px; }
.ci-classbtn:hover, .ci-classbtn:focus-visible { border-color: var(--teal-light-accent); background: rgba(0,116,116,0.2); outline: none; }
.ci-classbtn:disabled { opacity: 0.6; }
.ci-classbtn small { display: block; margin-top: 4px; font-family: var(--font-body); font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 13px; color: #b8c4c4; }
