@media print {
  /* Hide navigation and interactive elements */
  .top-bar,
  .sidebar,
  .sidebar-overlay,
  .hamburger-btn,
  student-switcher,
  lesson-nav,
  sidebar-nav,
  .top-links {
    display: none !important;
  }

  /* Reset layout */
  .main-content {
    margin-left: 0 !important;
    margin-top: 0 !important;
    padding: 0 !important;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }

  /* Expand all collapsible sections */
  collapsible-section .cs-body {
    display: block !important;
  }

  collapsible-section .cs-chevron {
    display: none;
  }

  collapsible-section {
    border: 1px solid #ccc;
    break-inside: avoid;
  }

  /* Code blocks */
  code-block .cb-code {
    background: #f5f5f5 !important;
    color: #000 !important;
    border: 1px solid #ccc;
    white-space: pre-wrap;
    word-wrap: break-word;
  }

  code-block .cb-header {
    background: #eee !important;
    color: #333 !important;
  }

  code-block .cb-copy {
    display: none;
  }

  /* Reflection fields - show content as text */
  reflection-field textarea {
    border: 1px solid #ccc;
    min-height: 60px;
    background: #fafafa;
  }

  reflection-field .rf-status {
    display: none;
  }

  /* Tip boxes */
  tip-box {
    border: 1px solid #999;
    background: #f9f9f9 !important;
  }

  /* Build milestone */
  build-milestone {
    background: #f0f0f0 !important;
    border: 2px solid #666;
  }

  /* Page breaks */
  day-header {
    break-before: page;
  }

  .lesson-section {
    break-inside: avoid;
  }

  /* Links - show URLs */
  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    color: #666;
  }

  /* Checklist - show status */
  lesson-checklist .checklist-item input[type="checkbox"] {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  /* Video placeholder */
  video-placeholder .vp-container {
    padding-bottom: 0;
    height: 60px;
    background: #f0f0f0 !important;
  }

  video-placeholder .vp-container iframe {
    display: none;
  }

  /* Progress elements */
  progress-ring,
  progress-card .pc-stats {
    break-inside: avoid;
  }
}
