/* Auth entry refresh — scoped to the login / signup surface. */
.auth-entry-wrap {
  min-height: 100vh;
  min-height: 100dvh;
  padding: max(24px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right))
    max(24px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
  background: radial-gradient(ellipse at 50% -8%, #fce1cf 0%, #f5f0ea 34%, #ebe8e4 78%, #e6e4e0 100%);
}
.auth-entry-wrap .auth-card {
  width: min(100%, 536px);
  min-width: 0;
  overflow-x: visible;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(157,138,121,.18);
  border-radius: 28px;
  box-shadow: 0 26px 85px rgba(46,38,31,.14);
  padding: clamp(22px, 4vw, 36px);
}
.auth-entry-wrap .auth-logo {
  width: min(100%, 270px);
  max-width: 270px;
  height: auto;
  max-height: 160px;
  object-fit: contain;
  border-radius: 0;
  margin: 0 auto 13px;
}
.auth-entry-wrap .beta-title {
  text-align: center;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .17em;
  color: #8a5b38;
  margin: 0 auto 19px;
}
.auth-entry-wrap .tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  margin: 0 0 23px;
  padding: 5px;
  background: #f1eee9;
  border: 1px solid #e7e2db;
  border-radius: 16px;
}
.auth-entry-wrap .tabs .pill {
  display: grid;
  place-items: center;
  min-height: 43px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  color: #70665e;
}
.auth-entry-wrap .tabs .pill.active {
  background: #fff;
  color: #211f1d;
  box-shadow: 0 3px 11px rgba(32,27,22,.08);
}
.auth-entry-wrap .form-stack { gap: 15px; }
.auth-entry-wrap .field > label,
.auth-entry-wrap .form-stack .field > label {
  display: block;
  margin-bottom: 6px;
  color: #433a34;
  font-size: 12px;
  font-weight: 750;
}
.auth-entry-wrap input:not([type="checkbox"]),
.auth-entry-wrap select {
  min-height: 47px;
  border-radius: 12px;
}
.auth-entry-wrap .form-stack .primary.full,
.auth-entry-wrap #login-form .primary.full {
  min-height: 49px;
  border-radius: 13px;
  font-size: 12px;
  letter-spacing: .035em;
}
.auth-entry-wrap .auth-forgot-link {
  margin-top: 12px;
  font-size: 11px;
  padding: 12px;
  text-align: center;
}
.auth-entry-wrap .auth-tech-help { display: none !important; }
.auth-entry-wrap .sep { margin-top: 23px; }
.auth-entry-wrap .auth-captcha {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  width: 100%;
  min-width: 0;
  text-align: center;
}
.auth-entry-wrap .auth-captcha [data-auth-turnstile] {
  display: flex;
  justify-content: center;
  width: 100%;
  min-width: 0;
}
.auth-entry-wrap .auth-captcha [data-auth-turnstile-status] {
  text-align: center;
  line-height: 1.5;
  margin-top: 5px;
}
.auth-flow-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  margin: 1px 0 22px;
}
.auth-flow-progress-item {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 750;
  color: #968b80;
  white-space: nowrap;
}
.auth-flow-step-number {
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  display: grid;
  place-items: center;
  background: #eee9e4;
  border: 1px solid #ded5cc;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 850;
  color: #70635a;
}
.auth-flow-progress-item.is-current { color: #26211e; }
.auth-flow-progress-item.is-current .auth-flow-step-number {
  background: #f47928;
  border-color: #f47928;
  color: #fff;
}
.auth-flow-progress-item.is-complete .auth-flow-step-number {
  background: #29231e;
  color: #fff;
  border-color: #29231e;
}
.auth-flow-heading { margin: 2px 0 22px; }
.auth-flow-heading h1,
.auth-entry-wrap .auth-card .auth-flow-heading h1 {
  color: #201b18;
  margin: 6px 0 7px;
  font-size: clamp(23px, 4.5vw, 29px);
  line-height: 1.17;
  letter-spacing: -.045em;
}
.auth-flow-heading p { margin: 0; color: #716b66; font-size: 13px; line-height: 1.52; }
.auth-flow-kicker {
  display: block;
  color: #a8511b;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
}
.auth-flow-options { display: grid; gap: 10px; }
.auth-flow-option {
  width: 100%;
  display: grid;
  grid-template-columns: 49px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 11px;
  padding: 13px;
  border-radius: 16px;
  background: #faf8f5;
  border: 1px solid #e9e3dc;
  color: #292522;
  text-align: left;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}
.auth-flow-option:hover,
.auth-flow-option:focus-visible {
  border-color: #f18e52;
  background: #fff5ed;
}
.auth-flow-option:active { transform: scale(.99); }
.auth-flow-option-icon {
  width: 49px;
  height: 49px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #f2e8dd;
  font-size: 23px;
}
.auth-flow-option-text { display: grid; gap: 4px; min-width: 0; }
.auth-flow-option-text strong { font-size: 15px; font-weight: 850; }
.auth-flow-option-text small { font-size: 11px; color: #716960; line-height: 1.45; }
.auth-flow-option-arrow { font-size: 25px; color: #c57546; }
.auth-wizard-form .auth-flow-panel { display: grid; gap: 15px; }
.auth-wizard-form .auth-flow-panel[hidden],
.auth-wizard-form[hidden],
.auth-flow-choice[hidden],
.auth-flow-heading[hidden] { display: none !important; }
.auth-wizard-form .profile-role-field > label { margin-bottom: 8px; }
.auth-wizard-form .profile-role-options { gap: 8px; }
.auth-wizard-form .profile-role-option {
  border-radius: 12px;
  background: #faf7f3;
  border: 1px solid #e7ded5;
  padding: 12px;
}
.auth-wizard-form .profile-role-option:has(input:checked) {
  border-color: #e78d57;
  background: #fff2e9;
}
.auth-wizard-form .profile-role-option-copy b { font-size: 12px; }
.auth-flow-actions { display: flex; gap: 9px; margin-top: 7px; }
.auth-flow-actions > button { flex: 1; min-height: 45px; }
.auth-flow-continue { flex: 1.5 !important; }
.auth-flow-text-back {
  align-self: start;
  background: none;
  border: 0;
  color: #825a3e;
  cursor: pointer;
  font-size: 12px;
  font-weight: 750;
  padding: 10px 4px;
  text-align: left;
}
.auth-business-signup .auth-logo { margin-bottom: 10px; }
.auth-business-signup .auth-flow-heading { margin-bottom: 20px; }
.auth-business-signup .auth-flow-progress { margin-bottom: 18px; }
.auth-business-signup .auth-flow-actions { margin-top: 5px; }
.auth-entry-wrap .legal-checks { border-radius: 13px; }
.auth-entry-wrap .legal-checks label { line-height: 1.45; }
@media (max-width: 540px) {
  .auth-entry-wrap { align-items: start; }
  .auth-entry-wrap .auth-card {
    padding: 22px 17px;
    border-radius: 21px;
    box-shadow: 0 12px 42px rgba(46,38,31,.10);
  }
  .auth-entry-wrap .auth-logo { max-width: 225px; max-height: 132px; }
  .auth-flow-option { padding: 11px; grid-template-columns: 45px minmax(0,1fr) 16px; gap: 9px; }
  .auth-flow-option-icon { width: 45px; height: 45px; }
  .auth-flow-option-text strong { font-size: 14px; }
  .auth-flow-progress-item { gap: 4px; font-size: 9px; }
  .auth-flow-step-number { width: 23px; height: 23px; flex-basis: 23px; }
  .auth-flow-actions { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .auth-flow-option { transition: none; }
}


/* Post-email completion: ask only for required missing profile fields. */
.auth-completion-wrap .auth-completion-card { width: min(100%, 536px); }
.auth-completion-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 7px;
  margin: 5px 0 25px;
}
.auth-completion-progress span {
  height: 5px;
  border-radius: 999px;
  background: #f47928;
}
.auth-completion-wrap .auth-flow-heading { margin-bottom: 15px; }
.auth-completion-saved {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px;
  border: 1px solid #e8e1da;
  border-radius: 13px;
  background: #faf7f3;
  color: #5f574f;
  font-size: 12px;
  line-height: 1.55;
  margin-bottom: 21px;
}
.auth-completion-saved > span:first-child {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: 50%;
  background: #e4f3e9;
  color: #237a43;
  font-weight: 900;
}
.auth-completion-form .profile-role-field > label {
  color: #433a34;
  font-weight: 800;
  font-size: 12px;
}
.auth-completion-form .profile-role-option {
  border-radius: 12px;
  background: #faf7f3;
  border: 1px solid #e7ded5;
  padding: 12px;
}
.auth-completion-form .profile-role-option:has(input:checked) {
  background: #fff2e9;
  border-color: #e78d57;
}
.auth-completion-form .profile-location-field {
  min-width: 0;
  width: 100%;
}
.auth-completion-form .profile-location-results {
  z-index: 5;
  max-height: 235px;
  overflow-y: auto;
}
.auth-completion-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}
.auth-completion-footer > small {
  font-size: 11px;
  color: #736960;
  line-height: 1.5;
}
.auth-completion-feedback {
  min-height: 0;
  font-size: 12px;
  color: #a84e22;
  margin: 0;
  line-height: 1.5;
}
.auth-completion-feedback:empty { display: none; }
.auth-completion-privacy {
  font-size: 11px !important;
  color: #857b72 !important;
  margin: 22px 0 0;
  text-align: center;
  line-height: 1.5;
}
@media(max-width:540px) {
  .auth-completion-saved { margin-bottom: 17px; }
  .auth-completion-progress { margin-bottom: 20px; }
}
