/* Homepage header overlay only. The previous 72px top area joins the photo;
   the lower hero edge and all following sections keep their original positions. */
html body.b123-ui.b234-public.hero407-home{padding-top:0!important}
html body.b123-ui.hero407-home #home>.hero385{margin-top:0!important;height:var(--hero407-frame-height)!important;min-height:0!important;position:relative!important}
/* Keep open search suggestions above the following service cards. */
html body.b123-ui.hero407-home #home>.hero385:has(#hero-results385:not([hidden])){z-index:4}
html body.b123-ui.hero407-home #home .hero385>.hero-photo385{height:100%!important;object-fit:cover!important;object-position:60% center!important}
html body.b123-ui.hero407-home #home .hero385 .v25heroin{position:absolute!important;inset:auto 0 18px!important;display:block!important;padding:0 24px!important;min-height:0!important;z-index:2;background:transparent!important}
html body.b123-ui.hero407-home #home .hero385 .v25herocopy{width:min(520px,100%)!important;max-width:520px!important}
html body.b123-ui.hero407-home #home .hero385 h1{font-size:clamp(22px,2.2vw,30px)!important;line-height:1.2!important;margin-bottom:12px!important;text-shadow:0 1px 5px #ffffffb3}
html body.b123-ui.hero407-home #home .hero385>header.b234-bar.hero407-nav{position:absolute!important;inset:34px auto auto 50%!important;transform:translate(-50%,-50%);display:flex!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;width:calc(100% - clamp(28px,4.4vw,64px))!important;max-width:none!important;height:auto!important;min-height:44px!important;padding:0!important;margin:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;z-index:1005!important}
html body.b123-ui.hero407-home #home .hero407-nav .b234-brand{flex:none!important;margin-right:auto!important;font-size:20px!important;text-shadow:0 1px 4px #fff}
html body.b123-ui.hero407-home #home .hero407-nav .b238-request{flex:0 1 auto!important;width:auto!important;min-height:44px!important}
html body.b123-ui.hero407-home #home .hero407-nav .b238-accounts{display:flex;gap:8px;flex:none}
html body.b123-ui.hero407-home #home .hero407-nav .b238-accounts a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 12px!important;border:1px solid #0967d8!important;border-radius:9px!important;background:#0967d8!important;color:#fff!important;text-decoration:none!important;font-size:12px!important;font-weight:600!important}
@media(max-width:700px){
 html body.b123-ui.hero407-home #home>.hero385{height:auto!important}
 html body.b123-ui.hero407-home #home .hero385>.hero-photo385{height:var(--hero407-photo-height)!important;object-fit:cover!important;object-position:60% center!important}
 html body.b123-ui.hero407-home #home .hero385 .v25heroin{position:relative!important;inset:auto!important;padding:18px!important;background:#f4f2ec!important;z-index:2}
 html body.b123-ui.hero407-home #home .hero385 .v25herocopy{width:100%!important;max-width:none!important}
 html body.b123-ui.hero407-home #home .hero385 h1{font-size:24px!important;text-shadow:none}
 html body.b123-ui.hero407-home #home .hero385>header.b234-bar.hero407-nav{width:calc(100% - 20px)!important;gap:6px!important}
 html body.b123-ui.hero407-home #home .hero407-nav .b234-brand{font-size:14px!important}
 html body.b123-ui.hero407-home #home .hero407-nav .b238-request{flex:1!important;min-width:0!important;width:auto!important;min-height:44px!important;font-size:11px!important;padding:6px!important}
 html body.b123-ui.hero407-home #home .hero407-nav .b238-accounts{display:none!important}
}

/* Keep the three marketplace actions in the phone photo's top edge. */
@media(max-width:700px){
 html body.b123-ui.hero407-home #home .hero385>header.b234-bar.hero407-nav{display:grid!important;grid-template-columns:76px repeat(3,minmax(0,1fr))!important;grid-template-rows:44px!important;inset:8px auto auto 50%!important;transform:translateX(-50%)!important;gap:4px!important;align-items:center!important}
 html body.b123-ui.hero407-home #home .hero407-nav .b234-brand{grid-area:1 / 1!important;align-self:start}
 html body.b123-ui.hero407-home #home .hero407-nav .menu386{position:absolute!important;left:0!important;top:49px!important;grid-area:auto!important}
 html body.b123-ui.hero407-home #home .hero407-nav .b238-request{grid-area:1 / 2!important;width:100%!important;white-space:normal!important;padding:4px!important;font-size:11px!important;line-height:1.15!important;height:44px!important}
 html body.b123-ui.hero407-home #home .hero407-nav nav.b238-accounts{display:contents!important}
 html body.b123-ui.hero407-home #home .hero407-nav .b238-accounts a{width:100%;min-width:0!important;white-space:normal!important;overflow-wrap:normal!important;font-size:11px!important;line-height:1.15!important;text-align:center;padding:4px!important;min-height:44px!important;height:44px!important}
 html body.b123-ui.hero407-home #home .hero407-nav .b238-accounts .b234-provider-link{grid-area:1 / 3!important}
 html body.b123-ui.hero407-home #home .hero407-nav .b238-accounts .b238-client{grid-area:1 / 4!important}
}
@media(max-width:350px){html body.b123-ui.hero407-home #home .hero407-nav .b238-accounts a,html body.b123-ui.hero407-home #home .hero407-nav .b238-request{font-size:10px!important}}
