#drePrintReport{display:none}
@media print{
 @page{size:A4 portrait;margin:15mm}
 body.printing-dre{background:#fff!important;margin:0!important;color:#172b44!important;font:11pt/1.45 Arial,sans-serif!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
 body.printing-dre>*{display:none!important}
 body.printing-dre>#drePrintReport{display:block!important;width:100%;margin:0;padding:0}
 #drePrintReport *{box-sizing:border-box;box-shadow:none!important;text-shadow:none!important}
 #drePrintReport .print-brand{display:flex;justify-content:space-between;align-items:center;border-bottom:3px solid #f28b24;padding-bottom:15px;margin-bottom:20px;gap:20px}
 #drePrintReport .print-brand img{width:160px;height:70px;object-fit:contain}
 #drePrintReport h1{font-size:21pt;color:#102b4e;letter-spacing:-.02em;line-height:1.15;margin:0 0 7px}
 #drePrintReport .print-period{margin:0;font-size:10pt}
 #drePrintReport .print-summary{display:flex;gap:10px;margin:18px 0 22px;break-inside:avoid}
 #drePrintReport .print-summary>div{flex:1;padding:13px;border:1px solid #ccd8e6;border-radius:9px}
 #drePrintReport .print-summary small{display:block;font-size:9pt;color:#52657d}
 #drePrintReport .print-summary strong{display:block;font-size:14pt;color:#102b4e;margin-top:6px}
 #drePrintReport table{width:100%;min-width:0;border-collapse:collapse;table-layout:fixed}
 #drePrintReport thead{display:table-header-group;background:#edf4fb!important}
 #drePrintReport th{font-size:9pt;color:#102b4e!important;padding:11px;text-transform:none;letter-spacing:0}
 #drePrintReport td{padding:10px 11px;border-bottom:1px solid #dce4ed;font-size:10pt}
 #drePrintReport th:first-child,#drePrintReport td:first-child{width:65%;overflow-wrap:anywhere}
 #drePrintReport .num{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
 #drePrintReport tr{break-inside:avoid}
 #drePrintReport .print-income{background:#ecf7f1!important;font-weight:bold}
 #drePrintReport .print-expense{background:#fff2ed!important;font-weight:bold}
 #drePrintReport .print-detail td:first-child{padding-left:24px}
 #drePrintReport .print-result{background:#edf4fb!important;font-weight:bold;border-top:2px solid #102b4e}
 #drePrintReport .print-result td{font-size:12pt;padding-top:15px;padding-bottom:15px}
 #drePrintReport .print-note{font-size:8pt;color:#52657d;margin-top:18px;border-top:1px solid #dce4ed;padding-top:12px;break-inside:avoid}
 #drePrintReport .print-meta{font-size:8pt;color:#52657d;text-align:right;margin-top:15px}
}

@media print{
 @page{size:A4 landscape;margin:10mm}
 #drePrintReport .dre-monthly-print{table-layout:auto;min-width:0;font-size:8pt}
 #drePrintReport .dre-monthly-print th,#drePrintReport .dre-monthly-print td{padding:6px;font-size:8pt}
 #drePrintReport .dre-monthly-print th:first-child,#drePrintReport .dre-monthly-print td:first-child{width:27%;text-align:left}
 #drePrintReport .dre-monthly-print .num{white-space:nowrap;text-align:right}
 #drePrintReport .dre-monthly-print .dre-detail td:first-child{padding-left:18px}
 #drePrintReport .dre-month-income{background:#e8f5eb!important;font-weight:bold}#drePrintReport .dre-month-expense{background:#fbeceb!important;font-weight:bold}#drePrintReport .dre-month-subtotal{background:#e9f5f5!important;font-weight:bold}#drePrintReport .dre-month-result{background:#e5eef9!important;font-weight:bold}
}

@media print{#drePrintReport .dre-monthly-print-page{break-after:page}#drePrintReport .dre-monthly-print-page:last-child{break-after:auto}}
