/* Keep decorative backgrounds at physical y=0. Reserve the notch for controls only. */
:root{--pbb-screen-safe-top:env(safe-area-inset-top,0px)}
@media(max-width:800px){
 @layer pbb-company-controls {
  html body #site-header#site-header.cinema-header{
   inset:0 0 auto!important;height:calc(72px + var(--pbb-screen-safe-top))!important;
   padding-top:0!important;margin-top:0!important;
   background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important;
  }
  html body #site-header#site-header.cinema-header>.logo{top:calc(5px + var(--pbb-screen-safe-top))!important}
  html body #site-header#site-header.cinema-header>.tools{top:calc(15px + var(--pbb-screen-safe-top))!important}
  html body #site-header#site-header.cinema-header nav{
   inset:calc(72px + var(--pbb-screen-safe-top)) auto 0 50%!important;
   height:calc(100dvh - 72px - var(--pbb-screen-safe-top))!important;
   max-height:calc(100dvh - 72px - var(--pbb-screen-safe-top))!important;
  }
 }
}
@media(max-width:700px){
 @layer pbb-company-controls {
  html body #inventory#inventory#inventory .studio-banner-copy{top:calc(82px + var(--pbb-screen-safe-top))!important}
  html body #vehicle-detail-page .vehicle-breadcrumb>a.pbb-detail-back{top:calc(11px + var(--pbb-screen-safe-top))!important}
  html body.discovery-active #discovery#discovery .discovery-page-inner{padding-top:calc(80px + var(--pbb-screen-safe-top))!important}
  html body.vehicle-page-active,html body.vehicle-page-active>main,
  html body #vehicle-detail-page#vehicle-detail-page#vehicle-detail-page,
  html body #vehicle-detail-page#vehicle-detail-page#vehicle-detail-page>.vehicle-page-inner,
  html body #vehicle-detail-page#vehicle-detail-page#vehicle-detail-page .company-showroom-root{
   padding-top:0!important;margin-top:0!important;
  }
  html body #vehicle-detail-page .mobile-detail-scene{inset:var(--pbb-screen-safe-top) 0 0!important;overflow:visible!important}
  html body #vehicle-detail-page#vehicle-detail-page .mobile-showroom-background{inset:calc(0px - var(--pbb-screen-safe-top)) 0 0!important}
 }
}
