@page {
  size: auto;
  margin: 12mm;
  @bottom-left { content: none; }
  @bottom-right { content: none; }
}

body[data-text-image-printing] > :not([data-text-image-print-sheet]) { display: none !important; }
body[data-text-image-printing] > [data-text-image-print-sheet] { display: block; }
[data-text-image-print-sheet] img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 2px);
  margin-inline: auto;
}
