:root { color-scheme: dark; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: #101214; color: #f4f5f6; }
* { box-sizing: border-box; }
body { margin: 0; background: #101214; }
button, input { font: inherit; }
button { min-height: 40px; border: 0; border-radius: 6px; padding: 0 16px; background: #e5ff45; color: #111; font-weight: 700; cursor: pointer; }
button.secondary { background: #2b2f33; color: #f4f5f6; }
button.danger { width: 100%; background: #3b2427; color: #ffb4bb; border: 1px solid #68363d; }
.muted { color: #9ca3a9; }
.topbar { height: 64px; border-bottom: 1px solid #2a2e31; display: flex; align-items: center; justify-content: space-between; padding: 0 28px; }
.topbar > div { display: flex; align-items: center; gap: 10px; }
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #b9df28; }
.workspace { max-width: 1440px; margin: 0 auto; padding: 28px; }
.stream-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; }
.viewer { position: relative; min-height: 520px; background: #050607; border: 1px solid #24282b; overflow: hidden; }
.viewer iframe { width: 100%; height: 100%; min-height: 520px; border: 0; display: block; }
.viewer-status { position: absolute; left: 16px; top: 16px; background: rgba(9,10,11,.82); border: 1px solid #33383c; padding: 8px 10px; font-size: 13px; }
.viewer-status .status-dot { margin-right: 8px; }
.provision { border-left: 1px solid #2a2e31; padding-left: 28px; }
.provision h1 { font-size: 26px; margin: 4px 0 10px; letter-spacing: 0; }
.eyebrow { color: #e5ff45; font-size: 12px; font-weight: 800; margin: 0; }
.qr { display: block; width: 100%; height: auto; margin: 22px 0; background: white; }
dl { border-top: 1px solid #2a2e31; margin: 0 0 22px; }
dt { color: #8f969c; font-size: 12px; margin-top: 14px; }
dd { margin: 4px 0 0; overflow-wrap: anywhere; font-family: ui-monospace, monospace; font-size: 13px; }
.login-body { min-height: 100vh; display: grid; place-items: center; background: #0b0d0e; }
.login-panel { width: min(380px, calc(100vw - 40px)); padding: 34px; border: 1px solid #303438; background: #15181a; border-radius: 8px; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; background: #e5ff45; color: #111; font-weight: 900; }
.login-panel h1 { margin: 20px 0 4px; font-size: 25px; letter-spacing: 0; }
.login-panel > p { margin: 0 0 24px; }
.login-form { display: grid; gap: 16px; }
.login-form label { display: grid; gap: 7px; color: #c2c7ca; font-size: 13px; }
.login-form input { height: 44px; background: #0e1011; color: white; border: 1px solid #393e42; border-radius: 5px; padding: 0 12px; }
.alert { background: #3b2427; color: #ffb4bb; border: 1px solid #68363d; padding: 10px; margin-bottom: 16px; font-size: 13px; }
@media (max-width: 820px) { .workspace { padding: 16px; } .stream-layout { grid-template-columns: 1fr; } .viewer, .viewer iframe { min-height: 260px; } .provision { border-left: 0; border-top: 1px solid #2a2e31; padding: 22px 0 0; } .qr { max-width: 360px; } }
