.report-controls{margin-bottom:18px}.report-filter-grid{display:grid;grid-template-columns:minmax(220px,1.6fr) minmax(200px,1.2fr) 160px 160px auto;gap:12px;align-items:end}.report-print-area{background:#fff;color:#111;border:1px solid #e5e7eb;border-radius:16px;padding:26px;box-shadow:0 8px 24px rgba(15,23,42,.06)}.report-header{display:grid;grid-template-columns:190px 1fr 190px;align-items:center;gap:18px;border-bottom:2px solid #111;padding-bottom:14px;margin-bottom:14px}.report-logo{width:170px;max-height:64px;object-fit:contain;object-position:left center}.report-title{text-align:center}.report-title h1{font-size:22px;margin:0 0 5px}.report-title p{margin:0;font-size:12px}.report-period{text-align:right;font-size:12px}.report-employee-info{display:grid;grid-template-columns:2fr 1fr 1fr 1fr 1.2fr 1.2fr;gap:10px;border:1px solid #d1d5db;border-radius:8px;padding:10px 12px;margin-bottom:12px;font-size:11px}.report-employee-info span{display:block;color:#6b7280;font-size:9px;text-transform:uppercase;letter-spacing:.04em}.report-employee-info strong{display:block;margin-top:2px}.report-table{width:100%;border-collapse:collapse;font-size:10px}.report-table th,.report-table td{border:1px solid #9ca3af;padding:5px 6px;vertical-align:middle}.report-table th{background:#f3f4f6;text-align:left;font-weight:700}.report-table td.mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;white-space:nowrap}.report-day-total{text-align:center}.report-work-totals{display:grid;grid-template-columns:2fr 1fr;gap:10px;margin-top:10px}.report-weekly-block,.report-monthly-block{border:1px solid #9ca3af;border-radius:7px;padding:8px}.report-total-title{font-size:9px;text-transform:uppercase;letter-spacing:.04em;color:#4b5563;font-weight:700;margin-bottom:6px}.report-weekly-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.report-weekly-grid>div,.report-month-list>div{display:flex;justify-content:space-between;align-items:center;gap:8px;border:1px solid #e5e7eb;border-radius:5px;padding:5px 7px}.report-weekly-grid span,.report-month-list span{font-size:9px}.report-weekly-grid small{display:block;font-size:7px;color:#6b7280;margin-top:1px}.report-weekly-grid strong,.report-month-list strong{font-size:11px}.report-grand-total{font-size:25px;font-weight:800;line-height:1;text-align:center;padding:8px 4px}.report-month-list{display:grid;grid-template-columns:1fr;gap:5px}.report-closing-totals{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:10px}.report-closing-totals>div{border:1px solid #9ca3af;border-radius:7px;padding:7px 9px;text-align:center}.report-closing-totals span{display:block;font-size:8px;text-transform:uppercase;letter-spacing:.04em;color:#4b5563}.report-closing-totals strong{display:block;font-size:16px;margin-top:2px}.report-closing-totals small{display:block;font-size:8px;color:#6b7280;margin-top:1px}.report-signature{display:grid;grid-template-columns:2fr 1fr;gap:80px;margin-top:28px;padding-top:12px;break-inside:avoid;page-break-inside:avoid}.signature-line,.date-line{border-top:1px solid #111;padding-top:6px;text-align:center;font-size:11px}.report-empty{padding:35px;text-align:center;color:#6b7280}.report-print-button{white-space:nowrap}
@media(max-width:1000px){.report-filter-grid{grid-template-columns:1fr 1fr}.report-filter-grid .grow{grid-column:1/-1}.report-print-area{padding:18px}.report-header{grid-template-columns:140px 1fr}.report-period{grid-column:1/-1;text-align:left}.report-employee-info{grid-template-columns:1fr 1fr}.report-work-totals{grid-template-columns:1fr}.report-weekly-grid{grid-template-columns:1fr 1fr}.report-closing-totals{grid-template-columns:1fr}}
@page{size:A4 landscape;margin:5mm}
@media print{
  html,body{background:#fff!important;margin:0!important;padding:0!important;width:100%!important;height:100%!important}
  .sidebar,main>header,.report-controls,#toast{display:none!important}.app-shell{display:block!important}.app-shell.hidden{display:block!important}main{margin:0!important;padding:0!important;width:auto!important;max-width:none!important}#view{padding:0!important;margin:0!important}
  .report-print-area{display:flex!important;flex-direction:column!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;margin:0!important;width:100%!important;max-width:none!important;min-height:198mm!important;height:198mm!important;page-break-inside:avoid!important;break-inside:avoid-page!important;box-sizing:border-box!important;overflow:hidden!important}
  .report-header{grid-template-columns:120px 1fr 145px;gap:8px;border-bottom:1px solid #111;padding:1.5mm 0 1.5mm;margin:0 0 1.5mm;min-height:10mm;box-sizing:border-box}.report-logo{width:110px;max-height:9mm}.report-title h1{font-size:13px;margin:0 0 1px}.report-title p{font-size:7px;margin:0}.report-period{font-size:7px;line-height:1.15}
  .report-employee-info{grid-template-columns:2fr 1fr 1fr 1fr 1.2fr 1.2fr;gap:4px;border-radius:2px;padding:1.5mm 2mm;margin-bottom:1.5mm;font-size:7px;line-height:1.15;min-height:8mm;box-sizing:border-box}.report-employee-info span{font-size:5.3px}.report-employee-info strong{margin-top:.4mm}
  .report-table{font-size:7px;line-height:1.05;table-layout:fixed}.report-table thead tr{height:4mm!important}.report-table tbody tr{height:3.45mm!important}.report-table th,.report-table td{padding:.55mm 1mm!important;vertical-align:middle;height:auto!important;box-sizing:border-box}.report-table th{font-size:6.2px}.report-punch-table th:nth-child(1){width:13%}.report-punch-table th:nth-child(2){width:15%}.report-punch-table th:nth-child(3){width:54%}.report-punch-table th:nth-child(4){width:18%;text-align:center}.report-table td.mono{font-size:6.7px;white-space:nowrap;overflow:hidden;text-overflow:clip;letter-spacing:-.01em}
  .report-work-totals{grid-template-columns:2.2fr 1fr;gap:1.5mm;margin-top:1.5mm}.report-weekly-block,.report-monthly-block{border-radius:2px;padding:1.3mm 1.6mm;min-height:15mm;box-sizing:border-box}.report-total-title{font-size:5.5px;margin-bottom:1mm}.report-weekly-grid{grid-template-columns:repeat(3,1fr);gap:1mm}.report-weekly-grid>div,.report-month-list>div{border-radius:2px;padding:.8mm 1.2mm;gap:3px}.report-weekly-grid span,.report-month-list span{font-size:5.8px;line-height:1.05}.report-weekly-grid small{font-size:4.8px;margin-top:.3mm}.report-weekly-grid strong,.report-month-list strong{font-size:7px}.report-grand-total{font-size:17px;padding:2mm 1mm}.report-month-list{gap:1mm}
  .report-closing-totals{grid-template-columns:repeat(3,1fr);gap:1.5mm;margin-top:1.5mm}.report-closing-totals>div{border-radius:2px;padding:1.3mm 1.5mm;min-height:11mm;box-sizing:border-box}.report-closing-totals span{font-size:5.4px}.report-closing-totals strong{font-size:10px;margin-top:.7mm}.report-closing-totals small{font-size:5px;margin-top:.4mm;white-space:nowrap}
  .report-signature{grid-template-columns:2fr 1fr;gap:18mm;margin-top:auto!important;padding-top:5mm;padding-bottom:1mm}.signature-line,.date-line{padding-top:1.5mm;font-size:7px}
  .no-print{display:none!important}thead{display:table-header-group}tr{break-inside:avoid!important;page-break-inside:avoid!important}
}
