/* AIBuy 2026-11-10: the left brand panel on two-column auth pages (/login, /register incl. ?step=phone, /reset-password)
   keeps its own viewport-based height. Content that appears on the right (Turnstile, hints, code step, errors)
   no longer stretches it: the grid used align-items:stretch, so the row (and the left panel) grew with the form. */
@media (min-width:801px){
  html:not(#a1):not(#a2) .auth-layout-shell{--aibuy-auth-topbar:54px}
  html:not(#a1):not(#a2) .account-auth.auth-split{align-items:start}
  html:not(#a1):not(#a2) .account-auth.auth-split>.auth-promo{
    align-self:start;position:sticky;top:var(--auth-panel-inset,16px);
    height:calc(100vh - var(--auth-frame-gap,72px)*2 + var(--auth-header-height,54px) - var(--aibuy-auth-topbar,54px));
    height:calc(100dvh - var(--auth-frame-gap,72px)*2 + var(--auth-header-height,54px) - var(--aibuy-auth-topbar,54px));
    min-height:400px;max-height:none}
  html:not(#a1):not(#a2) .account-auth.auth-split>.auth-form-panel{align-self:stretch}
}
@media (min-width:901px){html:not(#a1):not(#a2) .auth-layout-shell{--aibuy-auth-topbar:56px}}
/* phone_taken / invalid number: error sits directly under the number field */
.phone-verification .phone-verification-field-error{margin:0;font-size:12px;line-height:1.6}
html:not(#a1):not(#a2) .phone-verification .phone-verification-field input[aria-invalid=true]{border-color:#c24b4b}
html:not(#a1):not(#a2) .phone-verification .phone-verification-field input[aria-invalid=true]:focus{border-color:#c24b4b;box-shadow:0 0 0 3px rgba(194,75,75,.14)}

/* AIBuy 2026-11-23: unify /login, /register, and /reset-password form heading alignment & rhythm */
html:not(#a1):not(#a2) .account-auth.auth-split .auth-form-panel .auth-form-heading{
  text-align:center;
  padding-bottom:18px;
  margin-bottom:22px;
}
html:not(#a1):not(#a2) .account-auth.auth-split .auth-form-panel .auth-form-eyebrow{
  margin:0 0 8px;
  text-align:center;
}
html:not(#a1):not(#a2) .account-auth.auth-split .auth-form-panel .auth-form-heading h1{
  margin:0 0 8px;
  text-align:center;
}
html:not(#a1):not(#a2) .account-auth.auth-split .auth-form-panel .auth-form-heading h1:last-child{
  margin-bottom:0;
}
html:not(#a1):not(#a2) .account-auth.auth-split .auth-form-panel .auth-form-heading > p:last-child{
  text-align:center;
}
