/* =====================
   BLUEPRINT PRINT STYLES
   ===================== */
@media print {
  /* ── Page setup ── */
  @page {
    size: A4;
    margin: 16mm 14mm;
  }

  /* ── Base ── */
  html, body {
    background: #ffffff !important;
    color: #111111 !important;
    font-size: 10.5pt;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  /* ── Hide ALL chrome: navbar, sidebars, sticky buttons, spacers ── */
  .print\:hidden { display: none !important; }

  /* Target the GlobalNavbar wrapper (first child of body's root) */
  body > div > nav,
  body > div > header,
  body > div > .h-20 {
    display: none !important;
  }

  /* Hide the floating right sidebar nav and sticky Dax button
     by targeting fixed-positioned elements */
  .fixed {
    display: none !important;
  }

  /* ── Layout cleanup ── */
  .lg\:pr-52  { padding-right: 0 !important; }
  .h-20       { height: 0 !important; display: none !important; }
  .pt-10      { padding-top: 6mm !important; }
  .pb-32      { padding-bottom: 0 !important; }

  /* ── Backgrounds → white / light gray ── */
  * {
    background-color: transparent !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  /* Restore card backgrounds so they're distinguishable */
  .bg-\[\#0d0d0d\],
  .bg-\[\#111111\],
  .bg-\[\#0a0a0a\],
  .bg-\[\#060a0f\],
  .bg-\[\#0c1420\] {
    background-color: #f4f4f4 !important;
  }

  .bg-\[\#0f1200\],
  .bg-\[\#110a00\],
  .bg-\[\#1a1500\] {
    background-color: #f9f7e8 !important;
  }

  /* ── Text colours ── */
  .text-white,
  .text-gray-100,
  .text-gray-200 {
    color: #111111 !important;
  }

  .text-gray-300,
  .text-gray-400,
  .text-gray-500,
  .text-gray-600 {
    color: #555555 !important;
  }

  /* ── Gold accents ── */
  .text-\[\#D4AF37\]    { color: #7a5f00 !important; }
  .bg-\[\#D4AF37\]      { background-color: #7a5f00 !important; color: #ffffff !important; }
  .border-\[\#D4AF37\]  { border-color: #7a5f00 !important; }
  .bg-\[\#D4AF37\]\/10,
  .bg-\[\#D4AF37\]\/15,
  .bg-\[\#D4AF37\]\/20  { background-color: #f5edd5 !important; }

  /* Orange accents (Damascus) */
  .text-orange-400 { color: #b45000 !important; }
  .bg-orange-500   { background-color: #b45000 !important; color: #ffffff !important; }

  /* ── Borders ── */
  .border-white\/5,
  .border-white\/8,
  .border-white\/10,
  .border-white\/20 {
    border-color: #cccccc !important;
  }

  /* ── Step badges keep their background ── */
  .rounded-xl.bg-\[\#D4AF37\] {
    background-color: #7a5f00 !important;
    color: #ffffff !important;
  }

  /* ── Keep section borders visible ── */
  .border {
    border-color: #cccccc !important;
  }

  /* ── Page breaks ── */
  section, .mb-16 {
    page-break-inside: avoid;
    break-inside: avoid;
  }

  /* ── Links ── */
  a {
    color: #111111 !important;
    text-decoration: none !important;
  }

  /* ── Overflow & transitions ── */
  * {
    overflow: visible !important;
    transition: none !important;
    animation: none !important;
  }

  /* ── Grid background pattern: remove it ── */
  div[style*="backgroundImage"] {
    background-image: none !important;
  }
}