@media print {
  /* Hide non-content elements */
  header, nav, footer,
  .navbar, .nav, .footer,
  .upload-zone, .convert-btn, .btn-upload,
  .trust-badge, .trust-indicators,
  .process-chain, .recent-files,
  .cookie-banner, .skip-nav,
  #ybug, .ybug-launcher {
    display: none !important;
  }

  /* Clean layout */
  body {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 12pt;
    line-height: 1.6;
    color: #000;
    background: white;
  }

  /* Content fills page */
  main, .container, .content {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Show URLs after links */
  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #666;
  }

  /* Don't show URLs for internal/nav links */
  nav a::after, .navbar a::after, footer a::after { content: none !important; }

  /* Page breaks */
  h1, h2, h3 { page-break-after: avoid; }
  img, table, pre { page-break-inside: avoid; }

  /* Print-friendly colors */
  h1, h2, h3, h4 { color: #000; }
  a { color: #000; text-decoration: underline; }

  /* Remove shadows and backgrounds */
  * {
    box-shadow: none !important;
    text-shadow: none !important;
  }
}
