/* Signed-out pages (sign in, two-step code, password reset): a calm, centred card — neumorphic soft depth blended
   with subtle glass, following the saved standard and the Apple-inspired master prompt. */
.auth{min-height:100vh;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);background:var(--bg)}
.auth-art{position:relative;overflow:hidden;background:radial-gradient(800px 500px at 20% 10%,rgba(217,164,65,.25),transparent 60%),
  radial-gradient(700px 600px at 90% 90%,rgba(37,87,214,.35),transparent 60%),linear-gradient(160deg,#0e1730,#16244a);color:#fff;
  display:flex;flex-direction:column;justify-content:space-between;padding:48px}
.auth-art .brand{padding:0}
.auth-art h2{color:#fff;font-size:34px;letter-spacing:-.025em;max-width:460px;line-height:1.15}
.auth-art p{color:#c8d2e6;max-width:440px;margin-top:14px;font-size:16px}
.auth-points{list-style:none;padding:0;margin:28px 0 0;display:grid;gap:12px;color:#dbe3f2}
.auth-points li{display:flex;gap:10px;align-items:center}
.auth-points .icon{color:var(--brand-gold)}
.auth-art small{color:#8f9cb7}
.auth-panel{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 24px;position:relative}
.auth-tools{position:absolute;top:18px;right:18px;display:flex;gap:8px}
.auth-card{width:min(420px,100%);padding:36px 34px;border-radius:28px;background:var(--surface-solid);
  box-shadow:14px 14px 32px rgba(16,24,40,.08),-10px -10px 26px rgba(255,255,255,.85),inset 0 1px 0 rgba(255,255,255,.7);border:1px solid var(--border)}
html[data-theme=dark] .auth-card{box-shadow:14px 14px 32px rgba(0,0,0,.45),-8px -8px 22px rgba(255,255,255,.025),inset 0 1px 0 rgba(255,255,255,.05)}
.auth-card h1{font-size:26px;margin:6px 0 6px}
.auth-card .sub{color:var(--text-3);margin-bottom:24px}
.auth-card .field{background:var(--surface-2);border-color:transparent;box-shadow:inset 3px 3px 7px rgba(16,24,40,.06),inset -3px -3px 7px rgba(255,255,255,.8)}
html[data-theme=dark] .auth-card .field{box-shadow:inset 3px 3px 8px rgba(0,0,0,.4),inset -2px -2px 6px rgba(255,255,255,.03)}
.auth-card .field:focus{background:var(--surface-solid);border-color:var(--accent);box-shadow:0 0 0 4px var(--accent-soft)}
.auth-card .stack>*+*{margin-top:16px}
.auth-card .btn-primary{width:100%;min-height:48px;font-size:var(--fs-md);border-radius:14px;box-shadow:0 8px 20px color-mix(in srgb,var(--accent) 30%,transparent)}
.auth-mark{width:52px;height:52px;border-radius:16px;font-size:24px}
.auth-links{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:18px;font-size:var(--fs-sm)}
.auth-foot{margin-top:22px;text-align:center;color:var(--text-3);font-size:var(--fs-xs);display:flex;align-items:center;justify-content:center;gap:6px}
.auth-mobile-brand{display:none}
@media (max-width:900px){
  .auth{grid-template-columns:minmax(0,1fr)}
  .auth-art{display:none}
  .auth-mobile-brand{display:flex;margin-bottom:24px}
  .auth-mobile-brand .brand-text strong{color:var(--text)}
  .auth-mobile-brand .brand-text small{color:var(--text-3)}
  .auth-panel{justify-content:flex-start;padding:72px 16px 32px}
  .auth-card{padding:28px 22px;border-radius:24px}
}
