/* Public header contrast and theme controls. */
html[data-theme="dark"] .site > header a[href="/"] img {
  background: #ffffff !important;
  border: 0 !important;
  filter: none !important;
}

.site > header a[href="/"] img {
  max-height: 34px;
  width: auto;
  object-fit: contain;
}

img[src="/sch-logo.webp"] {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

html[data-theme="dark"] img[src="/sch-logo.webp"] {
  filter: none !important;
  background: #ffffff !important;
}

.site > header button[aria-label*="theme"],
.site > header button[aria-label*="Theme"] {
  min-width: 48px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px !important;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.site > header button[aria-label*="theme"]:hover,
.site > header button[aria-label*="Theme"]:hover {
  transform: translateY(-1px);
}

html[data-theme="dark"] .site > header button[aria-label*="theme"],
html[data-theme="dark"] .site > header button[aria-label*="Theme"] {
  background: #102d31 !important;
  border-color: #2d686d !important;
  color: #f4d35e !important;
}
