/* ═══════════════════════════════════════════════════════════════════════════
 * M3E Print Styles
 * Extracted from base.html inline <style>
 *
 * Loaded via <link> in base.html — no need to inline.
 * ═══════════════════════════════════════════════════════════════════════════ */

@media print {
  /* Hide chrome: nav, header, bottom tabs, loading bar, skip links */
  header,
  #page-loading-bar,
  nav[aria-label="Bottom navigation"],
  .sr-only,
  [data-no-print],
  #mobile-drawer,
  #mobile-drawer-overlay,
  .fixed { display: none !important; }

  /* Reset backgrounds for ink-friendly output */
  body { background: #fff !important; color: #000 !important; }
  .rounded-card,
  [style*="surface-primary"],
  [style*="fill-tertiary"] {
    background: #fff !important;
    box-shadow: none !important;
    border: 1px solid #ddd !important;
  }

  /* Tables: clean borders */
  table { border-collapse: collapse; width: 100% !important; }
  th, td { border: 1px solid #ccc !important; padding: 6px 8px !important; color: #000 !important; }
  thead { background: #f5f5f5 !important; }

  /* Force text to black */
  * { color: #000 !important; }
  a { text-decoration: underline !important; }

  /* Badges: outline only */
  .m3e-badge {
    background: transparent !important;
    border: 1px solid currentColor !important;
  }

  /* Disable transforms and animations */
  * { animation: none !important; transition: none !important; }

  /* Page breaks */
  section { page-break-inside: avoid; }
  tr { page-break-inside: avoid; }
}
