/* One mobile header and one complete navigation surface. Native controls stay native. */
@layer onbleu-experience {
 html[data-mobile-header-menu="1"]{--mh-safe-top:env(safe-area-inset-top,0px);--mh-safe-bottom:env(safe-area-inset-bottom,0px);--mh-header-height:64px;--mh-nav-bg:#111e32;--mh-nav-ink:#eef4ff}
 @media(max-width:860px){
  html[data-mobile-header-menu="1"]{--mh-header-height:calc(56px + var(--mh-safe-top))}
  html[data-mobile-header-menu="1"] body #shell#shell#shell{grid-template-columns:minmax(0,1fr)!important}
  html[data-mobile-header-menu="1"] body #shell#shell#shell>main{grid-column:1/-1!important;width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
  html[data-mobile-header-menu="1"] body #shell#shell#shell main>.topbar{
   display:flex!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:space-between!important;
   position:sticky!important;top:0!important;box-sizing:border-box!important;
   height:var(--mh-header-height)!important;min-height:var(--mh-header-height)!important;max-height:none!important;
   margin:0!important;padding:calc(6px + var(--mh-safe-top)) max(8px,env(safe-area-inset-right,0px)) 6px max(8px,env(safe-area-inset-left,0px))!important;gap:4px!important;
   background:var(--paper)!important;background-image:none!important;color:var(--ink)!important;
   border:0!important;border-bottom:1px solid var(--hairline)!important;border-radius:0!important;box-shadow:none!important;
   -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
  }
  html[data-mobile-header-menu="1"] body #shell#shell#shell .topbar>.topbrand{
   display:flex!important;align-items:center!important;flex:1 1 0!important;min-width:0!important;max-width:none!important;width:auto!important;height:44px!important;
   gap:4px!important;margin:0!important;padding:0!important;overflow:visible!important;
  }
  html[data-mobile-header-menu="1"] body #shell#shell#shell .topbrand>.wm{
   display:flex!important;align-items:center!important;flex:0 1 auto!important;width:clamp(76px,24vw,96px)!important;max-width:96px!important;min-width:0!important;height:24px!important;
   margin:0!important;padding:0!important;opacity:1!important;transform:none!important;visibility:visible!important;
  }
  html[data-mobile-header-menu="1"] body #shell#shell#shell .topbrand .wmsvg{width:100%!important;max-width:100%!important;height:auto!important;max-height:24px!important}
  html[data-mobile-header-menu="1"] body #shell#shell#shell .topbrand>.mc-title{display:none!important}
  html[data-mobile-header-menu="1"] body #shell#shell#shell .topbar>.shell-actions{
   display:flex!important;align-items:center!important;flex:0 0 auto!important;width:auto!important;min-width:0!important;height:44px!important;gap:0!important;margin:0!important;padding:0!important;
  }
  html[data-mobile-header-menu="1"] body #shell#shell#shell .topbar :is(.topburger,#gsToggle,#msgBtn,#bellBtn,.op-page-tools>button){
   display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 44px!important;
   width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;margin:0!important;padding:0!important;
   color:var(--ink)!important;background:transparent!important;border:0!important;border-radius:12px!important;box-shadow:none!important;filter:none!important;
  }
  html[data-mobile-header-menu="1"] body #shell#shell#shell .topbar :is(.topburger,#gsToggle,#msgBtn,#bellBtn,.op-page-tools>button)>svg{
   width:24px!important;height:24px!important;color:inherit!important;stroke-width:1.7;filter:none!important;transform:none!important;
  }
  html[data-mobile-header-menu="1"] body #shell#shell#shell .topbar .op-page-tools{flex:0 0 44px!important;width:44px!important;min-width:44px!important;margin:0!important;padding:0!important}
  html[data-mobile-header-menu="1"] body #shell#shell#shell .topbar .op-page-tools>button>span{display:none!important}
  html[data-mobile-header-menu="1"] body #shell#shell#shell .topbar :is(.topburger,#gsToggle,#msgBtn,#bellBtn,.op-page-tools>button):focus-visible{outline:2px solid var(--bleu)!important;outline-offset:-2px!important}
 }
 @media(max-width:860px),(pointer:coarse){
  html[data-mobile-header-menu="1"] body #shell#shell#shell .rail.navopen{
   display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto minmax(0,1fr) auto!important;
   position:fixed!important;inset:var(--mh-safe-top) 0 0!important;z-index:90!important;box-sizing:border-box!important;
   width:100vw!important;min-width:0!important;max-width:none!important;height:calc(100vh - var(--mh-safe-top))!important;height:calc(100dvh - var(--mh-safe-top))!important;max-height:calc(100dvh - var(--mh-safe-top))!important;
   margin:0!important;padding:0!important;gap:0!important;overflow:hidden!important;
   background:var(--mh-nav-bg)!important;background-image:none!important;color:var(--mh-nav-ink)!important;
   border:0!important;border-radius:0!important;box-shadow:none!important;transform:none!important;translate:none!important;
  }
  html[data-mobile-header-menu="1"] body #shell#shell#shell .rail.navopen>.brand{
   display:flex!important;grid-row:1!important;grid-column:1!important;align-items:center!important;justify-content:space-between!important;flex:none!important;
   position:relative!important;top:auto!important;box-sizing:border-box!important;
   min-height:60px!important;height:auto!important;max-height:none!important;
   margin:0!important;padding:8px max(12px,env(safe-area-inset-right,0px)) 8px max(16px,env(safe-area-inset-left,0px))!important;
   color:var(--mh-nav-ink)!important;background:var(--mh-nav-bg)!important;
   border:0!important;border-bottom:1px solid color-mix(in srgb,var(--mh-nav-ink) 16%,transparent)!important;border-radius:0!important;box-shadow:none!important;
  }
  html[data-mobile-header-menu="1"] body #shell#shell#shell .rail.navopen>.brand::before,
  html[data-mobile-header-menu="1"] body #shell#shell#shell .rail.navopen>.brand::after{content:none!important;display:none!important}
  html[data-mobile-header-menu="1"] body #shell#shell#shell .rail.navopen>.brand>.wm{display:flex!important;align-items:center!important;width:116px!important;max-width:calc(100% - 60px)!important;height:28px!important;margin:0!important;opacity:1!important;visibility:visible!important}
  html[data-mobile-header-menu="1"] body #shell#shell#shell .rail.navopen>.brand .wmsvg{width:116px!important;max-width:100%!important;height:auto!important}
  html[data-mobile-header-menu="1"] body #shell#shell#shell .rail.navopen>.brand .wm-l{display:none!important}
  html[data-mobile-header-menu="1"] body #shell#shell#shell .rail.navopen>.brand .wm-d{display:block!important}
  html[data-mobile-header-menu="1"] body #shell#shell#shell .rail.navopen #navBurger{
   display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 44px!important;width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;
   margin:0!important;padding:0!important;border:0!important;border-radius:12px!important;background:transparent!important;color:var(--mh-nav-ink)!important;box-shadow:none!important;
  }
  html[data-mobile-header-menu="1"] body #shell#shell#shell .rail.navopen #navBurger .baric{display:none!important}
  html[data-mobile-header-menu="1"] body #shell#shell#shell .rail.navopen #navBurger .xic{display:block!important;width:24px!important;height:24px!important;color:var(--mh-nav-ink)!important;stroke:currentColor!important;stroke-width:1.7}
  html[data-mobile-header-menu="1"] body #shell#shell#shell .rail.navopen>#nav{
   display:flex!important;flex-direction:column!important;grid-row:2!important;grid-column:1!important;min-height:0!important;max-height:none!important;height:auto!important;
   box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:none!important;margin:0!important;
   padding:8px max(12px,env(safe-area-inset-right,0px)) 12px max(12px,env(safe-area-inset-left,0px))!important;
   overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain;scroll-padding-block:8px 16px;-webkit-overflow-scrolling:touch;
  }
  html[data-mobile-header-menu="1"] body #shell#shell#shell .rail.navopen>.spacer{display:none!important}
  html[data-mobile-header-menu="1"] body #shell#shell#shell .rail.navopen>#me{
   display:block!important;grid-row:3!important;grid-column:1!important;align-self:stretch!important;position:static!important;box-sizing:border-box!important;
   width:100%!important;min-width:0!important;max-width:none!important;margin:0!important;
   padding:12px 72px max(12px,var(--mh-safe-bottom)) max(16px,env(safe-area-inset-left,0px))!important;
   background:var(--mh-nav-bg)!important;color:var(--mh-nav-ink)!important;border-top:1px solid color-mix(in srgb,var(--mh-nav-ink) 16%,transparent)!important;
  }
  html[data-mobile-header-menu="1"] body #shell#shell#shell .rail.navopen>.railtheme{
   display:flex!important;grid-row:3!important;grid-column:1!important;align-self:center!important;justify-self:end!important;position:static!important;z-index:1!important;
   width:44px!important;height:44px!important;min-height:44px!important;margin:0 max(12px,env(safe-area-inset-right,0px)) var(--mh-safe-bottom) 0!important;padding:0!important;border:0!important;
  }
  html[data-mobile-header-menu="1"] body #shell#shell#shell .rail.navopen .railthemelbl{display:none!important}
  html[data-mobile-header-menu="1"] body #shell#shell#shell .rail.navopen :is(.account-trigger,.themeBtn){min-height:44px!important;color:var(--mh-nav-ink)!important}
  html[data-mobile-header-menu="1"] body #shell#shell#shell .rail.navopen :is(button,[role=button]):focus-visible{outline:2px solid var(--mh-nav-ink)!important;outline-offset:-2px!important}
  html[data-mobile-header-menu="1"] body #shell#shell#shell:has(.rail.navopen)>main,
  html[data-mobile-header-menu="1"] body #shell#shell#shell:has(.rail.navopen)>#tabbar{visibility:hidden!important;pointer-events:none!important}
 }
 html[data-mobile-header-menu="1"] #content .viewhost.bs:has(.bs-counter-bag-top){overflow:visible!important}
 html[data-mobile-header-menu="1"] #content .bs-counter-bag-top{
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;box-sizing:border-box!important;
  padding:10px 12px!important;border:1px solid var(--hairline)!important;border-radius:8px!important;background:var(--card)!important;color:var(--ink)!important;box-shadow:0 4px 12px rgb(7 26 61 / .06)!important;
  position:sticky!important;top:calc(var(--mh-header-height) + 8px)!important;bottom:auto!important;z-index:20!important;
  margin:8px 0 16px!important;scroll-margin-top:calc(var(--mh-header-height) + 12px)!important;
 }
 html[data-mobile-header-menu="1"] #content .bs-counter-bag-top>strong{font-size:12px!important;white-space:nowrap!important}
 html[data-mobile-header-menu="1"] #content .bs-counter-bag-top .bs-actions{width:auto!important;flex:none!important;margin:0!important;gap:0!important}
 html[data-mobile-header-menu="1"] #content .bs-counter-bag-top [data-bs=bag]{min-height:44px!important;white-space:nowrap!important}
 @media(prefers-reduced-motion:reduce){html[data-mobile-header-menu="1"] #shell .rail.navopen{transition:none!important;animation:none!important}}
 @media(forced-colors:active){
  html[data-mobile-header-menu="1"] body #shell#shell#shell .rail.navopen,
  html[data-mobile-header-menu="1"] body #shell#shell#shell .rail.navopen>.brand,
  html[data-mobile-header-menu="1"] body #shell#shell#shell .rail.navopen>#me{background:Canvas!important;color:CanvasText!important;border-color:CanvasText!important}
  html[data-mobile-header-menu="1"] body #shell#shell#shell .rail.navopen :is(#navBurger,.account-trigger,.themeBtn){color:ButtonText!important}
 }
}
