/* Printing, including PDFs saved from the print dialog. An estimate is the one page meant for paper:
   its sheet is already white with black ink, so printing strips what's around it. Unlayered, so these
   rules win over every layer. */
@media print {
  @page {
    margin: 0.5in;
  }

  html {
    font-size: 10pt;
  }

  body {
    background: none;
    min-height: auto;

    &::before {
      display: none;
    }
  }

  #main {
    padding: 0;
  }

  .no-print {
    display: none;
  }

  .slideshow {
    display: block;
    padding: 0;
  }

  .estimate {
    box-shadow: none;
    max-inline-size: none;
    padding: 0;
  }

  .estimate__lines tr {
    break-inside: avoid;
  }
}
