/* ═══════════════════════════════════════════════════════════════
   ORSIF Administrative Toolkit — Print Stylesheet
   Applied via media="print" on index.html
   ═══════════════════════════════════════════════════════════════ */

@media print {
  /* ─── Hide Interactive Elements ───────────────────────────── */
  .main-nav,
  .nav-toggle,
  .audience-selector,
  .audience-callout,
  .tab-nav,
  .slider-demo,
  .learn-more-btn,
  .btn,
  .cta-section,
  .chart-container,
  .checklist-progress,
  #health-chart,
  .footer-bottom { display: none !important; }

  /* ─── Base ────────────────────────────────────────────────── */
  body {
    font-size: 11pt;
    color: #000;
    background: #fff;
    line-height: 1.4;
  }
  .container { max-width: 100%; padding: 0; }
  .section { padding: 12pt 0; }
  .section:nth-child(even) { background: none; }

  /* ─── Typography ─────────────────────────────────────────── */
  h1 { font-size: 18pt; }
  h2 { font-size: 14pt; page-break-after: avoid; }
  h3 { font-size: 12pt; page-break-after: avoid; }
  h1, h2, h3, h4 { color: #000; }

  /* ─── Hero ───────────────────────────────────────────────── */
  .hero {
    background: none !important;
    color: #000;
    padding: 12pt 0;
    border-bottom: 2pt solid #0d4d5f;
  }
  .hero h1 { color: #0d4d5f; font-size: 20pt; }
  .hero .tagline { color: #333; }
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 8pt;
  }
  .hero-stat {
    background: none;
    border: 1pt solid #ccc;
    padding: 8pt;
  }
  .hero-stat .stat-value { color: #0d4d5f; font-size: 16pt; }

  /* ─── Expand Accordions ──────────────────────────────────── */
  .accordion-body { max-height: none !important; overflow: visible !important; }
  .accordion-toggle { display: none; }
  .role-details { max-height: none !important; overflow: visible !important; }

  /* ─── Show All Tabs ──────────────────────────────────────── */
  .tab-content { display: block !important; margin-bottom: 12pt; }
  .tab-content::before {
    content: attr(data-tab-label);
    display: block;
    font-weight: 700;
    font-size: 11pt;
    margin-bottom: 4pt;
    color: #0d4d5f;
  }

  /* ─── Tables ─────────────────────────────────────────────── */
  .dose-table thead th {
    background: #0d4d5f !important;
    color: #fff !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .dose-table tr.highlight-row {
    background: #fce4ec !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  table { page-break-inside: avoid; }

  /* ─── Cards ──────────────────────────────────────────────── */
  .stat-card, .role-card, .alara-card, .equipment-card {
    box-shadow: none;
    border: 1pt solid #ccc;
    page-break-inside: avoid;
  }
  .stat-card { border-left: 3pt solid #0d4d5f; }

  /* ─── Checklist ──────────────────────────────────────────── */
  .checklist-item input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    width: 12pt;
    height: 12pt;
    border: 1pt solid #000;
    background: #fff;
  }

  /* ─── Page Breaks ────────────────────────────────────────── */
  .section { page-break-inside: avoid; }
  h2 { page-break-after: avoid; }
  .stats-grid, .roles-grid, .alara-grid { page-break-inside: avoid; }

  /* ─── Links ──────────────────────────────────────────────── */
  a[href]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #666; }
  .resource-card a[href]::after { display: none; }
  a { color: #000; text-decoration: underline; }

  /* ─── Footer ─────────────────────────────────────────────── */
  .main-footer {
    background: none !important;
    color: #000;
    border-top: 1pt solid #ccc;
    padding: 8pt 0;
  }
  .main-footer a { color: #000; }
}
