:root{--bg:#f4f6fb;--surface:#fff;--surface-2:#eef1f8;--border:#dde2ee;--text:#17203a;--muted:#5d6784;--brand:#1b3a6b;--brand-2:#2b5aa8;--brand-ink:#fff;--accent:#f2a900;--ok:#17803d;--ok-bg:#e4f5ea;--warn:#9a5b00;--warn-bg:#fff2d6;--err:#b42318;--err-bg:#fde8e6;--info:#1d5fbf;--info-bg:#e3eefc;--shadow:0 1px 2px #141e3c0f, 0 4px 14px #141e3c0f;--radius:14px;--nav-h:64px;--safe-b:env(safe-area-inset-bottom,0px);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}@media (prefers-color-scheme:dark){:root{--bg:#0e1424;--surface:#172038;--surface-2:#1e2a47;--border:#2a3857;--text:#e8ecf8;--muted:#9aa6c6;--brand:#7ea6ec;--brand-2:#9bbcf5;--brand-ink:#0e1424;--ok:#5ed08a;--ok-bg:#12301f;--warn:#f3b955;--warn-bg:#3a2c0d;--err:#ff8d84;--err-bg:#3a1714;--info:#8db8f7;--info-bg:#14284a;--shadow:0 1px 2px #0006;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}*{box-sizing:border-box}html,body,#root{height:100%}body{background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;margin:0;font:16px/1.45 system-ui,-apple-system,Segoe UI,Roboto,Noto Sans,Noto Sans Devanagari,sans-serif}body.no-scroll{overflow:hidden}h1,h2,h3{margin:0;line-height:1.2}h1{font-size:1.45rem}h2{font-size:1.15rem}h3{font-size:1rem}p{margin:0}a{color:var(--brand-2);text-decoration:none}a:hover{text-decoration:underline}.muted{color:var(--muted)}.small{font-size:.85rem}.row{align-items:center;gap:10px;display:flex}.row-wrap{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.grow{flex:1;min-width:0}.stack{flex-direction:column;gap:12px;display:flex}.spread{justify-content:space-between;align-items:center;gap:10px;display:flex}.ellipsis{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.app-header{z-index:30;background:var(--brand);color:var(--brand-ink);padding:10px 16px;padding-top:calc(10px + env(safe-area-inset-top,0px));align-items:center;gap:12px;display:flex;position:sticky;top:0}@media (prefers-color-scheme:dark){.app-header{background:var(--surface);color:var(--text);border-bottom:1px solid var(--border)}}.brand{letter-spacing:.2px;color:inherit;align-items:center;gap:8px;font-weight:800;display:flex}.brand:hover{text-decoration:none}.brand-mark{background:#ffffff29;border-radius:8px;place-items:center;width:28px;height:28px;font-size:.95rem;display:grid}.header-nav{gap:4px;margin-left:8px;display:none}.header-nav a{color:inherit;opacity:.85;border-radius:999px;padding:6px 12px;font-size:.93rem;font-weight:600}.header-nav a.active,.header-nav a:hover{opacity:1;background:#ffffff29;text-decoration:none}.header-user{align-items:center;gap:10px;margin-left:auto;font-size:.9rem;display:flex}.header-user .who{text-align:right;line-height:1.2;display:none}.header-user .btn{color:inherit;background:#ffffff24;border-color:#0000}.container{max-width:1180px;padding:16px;padding-bottom:calc(var(--nav-h) + 24px + var(--safe-b));margin:0 auto}.container.no-bottom-nav{padding-bottom:32px}@media (width>=760px){.header-nav{display:flex}.header-user .who{display:block}.container{padding:24px 24px 40px}}.page-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:16px;display:flex}.back-link{color:var(--muted);align-items:center;gap:4px;margin-bottom:6px;font-size:.9rem;font-weight:600;display:inline-flex}.admin-tabs{gap:6px;margin:-4px 0 14px;padding-bottom:4px;display:flex;overflow-x:auto}@media (width>=760px){.admin-tabs{display:none}}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:16px}.card+.card{margin-top:12px}.card-link{color:inherit;transition:transform 80ms,border-color .15s;display:block}.card-link:hover{border-color:var(--brand-2);text-decoration:none}.card-link:active{transform:scale(.995)}.grid{gap:12px;display:grid}.grid-2{grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}.stat-grid{grid-template-columns:repeat(2,1fr);gap:10px;display:grid}@media (width>=760px){.stat-grid{grid-template-columns:repeat(4,1fr)}}.stat{background:var(--surface);border:1px solid var(--border);text-align:left;font:inherit;color:inherit;cursor:default;border-radius:12px;padding:12px 14px}button.stat{cursor:pointer}button.stat:hover{border-color:var(--brand-2)}.stat.active{border-color:var(--brand-2);box-shadow:0 0 0 2px var(--info-bg)}.stat-n{font-size:1.6rem;font-weight:800;line-height:1.1}.stat-l{color:var(--muted);font-size:.82rem}.stat.warn .stat-n{color:var(--warn)}.btn{border:1px solid var(--border);background:var(--surface);color:var(--text);font:inherit;cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:10px;justify-content:center;align-items:center;gap:8px;font-weight:650;text-decoration:none;transition:background .12s,transform 60ms,opacity .12s;display:inline-flex}.btn:hover{background:var(--surface-2);text-decoration:none}.btn:active{transform:scale(.98)}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-md{min-height:44px;padding:0 16px}.btn-sm{border-radius:9px;min-height:34px;padding:0 12px;font-size:.88rem}.btn-primary{background:var(--brand);color:var(--brand-ink);border-color:var(--brand)}.btn-primary:hover{background:var(--brand-2)}.btn-danger{background:var(--err-bg);color:var(--err);border-color:#0000}.btn-danger:hover{background:var(--err-bg);filter:brightness(.96)}.btn-ghost{color:var(--muted);background:0 0;border-color:#0000}.icon-btn{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:10px;place-items:center;width:40px;height:40px;font-size:1.05rem;display:grid}.icon-btn:hover{background:var(--surface-2);color:var(--text)}.spinner{border:3px solid var(--border);border-top-color:var(--brand-2);border-radius:50%;width:22px;height:22px;animation:.8s linear infinite spin;display:inline-block}.spinner-sm{border-width:2px;width:14px;height:14px}@keyframes spin{to{transform:rotate(360deg)}}.center-pad{flex-direction:column;align-items:center;gap:10px;padding:40px 16px;display:flex}input[type=text],input[type=search],input[type=tel],input[type=date],input[type=number],input[type=email],select,textarea{border:1px solid var(--border);background:var(--surface);width:100%;min-height:44px;color:var(--text);font:inherit;border-radius:10px;padding:10px 12px}textarea{resize:vertical;min-height:80px}input:focus,select:focus,textarea:focus,.btn:focus-visible,.icon-btn:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--info-bg);border-color:var(--brand-2);outline-offset:0}.field{flex-direction:column;gap:6px;display:flex}.field>span{font-size:.88rem;font-weight:650}.field .hint{color:var(--muted);font-weight:400}.form{flex-direction:column;gap:14px;display:flex}.check{cursor:pointer;align-items:center;gap:10px;min-height:40px;display:flex}.check input{width:20px;height:20px;accent-color:var(--brand-2)}.badge{background:var(--surface-2);color:var(--muted);white-space:nowrap;border-radius:999px;align-items:center;gap:4px;padding:2px 9px;font-size:.75rem;font-weight:700;display:inline-flex}.tone-ok{background:var(--ok-bg);color:var(--ok)}.tone-warn{background:var(--warn-bg);color:var(--warn)}.tone-err{background:var(--err-bg);color:var(--err)}.tone-info{background:var(--info-bg);color:var(--info)}.status-draft{background:var(--surface-2);color:var(--muted)}.status-open{background:var(--ok-bg);color:var(--ok)}.status-frozen{background:var(--info-bg);color:var(--info)}.status-live{background:var(--err-bg);color:var(--err)}.status-live:before{content:"";background:currentColor;border-radius:50%;width:7px;height:7px;animation:1.4s infinite pulse}.status-archived{background:var(--surface-2);color:var(--muted)}@keyframes pulse{50%{opacity:.25}}.note{border-radius:10px;padding:10px 12px;font-size:.92rem}.note-err{background:var(--err-bg);color:var(--err)}.note-warn{background:var(--warn-bg);color:var(--warn)}.note-info{background:var(--info-bg);color:var(--info)}.note-ok{background:var(--ok-bg);color:var(--ok)}.lock-banner{background:var(--info-bg);color:var(--info);border-radius:12px;align-items:flex-start;gap:10px;margin-bottom:14px;padding:12px 14px;font-weight:600;display:flex}.empty{text-align:center;padding:36px 16px}.empty-title{margin-bottom:4px;font-weight:700}.tabs{background:var(--surface-2);border-radius:12px;gap:4px;padding:4px;display:flex;overflow-x:auto}.tab{text-align:center;color:var(--muted);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-radius:9px;flex:1;justify-content:center;align-items:center;gap:6px;padding:9px 14px;font-family:inherit;font-size:.92rem;font-weight:650;display:inline-flex}.tab.active{background:var(--surface);color:var(--text);box-shadow:var(--shadow)}.tab .count{background:var(--brand);color:var(--brand-ink);border-radius:999px;padding:1px 7px;font-size:.72rem}.bottom-nav{z-index:25;height:calc(var(--nav-h) + var(--safe-b));padding-bottom:var(--safe-b);background:var(--surface);border-top:1px solid var(--border);grid-auto-columns:1fr;grid-auto-flow:column;display:grid;position:fixed;bottom:0;left:0;right:0}.bottom-nav button{color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:center;gap:2px;font-size:.74rem;font-weight:700;display:flex;position:relative}.bottom-nav button .ico{font-size:1.35rem;line-height:1}.bottom-nav button.active{color:var(--brand-2)}.bottom-nav .pill{background:var(--brand);color:var(--brand-ink);border-radius:999px;min-width:18px;padding:0 6px;font-size:.66rem;position:absolute;top:6px;left:calc(50% + 8px)}@media (width>=760px){.bottom-nav{background:var(--surface-2);border:0;border-radius:12px;grid-auto-flow:column;gap:4px;width:fit-content;height:auto;margin-bottom:16px;padding:4px;position:static}.bottom-nav button{border-radius:9px;flex-direction:row;gap:8px;padding:8px 18px;font-size:.92rem}.bottom-nav button .ico{font-size:1rem}.bottom-nav button.active{background:var(--surface);color:var(--text);box-shadow:var(--shadow)}.bottom-nav .pill{position:static}.container{padding-bottom:40px}}.login-wrap{background:linear-gradient(160deg, var(--brand) 0%, #0f2347 100%);place-items:center;min-height:100%;padding:20px;display:grid}.login-card{background:var(--surface);border-radius:20px;width:100%;max-width:400px;padding:28px 22px;box-shadow:0 20px 60px #0000004d}.login-card h1{margin:10px 0 4px}.login-logo{background:var(--brand);width:52px;height:52px;color:var(--brand-ink);border-radius:14px;place-items:center;font-size:1.3rem;font-weight:900;display:grid}.phone-input{gap:8px;display:flex}.phone-input .cc{border:1px solid var(--border);background:var(--surface-2);border-radius:10px;place-items:center;padding:0 12px;font-weight:700;display:grid}.code-input{text-align:center;letter-spacing:.5em;font-size:1.8rem;font-weight:800;padding-left:.5em!important}.sheet-backdrop{z-index:60;background:#080e1e80;justify-content:center;align-items:flex-end;animation:.15s fade;display:flex;position:fixed;inset:0}.sheet{background:var(--surface);border-radius:20px 20px 0 0;outline:none;flex-direction:column;width:100%;max-height:92dvh;animation:.2s ease-out rise;display:flex}.sheet-head{justify-content:space-between;align-items:center;padding:14px 8px 8px 18px;display:flex}.sheet-body{-webkit-overflow-scrolling:touch;padding:4px 18px 18px;overflow-y:auto}.sheet-foot{padding:12px 18px calc(12px + var(--safe-b));border-top:1px solid var(--border);flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}@media (width>=760px){.sheet-backdrop{align-items:center}.sheet{border-radius:18px;max-width:520px;max-height:88vh}.sheet-wide{max-width:760px}}@keyframes rise{0%{opacity:0;transform:translateY(24px)}}@keyframes fade{0%{opacity:0}}.toasts{z-index:80;left:12px;right:12px;bottom:calc(var(--nav-h) + 12px + var(--safe-b));pointer-events:none;flex-direction:column;align-items:center;gap:8px;display:flex;position:fixed}.toast{pointer-events:auto;color:#fff;background:#1c2745;border-radius:12px;max-width:520px;padding:11px 16px;font-size:.93rem;font-weight:600;animation:.2s ease-out rise;box-shadow:0 6px 24px #00000040}.toast-ok{background:#14532d}.toast-warn{background:#7a4a00}.toast-err{background:#8f1d14}@media (width>=760px){.toasts{bottom:20px}}.event-card h3{font-size:1.08rem}.event-meta{color:var(--muted);flex-wrap:wrap;gap:6px 14px;margin-top:8px;font-size:.88rem;display:flex}.filters{grid-template-columns:1fr 1fr;gap:8px;display:grid}.filters .wide{grid-column:1/-1}@media (width>=760px){.filters{grid-template-columns:2fr 1fr 1fr 1fr}.filters .wide{grid-column:auto}}.pick-layout{gap:16px;display:grid}@media (width>=1000px){.pick-layout{grid-template-columns:minmax(0,1.6fr) minmax(300px,1fr);align-items:start}.side-panel{position:sticky;top:80px}}.list{flex-direction:column;gap:8px;display:flex}.s-card{background:var(--surface);border:1.5px solid var(--border);cursor:pointer;touch-action:manipulation;-webkit-user-select:none;user-select:none;border-radius:12px;align-items:center;gap:12px;padding:10px 12px;display:flex;position:relative}.s-card:hover{border-color:var(--brand-2)}.s-card.selected{border-color:var(--brand-2);background:var(--info-bg)}.s-card.taken{background:var(--surface-2);cursor:default}.s-card.taken:hover{border-color:var(--border)}.s-card.dragging-src{opacity:.4}.s-name{font-weight:700}.s-sub{color:var(--muted);font-size:.84rem}.s-tick{border:2px solid var(--border);color:#0000;border-radius:7px;flex:none;place-items:center;width:24px;height:24px;font-size:.85rem;display:grid}.s-card.selected .s-tick{background:var(--brand-2);border-color:var(--brand-2);color:#fff}.s-add{flex:none}.drag-handle{color:var(--muted);cursor:grab;touch-action:none;flex:none;padding:4px 2px;font-size:1.1rem}.avatar{object-fit:cover;background:var(--surface-2);border-radius:50%;flex:none}.avatar-fallback{color:var(--brand);background:var(--info-bg);place-items:center;font-weight:800;display:inline-grid}.action-bar{bottom:calc(var(--nav-h) + 8px + var(--safe-b));z-index:20;background:var(--brand);color:var(--brand-ink);border-radius:14px;align-items:center;gap:10px;margin-top:12px;padding:10px 12px;display:flex;position:sticky;box-shadow:0 8px 24px #00000040}.action-bar .btn{color:inherit;background:#ffffff29;border-color:#0000}.action-bar .btn-primary{background:var(--accent);color:#1b1b1b}@media (prefers-color-scheme:dark){.action-bar{background:var(--brand-2);color:#0e1424}}@media (width>=760px){.action-bar{bottom:16px}}.drop{border:2px dashed var(--border);border-radius:14px;transition:border-color .12s,background .12s,transform .12s}.drop.over{border-color:var(--brand-2);background:var(--info-bg);transform:scale(1.01)}.drop.can{border-color:var(--brand-2)}.drop-bar{z-index:50;left:12px;right:12px;bottom:calc(var(--nav-h) + 12px + var(--safe-b));text-align:center;background:var(--surface);padding:18px;font-weight:800;animation:.15s rise;position:fixed;box-shadow:0 10px 30px #0000004d}@media (width>=1000px){.drop-bar{display:none}}.drag-overlay{background:var(--brand);color:var(--brand-ink);cursor:grabbing;border-radius:12px;align-items:center;gap:10px;max-width:280px;padding:10px 14px;font-weight:800;display:flex;box-shadow:0 12px 30px #00000059}.drag-overlay .count{background:var(--accent);color:#1b1b1b;border-radius:999px;padding:0 9px}.groups-layout{gap:14px;display:grid}@media (width>=1000px){.groups-layout{grid-template-columns:minmax(0,1.4fr) minmax(320px,1fr);align-items:start}}.group-rail{scroll-snap-type:x proximity;gap:10px;padding:4px 2px 10px;display:flex;overflow-x:auto}@media (width>=1000px){.group-rail{flex-direction:column;max-height:calc(100vh - 100px);position:sticky;top:80px;overflow:visible auto}}.g-card{scroll-snap-align:start;background:var(--surface);text-align:left;font:inherit;color:inherit;cursor:pointer;flex:0 0 210px;padding:12px 14px}@media (width>=1000px){.g-card{flex:none}}.g-card .g-name{font-weight:800}.g-card .g-count{color:var(--muted);font-size:.85rem}.g-card.new{min-height:66px;color:var(--brand-2);background:0 0;border-style:dashed;place-items:center;font-weight:800;display:grid}.g-hint{color:var(--muted);font-size:.8rem}.member{border-bottom:1px solid var(--border);align-items:center;gap:10px;padding:8px 0;display:flex}.member:last-child{border-bottom:0}.role-input{max-width:150px;font-size:.86rem;min-height:34px!important;padding:4px 8px!important}.table-wrap{overflow-x:auto}table.tbl{border-collapse:collapse;width:100%;font-size:.92rem;display:none}@media (width>=900px){table.tbl{display:table}.cards-only{display:none}}.tbl th{text-align:left;color:var(--muted);text-transform:uppercase;letter-spacing:.04em;border-bottom:1px solid var(--border);background:var(--surface);padding:8px 10px;font-size:.78rem}.tbl td{border-bottom:1px solid var(--border);vertical-align:middle;padding:9px 10px}.o-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;flex-direction:column;gap:6px;padding:12px;display:flex}.stepper{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.step{background:var(--surface-2);color:var(--muted);border-radius:999px;padding:4px 11px;font-size:.78rem;font-weight:700}.step.current{background:var(--brand);color:var(--brand-ink)}.step.done{background:var(--ok-bg);color:var(--ok)}.scope-box{border:1px solid var(--border);border-radius:12px;flex-direction:column;gap:6px;max-height:320px;padding:10px;display:flex;overflow-y:auto}.scope-class{border-bottom:1px dashed var(--border);flex-wrap:wrap;align-items:center;gap:8px;padding:6px 4px;display:flex}.scope-class:last-child{border-bottom:0}.chip{border:1.5px solid var(--border);background:var(--surface);min-height:32px;color:var(--text);font:inherit;cursor:pointer;border-radius:999px;align-items:center;padding:0 12px;font-size:.85rem;font-weight:650;display:inline-flex}.chip.on{background:var(--brand-2);border-color:var(--brand-2);color:#fff}.chip:disabled{opacity:.5;cursor:default}.mgr-card .scope-summary{color:var(--muted);font-size:.88rem}.bar{background:var(--surface-2);border-radius:99px;height:8px;overflow:hidden}.bar>i{background:var(--brand-2);height:100%;display:block}.kv{grid-template-columns:auto 1fr;gap:4px 12px;font-size:.9rem;display:grid}.kv dt{color:var(--muted)}.kv dd{margin:0}.pager{justify-content:center;padding:12px;display:flex}@media (width>=1000px){.groups-layout .group-rail{order:2}}.g-card.drop{border-style:solid}.g-card.new.drop{border-style:dashed}.guide-bar{background:var(--surface-2);border-radius:999px;height:6px;margin:10px 0 12px;overflow:hidden}.guide-bar span{background:var(--brand);border-radius:999px;height:100%;transition:width .3s;display:block}.guide-steps{gap:10px;margin:0;padding:0;list-style:none;display:grid}.guide-steps li{opacity:.75;align-items:flex-start;gap:10px;display:flex}.guide-steps li.current{opacity:1;background:var(--surface-2);border-radius:12px;margin:0 -4px;padding:10px}.guide-steps li.done .guide-title{color:var(--muted)}.guide-mark{border:2px solid var(--border,#cbd5e1);color:#fff;border-radius:999px;flex:none;justify-content:center;align-items:center;width:22px;height:22px;margin-top:1px;font-size:.75rem;font-weight:800;display:inline-flex}.guide-steps li.done .guide-mark{background:#2f9e5f;border-color:#2f9e5f}.guide-steps li.current .guide-mark{border-color:var(--brand)}.guide-title{font-weight:650}.help{margin:0 0 12px}.help summary{cursor:pointer;color:var(--muted);padding:4px 2px;font-size:.9rem;font-weight:650}.help ol{gap:4px;margin:6px 0 0;padding-left:20px;display:grid}.link-btn{color:var(--brand);cursor:pointer;background:0 0;border:0;padding:8px 0 0;font-family:inherit;font-size:.88rem;font-weight:650}.tier-badge{letter-spacing:.01em}.flow-steps{gap:6px;margin:0;padding-left:0;list-style:none;display:grid}.flow-steps li{background:var(--surface-2);border-radius:10px;padding:8px 10px}.flow-steps li.done{background:var(--ok-bg)}.pass-card{background:var(--surface);border:1px solid var(--border);border-left:6px solid var(--muted);border-radius:12px;padding:12px 14px}.pass-card.is-revoked{opacity:.75;background:var(--err-bg)}.pass-students{flex-wrap:wrap;gap:6px 14px;margin:6px 0 2px;display:flex}.meter{background:var(--surface-2);border-radius:99px;height:10px;margin:6px 0 2px;overflow:hidden}.meter-fill{border-radius:99px;height:100%;transition:width .4s}.pulse{background:var(--ok);opacity:.35;border-radius:50%;width:8px;height:8px;margin-right:4px;display:inline-block}.pulse.on{opacity:1;animation:1s infinite pulse}.log-list{gap:8px;display:grid}.log-row{background:var(--surface-2);border-left:4px solid var(--border);border-radius:10px;align-items:flex-start;gap:10px;padding:8px 10px;display:flex}.log-row.log-ok{border-left-color:var(--ok)}.log-row.log-err{border-left-color:var(--err);background:var(--err-bg)}.log-row.log-warn{border-left-color:var(--warn);background:var(--warn-bg)}.log-time{font-variant-numeric:tabular-nums;min-width:64px;color:var(--muted);font-size:.82rem;font-weight:700}.log-full>.small{margin:0 0 2px 4px}.gate-root{z-index:70;color:#fff;background:#0b1020;flex-direction:column;display:flex;position:fixed;inset:0}.gate-root.gate-light{background:var(--bg);color:var(--text);overflow:auto}.gate-pad{width:100%;max-width:640px;margin:0 auto;padding:16px}.gate-bar{padding:10px 12px;padding-top:calc(10px + env(safe-area-inset-top,0px));background:#121a33;border-bottom:1px solid #243055;align-items:center;gap:10px;display:flex}.gate-bar .net{white-space:nowrap;font-size:.78rem;font-weight:800}.gate-bar .net.on{color:#5ed08a}.gate-bar .net.off{color:#ffb454}.gate-icon{color:#fff;font-size:1.4rem}.gate-strip{padding:8px 12px;font-size:.86rem}.gate-strip.warn{background:#6b4a00}.gate-strip.info{background:#1d3f7a}.gate-strip.bad{background:#8d1b12}.gate-strip ul{margin:4px 0;padding-left:18px}.gate-cam{background:#000;flex:1;min-height:0;position:relative}.gate-hint{text-align:center;text-shadow:0 1px 4px #000;pointer-events:none;font-size:.9rem;position:absolute;bottom:14px;left:0;right:0}.gate-foot{padding:10px 12px calc(10px + env(safe-area-inset-bottom,0px));background:#121a33}.gate-foot input{min-height:46px}.scanner-view{position:absolute;inset:0}.scanner-video{object-fit:cover;width:100%;height:100%}.scanner-frame{pointer-events:none;width:min(68vw,320px);height:min(68vw,320px);margin:auto;position:absolute;inset:0}.scanner-frame i{border:5px solid #fff;border-radius:6px;width:34px;height:34px;position:absolute}.scanner-frame i:first-child{border-bottom:0;border-right:0;top:0;left:0}.scanner-frame i:nth-child(2){border-bottom:0;border-left:0;top:0;right:0}.scanner-frame i:nth-child(3){border-top:0;border-right:0;bottom:0;left:0}.scanner-frame i:nth-child(4){border-top:0;border-left:0;bottom:0;right:0}.scanner-error{text-align:center;background:#0b1020eb;flex-direction:column;justify-content:center;align-items:center;gap:14px;padding:24px;display:flex;position:absolute;inset:0}.gs{z-index:75;padding:22px 18px calc(22px + env(safe-area-inset-bottom,0px));text-align:center;color:#fff;flex-direction:column;align-items:center;gap:12px;animation:.12s fade;display:flex;position:fixed;inset:0;overflow:auto}.gs-ok{background:#0f7a3a}.gs-bad{background:#b3140a;animation:.12s fade,.5s 2 flash}.gs-warn{background:#a35f00}.gs-info{background:#1d5fbf}@keyframes flash{50%{background:#ff2d1f}}.gs-big{font-size:5.5rem;font-weight:900;line-height:1}.gs-title{letter-spacing:.02em;font-size:2.2rem;font-weight:900;line-height:1.05}.gs-sub{max-width:30rem;font-size:1.1rem}.gs-done{justify-content:center}.gs-head{flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;font-size:1.5rem;font-weight:900;display:flex}.gs-check{color:#0f7a3a;background:#fff;border-radius:50%;place-items:center;width:40px;height:40px;display:inline-grid}.gs-tier{border:2px solid #ffffffb3;border-radius:999px;padding:3px 12px;font-size:.95rem}.gs-box{background:#00000047;border:2px solid #ffffff8c;border-radius:14px;width:100%;max-width:30rem;padding:12px 16px}.gs-box-h{letter-spacing:.08em;text-transform:uppercase;opacity:.9;font-size:.8rem;font-weight:800}.gs-time{font-variant-numeric:tabular-nums;font-size:2.6rem;font-weight:900;line-height:1.1}.gs-note{opacity:.95;max-width:30rem;font-size:.9rem}.gs-holder{text-align:left;background:#ffffff24;border-radius:16px;gap:10px;width:100%;max-width:30rem;padding:14px;display:grid}.gs-holder.dark{background:#00000040}.gs-student{align-items:center;gap:14px;display:flex}.gs-student .avatar{border:3px solid #fff;flex:none}.gs-name{font-size:1.35rem;font-weight:850;line-height:1.15}.gs-sub2{opacity:.92}.gs-parents{border-top:1px solid #ffffff59;padding-top:8px}.gs-meta{gap:10px;width:100%;max-width:30rem;display:flex}.gs-meta>div{background:#00000038;border-radius:12px;flex:1;padding:8px 4px}.gs-meta b{font-size:1.9rem;line-height:1.1;display:block}.gs-meta span{opacity:.9;font-size:.78rem}.gs-stepper{gap:6px;width:100%;max-width:30rem;display:grid}.gs-n{font-variant-numeric:tabular-nums;min-width:1.4em;font-size:3rem;font-weight:900}.gs-step{color:#fff;cursor:pointer;background:0 0;border:3px solid #fff;border-radius:50%;width:64px;height:64px;font-size:2.2rem;font-weight:800}.gs-actions{flex-direction:column;gap:10px;width:100%;max-width:30rem;display:flex}.gs-btn{color:#0b1020;width:100%;max-width:30rem;min-height:64px;font:inherit;cursor:pointer;background:#fff;border:0;border-radius:16px;font-size:1.35rem;font-weight:900}.gs-btn:disabled{opacity:.5}.gs-btn-alt{background:#ffe08a}.gs-btn-ghost{color:#fff;background:0 0;border:2px solid #fffc;min-height:52px;font-size:1.05rem}.gate-menu-backdrop{z-index:78;background:#0000008c;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.gate-menu{background:var(--surface);color:var(--text);border-radius:18px 18px 0 0;width:100%;max-width:480px;max-height:90vh;padding:18px;overflow:auto}.desk-search{min-height:52px;font-size:1.1rem}
