/* Printable transaction/report view -- also used as the "Save as PDF" layout via the browser print dialog. */
* { box-sizing: border-box; }
html, body { background: #ffffff; }
body { font-family: 'Segoe UI', Arial, sans-serif; color: #1e293b; margin: 0; padding: 40px; }
.doc-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 3px solid #2563eb; padding-bottom: 16px; margin-bottom: 24px; }
.doc-header .brand { font-size: 1.3rem; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.doc-header img { height: 40px; }
.doc-title { text-align: right; }
.doc-title h1 { margin: 0; font-size: 1.4rem; }
.doc-title span { color: #64748b; font-size: 0.85rem; }
table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
th, td { padding: 8px 10px; border: 1px solid #cbd5e1; text-align: left; font-size: 0.9rem; }
th { background: #f1f5f9; }
.summary-box { display: inline-block; padding: 14px 20px; border: 1px solid #cbd5e1; border-radius: 8px; margin-top: 10px; }
.doc-footer { margin-top: 40px; font-size: 0.75rem; color: #64748b; text-align: center; border-top: 1px solid #e2e8f0; padding-top: 12px; }
.print-actions { margin-bottom: 20px; }
@media print {
    .print-actions { display: none; }
    body { padding: 0; background: #ffffff !important; }
}
