.auth-shell--recovery {
  min-height: min(760px, calc(100dvh - clamp(32px, 6vw, 84px)));
}

.recovery-brand-panel {
  background:
    radial-gradient(circle at 88% 7%, rgba(111, 187, 255, .4), transparent 17rem),
    radial-gradient(circle at 4% 91%, rgba(78, 157, 255, .22), transparent 20rem),
    linear-gradient(155deg, #16498f 0%, #103469 52%, #0d2852 100%);
}

.recovery-brand-copy {
  margin-top: clamp(42px, 7vh, 70px);
}

.recovery-progress {
  margin-bottom: 28px;
  animation: process-float 6s ease-in-out infinite;
}

.recovery-progress-list::after {
  display: none;
}

.recovery-progress-list .process-item {
  opacity: .68;
  transition: opacity .24s ease, transform .24s ease;
}

.recovery-progress-list .process-icon,
.process-step-state {
  transition: border-color .24s ease, background-color .24s ease, color .24s ease, box-shadow .24s ease;
}

.recovery-progress-list .process-item.is-current,
.recovery-progress-list .process-item.is-complete {
  opacity: 1;
}

.recovery-progress-list .process-item.is-current {
  transform: translateX(3px);
}

.recovery-progress-list .process-item.is-current .process-icon {
  border-color: rgba(159, 210, 255, .62);
  background: rgba(25, 87, 165, .96);
  color: #fff;
  box-shadow: 0 0 0 5px rgba(112, 183, 255, .11);
}

.recovery-progress-list .process-item.is-complete .process-icon {
  border-color: rgba(110, 231, 183, .34);
  color: #8ff0c8;
}

.process-step-state {
  width: 22px;
  height: 22px;
  border: 1px solid rgba(255, 255, 255, .19);
  border-radius: 50%;
  color: rgba(255, 255, 255, .7);
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 800;
}

.process-item.is-current .process-step-state {
  border-color: #a7d5ff;
  background: #e7f4ff;
  color: #12427f;
}

.process-item.is-complete .process-step-state {
  border-color: rgba(110, 231, 183, .34);
  background: rgba(110, 231, 183, .16);
  color: #8ff0c8;
  font-size: 0;
}

.process-item.is-complete .process-step-state::before {
  content: "✓";
  font-size: 12px;
}

.recovery-panel {
  overflow: hidden;
}

.recovery-card {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.recovery-step {
  animation: recovery-step-in .38s cubic-bezier(.2, .7, .2, 1) both;
}

.recovery-step .form-head {
  animation: none;
}

.recovery-step form {
  display: grid;
}

body[data-al-surface="auth"] input[type="email"] {
  width: 100%;
  min-height: 52px;
  padding: 12px 46px;
  border: 1px solid #bdcbdc !important;
  border-radius: 14px;
  outline: 0;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .03);
  color: var(--login-ink);
  font-size: 16px;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

body[data-al-surface="auth"] input[type="email"]:hover {
  border-color: #91a9c7 !important;
}

body[data-al-surface="auth"] input[type="email"]:focus,
body[data-al-surface="auth"] input[type="email"]:focus-visible {
  border-color: var(--login-blue-600) !important;
  outline: 0 !important;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .13) !important;
}

.field-help {
  color: #687a91;
}

.password-status {
  min-height: 17px;
  margin: 6px 2px 0;
  color: #697b92;
  font-size: 11px;
  line-height: 1.45;
}

.password-status.is-valid {
  color: var(--login-success);
}

.password-status.is-invalid {
  color: var(--login-danger);
}

.recovery-result {
  text-align: center;
}

.recovery-result h1 {
  margin: 0;
  color: var(--login-ink);
  font-size: clamp(29px, 4vw, 37px);
  line-height: 1.15;
  letter-spacing: -.035em;
}

.recovery-result > p:not(.form-eyebrow):not(.redirect-note) {
  margin: 12px auto 0;
  color: var(--login-muted);
  font-size: 14px;
  line-height: 1.62;
}

.result-mark {
  width: 70px;
  height: 70px;
  margin: 0 auto 24px;
  border-radius: 23px;
  display: grid;
  place-items: center;
  position: relative;
}

.result-mark svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.result-mark--mail {
  background: #eaf4ff;
  color: var(--login-blue-700);
  box-shadow: 0 15px 34px rgba(37, 99, 235, .15);
  animation: result-pop .56s cubic-bezier(.16, .86, .25, 1.22) both;
}

.result-mark--mail span,
.result-mark--success span {
  width: 13px;
  height: 13px;
  position: absolute;
  top: -2px;
  right: -2px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #3b82f6;
  animation: status-pulse 2.3s ease-out infinite;
}

.result-mark--success {
  background: #e9f9ef;
  color: var(--login-success);
  box-shadow: 0 15px 34px rgba(23, 99, 58, .14);
  animation: result-pop .56s cubic-bezier(.16, .86, .25, 1.22) both;
}

.result-mark--success span {
  background: #36a269;
}

.result-mark--warning {
  background: #fff5ea;
  color: #a85d12;
}

.recovery-callout {
  margin: 22px 0;
  padding: 14px 15px;
  border: 1px solid #d8e5f4;
  border-radius: 14px;
  background: #f7fbff;
  display: grid;
  gap: 4px;
  text-align: left;
}

.recovery-callout strong {
  color: #284564;
  font-size: 12px;
}

.recovery-callout span {
  color: #64758b;
  font-size: 11px;
  line-height: 1.5;
}

.verification-orbit {
  width: 72px;
  height: 72px;
  margin: 0 auto 25px;
  border: 2px solid #d6e6fa;
  border-top-color: var(--login-blue-600);
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  animation: spin 1.1s linear infinite;
}

.verification-orbit::before,
.verification-orbit span {
  content: "";
  border-radius: 50%;
}

.verification-orbit::before {
  width: 38px;
  height: 38px;
  background: #edf6ff;
}

.verification-orbit span {
  width: 10px;
  height: 10px;
  position: absolute;
  background: #5c9cf7;
  box-shadow: 0 0 0 6px rgba(92, 156, 247, .12);
}

.recovery-button-link {
  margin-top: 24px;
  text-decoration: none;
}

.redirect-note {
  margin: 13px 0 0;
  color: #748399;
  font-size: 11px;
}

.recovery-security-note {
  margin-top: 25px;
}

.recovery-footer {
  margin-top: 20px;
}

.recovery-footer a {
  min-height: 44px;
  padding: 10px 3px;
  display: inline-flex;
  align-items: center;
}

@keyframes recovery-step-in {
  from { opacity: 0; transform: translateX(15px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes result-pop {
  from { opacity: 0; transform: translateY(7px) scale(.82); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 860px) {
  .auth-shell--recovery {
    min-height: 100dvh;
  }

  .recovery-card {
    min-height: 0;
  }

  .recovery-panel .mobile-brand {
    margin-bottom: clamp(34px, 6vh, 54px);
  }
}

@media (min-width: 861px) and (max-height: 800px) {
  .recovery-brand-panel {
    padding-top: 34px;
    padding-bottom: 30px;
  }

  .recovery-brand-copy {
    margin: 34px 0 20px;
  }

  .recovery-brand-copy > p:last-child {
    margin-top: 13px;
  }

  .recovery-progress {
    margin: 0 0 17px;
    padding: 15px;
  }

  .recovery-progress-list {
    gap: 8px;
  }

  .recovery-panel {
    padding-top: 32px;
    padding-bottom: 24px;
  }
}

@media (max-width: 520px) {
  .recovery-panel {
    justify-content: flex-start;
  }

  .recovery-result {
    padding-top: 8px;
  }

  .recovery-result h1 {
    font-size: 30px;
  }

  .result-mark {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .verification-orbit {
    animation: none !important;
    border-color: #c7dcf6;
  }
}
