/* Account recovery follows the light Manea login; loaded only for this opt-in page. */
body.auth-page[data-design="landing"][data-entry="reset"]:has(.auth-forgot) {
  --bg:#f3f6f9;--surface:#fff;--field:#f7f9fa;--subtle:#e8edf2;--hover:#dce4eb;
  --ink:#202a34;--secondary:#465767;--muted:#526273;--line:#d1dae2;--line-strong:#748594;
  --accent:#018081;--accent-hover:#006b6c;--accent-text:#006f70;--on-accent:#fff;--focus:#018081;
  font-size:16px;line-height:24px;background:var(--bg) url("../patterns/manea-login-pattern-light.svg") center / cover no-repeat fixed;
}
body.auth-page[data-design="landing"][data-entry="reset"]:has(.auth-forgot) #app {
  justify-content:center;min-height:100dvh;padding:40px 16px 32px;box-sizing:border-box;
}
body.auth-page[data-design="landing"][data-entry="reset"]:has(.auth-forgot) .entry-header {display:none;}
body.auth-page[data-design="landing"][data-entry="reset"]:has(.auth-forgot) main#main.auth-main:has(.auth-forgot) {
  flex:0 0 auto;width:min(500px,100%);margin:0 auto;padding:0;
}
body.auth-page[data-design="landing"][data-entry="reset"]:has(.auth-forgot) .auth-forgot {
  padding:28px 32px;border:1px solid var(--line);border-radius:16px;background:var(--surface);box-shadow:none;
}
body.auth-page[data-design="landing"][data-entry="reset"]:has(.auth-forgot) .auth-forgot-brand {margin:0 0 16px;text-align:center;line-height:0;}
body.auth-page[data-design="landing"][data-entry="reset"]:has(.auth-forgot) .auth-forgot-brand img {width:56px;height:auto;}
body.auth-page[data-design="landing"][data-entry="reset"]:has(.auth-forgot) .auth-forgot .auth-head {margin:0 0 16px;text-align:center;}
body.auth-page[data-design="landing"][data-entry="reset"]:has(.auth-forgot) .auth-forgot .auth-head .auth-titel {
  font-size:26px;line-height:34px;font-weight:600;letter-spacing:-.3px;text-align:center;
}
body.auth-page[data-design="landing"][data-entry="reset"]:has(.auth-forgot) .auth-forgot > .auth-caption {
  margin:0 0 24px;font-size:16px;line-height:26px;color:var(--secondary);
}
body.auth-page[data-design="landing"][data-entry="reset"]:has(.auth-forgot) #reset-form {
  display:grid;grid-template-columns:minmax(0,1fr);gap:16px;padding:0;margin:0;border:0;border-radius:0;background:transparent;box-shadow:none;
}
body.auth-page[data-design="landing"][data-entry="reset"]:has(.auth-forgot) #reset-form .field {margin:0;}
body.auth-page[data-design="landing"][data-entry="reset"]:has(.auth-forgot) #reset-form .field label {margin-bottom:8px;font-size:16px;line-height:24px;font-weight:550;}
body.auth-page[data-design="landing"][data-entry="reset"]:has(.auth-forgot) #reset-form input[type="email"] {
  height:48px;min-height:48px;padding:11px 14px;border-radius:8px;font-size:16px;line-height:24px;background:var(--field);
}
body.auth-page[data-design="landing"][data-entry="reset"]:has(.auth-forgot) #reset-form > .btn {
  width:100%;min-height:48px;padding:11px 16px;border-radius:8px;font-size:16px;line-height:24px;font-weight:600;
}
body.auth-page[data-design="landing"][data-entry="reset"]:has(.auth-forgot) .auth-forgot .auth-back {margin:16px 0 0;text-align:center;}
body.auth-page[data-design="landing"][data-entry="reset"]:has(.auth-forgot) .auth-forgot .auth-back a {
  display:inline-flex;align-items:center;gap:8px;min-height:44px;border-radius:6px;font-size:16px;line-height:24px;font-weight:550;
}
body.auth-page[data-design="landing"][data-entry="reset"]:has(.auth-forgot) .auth-forgot .auth-back .icon {flex:none;width:20px;height:20px;}
body.auth-page[data-design="landing"][data-entry="reset"]:has(.auth-forgot) .auth-forgot .btn:active {transform:none;}
body.auth-page[data-design="landing"][data-entry="reset"]:has(.auth-forgot) .auth-forgot .btn.primary:active:not(:disabled):not([aria-disabled="true"]) {background:var(--accent-hover);border-color:var(--accent-hover);}
body.auth-page[data-design="landing"][data-entry="reset"]:has(.auth-forgot) #app > .auth-footer {
  display:flex;flex-direction:column-reverse;justify-content:center;gap:8px;width:min(500px,100%);margin:20px auto 0;padding:0;background:transparent;font-size:13px;line-height:20px;text-align:center;
}
body.auth-page[data-design="landing"][data-entry="reset"]:has(.auth-forgot) #app > .auth-footer nav {width:100%;justify-content:center;gap:0 16px;margin:0;}
body.auth-page[data-design="landing"][data-entry="reset"]:has(.auth-forgot) #app > .auth-footer nav a {min-height:44px;font-size:14px;line-height:22px;font-weight:550;}
@media(max-height:760px) {
  body.auth-page[data-design="landing"][data-entry="reset"]:has(.auth-forgot) #app {justify-content:flex-start;padding-top:32px;}
}
@media(max-width:479px) {
  body.auth-page[data-design="landing"][data-entry="reset"]:has(.auth-forgot) #app > .auth-footer nav {grid-template-columns:minmax(0,2fr) minmax(0,3fr);}
  body.auth-page[data-design="landing"][data-entry="reset"]:has(.auth-forgot) #app {padding:24px 16px;}
  body.auth-page[data-design="landing"][data-entry="reset"]:has(.auth-forgot) .auth-forgot-brand img {width:48px;}
  body.auth-page[data-design="landing"][data-entry="reset"]:has(.auth-forgot) .auth-forgot {padding:20px;}
}

/* Account feedback uses the form reading scale and a single clear gap. */
body.auth-page[data-design="landing"][data-entry="reset"]:has(.auth-forgot) .auth-forgot > .notice {
  margin:0 0 16px;padding:12px 16px;border-radius:8px;font-size:15px;line-height:24px;overflow-wrap:anywhere;
}
body.auth-page[data-design="landing"][data-entry="reset"]:has(.auth-forgot) #reset-form .form-error.field-error {
  margin:8px 0 0;font-size:15px;line-height:24px;overflow-wrap:anywhere;
}
