/* HiBiker Form Experience v1 — calm editorial surfaces, one boundary per input.
   Scoped: auth, Business-only setup, and Rider-owned Business creation only. */
:root{--hfx-ink:#232521;--hfx-muted:#6e746e;--hfx-edge:#d8ddd7;--hfx-paper:#fff;--hfx-accent:#e3652a;--hfx-accent-deep:#b94b18;--hfx-ring:rgba(227,101,42,.16)}
.auth-entry-wrap,
.auth-wrap.business-native-onboarding{
  background:
    radial-gradient(ellipse at 50% 0%,rgba(246,204,176,.29) 0%,transparent 49%),
    linear-gradient(165deg,#f7f5f1 0%,#f0f2f0 62%,#ebecea 100%);
  color:var(--hfx-ink);min-height:100dvh;
}
.auth-entry-wrap .auth-card,
.auth-wrap.business-native-onboarding .business-native-onboarding-card{
  background:var(--hfx-paper);border:1px solid #e4e4df;
  color:var(--hfx-ink);border-radius:24px;
  box-shadow:0 20px 70px rgba(43,45,38,.085),0 2px 9px rgba(43,45,38,.025);
  width:min(100%,610px);padding:clamp(24px,4vw,42px);overflow:visible;
}
.auth-entry-wrap .auth-card{max-width:520px}
.auth-entry-wrap .auth-card:has(.auth-flow-options){max-width:540px}
.auth-entry-wrap .auth-logo,
.auth-wrap.business-native-onboarding .auth-logo{
  display:block;max-width:232px;width:min(72%,232px);height:auto;
  max-height:132px;object-fit:contain;margin:0 auto 10px;border:0;background:transparent;
}
.auth-entry-wrap .beta-title,
.auth-wrap.business-native-onboarding .beta-title{
  color:#a96035;letter-spacing:.17em;font-size:10px;font-weight:800;
  text-align:center;margin:0 0 25px;
}
.auth-entry-wrap .tabs{
  background:#f5f5f2;border:1px solid #e9eae6;border-radius:14px;
  padding:4px;margin-bottom:25px;gap:4px;
}
.auth-entry-wrap .tabs .pill{border-radius:10px;min-height:43px;color:#6d726d}
.auth-entry-wrap .tabs .pill.active{
  background:#fff;color:#242823;box-shadow:0 2px 10px rgba(27,37,31,.08);
}
.auth-entry-wrap .form-stack{gap:17px}
.auth-entry-wrap .form-stack .field,
.auth-entry-wrap .field,
.auth-entry-wrap .profile-role-field,
.auth-entry-wrap .auth-captcha,
.auth-wrap.business-native-onboarding .business-setup-form .field,
.auth-wrap.business-native-onboarding .business-setup-form .business-form-address,
#org-form.hb-business-create .field,
#org-form.hb-business-create .profile-location-field{
  min-width:0;max-width:100%;padding:0;margin:0;
  border:0;border-radius:0;background:transparent;box-shadow:none;
}
.auth-entry-wrap .field>label,
.auth-entry-wrap .form-stack .field>label,
.auth-entry-wrap .profile-role-field>label,
.auth-wrap.business-native-onboarding .business-setup-form .field>label,
.auth-wrap.business-native-onboarding .business-setup-form .profile-location-field>label,
#org-form.hb-business-create .field>label,
#org-form.hb-business-create .profile-location-field>label{
  display:block;margin:0 0 7px;padding:0;
  color:#3f4540;font-size:12px;font-weight:760;letter-spacing:.005em;
  line-height:1.4;background:transparent;
}
.auth-entry-wrap .form-stack input:not([type=checkbox]):not([type=radio]),
.auth-entry-wrap .form-stack select,
.auth-entry-wrap .form-stack textarea,
.auth-wrap.business-native-onboarding .business-setup-form input:not([type=checkbox]):not([type=radio]),
.auth-wrap.business-native-onboarding .business-setup-form select,
.auth-wrap.business-native-onboarding .business-setup-form textarea,
#org-form.hb-business-create input:not([type=checkbox]):not([type=radio]):not([type=file]),
#org-form.hb-business-create select,
#org-form.hb-business-create textarea{
  display:block;box-sizing:border-box;width:100%;max-width:100%;
  min-height:50px;border:1px solid var(--hfx-edge);border-radius:12px;
  background:#fff;color:var(--hfx-ink);
  box-shadow:0 1px 1px rgba(40,44,40,.018);
  padding:12px 14px;font-size:14px;font-weight:500;line-height:1.4;
  transition:border-color .16s ease,box-shadow .16s ease;
}
.auth-entry-wrap .form-stack textarea,
.auth-wrap.business-native-onboarding .business-setup-form textarea,
#org-form.hb-business-create textarea{min-height:100px;resize:vertical}
.auth-entry-wrap .form-stack input::placeholder,
.auth-wrap.business-native-onboarding .business-setup-form input::placeholder,
#org-form.hb-business-create input::placeholder{color:#969c96;opacity:1}
.auth-entry-wrap .form-stack :is(input,select,textarea):focus-visible,
.auth-wrap.business-native-onboarding .business-setup-form :is(input,select,textarea):focus-visible,
#org-form.hb-business-create :is(input,select,textarea):focus-visible{
  border-color:var(--hfx-accent);box-shadow:0 0 0 3px var(--hfx-ring);
  outline:0;
}
.auth-entry-wrap .form-stack .grid2{gap:14px}
.auth-entry-wrap .field small,
.auth-wrap.business-native-onboarding .business-setup-form .field small,
#org-form.hb-business-create .field small{color:var(--hfx-muted)}
.auth-entry-wrap .form-stack .primary.full,
.auth-entry-wrap #login-form .primary.full,
.auth-wrap.business-native-onboarding .business-wizard-actions>.primary,
#org-form.hb-business-create .primary{
  min-height:51px;border-radius:12px;
  background:var(--hfx-accent);color:#fff;box-shadow:0 6px 16px rgba(227,101,42,.14);
  font-weight:820;font-size:13px;letter-spacing:.015em;
}
.auth-entry-wrap :is(.primary,.auth-flow-option):focus-visible,
.auth-wrap.business-native-onboarding button:focus-visible,
#org-form.hb-business-create button:focus-visible{
  outline:3px solid rgba(227,101,42,.36);outline-offset:3px;
}
.auth-entry-wrap .auth-forgot-link{color:#9f4d24;text-decoration:none;font-weight:760}
.auth-entry-wrap .auth-forgot-link:hover{text-decoration:underline}
.auth-entry-wrap .legal-checks,
.auth-entry-wrap .legal-checks label,
.auth-entry-wrap .form-stack .legal-checks{
  padding:0;margin:0;border:0;background:transparent;box-shadow:none;
}
.auth-entry-wrap .legal-checks{display:grid;gap:12px;margin:8px 0 4px}
.auth-entry-wrap .legal-checks label{color:#4e554e;font-size:12px;line-height:1.55;align-items:start}
.auth-entry-wrap .legal-checks input[type=checkbox]{accent-color:var(--hfx-accent);margin-top:3px;flex-shrink:0}
.auth-entry-wrap .legal-checks a{color:#a64b1c;text-underline-offset:2px}
.auth-entry-wrap .auth-captcha,
.auth-entry-wrap .form-stack .auth-captcha{
  display:flex;align-items:center;justify-content:center;flex-direction:column;
  width:100%;min-width:0;max-width:100%;
  margin:5px auto;padding:0;background:none!important;border:0!important;box-shadow:none!important;
}
.auth-entry-wrap [data-auth-turnstile],
.auth-entry-wrap .auth-captcha [data-auth-turnstile]{
  display:flex!important;justify-content:center!important;align-items:center;
  width:100%;min-height:0;max-width:100%;margin:0 auto;
  background:transparent!important;border:0!important;padding:0!important;box-shadow:none!important;
}
.auth-entry-wrap [data-auth-turnstile]>div,
.auth-entry-wrap [data-auth-turnstile] iframe{
  display:block;margin-inline:auto!important;max-width:100%;
}
.auth-entry-wrap [data-auth-turnstile-status]{
  display:block;margin:6px auto 0;color:#6c746c;
  text-align:center;font-size:11px;line-height:1.45;
  background:transparent;border:0;min-height:0;
}
.auth-flow-heading{margin:0 0 23px}
.auth-flow-heading h1,.auth-entry-wrap .auth-card .auth-flow-heading h1{
  margin:5px 0 8px;color:#232621;font-size:clamp(25px,5vw,31px);
  line-height:1.12;letter-spacing:-.04em;font-weight:850;
}
.auth-flow-heading p{color:#697069;font-size:13px;line-height:1.62;max-width:48ch}
.auth-flow-kicker{color:var(--hfx-accent-deep);font-size:10px;letter-spacing:.14em;font-weight:850}
.auth-flow-option{
  padding:15px 16px;border:1px solid #e2e5df;border-radius:16px;
  background:#fff;box-shadow:0 2px 10px rgba(37,45,37,.025);gap:14px;
}
.auth-flow-option:hover,.auth-flow-option:focus-visible{
  border-color:#ed9c71;background:#fffaf6;box-shadow:0 8px 25px rgba(179,104,57,.08);
}
.auth-flow-option-icon{background:#fff0e7;border-radius:13px;font-size:23px}
.auth-flow-option-text strong{color:#252a25;font-size:15px}
.auth-flow-option-text small{color:#6e756d;font-size:12px}
.auth-flow-option-arrow{color:#c66c3c}
.auth-flow-progress{gap:7px;margin:0 0 25px}
.auth-flow-progress-item{color:#8c948c;font-size:10px;letter-spacing:.01em}
.auth-flow-step-number{background:#f1f2ee;border-color:#e1e5df;color:#79817b}
.auth-flow-progress-item.is-current .auth-flow-step-number{background:var(--hfx-accent);border-color:var(--hfx-accent)}
.auth-flow-progress-item.is-complete .auth-flow-step-number{background:#344638;border-color:#344638}
.auth-wizard-form .profile-role-option,.auth-completion-form .profile-role-option{
  background:#fff;border:1px solid #e1e4df;border-radius:12px;
}
.auth-wizard-form .profile-role-option:has(input:checked),
.auth-completion-form .profile-role-option:has(input:checked){background:#fff8f2;border-color:#df8c58}
.auth-flow-actions{margin-top:6px}
.auth-flow-actions>button,.auth-flow-text-back{min-height:44px;border-radius:11px}
.auth-entry-wrap .auth-flow-actions .secondary,
.auth-entry-wrap #business-live-signup-back{
  background:#f5f6f2;border:1px solid #e2e5df;color:#535b53;
}
.auth-business-signup .auth-flow-heading{margin:0 0 24px}
.auth-business-signup .auth-flow-progress{display:none}
.auth-business-signup .auth-business-one-step{display:grid;gap:17px}
.auth-business-signup .business-signup-password-wrap{position:relative;display:block}
.auth-business-signup .business-signup-password-wrap>input{padding-right:102px!important}
.auth-business-signup .business-signup-password-wrap>button{
  position:absolute;right:6px;top:6px;bottom:6px;
  border:0;border-radius:8px;padding:0 13px;
  color:#a45126;background:#f8f3ef;font-size:12px;min-height:0;
}
.auth-business-signup #business-live-signup-back{margin-top:17px}
.auth-business-signup #business-live-signup-error:empty{display:none}
.auth-completion-wrap .auth-completion-saved{
  background:#f8faf7;border:1px solid #e8ece5;padding:13px 15px;
  color:#59635b;border-radius:13px;
}
.auth-completion-wrap .auth-completion-progress span{background:var(--hfx-accent)}
/* Business-only post-verification setup: one editorial language, no nested
   form cards (the advantage preview is intentionally distinct). */
.auth-wrap.business-native-onboarding .business-native-onboarding-card{width:min(100%,670px)}
.auth-wrap.business-native-onboarding :is(h1,h2,h3){color:#232721}
.auth-wrap.business-native-onboarding .business-wizard-welcome,
.auth-wrap.business-native-onboarding .business-wizard-heading p{color:#687068}
.auth-wrap.business-native-onboarding .business-wizard-progress{
  padding:0;margin:10px 0 25px;border:0;border-radius:0;
  background:transparent;box-shadow:none;gap:11px;
}
.auth-wrap.business-native-onboarding .business-wizard-progress-top{color:#657066}
.auth-wrap.business-native-onboarding .business-wizard-progress-top>[data-business-step-counter]{color:#af5525}
.auth-wrap.business-native-onboarding .business-wizard-progress-track{background:#e5e9e3}
.auth-wrap.business-native-onboarding .business-wizard-progress-track>span{background:var(--hfx-accent)}
.auth-wrap.business-native-onboarding .business-wizard-progress-list li{color:#818a82}
.auth-wrap.business-native-onboarding .business-wizard-progress-list li[aria-current=step]{color:#242b24}
.auth-wrap.business-native-onboarding .business-wizard-index{border-color:#d6ddd4;color:#677368}
.auth-wrap.business-native-onboarding .business-wizard-progress-list li[aria-current=step] .business-wizard-index{
  color:#fff;background:var(--hfx-accent);border-color:var(--hfx-accent)
}
.auth-wrap.business-native-onboarding .business-wizard-progress-list li.business-wizard-done .business-wizard-index{
  color:#3c6944;border-color:#c5dac7
}
.auth-wrap.business-native-onboarding .business-wizard-eyebrow{color:var(--hfx-accent-deep)}
.auth-wrap.business-native-onboarding .business-wizard-heading h2{color:#252a25;font-size:clamp(23px,5vw,29px)}
.auth-wrap.business-native-onboarding .business-wizard-panel{animation:none}
.auth-wrap.business-native-onboarding .business-wizard-section-lead{border-color:#ecede9}
.auth-wrap.business-native-onboarding .business-wizard-section-icon{
  background:#fff0e7;color:#af5525;border-color:#f5d9c7
}
.auth-wrap.business-native-onboarding .business-wizard-section-lead :is(h3,p){color:#303930}
.auth-wrap.business-native-onboarding .business-wizard-section-lead p{color:#727970}
.auth-wrap.business-native-onboarding .business-setup-form .business-form-address{
  border:0;background:transparent;box-shadow:none;padding:0;
}
.auth-wrap.business-native-onboarding .business-setup-form .profile-location-field>label{color:#3f4540}
.auth-wrap.business-native-onboarding .business-setup-form .profile-location-option{
  background:#fff;color:#272f27;border-color:#e1e5df;
}
.auth-wrap.business-native-onboarding .business-setup-form .profile-location-option:hover{background:#fff8f2}
.auth-wrap.business-native-onboarding .business-setup-form .profile-location-state,
.auth-wrap.business-native-onboarding .business-setup-form .muted{color:#727970}
.auth-wrap.business-native-onboarding .business-setup-form .hibiker-benefit-editor{
  padding:0;margin:0;border:0;background:transparent;box-shadow:none;color:#2b302b;
}
.auth-wrap.business-native-onboarding .business-setup-form .hibiker-benefit-editor legend{
  color:#242c25;padding:0;font-size:15px;
}
.auth-wrap.business-native-onboarding .business-setup-form .hibiker-benefit-editor label{color:#3f4540}
.auth-wrap.business-native-onboarding .business-setup-form .hibiker-benefit-editor .benefit-editor-intro,
.auth-wrap.business-native-onboarding .business-setup-form .hibiker-benefit-editor .benefit-editor-tip{color:#687068}
.auth-wrap.business-native-onboarding .business-setup-form .benefit-channels>label{
  min-height:65px;background:#fff;border:1px solid #dde3da;color:#303930;
}
.auth-wrap.business-native-onboarding .business-setup-form .benefit-channels>label:has(input:checked){
  background:#fff7f0;border-color:#e69a6e;
}
.auth-wrap.business-native-onboarding .business-setup-form .benefit-channels strong{color:#242c25}
.auth-wrap.business-native-onboarding .business-setup-form .benefit-channels small{color:#727970}
.auth-wrap.business-native-onboarding .business-setup-form .benefit-online-fields{
  background:transparent;border:0;padding:11px 0 0;
}
.auth-wrap.business-native-onboarding .business-setup-form .benefit-amount-input>span{color:#875632}
.auth-wrap.business-native-onboarding .business-setup-form .business-wizard-preview{
  border:1px solid #f0d7c7;background:#fff9f5;
  box-shadow:0 6px 16px rgba(143,77,38,.035)
}
.auth-wrap.business-native-onboarding .business-setup-form .business-wizard-preview-label{color:#965229}
.auth-wrap.business-native-onboarding .business-setup-form .business-wizard-preview-value{color:#d45e23}
.auth-wrap.business-native-onboarding .business-setup-form .business-wizard-preview p{color:#69655e}
.auth-wrap.business-native-onboarding .business-setup-form .business-wizard-preview-channel{
  color:#8b522e;border-color:#e9d2c1
}
.auth-wrap.business-native-onboarding .business-setup-form .business-service-fieldset legend{color:#293229}
.auth-wrap.business-native-onboarding .business-setup-form .business-service-fieldset>p{color:#697269}
.auth-wrap.business-native-onboarding .business-setup-form .business-service-option{
  background:#fff;color:#293229;border-color:#dde3db;
}
.auth-wrap.business-native-onboarding .business-setup-form .business-service-option:has(input:checked){
  background:#fff5ee;border-color:#e89e75;
}
.auth-wrap.business-native-onboarding .business-wizard-summary{background:#f8faf7;border-color:#e5eae4}
.auth-wrap.business-native-onboarding .business-wizard-summary h3,
.auth-wrap.business-native-onboarding .business-wizard-summary-row strong{color:#253027}
.auth-wrap.business-native-onboarding .business-wizard-summary-row{border-color:#e0e5df}
.auth-wrap.business-native-onboarding .business-wizard-summary :is(p,small){color:#6c756d}
.auth-wrap.business-native-onboarding .business-wizard-summary-row button{color:#ae5124}
.auth-wrap.business-native-onboarding .business-wizard-actions{border-color:#e8ebe6}
.auth-wrap.business-native-onboarding .business-wizard-actions>.business-wizard-back,
.auth-wrap.business-native-onboarding .business-wizard-exit #business-live-logout{
  background:#f6f7f4;color:#4a574d;border-color:#e1e6df;
}
.auth-wrap.business-native-onboarding .business-wizard-inline-note,
.auth-wrap.business-native-onboarding .business-wizard-bottom-note,
.auth-wrap.business-native-onboarding .business-draft-help{color:#6c756d}
.auth-wrap.business-native-onboarding .business-wizard-exit{border-color:#e8ebe6}
.auth-wrap.business-native-onboarding .business-wizard-step-error{color:#b54422}
/* Rider + Business: the creation wizard shares exactly the same visual grammar. */
.modal-card:has(#org-form.hb-business-create){width:min(94vw,690px);max-height:min(92dvh,900px);overflow:auto}
.modal-card:has(#org-form.hb-business-create) .modal-head{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  margin-bottom:16px;border-bottom:1px solid #eaeee9;padding-bottom:15px;
}
.modal-card:has(#org-form.hb-business-create) .modal-head h3{font-size:19px;color:#263028;letter-spacing:-.025em}
#org-form.hb-business-create{display:grid;gap:19px;color:var(--hfx-ink)}
#org-form.hb-business-create .hb-create-progress{
  border:0;background:transparent;padding:0;margin:0;
  display:grid;gap:9px;
}
.hb-create-progress-top{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#6c786d;font-size:11px;font-weight:780}
.hb-create-progress-top [data-hb-create-count]{color:#ad5728}
.hb-create-track{height:5px;background:#e6eae4;border-radius:20px;overflow:hidden}
.hb-create-track>span{display:block;height:100%;width:25%;background:var(--hfx-accent);transition:width .2s ease;border-radius:20px}
.hb-create-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.hb-create-steps span{font-size:10px;color:#899189}
.hb-create-steps span[aria-current=step]{color:#a44d24;font-weight:800}
.hb-create-heading{display:grid;gap:5px;outline:0}
.hb-create-heading>span{color:#b4592d;font-size:10px;font-weight:850;letter-spacing:.12em}
.hb-create-heading h3{font-size:22px;font-weight:850;line-height:1.2;color:#283128;margin:0;letter-spacing:-.03em}
.hb-create-heading p{font-size:12px;color:#6b736b;line-height:1.55;margin:0}
#org-form.hb-business-create .hb-create-panel{display:grid;gap:16px;min-width:0}
#org-form.hb-business-create .hb-create-panel[hidden],
#org-form.hb-business-create [hidden]{display:none!important}
#org-form.hb-business-create .hb-create-panel .grid2{gap:13px}
#org-form.hb-business-create .hibiker-benefit-editor{
  padding:0;margin:0;border:0;background:transparent;
}
#org-form.hb-business-create .hibiker-benefit-editor legend{
  padding:0;font-size:15px;color:#303b31;
}
#org-form.hb-business-create .benefit-online-fields{border:0;padding:10px 0 0;background:transparent}
#org-form.hb-business-create .benefit-channels>label{
  border-color:#dee4dc;background:#fff;color:#2e3a30;
}
#org-form.hb-business-create .benefit-channels>label:has(input:checked){
  border-color:#e99e73;background:#fff8f2;
}
#org-form.hb-business-create .hb-create-summary{
  display:grid;gap:10px;border:1px solid #e2e8e0;border-radius:14px;
  padding:15px;background:#f9faf8;
}
#org-form.hb-business-create .hb-create-summary h4{font-size:14px;color:#283228;margin:0}
#org-form.hb-business-create .hb-create-summary p{font-size:12px;color:#566157;margin:0;line-height:1.5;overflow-wrap:anywhere}
#org-form.hb-business-create .hb-create-actions{display:flex;gap:10px;flex-wrap:wrap;border-top:1px solid #e7eae5;padding-top:16px}
#org-form.hb-business-create .hb-create-actions button{min-height:48px}
#org-form.hb-business-create .hb-create-actions .primary{flex:1;min-width:160px}
#org-form.hb-business-create .hb-create-actions .secondary{
  background:#f6f7f3;border:1px solid #e0e6dd;color:#4b594d;
}
#org-form.hb-business-create .hb-create-error{color:#a84022;font-size:12px;line-height:1.5;margin:0}
#org-form.hb-business-create .hb-create-error:empty{display:none}
#org-form.hb-business-create .hb-create-draft{
  display:grid;gap:6px;border-top:1px solid #eff0ec;padding-top:14px;
}
#org-form.hb-business-create .hb-create-draft small{font-size:11px;line-height:1.5;color:#748074}
#org-form.hb-business-create input[type=file]{background:transparent;max-width:100%;border:1px dashed #cbd3c9;border-radius:12px;padding:12px}
@media(max-width:540px){
  .auth-entry-wrap .auth-card,.auth-wrap.business-native-onboarding .business-native-onboarding-card{
    padding:24px 18px;border-radius:19px;width:100%;box-shadow:0 12px 33px rgba(43,45,38,.065);
  }
  .auth-entry-wrap .auth-logo{max-width:210px}
  .auth-entry-wrap .form-stack .grid2,#org-form.hb-business-create .grid2,
  .business-native-onboarding .business-form-two-col{grid-template-columns:minmax(0,1fr)}
  .auth-flow-progress-item{font-size:9px;gap:4px}
  .auth-flow-step-number{width:23px;height:23px;flex-basis:23px}
  .auth-flow-option{gap:10px;padding:12px}
  .auth-business-signup #business-live-signup-back{width:100%}
  .modal-card:has(#org-form.hb-business-create){width:min(calc(100vw - 16px),690px);max-height:94dvh}
  #org-form.hb-business-create .hb-create-heading h3{font-size:20px}
}
@media(prefers-reduced-motion:reduce){
  .auth-entry-wrap .form-stack input,.auth-entry-wrap .auth-flow-option,
  .hb-create-track>span{transition:none}
}
