:root {
  color-scheme: light;
  --ink: #142038;
  --muted: #66758f;
  --line: #d7e1f0;
  --soft: #f4f7fc;
  --blue: #1761e8;
  --blue-dark: #114bb9;
  --success: #008d6b;
  --danger: #d92f32;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(23, 97, 232, .13), transparent 30%),
    radial-gradient(circle at 88% 92%, rgba(0, 180, 140, .09), transparent 28%),
    #f7f9fd;
}
button, input { font: inherit; }
.recovery-shell {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 100vh;
  padding: 32px 18px;
}
.recovery-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--ink);
  text-decoration: none;
}
.recovery-brand img { width: 42px; height: 42px; border-radius: 12px; object-fit: cover; box-shadow: 0 7px 20px rgba(20, 32, 56, .14); }
.recovery-brand span,
.recovery-brand strong,
.recovery-brand small { display: block; }
.recovery-brand strong { font-size: 17px; }
.recovery-brand small { margin-top: 2px; color: var(--muted); font-size: 10px; }
.recovery-card {
  width: min(470px, 100%);
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 24px 70px rgba(30, 49, 83, .14);
}
.recovery-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: #eaf1ff;
  color: var(--blue);
}
.recovery-icon svg,
.recovery-safe-note svg,
.recovery-submit svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.recovery-icon svg { width: 25px; height: 25px; }
.recovery-eyebrow { color: var(--blue); font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
h1 { margin: 7px 0 10px; font-size: clamp(28px, 7vw, 38px); letter-spacing: -.04em; }
.recovery-intro { margin: 0 0 24px; color: var(--muted); font-size: 14px; line-height: 1.65; }
form { display: grid; gap: 14px; }
label { display: grid; gap: 7px; color: #52617a; font-size: 12px; font-weight: 800; }
input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
  color: var(--ink);
  background: var(--soft);
}
input:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(23, 97, 232, .11); }
.recovery-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  border: 0;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  font-weight: 850;
  cursor: pointer;
}
.recovery-submit:hover { background: var(--blue-dark); }
.recovery-submit:disabled { cursor: wait; opacity: .65; }
.recovery-submit svg { width: 18px; height: 18px; }
.recovery-feedback { display: none; padding: 11px 12px; border-radius: 9px; font-size: 12px; line-height: 1.5; }
.recovery-feedback.show { display: block; }
.recovery-feedback.success { background: #e8f8f2; color: var(--success); }
.recovery-feedback.error { background: #fff0f0; color: var(--danger); }
.recovery-feedback.warning { background: #fff7dd; color: #8a6500; }
.recovery-safe-note { display: flex; gap: 9px; margin-top: 20px; padding: 12px; border-radius: 10px; background: var(--soft); color: var(--muted); font-size: 11px; line-height: 1.5; }
.recovery-safe-note svg { width: 19px; height: 19px; flex: 0 0 auto; color: var(--success); }
.recovery-back { display: block; margin-top: 20px; color: var(--blue); font-size: 12px; font-weight: 800; text-align: center; text-decoration: none; }
.recovery-back:hover { text-decoration: underline; }
.recovery-help { width: min(470px, 100%); margin: 16px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; text-align: center; }
@media (max-width: 520px) {
  .recovery-shell { align-content: start; padding-top: 24px; }
  .recovery-card { padding: 24px 19px; border-radius: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
