dialog:has(.payslip-sheet){width:min(1280px,calc(100vw - 24px));padding:18px}.payslip-sheet{font-size:12px;color:#142539}.ps-heading{display:flex;align-items:center;gap:16px;margin-bottom:14px}.ps-heading img{width:64px;height:64px;object-fit:contain}.ps-heading h2{margin:0;font-size:20px}.ps-heading small,.payslip-sheet td small{display:block;font-size:10px}.ps-meta{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;background:#ffdf75;border:1px solid #8d969e;padding:9px;font-size:13px;margin-bottom:18px}.ps-table-scroll{max-width:100%;overflow:auto}.ps-dtr{width:100%;min-width:850px;border-collapse:collapse;table-layout:fixed;font-variant-numeric:tabular-nums}.ps-dtr th,.ps-dtr td{border:1px solid #7f8991;padding:5px 6px;text-align:center;white-space:normal;overflow-wrap:anywhere;font-size:12px}.ps-dtr th:first-child{width:19%}.ps-dtr thead{background:#234b7b;color:white}.ps-dtr .ps-groups th:nth-child(2),.ps-dtr .ps-groups th:nth-child(3){background:#ffe49a;color:#17251b}.ps-dtr td{background:#f0f1f2}.ps-dtr .ps-no-record td:nth-child(n+2):nth-child(-n+5){background:#e9c1b7}.ps-dtr .ps-hours{background:#d8eaf6}.ps-dtr .ps-holiday-pay td{background:#fff2c5}.ps-dtr .ps-totals th,.ps-dtr .ps-totals td{background:#82acd3;font-weight:750;color:#102236}.ps-dtr .ps-pay th,.ps-dtr .ps-pay td{background:#ffdf75;font-weight:750}.ps-note{font-size:10px;color:#4b5760;margin:9px 0 14px}.ps-bottom{display:grid;grid-template-columns:1.25fr 1fr;gap:22px;margin:20px 0}.payslip-sheet h3{background:#ffdf75;color:#16395f;padding:7px 9px;margin:14px 0 0;font-size:13px}.ps-subtable{border-collapse:collapse;width:100%;table-layout:auto;min-width:0;margin:0}.ps-subtable th,.ps-subtable td{border:1px solid #9ba6af;padding:6px 8px;white-space:normal;overflow-wrap:anywhere;font-size:11px}.ps-subtable th{background:#edf2f7;color:#173855;position:static}.ps-net,.ps-released,.ps-balance,.ps-deduction-total{display:flex;justify-content:space-between;gap:10px;padding:8px;border:1px solid #91a0ad;font-weight:750}.ps-net{background:#ffdf75}.ps-released{background:#bdece9}.ps-balance{background:#f4d5ce}.ps-deduction-total{background:#f7e4cb}.ps-evidence{margin-top:12px}.payslip-sheet strong{font-variant-numeric:tabular-nums}.manual-batch-sheet{min-width:1450px}.manual-batch-sheet th,.manual-batch-sheet td{padding:7px;font-size:12px}.manual-batch-sheet thead{background:#234b7b;color:white}.manual-batch-sheet input[type=time]{min-width:110px}.manual-batch-sheet input[name=reason]{min-width:160px}.manual-batch-sheet select{min-width:185px}.manual-batch-sheet .manual-hours{background:#d8eaf6;text-align:center;font-weight:700}.manual-batch-sheet tfoot{background:#ffdf75;font-weight:700}@media(max-width:700px){.ps-bottom{grid-template-columns:1fr;gap:10px}.ps-meta{display:grid}.payslip-sheet{font-size:11px}}@media print{.payslip-sheet{font-size:9px!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}.ps-dtr{min-width:0!important}.ps-table-scroll{overflow:visible!important}.ps-dtr th,.ps-dtr td{font-size:9px;padding:3px}.ps-subtable th,.ps-subtable td{font-size:9px;padding:4px}.ps-bottom{grid-template-columns:1.25fr 1fr;gap:12px}.payslip-sheet tr{break-inside:avoid}.ps-heading{margin:0 0 8px}.ps-heading img{width:45px;height:45px}.ps-meta{margin-bottom:10px}.ps-evidence{display:none}.ps-note{font-size:8px}.ps-dtr thead{display:table-header-group}.ps-dtr tfoot{display:table-row-group}}

.dtr-sheet thead th{background:#234b7b;color:white}.dtr-sheet thead th[colspan="2"]{background:#ffe49a;color:#17251b}.dtr-sheet tfoot th,.dtr-sheet tfoot td{background:#82acd3;color:#142539}.dtr-sheet .dtr-pay-total th,.dtr-sheet .dtr-pay-total td{background:#ffdf75;color:#142539}

.ps-dtr thead th{background:#234b7b;color:white}
