/* ============================================================
   FINANCIAL OS — Print Styles
   Used when printing invoices, quotations, and reports
   ============================================================ */

@media print {
  /* Hide app shell */
  .sidebar,
  .topbar,
  .page-toolbar,
  .page-header-actions,
  .btn,
  .toast-container,
  .modal-overlay { display: none !important; }

  body {
    background: white !important;
    color: black !important;
    font-size: 12px;
  }

  .page-content {
    overflow: visible !important;
  }

  .print-doc {
    max-width: 210mm;
    margin: 0 auto;
    padding: 12mm;
    background: white;
    box-shadow: none;
  }

  .card {
    border: 1px solid #ddd !important;
    box-shadow: none !important;
    break-inside: avoid;
  }

  a { color: inherit; text-decoration: none; }

  table { page-break-inside: avoid; }

  .page-break { page-break-before: always; }

  @page {
    size: A4;
    margin: 12mm;
  }
}
