/* Auth pages only: reserve the full fixed header before laying out the form. */
.auth-shell .header-spacer { height: calc(max(var(--header-h), var(--header-spacer-h)) + env(safe-area-inset-top, 0px) + 12px); }
.auth-shell .app-main { padding: 0 16px calc(20px + env(safe-area-inset-bottom, 0px)); }
.auth-shell .auth-page { min-height: 0; padding: 12px 0 20px; place-items: start center; }
.auth-shell .auth-card { width: min(100%, 400px); padding: 20px 18px 8px; border-radius: 18px; }
.auth-shell .auth-card h1 { margin: 0 0 8px; font-family: "Mobile Bricolage Grotesque", "Bricolage Grotesque", Inter, system-ui, sans-serif; font-weight: 750; font-size: clamp(21px, 5.8vw, 26px); line-height: 1.2; letter-spacing: -.03em; }
.auth-shell .auth-description { margin: 0 0 18px; color: var(--color-text-secondary); text-align: center; font-size: 14px; line-height: 1.45; }
.auth-shell .form-stack { gap: 12px; }
.auth-shell .field { gap: 5px; font-size: 13px; font-weight: 600; }
.auth-shell .field > :is(span, label) { color: var(--color-text-secondary); }
.auth-shell .field input { min-height: 46px; font-size: 16px; font-weight: 400; }
.auth-shell .auth-card .form-error { padding: 7px 9px; line-height: 1.4; font-size: 13px; }
.auth-shell [data-field-error]:not([hidden]) { margin-top: -7px; }
.auth-password-input { position: relative; }
.auth-password-input input { padding-right: 66px; }
.auth-shell .auth-password-toggle { position: absolute; right: 2px; top: 1px; min-width: 60px; min-height: 44px; padding: 0 10px; border: 0; border-radius: 9px; background: transparent; color: var(--color-text-secondary); font-size: 13px; font-weight: 600; cursor: pointer; }
.auth-shell .auth-password-toggle:hover { background: var(--color-surface-2); }
.auth-password-help { margin: -7px 0 0; color: var(--color-text-muted); font-size: 12px; }
.auth-shell .auth-card .button { min-height: 46px; font-size: 16px; }
.auth-shell .auth-switch { margin: 4px 0 0; font-size: 13px; }
.auth-shell .auth-switch a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 3px; color: var(--color-text); }
.auth-shell .auth-recovery { margin-top: 0; }
.auth-shell :is(a, button, summary):focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.auth-shell .site-footer, .auth-shell .desktop-site-footer { display: none; }
.auth-email-address { margin: -6px 0 18px; overflow-wrap: anywhere; text-align: center; font-weight: 600; }
.auth-resend { margin: 12px 0 0; }
.auth-correct-email summary { min-height: 44px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--color-text-secondary); font-size: 13px; }
.auth-correct-email .form-stack { margin: 4px 0 12px; }
.auth-email-note { color: var(--color-text-muted); font-size: 13px; line-height: 1.45; text-align: center; }
.auth-email-card > .button { margin-block: 12px; }
@media(min-width:601px) { .auth-shell .auth-page { padding-top: 28px; } .auth-shell .auth-card { padding: 24px 24px 12px; } }
