/* Keep the original bitmap intact; only its three headings are overlaid. */
html[data-theme] .capability-img.cap-mayak {
  display: block;
  container-type: size;
  padding: 0;
  background: transparent;
  transform: none;
  filter: none;
}
.mayak-card-plane {
  position: absolute;
  width: 100cqmax;
  height: 100cqmax;
  left: calc((100cqw - 100cqmax) * .5);
  top: calc((100cqh - 100cqmax) * .27);
}
.mayak-card-plane::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('mayak-windows-background-dark.png?v=20261029') center / cover no-repeat;
  filter: saturate(.55) sepia(.12) brightness(.86);
}
:root[data-theme="light"] .mayak-card-plane::before {
  background-image: url('mayak-windows-background-light.png?v=20261029');
  filter: saturate(.6) sepia(.08) contrast(.94);
}
.mayak-card-foreground { position: absolute; inset: 0; clip-path: url(#mayak-foreground-dark); }
:root[data-theme="light"] .mayak-card-foreground { clip-path: url(#mayak-foreground-light); }
.mayak-card-original, .mayak-heading-overlay { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.mayak-card-original {
  background: url('mayak-dashboard.png?v=card-fit-20261029') center / 100% 100% no-repeat;
  filter: saturate(.6) sepia(.18) contrast(.96) brightness(.94);
}
:root[data-theme="light"] .mayak-card-original {
  background-image: url('mayak-dashboard-light.png?v=card-fit-20261029');
  filter: saturate(.75) sepia(.1);
}
.mayak-heading-overlay { pointer-events: none; overflow: visible; }
.mayak-heading-overlay text { font-family: Arial, 'Segoe UI', sans-serif; font-weight: 700; }
.mayak-heading-overlay .mayak-title-search { font-family: 'Arial Narrow', Arial, sans-serif; }
.mayak-headings-light { display: none; }
:root[data-theme="light"] .mayak-headings-dark { display: none; }
:root[data-theme="light"] .mayak-headings-light { display: inline; }
