.recovery-page { min-height: 100vh; padding: 32px 20px; display: grid; place-items: center; background: linear-gradient(135deg, #0c2039, #293252); }
.recovery-card { width: min(520px, 100%); padding: 36px; border-radius: 20px; background: #fff; box-shadow: 0 18px 60px #0003; }
.recovery-header { display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.recovery-header .brand-lockup { color: #142b49; text-decoration: none; }
.recovery-header .brand-mark { background: #142b49; color: white; }
.recovery-header label { font-size: .8rem; }
.recovery-card h1 { font: 500 2rem/1.2 Georgia, serif; margin: 28px 0 14px; }
.recovery-card p { line-height: 1.6; }
.recovery-card form { display: grid; gap: 20px; margin: 20px 0; }
.recovery-card label { display: grid; gap: 8px; }
.recovery-card input, .recovery-card select { min-height: 44px; width: 100%; }
.recovery-card #password-hint { margin: -12px 0 0; font-size: .85rem; }
.recovery-card #recovery-status:not(:empty) { padding: 14px; background: #eef3f8; border-radius: 8px; }
.recovery-card #recovery-status[data-error="true"] { color: #9c243a; background: #fff0f1; }
.recovery-card #support-link { display: block; overflow-wrap: anywhere; color: #203f70; padding: 12px 0; }
.recovery-card .login-recovery-links { margin-top: 20px; }
.recovery-card :focus-visible { outline: 3px solid #386bc0; outline-offset: 3px; }
@media (max-width: 480px) { .recovery-page { padding: 16px; } .recovery-card { padding: 24px; } }

.recovery-codes { white-space: pre-wrap; overflow-wrap: anywhere; font-size: .85rem; padding: 12px; background: #f2f5fa; }
.recovery-card hr { border: 0; border-top: 1px solid #d9e0ec; margin: 24px 0; }
.recovery-card h2 { font-size: 1.3rem; }
#settings, #methods, #recovered { display: grid; gap: 16px; }
#settings[hidden], #methods[hidden], #recovered[hidden] { display: none; }
#recovered-email { overflow-wrap: anywhere; font-weight: 700; }
#status[data-error="true"] { background: #fff0f1; color: #b31936; padding: 12px; border-radius: 8px; }
