/* Print-friendly: each page becomes its own printed page */
@page {
  size: A4;
  margin: 12mm;
}

html, body{
  background: white !important;
  color: black !important;
}

.topbar, .hint{
  display:none !important;
}

.stage{
  padding: 0 !important;
}

.book-wrap{
  width: 100% !important;
  height: auto !important;
  perspective: none !important;
}

.book{
  filter: none !important;
  height: auto !important;
}

.sheet{
  position: static !important;
  transform: none !important;
  transition: none !important;
  page-break-after: always;
}

.page{
  position: static !important;
  border-radius: 0 !important;
  border: none !important;
  break-inside: avoid;
}

.page.back{
  display:none !important; /* We print one side per sheet to keep it clean */
}

/* Make columns print nicely */
.article{
  column-count: 2;
  column-gap: 22px;
}

/* Avoid splitting images awkwardly */
img{
  break-inside: avoid;
}
