/* HR scoped UI — do not affect other Pearl pages */
.hr-shell{font-size:13px;color:#192b46}.hr-shell button,.hr-shell input,.hr-shell select,.hr-dialog input,.hr-dialog select,.hr-dialog textarea{font:inherit}.hr-head{display:flex;justify-content:space-between;align-items:center;margin:0 0 16px}.hr-head h2{font-size:24px;margin:4px 0}.hr-eyebrow{font-size:11px;color:#5876a4;font-weight:700;letter-spacing:.09em}.hr-priv{background:#e9f0fc;color:#436b9e;border-radius:16px;padding:8px 12px;font-size:11px}.hr-tabs{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:14px}.hr-btn{cursor:pointer;border:1px solid #d3deed;border-radius:9px;background:#fff;padding:9px 13px;color:#233b5e;white-space:nowrap}.hr-btn.selected,.hr-btn.primary{background:#2469f5;color:white;border-color:#2469f5}.hr-stats{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:9px;margin-bottom:14px}.hr-kpi{background:white;border:1px solid #dfe6f2;border-radius:12px;padding:16px;display:flex;gap:12px;align-items:center;min-height:78px;box-shadow:0 2px 9px #11295408}.hr-kpi small{display:block;color:#586981;font-size:11px}.hr-kpi strong{display:block;font-size:24px;margin-top:5px}.hr-dot{width:37px;height:37px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#e7f2ff;color:#2670c1;font-size:21px}.hr-dot.present{background:#dcfae9;color:#0ab458}.hr-dot.late{background:#fff0d7;color:#f49b04}.hr-dot.absent{background:#ffebef;color:#ef3246}.hr-dot.leave{background:#f0e4ff;color:#8e4bea}.hr-toolbar{display:flex;gap:8px;align-items:center;background:white;border:1px solid #e0e7f3;border-radius:11px;padding:10px;margin-bottom:12px;flex-wrap:wrap}.hr-toolbar input,.hr-toolbar select{border:1px solid #d9e3f1;background:white;padding:9px;border-radius:8px;min-width:90px;max-width:270px}.hr-toolbar input#hrSearch{flex:1}.hr-sep{flex:1}.hr-tablewrap{width:100%;overflow:auto;max-height:560px;border:1px solid #d9e2f0;border-radius:12px;background:white}.hr-att-table,.hr-leave-table{width:100%;border-collapse:separate;border-spacing:0;white-space:nowrap;font-size:12px}.hr-att-table th,.hr-att-table td,.hr-leave-table th,.hr-leave-table td{border-bottom:1px solid #e7edf5;padding:9px;text-align:center}.hr-att-table thead th,.hr-leave-table thead th{background:#f4f7fc;position:sticky;top:0;z-index:2;font-weight:700;color:#263c5b}.hr-sticky-name{min-width:190px;text-align:left!important;position:sticky;left:0;background:white;z-index:1}.hr-att-table thead .hr-sticky-name{z-index:3;background:#f4f7fc}.hr-att-table tr:hover td{background:#f5f9ff}.hr-att-table .weekend{background:#fff2f2}.hr-symbol{display:inline-flex;align-items:center;justify-content:center;width:23px;height:23px;border-radius:50%;border:0;font-weight:800;cursor:pointer;background:#eef2f8;color:#7b90ae}.hr-symbol.present{background:#18bf63;color:white}.hr-symbol.late{background:#ffa40c;color:white}.hr-symbol.absent{background:#fa3442;color:white}.hr-symbol.leave,.hr-symbol.sick{background:#955bf3;color:white}.hr-symbol.business{background:#2882ef;color:white}.hr-symbol.holiday{background:#e0e7f2;color:#79889c}.hr-symbol:disabled{cursor:default}.hr-bottom{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;margin-top:15px}.hr-panel{border:1px solid #dce5f2;border-radius:12px;background:white;padding:17px;min-width:0}.hr-panel h3{margin:0 0 16px;font-size:15px}.hr-donut{margin:12px auto;display:flex;align-items:center;justify-content:center;width:145px;height:145px;border-radius:50%;background:conic-gradient(#13bd63 var(--hr-pct),#e7edf5 0)}.hr-donut b{border-radius:50%;width:105px;height:105px;background:#fff;display:flex;align-items:center;justify-content:center;font-size:28px}.hr-barlabel{display:flex;justify-content:space-between;margin-top:12px;font-size:12px}.hr-bar{background:#e8eef7;height:8px;border-radius:20px;margin-top:5px;overflow:hidden}.hr-bar i{display:block;height:100%;background:#188eec;border-radius:20px}.hr-legend{display:flex;align-items:center;gap:10px;margin:9px 0}.hr-subtle{color:#8999af;font-size:11px}.hr-pill{padding:5px 9px;border-radius:14px;background:#fff0d7;color:#a66c00}.hr-pill.approved{background:#e2f8eb;color:#078745}.hr-pill.rejected{background:#ffe3e8;color:#d42b47}.hr-empty{text-align:center;padding:22px;color:#8fa0b7}.hr-overlay{position:fixed;inset:0;background:#101b2e99;z-index:10000;display:flex;align-items:center;justify-content:center;padding:18px}.hr-dialog{position:relative;background:white;width:min(460px,100%);border-radius:14px;padding:24px;box-shadow:0 18px 80px #0a153c44}.hr-dialog h2{margin:0 0 20px;font-size:18px}.hr-dialog label{display:block;font-size:12px;font-weight:600;margin:10px 0}.hr-dialog input,.hr-dialog select,.hr-dialog textarea{display:block;width:100%;padding:11px;border:1px solid #d3dfed;border-radius:8px;margin-top:6px;box-sizing:border-box}.hr-dialog textarea{min-height:80px}.hr-x{position:absolute;right:15px;top:15px;background:transparent;border:0;cursor:pointer;font-size:18px}@media(max-width:1200px){.hr-stats{grid-template-columns:repeat(3,1fr)}.hr-bottom{grid-template-columns:1fr}}@media(max-width:700px){.hr-stats{grid-template-columns:repeat(2,1fr)}}@media print{body .sidebar,body header,.hr-tabs,.hr-toolbar,.hr-overlay{display:none!important}body main{margin:0!important;padding:0!important}.hr-shell{font-size:10px}.hr-tablewrap{max-height:none;overflow:visible}.hr-att-table{font-size:8px}.hr-bottom{page-break-before:always}}

.hr-sidenav{padding:3px 0 8px 16px}.hr-sidenav button{display:block;width:100%;padding:9px 8px;background:transparent;border:0;color:#c5d6f3;font-size:12px;text-align:left;cursor:pointer;border-radius:7px}.hr-sidenav button:hover{background:#264166;color:#fff}#hrNavWrap #hrNav{width:100%}#hrNavWrap[hidden]{display:none!important}
.hr-settings-form{display:grid;grid-template-columns:repeat(2,minmax(150px,1fr));gap:16px}.hr-settings-form label{font-size:13px;color:#43546c}.hr-settings-form input{display:block;margin-top:5px;border:1px solid #d2ddea;border-radius:8px;padding:11px;width:100%}.hr-settings-form button{align-self:end}

.hr-balance-list{display:grid;grid-template-columns:repeat(3,minmax(120px,1fr));gap:10px;margin-top:12px;font-size:12px}.hr-balance-list span{padding:10px;background:#f1f6fe;border-radius:8px}

.hr-sidenav button.active{background:#2469f5;color:#fff;font-weight:650}

/* v17.8.23 HR documents roster */
@media(max-width:850px){.hr-doc-layout{grid-template-columns:1fr!important}}
.hr-doc-person:hover{border-color:#8cb4fa!important;background:#f2f6ff!important}
.hr-doc-person.selected{box-shadow:inset 3px 0 #3269ef}

/* v17.8.25: fixed attendance grid and stable sticky employee columns */
.hr-tablewrap{position:relative;overflow:auto;max-width:100%;isolation:isolate}
.hr-att-table{width:max-content;min-width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0}
.hr-att-table th,.hr-att-table td{box-sizing:border-box;white-space:nowrap}
.hr-att-table .hr-sticky-select{position:sticky!important;left:0!important;width:44px!important;min-width:44px!important;max-width:44px!important;text-align:center!important;background:#fff;z-index:5!important;padding:7px 4px!important}
.hr-att-table thead .hr-sticky-select{background:#f4f7fc;z-index:9!important}
.hr-att-table .hr-sticky-name{position:sticky!important;left:44px!important;width:260px!important;min-width:260px!important;max-width:260px!important;text-align:left!important;background:#fff;z-index:4!important;padding:7px 10px!important;overflow:hidden;text-overflow:ellipsis}
.hr-att-table thead .hr-sticky-name{background:#f4f7fc;z-index:8!important}
.hr-att-table .hr-name-text{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:240px}
.hr-att-table .hr-department{width:76px!important;min-width:76px!important;max-width:76px!important;padding:6px!important}
.hr-att-table th:not(.hr-sticky-select):not(.hr-sticky-name):not(.hr-department),.hr-att-table td:not(.hr-sticky-select):not(.hr-sticky-name):not(.hr-department){min-width:38px}
.hr-att-table tbody tr:hover .hr-sticky-select,.hr-att-table tbody tr:hover .hr-sticky-name{background:#f5f9ff}
.hr-att-table .hr-sticky-select input[type=checkbox]{margin:0;vertical-align:middle;cursor:pointer}
@media print{.hr-att-table .hr-sticky-select,.hr-att-table .hr-sticky-name{position:static!important}.hr-tablewrap{overflow:visible}}
/* v17.8.26 Holiday management additions */
.hr-gov-holiday{background:#ede9fe!important;color:#6d28d9!important;border:1px solid #c4b5fd!important;font-weight:800!important;opacity:1!important}
.hr-holiday-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.hr-holiday-actions{display:flex;gap:8px;flex-wrap:wrap}
.hr-holidays .hr-leave-table td{vertical-align:middle}
.hr-holidays .hr-tablewrap{max-height:64vh;overflow:auto}
@media(max-width:800px){.hr-holiday-actions{width:100%}.hr-holiday-actions .hr-btn{flex:1}}

/* v17.8.27: one sidebar navigation; holiday configuration under Settings */
.hr-settings-holidays{margin-top:18px}
.hr-shell .hr-head{margin-bottom:18px}

/* v17.8.28: one checkbox toggles all currently visible employees */
.hr-select-all-label{display:inline-flex;align-items:center;gap:8px;cursor:pointer;font-weight:600;color:#233b5e;padding:5px 9px;border:1px solid #d4dfef;border-radius:8px;background:#fff}
.hr-select-all-label input,.hr-att-table thead .hr-sticky-select input{accent-color:#2563eb;width:16px;height:16px;cursor:pointer}
