@page { margin: 8mm; }
@media print {
  body { background: #fff !important; color: #000 !important; }
  .sidebar, .topbar, .app-footer, .sidebar-backdrop, .toast-region,
  .modal-overlay, .menu-dialog-backdrop, .no-print, button { display: none !important; }
  .app-shell, .app-main { display: block !important; min-height: 0 !important; }
  .main-content { padding: 0 !important; max-width: none !important; }
  .panel, .stat-card, .module-card { box-shadow: none !important; break-inside: avoid; }
}

/* Receipt and KOT print windows use these same class names if embedded in-app. */
.receipt-print, .kot-print { color:#111; background:#fff; font-family:Arial,sans-serif; }
.receipt-print { width:74mm; max-width:100%; margin:0 auto; font-size:11px; }
.receipt-print.receipt-58 { width:52mm; }
.receipt-print table, .kot-print table { width:100%; border-collapse:collapse; }
.receipt-print td, .kot-print td { padding:4px 0; vertical-align:top; }
.receipt-print td:last-child, .kot-print td:last-child { text-align:right; }
.receipt-print small, .kot-print small { display:block; font-size:9px; }
.receipt-print .receipt-total { font-size:14px; font-weight:800; border-top:1px solid #111; }
