/* v234: compact formal payroll, scoped from ERP. */
.hr234-slip{direction:rtl;color:#172c31;background:#fff;border:1px solid #d4dee0;border-radius:9px;padding:22px;font-size:12px;line-height:1.65;font-family:inherit;box-shadow:0 7px 24px #0001}
.hr234-masthead{display:flex;align-items:center;gap:14px;border-bottom:2px solid #176c58;padding:0 0 14px}.hr234-masthead h2,.hr234-masthead h3{margin:0!important;color:#153d35}.hr234-masthead h2{font-size:17px}.hr234-masthead h3{font-size:12px;font-weight:500}.hr234-crest{display:grid;place-items:center;width:50px;height:50px;background:#e3f3ed;border-radius:13px;color:#09694b;font:bold 19px sans-serif}.hr234-year{margin-right:auto;color:#154f3d;font-weight:800;white-space:nowrap}
.hr234-ident{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px;padding:13px 0}.hr234-ident strong{color:#143f30}
.hr234-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-items:stretch}.hr234-section{border:1px solid #cfdbd8;border-radius:7px;overflow:hidden;min-width:0}.hr234-section h4{margin:0!important;background:#e4eee9;color:#135542;padding:10px;font-size:13px}.hr234-item{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:7px 10px;border-bottom:1px solid #e7eeec}.hr234-item:last-child{border-bottom:0}.hr234-item span{overflow-wrap:anywhere}.hr234-item strong{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:11px;color:#153b32}
.hr234-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:13px}.hr234-totals>div{background:#edf4f1;border:1px solid #d7e6df;border-radius:6px;padding:8px}.hr234-totals b{display:block}.hr234-payable{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center!important;background:#156d54!important;color:#fff!important;padding:13px 16px!important;font-size:15px;font-weight:800}.hr234-payable strong{font-size:17px}.hr234-reserves{margin-top:15px;padding:13px;border:1px solid #cfdcda;border-radius:8px}.hr234-reserves h4{margin:0 0 9px!important;color:#245348}.hr234-reserve-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px 14px}.hr234-warning{color:#99531c;background:#fff3d8;padding:8px;border-radius:5px}.hr234-footer{color:#657674;font-size:10px;margin-top:16px;border-top:1px solid #dce5e3;padding-top:10px}
@media(max-width:700px){.hr234-slip{padding:12px}.hr234-columns{grid-template-columns:1fr}.hr234-reserve-grid,.hr234-ident{grid-template-columns:1fr}.hr234-year{font-size:10px}.hr234-payable{font-size:12px}}
@media print{body:has(.hr234-slip) .hr234-slip{font-size:10px;border:0;box-shadow:none}.hr234-columns{grid-template-columns:repeat(3,minmax(0,1fr))!important}.hr234-reserve-grid,.hr234-ident{grid-template-columns:repeat(2,minmax(0,1fr))!important}.hr234-slip{break-inside:avoid}.hr234-slip,.hr234-slip *{-webkit-print-color-adjust:exact;print-color-adjust:exact}}

.hr234-note{margin-top:14px;border:1px solid #d5e4de;background:#fafdfb;border-radius:10px;padding:12px 15px;break-inside:avoid}.hr234-note h4{font-size:12px!important;font-weight:800;color:#145742;margin:0 0 9px!important;padding-bottom:8px;border-bottom:1px solid #e0ece6}.hr234-note-content{min-height:42px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:2;color:#334a45}
