
.header-studyListLinkSection,

a[href="/"].header-btn,

a[href="/"].header-viewerLink,

a[href="/"]:not(.header-brand) {

  display: none !important;

  visibility: hidden !important;

  width: 0 !important;

  margin: 0 !important;

  padding: 0 !important;

  border: 0 !important;

  overflow: hidden !important;

}

.header-brand,

a.header-brand,

.header-brand * {

  pointer-events: none !important;

  cursor: default !important;

}

/* TFS header theme: keep the viewer dark, but make the top logo bar white. */
header,
.header,
[class*="Header"],
[class*="header"] {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #1f2937 !important;
  border-bottom-color: #d1d5db !important;
}

header *,
.header *,
[class*="Header"] *,
[class*="header"] * {
  color: #1f2937 !important;
  fill: #1f2937 !important;
  stroke: #1f2937 !important;
}

header img,
.header img,
[class*="Header"] img,
[class*="header"] img {
  background: transparent !important;
}

header button,
.header button,
[class*="Header"] button,
[class*="header"] button {
  color: #1f2937 !important;
}

header button:hover,
.header button:hover,
[class*="Header"] button:hover,
[class*="header"] button:hover {
  background-color: #f3f4f6 !important;
}

/* Header background and logo visibility. Use direct backgrounds only, no overlay pseudo-elements. */
header,
.header,
[class*="Header"],
[class*="header"] {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #1f2937 !important;
  position: relative !important;
  z-index: 10 !important;
}

header::before,
.header::before,
[class*="Header"]::before,
[class*="header"]::before,
header::after,
.header::after,
[class*="Header"]::after,
[class*="header"]::after {
  display: none !important;
  content: none !important;
}

header > *,
.header > *,
[class*="Header"] > *,
[class*="header"] > * {
  position: relative !important;
  z-index: 2 !important;
}

.header-brand,
a.header-brand,
[class*="brand"],
[class*="Brand"] {
  background-color: transparent !important;
  background-image: url('/logo.png') !important;
  background-repeat: no-repeat !important;
  background-position: left center !important;
  background-size: contain !important;
  min-width: 180px !important;
  min-height: 44px !important;
  position: relative !important;
  z-index: 30 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

img[src*="logo"],
.header-brand img,
a.header-brand img,
header img,
.header img,
[class*="Header"] img,
[class*="header"] img {
  display: block !important;
  position: relative !important;
  z-index: 40 !important;
  opacity: 1 !important;
  visibility: visible !important;
  mix-blend-mode: normal !important;
  filter: none !important;
  background: transparent !important;
}

/* Give the logo enough room inside the white header band. */
header,
.header,
[class*="Header"],
[class*="header"] {
  min-height: 64px !important;
  height: 64px !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  padding-top: 6px !important;
  padding-bottom: 6px !important;
  overflow: visible !important;
}

.header-brand,
a.header-brand,
[class*="brand"],
[class*="Brand"] {
  min-height: 52px !important;
  height: 52px !important;
  background-size: auto 48px !important;
  background-position: left center !important;
}

img[src*="logo"],
.header-brand img,
a.header-brand img,
header img,
.header img,
[class*="Header"] img,
[class*="header"] img {
  max-height: 52px !important;
  height: auto !important;
  object-fit: contain !important;
}
