/* A4 landscape is shared by browser printing and report exports. */
@page{size:A4 landscape;margin:10mm}
@media print{
 html,body{width:auto!important;min-width:0!important;background:#fff!important;color:#152b36!important;font-size:9pt!important}
 .topbar,#bp-sidebar,.bp-sidebar,.employee-app-menu,.admin-mobile-nav,nav,footer,.matrix-toolbar,form.filter,.management-filters,.management-reports,[data-install-app],.app-install-banner,button:not(.matrix-sort-button){display:none!important}
 main,#main-content,.wrap,.bp-page-body,.bp-main,.bp-content{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;min-width:0!important}
 .card,.bp-box{box-shadow:none!important;border:0!important;padding:0!important;margin:0 0 5mm!important;break-inside:auto!important}
 .matrix-scroll,.table-wrap{overflow:visible!important;width:100%!important;border:0!important}
 table,.matrix-table{display:table!important;width:100%!important;min-width:0!important;table-layout:auto!important;border-collapse:collapse!important;font-size:8pt!important}
 thead{display:table-header-group!important}tbody{display:table-row-group!important}tr{display:table-row!important;break-inside:avoid}
 th,td,.matrix-table th,.matrix-table td{display:table-cell!important;min-width:0!important;max-width:none!important;padding:4px!important;font-size:8pt!important;line-height:1.25!important;letter-spacing:0!important;position:static!important;overflow-wrap:anywhere!important;white-space:normal!important}
 td::before,.matrix-sort-icon{display:none!important}th{background:#edf2f4!important;color:#153847!important}
 tr[hidden],.employee-view-hidden,[hidden]{display:none!important}
 .report-note{display:none!important}td[data-print-ref]::after{content:attr(data-print-ref)}
 .report-print-notes{display:block!important;break-before:page}.report-print-notes p{font-size:9pt;line-height:1.4;white-space:pre-wrap}
 .report-print-notes h3{break-after:avoid;font-size:11pt}
}
.report-print-notes{display:none}
.report-note-dialog{width:min(760px,calc(100% - 40px));max-height:80vh;overflow:auto;border:1px solid #c5d9d0;border-radius:14px;padding:24px;color:#143b4d}
.report-note-dialog::backdrop{background:#06263888}.report-note-dialog p{white-space:pre-wrap;line-height:1.6}.report-note-dialog button{float:right}
