/* rel364: printable Income Statement (Report › Month › Print). Hidden on screen. */
#printDoc{display:none}
@media print{
  body.printing #app{display:none!important}
  body.printing #printDoc{display:block}
  body.printing{background:#fff!important}
}
@page stmt{size:A4 portrait;margin:0}
#printDoc,.pr{--edge:#1B365F;--edgebg:#E8EDF5;--orange:#F26E24;--pink:#14181F;--ink2:#3A4250;--pmut:#6B7482;--rule:#C9CED6;--rule2:#E6E9EE;--band:#F3F5F7;--loss:#9A3412;
  color:#14181F;font:10pt/1.4 system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-variant-numeric:tabular-nums;-webkit-print-color-adjust:exact;print-color-adjust:exact}
#printDoc{page:stmt}#printDoc.land{page:land}
@page land{size:A4 landscape;margin:0}
.pr .sheet{min-height:296mm;padding:12mm 14mm;display:flex;flex-direction:column;break-after:page;background:#fff}
.pr .sheet:last-child{break-after:auto}
.pr .lh{display:flex;justify-content:space-between;align-items:flex-start;gap:12mm;padding-bottom:4mm;border-bottom:2px solid var(--edge);box-shadow:0 3px 0 -1px var(--orange)}
.pr .brand{display:flex;flex-direction:column;gap:2mm;align-items:flex-start}
.pr .prlogo{height:15mm;width:auto;display:block;background:none;border-radius:0}.pr .prlogo.sm{height:10mm}
.pr .camp{font-size:8.5pt;color:var(--pmut)}
.pr .meta{display:grid;grid-template-columns:auto auto;gap:1px 10px;font-size:8.5pt;text-align:right;margin:0}
.pr .meta dt{color:var(--pmut)}.pr .meta dd{margin:0;font-weight:600}
.pr .titleblock{padding:6mm 0 5mm;display:flex;justify-content:space-between;align-items:flex-end;gap:10mm}
.pr h1{font-family:Georgia,"Times New Roman",serif;font-size:21pt;font-weight:700;margin:0;color:#14181F}
.pr .titleblock p{margin:2px 0 0;color:var(--ink2);font-size:10pt}
.pr .stamp{border:1.5px solid var(--orange);color:var(--orange);border-radius:4px;padding:3px 8px;font-size:8pt;font-weight:700;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}
.pr .kpis{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--rule);border-radius:4px;margin-bottom:6mm}
.pr .kpis div{padding:3mm 4mm}.pr .kpis div+div{border-left:1px solid var(--rule)}
.pr .kpis small{display:block;font-size:7.5pt;text-transform:uppercase;letter-spacing:.07em;color:var(--pmut);font-weight:600}
.pr .kpis strong{display:block;font-size:14pt;font-weight:700;margin-top:1mm}
.pr .kpis em{font-style:normal;font-size:8pt;color:var(--pmut)}
.pr .kpis .hi{background:var(--edgebg)}.pr .kpis .hi strong{color:var(--edge)}
.pr table{width:100%;border-collapse:collapse;font-size:10pt}
.pr thead th{font-size:7.5pt;text-transform:uppercase;letter-spacing:.06em;color:var(--pmut);font-weight:700;text-align:right;padding:0 2.5mm 2mm;border-bottom:1.5px solid #14181F;vertical-align:bottom;background:none;white-space:normal}
.pr thead th:first-child{text-align:left;padding-left:0}
.pr thead th.cur{color:#14181F}.pr thead th.nt{text-align:center;width:9mm}
.pr td{padding:1.5mm 2.5mm;border-bottom:1px solid var(--rule2);text-align:right;white-space:nowrap;color:#14181F}
.pr td:first-child{text-align:left;padding-left:0;white-space:normal}
.pr td.nt{text-align:center;color:var(--pmut);font-size:8pt}
.pr td.cur{background:var(--band);font-weight:600}
.pr tr{break-inside:avoid}
.pr tr.sec td{border-bottom:0;padding-top:4mm;font-size:8pt;text-transform:uppercase;letter-spacing:.07em;font-weight:700;color:var(--edge)}
.pr tr.it td:first-child{padding-left:4mm;color:var(--ink2)}
.pr tr.sub td{font-weight:700;border-top:1px solid #14181F;border-bottom:1px solid var(--rule)}
.pr tr.grand td{font-weight:800;font-size:11pt;border-top:1.5px solid #14181F;border-bottom:3px double #14181F;padding-block:2.4mm}
.pr tr.grand td.cur{background:var(--edgebg);color:var(--edge)}
.pr tr.head td{font-weight:700;padding-top:3mm;border-bottom:1px solid var(--rule)}
.pr .zero{color:#A3AAB5}.pr .neg{color:var(--loss)}
.pr .foot-notes{margin-top:5mm;font-size:8pt;color:var(--ink2);line-height:1.5}
.pr .foot-notes ol{margin:1mm 0 0;padding-left:4.5mm}
.pr .sign{margin-top:auto;padding-top:12mm;display:grid;grid-template-columns:repeat(3,1fr);gap:10mm}
.pr .sign div{border-top:1px solid #14181F;padding-top:1.5mm;font-size:8pt;color:var(--pmut)}
.pr .sign b{display:block;color:#14181F;font-size:8.5pt}
.pr .pfoot{display:flex;justify-content:space-between;margin-top:6mm;padding-top:2.5mm;border-top:1px solid var(--rule2);font-size:7.5pt;color:var(--pmut)}
.pr .sheet:last-child .pfoot{margin-top:auto}
.pr h2{font-family:Georgia,"Times New Roman",serif;font-size:13pt;margin:6mm 0 2.5mm;font-weight:700;color:#14181F}
.pr h2 span{font-family:system-ui,-apple-system,Arial,sans-serif;font-size:8pt;font-weight:700;color:var(--edge);letter-spacing:.07em;text-transform:uppercase;margin-right:6px}
.pr .cols{display:grid;grid-template-columns:1fr 1fr;gap:9mm}
.pr .cols td,.pr .cols th{font-size:9pt}
.pr .bar{display:inline-block;height:6px;background:var(--edge);border-radius:1px;vertical-align:middle;margin-right:5px;opacity:.85}
/* page 2: compact so the notes fit on one sheet */
.pr .sheet+.sheet td{padding-top:.8mm;padding-bottom:.8mm;font-size:9pt}
.pr .sheet+.sheet tr.head td{padding-top:1.8mm}
.pr .sheet+.sheet h2{margin:4mm 0 1.5mm;font-size:12pt}
.pr .sheet+.sheet thead th{padding-bottom:1.2mm}
.pr .sheet+.sheet{min-height:0}
.pr .sheet+.sheet td{padding-top:.55mm;padding-bottom:.55mm}
.pr .sheet+.sheet h2{margin:3mm 0 1mm}
.pr .sheet+.sheet .pfoot{margin-top:4mm}
/* rel364b: margins live inside each sheet, so print works with Margins = Default or None */
.pr .sheet+.sheet{min-height:0;padding-bottom:6mm}

/* rel365: landscape reports (Ledger, Expense breakup) + Cmd+P letterhead on other pages */
#printDoc.land .sheet{min-height:209mm;padding:9mm 11mm}
.pr table.wide{table-layout:fixed}
.pr table.wide th,.pr table.wide td{font-size:7.4pt;padding:1mm 1.2mm;white-space:nowrap}
.pr table.wide th:first-child,.pr table.wide td:first-child{width:46mm;white-space:normal}
.pr table.wide th{font-size:6.6pt;letter-spacing:.03em}
.pr table.wide tr.it td:first-child{padding-left:3mm}
.pr table.wide .totc{font-weight:700;background:#E8EDF5}
.pr table.wide tr.sec td{padding-top:2.4mm;font-size:7pt}
.pr table.wide tr.grand td{font-size:8pt}
.pr table.wide thead{display:table-header-group}
#printDoc.land .kpis{margin-bottom:4mm}#printDoc.land .kpis div{padding:2.2mm 4mm}#printDoc.land .kpis strong{font-size:12pt}
#printDoc.land .titleblock{padding:4mm 0 3mm}#printDoc.land h1{font-size:18pt}
#printDoc.land .sign{padding-top:8mm}
#prGenHead,#prGenFoot{display:none}
@media print{#prGenHead,#prGenFoot{display:block}#prGenHead .lh{margin-bottom:4mm}}
#printDoc.land .sheet{min-height:205mm;padding:8mm 11mm}
.pr table.wide th,.pr table.wide td{padding-top:.75mm;padding-bottom:.75mm}
#printDoc.land .lh{padding-bottom:3mm}#printDoc.land .prlogo{height:12mm}
#printDoc.land .sign{padding-top:7mm}#printDoc.land .foot-notes{margin-top:3mm}#printDoc.land .pfoot{margin-top:4mm}
