/* Print layout shared by Logs and the printable reports (PF-21 / PF-22). Company name, title, period and generated time come
   from .print-header; page numbers from @page; table headings repeat on every page; no navigation, buttons, photos or
   dialogs are printed. "Save as PDF" in the browser's print dialog gives the PDF. */
.print-only{display:none}
.range-picker{display:flex;flex-wrap:wrap;gap:12px 16px;align-items:end;margin-bottom:14px}
.range-picker .field{min-width:150px}
.range-shown{margin:0;font-size:.85rem;align-self:center}
.logs-table td small{display:block;margin-top:4px;color:var(--muted)}
.logs-filters .actions{margin-top:12px}
@media (max-width:700px){.logs-table thead{display:none}.logs-table,.logs-table tbody,.logs-table tr,.logs-table td{display:block}.logs-table tr{border:1px solid var(--line);border-radius:12px;margin-bottom:10px;padding:8px}.logs-table td{border:0;padding:6px 8px}.logs-table td:before{content:attr(data-label);display:block;font-size:.68rem;color:var(--muted)}}
@page{size:A4;margin:14mm 12mm 16mm;@bottom-center{content:"Page " counter(page) " of " counter(pages);font-size:8pt;color:#455}}
@media print{
 .print-only{display:block!important}
 .no-print,.sidebar,.topbar,.mobile-nav,#sheet-root,.skip,.toast,#notice,dialog,.demo-workspace-banner,.range-picker,.logs-filters,nav,button,video,canvas,img{display:none!important}
 .shell,.workspace,.content{display:block!important;padding:0!important;margin:0!important;max-width:none!important;width:100%!important}
 .print-header{margin:0 0 6mm;padding-bottom:3mm;border-bottom:1pt solid #263b59}
 .print-header strong{font-size:10pt}.print-header h2{font-size:16pt;margin:1mm 0 2mm}.print-header p{font-size:8.5pt;margin:0 0 1mm}
 .table-wrap{overflow:visible!important}
 table{width:100%;font-size:8.5pt}
 thead{display:table-header-group}tfoot{display:table-footer-group}
 tr,.report-section>h2{break-inside:avoid}.report-section>h2{break-after:avoid}.report-section{break-inside:auto;margin-bottom:6mm}
 .logs-table thead{display:table-header-group!important}.logs-table,.logs-table tbody{display:table!important}.logs-table tr{display:table-row!important;border:0}.logs-table td{display:table-cell!important;padding:2mm 1.5mm!important}.logs-table td:before{content:none!important}
 .badge{border:0.5pt solid #999;background:#fff!important;color:#000!important}
 a{color:inherit;text-decoration:none}
}


/* Report print layout (moved from the retired styles.css, PF-23). */
@media print{html,body{background:#fff!important;color:#172131!important;font-size:10pt;-webkit-print-color-adjust:exact;print-color-adjust:exact}.sidebar,.topbar,.mobile-nav,#sheet-root,.nav-badge,.skip,.toast,dialog,.content>.page-head,.report-catalogue,.report-controls,.report-view-filters,.report-summary,.report-calendar,.attendance-report-card footer button,.report-table-panel button:not(.report-person-link),.demo-workspace-banner{display:none!important}.shell,.workspace,.content{display:block!important;padding:0!important;margin:0!important;width:100%!important}.report-print-heading{display:block;margin-bottom:7mm;border-bottom:1pt solid #263b59;padding-bottom:4mm}.report-print-heading h1{font-size:17pt;margin:0 0 2mm}.report-print-heading p{font-size:8pt;margin:0}.report-print-heading>strong{display:block;font-size:8pt;margin-top:2mm;color:#805600}.report-department{margin:5mm 0}.report-department>h2{font-size:11pt;margin-bottom:3mm;break-after:avoid}.attendance-report-card{padding:4mm;margin-bottom:4mm;border:0.6pt solid #bbc7d7;border-radius:3mm;break-inside:avoid}.attendance-report-card h3{font-size:10pt}.attendance-report-card header p{font-size:7pt}.report-card-metrics{grid-template-columns:repeat(5,1fr);gap:3mm;margin:4mm 0}.report-card-metrics dt{font-size:6.5pt;margin-bottom:1mm}.report-card-metrics dd{font-size:9pt}.attendance-report-card footer{padding-top:2mm}.attendance-report-card footer small{font-size:7pt}.report-limitations{font-size:7pt;padding:3mm;background:#f4f6fa;border:0;break-inside:avoid}.report-generated{font-size:6.5pt}.report-table-panel{padding:0;border:0;border-radius:0;box-shadow:none}.report-table-scroll{overflow:visible;max-height:none}.report-data-table{width:100%;min-width:0;font-size:6.5pt;table-layout:fixed}.report-data-table th,.report-data-table td{font-size:6pt;padding:1.5mm 1mm;overflow-wrap:anywhere;max-width:none}.report-data-table th{position:static}.report-data-table thead{display:table-header-group}.report-data-table tr{break-inside:avoid}.report-person-link{color:#172131!important;font-size:6pt}.muster-grid{table-layout:fixed;min-width:0}.muster-grid th,.muster-grid td{min-width:0!important;font-size:4.3pt;padding:1.5mm .3mm}.muster-grid th:nth-child(1),.muster-grid td:nth-child(1){width:22mm}.muster-grid th:nth-child(2),.muster-grid td:nth-child(2){width:13mm}.muster-grid th:nth-child(3),.muster-grid td:nth-child(3){width:17mm}.muster-grid .report-person-link{font-size:5pt}.muster-legend{font-size:6.5pt}.report-table-panel .profile-section-head{margin:4mm 0}.report-table-panel h2{font-size:11pt}}
