body > header.fixed:not(#main-header) {
  min-height: 64px;
  border-bottom-color: rgba(117, 118, 130, 0.14) !important;
  background: rgba(251, 248, 255, 0.9) !important;
  box-shadow: 0 1px 0 rgba(0, 12, 63, 0.02);
  -webkit-backdrop-filter: blur(18px) saturate(145%) !important;
  backdrop-filter: blur(18px) saturate(145%) !important;
}

html.dark body > header.fixed:not(#main-header) {
  border-bottom-color: rgba(255, 255, 255, 0.055) !important;
  background: rgba(2, 4, 8, 0.88) !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.018);
}

body > header.fixed:not(#main-header) > div:first-child {
  min-height: 64px;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body > header.fixed:not(#main-header) > div:first-child > div:first-child a,
body > header.fixed:not(#main-header) > div:first-child > div:first-child button {
  color: #001355 !important;
}

html.dark body > header.fixed:not(#main-header) > div:first-child > div:first-child a,
html.dark body > header.fixed:not(#main-header) > div:first-child > div:first-child button {
  color: #fbf8ff !important;
}

body > header.fixed:not(#main-header) button[class~="w-9"][class~="h-9"] {
  color: rgba(0, 19, 85, 0.5) !important;
}

html.dark body > header.fixed:not(#main-header) button[class~="w-9"][class~="h-9"] {
  color: rgba(251, 248, 255, 0.56) !important;
}

body > header.fixed:not(#main-header) button[class~="w-9"][class~="h-9"]:hover {
  color: #001355 !important;
  background: rgba(0, 19, 85, 0.055) !important;
}

html.dark body > header.fixed:not(#main-header) button[class~="w-9"][class~="h-9"]:hover {
  color: #fbf8ff !important;
  background: rgba(255, 255, 255, 0.06) !important;
}

body > header.fixed:not(#main-header) #glean-account-control {
  min-height: 2.25rem;
  padding: 0.5rem 0.78rem;
  border: 1px solid rgba(117, 118, 130, 0.18);
  border-radius: 999px;
  color: rgba(0, 19, 85, 0.62) !important;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-decoration: none;
}

html.dark body > header.fixed:not(#main-header) #glean-account-control {
  border-color: rgba(255, 255, 255, 0.09);
  color: rgba(251, 248, 255, 0.66) !important;
}

body > header.fixed:not(#main-header) #glean-account-control > i { display: none; }

body > header.fixed:not(#main-header) #glean-account-control.is-authenticated {
  width: 2.25rem;
  height: 2.25rem;
  min-height: 2.25rem;
  padding: 0;
  display: inline-grid;
  place-items: center;
  border-color: transparent;
  letter-spacing: 0;
}

body > header.fixed:not(#main-header) #glean-account-control.is-authenticated > i {
  display: block;
  font-size: 1.25rem;
}

body > header.fixed:not(#main-header) #glean-account-control.is-authenticated > [data-account-label],
body > header.fixed:not(#main-header) #glean-account-control.is-authenticated > [data-account-value] { display: none; }

body > header.fixed:not(#main-header) #mobile-menu-btn {
  border: 0;
  background: transparent;
}

body > header.fixed:not(#main-header) #mobile-nav {
  max-height: calc(100svh - 64px);
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transform: translate3d(0, -8px, 0);
  pointer-events: none;
  border-top-color: rgba(117, 118, 130, 0.12) !important;
  border-bottom: 1px solid rgba(117, 118, 130, 0.12);
  background: rgba(251, 248, 255, 0.985) !important;
  box-shadow: 0 1.4rem 3.5rem rgba(0, 12, 63, 0.11);
  -webkit-backdrop-filter: blur(22px) saturate(150%) !important;
  backdrop-filter: blur(22px) saturate(150%) !important;
  transition: opacity 180ms ease, transform 220ms ease, visibility 0s linear 220ms !important;
}

html.dark body > header.fixed:not(#main-header) #mobile-nav {
  border-top-color: rgba(255, 255, 255, 0.055) !important;
  border-bottom-color: rgba(255, 255, 255, 0.055);
  background: rgba(5, 7, 12, 0.985) !important;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.42);
}

body > header.fixed:not(#main-header) #mobile-nav.open {
  visibility: visible;
  opacity: 1;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
  transition-delay: 0s !important;
}

body > header.fixed:not(#main-header) #mobile-nav > div {
  width: min(100%, 32rem);
  margin-left: auto;
  padding: 0.75rem 1rem 1rem !important;
}

body > header.fixed:not(#main-header) #mobile-nav a,
body > header.fixed:not(#main-header) #mobile-nav button {
  min-height: 3rem;
  border-radius: 0.8rem !important;
  color: rgba(0, 19, 85, 0.72) !important;
}

html.dark body > header.fixed:not(#main-header) #mobile-nav a,
html.dark body > header.fixed:not(#main-header) #mobile-nav button {
  color: rgba(251, 248, 255, 0.72) !important;
}

body > header.fixed:not(#main-header) #mobile-nav a:hover,
body > header.fixed:not(#main-header) #mobile-nav button:hover {
  background: rgba(0, 19, 85, 0.05) !important;
}

html.dark body > header.fixed:not(#main-header) #mobile-nav a:hover,
html.dark body > header.fixed:not(#main-header) #mobile-nav button:hover {
  background: rgba(255, 255, 255, 0.055) !important;
}

@media (max-width: 767px) {
  body > header.fixed:not(#main-header) > div:first-child { padding-inline: 1rem !important; }
}

@media (min-width: 768px) {
  body > header[data-app-nav="complex"] [data-app-nav-secondary] { display: none !important; }

  body > header[data-app-nav="complex"] #mobile-menu-btn {
    display: flex !important;
    margin-left: 0.1rem;
  }

  body > header[data-app-nav="complex"] #mobile-nav {
    top: calc(100% + 0.45rem);
    right: max(1rem, calc((100vw - 80rem) / 2));
    left: auto;
    width: min(23rem, calc(100% - 2rem));
    border: 1px solid rgba(117, 118, 130, 0.14) !important;
    border-radius: 1.1rem;
    display: block !important;
    overflow: hidden auto;
  }

  html.dark body > header[data-app-nav="complex"] #mobile-nav {
    border-color: rgba(255, 255, 255, 0.07) !important;
  }

  body > header[data-app-nav="complex"] #mobile-nav > div { padding: 0.65rem !important; }
  body > header[data-app-nav="complex"] #mobile-complete-btn,
  body > header[data-app-nav="complex"] #mobile-complete-sep,
  body > header[data-app-nav="complex"] #mobile-nav #glean-account-control-mobile,
  body > header[data-app-nav="complex"] #mobile-nav button[onclick*="toggleDark"],
  body > header[data-app-nav="complex"] #mobile-nav button[onclick*="switchViewMode"] { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  body > header.fixed:not(#main-header) #mobile-nav { transition-duration: 0.01ms !important; }
}
