/* --- SCREEN STYLES --- */
/* Hide the print portal entirely on the screen so the user doesn't see double */
.host-print-portal {
  display: none;
}

/* --- PRINT STYLES --- */
@media print {
  /* 1. Hide app shell only during host-orchestrated print sessions */
  body.host-print-active #root,
  body.host-print-active .backdrop,
  body.host-print-active .modal {
    display: none !important;
  }

  /* 2. Restore header/footer within the print portal */
  body.host-print-active .host-print-portal .host-print-header {
    display: flex !important;
  }

  body.host-print-active .host-print-portal .host-print-footer {
    display: block !important;
  }

  /* 3. Show the portal content and force it to fill the page */
  body.host-print-active .host-print-portal {
    display: block !important;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    background: white;
    color: black;
  }

  /* Page setup (Standard Letter or A4) */
  /* Default to portrait - can be overridden by inline styles */
  @page {
    size: letter portrait;
    /* 1. Setting margin to 0 removes browser headers, footers, and default margins */
    margin: 0;
    /*margin: 10mm 5mm 10mm 5mm; !* Margins for page headers/footers *!*/
  }

  body {
    /* 2. Apply padding here to act as your new, clean page margins */
    padding: 1.6cm;
    background-color: #fff;
  }

  /* 4. Style the printed document */
  body.host-print-active .host-print-document {
    font-family: sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100%;
  }

  body.host-print-active .host-print-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #555;
    padding-top: 40px;
    padding-left: 1.6cm;
    padding-right: 1.6cm;
    padding-bottom: 20px;
    margin-bottom: 20px;
  }

  body.host-print-active .host-print-header .document-meta {
    text-align: right;
  }

  body.host-print-active .host-print-body {
    flex-grow: 1;
    padding: 1cm;
  }

  /* Ensure page breaks don't slice table rows in half */
  body.host-print-active tr,
  body.host-print-active .printable-section {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  /* Header row styling for print */
  body.host-print-active th {
    background-color: #f0f0f0 !important;
    -webkit-print-color-adjust: exact; /* Force browser to print background color */
    print-color-adjust: exact;
  }

  body.host-print-active img {
    -webkit-print-color-adjust: exact; /* Force browser to print background color */
    print-color-adjust: exact;
  }

  /* Fixed footer at the bottom of every printed page */
  body.host-print-active .host-print-footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    border-top: 1px solid #ccc;
    padding-top: 10px;
    font-size: 10px;
    text-align: center;
  }
}


/*# sourceMappingURL=of_platform.d5525b0de105812e136f.css.map*/