@import url('fonts/poppins.css');
:root{--ink:#0c2940;--green:#118a50;--blue:#0965bd;--muted:#687d8c;--line:#dfe8ed}*{box-sizing:border-box}body{margin:0;background:#e7eef3;color:var(--ink);font:14px/1.6 'Poppins',system-ui,sans-serif}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #369fed;outline-offset:4px}.tap-icon{width:24px;height:24px;flex-shrink:0}h1,h2,h3,p{margin:0}[hidden]{display:none!important}.kiosk-wrap{max-width:1440px;margin:auto;padding:20px 28px}.operator-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px;font-size:12px;color:#4b6476}.operator-bar>a{font-weight:700}.operator-actions{display:flex;align-items:center;gap:14px}.operator-actions>button{display:flex;align-items:center;gap:7px;border:1px solid #cbd8e1;border-radius:9px;background:#f7fafc;padding:8px 12px;color:var(--ink);font-size:12px}.operator-actions .tap-icon{width:15px;height:15px}.language-switch{display:inline-flex;border:1px solid #2563eb;border-radius:99px;overflow:hidden;background:white;flex-shrink:0}.language-switch form{display:flex;margin:0}.language-switch button{border:0;background:transparent;color:#2563eb;font-size:12px;font-weight:700;width:35px;height:31px;padding:0}.language-switch button.is-active{background:#2563eb;color:white}.kiosk{background:#fff;border:5px solid #203d50;border-radius:24px;overflow:hidden;box-shadow:0 18px 48px #21425520}.kiosk-header{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:24px 32px;border-bottom:1px solid var(--line);background:linear-gradient(100deg,#fff,#f0f9fd)}.school-brand{display:flex;align-items:center;gap:13px;flex-shrink:0}.school-brand img{width:53px;height:53px}.school-brand span{display:flex;flex-direction:column}.school-brand small{font-size:13px;font-weight:800;letter-spacing:1px;color:#106449}.school-brand strong{font-size:28px;line-height:1.15;letter-spacing:-.025em;font-weight:800;color:#085637}.school-brand em{font-style:normal;font-size:12px;font-weight:600;letter-spacing:.1px;color:#5c7681;margin-top:3px}.device-status{display:flex;gap:28px}.device-status>div{display:flex;align-items:center;gap:9px}.device-status .tap-icon{color:#35556b;width:23px;height:23px}.device-status>div>span{font-size:12px;font-weight:700;line-height:1.6}.device-status small{display:flex;align-items:center;gap:5px;font-size:12px;font-weight:500;color:#398066}.device-status i,.operator-hint i{width:5px;height:5px;background:#2cb06c;border-radius:50%;display:inline-block}.device-status small.is-offline{color:#b85945}.device-status small.is-offline i{background:#d57552}.live-clock{text-align:right;white-space:nowrap}.live-clock>span{display:block;font-size:12px;color:#4a6476;margin-bottom:3px}.live-clock strong{font-size:31px;font-weight:800;letter-spacing:-.025em;font-variant-numeric:tabular-nums}.live-clock>small{font-size:12px;margin-left:7px;font-weight:700;color:#53738a}.mode-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 32px;background:#f7fbfc}.period-label{font-size:12px;color:#698192;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mode-picker{display:flex;background:#e5edf1;padding:4px;border-radius:10px;gap:2px;flex-shrink:0}.mode-picker button{border:0;background:transparent;border-radius:7px;padding:8px 15px;font-size:12px;font-weight:800;color:#667f90;display:flex;align-items:center;gap:7px}.mode-picker button[aria-pressed=true]{background:white;color:var(--green);box-shadow:0 2px 6px #263a5012}.mode-picker button[data-mode=out][aria-pressed=true]{color:var(--blue)}.mode-dot{width:6px;height:6px;border-radius:50%;background:currentColor}.period-warning{padding:10px 32px;background:#fff3d8;color:#866115;font-size:12px}.kiosk-stage{position:relative;min-height:385px}.ready-screen{min-height:385px;display:flex;gap:48px;align-items:center;justify-content:center;padding:40px;background:#f6f9fe;position:relative}.ready-screen:before{display:none}.ready-copy{position:relative;max-width:580px;color:#0f172a}.eyebrow{display:block;font-size:12px;letter-spacing:2px;font-weight:700;color:#2563eb;margin-bottom:11px}.ready-copy h1{font-size:clamp(30px,3.4vw,53px);letter-spacing:-.025em;font-weight:800;line-height:1.15;white-space:nowrap}.ready-subtitle{font-size:clamp(14px,1.55vw,22px);letter-spacing:1.5px;font-weight:800;margin-top:10px}.tap-instruction{display:flex;align-items:center;gap:13px;background:#fff;color:#0f172a;padding:15px 19px;border-radius:12px;margin-top:27px;box-shadow:0 4px 12px #2563eb18}.tap-instruction .tap-icon{color:#2563eb;width:27px;height:27px}.tap-instruction strong{display:block;font-size:13px}.tap-instruction small{display:block;font-size:12px;margin-top:4px;color:#475569}.success-screen{display:grid;grid-template-columns:275px minmax(0,1fr);gap:36px;min-height:385px;padding:27px 36px;background:linear-gradient(125deg,#edf8f1,#fff 70%)}.student-portrait{background:#2563eb;border-radius:16px;min-height:328px;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;flex-direction:column;color:white;border:6px solid white;box-shadow:0 2px 12px #102a4920}.student-avatar{width:160px;height:160px;border-radius:50%;display:grid;place-items:center;background:#e9f5fa;color:#1d4ed8;font-size:54px;font-weight:800;border:7px solid #ffffff77;box-shadow:0 12px 24px #07384d28;z-index:1}.portrait-caption{font-size:12px;letter-spacing:2px;font-weight:800;margin-top:22px;z-index:1}.portrait-school{font-size:12px;font-weight:600;margin-top:7px;opacity:.8;z-index:1}.success-copy{align-self:center;min-width:0}.result-heading{display:flex;align-items:center;gap:16px;margin-bottom:15px}.result-mark,.error-mark{width:62px;height:62px;border-radius:50%;display:grid;place-items:center;background:var(--green);color:#fff;flex-shrink:0;box-shadow:0 5px 13px #11944b22}.result-mark .tap-icon{width:38px;height:38px;stroke-width:3}.result-heading h2{font-weight:800;letter-spacing:-.025em;font-size:clamp(24px,2.6vw,39px);line-height:1.15;color:var(--green);max-width:470px}.success-copy h3{font-size:25px;letter-spacing:-.025em;line-height:1.3;overflow-wrap:anywhere}.student-details{display:grid;grid-template-columns:84px minmax(0,1fr);gap:7px 15px;margin:13px 0 20px;font-size:12px}.student-details dt{color:#658090}.student-details dd{margin:0;font-weight:600;overflow-wrap:anywhere}.recorded-time{display:flex;gap:13px;align-items:center;background:#ddf4e7;color:#095d38;padding:13px 18px;border-radius:12px}.recorded-time>.tap-icon{width:38px;height:38px;background:var(--green);padding:7px;border-radius:50%;color:white}.recorded-time small{display:block;font-size:12px;font-weight:800;letter-spacing:.7px;margin-bottom:2px}.recorded-time strong{display:block;font-weight:800;font-size:27px;letter-spacing:-.025em;font-variant-numeric:tabular-nums;white-space:nowrap}.attendance-note{font-size:12px;font-weight:700;background:#ffffff8a;padding:8px 11px;border-radius:8px;margin-left:auto}.recorded-date{font-size:12px;color:#759081;margin-top:9px}.replayed-note{font-size:12px;margin-top:7px;color:#506e82}.kiosk[data-state=out] .success-screen{background:linear-gradient(125deg,#edf6fc,#fff 70%)}.kiosk[data-state=out] .result-heading h2{color:var(--blue)}.kiosk[data-state=out] .result-mark,.kiosk[data-state=out] .recorded-time>.tap-icon{background:var(--blue)}.kiosk[data-state=out] .recorded-time{background:#deefff;color:#0b4f8c}.error-screen{min-height:385px;padding:38px 42px;display:flex;align-items:center;justify-content:center;gap:48px;background:linear-gradient(125deg,#fff5f5,#ffe2e2)}.error-graphic{width:245px;height:245px;border:12px solid #f8bcbc55;box-shadow:0 0 0 13px #ffdddd;border-radius:50%;background:#ffe8e8;display:grid;place-items:center;color:#cf333a;position:relative;flex-shrink:0}.error-graphic>.tap-icon{width:135px;height:135px;stroke-width:1.25}.error-graphic>span{position:absolute;right:3px;top:3px;width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:#cd2937;color:white;font-size:35px;font-weight:500}.error-mark{width:55px;height:55px;background:#cd2937}.error-mark .tap-icon{width:30px;height:30px;stroke-width:3}.error-copy{max-width:560px}.error-copy .result-heading h2{color:#c52b39;font-size:30px}.error-copy>p{font-size:15px;line-height:1.7;color:#5d4951}.error-help{display:flex;align-items:center;gap:12px;background:#f9cdcf8a;color:#913541;padding:13px 17px;border-radius:10px;margin-top:19px;font-size:12px;line-height:1.6}.session-link{display:inline-block;font-size:12px;font-weight:800;color:#a32f3c;margin-top:15px;text-decoration:underline}.scan-bar{display:flex;align-items:center;gap:16px;padding:18px 32px;background:#fff;border-bottom:1px solid var(--line);position:relative}.scan-bar>label{display:flex;align-items:center;gap:9px;white-space:nowrap;color:#3b5d73;font-size:12px;font-weight:700}.scan-bar>label>span>small{display:block;font-weight:400;font-size:12px;color:#7b929f;margin-top:3px}.scan-bar>label>.tap-icon{width:21px;height:21px}.scan-bar input{min-width:0;flex:1;border:1px solid #c9dce6;border-radius:9px;padding:12px 14px;font-size:12px;background:#f7fbfd;color:var(--ink)}.scan-bar input::placeholder{color:#8ba0ad}.scan-bar>button{border:0;background:#103e59;color:#fff;border-radius:9px;padding:12px 17px;font-weight:700;font-size:12px;white-space:nowrap}.scan-bar>button>span{margin-left:10px;font-size:16px;line-height:0}.processing{position:absolute;bottom:1px;left:32px;font-size:12px;color:#527489}.kiosk-footer{padding:17px 22px 11px;background:#f6fafb}.attendance-counters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.counter{display:flex;align-items:center;justify-content:center;gap:15px;padding:15px 20px;border-radius:12px}.counter>.tap-icon{width:32px;height:32px}.counter strong{display:block;font-size:28px;font-weight:800;letter-spacing:-.025em;line-height:1.1;font-variant-numeric:tabular-nums}.counter small{display:block;font-size:12px;font-weight:700;margin-top:4px}.counter-present{background:#d8f3e6;color:#08774b}.counter-late{background:#ffedc5;color:#ad7507}.counter-not_arrived{background:#e0efff;color:#1668b0}.counter-departed{background:#e8f1ff;color:#2563eb}.counter-context{display:flex;justify-content:space-between;gap:12px;margin-top:10px;font-size:12px;color:#8398a3}.operator-hint{display:flex;justify-content:space-between;align-items:center;gap:12px;color:#7c93a2;font-size:12px;padding:17px 4px}.operator-hint i{margin-right:7px}.operator-hint a{color:#4e7187;font-weight:700}.kiosk[data-state=processing] .tap-photo-stage{opacity:.82}.success-screen,.error-screen{animation:appear .2s ease-out}@keyframes appear{from{opacity:.6;transform:translateY(4px)}to{opacity:1;transform:none}}:fullscreen body{background:#e7eef3}:fullscreen .kiosk-wrap{max-width:1600px}.kiosk-wrap:fullscreen{width:100%;height:100%;overflow:auto;background:#e7eef3;padding:22px 32px}
@media(min-width:1400px){.kiosk-wrap{padding-top:25px}.kiosk-stage,.ready-screen,.success-screen,.error-screen{min-height:430px}.student-portrait{min-height:370px}.tap-orb{width:300px;height:300px}}
@media(max-width:1000px){.kiosk-wrap{padding:15px}.operator-bar>span{display:none}.kiosk-header{padding:20px;gap:15px}.device-status{gap:16px}.device-status>div>span{font-size:12px}.school-brand strong{font-size:24px}.school-brand img{width:43px;height:43px}.live-clock strong{font-size:25px}.ready-screen{gap:42px;padding:38px}.tap-orb{width:220px;height:220px}.success-screen{grid-template-columns:220px minmax(0,1fr);gap:25px;padding:25px}.student-avatar{width:130px;height:130px;font-size:42px}.recorded-time strong{font-size:22px}.attendance-note{font-size:12px;padding:7px}.error-graphic{width:200px;height:200px}.error-screen{padding:35px;gap:35px}.error-copy .result-heading h2{font-size:25px}.mode-bar{padding:12px 20px}.scan-bar{padding:15px 20px}.scan-bar>label>span>small{max-width:120px;white-space:normal}.counter{padding:13px 10px;gap:11px}.counter strong{font-size:25px}}
@media(max-width:760px){.kiosk-header{flex-wrap:wrap}.device-status{order:3;width:100%;justify-content:space-between;padding-top:10px;border-top:1px solid var(--line)}.school-brand small{font-size:12px}.school-brand strong{font-size:24px}.school-brand em{font-size:12px}.live-clock>span{font-size:12px}.live-clock strong{font-size:25px}.mode-bar{flex-wrap:wrap;justify-content:center;gap:10px}.period-label{width:100%;text-align:center;font-size:12px}.mode-picker button{padding:8px 18px}.ready-screen{flex-direction:column;padding:36px 24px;gap:35px;min-height:430px;text-align:center}.tap-orb{width:190px;height:190px}.ready-copy h1{font-size:33px;letter-spacing:-.025em}.ready-subtitle{font-size:14px}.eyebrow{font-size:12px;margin-bottom:9px}.tap-instruction{margin-top:18px;text-align:left;padding:12px 15px}.tap-instruction strong{font-size:12px}.tap-instruction small{font-size:12px}.success-screen{grid-template-columns:1fr;padding:24px;gap:20px}.student-portrait{min-height:190px;max-width:250px;width:100%;margin:auto}.student-avatar{width:110px;height:110px;font-size:36px}.portrait-caption{margin-top:12px;font-size:12px}.portrait-school{font-size:12px;margin-top:5px}.result-heading{gap:12px}.result-mark{width:47px;height:47px}.result-mark .tap-icon{width:28px;height:28px}.result-heading h2{font-size:27px}.success-copy h3{font-size:22px}.student-details{font-size:12px;grid-template-columns:67px 1fr}.recorded-time{padding:12px;gap:10px;flex-wrap:wrap}.recorded-time strong{font-size:21px}.recorded-time>.tap-icon{width:33px;height:33px}.attendance-note{margin-left:auto}.recorded-date{font-size:12px}.error-screen{flex-direction:column;padding:35px 24px;gap:32px}.error-graphic{width:170px;height:170px}.error-graphic>.tap-icon{width:100px;height:100px}.error-copy .result-heading h2{font-size:25px}.error-copy>p{font-size:13px}.error-help{font-size:12px}.scan-bar{flex-wrap:wrap;padding:16px;gap:11px}.scan-bar>label{width:100%;font-size:12px}.scan-bar>label>span>small{max-width:none}.scan-bar input{padding:11px;flex:1;font-size:12px}.scan-bar>button{font-size:12px;padding:11px 12px}.scan-bar>button>span{margin-left:4px}.attendance-counters{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.counter{justify-content:flex-start;padding:12px 15px;gap:12px}.counter strong{font-size:25px}.counter small{font-size:12px}.counter .tap-icon{width:26px;height:26px}.kiosk-footer{padding:13px}.counter-context{flex-direction:column;gap:4px;font-size:12px}.operator-hint{flex-direction:column;align-items:flex-start;font-size:12px;line-height:1.6}.kiosk{border-width:4px;border-radius:18px}.kiosk-wrap{padding:12px}.operator-bar{gap:10px;margin-bottom:12px;font-size:12px}.operator-actions{gap:9px}.operator-actions>button{padding:7px;font-size:12px}.language-switch button{width:29px;height:27px}.period-warning{font-size:12px;padding:10px 16px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}

@media(max-width:760px){.ready-copy h1{white-space:normal;overflow-wrap:anywhere;font-size:clamp(25px,7vw,33px)}.school-brand{min-width:0}.scan-bar input{min-width:0;width:0}.result-heading h2{overflow-wrap:anywhere}.counter{min-width:0}.counter small{overflow-wrap:anywhere}}

.operator-actions>form{margin:0}.operator-actions>form button{border:1px solid #cbd8e1;border-radius:9px;background:#f7fafc;padding:8px 12px;color:var(--ink);font-size:12px}@media(max-width:760px){.operator-bar{flex-wrap:wrap}.operator-actions{margin-left:auto}.operator-actions>form button{padding:7px;font-size:12px}}

.unarrived-panel{padding:24px 28px;border-top:1px solid var(--line);background:#fff}.unarrived-heading{display:flex;justify-content:space-between;gap:18px;align-items:center}.unarrived-heading h2{font-size:21px}.unarrived-heading p,.unarrived-note{font-size:12px;line-height:1.7;color:var(--muted);margin-top:7px}.unarrived-heading>strong{background:#fff0d2;color:#975c05;border-radius:12px;padding:9px 18px;font-size:26px}.unarrived-table{overflow:auto;margin-top:18px;border:1px solid var(--line);border-radius:12px;max-height:440px}.unarrived-table table{width:100%;border-collapse:collapse;font-size:12px;text-align:left}.unarrived-table th{position:sticky;top:0;background:#f0f5f8}.unarrived-table th,.unarrived-table td{padding:12px 15px;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.unarrived-empty{padding:18px;background:#eaf8f0;border-radius:10px;margin-top:16px;color:#137a50}.unarrived-pagination{display:flex;justify-content:flex-end;align-items:center;gap:15px;margin-top:12px;font-size:12px}.unarrived-pagination button{border:1px solid var(--line);background:#f4f8fc;border-radius:8px;padding:8px 12px;color:var(--ink)}@media(max-width:760px){.unarrived-panel{padding:18px 16px}.unarrived-heading h2{font-size:18px}.unarrived-table table{min-width:460px}.unarrived-heading p,.unarrived-note{font-size:12px}.unarrived-pagination{justify-content:center;font-size:12px;gap:10px}}

.kiosk-stage>.unarrived-panel{min-height:430px;background:linear-gradient(110deg,#fffcf5,#fff);border-top:0}.unarrived-table{max-height:300px}.unarrived-heading h2{color:#975c05}

/* Visual theme follows referensi/screen.png. */
:root { --ink: #0f172a; --blue: #2563eb; --green: #009b75; --muted: #475569; --line: #dce6f5; }
body { background: radial-gradient(ellipse at 0 0, #dceaff 0, transparent 46%), radial-gradient(ellipse at 100% 100%, #e4efff 0, transparent 45%), #f6f9fe; line-height: 1.6; }
.kiosk-wrap { max-width: 1440px; padding: 28px 32px; }
.operator-bar { color: var(--muted); }
.operator-actions > button, .operator-actions > form button { background: #fff; border-color: var(--line); border-radius: 12px; min-height: 38px; }
.kiosk { border: 1px solid var(--line); border-radius: 28px; box-shadow: 0 24px 60px -28px #2563eb36; }
.kiosk-header { background: #fff; padding: 24px 32px; }
.school-brand small { color: #334155; letter-spacing: .5px; }
.school-brand strong { color: var(--ink); font-size: 27px; font-weight: 800; }
.school-brand em { color: var(--muted); font-weight: 500; }
.device-status > div { background: #f7faff; border: 1px solid var(--line); border-radius: 12px; padding: 9px 12px; }
.device-status { gap: 12px; }
.device-status .tap-icon { color: var(--blue); }
.live-clock strong { font-weight: 800; color: var(--ink); }
.mode-bar { background: #f8faff; border-bottom: 1px solid var(--line); }
.period-label { color: var(--muted); }
.mode-picker { background: #edf2fa; border: 1px solid var(--line); border-radius: 14px; }
.mode-picker button { border-radius: 10px; font-weight: 700; padding: 10px 18px; }
.mode-picker button[aria-pressed=true] { color: #fff; background: var(--green); box-shadow: 0 3px 8px #009b7526; }
.mode-picker button[data-mode=out][aria-pressed=true] { color: #fff; background: var(--blue); }
.ready-screen { background: linear-gradient(110deg, rgba(244, 247, 252, .94), rgba(234, 242, 255, .90)), url('images/campus-hero.webp') center/cover no-repeat; min-height: 400px; gap: 48px; padding: 40px 48px; }
.ready-screen:before { display: none; }
.tap-photo-stage { margin: 0; width: min(100%, 400px); aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; border: 1px solid #dce6f5; box-shadow: 0 18px 36px -18px #2563eb38; background: #fff; flex-shrink: 0; }
.tap-photo-stage img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ready-copy { color: var(--ink); }
.ready-copy .eyebrow { display: inline-block; background: #eff6ff; color: var(--blue); border: 1px solid #bdd5ff; border-radius: 999px; padding: 6px 14px; font-weight: 700; letter-spacing: .5px; }
.ready-copy h1 { color: var(--ink); font-weight: 800; letter-spacing:-.025em; }
.ready-subtitle { color: #1d4ed8; font-weight: 700; letter-spacing: .5px; }
.tap-instruction { background: #fff; border: 1px solid #dce6f5; border-radius: 16px; box-shadow: 0 8px 20px -12px #2563eb33; color: var(--ink); }
.tap-instruction .tap-icon { color: var(--blue); }
.tap-instruction small { color: var(--muted); }
.success-screen { background: linear-gradient(120deg, #effbf7, #fff 70%); padding: 32px; gap: 32px; }
.student-portrait { background: linear-gradient(160deg, #2563eb, #1d4ed8); border: 1px solid #dce6f5; border-radius: 20px; box-shadow: 0 10px 24px -12px #2563eb40; }
.student-avatar { color: #2563eb; background: #f6f9fe; font-weight: 800; }
.kiosk[data-state=processing] .tap-photo-stage { opacity: .82; }
@media (max-width: 760px) { .tap-photo-stage { width: min(100%, 320px); } }
.result-heading h2 { font-weight: 800; letter-spacing:-.025em; }
.success-copy h3 { font-weight: 800; }
.student-details dt { color: var(--muted); }
.recorded-time { background: #e2f6ee; border: 1px solid #c2eadb; border-radius: 16px; color: #087554; }
.recorded-time strong { font-weight: 800; }
.kiosk[data-state=out] .success-screen { background: linear-gradient(120deg, #edf3ff, #fff 70%); }
.kiosk[data-state=out] .recorded-time { background: #eaf1ff; border-color: #cbdcff; color: #2153cf; }
.error-screen { background: linear-gradient(120deg, #fff2f3, #fff 70%); }
.error-help { border-radius: 12px; }
.scan-bar { background: #fff; border-top: 1px solid var(--line); padding: 20px 28px; }
.scan-bar input { border: 1px solid #d9e2f2; border-radius: 12px; background: #fbfcff; color: var(--ink); }
.scan-bar input:focus { border-color: var(--blue); outline: 3px solid #215ef21a; }
.scan-bar > button { border-radius: 12px; background: var(--blue); color: #fff; font-weight: 700; box-shadow: 0 4px 10px #215ef22b; }
.kiosk-footer { background: #f8faff; border-top: 1px solid var(--line); padding: 20px 28px; }
.counter { border-radius: 14px; border: 1px solid #e0e8f4; }
.counter strong { font-weight: 800; }
.counter-present { background: #e7f8f0; color: #07825d; }
.counter-late { background: #fff7e5; color: #a56c0b; }
.counter-not_arrived { background: #eaf2ff; color: #1d4ed8; }
.counter-departed { background: #e8f1ff; color: #2563eb; }
.counter-context, .operator-hint { color: var(--muted); }
.kiosk-stage > .unarrived-panel { background: #f8faff; }
.unarrived-heading h2 { color: var(--ink); }
.unarrived-table { border-color: var(--line); background: #fff; }
.unarrived-table th { background: #eef3ff; color: #526581; }
.tap-version { text-align: center; color: var(--muted); font-size: 12px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
@media (max-width: 1000px) { .kiosk-header { gap: 18px; } .device-status > div { padding: 7px 9px; } .ready-screen { gap: 40px; padding: 36px; } }
@media (max-width: 760px) {
 .kiosk-wrap { padding: 16px 12px; }
 .kiosk { border: 1px solid var(--line); border-radius: 22px; }
 .kiosk-header { padding: 20px 16px; }
 .school-brand strong { font-size: 23px; }
 .device-status > div { flex: 1; justify-content: center; }
 .ready-screen { padding: 40px 20px; gap: 40px; }
 .ready-copy h1 { font-size: clamp(25px, 7vw, 33px); }
 .ready-copy .eyebrow { font-size: 12px; }
 .success-screen { padding: 24px 20px; gap: 24px; }
 .scan-bar { padding: 16px; }
 .kiosk-footer { padding: 14px; }
}

.application-author { display: inline-block; font-size: 14px; font-weight: 500; color: #9ddcff; text-decoration: underline; text-underline-offset: 3px; }
.application-author:hover { text-decoration-thickness: 2px; }
.application-author:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 2px; }

@media(max-width:1000px){.kiosk-wrap button{min-height:44px;min-width:44px}.kiosk-wrap input:not([type=hidden]){font-size:16px;min-height:44px;box-sizing:border-box;max-width:100%}}

/* UI-DS-05: readable kiosk copy without changing scan or attendance states. */
.operator-actions button,.scan-bar>button,.mode-picker button{min-height:44px}
.school-brand>span{min-width:0}
.school-brand em{overflow-wrap:break-word}
@media(max-width:760px){.device-status{flex-wrap:wrap;gap:12px}.device-status>div{flex:1 1 150px}.operator-actions{flex-wrap:wrap}.school-brand{max-width:100%;flex-shrink:1}}
