.staff-addressee{margin:0 0 2mm;font-weight:600;line-height:1.6}
.staff-doc-pages{overflow:auto;background:#eceef3;padding:12px;font-family:'SST Arabic Medium'}
.staff-sheet{position:relative;box-sizing:border-box;width:210mm;height:297mm;background:#fff;color:#171717;margin:12px auto;overflow:hidden;break-after:page;box-shadow:0 2px 12px #0002;font-family:'SST Arabic Medium'}
.staff-sheet:last-child{break-after:auto}.staff-sheet *{box-sizing:border-box}.staff-sheet-header,.staff-sheet-footer{position:absolute;left:0;right:0;overflow:hidden;pointer-events:none}.staff-sheet-header{top:0;height:33mm}.staff-sheet-footer{bottom:0;height:20mm}.staff-sheet-header img,.staff-sheet-footer img{position:absolute;width:210mm;height:297mm;max-width:none;left:0}.staff-sheet-header img{top:0}.staff-sheet-footer img{bottom:0}
.staff-doc-content{position:absolute;top:36mm;bottom:25mm;left:16mm;right:16mm;font-size:12pt;line-height:1.7;direction:rtl}.staff-doc-date{font-size:10pt}.staff-doc-content h1{text-align:center;font-size:21pt;color:#5146b6;margin:4mm 0 6mm}.staff-form-row{display:grid;grid-template-columns:48mm 1fr;border:1px solid #ddd9ee;border-bottom:0;min-height:9mm}.staff-form-row b{background:#f2effa;padding:1.7mm 3mm}.staff-form-row span{padding:1.7mm 3mm;border-right:1px solid #ddd9ee}.staff-form-body{font-size:13pt;line-height:1.9;text-align:justify;white-space:pre-wrap;margin:5mm 0}.staff-doc-sign{display:grid;grid-template-columns:minmax(0,1fr) 82mm;gap:3mm;align-items:center;margin-top:6mm;position:relative}.staff-doc-sign:has(.staff-seal){min-height:32mm}.staff-signer{grid-column:2;grid-row:1;text-align:center;font-size:11pt}.staff-signer p{margin:0}.staff-signature{width:60mm;height:19mm;object-fit:contain;display:block;margin:1mm auto}.staff-seal{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:32mm;height:32mm;object-fit:contain}.staff-page-counter{position:absolute;bottom:19mm;left:0;right:0;text-align:center;font-size:8pt;color:#777}
.staff-landscape{width:297mm;height:210mm}.staff-landscape .staff-sheet-header{height:40mm}.staff-landscape .staff-sheet-header img,.staff-landscape .staff-sheet-footer img{width:297mm;height:420mm}.staff-landscape .staff-doc-content{top:38mm;bottom:23mm;left:23mm;right:23mm}.staff-landscape h1{margin:1mm 0 3mm;font-size:27pt}.staff-certificate-name{text-align:center;font-size:21pt;color:#5146b6;margin-bottom:4mm}.staff-landscape .staff-form-body{font-size:16pt;line-height:2}.staff-landscape .staff-doc-sign{margin-top:3mm}.staff-offscreen{position:fixed;left:-20000px;top:0;visibility:hidden;width:1200px}
.employee-actions{display:flex;gap:12px;flex-wrap:wrap}.employee-actions button{min-width:135px}.employee-section{margin-top:18px}.employee-request-note{white-space:pre-wrap}.recipient-sort-row{display:grid;grid-template-columns:25px 1fr 90px;align-items:center;gap:10px;padding:9px 12px;border-bottom:1px solid #eee}.recipient-sort-row input[type=number]{width:80px}.staff-correspondence-body{white-space:pre-wrap;line-height:1.9}.employee-status{font-size:15px}.employee-chip{padding:10px 16px;background:#f1eef9;border-radius:10px}.staff-form-row:last-child{border-bottom:1px solid #ddd9ee}
@media print{html,body{margin:0!important;padding:0!important;background:white!important}.staff-doc-pages,.letter-pages{padding:0!important;background:white!important;overflow:visible!important}.staff-sheet,.letter-a4{margin:0!important;box-shadow:none!important}*{-webkit-print-color-adjust:exact;print-color-adjust:exact}}
.hr-owner-dashboard + .cards > button.card{color:#252a43;text-align:right;display:flex;flex-direction:column;gap:8px}.hr-owner-dashboard + .cards > button.card span{color:var(--muted);font-size:12px}
.employee-request-table,.early-exit-table{white-space:normal;min-width:700px}.employee-request-table td,.early-exit-table td{overflow-wrap:anywhere}.employee-request-table th:nth-child(1){width:14%}.employee-request-table th:nth-child(2){width:13%}.employee-request-table th:nth-child(3){width:32%}.employee-request-table th:nth-child(4){width:28%}.employee-request-table th:nth-child(5){width:13%}.employee-request-table button{white-space:normal}.early-exit-table td:nth-child(2){max-width:300px}

.salary-grid-group{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid #a9a6b1;border-right:1px solid #a9a6b1;break-inside:avoid;font-size:11pt;text-align:center}.salary-grid-group b,.salary-grid-group span{padding:2.5mm 1.5mm;border-left:1px solid #a9a6b1;border-bottom:1px solid #a9a6b1;overflow-wrap:anywhere;display:flex;justify-content:center;align-items:center}.salary-grid-group b{background:#f1eff8}.salary-grid-group bdi{display:block}.salary-grid-group+.salary-grid-group{border-top:0}.salary-closing{text-align:center;margin:4mm 0}.salary-recipient-add{border:1px solid #dedbee;border-radius:12px;padding:16px;min-width:0}.salary-recipient-add[hidden]{display:none}.salary-ack{display:flex;gap:8px;align-items:flex-start}.salary-ack input{width:auto;flex:0 0 auto;margin-top:6px}
