@page {
  margin: 0;
}
@media print {
  html,
  body {
    height: auto;
    overflow: visible;
    background: white;
  }
  body {
    display: block;
  }
  .app-header,
  #bookChromeBar,
  #progress,
  .settings,
  .summary,
  .sheet-title,
  .view:not(.active) {
    display: none !important;
  }
  .app-shell {
    display: block;
    height: auto;
  }
  .workspace {
    padding: 0;
    overflow: visible;
  }
  .print-preview {
    display: block;
  }
  .sheet {
    margin: 0 !important;
    box-shadow: none !important;
    border: 0 !important;
    outline: 0 !important;
    transform: none !important;
    page-break-after: always;
    break-after: page;
  }
  .sheet:last-child {
    page-break-after: auto;
    break-after: auto;
  }
}
