@media print {
  .app-header,
  .app-sidebar,
  .app-toc,
  .reading-progress-track,
  .reading-meter,
  .back-to-top-btn,
  .home-actions,
  .route-crumb,
  .sidebar-backdrop,
  .theme-switch-cluster,
  .lang-switch-cluster {
    display: none !important;
  }

  html, body, .main-canvas, .home-hero, .part-entry, .explorer, .article-body {
    background: #ffffff !important;
    color: #0f172a !important;
  }

  .home-hero h1,
  .part-entry h1,
  .article-headline,
  .explorer-hero h1,
  .glossary-page h1,
  .glossary-entry h2,
  .further-reading,
  .fab-flow-detail,
  .not-found h1,
  .chapter-preview,
  .chapter-preview-summary {
    color: #0f172a !important;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 10pt;
    word-break: break-all;
  }

  .home-hero,
  .part-entry,
  .explorer-hero,
  .chapter-figure,
  .sourced-chart,
  .illus-slot,
  .part-card {
    break-inside: avoid;
  }

  .illus-slot img,
  .chapter-figure svg {
    max-width: 100% !important;
  }

  .figure-source,
  .figure-caption,
  .semi-table th,
  .semi-table td {
    color: #0f172a !important;
  }
}
