#auth-feedback { margin: 0; padding: 12px; border-radius: 8px; line-height: 1.5; overflow-wrap: anywhere; }
#auth-feedback[hidden] { display: none; }
#auth-form [aria-busy="true"], #auth-form button:disabled { opacity: .65; cursor: wait; }
#toggle-password { min-height: 44px; }
.auth-link { min-height: 44px; border: 0; background: transparent; color: #4937a6; text-decoration: underline; font-weight: 800; }
.auth-secondary-panel { width: min(520px, calc(100% - 28px)); margin: 18px auto 0; text-align: left; }
.auth-secondary-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.auth-secondary-heading h2 { margin: 0; font-size: 1.2rem; }
.auth-secondary-heading .ghost { flex: 0 0 auto; min-height: 44px; background: #eaf2fc; color: #244f84; }
#password-reset-feedback, #change-password-feedback { margin: 0; padding: 12px; border-radius: 8px; line-height: 1.5; overflow-wrap: anywhere; }
#password-reset-feedback[hidden], #change-password-feedback[hidden] { display: none; }
.security-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.security-card { min-width: 0; }
.security-card form { margin: 0; }
.security-status { padding: 12px; border-radius: 10px; background: #f2efff; color: #392b84; font-weight: 700; }
.recovery-code-result { margin-top: 16px; padding: 16px; border: 2px solid #d29a24; border-radius: 14px; background: #fff8dc; }
.recovery-code-result pre { white-space: pre-wrap; overflow-wrap: anywhere; user-select: all; font: 800 1rem/1.7 ui-monospace,SFMono-Regular,Consolas,monospace; }
.recovery-code-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.recovery-code-actions button { flex: 1 1 160px; min-height: 44px; }
@media (max-width: 760px) { .security-grid { grid-template-columns: 1fr; } .auth-secondary-heading { align-items: flex-start; } }
