.auth-modal [hidden] { display: none !important; }
.auth-modal { max-height: calc(100dvh - 40px); overflow-y: auto; }
.auth-modal .auth-recovery-link { display: block; margin: -4px 0 16px auto; padding: 6px 0; border: 0; background: transparent; color: var(--accent, #3385ff); font: inherit; font-size: 14px; cursor: pointer; }
.auth-modal .auth-recovery-link:hover { text-decoration: underline; }
.auth-modal .auth-recovery-link:focus-visible { outline: 2px solid var(--accent, #3385ff); outline-offset: 4px; }
.auth-modal .auth-recovery-status { font-size: 14px; line-height: 1.55; margin: 0 0 16px; }
.auth-modal .auth-recovery-status:empty { display: none; }
.auth-modal .auth-recovery-status[data-tone="success"] { padding: 12px; border: 1px solid var(--border-color, #46657c); border-radius: 8px; background: var(--card-bg, #132737); color: var(--ink, #eaf2ff); }
.auth-modal .auth-recovery-status[data-tone="error"] { color: #e16b6b; }
[data-theme="light"] .auth-modal .auth-recovery-status[data-tone="error"] { color: #b42318; }
.auth-modal .auth-submit:disabled { opacity: .65; cursor: wait; }
