/* چاپ A4 — گزارش بانک و صورت‌حساب تسویه */
.print-only { display: none; }
.sheet { background: var(--bg-panel); border: 1px solid var(--line); border-radius: var(--r-card); padding: 18mm 15mm; margin: 0 auto var(--s5); max-width: 210mm; min-height: 270mm; position: relative; font-size: 12.5px; }
.sheet .sh-head { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 2px solid var(--ink); padding-bottom: 8px; margin-bottom: 14px; gap: 12px; }
.sheet .sh-head h2 { font-size: 18px; }
.sheet .sh-foot { position: absolute; bottom: 10mm; right: 15mm; left: 15mm; display: flex; justify-content: space-between; font-size: 10px; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 4px; }
.sheet h3 { font-size: 14px; margin: 14px 0 6px; }
.sheet table.t { font-size: 11.5px; }
.sheet table.t td, .sheet table.t th { padding: 5px 8px; }
.sheet .qr { width: 64px; height: 64px; }
@media print {
  @page { size: A4; margin: 0; }
  body { background: var(--bg-panel); }
  .sidebar, .topbar, .f-nav, .fab, .no-print, .tabs, .toasts, .page-head .ph-actions, .scenario-bar { display: none !important; }
  .app { display: block; }
  .page { padding: 0; max-width: none; }
  .print-only { display: block; }
  .sheet { border: 0; border-radius: 0; margin: 0; max-width: none; width: 210mm; min-height: 297mm; page-break-after: always; break-after: page; }
  .sheet:last-child { page-break-after: auto; }
  .card, .chart-card, .kpi, .doc, table { break-inside: avoid; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
