#hr-view,.hr-modal-layer{
  --hr-ui-ink:#182d44;--hr-ui-muted:#526980;--hr-ui-paper:#fff;--hr-ui-soft:#f3f7fb;
  --hr-ui-line:#dbe5ee;--hr-ui-field:#b9ccdc;--hr-ui-accent:#175398;--hr-ui-tint:#e9f2ff;
  --hr-toolbar-control:30px;--hr-panel-radius:8px;
  color:var(--hr-ui-ink)
}
#hr-view .hr-shell{min-inline-size:0}
.hr-view-switcher{min-inline-size:0}
.hr-view-buttons{display:flex;align-items:center;gap:4px;min-inline-size:0}
.hr-view-buttons button{min-block-size:var(--hr-toolbar-control);padding-inline:8px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--hr-ui-muted);font-size:calc(10px + var(--ui-font-step));font-weight:650;white-space:nowrap;cursor:pointer}
.hr-view-buttons button:hover,.hr-view-buttons button[aria-current=page]{background:var(--hr-ui-tint);color:var(--hr-ui-accent)}
.hr-view-buttons button[aria-current=page]{border-color:#c5d9f3}
.hr-view-select{display:none}
#hr-view [data-hr-choices=screen]{padding:3px 5px;margin-block-end:4px;border:1px solid var(--hr-ui-line);border-radius:var(--hr-panel-radius);background:var(--hr-ui-soft)}
#hr-view .hr-toolbar{display:flex;align-items:center;gap:7px;min-block-size:36px;margin-block-end:4px;padding:3px 5px;border:1px solid var(--hr-ui-line);border-radius:var(--hr-panel-radius);background:var(--hr-ui-paper)}
#hr-view .hr-toolbar[hidden]{display:none}
#hr-view .hr-register-search{display:flex;gap:4px;align-items:center;flex:0 1 305px;min-inline-size:155px;margin:0}
#hr-view .hr-register-search input{flex:1;min-inline-size:0}
#hr-view .hr-toolbar :is(input,select,.button){min-block-size:var(--hr-toolbar-control);border-radius:6px}
#hr-view .hr-toolbar-context{min-inline-size:0;flex:1}
#hr-view .hr-toolbar-context:empty{display:none}
#hr-view .hr-toolbar>[data-hr-refresh]{margin-inline-start:auto;flex:none}
#hr-view .hr-section-head{display:flex;align-items:center;gap:8px;min-block-size:34px;margin:0 0 4px;padding:3px 7px;border:1px solid var(--hr-ui-line);border-radius:var(--hr-panel-radius);background:var(--hr-ui-paper)}
#hr-view .hr-section-head>div:first-child{min-inline-size:0}
#hr-view .hr-section-head h2{margin:0;color:var(--hr-ui-ink);font-size:calc(13px + var(--ui-font-step));line-height:1.35}
#hr-view .hr-section-head p{margin:0;color:var(--hr-ui-muted);font-size:calc(10px + var(--ui-font-step))}
#hr-view .hr-section-head>:is(.button,.hr-head-actions,.hr-inline-actions){margin-inline-start:auto}
#hr-view .hr-head-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:5px}
#hr-view .hr-section-head .button{min-block-size:var(--hr-toolbar-control)}
#hr-view .hr-table-wrap{max-inline-size:100%;border:1px solid var(--hr-ui-line);border-radius:var(--hr-panel-radius);background:var(--hr-ui-paper);overscroll-behavior-inline:contain}
#hr-view .hr-record-table{width:100%;min-inline-size:650px;background:var(--hr-ui-paper);font-variant-numeric:tabular-nums;font-size:calc(11px + var(--ui-font-step))}
#hr-view .hr-record-table :is(th,td){padding:4px 7px;line-height:1.4;vertical-align:middle;border-inline:0}
#hr-view .hr-record-table thead th{background:var(--hr-ui-soft);color:var(--hr-ui-ink)}

#hr-view .hr-register-empty{padding:18px 7px;margin:0;text-align:center;color:var(--hr-ui-muted)}
#hr-view :is(button,input,select,summary):focus-visible,.hr-modal-layer :is(button,input,select,summary,textarea):focus-visible{outline:2px solid var(--hr-ui-accent);outline-offset:1px}
#hr-view .hr-kpis{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));gap:5px;margin-bottom:5px}#hr-view .hr-kpi{padding:6px 8px;border:1px solid var(--ui-line);border-radius:7px;background:#fff}#hr-view .hr-kpi span{color:var(--ui-muted);font-size:calc(8px + var(--ui-font-step))}#hr-view .hr-kpi strong{display:block;margin-top:2px;font-size:calc(15px + var(--ui-font-step))}
.hr-modal-card,.employee-modal-card{width:min(1180px,97vw)}.employee-form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.employee-profile-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:6px}.employee-profile-side{border:1px solid var(--ui-line);border-radius:7px;background:#f8fbfd}.employee-profile-main{min-width:0}
#hr-view .hr-acquisition-menu{position:relative;flex:none}
#hr-view .hr-acquisition-menu>summary{display:inline-flex;align-items:center;gap:4px;cursor:pointer;list-style:none;white-space:nowrap}
#hr-view .hr-acquisition-menu>summary::-webkit-details-marker{display:none}
#hr-view .hr-acquisition-menu[open]>summary{color:var(--hr-ui-accent);background:var(--hr-ui-tint)}
#hr-view .hr-acquisition-panel{position:absolute;z-index:40;inset-inline-end:0;inset-block-start:calc(100% + 5px);inline-size:min(645px,calc(100vw - 27px));padding:9px;border:1px solid var(--hr-ui-line);border-radius:var(--hr-panel-radius);background:var(--hr-ui-paper);box-shadow:0 10px 24px #172f5030}
#hr-view .hr-acquisition-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:7px;margin-block-end:7px}
#hr-view .hr-device-status{display:flex;align-items:end;gap:7px;padding:7px;border:1px solid var(--hr-ui-line);border-radius:7px;background:var(--hr-ui-soft)}
#hr-view .hr-device-status label{display:grid;gap:3px;flex:1 1 115px;margin:0;color:var(--hr-ui-muted);font-size:calc(10px + var(--ui-font-step))}
#hr-view .hr-device-status :is(select,input){inline-size:100%;min-inline-size:0;min-block-size:var(--hr-toolbar-control)}
#hr-view .hr-device-status .hr-pull-submit{margin-inline-start:auto;flex:none;white-space:nowrap}
.hr-daily-print-preview{display:block;width:100%;height:60vh;min-height:240px;border:1px solid var(--ui-line);border-radius:5px;background:white}
#hr-view .hr-connections{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px;font-size:calc(10px + var(--ui-font-step))}
#hr-view .hr-connection-device{display:flex;align-items:center;flex-wrap:wrap;gap:5px;padding:3px 7px;border:1px solid var(--ui-line);border-radius:6px;background:#fff;min-width:0}
#hr-view .hr-connection-device>span[dir=ltr]{color:var(--ui-muted)}
.hr-connection-badge{display:inline-flex;align-items:center;flex-wrap:wrap;gap:4px;color:#687789}
.hr-connection-badge i{width:7px;height:7px;border-radius:50%;background:currentColor;flex:none}
.hr-connection-badge small{color:var(--ui-muted);font-size:inherit}
.hr-connection-badge[data-connection=CONNECTED]{color:#14835f}.hr-connection-badge[data-connection=NOT_CONNECTED],.hr-connection-badge[data-connection=SYNC_ERROR]{color:#b84343}.hr-connection-badge[data-connection=CONNECTING]{color:#a66a10}
.hr-schedule-start{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:10px;margin-bottom:14px}.hr-schedule-panel{min-width:0;padding:12px;border:1px solid var(--ui-line);border-radius:9px;background:var(--ui-surface-soft,#f5f9fd)}.hr-schedule-heading{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-bottom:8px}.hr-schedule-heading h3{margin:0;font-size:14px;color:var(--ui-navy)}.hr-schedule-panel>.hr-schedule-heading{display:grid;gap:4px}.hr-schedule-heading>span{font-size:12px;color:var(--ui-muted)}.hr-schedule-devices{display:grid;gap:6px}.hr-schedule-device{display:flex;align-items:center;gap:10px;padding:8px;border:1px solid var(--ui-line);border-radius:7px;background:#fff}.hr-schedule-device>div{min-width:0;flex:1}.hr-schedule-device strong,.hr-schedule-device small{display:block;overflow-wrap:anywhere}.hr-schedule-device small{margin-top:4px;color:var(--ui-muted)}.hr-schedule-device>.button{flex:none}.hr-schedule-once-action{display:flex;justify-content:flex-end;padding-top:8px}
@media(max-width:760px){.hr-schedule-start{grid-template-columns:1fr}.hr-schedule-device{flex-wrap:wrap}.hr-schedule-device>.button{margin-inline-start:auto}}
.hr-acquisition-range{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:end;gap:6px;margin-bottom:6px}.hr-acquisition-range label{display:flex;flex-direction:column;gap:3px;min-width:0;margin:0}.hr-acquisition-range input{width:100%;min-width:0}.hr-acquisition-range .button{height:30px}
#hr-view .hr-attendance-filterbar{display:flex;align-items:center;justify-content:space-between;gap:6px;min-block-size:36px;margin-block-end:4px;padding:3px 5px;border:1px solid var(--hr-ui-line);border-radius:var(--hr-panel-radius);background:var(--hr-ui-paper)}
#hr-view :is(.hr-period-controls,.hr-period-range,.hr-register-actions){display:flex;align-items:center;gap:5px;min-inline-size:0}
#hr-view .hr-register-actions{margin-inline-start:auto}
#hr-view :is(.hr-period-range,.hr-period-controls) label{display:flex;align-items:center;gap:4px;min-inline-size:0;margin:0;white-space:nowrap;font-size:calc(10px + var(--ui-font-step))}
#hr-view .hr-period-range input{min-inline-size:0;inline-size:121px;min-block-size:var(--hr-toolbar-control);padding-inline:4px}
#hr-view .hr-period-controls .hr-device-choice select{min-inline-size:0;inline-size:130px;min-block-size:var(--hr-toolbar-control)}
#hr-view .hr-period-dates{padding-inline:4px;color:var(--hr-ui-muted);font-size:calc(10px + var(--ui-font-step))}
#hr-view :is(.hr-attendance-filterbar,.hr-device-footer) .button{min-block-size:var(--hr-toolbar-control);padding-inline:7px;white-space:nowrap}
#hr-view .hr-wide-toggle{display:flex;align-items:center;gap:5px;padding:2px 6px;border:1px solid var(--hr-ui-line);border-radius:6px;margin:0;min-block-size:var(--hr-toolbar-control);white-space:nowrap;cursor:pointer}
#hr-view .hr-wide-toggle:has(:checked){color:var(--hr-ui-accent);background:var(--hr-ui-tint);border-color:#bbd1ee}
#hr-view .hr-wide-toggle input{inline-size:15px;block-size:15px;min-block-size:15px;min-inline-size:15px;accent-color:var(--hr-ui-accent);padding:0;margin:0}
#hr-view .hr-device-footer{display:flex;align-items:center;gap:5px;min-block-size:31px;margin-block-start:3px}
#hr-view .hr-device-footer small{margin-inline-end:auto;color:var(--hr-ui-muted);padding-inline:5px}
#hr-view .hr-directory-tree table{width:100%;min-width:980px;table-layout:fixed}
#hr-view .hr-directory-tree th:nth-child(1){width:36%}#hr-view .hr-directory-tree th:nth-child(2){width:12%}#hr-view .hr-directory-tree th:nth-child(3){width:11%}#hr-view .hr-directory-tree th:nth-child(4){width:14%}#hr-view .hr-directory-tree th:nth-child(5){width:12%}#hr-view .hr-directory-tree th:nth-child(6){width:7%}#hr-view .hr-directory-tree th:nth-child(7){width:8%}
#hr-view .hr-directory-tree.salary-visible th:nth-child(1){width:32%}#hr-view .hr-directory-tree.salary-visible th:nth-child(2){width:11%}#hr-view .hr-directory-tree.salary-visible th:nth-child(3){width:10%}#hr-view .hr-directory-tree.salary-visible th:nth-child(4){width:12%}#hr-view .hr-directory-tree.salary-visible th:nth-child(5){width:11%}#hr-view .hr-directory-tree.salary-visible th:nth-child(6){width:9%}#hr-view .hr-directory-tree.salary-visible th:nth-child(7){width:7%}#hr-view .hr-directory-tree.salary-visible th:nth-child(8){width:8%}
#hr-view .hr-directory-tree tr[data-hr-tree-row]>td{height:34px;padding-block:2px;border-bottom-color:#e6edf3;vertical-align:middle}
#hr-view .hr-tree-label{position:relative;display:grid;grid-template-columns:19px 19px minmax(0,1fr) auto;align-items:center;gap:6px;min-height:30px;min-width:0;padding-right:calc(var(--hr-tree-depth,0)*18px + 2px)}
#hr-view .hr-tree-rail{position:absolute;top:-17px;right:calc(var(--hr-tree-depth,0)*18px - 9px);width:18px;height:33px;border-right:1px solid #b8cad8;border-bottom:1px solid #b8cad8;border-radius:0 0 5px 0;pointer-events:none}
#hr-view .hr-tree-label[data-depth="0"] .hr-tree-rail{display:none}
#hr-view .hr-tree-identity{display:grid;min-width:0;line-height:1.15}
#hr-view .hr-tree-identity :is(strong,.order-link){overflow:hidden;font-size:calc(11px + var(--ui-font-step));font-weight:850;text-align:right;text-overflow:ellipsis;white-space:nowrap}
#hr-view .hr-tree-identity .order-link{padding:0;border:0;background:transparent;box-shadow:none;color:inherit;cursor:pointer;min-width:0}
#hr-view .hr-tree-identity small{overflow:hidden;color:#7890a1;font-size:calc(8px + var(--ui-font-step));font-weight:650;text-overflow:ellipsis;white-space:nowrap}
#hr-view .hr-tree-toggle,#hr-view .hr-tree-leaf{position:relative;z-index:1;display:grid;place-items:center;width:18px;height:18px;margin:0;padding:0;border:1px solid #a8bfd0;border-radius:5px;background:#fff;color:#2b688f;font-size:16px;font-weight:900;line-height:1}
#hr-view .hr-tree-toggle{cursor:pointer;transition:transform .12s ease,background-color .12s ease,border-color .12s ease}
#hr-view .hr-tree-toggle:hover{border-color:#448dbd;background:#e9f5fd}
#hr-view .hr-tree-toggle.expanded{transform:rotate(90deg);border-color:#6da3c7;background:#e8f3fb}
#hr-view .hr-tree-toggle:disabled{opacity:.45;cursor:default}
#hr-view .hr-tree-leaf{border-color:#c6d5df;background:#f7fafc;font-size:0}
#hr-view .hr-tree-leaf::after{width:5px;height:5px;border-radius:50%;background:#8ca8ba;content:""}
#hr-view .hr-tree-symbol{display:grid;place-items:center;width:19px;height:19px;border-radius:5px;background:#d8eaf6;color:#21648f;font-size:12px}
#hr-view .hr-tree-category>td{border-top:1px solid #c5d9e8;border-bottom:1px solid #c5d9e8;background:#edf5fb;color:#163f5f;font-weight:850}

#hr-view .hr-tree-category>td:first-child{box-shadow:inset -3px 0 #287eb8}
#hr-view .hr-tree-category .hr-tree-identity strong{font-size:calc(12px + var(--ui-font-step));font-weight:950}
#hr-view .hr-tree-department>td{background:#f9fbfd;color:#244a65}

#hr-view .hr-tree-department .hr-tree-identity strong{font-weight:900}
#hr-view .hr-department-account{display:block;max-width:100%;overflow:hidden;color:var(--ui-muted);font-size:calc(10px + var(--ui-font-step));text-overflow:ellipsis;white-space:nowrap}
#hr-view .hr-tree-employee>td{background:#fff;color:#354f62}

#hr-view .hr-tree-inactive{opacity:.62}
#hr-view .hr-tree-code{color:#174f75;font-weight:900;font-variant-numeric:tabular-nums;white-space:nowrap;font-size:calc(9px + var(--ui-font-step))}
#hr-view .hr-tree-kind{display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:20px;padding-inline:5px;border:1px solid #c8d6e0;border-radius:10px;background:#f5f8fa;color:#5f788a;font-size:calc(8px + var(--ui-font-step));font-weight:900;white-space:nowrap}
#hr-view .hr-tree-kind.category{border-color:#84b4d5;background:#dceefb;color:#14577f}
#hr-view .hr-tree-kind.department{border-color:#b4cada;background:#edf5fa;color:#39657f}
#hr-view .hr-tree-kind.employee{border-color:#cbd8df;background:#f8fafb;color:#647b89}
#hr-view .hr-tree-more{text-align:center;padding:4px}
.hr-duration{display:inline-flex;align-items:baseline;justify-content:center;flex-wrap:wrap;gap:0 5px;max-width:100%;font-variant-numeric:tabular-nums}
.hr-duration>span{display:inline-flex;align-items:baseline;gap:2px;white-space:nowrap}
.hr-duration b{font-weight:inherit}.hr-duration small{display:inline;font:inherit;color:var(--ui-muted)}
#hr-view .hr-attendance-table{width:100%;table-layout:fixed;direction:rtl}
#hr-view .hr-attendance-table :is(th,td){text-align:center;padding:5px 7px;line-height:1.5;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
#hr-view :is(.hr-attendance-days,.hr-attendance-punches) :is(th,td):nth-child(4),#hr-view .hr-attendance-syncs :is(th,td):nth-child(7){text-align:right}
#hr-view :is(.hr-attendance-days,.hr-attendance-punches) td:is(:nth-child(2),:nth-child(3)){direction:ltr}
#hr-view .hr-attendance-days td:is(:nth-child(1),:nth-child(5),:nth-child(6),:nth-child(7)),#hr-view .hr-attendance-punches td:first-child{white-space:nowrap}
.hr-device-note{color:var(--ui-muted);font-size:calc(10px + var(--ui-font-step));line-height:1.6}
.hr-time-entry{display:flex;gap:6px;margin:4px 0}.hr-time-entry input{flex:1;min-width:0}
.hr-attendance-summary{display:flex;flex-wrap:wrap;gap:8px 20px;padding:8px;border:1px solid var(--ui-line);border-radius:5px;background:#f5f9fd;font-size:calc(11px + var(--ui-font-step))}
.hr-attendance-summary small{flex-basis:100%;color:var(--ui-muted);font-size:calc(10px + var(--ui-font-step))}
.hr-rule-effect{display:block;margin-top:3px;color:var(--ui-muted);font-size:calc(10px + var(--ui-font-step));line-height:1.35;white-space:normal}
.hr-modal.hr-attendance-details .hr-attendance-detail{width:100%;min-width:920px;table-layout:fixed;direction:rtl}
.hr-modal.hr-attendance-details .hr-attendance-detail :is(th,td){padding:5px 4px;text-align:center;vertical-align:middle;overflow-wrap:anywhere;white-space:normal;line-height:1.45}
.hr-modal.hr-attendance-details .hr-attendance-detail :is(th,td):is(:nth-child(3),:nth-child(12)){text-align:right}
.hr-modal.hr-attendance-details .hr-attendance-detail td:is(:nth-child(4),:nth-child(5)) span{display:inline-block;min-width:4ch;direction:ltr;font-variant-numeric:tabular-nums}
#hr-view .hr-directory-tabs{min-height:28px;margin:0 0 4px}
#hr-view .hr-attendance-approved th{white-space:normal;line-height:1.35}
#hr-view .hr-day-register .hr-table-wrap{max-block-size:max(245px,calc(100dvh - 267px));overflow:auto}
#hr-view .hr-day-register thead th{position:sticky;inset-block-start:0;z-index:2}
#hr-view .hr-day-register .hr-attendance-approved{min-inline-size:0}
#hr-view .hr-day-register[data-columns=all] .hr-attendance-approved{min-inline-size:1360px;table-layout:auto}
#hr-view .hr-day-register[data-columns=compact] :is(th,td):nth-child(n+8):not(:last-child){display:none}
#hr-view .hr-day-register :is(th,td):nth-child(2){text-align:start}
#hr-view .hr-day-register[data-columns=compact] th:nth-child(2){inline-size:28%}
#hr-view .hr-day-register[data-columns=compact] th:last-child{inline-size:73px}
#hr-view .hr-clock-edit{min-block-size:22px;padding-inline:4px}
#hr-view .hr-day-inline{display:inline-block;margin-inline-start:7px;color:var(--hr-ui-muted);font-size:calc(9px + var(--ui-font-step));white-space:nowrap}
#hr-view .hr-day-narrow-date,#hr-view .hr-day-register[data-columns=all] .hr-day-inline{display:none}
#hr-view .hr-import-register{margin-block-start:4px}
#hr-view .hr-import-register>summary{inline-size:max-content;padding:3px 7px;border-radius:6px;color:var(--hr-ui-accent);cursor:pointer}
#hr-view .hr-import-register[open]>summary{margin-block-end:4px;background:var(--hr-ui-tint)}
:is(#hr-view,.hr-modal) .hr-status{display:inline-block;padding:2px 5px;border-radius:5px;background:var(--hr-ui-soft);color:var(--hr-ui-muted);font-weight:650;font-size:calc(10px + var(--ui-font-step));line-height:1.3}
:is(#hr-view,.hr-modal) :is(.hr-status-present,.hr-status-active,.hr-status-approved,.hr-status-posted){background:#e6f4ed;color:#196044}
:is(#hr-view,.hr-modal) :is(.hr-status-incomplete,.hr-status-pending,.hr-status-preview){background:#fff1d7;color:#754b11}
:is(#hr-view,.hr-modal) :is(.hr-status-holiday,.hr-status-leave,.hr-status-excused_absence){background:var(--hr-ui-tint);color:var(--hr-ui-accent)}
:is(#hr-view,.hr-modal) :is(.hr-status-absent,.hr-status-rejected,.hr-status-suspended){background:#fcecef;color:#8a3648}
#hr-view .hr-leave-tree :is(th,td):nth-child(4),#hr-view .hr-leave-tree :is(th,td):nth-child(5),#hr-view .hr-leave-tree :is(th,td):nth-child(6){width:12%;text-align:center}
.hr-modal .hr-selection{display:flex;flex-wrap:wrap;gap:5px;min-inline-size:0}
.hr-modal .hr-selection label,.hr-group-option-rows>label{display:flex;align-items:center;gap:7px;min-block-size:34px;margin:0;padding:4px 8px;border:1px solid var(--hr-ui-line);border-radius:7px;background:var(--hr-ui-paper);font-size:calc(11px + var(--ui-font-step));cursor:pointer}
:is(.hr-modal .hr-selection,.hr-group-option-rows)>label:has(input:checked){border-color:#bbd1ee;background:var(--hr-ui-tint);color:var(--hr-ui-accent)}
.hr-modal input[type="checkbox"],.hr-group-option-rows input[type="checkbox"]{flex:none;inline-size:17px;min-inline-size:17px;block-size:17px;min-block-size:17px;margin:0;padding:0;accent-color:var(--hr-ui-accent)}
.hr-group-picker{display:grid;gap:5px;min-inline-size:0}
.hr-group-picker>span,.hr-group-options>label{font-size:calc(11px + var(--ui-font-step));color:var(--hr-ui-muted)}
.hr-group-picker>button{display:flex;align-items:center;gap:6px;justify-content:flex-start;inline-size:100%;min-inline-size:0;min-block-size:var(--hr-form-control);border-color:var(--hr-ui-field);border-radius:7px;text-align:start}
.hr-group-picker>button>span:last-child{margin-inline-start:auto}
.hr-group-picker b{background:var(--hr-ui-tint);border-radius:5px;padding-inline:6px}
.hr-group-options{position:fixed;z-index:4100;display:flex;flex-direction:column;gap:6px;min-block-size:0;padding:8px;overflow:hidden;border:1px solid var(--hr-ui-line);border-radius:var(--hr-panel-radius);background:var(--hr-ui-paper);box-shadow:0 9px 24px #172f5030}
.hr-group-options[hidden]{display:none}
.hr-group-options>label{display:grid;gap:4px;margin:0}
.hr-group-options input[type="search"]{inline-size:100%;min-inline-size:0;min-block-size:var(--hr-form-control)}
.hr-group-options-tools{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px;font-size:calc(10px + var(--ui-font-step))}
.hr-group-options-actions{display:flex;flex-wrap:wrap;gap:4px}
.hr-group-option-rows{display:grid;gap:4px;min-block-size:0;overflow:auto;overscroll-behavior:contain}
.hr-group-option-rows small{padding:7px;color:var(--hr-ui-muted)}
.hr-modal-layer{--hr-form-control:36px;position:fixed;inset:0;z-index:4000;display:flex;align-items:center;justify-content:center;padding:12px;background:#0c253f59;direction:rtl}
.hr-modal{display:flex;flex-direction:column;inline-size:min(780px,100%);max-block-size:calc(100dvh - 24px);min-block-size:0;background:var(--hr-ui-paper);border:1px solid var(--hr-ui-line);border-radius:12px;box-shadow:0 12px 40px #10284629;overflow:hidden;color:var(--hr-ui-ink)}
.hr-modal.hr-modal-wide{inline-size:min(1180px,100%)}
.hr-modal.hr-payroll-close .hr-payroll-close-note{display:grid;gap:5px;margin:0 0 12px;padding:9px 10px;border:1px solid var(--ui-line);border-radius:6px;background:#f5f9fd;font-size:calc(11px + var(--ui-font-step));line-height:1.6}
.hr-modal.hr-payroll-close [data-picker-caption]{min-width:0;white-space:normal;overflow-wrap:anywhere}
.hr-modal.hr-payroll-close .hr-close-totals,.hr-modal.hr-payroll-close .hr-close-row-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.hr-modal.hr-payroll-close .hr-close-totals{margin-block-end:9px}
.hr-modal.hr-payroll-close :is(.hr-close-totals,.hr-close-row-metrics)>div{display:grid;align-content:start;gap:3px;min-inline-size:0;padding:6px 8px;border:1px solid var(--hr-ui-line);border-radius:7px;background:var(--hr-ui-soft)}
.hr-modal.hr-payroll-close :is(.hr-close-totals,.hr-close-row-metrics) span,.hr-modal.hr-payroll-close .hr-close-employee small{color:var(--hr-ui-muted);font-size:calc(10px + var(--ui-font-step));line-height:1.3}
.hr-modal.hr-payroll-close :is(.hr-close-totals,.hr-close-row-metrics) strong{font-size:calc(14px + var(--ui-font-step));font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.hr-modal.hr-payroll-close .hr-close-totals strong{font-size:calc(17px + var(--ui-font-step))}
.hr-modal.hr-payroll-close :is(.hr-close-totals,.hr-close-row-metrics)>div.hr-close-net{background:#e8f5ee;border-color:#c0decd;color:#17604a}
.hr-modal.hr-payroll-close .hr-close-employees{display:grid;gap:6px}
.hr-modal.hr-payroll-close .hr-close-employee{min-inline-size:0;border:1px solid var(--hr-ui-line);border-radius:var(--hr-panel-radius);background:var(--hr-ui-paper)}
.hr-modal.hr-payroll-close .hr-close-employee>summary{display:grid;grid-template-columns:minmax(120px,1fr) minmax(0,2.6fr) 18px;align-items:center;gap:8px;padding:7px 8px;list-style:none;cursor:pointer}
.hr-modal.hr-payroll-close .hr-close-employee>summary::-webkit-details-marker{display:none}
.hr-modal.hr-payroll-close .hr-close-employee[open]>summary{border-block-end:1px solid var(--hr-ui-line)}
.hr-modal.hr-payroll-close .hr-close-person{display:grid;gap:3px;min-inline-size:0;overflow-wrap:anywhere}
.hr-modal.hr-payroll-close .hr-close-caret{color:var(--hr-ui-accent);text-align:center}
.hr-modal.hr-payroll-close .hr-close-employee[open] .hr-close-caret{transform:rotate(180deg)}
.hr-modal.hr-payroll-close .hr-close-detail{padding:8px}
.hr-modal.hr-payroll-close .hr-close-time-summary{display:flex;flex-wrap:wrap;gap:5px 13px;padding-block-end:7px;font-size:calc(11px + var(--ui-font-step))}
.hr-modal.hr-payroll-close .hr-close-exclusions>summary{cursor:pointer;padding:8px 2px;color:var(--hr-ui-accent);font-weight:700}
.hr-modal.hr-payroll-close .hr-close-detail table{inline-size:100%;min-inline-size:0;table-layout:fixed}
.hr-modal.hr-payroll-close .hr-close-detail :is(th,td){padding:4px 6px;white-space:normal;overflow-wrap:anywhere;font-size:calc(11px + var(--ui-font-step))}
.hr-modal.hr-payroll-close .hr-close-detail :is(th,td):first-child{inline-size:54%;text-align:start}
.hr-modal.hr-payroll-close .hr-close-detail :is(th,td):not(:first-child){inline-size:23%;text-align:center;font-variant-numeric:tabular-nums}
.hr-modal.hr-payroll-close .hr-close-deduction td:last-child{color:#95404b}
.hr-modal.hr-payroll-close .hr-payroll-selection[hidden]{display:none}
.hr-modal.hr-payroll-close .hr-close-blocks{margin:0 0 10px;padding:8px 10px;border:1px solid #efb4b4;border-radius:6px;background:#fff5f5;color:#8f2424;font-size:calc(11px + var(--ui-font-step))}.hr-modal.hr-payroll-close .hr-close-blocks ul{margin:4px 18px 0 0;padding:0}
.hr-action-filter{display:flex;align-items:center;gap:5px;padding:5px 8px;border:1px solid var(--ui-line);border-radius:5px;background:#f8fbfd}.hr-action-filter .active{background:#e6f2ff;color:var(--ui-navy);border-color:#b2d4f5}@media(max-width:760px){.hr-action-filter{flex-wrap:wrap}}
.hr-advance-filterbar{display:flex;align-items:center;gap:8px;padding:5px 8px;margin:0 0 8px;border:1px solid var(--ui-line);border-radius:5px;background:#f8fbfd}
.hr-advance-filterbar>label{display:flex;align-items:center;gap:6px;margin:0;font-size:calc(10px + var(--ui-font-step))}
.hr-advance-filterbar select{width:170px;max-width:100%;height:28px}
.hr-employee-leave-account .hr-leave-account-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.hr-employee-leave-account .hr-leave-account-summary>div{display:flex;flex-direction:column;gap:5px;min-width:0;padding:9px 11px;border:1px solid var(--ui-line);border-radius:6px;background:#f5f9fd}
.hr-employee-leave-account .hr-leave-account-summary span{font-size:calc(10px + var(--ui-font-step));color:var(--ui-muted)}
.hr-employee-leave-account .hr-leave-account-summary strong{font-size:calc(15px + var(--ui-font-step));color:var(--ui-navy);overflow-wrap:anywhere}
@media(max-width:600px){.hr-employee-leave-account .hr-leave-account-summary{grid-template-columns:1fr}.hr-employee-leave-account .hr-leave-account-summary>div{flex-direction:row;align-items:center;justify-content:space-between}}
.hr-modal.hr-category-modal{height:min(440px,calc(100dvh - 24px))}.hr-category-modal>form{flex:1}.hr-category-modal .hr-modal-body{flex:1}
.hr-modal.hr-department-modal{height:min(510px,calc(100dvh - 24px))}.hr-department-modal>form,.hr-department-modal .hr-modal-body{flex:1}.hr-department-modal [data-picker-caption]{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hr-department-modal .hr-device-note{margin:0;line-height:1.6}
.hr-modal>header{display:flex;align-items:center;justify-content:space-between;gap:8px;flex:none;min-block-size:44px;padding:6px 12px;border-block-end:1px solid var(--hr-ui-line);background:var(--hr-ui-soft)}
.hr-modal>header small{color:var(--hr-ui-muted);font-size:calc(9px + var(--ui-font-step))}
.hr-modal>header h2{margin:0;font-size:calc(15px + var(--ui-font-step));line-height:1.3;color:var(--hr-ui-ink)}
.hr-modal>form{display:flex;flex-direction:column;min-block-size:0;overflow:hidden}
.hr-modal-body{min-block-size:0;overflow:auto;overscroll-behavior:contain;padding:12px}
.hr-modal>form>footer{display:flex;justify-content:flex-end;gap:6px;flex:none;min-block-size:44px;padding:7px 12px;border-block-start:1px solid var(--hr-ui-line);background:var(--hr-ui-soft)}
.hr-modal>form>footer button{min-block-size:32px}
.hr-modal .hr-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.hr-modal .hr-form-grid>label{display:grid;gap:4px;min-inline-size:0;margin:0}
.hr-modal .hr-form-grid>label>span{font-size:calc(11px + var(--ui-font-step));font-weight:650;color:var(--hr-ui-ink)}
.hr-modal .hr-form-grid :is(select,textarea,input:not([type=checkbox],[type=radio])){inline-size:100%;min-inline-size:0}
.hr-modal .hr-form-grid .span-2{grid-column:1/-1}
.hr-modal .hr-action-duration{padding:8px;border:1px solid var(--hr-ui-line);border-radius:var(--hr-panel-radius);background:var(--hr-ui-paper)}
.hr-modal-body :is(input:not([type=checkbox],[type=radio],[type=hidden]),select,textarea):not(.smart-select-native){min-block-size:var(--hr-form-control);border-color:var(--hr-ui-field);border-radius:7px;font-size:calc(12px + var(--ui-font-step))}
.hr-modal-body :is(input,textarea)[readonly]{background:var(--hr-ui-soft);color:var(--hr-ui-muted)}
.hr-modal-body textarea{min-block-size:68px;resize:vertical}
.hr-workspace-form,.hr-profile-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:10px}
.hr-workspace-form .hr-form-block,.hr-profile-fields>fieldset{min-inline-size:0;margin:0;padding:9px;border:1px solid var(--hr-ui-line);border-radius:var(--hr-panel-radius);background:var(--hr-ui-paper)}
.hr-workspace-form .hr-form-block h3,.hr-profile-fields>fieldset>legend{margin:0 0 7px;font-size:calc(12px + var(--ui-font-step));color:var(--hr-ui-accent);font-weight:700}
.hr-profile-fields>fieldset>legend{margin:0;padding-inline:5px}
.hr-profile-fields>fieldset.hr-span-all{grid-column:1/-1}
.hr-profile-fields>fieldset[hidden]{display:none}
.hr-profile-editor [data-hr-choices=profile]{position:sticky;inset-block-start:-12px;z-index:2;margin-block-end:10px;padding:4px;background:var(--hr-ui-soft);border:1px solid var(--hr-ui-line);border-radius:var(--hr-panel-radius)}
.hr-profile-fields .hr-documents-grid{display:grid;gap:5px}
.hr-profile-fields .hr-document-row{display:grid;grid-template-columns:minmax(110px,1fr) minmax(110px,1fr) minmax(0,1.4fr);align-items:center;gap:6px}
.hr-profile-fields .hr-document-row :is(input,select){min-inline-size:0;inline-size:100%}
.hr-day-person{margin:0 0 9px;font-size:calc(14px + var(--ui-font-step))}
.hr-day-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin:0}
.hr-day-values>div{display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding:5px 8px;border:1px solid var(--hr-ui-line);border-radius:6px;background:var(--hr-ui-soft)}
.hr-day-values dt{color:var(--hr-ui-muted)}
.hr-day-values dd{min-inline-size:0;margin:0;text-align:end;overflow-wrap:anywhere;font-weight:650}
.hr-payroll-empty-label{display:block;color:var(--ui-muted);font-size:calc(9px + var(--ui-font-step));white-space:nowrap}.hr-payroll-empty-note{margin:8px 0;padding:10px 12px;border:1px solid #e6d8aa;border-radius:6px;background:#fffaf0;color:#725417;font-size:calc(11px + var(--ui-font-step))}
.hr-modal .hr-preview-summary{display:flex;flex-wrap:wrap;align-items:center;gap:5px;margin:0 0 10px}.hr-modal .hr-preview-summary>span{display:inline-flex;align-items:center;gap:4px;min-height:26px;padding:3px 8px;border:1px solid var(--ui-line);border-radius:5px;background:#f8fbfd;white-space:nowrap;font-size:calc(10px + var(--ui-font-step))}.hr-modal .hr-payroll-actions{display:flex;flex-wrap:wrap;align-items:end;gap:6px;margin-top:10px}.hr-modal .hr-payroll-actions>label{display:flex;align-items:center;gap:5px;margin:0}.hr-modal .hr-payroll-actions select{min-width:110px}
.hr-modal .hr-payroll-components{min-width:155px}.hr-modal .hr-payroll-components>summary{cursor:pointer;font-weight:600;color:var(--ui-navy)}.hr-modal .hr-payroll-components>div{display:grid;gap:3px;margin-top:6px;padding:7px;border:1px solid var(--ui-line);border-radius:5px;background:#f8fbfd}.hr-modal .hr-payroll-components>div>div{display:flex;justify-content:space-between;gap:12px;white-space:normal}.hr-modal .hr-payroll-components>div strong{white-space:nowrap}
@media(max-width:760px){
  .hr-view-buttons{display:none}
  .hr-view-select{display:flex;align-items:center;gap:6px;margin:0;min-inline-size:0;color:var(--hr-ui-muted);font-size:calc(10px + var(--ui-font-step))}
  .hr-view-select span{flex:none}
  .hr-view-select select{flex:1;inline-size:0;min-inline-size:0;min-block-size:31px;border-radius:6px}
  #hr-view .hr-toolbar,#hr-view .hr-section-head,#hr-view .hr-device-status,#hr-view .hr-device-footer{flex-wrap:wrap}
  #hr-view .hr-register-search{flex:1;min-inline-size:0}
  #hr-view .hr-toolbar-context{order:1;flex-basis:100%}
  #hr-view .hr-attendance-filterbar{display:grid;grid-template-columns:minmax(0,1fr)}
  #hr-view :is(.hr-period-controls,.hr-register-actions){flex-wrap:wrap}
  #hr-view .hr-period-range{flex:1}
  #hr-view .hr-period-range label{flex:1}
  #hr-view .hr-period-range input{inline-size:100%;max-inline-size:122px}
  #hr-view .hr-register-actions{position:relative;justify-content:flex-end}
  #hr-view .hr-acquisition-menu{position:static}
  #hr-view .hr-acquisition-panel{inline-size:min(360px,calc(100vw - 30px))}
  #hr-view .hr-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  #hr-view .hr-day-register .hr-table-wrap{max-block-size:none}
  #hr-view .hr-day-register[data-columns=compact] :is(th,td):is(:nth-child(1),:nth-child(5),:nth-child(6)){display:none}
  #hr-view .hr-day-register[data-columns=compact] th:nth-child(2){inline-size:34%}
  #hr-view .hr-day-register[data-columns=compact] th:last-child{inline-size:52px}
  #hr-view .hr-day-register[data-columns=compact] .hr-day-narrow-date,#hr-view .hr-day-register[data-columns=compact] .hr-day-inline{display:block;margin:0}
  #hr-view .hr-day-register[data-columns=compact] :is(th,td){padding-inline:4px}
  .employee-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .employee-profile-layout{grid-template-columns:1fr}
  .hr-modal-layer{padding:7px}
  .hr-modal{max-block-size:calc(100dvh - 14px)}
  .hr-modal-body{padding:8px}
  .hr-profile-editor [data-hr-choices=profile]{inset-block-start:-8px}
  .hr-workspace-form,.hr-profile-fields{grid-template-columns:minmax(0,1fr)}
  .hr-modal .hr-selection label,.hr-group-option-rows>label{min-block-size:41px}
}
@media(max-width:520px){
  .hr-modal .hr-form-grid,.hr-day-values{grid-template-columns:minmax(0,1fr)}
  .hr-modal .hr-shift-block .hr-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hr-profile-fields .hr-document-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .hr-profile-fields .hr-document-row input{grid-column:1/-1}
  .hr-modal.hr-payroll-close .hr-close-totals,.hr-modal.hr-payroll-close .hr-close-row-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hr-modal.hr-payroll-close .hr-close-employee>summary{grid-template-columns:minmax(0,1fr) 18px}
  .hr-modal.hr-payroll-close .hr-close-row-metrics{grid-column:1/-1;grid-row:2}
}
#hr-view .hr-grant-register table{min-width:0;table-layout:fixed;width:100%}#hr-view .hr-grant-register th:nth-child(1){width:15%}#hr-view .hr-grant-register th:nth-child(2){width:10%}#hr-view .hr-grant-register th:nth-child(3){width:17%}#hr-view .hr-grant-register th:nth-child(4){width:12%}#hr-view .hr-grant-register th:nth-child(5){width:10%}#hr-view .hr-grant-register th:nth-child(6){width:10%}#hr-view .hr-grant-register th:nth-child(7){width:8%}#hr-view .hr-grant-register th:nth-child(8){width:11%}#hr-view .hr-grant-register th:nth-child(9){width:7%}#hr-view .hr-grant-register td{overflow-wrap:anywhere}#hr-view .hr-grant-register td:nth-child(6){white-space:nowrap}#hr-view .hr-grant-register td small{display:block;color:var(--ui-muted)}@media(max-width:760px){#hr-view .hr-grant-register table{min-width:850px}}
#hr-view .hr-advance-register table{min-width:0;table-layout:fixed;width:100%}#hr-view .hr-advance-register th:first-child{width:19%}#hr-view .hr-advance-register th:nth-child(2){width:23%}#hr-view .hr-advance-register td{overflow-wrap:anywhere}#hr-view .hr-advance-register td:nth-child(n+4){white-space:nowrap}#hr-view .hr-advance-register td small{display:block;color:var(--ui-muted)}@media(max-width:760px){#hr-view .hr-advance-register table{min-width:760px}}
.document-relations-content .hr-relation-groups{display:grid;gap:10px;min-width:0}
.document-relations-content .hr-relation-group{min-width:0}
.document-relations-content .hr-relation-group>h3{margin:0 0 5px;padding:4px 8px;border-inline-start:3px solid #a9c7db;background:#edf4f8;color:#214964;font-size:12px;line-height:1.5}
