/* Sign-in, activation, two-step verification and password confirmation follow the public site:
   off-white ground, one cream card, solid colours only (no shadow, gradient or blur).
   Error and maintenance pages reuse the same column. The account security panels are shown
   inside the client space and the admin, on the application surfaces. */
.auth-shell .portal-main, .status-page .portal-main { max-width: 560px; min-height: 0; padding: clamp(32px, 6vw, 72px) max(21px, env(safe-area-inset-right)) clamp(48px, 8vw, 96px) max(21px, env(safe-area-inset-left)); }
.auth-card { padding: 36px; border-radius: var(--rtz-radius); background: var(--rtz-cream); }
.auth-card h1 { margin-bottom: 14px; font-size: var(--rtz-fs-title); line-height: 1.08; }
.auth-card > p { color: var(--muted); }
.auth-card > .stack { margin-top: 28px; }
.auth-card .stack > .button { justify-self: stretch; }
.auth-card input[readonly] { background: var(--rtz-offwhite); border-color: var(--rtz-line); color: var(--muted); }
.auth-support { display: grid; gap: 10px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--rtz-line); font-size: var(--rtz-fs-small); color: var(--muted); }
.auth-support a { color: var(--ink); font-weight: 600; }

/* Error and maintenance pages: a calm column, the message and one way forward. */
.status-page .portal-main { max-width: 760px; }
.status-page h1 { margin-bottom: 18px; }
.status-page .portal-main > p { max-width: 34ch; margin-bottom: 30px; font-size: var(--rtz-fs-lead); color: var(--muted); }

/* Account security (client space and admin). */
.account-security { max-width: 720px; }
.account-security .page-heading { gap: 8px; margin-bottom: 28px; }
.account-security .security-panel { max-width: none; margin-block: 0 24px; padding: 24px; border: 1px solid var(--app-line, var(--rtz-line)); border-radius: var(--rtz-radius); background: var(--app-surface, var(--rtz-cream)); }
.account-security .security-panel h2 { margin: 0 0 10px; font-size: 1.2rem; line-height: 1.3; }
.account-security .security-panel > p { max-width: 62ch; margin: 0 0 22px; font-size: .9rem; line-height: 1.6; color: var(--muted); }
.account-security .security-panel > .stack { max-width: 480px; }
.account-security .secret-key { margin: 18px 0 22px; padding: 16px; background: var(--rtz-cream); font-size: 1rem; line-height: 1.6; user-select: all; }
.account-security .notice { margin-bottom: 16px; padding: 14px 16px; font-size: .9rem; }
/* Recovery codes: a plain list of keys, no bullets. */
.account-security ul.stack { gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.account-security ul.stack .secret-key { margin: 0; }

@media (max-width: 480px) {
  .auth-card { padding: 26px 20px; }
  .account-security .security-panel { padding: 20px 16px; }
  .account-security .stack > .button { justify-self: stretch; width: 100%; }
}
