      /* ================= PRINT ================= */
      @page {
        size: A4 landscape;
        margin: 0;
      }
      @media print {
        html,
        body,
        * {
          -webkit-print-color-adjust: exact !important;
          print-color-adjust: exact !important;
        }
        #panel {
          display: none;
        }
        body {
          background: #fff;
        }
        #deck {
          margin: 0;
          padding: 0;
        }
        .slide {
          width: 297mm;
          height: 209mm;
          margin: 0;
          border-radius: 0;
          page-break-after: always;
          page-break-inside: avoid;
        }
        .slide:last-child {
          page-break-after: auto;
        }
        .tip {
          display: none;
        }
        /* box-shadow (blur) is the same category of risk as text-shadow,
           backdrop-filter and SVG drop-shadow filters below: this export
           pipeline has repeatedly rendered blurred shadows as solid grey
           rectangles instead of a soft blur (seen on cards, the recommended-
           model badge shadow, the contact card). Cards keep their own
           border/background for definition, so a flat look in print is a
           fair trade for never producing another one of those blocks. */
        * {
          box-shadow: none !important;
        }
        /* Gradient hero backgrounds are the least reliable thing to print —
           force a flat brand-colour fallback per section, matched to that
           section's own text colour (light text needs a dark fallback, dark
           text needs a light one; mixing these up makes text invisible).
           NOTE: the cover is deliberately NOT overridden here — its photo is a
           real <img> layer (.coverbg) that prints on its own, with a navy
           fallback already set on .cover in the base styles. */
        .closing {
          background: #eaf1f6 !important;
        }
        .closing .contactcard {
          background: var(--navy-950) !important;
        }
        .exec-card {
          background: var(--navy-950) !important;
        }
        .ctaband {
          background: var(--navy-950) !important;
        }
        .numcard.win .nchead {
          background: var(--good) !important;
        }
        /* backdrop-filter: blur() is unreliable in PDF/print rasterisation
           (can paint as solid black instead of a blur). The card sits on a
           flat navy fill in print already, so it stays legible without it. */
        .cover .who {
          -webkit-backdrop-filter: none !important;
          backdrop-filter: none !important;
          background: rgba(6, 24, 40, 0.55) !important;
        }
        /* mask-image and filter:drop-shadow() are the same category of risk
           as backdrop-filter above — soft-mask/filter constructs
           that some PDF renderers (notably Apple's, used by iOS Quick Look,
           Preview, Mail and WhatsApp) paint as solid black instead of the
           intended effect. Both are purely decorative, so drop them in print. */
        .dots {
          display: none !important;
        }
        .mcard .mhead .ph img {
          filter: none !important;
        }

        /* ---- iOS Safari "Save to PDF" hardening ----
           Same renderer as above. Two more constructs it paints black:
           layered CSS gradients, and SVG <filter> drop-shadows. Flatten
           them — the charts read fine without the depth. Seen on the
           savings slide as a black chart panel with white "torn" shapes. */
        .chartbox.cloudbg {
          background: #eef4f9 !important;
        }
        svg [filter] {
          filter: none !important;
        }

        /* Cover photo. Two renderers, two failure modes, so ship both paths:
             - Chrome prints <img> but NOT CSS backgrounds unless the user
               ticks "Background graphics" (off by default) — so keep the
               <img>.
             - iOS Safari / Apple's PDF path drops the absolutely-positioned
               object-fit <img>, but DOES print CSS backgrounds — so add one.
           Whichever the renderer honours, the photo shows once; if it honours
           both, it is the same image twice with no visible difference. */
        .cover {
          background-color: #063a56 !important;
          background-image: url("../../potain/cover_hero.jpg") !important;
          background-size: cover !important;
          background-position: center !important;
          background-repeat: no-repeat !important;
        }
        /* the 4-stop tint gradient renders black on Apple's renderer — flatten
           it to a single translucent fill so it still darkens the photo for
           the white cover text. */
        .cover .coverbg-tint {
          background: rgba(6, 26, 42, 0.5) !important;
        }
      }
      @media (prefers-reduced-motion: reduce) {
        * {
          transition: none !important;
        }
      }
