/* ---------- Page around the monitor ---------- */
.demo-banner { background: var(--tint); border-bottom: 1px solid var(--line-soft); font-size: 14px; padding: 10px 0; color: var(--text-dim); }
.demo-main { padding-top: 28px; padding-bottom: 48px; }
.demo-title { font-size: clamp(1.6rem, 3.6vw, 2.3rem); }
.demo-lede { font-size: 1rem; margin-bottom: 20px; }
.demo-note { font-size: 13px; color: var(--text-dim); margin-top: 10px; }
.demo-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 20px; align-items: start; }
@media (max-width: 980px) { .demo-layout { grid-template-columns: 1fr; } .coach { order: -1; } }

.switcher { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.sw { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); color: var(--text-dim); font: 500 14px var(--font); cursor: pointer; }
.sw:hover { color: var(--text); }
.sw[aria-pressed="true"] { border-color: var(--text); color: var(--text); background: var(--tint); font-weight: 600; }
.sw svg { width: 16px; height: 16px; }
.seat { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; font-weight: 400; color: var(--text-dim); }
.seat select { width: auto; padding: 6px 8px; font-size: 14px; }

.monitor { background: #141414; border-radius: 14px; padding: 10px; box-shadow: 0 0 0 1px var(--line); }
.monitor-screen { position: relative; isolation: isolate; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 4px; background: #000; }
.stand { width: 140px; height: 14px; margin: 0 auto; background: #1f1f1f; border-radius: 0 0 10px 10px; }
@media (max-width: 720px) {
  .monitor { padding: 5px; border-radius: 10px; }
  .monitor-screen { aspect-ratio: auto; height: min(78vh, 640px); min-height: 480px; }
  .stand { display: none; }
}

/* ---------- Guided tour ---------- */
.coach { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; background: var(--bg); }
.coach-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.coach-head h2 { font-size: 1.05rem; margin: 0; }
.coach-head span { font: 500 12px var(--font-mono); color: var(--text-dim); }
.coach ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.coach li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; font-size: 13.5px; color: var(--text-dimmer); }
.coach li .n { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font: 600 11px var(--font-mono); }
.coach li strong { display: block; font-size: 14px; color: inherit; }
.coach li.cur { color: var(--text); }
.coach li.cur .n { border-color: var(--text); }
.coach li.done .n { background: var(--text); color: var(--bg); border-color: var(--text); }
.coach li.done strong { text-decoration: line-through; text-decoration-thickness: 1px; }
.coach-done { font-size: 14px; margin: 14px 0 0; }
.coach-foot { margin-top: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.sbtn { border: 1px solid var(--line); background: var(--bg); color: var(--text); border-radius: var(--radius); padding: 7px 11px; font: 500 13px var(--font); cursor: pointer; text-decoration: none; }
.sbtn:hover { background: var(--tint); }
.coach-toggle { display: none; }
@media (max-width: 980px) {
  .coach.collapsed li:not(.cur) { display: none; }
  .coach-toggle { display: inline-flex; }
}

/* ---------- Simulated screens (fixed colours, independent of the site theme) ---------- */
.screen { position: absolute; inset: 0; container-type: size; font-family: "Segoe UI", Inter, system-ui, sans-serif; color: #111; font-size: 14px; line-height: 1.4; overflow: hidden; user-select: none; -webkit-user-select: none; }
.screen input, .screen textarea, .screen select { user-select: text; -webkit-user-select: text; }
.screen button { font-family: inherit; }
.screen :focus-visible { outline: 2px solid #7fb0ff; outline-offset: 2px; }
.watermark { position: absolute; right: 10px; bottom: 52px; font: 700 11px "IBM Plex Mono", monospace; letter-spacing: .2em; color: rgba(255, 255, 255, .7); z-index: 6000; pointer-events: none; background: rgba(0, 0, 0, .45); padding: 2px 8px; border-radius: 4px; }
.toast { position: absolute; left: 50%; bottom: 58px; transform: translateX(-50%); background: rgba(12, 12, 12, .95); color: #fff; padding: 10px 16px; border-radius: 8px; font-size: 13.5px; z-index: 7000; display: flex; gap: 8px; align-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .45); max-width: calc(100% - 24px); }
.toast svg { width: 16px; height: 16px; flex: 0 0 16px; color: #fbbf24; }
.i { display: inline-grid; place-items: center; }
.i svg { width: 16px; height: 16px; display: block; }

/* Desktop */
.desk { position: absolute; inset: 0; background: radial-gradient(900px 520px at 18% 8%, rgba(120, 160, 220, .55), transparent 60%), linear-gradient(135deg, #1b2740, #2f4a73 55%, #5876a3); }
.desk.admin-desk { background: radial-gradient(900px 520px at 80% 10%, rgba(140, 180, 160, .45), transparent 60%), linear-gradient(135deg, #17262a, #284448 55%, #4c6f6a); }
.icons { position: absolute; left: 8px; top: 8px; display: grid; gap: 4px; z-index: 1; }
.dicon { width: 82px; padding: 8px 4px; border: 0; background: transparent; color: #fff; display: grid; justify-items: center; gap: 6px; font-size: 12px; border-radius: 6px; cursor: pointer; text-shadow: 0 1px 2px rgba(0, 0, 0, .7); }
.dicon:hover { background: rgba(255, 255, 255, .14); }
.ico { width: 40px; height: 40px; border-radius: 9px; display: grid; place-items: center; color: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); flex: 0 0 auto; }
.ico svg { width: 22px; height: 22px; }
.ico.sm { width: 18px; height: 18px; border-radius: 4px; box-shadow: none; }
.ico.sm svg { width: 12px; height: 12px; }

/* Windows */
.win { position: absolute; display: flex; flex-direction: column; background: #fff; border-radius: 8px; box-shadow: 0 14px 40px rgba(0, 0, 0, .38), 0 0 0 1px rgba(0, 0, 0, .25); overflow: hidden; min-width: 240px; }
.titlebar { height: 34px; flex: 0 0 34px; display: flex; align-items: center; gap: 8px; padding-left: 10px; background: #e4e8ef; color: #111; cursor: move; touch-action: none; }
.win:not(.active) .titlebar { background: #f1f3f6; color: #777; }
.wt { flex: 1; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wbtns { display: flex; height: 100%; }
.wbtns button { width: 40px; height: 100%; border: 0; background: transparent; font-size: 15px; cursor: pointer; color: inherit; }
.wbtns button:hover { background: rgba(0, 0, 0, .08); }
.wbtns .x:hover { background: #d92b2b; color: #fff; }
.wbody { flex: 1; overflow: auto; min-height: 0; background: #fff; }
.win.max { left: 0 !important; top: 0 !important; width: 100% !important; height: calc(100% - 44px) !important; border-radius: 0; }
.win.max .titlebar { cursor: default; }

/* Taskbar and start menu */
.taskbar { position: absolute; left: 0; right: 0; bottom: 0; height: 44px; background: rgba(16, 20, 28, .92); backdrop-filter: blur(8px); display: flex; align-items: center; gap: 6px; padding: 0 8px; color: #fff; z-index: 5000; }
.tb-start { width: 36px; height: 36px; flex: 0 0 36px; border: 0; border-radius: 6px; background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; }
.tb-start:hover, .tb-start[aria-expanded="true"] { background: rgba(255, 255, 255, .14); }
.tb-start svg { width: 18px; height: 18px; }
.tb-wins { display: flex; gap: 4px; flex: 1; min-width: 0; overflow: hidden; }
.tb-win { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 10px; border: 0; border-bottom: 2px solid transparent; border-radius: 6px; background: transparent; color: #cfd5df; font-size: 12.5px; cursor: pointer; max-width: 170px; min-width: 0; }
.tb-win:hover { background: rgba(255, 255, 255, .08); }
.tb-win.open { background: rgba(255, 255, 255, .1); border-bottom-color: #7fb0ff; color: #fff; }
.tb-win span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tray { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: #e5e7eb; white-space: nowrap; }
.tray-user { display: flex; align-items: center; gap: 5px; background: rgba(255, 255, 255, .1); padding: 3px 9px; border-radius: 12px; }
.tray-user svg { color: #86efac; }
.start { position: absolute; left: 8px; bottom: 52px; width: min(300px, calc(100% - 16px)); background: rgba(26, 30, 40, .97); color: #fff; border-radius: 10px; padding: 14px; z-index: 5001; box-shadow: 0 12px 40px rgba(0, 0, 0, .5); }
.start h4 { margin: 0 0 10px; font: 600 11.5px Inter, sans-serif; color: #aab; text-transform: uppercase; letter-spacing: .08em; }
.start-apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.start-apps button { border: 0; background: transparent; color: #fff; display: grid; justify-items: center; gap: 6px; padding: 8px 4px; border-radius: 8px; font-size: 12px; cursor: pointer; }
.start-apps button:hover { background: rgba(255, 255, 255, .1); }
.start-foot { margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 12px; color: #bbc; display: flex; align-items: center; gap: 6px; }

@container (max-width: 720px) {
  .win { left: 0 !important; top: 0 !important; width: 100% !important; height: calc(100% - 44px) !important; border-radius: 0; min-width: 0; }
  .titlebar { cursor: default; }
  .dicon { width: 74px; }
}
@container (max-width: 520px) {
  .tb-win span { display: none; }
  .tray-user span { display: none; }
}

/* Lock screen */
.lock { position: absolute; inset: 0; background: radial-gradient(900px 500px at 70% 15%, rgba(70, 100, 160, .55), transparent 60%), linear-gradient(160deg, #0a1120, #101b31 60%, #1a2948); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 16px; overflow: auto; }
.lock-time { text-align: center; }
.lock-time .big { font: 300 64px/1 "Segoe UI", Inter, system-ui, sans-serif; letter-spacing: -.02em; }
.lock-time .date { color: #c9d3e6; margin-top: 6px; }
.lock-card { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); backdrop-filter: blur(10px); border-radius: 14px; padding: 18px 22px; width: min(340px, 100%); text-align: center; }
.lock-badge { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; color: #b9c6dd; letter-spacing: .04em; }
.lock-badge svg { width: 14px; height: 14px; }
.lock-card h2 { font: 600 22px "Segoe UI", Inter, system-ui, sans-serif; margin: 6px 0 4px; color: #fff; }
.lock-msg { color: #d6deec; font-size: 13.5px; margin: 0 0 12px; }
.lock-note { background: rgba(251, 191, 36, .16); color: #fde68a; border-radius: 6px; padding: 6px 10px; font-size: 12.5px; margin: 0 0 10px; }
.lock-card.broken { border-color: rgba(251, 146, 60, .5); }
.lock input.pin-in { width: 170px; text-align: center; letter-spacing: .5em; font: 600 22px "IBM Plex Mono", monospace; background: rgba(0, 0, 0, .35); color: #fff; border: 1px solid rgba(255, 255, 255, .3); border-radius: 8px; padding: 8px; }
.pin-err { color: #fca5a5; font-size: 13px; min-height: 1.3em; margin: 6px 0; }
.keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; max-width: 220px; margin: 0 auto; }
.keypad button { height: 38px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); color: #fff; border-radius: 8px; font-size: 16px; cursor: pointer; }
.keypad button:hover { background: rgba(255, 255, 255, .15); }
.lock-hint { font-size: 12px; color: #93a3bf; margin: 10px 0 0; }
.emerg { margin-top: 8px; background: none; border: 0; color: #93a3bf; font-size: 12px; text-decoration: underline; cursor: pointer; }
@container (max-height: 560px) { .lock-time { display: none; } }
@container (max-width: 520px) { .lock-time .big { font-size: 46px; } }

.modal { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); display: grid; place-items: center; z-index: 8000; padding: 16px; }
.modal-card { background: #fff; color: #111; border-radius: 12px; padding: 20px; width: min(340px, 100%); text-align: left; }
.modal-card h3 { font: 600 17px "Segoe UI", Inter, sans-serif; margin: 0 0 6px; }
.modal-card p { font-size: 13px; color: #555; margin: 0 0 12px; }
.modal-card input { width: 100%; border: 1px solid #ccc; border-radius: 6px; padding: 8px 10px; font-size: 15px; background: #fff; color: #111; }
.modal-card .err { color: #c62828; font-size: 12.5px; min-height: 1.3em; margin: 6px 0 0; }
.modal-btns { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }

/* Boot, restart, offline */
.boot { position: absolute; inset: 0; background: #000; color: #cfd6e4; display: grid; place-content: center; justify-items: center; gap: 14px; font-size: 14px; }
.spinner { width: 34px; height: 34px; border: 3px solid rgba(255, 255, 255, .2); border-top-color: #fff; border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.off { position: absolute; inset: 0; background: #050505; display: grid; place-content: center; justify-items: center; gap: 8px; color: #6b7280; font: 500 14px "IBM Plex Mono", monospace; }

/* Kiosk */
.kiosk { background: #0d1117; color: #e6edf3; display: flex; flex-direction: column; }
.k-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 18px; border-bottom: 1px solid #222a35; font-size: 14px; }
.k-head strong { display: inline-flex; align-items: center; gap: 8px; }
.k-head svg { width: 18px; height: 18px; color: #58a6ff; }
.k-head span.sub { color: #8b98a9; }
.k-body { flex: 1; display: grid; grid-template-columns: 250px 1fr; min-height: 0; }
.k-who { border-right: 1px solid #222a35; padding: 14px; overflow: auto; }
.k-label { font-size: 11.5px; color: #8b98a9; text-transform: uppercase; letter-spacing: .07em; margin: 0 0 10px; }
.k-list { display: grid; gap: 2px; }
.screen label.k-stu { display: flex; gap: 10px; align-items: center; padding: 7px 10px; border-radius: 8px; cursor: pointer; font-size: 13.5px; font-weight: 400; }
.k-stu:hover { background: #161d27; }
.k-stu input { accent-color: #58a6ff; width: auto; margin: 0; }
.k-stu small { display: block; color: #8b98a9; font-size: 11.5px; }
.k-stu .here { margin-left: auto; font-size: 11px; color: #3fb950; white-space: nowrap; }
.k-main { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 18px; overflow: auto; text-align: center; }
.k-pad { width: 150px; height: 150px; flex: 0 0 150px; border-radius: 50%; border: 2px solid #30363d; background: radial-gradient(circle, #18202b, #0d1117); color: #58a6ff; display: grid; place-items: center; cursor: pointer; position: relative; overflow: hidden; }
.k-pad:hover { border-color: #58a6ff; }
.k-pad svg { width: 78px; height: 78px; }
.k-pad.scanning { border-color: #58a6ff; box-shadow: 0 0 0 6px rgba(88, 166, 255, .15); }
.k-pad.scanning::after { content: ""; position: absolute; left: 15%; right: 15%; top: 20%; height: 2px; background: #58a6ff; box-shadow: 0 0 12px #58a6ff; animation: scanline 1.1s ease-in-out infinite; }
@keyframes scanline { 50% { top: 78%; } }
.k-status { color: #8b98a9; font-size: 14px; margin: 0; }
.k-card { background: #161b22; border: 1px solid #30363d; border-radius: 12px; padding: 16px 20px; width: min(390px, 100%); }
.k-card.warn { border-color: #9e6a03; }
.k-card .who { font-size: 15px; margin: 0 0 12px; }
.k-card .sub2 { font-size: 12.5px; color: #8b98a9; margin: 10px 0 0; }
.k-nums { display: flex; justify-content: center; gap: 30px; }
.k-nums div { display: grid; }
.k-nums small { color: #8b98a9; font-size: 11.5px; text-transform: uppercase; letter-spacing: .07em; }
.k-nums strong { font: 600 30px "IBM Plex Mono", monospace; color: #fff; }
.k-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }
.kbtn { border: 1px solid #30363d; background: #21262d; color: #e6edf3; border-radius: 8px; padding: 8px 12px; font-size: 13px; font-weight: 500; cursor: pointer; }
.kbtn:hover { border-color: #8b98a9; }
.kbtn.primary { background: #238636; border-color: #2ea043; color: #fff; }
@container (max-width: 720px) {
  .k-body { grid-template-columns: 1fr; grid-template-rows: auto 1fr; overflow: auto; }
  .k-who { border-right: 0; border-bottom: 1px solid #222a35; overflow: visible; }
  .k-list { grid-template-columns: 1fr 1fr; }
  .k-stu .here { display: none; }
  .k-main { overflow: visible; justify-content: flex-start; }
  .k-head span.sub { display: none; }
}

/* Student apps */
.addr { display: flex; gap: 8px; align-items: center; padding: 6px 10px; background: #f3f4f6; border-bottom: 1px solid #e5e7eb; color: #666; }
.addr .bar { flex: 1; background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 4px 12px; font-size: 12.5px; color: #444; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.page { padding: 18px 22px; color: #1f2937; }
.page .eyebrow { font-size: 11.5px; text-transform: uppercase; letter-spacing: .07em; color: #6b7280; margin: 0 0 4px; }
.page h3 { font: 600 19px "Segoe UI", Inter, sans-serif; margin: 0 0 6px; }
.page p { margin: 0 0 10px; color: #4b5563; font-size: 13.5px; }
.page ol { margin: 0 0 12px; padding-left: 20px; font-size: 13.5px; display: grid; gap: 4px; }
.page .due { display: inline-block; background: #fef3c7; color: #92400e; border-radius: 4px; padding: 2px 8px; font-size: 12px; }
.files { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; padding: 14px; }
.file { display: grid; justify-items: center; gap: 6px; font-size: 12px; color: #333; text-align: center; padding: 6px; border-radius: 6px; }
.file:hover { background: #eef2ff; }
.screen textarea.notes { display: block; width: 100%; height: 100%; border: 0; border-radius: 0; resize: none; padding: 12px 14px; font: 14px/1.55 Consolas, "IBM Plex Mono", monospace; color: #111; background: #fffef4; outline: none; }
.code { display: flex; flex-direction: column; height: 100%; background: #1e1e1e; color: #d4d4d4; }
.code-bar { display: flex; justify-content: space-between; align-items: center; padding: 6px 10px; background: #252526; font-size: 12px; color: #aaa; }
.code-bar button { background: #0e639c; border: 0; color: #fff; border-radius: 4px; padding: 4px 12px; cursor: pointer; font-size: 12px; }
.screen .code textarea { flex: 1; background: #1e1e1e; color: #d4d4d4; border: 0; border-radius: 0; resize: none; padding: 10px 12px; font: 13px/1.55 Consolas, "IBM Plex Mono", monospace; outline: none; min-height: 110px; }
.code pre { margin: 0; padding: 8px 12px; background: #111; color: #9cdcfe; font: 12.5px/1.5 Consolas, "IBM Plex Mono", monospace; border-top: 1px solid #333; min-height: 54px; white-space: pre-wrap; }

/* Admin console */
.adm { display: flex; flex-direction: column; height: 100%; font-size: 13px; color: #111; font-family: Inter, "Segoe UI", system-ui, sans-serif; }
.adm-tabs { display: flex; gap: 2px; padding: 6px 8px 0; background: #f3f4f6; border-bottom: 1px solid #e5e7eb; overflow-x: auto; flex: 0 0 auto; }
.adm-tabs button { border: 0; background: transparent; padding: 8px 14px; border-radius: 6px 6px 0 0; font-size: 13px; font-weight: 500; cursor: pointer; color: #555; white-space: nowrap; }
.adm-tabs button[aria-selected="true"] { background: #fff; color: #111; font-weight: 600; box-shadow: 0 -2px 0 #111 inset; }
.adm-body { flex: 1; overflow: auto; padding: 14px; min-height: 0; }
.adm-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 8px 14px; margin-bottom: 10px; flex-wrap: wrap; }
.adm-toolbar h4 { margin: 0; font-size: 14px; }
.legend2 { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12px; color: #555; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.adm-lab { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 14px; }
.pc-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.pc-tile { border: 1px solid #d1d5db; border-radius: 8px; padding: 8px; text-align: left; background: #fff; cursor: pointer; color: #111; min-width: 0; font-size: 13px; }
.pc-tile strong { display: flex; align-items: center; gap: 5px; font: 600 12.5px "IBM Plex Mono", monospace; }
.pc-tile small { display: block; font-size: 11px; color: #555; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-tile[aria-pressed="true"] { outline: 2px solid #2563eb; outline-offset: 1px; }
.st-locked { background: #f3f4f6; }
.st-inuse { background: #ecfdf3; border-color: #86efac; }
.st-offline { background: #fafafa; color: #888; }
.st-offline strong { color: #888; }
.st-notworking { background: #fff7ed; border-color: #fdba74; }
.st-busy { background: #eff6ff; border-color: #93c5fd; }
.adm-detail { border: 1px solid #e5e7eb; border-radius: 8px; padding: 12px; align-self: start; }
.adm-detail h4 { margin: 0 0 8px; font-size: 15px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; font-size: 12.5px; margin: 0 0 12px; }
.kv dt { color: #6b7280; }
.kv dd { margin: 0; }
.abtns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.abtn { border: 1px solid #d1d5db; background: #fff; border-radius: 6px; padding: 7px 8px; font-size: 12.5px; font-weight: 500; cursor: pointer; color: #111; }
.abtn:hover:not(:disabled) { background: #f3f4f6; }
.abtn:disabled { opacity: .45; cursor: not-allowed; }
.abtn.primary { background: #111; color: #fff; border-color: #111; }
.abtn.primary:hover:not(:disabled) { background: #333; }
.abtn.wide { grid-column: 1 / -1; }
.adm-msg { font-size: 12px; color: #6b7280; margin: 10px 0 0; }
.adm-live { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 12px; }
.live-list { display: grid; gap: 4px; align-content: start; }
.live-list button { text-align: left; border: 1px solid #e5e7eb; background: #fff; border-radius: 6px; padding: 6px 8px; font-size: 12px; cursor: pointer; color: #111; }
.live-list button small { display: block; color: #6b7280; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live-list button[aria-pressed="true"] { border-color: #2563eb; background: #eff6ff; }
.live-frame { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 6px; background: #000; border: 1px solid #111; }
.live-inner { position: absolute; left: 0; top: 0; width: 960px; height: 600px; transform-origin: 0 0; pointer-events: none; }
.live-cap { font-size: 12px; color: #555; margin-top: 6px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.rec { width: 8px; height: 8px; border-radius: 50%; background: #ef4444; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.tbl { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.tbl th, .tbl td { text-align: left; padding: 7px 8px; border-bottom: 1px solid #eef0f3; }
.tbl th { color: #6b7280; font-weight: 600; }
.tbl .ok { color: #15803d; }
@container (max-width: 720px) {
  .adm-lab, .adm-live { grid-template-columns: 1fr; }
  .pc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .live-list { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
}
@container (max-width: 420px) { .pc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

@media (prefers-reduced-motion: reduce) {
  .spinner { animation-duration: 3s; }
  .k-pad.scanning::after { animation: none; top: 50%; }
  .rec { animation: none; }
}
.kiosk .watermark { bottom: 10px; }
