:root{--bg:#f4f5f7;--surface:#fff;--text:#1b2130;--muted:#667085;--border:#e2e5ea;--accent:#2f5bea;--accent-text:#fff;--ok:#157f3b;--ok-bg:#dcfae6;--warn:#b54708;--warn-bg:#fef0c7;--bad:#b42318;--bad-bg:#fee4e2;--danger:#c4320a;--risk-low:#98a2b3;--risk-medium:#dc8a0b;--risk-high:#d92d20;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:var(--text);font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}@media (prefers-color-scheme:dark){:root{--bg:#12151c;--surface:#1a1f29;--text:#e6e9ef;--muted:#98a2b3;--border:#2b3240;--accent:#6d8bff;--accent-text:#0d1222;--ok:#6ce9a6;--ok-bg:#0f3d25;--warn:#fdb022;--warn-bg:#4a2c06;--bad:#fda29b;--bad-bg:#4a1410;--danger:#b42318;--risk-low:#667085;--risk-medium:#f5a524;--risk-high:#f97066;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}*{box-sizing:border-box}body{background:var(--bg);margin:0;line-height:1.45}h1,h2,h3{margin:0 0 .4rem;line-height:1.25}h1{font-size:1.5rem}h2{font-size:1.1rem}h3{margin-top:1rem;font-size:.95rem}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}.muted{color:var(--muted)}.small{font-size:.85rem}.error{color:var(--bad)}.ok{color:var(--ok)}.center{text-align:center;margin-top:20vh}.grow{flex:1;min-width:0}.row{align-items:center;gap:.5rem;display:flex}.card{background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:1rem}.empty{color:var(--muted);text-align:center}button{font:inherit;background:var(--accent);color:var(--accent-text);cursor:pointer;border:1px solid #0000;border-radius:6px;padding:.45rem .9rem}button:disabled{opacity:.5;cursor:not-allowed}button.ghost{color:var(--text);border-color:var(--border);background:0 0}button.danger{background:var(--danger);color:#fff}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:2px}input,textarea,select{font:inherit;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:6px;padding:.4rem .5rem}label{margin:.5rem 0;display:block}label>input,label>textarea{width:100%;margin-top:.25rem;display:block}.appbar{background:var(--surface);border-bottom:1px solid var(--border);align-items:center;gap:.75rem;padding:.6rem 1rem;display:flex}.brand{color:var(--text);font-weight:700}.spacer{flex:1}.page{max-width:1400px;margin:0 auto;padding:1.25rem 1rem}.narrow-page{max-width:760px}.login{place-items:center;min-height:100vh;padding:1rem;display:grid}.login form{width:100%;max-width:380px}.login button[type=submit]{width:100%;margin-top:.5rem}.exam-list{gap:.6rem;padding:0;list-style:none;display:grid}.exam-item{color:var(--text);flex-direction:column;gap:.2rem;display:flex}.exam-item:hover{border-color:var(--accent);text-decoration:none}.pill{background:var(--border);white-space:nowrap;border-radius:999px;padding:.15rem .65rem;font-size:.8rem}.pill.ok{background:var(--ok-bg);color:var(--ok)}.pill.warn{background:var(--warn-bg);color:var(--warn)}.live-head{align-items:flex-end;gap:1rem;margin-bottom:1rem;display:flex}.stats{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:.75rem;margin-bottom:1rem;display:grid}.stat{flex-direction:column;display:flex}.stat strong{font-variant-numeric:tabular-nums;font-size:1.6rem}.toolbar{flex-wrap:wrap;gap:1rem;margin-bottom:.75rem;display:flex}.toolbar label{margin:0}.live-body{grid-template-columns:minmax(0,1fr) 340px;align-items:start;gap:1rem;display:grid}.live-body.with-drawer{grid-template-columns:minmax(0,1fr) 420px}@media (width<=900px){.live-body,.live-body.with-drawer{grid-template-columns:1fr}}.grid{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:.75rem;display:grid}.session-card{text-align:left;background:var(--surface);color:var(--text);border:1px solid var(--border);border-left:4px solid var(--risk-low);border-radius:10px;flex-direction:column;gap:.3rem;padding:.75rem;display:flex}.session-card:hover{border-color:var(--accent);border-left-color:inherit}.session-card.risk-medium{border-left-color:var(--risk-medium)}.session-card.risk-high{border-left-color:var(--risk-high)}.session-card.selected{outline:2px solid var(--accent)}.session-card.closed{opacity:.65}.session-card .name{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.session-card .score{font-variant-numeric:tabular-nums;font-weight:700}.session-card.risk-medium .score{color:var(--risk-medium)}.session-card.risk-high .score{color:var(--risk-high)}.session-card .last{min-height:1.3em}.badge{text-align:center;background:var(--bad-bg);min-width:1.4em;color:var(--bad);border-radius:999px;padding:0 .35em;font-weight:600;display:inline-block}.dot{background:var(--risk-low);border-radius:50%;flex:none;width:9px;height:9px}.dot.online{background:var(--ok)}.dot.offline{background:var(--warn)}.feed ul,.timeline{max-height:70vh;margin:0;padding:0;list-style:none;overflow:auto}.feed li{border-bottom:1px solid var(--border)}button.alert{text-align:left;border:0;border-radius:0;gap:.6rem;width:100%;padding:.45rem .2rem;font-size:.88rem;display:flex}.feed li.sev-high{box-shadow:inset 3px 0 0 var(--risk-high)}.feed li.sev-medium{box-shadow:inset 3px 0 0 var(--risk-medium)}.time{color:var(--muted);font-variant-numeric:tabular-nums;flex:none}.drawer .actions{flex-wrap:wrap;gap:.5rem;margin:.5rem 0;display:flex}.actions.end{justify-content:flex-end;margin-top:1rem}.risk-pill{background:var(--border);border-radius:999px;padding:.15rem .6rem;font-size:.85rem;display:inline-block}.risk-pill.risk-medium{background:var(--warn-bg);color:var(--warn)}.risk-pill.risk-high{background:var(--bad-bg);color:var(--bad)}.timeline{max-height:50vh;padding-right:.75rem}.timeline li{border-bottom:1px solid var(--border);padding:.35rem 0;font-size:.88rem}.tl-row{align-items:center;gap:.6rem;display:flex}button.tiny{padding:.05rem .5rem;font-size:.75rem}img.evidence{border-radius:6px;width:100%;max-width:320px;margin:.4rem 0 .2rem;display:block}.identity{object-fit:cover;background:var(--border);border-radius:50%;flex:none;width:48px;height:48px}.img-placeholder{background:var(--border);border-radius:6px;display:inline-block}.img-placeholder.evidence{aspect-ratio:4/3;width:320px;max-width:100%}.timeline li.sev-info{color:var(--muted)}.timeline .sev{color:var(--muted);font-size:.75rem}.timeline li.sev-high .sev{color:var(--risk-high)}.review{flex-direction:column;gap:1rem;display:flex}.review-head{align-items:center;gap:1rem;display:flex}.identity.lg{width:72px;height:72px}.players{grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:1rem;display:grid}.player{background:var(--surface);border:1px solid var(--border);border-radius:10px;margin:0;padding:.75rem}.player figcaption{margin-bottom:.5rem;font-weight:600}.player video{aspect-ratio:16/10;background:#000;border-radius:6px;width:100%}.player.empty{flex-direction:column;justify-content:center;min-height:120px;display:flex}.timeline.wide{max-height:none}button.time-btn{font-variant-numeric:tabular-nums;flex:none}.live-panel{border-top:1px solid var(--border);border-bottom:1px solid var(--border);margin:.5rem 0;padding:.5rem 0}.live-panel h3{margin:0}.live-videos{gap:.5rem;margin-top:.5rem;display:grid}.live-video{margin:0}.live-video figcaption{color:var(--muted);margin-bottom:.2rem;font-size:.8rem}.live-video video{aspect-ratio:16/10;background:#000;border-radius:6px;width:100%}.settings label>input{max-width:520px}.settings h2{margin-top:1rem}.settings h2:first-child{margin-top:0}.secret-box{border:1px solid var(--warn);background:var(--warn-bg);border-radius:10px;margin-top:1rem;padding:1rem}.secret-box code{background:var(--surface);word-break:break-all;border-radius:6px;margin:.5rem 0;padding:.5rem;display:block}.secret-box .actions{gap:.5rem;display:flex}.modal{border:1px solid var(--border);background:var(--surface);width:min(480px,100vw - 2rem);color:var(--text);border-radius:12px;padding:1.25rem}.modal::backdrop{background:#00000073}.presets{flex-wrap:wrap;gap:.4rem;display:flex}
