/* Account access screens and dashboard account controls. No external assets. */
.auth-page {
  --auth-ink:#1f2c2a;
  --auth-muted:#66756f;
  --auth-border:#dfe6e1;
  --auth-accent:#28744e;
  margin:0;
  background:#f6f8f5;
  color:var(--auth-ink);
  font-family:Inter,"Segoe UI",Arial,sans-serif;
  font-size:14px;
  line-height:1.5;
  min-height:100vh;
}
.auth-page * { box-sizing:border-box; }
.auth-page [hidden] { display:none !important; }
.auth-page button,.auth-page input { font:inherit; }
.auth-layout { width:min(100% - 40px,460px); margin:0 auto; padding:52px 0 28px; }
.auth-brand { display:flex; align-items:center; justify-content:center; gap:12px; margin-bottom:30px; font-size:28px; font-weight:700; letter-spacing:-1px; line-height:1.1; }
.auth-brand-light { font-weight:400; }
.auth-brand small { display:block; margin-top:8px; font-size:9px; font-weight:600; letter-spacing:1.4px; }
.auth-brand-mark { display:flex; align-items:center; justify-content:center; width:44px; height:44px; border-radius:12px; color:#c1e8c7; background:#152724; font-size:23px; font-weight:650; }
.auth-card { background:#fff; border:1px solid var(--auth-border); border-radius:16px; padding:32px; box-shadow:0 8px 28px #172f2110; }
.auth-heading { margin-bottom:26px; }
.auth-eyebrow { margin:0 0 9px; color:var(--auth-muted); font-size:10px; letter-spacing:1.3px; font-weight:650; }
.auth-page h1 { margin:0 0 10px; font-size:28px; line-height:1.2; letter-spacing:-.7px; }
.auth-heading > p:last-child { margin:0; color:var(--auth-muted); }
.auth-field { display:flex; flex-direction:column; gap:8px; margin:0 0 20px; font-weight:600; font-size:13px; }
.auth-field input { min-width:0; width:100%; border:1px solid #cbd6ce; border-radius:8px; padding:11px 12px; min-height:45px; color:var(--auth-ink); background:#fff; font-size:16px; font-weight:400; }
.auth-field input:focus { border-color:var(--auth-accent); outline:3px solid #28744e20; }
.auth-code { font-variant-numeric:tabular-nums; letter-spacing:2px; }
.auth-button { display:flex; justify-content:center; align-items:center; width:100%; min-height:44px; padding:11px 16px; border:1px solid transparent; border-radius:8px; text-decoration:none; font-size:14px; line-height:1.5; font-weight:600; cursor:pointer; }
.auth-primary { background:var(--auth-accent); color:#fff; }
.auth-primary:hover { background:#205f40; }
.auth-secondary { background:#f5f8f4; border-color:var(--auth-border); color:var(--auth-ink); }
.auth-text-button { display:block; margin:18px auto 0; padding:3px; border:0; color:var(--auth-accent); background:none; text-decoration:underline; text-underline-offset:3px; font-size:13px; cursor:pointer; }
.auth-page button:disabled,.auth-page input:disabled { opacity:.6; cursor:wait; }
.auth-page :focus-visible { outline:3px solid #63a983; outline-offset:3px; }
.auth-error { padding:12px; margin:0 0 20px; border:1px solid #e3bcb6; border-radius:8px; color:#85382e; background:#fff5f2; overflow-wrap:anywhere; }
.auth-loading { color:var(--auth-muted); }
.auth-instructions { margin:0 0 20px; padding-left:20px; }
.auth-instructions li { margin-bottom:8px; }
.auth-qr { margin:18px auto; width:224px; padding:8px; border:1px solid var(--auth-border); border-radius:8px; background:#fff; }
.auth-qr img { display:block; width:208px; height:208px; }
.auth-setup-key { display:flex; flex-direction:column; gap:7px; margin:20px 0; padding:14px; background:#f4f7f3; border-radius:8px; }
.auth-setup-key > span { color:var(--auth-muted); font-size:12px; }
.auth-setup-key code { overflow-wrap:anywhere; letter-spacing:1px; font-size:14px; user-select:all; }
.auth-setup-key small { color:var(--auth-muted); overflow-wrap:anywhere; }
.auth-account-note { margin:0 0 20px; color:var(--auth-muted); overflow-wrap:anywhere; }
.auth-field-help { margin:-10px 0 22px; color:var(--auth-muted); font-size:12px; }
.auth-recovery-note { margin:0 0 14px; }
.auth-recovery-warning { color:#7c571a; font-weight:600; }
.auth-recovery-codes { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin:20px 0; padding:14px; list-style:none; background:#f4f7f3; border:1px solid var(--auth-border); border-radius:8px; }
.auth-recovery-codes code { font-size:12px; overflow-wrap:anywhere; user-select:all; }
.auth-copy-status { min-height:18px; margin:8px 0 14px; color:var(--auth-muted); font-size:12px; }
.auth-footer { text-align:center; font-size:11px; color:var(--auth-muted); margin:24px 0 0; }
.auth-account { display:flex; align-items:center; gap:12px; min-width:0; }
.auth-account-email { max-width:200px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; font-size:12px; color:#596b62; }
.auth-signout { flex-shrink:0; border:1px solid #dce4dd; border-radius:7px; padding:6px 10px; background:#fff; color:#355d46; font:inherit; font-size:12px; cursor:pointer; }
.auth-signout:disabled { opacity:.5; cursor:wait; }
.auth-signout:focus-visible { outline:3px solid #63a983; outline-offset:3px; }
@media (max-width:900px) { .auth-account-email { max-width:140px; } }
@media (max-width:640px) { .auth-account-email { display:none; } }
@media (max-width:480px) { .auth-layout { width:calc(100% - 28px); padding-top:28px; } .auth-card { padding:25px 22px; } .auth-recovery-codes { grid-template-columns:1fr; } }
