:root { color-scheme: dark; }
* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: #0b0b0c; color: #f5f5f5; }
button, input, select { font: inherit; }
.wrap { max-width: 880px; margin: 0 auto; padding: 32px 20px 64px; }
h1 { font-size: 28px; margin: 0; }
.muted { color: #a3a3a3; }
.code { font-size: 40px; letter-spacing: 0.18em; font-weight: 700; margin: 8px 0; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.stack { display: flex; flex-direction: column; gap: 10px; }
label { display: block; color: #a3a3a3; font-size: 14px; margin-bottom: 6px; }
input, select { width: 100%; background: #171717; color: white; border: 1px solid #333; border-radius: 12px; padding: 12px 14px; }
button { border: 0; border-radius: 999px; padding: 12px 18px; background: #262626; color: white; cursor: pointer; }
button.primary { background: white; color: black; font-weight: 700; }
button.record { background: #dc2626; color: white; font-weight: 700; }
button:disabled { opacity: 0.4; cursor: default; }
.card { border: 1px solid #2a2a2a; border-radius: 16px; padding: 14px 16px; margin-top: 10px; }
.card.selected { border-color: white; }
.card button.link { background: transparent; padding: 0; text-align: left; width: 100%; }
.error { color: #f87171; }
.ok { color: #4ade80; }
a { color: #93c5fd; }
.phone { min-height: 100vh; }
.phone main { min-height: 100vh; display: flex; flex-direction: column; padding: env(safe-area-inset-top) 16px env(safe-area-inset-bottom); }
.stage { margin: 12px auto 0; background: #000; max-width: 100%; max-height: 70vh; display: flex; align-items: center; justify-content: center; }
.stage video { width: 100%; height: 100%; object-fit: contain; background: #000; display: block; }
.full { width: 100%; }
