/* CHOUAL V40 auth surface: scoped to the existing account form.
   Preserves the V40 monogram, typography and auth behaviour; no beta redesign. */
.choual-own-auth {
  --auth-panel:#111110;--auth-raised:#1c1b19;--auth-edge:#494037;
  --auth-ink:#f6f1e9;--auth-muted:#c9bfb1;--auth-accent:#e9d0a0;
  --auth-on-accent:#15110c;
  min-height:100vh;min-height:100dvh;display:grid;place-items:center;
  padding:max(22px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right))
          max(22px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));
  background:radial-gradient(ellipse at 50% -18%,#c3a26620,transparent 55%),#050505;
  color:var(--auth-ink);
}
.choual-own-auth .beta-auth-card {
  width:min(500px,100%);margin:0;padding:clamp(22px,5vw,38px);
  border:1px solid var(--auth-edge);border-radius:16px;
  background:linear-gradient(145deg,var(--auth-panel),#0a0a0a);
  color:var(--auth-ink);box-shadow:0 24px 65px #0008;
}
.choual-own-auth .brand-mark {display:flex;justify-content:center;align-items:center;gap:12px;margin:0 0 24px;padding:0 0 20px;border-bottom:1px solid var(--auth-edge)}
.choual-own-auth .brand-mark svg {color:var(--auth-accent);width:48px;height:48px;flex-shrink:0}
.choual-own-auth .brand-mark strong {display:block;color:var(--auth-ink);font-size:20px;letter-spacing:.22em;line-height:1.2}
.choual-own-auth .brand-mark span {display:block;color:var(--auth-muted);font-size:10px;letter-spacing:.12em;margin-top:5px}
.choual-own-auth .beta-pill {color:var(--auth-accent);border-color:var(--auth-edge);background:var(--auth-raised)}
.choual-own-auth h1 {color:var(--auth-ink);font-size:clamp(28px,7vw,38px);line-height:1.12;letter-spacing:-.035em;margin:18px 0 8px}
.choual-own-auth #auth-copy {color:var(--auth-muted);line-height:1.55;margin:0 0 23px}
.choual-own-auth form {display:grid;gap:16px}
.choual-own-auth label {display:grid;gap:8px;color:var(--auth-ink);font-size:13px;font-weight:700}
.choual-own-auth input {
  display:block;width:100%;min-width:0;min-height:48px;padding:12px 14px;
  background:var(--auth-raised);border:1px solid var(--auth-edge);border-radius:9px;
  color:var(--auth-ink);font-size:16px;caret-color:var(--auth-accent);
}
.choual-own-auth input:focus-visible,.choual-own-auth button:focus-visible,.choual-own-auth a:focus-visible {
  outline:3px solid var(--auth-accent);outline-offset:3px;
}
.choual-own-auth #submit {
  display:block;width:100%;min-height:49px;margin-top:4px;
  border:1px solid var(--auth-accent);border-radius:9px;
  background:var(--auth-accent);color:var(--auth-on-accent);
  font-size:14px;font-weight:800;cursor:pointer;
}
.choual-own-auth #submit:disabled {opacity:.6;cursor:wait}
.choual-own-auth .auth-switch {display:flex;gap:11px 20px;margin-top:20px;justify-content:center;align-items:center;flex-wrap:wrap}
.choual-own-auth .auth-switch button {
  min-height:44px;padding:7px 3px;border:0;background:transparent;
  color:var(--auth-accent);text-decoration:underline;text-underline-offset:3px;cursor:pointer;font-size:13px;
}
.choual-own-auth .auth-switch #resend-verification {border:1px solid var(--auth-edge);border-radius:8px;padding:9px 14px;text-decoration:none}
.choual-own-auth .auth-note {color:var(--auth-muted);text-align:center;line-height:1.5;font-size:12px;margin:17px 0 0}
.choual-own-auth .auth-terms {color:var(--auth-muted);font-size:12px;line-height:1.6;margin:13px 0 0;text-align:center}
.choual-own-auth .auth-terms a {color:var(--auth-accent);text-underline-offset:3px}
.choual-own-auth [hidden] {display:none!important}
.choual-own-auth #message {padding:12px;border-radius:9px;font-size:13px;line-height:1.5}
.choual-own-auth #message.form-error {color:#ffd5cb;background:#582f29;border:1px solid #ac6a5d}
.choual-own-auth #message.form-success {color:#ddf4e4;background:#1c4530;border:1px solid #629e7c}
html[data-choual-site-theme="light"] .choual-own-auth {
  --auth-panel:#fff;--auth-raised:#edf2f5;--auth-edge:#9baeb8;
  --auth-ink:#192b37;--auth-muted:#405666;--auth-accent:#805719;--auth-on-accent:#fff;
  background:#f3f5f7;
}
html[data-choual-site-theme="light"] .choual-own-auth .beta-auth-card {background:#fff;box-shadow:0 24px 55px #26364320}
html[data-choual-site-theme="slate"] .choual-own-auth {
  --auth-panel:#304853;--auth-raised:#253c48;--auth-edge:#90abb8;
  --auth-ink:#f5fbfd;--auth-muted:#d8e8ed;--auth-accent:#baf7e7;--auth-on-accent:#102c34;
  background:radial-gradient(ellipse at 50% -20%,#9acdc728,transparent 52%),#152832;
}
html[data-choual-site-theme="slate"] .choual-own-auth .beta-auth-card {background:#304853}
html[data-choual-site-theme="contrast"] .choual-own-auth {
  --auth-panel:#151b20;--auth-raised:#263037;--auth-edge:#afc1ce;
  --auth-ink:#fff;--auth-muted:#e1eaf0;--auth-accent:#ffe27f;--auth-on-accent:#191501;
  background:#10151a;
}
html[data-choual-site-theme="contrast"] .choual-own-auth .beta-auth-card {background:#151b20}
@media(max-width:480px) {
 .choual-own-auth {place-items:start center;padding-top:max(22px,env(safe-area-inset-top))}
 .choual-own-auth .beta-auth-card {padding:23px 18px;border-radius:14px}
 .choual-own-auth h1 {font-size:30px}
 .choual-own-auth .auth-switch {gap:8px 16px}
}
