.landau-content {
  overflow-wrap: anywhere;
}

.landau-content .eq-block,
.landau-content figure,
.landau-content .ch-header {
  break-inside: avoid-column;
}

.landau-content h1,
.landau-content h2,
.landau-content h3 {
  break-after: avoid-column;
}

.landau-content .eq-math {
  overscroll-behavior-inline: contain;
  text-align: safe center;
}

.landau-content .eq-math svg {
  max-width: none;
}

.landau-content .epub-table {
  max-width: 100%;
}

.landau-content .cover-wrap img {
  max-width: min(100%, 285px);
  max-height: calc(var(--reader-page-height, 740px) * 0.67);
  object-fit: contain;
}

.landau-content .zoomable {
  cursor: zoom-in;
}

.landau-content a {
  color: var(--accent);
}

.reader-paged .landau-content .epub-table {
  max-height: calc(var(--reader-page-height, 600px) * 0.73);
  overflow: auto;
  break-inside: avoid-column;
}

[data-theme="dark"] .landau-content :is(.line-art, .eq-fallback-img, .math-inline-img) {
  filter: invert(0.92) hue-rotate(180deg);
}
