body { background: #f6f7fb; }
.card { border: 0; }
.metric { min-height: 110px; }
.status-draft { background: #6c757d; }
.status-sent { background: #0d6efd; }
.status-paid { background: #198754; }
.status-void { background: #dc3545; }
.preline { white-space: pre-line; }
.invoice { background: #fff; }
.totals td { border: 0; }
code { white-space: normal; word-break: break-all; }
@media print {
  .no-print, nav, .alert { display: none !important; }
  body { background: #fff; }
  main.container { max-width: none; width: 100%; padding: 0 !important; }
  .print-card { box-shadow: none !important; border: 0 !important; }
  .card-body { padding: 0 !important; }
}
.invoice-logo { max-height: 76px; max-width: 240px; object-fit: contain; }
.logo-preview { max-height: 90px; max-width: 240px; object-fit: contain; background: #fff; border: 1px solid #dee2e6; border-radius: .5rem; padding: .5rem; }
.qr-code { width: 126px; height: 126px; image-rendering: pixelated; }
.invoice-footer a { word-break: break-all; }
.paid-stamp { display: inline-block; border: 3px solid #198754; color: #198754; font-weight: 700; font-size: 1.7rem; letter-spacing: .12em; padding: .35rem .75rem; transform: rotate(-8deg); border-radius: .25rem; }
.payment-summary { border-color: #dee2e6 !important; }
@media print {
  a { color: #000; text-decoration: none; }
  .qr-code { width: 110px; height: 110px; }
  .invoice-logo { max-height: 64px; }
}
