:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #17332c;
  background: #eef6f1;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top left, #dcefe4 0, transparent 40%), #eef6f1;
}

[hidden] {
  display: none !important;
}

.recovery-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 16px;
}

.recovery-card {
  width: min(100%, 560px);
  padding: clamp(24px, 5vw, 44px);
  border: 1px solid #c8ddd1;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 70px rgb(31 78 61 / 12%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-weight: 750;
  text-decoration: none;
}

.brand img { width: 40px; height: 40px; object-fit: contain; }
.eyebrow { margin: 32px 0 8px; color: #277559; font-size: .78rem; font-weight: 800; letter-spacing: .12em; }
h1 { margin: 0; font-size: clamp(1.8rem, 5vw, 2.5rem); line-height: 1.08; }
h2 { margin: 8px 0 4px; font-size: 1.18rem; line-height: 1.25; }
p { line-height: 1.6; }
form { display: grid; gap: 10px; margin-top: 28px; }
label { margin-top: 8px; font-weight: 700; }
input {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #9dbdaf;
  border-radius: 10px;
  background: #fbfdfc;
  color: #17332c;
  font: inherit;
}
input:focus { outline: 3px solid rgb(58 142 106 / 22%); border-color: #277559; }
button {
  min-height: 48px;
  margin-top: 18px;
  padding: 11px 16px;
  border: 0;
  border-radius: 10px;
  background: #1f6d50;
  color: #fff;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}
button:disabled { cursor: wait; opacity: .65; }
.field-help { margin: -4px 0 0; color: #567067; font-size: .9rem; }
.status { min-height: 1.5em; font-weight: 700; color: #1f6d50; }
.status.error { color: #a13131; }
.privacy-note { margin: 24px 0 0; padding-top: 18px; border-top: 1px solid #dce7e1; color: #567067; font-size: .9rem; }
.recovery-return { margin: 18px 0 0; text-align: center; }
.recovery-return a { color: #1f6d50; font-weight: 750; }
#account-recovery-form { margin-top: 34px; padding-top: 26px; border-top: 1px solid #dce7e1; }

.verification-card {
  width: min(100%, 720px);
}

.verification-hero {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
}

.verification-hero .eyebrow { margin: 0 0 8px; }

.verification-badge {
  display: grid;
  flex: 0 0 62px;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(145deg, #2c8a67, #1f6d50);
  box-shadow: 0 12px 28px rgb(31 109 80 / 22%);
  color: #fff;
  font-size: 1.75rem;
}

.verification-intro {
  max-width: 62ch;
  margin: 20px 0;
  color: #45675b;
  font-size: 1.02rem;
}

.verification-status-panel {
  margin: 20px 0;
  padding: 16px 18px;
  border: 1px solid #b9d9ca;
  border-radius: 14px;
  background: #effaf5;
}

.verification-status-panel .status { margin: 0; }

.verification-card[data-verification-state="error"] .verification-status-panel {
  border-color: #ecc3c3;
  background: #fff4f4;
}

.verification-card[data-verification-state="verified"] .verification-status-panel {
  border-color: #9ed1b7;
  background: #eaf8f0;
}

.verification-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 26px 0;
  padding: 0;
  list-style: none;
}

.verification-steps li {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid #d6e5dd;
  border-radius: 12px;
  color: #567067;
  font-size: .88rem;
}

.verification-steps span {
  display: grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: #e6f1eb;
  color: #1f6d50;
  font-weight: 800;
}

.verification-steps li:nth-child(2),
.verification-card[data-verification-state="verified"] .verification-steps li:nth-child(3) {
  border-color: #90c8ad;
  background: #f1faf5;
  color: #17332c;
}

.verification-card[data-verification-state="verified"] .verification-steps li:nth-child(2) span {
  background: #1f6d50;
  color: #fff;
}

.inbox-help,
.verification-next-step,
#verification-resend-panel {
  margin-top: 24px;
  padding: 20px;
  border-radius: 16px;
  background: #f7faf8;
}

.inbox-help h2,
.verification-next-step h2,
#verification-resend-panel h2 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.inbox-help ul { margin: 0; padding-left: 22px; }
.inbox-help li + li { margin-top: 7px; }
#verification-resend-panel { border: 1px solid #d6e5dd; }
.verification-return { margin: 22px 0 0; text-align: center; }
.verification-return a { color: #1f6d50; font-weight: 750; }

@media (max-width: 560px) {
  .verification-hero { align-items: flex-start; }
  .verification-badge { flex-basis: 52px; width: 52px; height: 52px; border-radius: 15px; font-size: 1.4rem; }
  .verification-steps { grid-template-columns: 1fr; }
  .verification-steps li { padding: 9px 11px; }
}
