/* Use transparent black/white assets instead of relying on blend compositing. */
:where(img[data-fs-brand], img[src*="/v20261116-brand-mark/brand-logo"], img[src*="/v20261116-adaptive-logo/dark-logo.png"], img[src*="/v20261116-adaptive-logo/light-logo.png"]) {
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  object-fit: contain !important;
  mix-blend-mode: normal !important;
  filter: none !important;
}
/* Keep the old mobile source visible while the shared theme script initializes. */
img[src*="/v20261116-brand-mark/brand-logo.png"]:not([data-fs-brand]) { filter: brightness(0) !important; }
:where(.dark, [data-theme="dark"]) img[src*="/v20261116-brand-mark/brand-logo.png"]:not([data-fs-brand]) { filter: none !important; }
#app .brand :is(img[data-fs-brand], img[src*="/v20261116-brand-mark/brand-logo"]) {
  display: inline-block;
  width: min(272px, 78vw);
  height: auto;
  max-width: 100%;
  max-height: none;
}
#app .hdr :is(img[data-fs-brand], img[src*="/v20261116-brand-mark/brand-logo"]) {
  display: block;
  width: 124px;
  height: auto;
  max-height: none;
}
.fs-link-thumbnail {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  border: 0;
  pointer-events: none;
}
@media (max-width: 360px) {
  #app .hdr :is(img[data-fs-brand], img[src*="/v20261116-brand-mark/brand-logo"]) { width: 108px; }
}
@media print {
  img[data-fs-brand] { filter: brightness(0) !important; }
}
