/* A shared fixed header, with space reserved for its actual rendered height. */
body.persistent-navigation{padding-top:var(--navigation-height,86px)!important}
.persistent-navigation>.site-header,.persistent-navigation>.inner-header,.persistent-navigation>.portal-top,.persistent-navigation>.manual-viewer-header{position:fixed!important;inset:0 0 auto!important;width:100%!important;z-index:1000;box-sizing:border-box}
.persistent-navigation [id]{scroll-margin-top:calc(var(--navigation-height,86px) + 24px)}
.persistent-navigation>.inner-header nav.open{top:100%;max-height:calc(100dvh - var(--navigation-height,86px));overflow-y:auto}
.persistent-navigation>.manual-viewer-header~main{height:calc(100dvh - var(--navigation-height,86px))}
.persistent-navigation .login-page{min-height:calc(100dvh - var(--navigation-height,86px))}
@media(max-width:680px){body.persistent-navigation{padding-top:var(--navigation-height,74px)!important}}

/* Keep the customer-portal entry available on every page and screen size. */
.persistent-navigation header .fp-sign-in {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 6px 10px;
  flex-shrink: 0;
  white-space: nowrap;
  color: #fff;
  font-size: .875rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.persistent-navigation header .fp-sign-in:focus-visible { outline: 2px solid #f7a400; outline-offset: 3px; }
@media(max-width:680px) {
  .persistent-navigation > .inner-header,
  .persistent-navigation > .site-header {
    height: auto !important;
    grid-template-columns: minmax(0,1fr) auto !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }
  .persistent-navigation > header .inner-actions,
  .persistent-navigation > header .header-actions {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    justify-content: flex-end;
    flex-wrap: wrap !important;
  }
  .persistent-navigation > header .fp-sign-in { margin-right: auto; }
  .persistent-navigation > .portal-top,
  .persistent-navigation > .manual-viewer-header { flex-wrap: wrap; height: auto; }
}
