/* Focused account recovery, using the current product's colors and shared components. */
.recovery-page { --muted:#5e6b79; min-height:100vh; min-height:100svh; display:flex; flex-direction:column; }
.recovery-page .header-inner { justify-content:space-between; gap:20px; }
.recovery-page .header-actions { margin-left:auto; }
.recovery-page .header-actions>.theme-toggle { display:grid; }
.recovery-page .brand img { width:34px; height:40px; object-fit:contain; }
.recovery-shell { flex:1; display:grid; place-items:center; padding-block:48px; }
.recovery-card { width:100%; max-width:480px; padding:36px; border:1px solid var(--line); border-radius:22px; background:#fff; box-shadow:0 18px 55px #1f344010; }
.recovery-back { display:inline-flex; align-items:center; gap:7px; margin-bottom:26px; color:var(--muted); font-size:11px; line-height:1.5; }
.recovery-back:hover { color:var(--blue); }
.recovery-back>span { font-size:17px; }
.recovery-symbol { display:grid; place-items:center; width:43px; height:43px; margin-bottom:22px; border-radius:12px; background:var(--iv-tint,#fbf0cb); color:var(--blue); }
.recovery-symbol svg { width:24px; height:24px; }
.recovery-card h1 { margin:0 0 20px; font-size:43px; font-weight:600; line-height:1.08; letter-spacing:-.045em; }
.recovery-card h1 em { color:var(--blue); font-family:Georgia,serif; font-weight:400; }
.recovery-card>p { margin:0 0 23px; color:var(--muted); font-size:13px; line-height:1.85; }
.recovery-card form { margin:0; }
.recovery-card .auth-field { margin-top:17px; }
.recovery-card .mi-auth-submit { width:100%; }
.recovery-card .password-toggle svg { width:18px; height:18px; }
.recovery-eye-closed { display:none; }
.recovery-card .password-toggle[aria-pressed="true"] .recovery-eye-open { display:none; }
.recovery-card .password-toggle[aria-pressed="true"] .recovery-eye-closed { display:block; }
.recovery-password-hint { margin:8px 0 0; color:var(--muted); font-size:10px; line-height:1.7; }
.recovery-card>.recovery-support { margin:25px 0 0; padding-top:18px; border-top:1px solid var(--line); color:var(--muted); font-size:11px; line-height:1.8; }
.recovery-support a { color:var(--blue); text-decoration:underline; text-underline-offset:3px; }
.recovery-note { padding:14px 16px; border:1px solid var(--line); border-radius:11px; background:var(--iv-soft,#fffaf0); color:var(--muted); font-size:12px; line-height:1.8; }
.recovery-card .field-validation-error { display:block; margin-top:7px; color:#ad303b; font-size:11px; line-height:1.6; }
.recovery-errors.validation-summary-valid,.recovery-user-error.field-validation-valid { display:none; }
.recovery-errors.validation-summary-errors,.recovery-user-error.field-validation-error { display:block; margin:16px 0; padding:12px 14px; border:1px solid #ebc7ce; border-radius:10px; background:#fff5f6; color:#a02c38; font-size:12px; line-height:1.7; }
.recovery-errors ul { margin:0; padding-left:17px; }
.recovery-errors li+li { margin-top:5px; }
.recovery-footer { display:flex; flex-wrap:wrap; align-items:center; gap:12px 24px; padding-block:20px 27px; border-top:1px solid var(--line); color:var(--muted); font-size:11px; line-height:1.5; }
.recovery-footer>span { margin-right:auto; }
.recovery-footer a:hover { color:var(--blue); text-decoration:underline; text-underline-offset:3px; }
html[data-theme="dark"] .recovery-page { --muted:#b8c6d1; }
html[data-theme="dark"] .recovery-card { background:var(--dark-surface); border-color:var(--line); box-shadow:0 18px 55px #11182030; }
html[data-theme="dark"] .recovery-symbol { background:var(--dark-soft); }
html[data-theme="dark"] .recovery-note { background:var(--dark-field); border-color:var(--line); }
html[data-theme="dark"] .recovery-card .field-validation-error { color:#ffb7be; }
html[data-theme="dark"] .recovery-errors.validation-summary-errors,
html[data-theme="dark"] .recovery-user-error.field-validation-error { background:#4a3039; border-color:#83505a; color:#ffb7be; }
@media(max-width:600px) {
  .recovery-page .header-inner { gap:12px; }
  .recovery-page .brand { font-size:18px; }
  .recovery-page .brand img { width:28px; height:34px; }
  .recovery-page .header-actions { gap:6px; }
  .recovery-page .header-actions>.theme-toggle { width:36px; height:36px; }
  .recovery-page .header-contact { display:grid; place-items:center; width:36px; min-height:36px; height:36px; padding:8px; }
  .recovery-page .header-contact-label { display:none; }
  .recovery-shell { padding-block:30px; }
  .recovery-card { padding:27px 24px; border-radius:19px; }
  .recovery-card h1 { font-size:38px; }
  .recovery-back { margin-bottom:23px; }
  .recovery-footer>span { width:100%; margin:0; }
}
@media(max-width:360px) {
  .recovery-page .brand { font-size:16px; }
  .recovery-card { padding-inline:21px; }
  .recovery-card h1 { font-size:35px; }
}
