:root { color-scheme: dark; --bg: #110e13; --panel: #20171e; --text: #fff0f3; --muted: #cbb5be; --accent: #ff6b7a; --line: #57333f; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 system-ui, sans-serif; }
header, main, footer { max-width: 1100px; margin: auto; padding: 24px; }
header { display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
a { color: var(--accent); }
.brand { font-weight: 750; text-decoration: none; }
h1 { font-size: clamp(2rem, 5vw, 3.7rem); line-height: 1.1; letter-spacing: -.04em; margin: 16px 0; }
h2, h3 { line-height: 1.3; }
p, small, footer { color: var(--muted); }
.eyebrow { color: var(--accent); letter-spacing: .18em; font-size: .75rem; font-weight: 700; margin-top: 36px; }
.panel, .card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 24px; margin: 16px 0; }
form.panel { max-width: 580px; }
nav, .row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
label { display: block; margin: 16px 0; }
input, textarea, button { font: inherit; border: 1px solid var(--line); border-radius: 6px; }
input, textarea { display: block; width: 100%; padding: 10px 12px; color: var(--text); background: var(--bg); }
button { cursor: pointer; background: var(--accent); color: #27060e; padding: 10px 16px; font-weight: 650; }
button:disabled { opacity: .6; cursor: wait; }
button:focus-visible, input:focus-visible, textarea:focus-visible, a:focus-visible { outline: 3px solid #f7c36e; outline-offset: 3px; }
.check { display: flex; gap: 12px; align-items: center; }
.check input { width: auto; }
#message:not(:empty), .notice { padding: 16px; border-left: 3px solid var(--accent); background: #301821; }
.invite-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 10px; border-bottom: 1px solid var(--line); font-size: .85rem; }
.invite-row button { padding: 4px 10px; }
.recording-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,310px),1fr)); gap: 16px; }
.recording-grid .card { margin: 0; }
.recording-name { overflow-wrap: anywhere; }
.recording-player { width: 100%; max-height: 65vh; background: #000; }
.reason { white-space: pre-wrap; overflow-wrap: anywhere; }
[hidden] { display: none !important; }
.video-stage { position: relative; aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.video-stage video { width: 100%; height: 100%; display: block; }
.video-stage video.standby { position: absolute; width: 2px; height: 2px; opacity: 0; pointer-events: none; }
select { font: inherit; background: var(--panel); color: var(--text); padding: 10px; border: 1px solid var(--line); border-radius: 6px; max-width: 100%; }
@media (max-width: 600px) { header, main, footer { padding: 18px; } .panel, .card { padding: 18px; } nav button { flex: 1 1 40%; } }

.telemetry-layout { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,300px),1fr)); gap: 24px; }
#telemetry-fields { margin: 0; }
#telemetry-fields dt { color: var(--muted); font-size: .85rem; }
#telemetry-fields dd { margin: 0 0 12px; overflow-wrap: anywhere; }
#telemetry-map { width: 100%; min-height: 260px; background: var(--bg); border-radius: 8px; }
#telemetry-actions .row { margin-top: 12px; }

