/* print.css
   Print-specific stylesheet. Attach with media="print" or include in head.
*/

@media print {
  /* Basic reset for print */
  * { box-shadow: none !important; background: transparent !important; color: #000 !important; }
  body { background: #fff; color:#000; font-size:12pt; }

  /* Hide navigation, buttons and interactive pieces */
  .admin-topbar, .site-header, nav, .btn, .admin-actions, form, .modal, .admin-menu, .inline-form { display: none !important; }

  /* Make main content use full width */
  .container, main.container { width: 100%; max-width: none; padding: 0; margin: 0; }

  /* Simplify tables for print */
  table { width: 100%; border-collapse: collapse; font-size: 11pt; }
  th, td { border: 1px solid #ccc; padding: 6px; text-align: left; }
  thead { background: #eee; font-weight: bold; }

  /* Page breaks for long lists */
  .page-break { page-break-after: always; }

  /* Remove images that are decorative */
  img { max-width: 100%; height: auto; }

  /* Ensure headings start new pages when needed */
  h1, h2 { page-break-after: avoid; page-break-inside: avoid; }

  /* Footer for printed pages (simple) */
  @page { margin: 12mm; }
  footer { display:block; position:fixed; bottom:0; left:0; right:0; text-align:center; font-size:10pt; }
}

/* Provide a helper class to force a print-friendly narrow column */
.print-narrow { width: 55%; margin: 0 auto; }