/*
 * Authentication stability layer v235.
 * One final owner for registration/login geometry. Loaded after all auth bundles.
 */

html body.bu-auth-chrome{
  --bu235-ink:#082f49;
  --bu235-muted:#5d7888;
  --bu235-line:#cfe2e9;
  --bu235-paper:#f8fcfd;
  --bu235-mint:#12bfa4;
  --bu235-blue:#1688e6;
}
html:has(> body.bu-auth-chrome){
  height:auto!important;
  min-height:100%!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
}
html body.bu-auth-chrome{
  height:auto!important;
  min-height:100dvh!important;
  overflow-x:hidden!important;
  overflow-y:visible!important;
}
html body.bu-auth-chrome main.bu-join-wrap{
  width:min(100% - 32px,1240px)!important;
  max-width:1240px!important;
  margin:34px auto 56px!important;
  padding:0!important;
}
html body.bu-auth-chrome .bu-reg-stage-wrap{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  border:1px solid rgba(130,181,198,.42)!important;
  border-radius:28px!important;
  background:linear-gradient(155deg,rgba(255,255,255,.99),rgba(243,250,252,.98))!important;
  box-shadow:0 28px 72px rgba(5,45,67,.13)!important;
  overflow:hidden!important;
}
html body.bu-auth-chrome .bu-reg-stage{
  width:100%!important;
  max-width:none!important;
  display:block!important;
}
html body.bu-auth-chrome .bu-reg-rail{
  position:relative!important;
  top:auto!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  min-height:64px!important;
  width:100%!important;
  padding:11px 16px!important;
  border:0!important;
  border-bottom:1px solid var(--bu235-line)!important;
  border-radius:0!important;
  background:rgba(246,251,253,.96)!important;
  box-shadow:none!important;
}
html body.bu-auth-chrome .bu-reg-progress{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  margin:0!important;
  padding:0!important;
}
html body.bu-auth-chrome .bu-reg-jump{
  min-height:40px!important;
  border-radius:13px!important;
}
html body.bu-auth-chrome .bu-join-card{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  padding:24px clamp(18px,3vw,36px) 30px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
html body.bu-auth-chrome .bu-auth-paths-wrap{
  width:100%!important;
  max-width:none!important;
  margin:0 0 22px!important;
  padding:22px!important;
  border:1px solid #c9e1e8!important;
  border-radius:22px!important;
  background:
    radial-gradient(circle at 88% 4%,rgba(36,199,177,.12),transparent 30%),
    linear-gradient(145deg,#fbfeff,#eff8fb)!important;
  box-shadow:0 14px 34px rgba(10,70,93,.08)!important;
}
html body.bu-auth-chrome .bu-auth-paths-head{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr)!important;
  align-items:end!important;
  gap:5px 14px!important;
  margin:0 0 16px!important;
}
html body.bu-auth-chrome .bu-auth-paths-head>span{
  grid-column:1!important;
  grid-row:1 / span 2!important;
  align-self:center!important;
  padding:7px 10px!important;
  border-radius:999px!important;
  background:#e4faf5!important;
  color:#078f79!important;
  font-size:9px!important;
  letter-spacing:.12em!important;
  white-space:nowrap!important;
}
html body.bu-auth-chrome .bu-auth-paths-head h2{
  grid-column:2!important;
  margin:0!important;
  color:var(--bu235-ink)!important;
  font-size:clamp(23px,2.25vw,34px)!important;
  line-height:1.03!important;
  letter-spacing:-.04em!important;
}
html body.bu-auth-chrome .bu-auth-paths-head p{
  grid-column:2!important;
  margin:0!important;
  color:var(--bu235-muted)!important;
  font-size:13px!important;
  line-height:1.45!important;
}
html body.bu-auth-chrome .bu-auth-pick{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:10px!important;
  width:100%!important;
}
html body.bu-auth-chrome .bu-auth-pick>a{
  min-width:0!important;
  min-height:94px!important;
  padding:15px!important;
  border:1px solid #cfe1e8!important;
  border-radius:17px!important;
  background:#fff!important;
  box-shadow:0 8px 20px rgba(8,55,76,.06)!important;
}
html body.bu-auth-chrome .bu-auth-pick>a.is-on{
  border-color:#13bda3!important;
  background:linear-gradient(145deg,#f7fffd,#e7faf6)!important;
  box-shadow:0 12px 28px rgba(17,181,156,.13),inset 4px 0 #13bda3!important;
}
html body.bu-auth-chrome .bu-auth-pick>a svg{
  flex:0 0 38px!important;
  width:38px!important;
  height:38px!important;
  padding:9px!important;
  border-radius:13px!important;
  background:#eaf7fb!important;
  color:#0b9ac5!important;
}
html body.bu-auth-chrome .bu-auth-pick>a span{
  min-width:0!important;
}
html body.bu-auth-chrome .bu-auth-pick>a strong{
  display:block!important;
  color:var(--bu235-ink)!important;
  font-size:14px!important;
  line-height:1.2!important;
}
html body.bu-auth-chrome .bu-auth-pick>a small{
  display:block!important;
  margin-top:5px!important;
  color:var(--bu235-muted)!important;
  font-size:10px!important;
  line-height:1.35!important;
}
html body.bu-auth-chrome .bu-auth-pick-note,
html body.bu-auth-chrome .bu-join-lead{
  width:100%!important;
  max-width:900px!important;
  margin:0 0 18px!important;
  color:#4f7081!important;
  font-size:13px!important;
  line-height:1.55!important;
}
html body.bu-auth-chrome form[data-reg-form]{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
html body.bu-auth-chrome [data-reg-pane="data"].is-on{
  display:block!important;
  width:100%!important;
}
html body.bu-auth-chrome [data-reg-data="firm"]:not([hidden]),
html body.bu-auth-chrome [data-reg-data="driver"]:not([hidden]){
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(310px,360px)!important;
  column-gap:28px!important;
  row-gap:16px!important;
  align-items:start!important;
  width:100%!important;
}
html body.bu-auth-chrome [data-reg-data]>:is(.bu-kicker,.bu-reg-fast-title,.bu-reg-fast-lead){
  grid-column:1 / -1!important;
}
html body.bu-auth-chrome .bu-reg-fast-title{
  max-width:900px!important;
  margin:0!important;
  color:#062f4a!important;
  font-size:clamp(34px,4vw,56px)!important;
  line-height:.98!important;
  letter-spacing:-.055em!important;
}
html body.bu-auth-chrome .bu-reg-fast-lead{
  max-width:760px!important;
  margin:0 0 6px!important;
  color:#597485!important;
  font-size:15px!important;
  line-height:1.55!important;
}
html body.bu-auth-chrome [data-reg-data]>.bu-reg-core-set,
html body.bu-auth-chrome [data-reg-data]>.bu-reg-optional,
html body.bu-auth-chrome [data-reg-data]>.bu-reg-set:not(.bu-reg-core-set){
  grid-column:1!important;
}
html body.bu-auth-chrome [data-reg-data]>.bu-intl-billing-context,
html body.bu-auth-chrome [data-reg-data]>.bu-reg-fast-legal,
html body.bu-auth-chrome [data-reg-data]>.bu-reg-email-verify{
  grid-column:2!important;
}
html body.bu-auth-chrome .bu-reg-set,
html body.bu-auth-chrome .bu-reg-optional{
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:18px!important;
  border:1px solid var(--bu235-line)!important;
  border-radius:19px!important;
  background:#fff!important;
  box-shadow:0 10px 26px rgba(9,62,84,.055)!important;
}
html body.bu-auth-chrome .bu-reg-optional{
  padding:0!important;
  overflow:visible!important;
}
html body.bu-auth-chrome .bu-reg-optional>summary{
  min-height:60px!important;
  padding:14px 18px!important;
  border-radius:18px!important;
}
html body.bu-auth-chrome .bu-reg-optional[open]>fieldset{
  border:0!important;
  border-top:1px solid var(--bu235-line)!important;
  border-radius:0 0 18px 18px!important;
  box-shadow:none!important;
}
html body.bu-auth-chrome .bu-reg-grid,
html body.bu-auth-chrome .bu-reg-core-grid,
html body.bu-auth-chrome .bu-reg-grid-login{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:14px!important;
  width:100%!important;
  min-width:0!important;
}
html body.bu-auth-chrome .bu-reg-grid>label,
html body.bu-auth-chrome .bu-reg-core-grid>label,
html body.bu-auth-chrome .bu-reg-grid-login>label{
  min-width:0!important;
  color:#163f54!important;
  font-size:11px!important;
  font-weight:850!important;
}
html body.bu-auth-chrome :is(.bu-reg-form,.bu-login-form) :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea){
  width:100%!important;
  min-width:0!important;
  min-height:50px!important;
  padding:0 13px!important;
  border:1px solid #c5dbe4!important;
  border-radius:12px!important;
  background:#fff!important;
  color:#0b344d!important;
  font-size:14px!important;
  box-shadow:inset 0 1px 2px rgba(5,49,69,.025)!important;
}
html body.bu-auth-chrome :is(.bu-reg-form,.bu-login-form) :is(input,select,textarea):focus{
  border-color:#159ed2!important;
  outline:3px solid rgba(21,158,210,.13)!important;
  outline-offset:1px!important;
  box-shadow:0 0 0 1px rgba(21,158,210,.08)!important;
}
html body.bu-auth-chrome .bu-phone{
  display:grid!important;
  grid-template-columns:minmax(118px,.75fr) minmax(0,1.25fr)!important;
  gap:8px!important;
}
html body.bu-auth-chrome .bu-pass{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:7px!important;
}
html body.bu-auth-chrome .bu-pass-toggle{
  min-width:74px!important;
  min-height:50px!important;
  border:1px solid #c5dbe4!important;
  border-radius:12px!important;
  background:#f6fbfd!important;
  color:#18516c!important;
  font-weight:850!important;
}
html body.bu-auth-chrome .bu-intl-billing-context{
  position:sticky!important;
  top:90px!important;
  width:100%!important;
  margin:0!important;
  padding:20px!important;
  border:1px solid #bfe2e6!important;
  border-radius:21px!important;
  background:
    radial-gradient(circle at 100% 0,rgba(96,91,238,.14),transparent 36%),
    linear-gradient(145deg,#edfff9,#f3f4ff)!important;
  box-shadow:0 18px 40px rgba(20,91,112,.1)!important;
}
html body.bu-auth-chrome .bu-intl-billing-grid{
  grid-template-columns:1fr!important;
  gap:10px!important;
}
html body.bu-auth-chrome .bu-reg-fast-legal{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:8px!important;
  width:100%!important;
  margin:0!important;
  padding:15px!important;
  border:1px solid var(--bu235-line)!important;
  border-radius:18px!important;
  background:#fff!important;
}
html body.bu-auth-chrome .bu-check{
  display:grid!important;
  grid-template-columns:22px minmax(0,1fr)!important;
  align-items:start!important;
  gap:9px!important;
  min-width:0!important;
  padding:9px!important;
  border-radius:11px!important;
  color:#345e72!important;
  font-size:11px!important;
  line-height:1.45!important;
}
html body.bu-auth-chrome .bu-check input{
  width:19px!important;
  height:19px!important;
  margin:0!important;
  accent-color:#0bb79a!important;
}
html body.bu-auth-chrome .bu-reg-email-verify{
  display:flex!important;
  align-items:flex-start!important;
  gap:10px!important;
  width:100%!important;
  margin:0!important;
  padding:13px!important;
  border:1px solid #b9ddf1!important;
  border-radius:15px!important;
  background:#eff9ff!important;
  color:#255b76!important;
  font-size:11px!important;
  line-height:1.45!important;
}
html body.bu-auth-chrome [data-reg-pane="data"]>.bu-reg-wiz-nav{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(260px,390px)!important;
  align-items:center!important;
  gap:16px!important;
  width:100%!important;
  margin:22px 0 0!important;
  padding:17px 0 0!important;
  border-top:1px solid var(--bu235-line)!important;
}
html body.bu-auth-chrome .bu-reg-submit-copy{
  margin:0!important;
  color:#496c7e!important;
  font-size:12px!important;
  line-height:1.45!important;
}
html body.bu-auth-chrome .bu-reg-submit{
  min-height:54px!important;
  border:0!important;
  border-radius:15px!important;
  background:linear-gradient(105deg,#1478ed,#5b4ce9 56%,#08af91)!important;
  color:#fff!important;
  font-weight:900!important;
  box-shadow:0 14px 30px rgba(30,94,213,.22)!important;
}
html body.bu-auth-chrome .bu-reg-submit[aria-busy="true"]{
  opacity:.78!important;
  cursor:progress!important;
}
html body.bu-auth-chrome .bu-reg-submit-status{
  min-height:20px!important;
  color:#9b3045!important;
  font-size:12px!important;
}
html body.bu-auth-chrome .bu-auth-foot{
  width:100%!important;
  max-width:none!important;
}

/* Account creation is a short, explicit transaction with a visible state. */
html body.bu-auth-chrome #bu-load.bu-load:not([hidden]){
  position:fixed!important;
  inset:0!important;
  z-index:2147483000!important;
  display:grid!important;
  place-items:center!important;
  padding:20px!important;
  background:rgba(4,30,47,.74)!important;
  backdrop-filter:blur(7px)!important;
  -webkit-backdrop-filter:blur(7px)!important;
}
html body.bu-auth-chrome #bu-load .bu-load-card{
  width:min(100%,420px)!important;
  min-height:250px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:18px!important;
  padding:30px 28px!important;
  border:1px solid rgba(137,220,225,.7)!important;
  border-radius:26px!important;
  background:
    radial-gradient(circle at 84% 4%,rgba(62,94,240,.16),transparent 34%),
    linear-gradient(150deg,#ffffff,#effbfa)!important;
  box-shadow:0 34px 100px rgba(0,16,29,.42)!important;
  color:#07334b!important;
  text-align:center!important;
}
html body.bu-auth-chrome #bu-load .bu-load-logo-wrap{
  width:76px!important;
  height:76px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:22px!important;
  background:linear-gradient(145deg,#063d5c,#0aa996)!important;
  box-shadow:0 16px 30px rgba(8,105,123,.24)!important;
  overflow:hidden!important;
}
html body.bu-auth-chrome #bu-load .bu-load-logo{
  width:64px!important;
  height:64px!important;
  object-fit:contain!important;
}
html body.bu-auth-chrome #bu-load .bu-brand-inline-copy{
  display:none!important;
}
html body.bu-auth-chrome #bu-load .bu-load-msg{
  margin:0!important;
  color:#07334b!important;
  font-size:21px!important;
  font-weight:900!important;
  line-height:1.2!important;
  letter-spacing:-.025em!important;
}
html body.bu-auth-chrome #bu-load .bu-load-msg::after{
  content:attr(data-auth-note)!important;
  display:block!important;
  max-width:320px!important;
  margin:8px auto 0!important;
  color:#597989!important;
  font-size:12px!important;
  font-weight:650!important;
  line-height:1.5!important;
  letter-spacing:0!important;
}
html body.bu-auth-chrome #bu-load .bu-load-bar{
  width:min(100%,290px)!important;
  height:8px!important;
  border-radius:999px!important;
  background:#d8e9ee!important;
  overflow:hidden!important;
}
html body.bu-auth-chrome #bu-load .bu-load-bar i{
  display:block!important;
  width:42%!important;
  height:100%!important;
  border-radius:inherit!important;
  background:linear-gradient(90deg,#09b99c,#178bea,#665cf0)!important;
  animation:bu235Load 1.15s ease-in-out infinite alternate!important;
}
@keyframes bu235Load{from{transform:translateX(-18%)}to{transform:translateX(155%)}}

@media (max-width:1080px){
  html body.bu-auth-chrome .bu-auth-pick{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html body.bu-auth-chrome [data-reg-data="firm"]:not([hidden]),
  html body.bu-auth-chrome [data-reg-data="driver"]:not([hidden]){
    grid-template-columns:minmax(0,1fr) minmax(280px,320px)!important;
    gap:20px!important;
  }
}
@media (max-width:900px){
  html body.bu-auth-chrome main.bu-join-wrap{
    width:min(100% - 20px,760px)!important;
    margin:18px auto 36px!important;
  }
  html body.bu-auth-chrome .bu-join-card{padding:16px 14px 24px!important}
  html body.bu-auth-chrome [data-reg-data="firm"]:not([hidden]),
  html body.bu-auth-chrome [data-reg-data="driver"]:not([hidden]){
    grid-template-columns:minmax(0,1fr)!important;
  }
  html body.bu-auth-chrome [data-reg-data]>*{grid-column:1!important}
  html body.bu-auth-chrome .bu-intl-billing-context{position:relative!important;top:auto!important}
  html body.bu-auth-chrome [data-reg-pane="data"]>.bu-reg-wiz-nav{grid-template-columns:1fr!important}
}
@media (max-width:620px){
  html body.bu-auth-chrome main.bu-join-wrap{
    width:100%!important;
    margin:8px 0 26px!important;
    padding:0 7px!important;
  }
  html body.bu-auth-chrome .bu-reg-stage-wrap{border-radius:20px!important}
  html body.bu-auth-chrome .bu-reg-rail{
    min-height:54px!important;
    padding:7px 9px!important;
    overflow-x:auto!important;
  }
  html body.bu-auth-chrome .bu-reg-jump{min-height:36px!important;padding:0 10px!important}
  html body.bu-auth-chrome .bu-join-card{padding:10px 9px 20px!important}
  html body.bu-auth-chrome .bu-auth-paths-wrap{padding:14px 11px!important;border-radius:18px!important}
  html body.bu-auth-chrome .bu-auth-paths-head{
    display:block!important;
    margin-bottom:12px!important;
  }
  html body.bu-auth-chrome .bu-auth-paths-head>span{display:inline-flex!important;margin-bottom:7px!important}
  html body.bu-auth-chrome .bu-auth-paths-head h2{font-size:23px!important}
  html body.bu-auth-chrome .bu-auth-paths-head p{margin-top:5px!important;font-size:11px!important}
  html body.bu-auth-chrome .bu-auth-pick{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }
  html body.bu-auth-chrome .bu-auth-pick>a{
    display:grid!important;
    grid-template-columns:32px minmax(0,1fr)!important;
    align-items:center!important;
    gap:8px!important;
    min-height:88px!important;
    padding:10px 8px!important;
  }
  html body.bu-auth-chrome .bu-auth-pick>a svg{
    grid-column:1!important;
    width:32px!important;
    height:32px!important;
    padding:7px!important;
  }
  html body.bu-auth-chrome .bu-auth-pick>a span{grid-column:2!important}
  html body.bu-auth-chrome .bu-auth-pick>a strong{font-size:11px!important;line-height:1.15!important}
  html body.bu-auth-chrome .bu-auth-pick>a small{
    display:-webkit-box!important;
    margin-top:4px!important;
    overflow:hidden!important;
    font-size:8px!important;
    line-height:1.3!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:2!important;
  }
  html body.bu-auth-chrome .bu-reg-fast-title{font-size:30px!important;line-height:1.02!important}
  html body.bu-auth-chrome .bu-reg-fast-lead{font-size:13px!important}
  html body.bu-auth-chrome .bu-reg-set,
  html body.bu-auth-chrome .bu-intl-billing-context{padding:14px!important;border-radius:16px!important}
  html body.bu-auth-chrome .bu-reg-grid,
  html body.bu-auth-chrome .bu-reg-core-grid,
  html body.bu-auth-chrome .bu-reg-grid-login{grid-template-columns:1fr!important}
  html body.bu-auth-chrome .bu-span-2{grid-column:1!important}
  html body.bu-auth-chrome .bu-phone{grid-template-columns:118px minmax(0,1fr)!important}
  html body.bu-auth-chrome .bu-reg-submit{width:100%!important}
  html body.bu-auth-chrome #bu-load.bu-load:not([hidden]){
    padding:14px!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
  }
  html body.bu-auth-chrome #bu-load .bu-load-card{
    min-height:228px!important;
    padding:24px 20px!important;
    border-radius:22px!important;
  }
  html body.bu-auth-chrome #bu-load .bu-load-msg{font-size:18px!important}
}

@media (max-width:340px){
  html body.bu-auth-chrome .bu-auth-pick>a{
    grid-template-columns:28px minmax(0,1fr)!important;
    gap:6px!important;
    min-height:84px!important;
    padding:8px 6px!important;
  }
  html body.bu-auth-chrome .bu-auth-pick>a svg{width:28px!important;height:28px!important;padding:6px!important}
  html body.bu-auth-chrome .bu-auth-pick>a strong{font-size:10px!important}
  html body.bu-auth-chrome .bu-auth-pick>a small{font-size:7.5px!important}
}

/*
 * Historical auth bundles contain highly-specific two-column rules. This
 * closing block intentionally outranks them so the desktop registration form
 * uses the whole card instead of being squeezed into its old left column.
 */
@media (min-width:901px){
  html body.bu-auth-chrome main.bu-join-wrap.bu-join-reg .bu-reg-stage-wrap .bu-reg-stage .bu-join-card{
    display:block!important;
    grid-template-columns:none!important;
    width:100%!important;
    max-width:none!important;
  }
  html body.bu-auth-chrome main.bu-join-wrap.bu-join-reg .bu-join-card form[data-reg-form]{
    display:block!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
  }
  html body.bu-auth-chrome main.bu-join-wrap.bu-join-reg .bu-join-card form[data-reg-form] [data-reg-pane="data"].is-on{
    display:block!important;
    width:100%!important;
    max-width:none!important;
  }
  html body.bu-auth-chrome main.bu-join-wrap.bu-join-reg .bu-join-card form[data-reg-form] [data-reg-data="firm"]:not([hidden]),
  html body.bu-auth-chrome main.bu-join-wrap.bu-join-reg .bu-join-card form[data-reg-form] [data-reg-data="driver"]:not([hidden]){
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(320px,360px)!important;
    grid-template-areas:
      "kicker kicker"
      "title title"
      "lead lead"
      "core billing"
      "optional billing"
      "login legal"
      "login verify"!important;
    column-gap:28px!important;
    row-gap:16px!important;
    width:100%!important;
    max-width:none!important;
  }
  html body.bu-auth-chrome main.bu-join-wrap.bu-join-reg .bu-join-card form[data-reg-form] [data-reg-data]>:is(.bu-kicker,.bu-reg-fast-title,.bu-reg-fast-lead){
    grid-column:auto!important;
    grid-row:auto!important;
  }
  html body.bu-auth-chrome main.bu-join-wrap.bu-join-reg .bu-join-card form[data-reg-form] [data-reg-data]>.bu-kicker{grid-area:kicker!important}
  html body.bu-auth-chrome main.bu-join-wrap.bu-join-reg .bu-join-card form[data-reg-form] [data-reg-data]>.bu-reg-fast-title{grid-area:title!important}
  html body.bu-auth-chrome main.bu-join-wrap.bu-join-reg .bu-join-card form[data-reg-form] [data-reg-data]>.bu-reg-fast-lead{grid-area:lead!important}
  html body.bu-auth-chrome main.bu-join-wrap.bu-join-reg .bu-join-card form[data-reg-form] [data-reg-data]>.bu-reg-core-set,
  html body.bu-auth-chrome main.bu-join-wrap.bu-join-reg .bu-join-card form[data-reg-form] [data-reg-data]>.bu-reg-optional,
  html body.bu-auth-chrome main.bu-join-wrap.bu-join-reg .bu-join-card form[data-reg-form] [data-reg-data]>.bu-reg-set:not(.bu-reg-core-set){
    grid-column:auto!important;
    grid-row:auto!important;
  }
  html body.bu-auth-chrome main.bu-join-wrap.bu-join-reg .bu-join-card form[data-reg-form] [data-reg-data]>.bu-reg-core-set{grid-area:core!important}
  html body.bu-auth-chrome main.bu-join-wrap.bu-join-reg .bu-join-card form[data-reg-form] [data-reg-data]>.bu-reg-optional{grid-area:optional!important}
  html body.bu-auth-chrome main.bu-join-wrap.bu-join-reg .bu-join-card form[data-reg-form] [data-reg-data]>.bu-reg-set:not(.bu-reg-core-set){grid-area:login!important}
  html body.bu-auth-chrome main.bu-join-wrap.bu-join-reg .bu-join-card form[data-reg-form] [data-reg-data]>.bu-intl-billing-context,
  html body.bu-auth-chrome main.bu-join-wrap.bu-join-reg .bu-join-card form[data-reg-form] [data-reg-data]>.bu-reg-fast-legal,
  html body.bu-auth-chrome main.bu-join-wrap.bu-join-reg .bu-join-card form[data-reg-form] [data-reg-data]>.bu-reg-email-verify{
    grid-column:auto!important;
    grid-row:auto!important;
  }
  html body.bu-auth-chrome main.bu-join-wrap.bu-join-reg .bu-join-card form[data-reg-form] [data-reg-data]>.bu-intl-billing-context{grid-area:billing!important}
  html body.bu-auth-chrome main.bu-join-wrap.bu-join-reg .bu-join-card form[data-reg-form] [data-reg-data]>.bu-reg-fast-legal{grid-area:legal!important}
  html body.bu-auth-chrome main.bu-join-wrap.bu-join-reg .bu-join-card form[data-reg-form] [data-reg-data]>.bu-reg-email-verify{grid-area:verify!important}
  html body.bu-auth-chrome main.bu-join-wrap.bu-join-reg .bu-join-card form[data-reg-form] [data-reg-pane="data"]>.bu-reg-wiz-nav{
    width:100%!important;
    max-width:none!important;
  }
}

/* Final phone owner: keep the choice step visible without burying the form. */
@media (max-width:620px){
  /* The legacy registration bundle keeps a desktop two-track grid alive on
     phones. Make the actual company/driver form a single readable flow. */
  html body.bu-auth-chrome main.bu-join-wrap.bu-join-reg .bu-join-card form[data-reg-form] [data-reg-data="firm"]:not([hidden]),
  html body.bu-auth-chrome main.bu-join-wrap.bu-join-reg .bu-join-card form[data-reg-form] [data-reg-data="driver"]:not([hidden]){
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:14px!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
  }
  html body.bu-auth-chrome main.bu-join-wrap.bu-join-reg .bu-join-card form[data-reg-form] [data-reg-data]:not([hidden])>:not(input[type="hidden"]){
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    grid-column:auto!important;
    grid-row:auto!important;
  }
  html body.bu-auth-chrome main.bu-join-wrap .bu-join-card section.bu-auth-paths-wrap nav.bu-auth-pick.bu-auth-paths{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
    width:100%!important;
    height:auto!important;
  }
  html body.bu-auth-chrome main.bu-join-wrap .bu-join-card section.bu-auth-paths-wrap nav.bu-auth-pick.bu-auth-paths>a{
    display:grid!important;
    grid-template-columns:32px minmax(0,1fr)!important;
    align-items:center!important;
    gap:8px!important;
    width:100%!important;
    min-width:0!important;
    min-height:88px!important;
    height:auto!important;
    padding:10px 8px!important;
  }
  html body.bu-auth-chrome main.bu-join-wrap .bu-join-card section.bu-auth-paths-wrap nav.bu-auth-pick.bu-auth-paths>a svg{
    grid-column:1!important;
    width:32px!important;
    height:32px!important;
    padding:7px!important;
  }
  html body.bu-auth-chrome main.bu-join-wrap .bu-join-card section.bu-auth-paths-wrap nav.bu-auth-pick.bu-auth-paths>a span{
    grid-column:2!important;
    min-width:0!important;
  }
  html body.bu-auth-chrome main.bu-join-wrap .bu-join-card section.bu-auth-paths-wrap nav.bu-auth-pick.bu-auth-paths>a strong{
    font-size:11px!important;
    line-height:1.15!important;
  }
  html body.bu-auth-chrome main.bu-join-wrap .bu-join-card section.bu-auth-paths-wrap nav.bu-auth-pick.bu-auth-paths>a small{
    display:-webkit-box!important;
    margin-top:4px!important;
    overflow:hidden!important;
    font-size:8px!important;
    line-height:1.3!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:2!important;
  }
}

