/* Auth layout */
.layout-auth { min-height: 100vh; display: flex; flex-direction: column; background: linear-gradient(180deg, var(--zl-primary-soft), var(--zl-bg) 320px); }
.auth-header { padding-block: var(--zl-sp-3); }
.auth-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--zl-sp-3); }
.auth-main { flex: 1; display: flex; justify-content: center; align-items: flex-start; padding: var(--zl-sp-4) var(--zl-sp-4) var(--zl-sp-7); }
@media (min-width: 768px) { .auth-main { align-items: center; } }
.auth-card { width: 100%; max-width: 440px; }
.auth-card--wide { max-width: 640px; }
.auth-card__title { font-size: var(--zl-fs-24); margin-bottom: var(--zl-sp-2); }
.auth-card__lead { color: var(--zl-text-muted); }
.auth-card__icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--zl-primary-soft); color: var(--zl-info); margin-bottom: var(--zl-sp-3); }
.auth-card__aside { text-align: right; margin-top: calc(-1 * var(--zl-sp-2)); font-size: var(--zl-fs-14); }
.auth-card__switch { text-align: center; margin: var(--zl-sp-4) 0 0; font-size: var(--zl-fs-14); }
.auth-footer { text-align: center; padding: var(--zl-sp-4); font-size: var(--zl-fs-14); color: var(--zl-text-muted); }
.auth-footer a { color: var(--zl-text-muted); }
.demo-accounts { margin-top: var(--zl-sp-5); padding: var(--zl-sp-3) var(--zl-sp-4); border: 1px dashed var(--zl-border-strong); border-radius: var(--zl-radius); font-size: var(--zl-fs-14); }
.demo-accounts summary { font-weight: var(--zl-fw-semibold); min-height: 32px; }
.demo-accounts ul { list-style: none; padding: 0; margin: var(--zl-sp-2) 0 0; display: grid; gap: var(--zl-sp-1); }
.demo-accounts .link-btn { min-height: 32px; font-weight: var(--zl-fw-semibold); }

/* Live mode (F2): authenticator setup and recovery codes */
.totp-setup { display: grid; justify-items: center; gap: var(--zl-sp-2); margin-block: var(--zl-sp-4); text-align: center; }
.totp-setup__qr { inline-size: 200px; max-inline-size: 100%; padding: .5rem; background: #fff; border-radius: var(--zl-radius); }
.totp-setup__qr svg { display: block; inline-size: 100%; block-size: auto; }
.totp-setup__secret { font-size: 1rem; letter-spacing: .08em; word-break: break-all; }
.recovery-codes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--zl-sp-2); padding: 0; margin: var(--zl-sp-4) 0; list-style: none; }
.recovery-codes code { display: block; padding: .5rem; text-align: center; font-size: 1rem; background: var(--zl-surface-2); border-radius: var(--zl-radius); }
