/* Bid2Stay 29.2.16 — Surgical Mobile Navigation and Overflow Repair.
   Owns navigation only, not booking, access, roles, payments or map engines.
   Retains 29.2.15 density flag and leaves desktop layout unchanged. */
/* Keep the decorative right-edge guest page-header glow within the panel at all widths. */
html body[data-b2s-density].b2s-guest-portal :is(.guest-head,.page-head).b2s-page-header,
html body[data-b2s-density].b2s-guest-portal .guest-head{overflow:hidden!important;min-width:0!important;}
@media (max-width:820px){
  /* Provider routes have no mobile hamburger: keep both workspace destinations
     visible in a dedicated, touch-safe second header row instead of off-screen. */
  html body[data-b2s-density].b2s-provider-portal :is(header.topbar,header.b2s-provider-topbar) :is(.topbar-inner,.b2s-provider-topbar-inner){
    display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
    column-gap:10px!important;row-gap:8px!important;align-items:center!important;
    min-width:0!important;max-width:100%!important;padding:10px 14px!important;
    box-sizing:border-box!important;
  }
  html body[data-b2s-density].b2s-provider-portal :is(header.topbar,header.b2s-provider-topbar) :is(.logo,.b2s-provider-topbar-brand){
    grid-column:1!important;grid-row:1!important;min-width:0!important;
    max-width:100%!important;margin:0!important;
  }
  html body[data-b2s-density].b2s-provider-portal :is(header.topbar,header.b2s-provider-topbar) :is(.logo,.b2s-provider-topbar-brand) img{
    display:block!important;max-width:min(100%,175px)!important;height:auto!important;object-fit:contain!important;
  }
  html body[data-b2s-density].b2s-provider-portal :is(header.topbar,header.b2s-provider-topbar) :is(.b2s2312-header-actions,.b2s-provider-topbar-actions){
    grid-column:2!important;grid-row:1!important;min-width:0!important;
    justify-self:end!important;margin:0!important;
  }
  html body[data-b2s-density].b2s-provider-portal :is(header.topbar,header.b2s-provider-topbar) nav.b2s-provider-desktop-nav{
    display:grid!important;position:static!important;visibility:visible!important;
    grid-column:1/-1!important;grid-row:2!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;min-width:0!important;max-width:100%!important;width:100%!important;
    padding:0!important;margin:0!important;box-sizing:border-box!important;
    transform:none!important;overflow:visible!important;
  }
  html body[data-b2s-density].b2s-provider-portal :is(header.topbar,header.b2s-provider-topbar) nav.b2s-provider-desktop-nav>a{
    box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:center!important;
    gap:7px!important;min-width:0!important;max-width:100%!important;width:100%!important;
    min-height:44px!important;height:auto!important;padding:8px 7px!important;
    font-size:12px!important;line-height:1.25!important;text-align:center!important;
    overflow-wrap:normal!important;word-break:normal!important;white-space:nowrap!important;
  }
  /* Mobile More menu has the same role destinations as the desktop guest header. */
  html body[data-b2s-density].b2s-guest-portal .b2s-mobile-overflow-panel{
    max-height:calc(100dvh - 105px)!important;overflow-y:auto!important;overscroll-behavior:contain;
  }
  /* Historical decorative header glow extends 84px past the container. Clip
     the decoration locally, leaving content and the rest of the page intact. */
  html body[data-b2s-density].b2s-guest-portal :is(.guest-head,.page-head).b2s-page-header,
  html body[data-b2s-density].b2s-guest-portal .guest-head{
    overflow:hidden!important;min-width:0!important;
  }
  /* The BidPoints status message inherits a no-wrap rule on older builds;
     give it room to wrap without widening Account > main. */
  html body[data-b2s-density].b2s-guest-portal #bidpoints,
  html body[data-b2s-density].b2s-guest-portal #bidpoints [data-b2s2798-guest-full]{
    box-sizing:border-box!important;min-width:0!important;max-width:100%!important;width:100%!important;
  }
  html body[data-b2s-density].b2s-guest-portal #bidpoints .b2s2798-loading{
    box-sizing:border-box!important;min-width:0!important;max-width:100%!important;
    white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;
  }
}
@media (max-width:360px){
 html body[data-b2s-density].b2s-provider-portal :is(header.topbar,header.b2s-provider-topbar) nav.b2s-provider-desktop-nav>a{
   font-size:11px!important;padding-inline:4px!important;
 }
}
