html, body {
  margin: 0;
  min-height: 100%;
}

@media print {
  .mud-appbar, .mud-drawer, .no-print {
    display: none !important;
  }

  /* Printed output is always plain black-on-white, regardless of dark mode. */
  html, body, * {
    background: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
  }

  /* MudContainer/MudMainContent use flex/grid, which makes Chrome ignore forced page breaks
     on their children - switch the whole chain back to normal block flow while printing. */
  .mud-layout, .mud-main-content, .mud-container {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    max-width: none !important;
  }
}
