@media print {
  .print-only {
    display: block;
  }

  .print-letterhead {
    margin-bottom: var(--space-4);
    font-weight: 600;
  }

  .app-sidebar,
  .app-topbar,
  .app-footer,
  .no-print {
    display: none !important;
  }

  .app-shell {
    display: block;
  }

  .app-content {
    max-width: none;
    padding: 0;
  }

  body {
    background: var(--white);
    color: black;
  }

  /* An open invoice or quotation prints on its own: the page behind it and the dialog's buttons are left out. */
  body:has(.modal-backdrop) .app-shell {
    display: none;
  }

  .modal-backdrop {
    position: static;
    display: block;
    background: none;
  }

  .modal {
    width: 100%;
    max-width: none;
    max-height: none;
    overflow: visible;
    box-shadow: none;
  }

  .modal__actions,
  .modal [data-close] {
    display: none;
  }
}

.print-sheet__signatures {
  margin-top: var(--space-8);
}
