.report-identity{text-align:center;margin:0 0 10px;break-inside:avoid;color:#202b36}
.report-identity h1{font-size:20px;font-weight:700;line-height:1.25;margin:0 0 5px}
.report-identity p{font-size:10px;line-height:1.4;margin:0;overflow-wrap:anywhere}
#system-print-footnote{display:none}
@media print{
    /* Fixed margin footer repeats on every A4 page, including dossier pages. */
    html body > #system-print-footnote{display:flex!important;position:fixed!important;inset:auto 0 -7mm!important;justify-content:center;flex-wrap:wrap;gap:2px 12px;text-align:center;font:8px/1.35 Arial,sans-serif!important;letter-spacing:normal;color:#737373!important;background:white!important;padding:2mm 0 0;z-index:99999;visibility:visible!important}
    .core-thermal .report-identity h1,body.printing-pos-only .report-identity h1,body.printing-tax-pos .report-identity h1{font-size:13px}
    .core-thermal .report-identity p,body.printing-pos-only .report-identity p,body.printing-tax-pos .report-identity p{font-size:9px}
    html body.core-thermal > #system-print-footnote,html body.printing-pos-only > #system-print-footnote,html body.printing-tax-pos > #system-print-footnote{position:static!important;margin-top:8px;width:72mm;break-inside:avoid}
}
@media print{
    html body.printing-bot-agreement-only > #system-print-footnote,html body.printing-profit-only > #system-print-footnote{bottom:3mm!important}
}

/* Identity is consistent in modal previews, dossiers and standalone receipts. */
.report-identity h1,.core-document .report-identity h1{font-size:24px;font-weight:900;letter-spacing:.025em;line-height:1.3;color:#0f172a;margin:0 0 4px}
.report-identity p,.core-document .report-identity p{font-size:12px;font-weight:600;letter-spacing:normal;line-height:1.5;color:#475569;margin:0 0 8px}
/* White paper report surfaces share readable figures without changing dashboards. */
:is(.acc-paper,.bot-official,#bot-manifest-preview) table th{font-size:14px;font-weight:700;color:#334155;background:#f1f5f9;text-transform:uppercase;letter-spacing:.05em;padding:10px 12px}
:is(.acc-paper,.bot-official,#bot-manifest-preview) table td{font-size:14px;font-weight:500;color:#1e293b;padding:8px 12px}
:is(.acc-paper,.bot-official,#bot-manifest-preview) table td:not(:first-child){font-family:'JetBrains Mono',monospace;font-variant-numeric:tabular-nums}
@media print{
 .report-identity h1,.core-document .report-identity h1{font-size:18pt}
 .report-identity p,.core-document .report-identity p{font-size:11pt}
 .core-thermal .report-identity h1,body.printing-pos-only .report-identity h1,body.printing-tax-pos .report-identity h1{font-size:14pt;overflow-wrap:anywhere}
 .core-thermal .report-identity p,body.printing-pos-only .report-identity p,body.printing-tax-pos .report-identity p{font-size:11pt}
 body :is(.acc-paper,.bot-official,#bot-manifest-preview) table :is(th,td),body.printing-bank-statement .bank-statement-report table :is(th,td){font-size:11pt;white-space:normal;overflow-wrap:anywhere}
 body :is(.acc-paper,.bot-official,#bot-manifest-preview) table th{print-color-adjust:exact;-webkit-print-color-adjust:exact}
 body:has(>header .report-identity)>table td{font-size:11pt;padding:8pt 9pt;color:#1e293b}
 body:has(>header .report-identity)>table :is(.total,.closing)>td{font-size:12pt;font-weight:800;background:#f1f5f9;border-block:2px solid #94a3b8}
}
