/*
 * BMC V60 — viewport-fixed pill header correction.
 * Loaded after Admin custom CSS. Scope is limited to the public header,
 * its required page offset, and an optional notice strip below it.
 */
:root{
  --bmc-live-header-height:78px;
}

body.bmc-fixed-header-ready{
  padding-top:var(--bmc-live-header-height)!important;
}

.topbar.bmc-viewport-fixed,
body > .topbar{
  position:fixed!important;
  inset:0 0 auto 0!important;
  top:0!important;
  right:0!important;
  bottom:auto!important;
  left:0!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  z-index:2147483000!important;
  transform:none!important;
  translate:none!important;
  scale:none!important;
  rotate:none!important;
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
  isolation:isolate!important;
}

/* Pill remains inside the viewport and retains the existing v55 visual style. */
.topbar.bmc-viewport-fixed .topbar-inner,
body > .topbar .topbar-inner{
  position:relative!important;
  transform:none!important;
  visibility:visible!important;
  opacity:1!important;
}

/* Optional notice strip stays immediately below the fixed pill header. */
.bmc-notice-strip.bmc-below-fixed-header{
  position:sticky!important;
  top:var(--bmc-live-header-height)!important;
  z-index:2147482990!important;
}

@media (max-width:720px){
  body.bmc-fixed-header-ready{
    padding-top:var(--bmc-live-header-height)!important;
  }

  .topbar.bmc-viewport-fixed,
  body > .topbar{
    position:fixed!important;
    top:0!important;
    right:0!important;
    left:0!important;
  }
}
