/* Shared by every printable chart. An image (not a background) also prints
   when the browser's background-graphics option is disabled. Fixed placement
   repeats it on each sheet without changing pagination or chart layout. */
img.print-watermark { display: none !important; }
@media print {
  img.print-watermark {
    display: block !important;
    position: fixed !important;
    top: 50%;
    left: 50%;
    width: 120mm;
    height: auto;
    max-width: 60%;
    max-height: 50%;
    object-fit: contain;
    transform: translate(-50%, -50%);
    opacity: .10;
    z-index: 2147483647;
    pointer-events: none;
    user-select: none;
    border: 0;
    margin: 0;
    padding: 0;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  /* Embedded charts carry their own mark, including their own print button. */
  body:has(#chart-screen:not([hidden])) > img.print-watermark { display: none !important; }
}
