* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; align-items: center; justify-content: center;
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #0f172a;
  background: linear-gradient(160deg, #e0f2fe, #f8fafc 60%); padding: 16px; }
.box { width: 100%; max-width: 400px; background: #fff; border-radius: 18px; padding: 26px 22px;
  box-shadow: 0 10px 40px rgba(15, 23, 42, .12); }
h1 { margin: 0 0 6px; font-size: 22px; } h2 { margin: 6px 0; font-size: 19px; text-align: center; }
.muted { color: #64748b; font-size: 14px; margin: 0 0 16px; }
label { display: block; font-size: 13px; color: #475569; margin: 12px 0 6px; font-weight: 600; }
input[type=tel], input[type=text], input[type=email] { width: 100%; font-size: 18px; padding: 12px; border: 1.5px solid #cbd5e1; border-radius: 10px; outline: none; }
input:focus { border-color: #0ea5e9; }
.phone { display: flex; align-items: stretch; }
.phone span { padding: 12px 10px; background: #f1f5f9; border: 1.5px solid #cbd5e1; border-right: 0; border-radius: 10px 0 0 10px; font-size: 18px; color: #475569; }
.phone input { border-radius: 0 10px 10px 0; }
.code { letter-spacing: .4em; text-align: center; font-size: 26px !important; }
.channels { display: flex; gap: 8px; margin: 14px 0 4px; }
.channels label { flex: 1; margin: 0; display: flex; gap: 6px; align-items: center; justify-content: center; border: 1.5px solid #cbd5e1; border-radius: 10px; padding: 10px; cursor: pointer; font-weight: 500; color: #0f172a; }
.channels input { display: none; }
.channels label.on { border-color: #0ea5e9; background: #f0f9ff; }
.consent { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; color: #334155; margin-top: 14px; }
.consent input { margin-top: 4px; width: 18px; height: 18px; }
details { font-size: 13px; color: #475569; margin: 8px 0 4px; }
details p { white-space: pre-wrap; }
button { width: 100%; font: inherit; border: 0; border-radius: 10px; padding: 13px; margin-top: 14px; cursor: pointer; }
button.primary { background: #0284c7; color: #fff; font-weight: 600; }
button.primary:disabled { background: #94a3b8; }
button.link { background: none; color: #0284c7; padding: 6px; margin-top: 6px; }
button.link:disabled { color: #94a3b8; }
.err { color: #dc2626; min-height: 1.2em; font-size: 14px; margin: 12px 0 0; }
.ok { width: 64px; height: 64px; border-radius: 50%; background: #dcfce7; color: #16a34a; font-size: 36px; display: flex; align-items: center; justify-content: center; margin: 0 auto; }
