.recovery-link { display: inline-block; margin-top: 14px; border: 0; background: transparent; color: #b94f35; cursor: pointer; font: inherit; text-decoration: underline; }
.recovery-dialog { width: min(480px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 24px; margin: auto; border: 0; border-radius: 16px; background: #f8fafc; color: #172033; }
.recovery-dialog::backdrop { background: rgba(38,27,20,.62); }
.recovery-dialog form, .password-reset-page form { display: grid; gap: 16px; }
.recovery-dialog h2, .recovery-dialog p { margin: 0; }
.recovery-dialog label { display: grid; gap: 6px; }
.recovery-dialog .button { min-height: 44px; padding: 12px 16px; border: 1px solid #e4d3bd; border-radius: 10px; background: #f8fafc; color: #172033; font: inherit; cursor: pointer; }
.recovery-dialog .button-primary { background: #b94f35; color: white; }
.recovery-dialog input { width: 100%; min-height: 44px; padding: 10px; border: 1px solid #e4d3bd; border-radius: 10px; font-size: 16px; }
.password-reset-body { min-height: 100dvh; padding: clamp(24px, 6vh, 72px) 16px; background: var(--theme-background, #f8fafc); }
.password-reset-page { width: min(520px, 100%); margin: 0 auto; padding: clamp(24px, 5vw, 40px); border: 1px solid var(--theme-line, #d8e0e9); border-radius: 20px; background: var(--theme-surface, #fff); color: var(--theme-text, #172033); box-shadow: 0 20px 55px rgba(23,32,51,.08); }
.password-reset-brand { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 32px; padding-bottom: 22px; border-bottom: 1px solid var(--theme-line, #d8e0e9); }
.password-reset-brand a { display: inline-flex; align-items: center; width: min(200px, 58%); flex: none; }
.password-reset-brand img { display: block; width: 100%; height: 72px; object-fit: contain; object-position: left center; }
.password-reset-brand span { color: var(--theme-muted, #52647a); font-size: .85rem; text-align: right; }
.password-reset-eyebrow { margin-bottom: 8px; color: var(--theme-primary-text, #2563eb); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.password-reset-page h1 { max-width: 18ch; margin-bottom: 14px; color: var(--theme-secondary-text, #1e3a5f); font-size: clamp(1.9rem, 5vw, 2.5rem); line-height: 1.14; }
.password-reset-page #password-reset-help { margin-bottom: 26px; color: var(--theme-muted, #52647a); font-size: .95rem; line-height: 1.5; }
.password-reset-page .field { color: var(--theme-text, #172033); }
.password-reset-page .field input { background: var(--theme-surface, #fff); color: var(--theme-text, #172033); border-color: var(--theme-line, #cbd5e1); }
.password-reset-page .button-primary { width: 100%; min-height: 48px; background: var(--theme-primary, #2563eb); color: var(--theme-on-primary, #fff); }
.password-reset-page form[hidden] { display: none; }
.password-reset-page output, .password-reset-page > a { display: block; margin-top: 20px; }
.password-reset-page > a { color: var(--theme-primary-text, #2563eb); font-weight: 700; }
@media (max-width: 480px) { .password-reset-brand { align-items: flex-start; } .password-reset-brand a { width: min(160px, 56%); } .password-reset-brand img { height: 58px; } .password-reset-brand span { font-size: .75rem; } }
