.elp{grid-column:1/-1;min-width:0;color:var(--ew-ink,#17213c);background:#fff;border:1px solid var(--ew-border,#e3e8f2);border-radius:16px;overflow:hidden;padding:0!important}
.employee-profile-v4 .elp dl.elp-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 20px;margin:0;padding:22px;border:0;border-radius:0;box-shadow:none;background:transparent}.employee-profile-v4 .elp dl.elp-facts>div{min-width:0;padding:0;border:0;background:transparent}.employee-profile-v4 .elp dl.elp-facts dt{font-size:13px;color:#5a6981;margin:0 0 5px}.employee-profile-v4 .elp dl.elp-facts dd{font-size:14px;font-weight:700;line-height:1.6;color:#273753;margin:5px 0 0}.elp :is(input,select,button){scroll-margin-top:170px}
@media(max-width:1100px){.employee-profile-v4 .elp dl.elp-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.employee-profile-v4 .elp dl.elp-facts{padding:18px 16px;gap:16px 12px}}
.elp *,.elp-adjustment *{box-sizing:border-box}.elp-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 22px;background:var(--ew-soft,#f7f8fc);border-bottom:1px solid var(--ew-border,#e3e8f2)}.elp-heading-copy,.elp-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.elp-heading h2{margin:0;font-size:19px;color:var(--ew-ink,#17213c)}.elp-heading p,.elp-history header p{margin:4px 0 0;font-size:13px;color:#596982;line-height:1.6}.elp svg,.elp-adjustment svg{width:19px;height:19px;flex:0 0 auto}.elp-section-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;color:var(--ew-purple,#6c35d7);background:#eee8fa}.elp-actions button{display:flex;align-items:center;justify-content:center;gap:7px}.elp [hidden],.elp-adjustment [hidden]{display:none!important}.elp [data-elp-message]:not(:empty){margin:16px 22px;padding:12px 14px;background:#f4f6fb;border-radius:10px;font-size:14px;line-height:1.7}.elp-balances{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:22px 22px 0}.elp-balances article{padding:19px 20px;border:1px solid #e0e5f0;border-radius:13px;background:#fff;box-shadow:0 4px 14px #20325305;border-top:3px solid var(--ew-purple,#6c35d7)}.elp-balances article+article{border-top-color:#20b9e9}.elp-balances article>span{font-weight:700;font-size:14px;color:#445470}.elp-balances strong{display:block;margin-top:9px;font-size:32px;font-weight:800;line-height:1.3;font-variant-numeric:tabular-nums;color:#17213c}.elp-balances strong small,.elp-legacy-value strong small{font-size:14px;font-weight:500;color:#586781}.elp-balances p{margin:7px 0 0;font-size:13px;line-height:1.7;color:#596982}.elp-notes{margin:0 22px 20px;padding:12px 15px;background:#f7f9fc;border-radius:10px;font-size:13px;line-height:1.8;color:#53627b}.elp-notes p{margin:0}.elp-notes p+p{margin-top:5px}.elp-warning{color:#8a561c}.elp-pill{display:inline-block;padding:4px 9px;border-radius:7px;background:#f0edf8;color:#5a3c95;font-size:12px;font-weight:700;line-height:1.6}.elp-legacy{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 22px 0}.elp-legacy h3{margin:10px 0 5px;font-size:17px}.elp-legacy p{max-width:720px;margin:0;color:#53627b;font-size:14px;line-height:1.8}.elp-legacy-value{flex:0 0 auto;padding:16px 22px;border:1px solid var(--ew-border,#e3e8f2);border-radius:12px;min-width:180px}.elp-legacy-value>span,.elp-legacy-value>small{display:block;font-size:12px;color:#5a6981}.elp-legacy-value strong{display:block;font-size:28px;margin:6px 0;color:#17213c;font-variant-numeric:tabular-nums}.elp-history{border-top:1px solid var(--ew-border,#e3e8f2);padding:20px 22px}.elp-history>header{padding:0;margin:0 0 14px}.elp-history h3{display:flex;align-items:center;gap:8px;margin:0;font-size:17px;color:#17213c}.elp-history h3 svg{color:#6c35d7}.elp-filters{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;margin:0 0 15px}.elp-filters label{flex:1 1 145px;max-width:235px;font-size:12px;font-weight:600;color:#53627b}.elp input,.elp select,.elp-adjustment input,.elp-adjustment select,.elp-adjustment textarea{display:block;width:100%;min-height:42px;border:1px solid #d9e0ee;border-radius:9px;padding:8px 11px;background:#fff;color:#17213c;font:inherit;margin-top:5px;min-width:0}.elp input,.elp select{font-size:13px}.elp input[type=date],.elp-adjustment input[type=date]{direction:rtl}.elp-table-scroll{max-width:100%;overflow:auto;border:1px solid #e3e8f2;border-radius:11px}.employee-profile-v4 .elp .elp-table{width:100%;min-width:0;border-collapse:collapse;table-layout:fixed;text-align:right;font-size:13px;color:#33435e}.elp-table th{font-size:12px;color:#53627b;background:#f7f9fc;padding:11px 12px;font-weight:700;white-space:normal}.elp-table td{padding:13px 12px;vertical-align:top;border-top:1px solid #e8ecf3;line-height:1.7;overflow-wrap:anywhere}.elp-table td>b{font-size:13px;color:#273753}.elp-table td>span,.elp-table td>strong,.elp-table td>small,.elp-table td>code{display:block}.elp-table td>strong{font-size:17px;margin-top:5px;color:#17213c}.elp-table td small{font-size:12px;color:#596982;line-height:1.7}.elp-delta{font-size:17px;font-weight:750;font-variant-numeric:tabular-nums;color:#17213c}.elp-delta.is-positive{color:#167657}.elp-delta.is-negative{color:#aa3b50}.elp-table .elp-empty{padding:28px 14px;text-align:center;color:#596982}.elp-pagination{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 0 0;color:#596982;font-size:12px}.elp-pagination>div{display:flex;gap:6px}.elp .ew-secondary,.elp .ew-primary,.elp .ew-inline-action,.elp-adjustment button{font-family:inherit;font-size:13px}.elp button:disabled,.elp-adjustment button:disabled{opacity:.5;cursor:default}.elp button:focus-visible,.elp input:focus-visible,.elp select:focus-visible,.elp summary:focus-visible,.elp-adjustment :is(input,select,textarea,button):focus-visible{outline:3px solid #20b9e9;outline-offset:3px}.elp-state{display:flex;align-items:center;gap:12px;justify-content:space-between;flex-wrap:wrap;padding:22px;font-size:14px;line-height:1.8;color:#53627b}.elp-state.is-error{color:#a33749}.elp-history .elp-state{padding:14px 0}
.elp-modal-overlay{position:fixed;inset:0;z-index:calc(var(--app-layer-modal-backdrop,20000) - 20);background:#111b35a1;backdrop-filter:blur(3px)}.elp-adjustment{display:grid;grid-template-rows:auto minmax(0,1fr);position:fixed;z-index:calc(var(--app-layer-modal-backdrop,20000) - 10);top:50%;left:50%;transform:translate(-50%,-50%);width:min(760px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow:hidden;background:#fff;border:1px solid #e0e5f0;border-radius:18px;box-shadow:0 22px 80px #0b143a38;color:#17213c;font-family:plex,Tajawal,Arial,sans-serif;padding:22px}.elp-adjustment>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:18px}.elp-adjustment h2{margin:9px 0 4px;font-size:23px}.elp-adjustment header p{font-size:13px;color:#596982;margin:0;line-height:1.7}.elp-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.elp-form-grid label{font-size:13px;font-weight:700;min-width:0}.elp-form-wide{grid-column:1/-1}.elp-adjustment textarea{resize:vertical}.elp-adjustment .elp-notes{margin:15px 0}.elp-adjustment footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding-top:16px;border-top:1px solid #e3e8f2}.elp-adjustment .ew-primary,.elp-adjustment .ew-secondary{min-height:43px;border-radius:9px;padding:9px 15px;cursor:pointer;font-weight:700}.elp-adjustment .ew-secondary{border:1px solid #d8deeb;color:#34425f;background:#fff}.elp-adjustment .ew-primary{border:0;background:#6c35d7;color:#fff}.elp-form-message{font-size:13px;line-height:1.8;color:#53627b;margin:12px 0}.elp-preview{background:#f4f8fc;border:1px solid #dae7f2;border-radius:12px;padding:15px}.elp-preview h3{margin:0 0 12px;font-size:15px}.elp-preview dl{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0}.elp-preview dt{font-size:12px;color:#596982}.elp-preview dd{font-size:14px;margin:4px 0 0}.elp-preview p{font-size:12px;line-height:1.8;margin:12px 0 0}
@media(max-width:1100px){.elp-legacy{align-items:stretch}}
@media(max-width:600px){.elp-heading{align-items:flex-start;flex-direction:column;padding:16px}.elp-actions{width:100%}.elp-actions button{flex:1}.elp-balances{grid-template-columns:1fr;padding:16px 16px 0;gap:12px}.elp-balances article{padding:16px}.elp-balances strong{font-size:30px}.elp-notes{margin:0 16px 16px}.elp-legacy{padding:16px 16px 0;flex-direction:column;gap:14px}.elp-legacy-value{min-width:0}.elp-history{padding:18px 16px}.elp-filters{gap:10px}.elp-filters label{max-width:none;flex:1 1 120px}.elp-filters>button{width:100%}.elp-pagination{flex-wrap:wrap}.elp-adjustment{padding:17px;width:calc(100vw - 20px);max-height:calc(100dvh - 20px);border-radius:13px}.elp-adjustment h2{font-size:20px}.elp-form-grid{grid-template-columns:1fr}.elp-form-wide{grid-column:auto}.elp-preview dl{grid-template-columns:1fr}.elp-adjustment input,.elp-adjustment select,.elp-adjustment textarea{font-size:16px}}

.elp-adjustment>form{min-height:0;overflow:auto;padding-inline:2px}.elp-adjustment>form>footer{position:sticky;bottom:0;background:#fff;padding-block:14px 0;z-index:1}
.elp-notes summary{cursor:pointer;color:#5b3a9e;font-weight:600}.elp-notes details>p{margin-top:7px}.elp-table td>span{margin-top:4px}
.elp-table th:first-child{width:17%}.elp-table th:nth-child(2){width:21%}.elp-table th:nth-child(3){width:16%}.elp-table th:last-child{width:46%}.elp-table .elp-transaction-type{font-weight:700;color:#273753}.elp-transaction-date{color:#596982}.elp-table .elp-transaction-days{white-space:nowrap}.elp-days{display:block;white-space:nowrap}.elp-days small{font-size:12px;color:#596982}.elp-transaction-description>small{margin-top:5px}.elp-table .elp-reason{font-size:13px;color:#33435e;margin-top:4px}
@media(max-width:600px){.employee-profile-v4 .elp .elp-table td{height:auto!important;min-width:0}.elp-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.elp-table tbody{display:block}.elp-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px 12px;padding:15px 12px;border-top:1px solid #e8ecf3}.elp-table tbody tr:first-child{border-top:0}.elp-table td{display:block;border:0;padding:0}.elp-table .elp-transaction-date{grid-column:2;grid-row:1;font-size:12px;text-align:left}.elp-table .elp-transaction-type{grid-column:1;grid-row:1}.elp-table .elp-transaction-days{grid-column:2;grid-row:2;text-align:left}.elp-table .elp-transaction-description{grid-column:1;grid-row:2;font-size:13px}.elp-table .elp-empty{grid-column:1/-1}}

.elp-review-check{display:flex!important;flex-direction:row!important;align-items:flex-start;gap:10px;line-height:1.8}.elp-review-check input{width:18px!important;min-height:18px!important;flex:0 0 18px;margin-top:5px}.elp-adjustment .elp-form-grid+.elp-form-grid{margin-top:12px}.elp-adjustment dl{margin:0}.elp-adjustment dd{margin:4px 0;font-weight:700}
