/* Foreground text, not a background image: also prints with backgrounds disabled.
 * The fixed layer is a direct child of the print surface, never a page child.
 * Paged-media engines repeat it on every physical page, including overflow.
 * Standalone PNG keeps its embedded watermark. Only the printable raster omits
 * that extra centered mark, because this page layer already covers it. */
.ems-zp-printWatermark { display: none; }

@media print {
  body.ems-zp-printing,
  body.ems-zp-printing .ems-zp-printSurface {
    transform: none !important;
    filter: none !important;
    perspective: none !important;
    contain: none !important;
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
  }

  body.ems-zp-printing .ems-zp-printSurface > .ems-zp-printPage {
    position: relative;
    z-index: 0;
  }

  body.ems-zp-printing .ems-zp-printSurface > .ems-zp-printWatermark {
    display: flex !important;
    position: fixed !important;
    inset: 0 !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center;
    justify-content: center;
    z-index: 2147483000 !important;
    pointer-events: none;
    background: transparent !important;
  }

  body.ems-zp-printing .ems-zp-printWatermark > span {
    display: block;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 58pt !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: 2pt !important;
    white-space: nowrap !important;
    color: #435b4e !important;
    -webkit-text-fill-color: #435b4e !important;
    opacity: .15 !important;
    transform: rotate(-18deg) !important;
    text-shadow: none !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
}
