.hr-page{height:100%;min-height:0;background:#fff;color:var(--ui-ink, #343034);font-size:12px;display:flex;flex-direction:column;overflow:hidden}
.hr-page button,.hr-page input,.hr-page select,.hr-page textarea{font-family:"Microsoft YaHei","PingFang SC",Arial,sans-serif;font-size:12px;letter-spacing:0}
.hr-personnel-layout{height:100%;min-height:0;display:grid;grid-template-columns:212px minmax(0,1fr);background:#fff}
.hr-org-panel{min-width:0;border-right:1px solid var(--ui-primary-line, #efd0d5);padding:12px 10px;overflow:auto;background:#fff}
.hr-tree-search{height:30px;background:#f4f5f9;display:flex;align-items:center;padding:0 9px;margin-bottom:10px;border-radius:2px;color:var(--ui-muted, #716a70)}
.hr-tree-search input{width:100%;min-width:0;height:100%;border:0;outline:0;background:transparent;padding-left:7px;color:var(--ui-ink, #343034)}
.hr-tree{display:grid;gap:2px}.hr-tree button{height:34px;border:0;background:#fff;color:var(--ui-ink, #343034);text-align:left;display:flex;align-items:center;gap:7px;padding:0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hr-tree button:hover{background:#f2f7fb}.hr-tree button.active{background:var(--ui-primary-pale, #fff7f8);color:var(--ui-accent-ink, #a21c27)}.hr-tree-root{font-weight:600}.hr-tree-node{padding-left:27px!important}.hr-tree-arrow{width:10px}.hr-tree-line{width:8px;border-top:1px solid var(--ui-primary-line, #efd0d5)}.hr-tree .icon{color:var(--ui-accent-ink, #a21c27)}
.hr-main-panel{min-width:0;min-height:0;display:flex;flex-direction:column;padding:12px 15px 0;overflow:hidden}
.hr-toolbar{min-height:38px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:9px;position:relative;z-index:4}
.hr-toolbar-left,.hr-toolbar-right{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.hr-search{width:226px;height:28px;display:flex;background:#f4f5f9;border-radius:2px;overflow:hidden}
.hr-search input{min-width:0;flex:1;border:0;outline:0;background:transparent;padding:0 10px;color:var(--ui-accent-ink, #a21c27)}.hr-search button{width:32px;border:0;background:var(--ui-primary, #b8202b);color:#fff}.hr-search button:hover{background:var(--ui-primary, #b8202b)}
.hr-text-button{height:28px;border:0;background:transparent;color:var(--ui-muted, #716a70);padding:0 5px}.hr-text-button:hover{color:var(--ui-accent-ink, #a21c27)}.hr-caret{font-style:normal;margin-left:4px;color:var(--ui-muted, #716a70)}
.hr-button{height:28px;display:inline-flex;align-items:center;justify-content:center;gap:5px;border:1px solid var(--ui-primary-line, #efd0d5);border-radius:2px;background:#fff;color:var(--ui-ink, #343034);padding:0 11px;white-space:nowrap;cursor:pointer}
label.hr-button{cursor:pointer}.hr-button input[type=file]{display:none}.hr-button:hover{border-color:var(--ui-primary, #b8202b);color:var(--ui-accent-ink, #a21c27)}.hr-button.primary{background:var(--ui-primary, #b8202b);border-color:var(--ui-primary, #b8202b);color:#fff}.hr-button.primary:hover{background:var(--ui-primary, #b8202b)}.hr-button.danger{background:#e95b67;border-color:#e95b67;color:#fff}
.hr-icon-button{width:29px;height:28px;border:1px solid var(--ui-primary-line, #efd0d5);background:#fff;border-radius:2px;color:var(--ui-muted, #716a70);display:grid;place-items:center}.hr-icon-button:hover{color:var(--ui-accent-ink, #a21c27);border-color:var(--ui-primary, #b8202b)}.hr-columns-wrap{position:relative}
.hr-column-popover{position:absolute;right:0;top:33px;width:196px;background:#fff;border:1px solid var(--ui-primary-line, #efd0d5);box-shadow:0 8px 22px rgba(56, 36, 42, .16);z-index:30;padding:10px;border-radius:2px}
.hr-column-popover>.hr-check{padding-bottom:8px;border-bottom:1px solid #edf1f5}.hr-column-list{max-height:260px;overflow:auto;padding-top:5px;display:grid;grid-template-columns:1fr 1fr}.hr-check{min-height:28px;display:flex;align-items:center;gap:6px;color:var(--ui-ink, #343034)}.hr-check input{accent-color:var(--ui-primary, #b8202b)}
.hr-advanced{border:1px solid var(--ui-primary-line, #efd0d5);background:#fafbfd;margin:-1px 0 10px;padding:12px 14px;position:relative;z-index:2}.hr-advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(160px,1fr));gap:10px 18px}.hr-advanced-actions{display:flex;justify-content:center;gap:8px;margin-top:12px}
.hr-table-frame{min-height:0;flex:1;border:1px solid var(--ui-primary-line, #efd0d5);overflow:auto;position:relative;background:#fff}.hr-table{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;min-width:980px;color:var(--ui-ink, #343034)}
.hr-table th{height:40px;background:var(--ui-primary-soft, #fbeaec);color:var(--ui-ink, #343034);font-size:12px;font-weight:600;text-align:left;padding:0 10px;border-right:1px solid #fff;border-bottom:1px solid var(--ui-primary-line, #efd0d5);white-space:nowrap}
.hr-table td{height:42px;padding:0 10px;border-right:1px solid var(--ui-primary-line, #efd0d5);border-bottom:1px solid var(--ui-primary-line, #efd0d5);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:#fff}.hr-table tbody tr:hover td{background:#f7fbfe}.hr-table th:last-child,.hr-table td:last-child{border-right:0}
.personnel-table .sticky-seq,.personnel-table .sticky-name,.personnel-table .sticky-action{position:sticky;z-index:3}.personnel-table th.sticky-seq,.personnel-table th.sticky-name,.personnel-table th.sticky-action{z-index:6;background:var(--ui-primary-soft, #fbeaec)}.personnel-table .sticky-seq{left:0;text-align:center}.personnel-table .sticky-name{left:58px}.personnel-table .sticky-action{right:0}.personnel-table td.sticky-name,.personnel-table td.sticky-action,.personnel-table td.sticky-seq{background:#fff}.personnel-table tbody tr:hover td.sticky-name,.personnel-table tbody tr:hover td.sticky-action,.personnel-table tbody tr:hover td.sticky-seq{background:#f7fbfe}
.hr-link,.hr-row-link{border:0;background:transparent;color:var(--ui-accent-ink, #a21c27);padding:2px 4px}.hr-link:hover,.hr-row-link:hover{text-decoration:underline}.hr-row-link.danger{color:#da4e5f}.hr-status{display:inline-flex;align-items:center;gap:5px}.hr-status:before{content:"";width:6px;height:6px;border-radius:50%;background:var(--ui-muted, #716a70)}.hr-status.active:before,.hr-status.normal:before,.hr-status.approved:before,.hr-status.confirmed:before{background:#4cb92d}.hr-status.pending:before,.hr-status.probation:before,.hr-status.expiring:before,.hr-status.late:before,.hr-status.early:before{background:#f1a11d}.hr-status.rejected:before,.hr-status.departed:before,.hr-status.expired:before,.hr-status.absent:before{background:#e95768}
.hr-pagination{min-height:50px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex:0 0 auto;padding:6px 2px;color:var(--ui-muted, #716a70)}.hr-pagination-summary{display:flex;gap:24px}.hr-pagination-summary strong{color:#e74d57;font-weight:600}.hr-pages{display:flex;align-items:center;gap:5px}.hr-pages button{min-width:27px;height:27px;border:1px solid var(--ui-primary-line, #efd0d5);background:#fff;color:var(--ui-muted, #716a70);border-radius:2px}.hr-pages button.active{background:var(--ui-primary, #b8202b);border-color:var(--ui-primary, #b8202b);color:#fff}.hr-pages select{height:27px;border:1px solid var(--ui-primary-line, #efd0d5);background:#fff;color:var(--ui-muted, #716a70)}
.hr-empty{min-height:190px;display:grid;place-content:center;text-align:center;gap:13px;color:var(--ui-muted, #716a70)}.hr-empty-icon{width:55px;height:39px;border:4px solid var(--ui-primary, #b8202b);border-radius:4px;margin:auto;position:relative}.hr-empty-icon:before{content:"";position:absolute;width:19px;height:6px;border:4px solid var(--ui-primary, #b8202b);border-top:0;left:14px;top:-10px}
.hr-loading{height:100%;display:grid;place-content:center;gap:7px}.hr-loading i{display:block;width:420px;max-width:70vw;height:34px;background:linear-gradient(90deg,#f0f3f6,#f8fafc,#f0f3f6);background-size:200% 100%;animation:hr-shimmer 1.2s infinite}.hr-loading i:first-child{width:240px}@keyframes hr-shimmer{to{background-position:-200% 0}}
.hr-error{height:100%;display:grid;place-content:center;text-align:center;gap:10px;color:var(--ui-muted, #716a70)}.hr-error strong{font-size:16px;color:var(--ui-accent-ink, #a21c27)}.hr-error .hr-button{margin:auto}
.hr-embedded-head{height:48px;display:flex;align-items:center;gap:12px;padding:0 16px;border-bottom:1px solid var(--ui-primary-line, #efd0d5);flex:0 0 auto}.hr-embedded-head h1{font-size:15px;font-weight:600;margin:0;flex:1;color:var(--ui-ink, #343034)}.hr-back{width:28px;height:28px;border:0;background:#f1f4f8;color:var(--ui-muted, #716a70);font-size:20px;border-radius:2px}
.hr-form-scroll,.hr-detail-scroll{min-height:0;overflow:auto;background:#f4f6f9;padding:12px 16px 70px}.hr-form-section,.hr-detail-section{background:#fff;border:1px solid var(--ui-primary-line, #efd0d5);margin-bottom:10px}.hr-form-section h2,.hr-detail-section h2{height:38px;margin:0;border-bottom:1px solid #e8edf2;display:flex;align-items:center;gap:7px;padding:0 13px;font-size:13px;font-weight:600;color:var(--ui-accent-ink, #a21c27)}.hr-form-section h2 i,.hr-detail-section h2 i{display:block;width:3px;height:14px;background:var(--ui-primary, #b8202b)}
.hr-form-grid{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:14px 18px;padding:15px}.hr-field{display:grid;gap:6px;align-content:start}.hr-field>span{color:var(--ui-muted, #716a70)}.hr-field b{color:#e44e60;margin-right:3px}.hr-field input,.hr-field select,.hr-field textarea{width:100%;height:30px;border:1px solid var(--ui-primary-line, #efd0d5);border-radius:2px;background:#fff;color:var(--ui-accent-ink, #a21c27);padding:0 9px;outline:0}.hr-field textarea{height:68px;resize:vertical;padding:8px 9px}.hr-field input:focus,.hr-field select:focus,.hr-field textarea:focus{border-color:var(--ui-primary, #b8202b);box-shadow:0 0 0 2px rgba(56, 36, 42, .12)}.hr-approver-picker{width:100%;height:30px;padding:0 9px;display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px solid var(--ui-primary-line, #efd0d5);border-radius:2px;background:#fff;color:var(--ui-accent-ink, #a21c27);text-align:left;cursor:pointer}.hr-approver-picker span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hr-approver-picker i{width:6px;height:6px;flex:0 0 auto;border-right:1px solid var(--ui-muted, #716a70);border-bottom:1px solid var(--ui-muted, #716a70);transform:rotate(45deg) translateY(-2px)}.hr-approver-picker:focus{border-color:var(--ui-primary, #b8202b);box-shadow:0 0 0 2px rgba(56, 36, 42, .12);outline:0}.hr-field textarea{height:68px;resize:vertical;padding:8px 9px}.hr-field-wide{grid-column:1/-1}.hr-readonly{height:30px;border:1px solid var(--ui-primary-line, #efd0d5);background:#f6f7f9;display:flex;align-items:center;padding:0 9px;color:var(--ui-muted, #716a70)}.hr-upload{height:30px;border:1px dashed var(--ui-primary-line, #efd0d5);display:flex;align-items:center;justify-content:center;gap:6px;color:var(--ui-accent-ink, #a21c27);cursor:pointer}.hr-upload input{display:none}
.hr-form-actions{position:absolute;left:0;right:0;bottom:0;height:54px;background:#fff;border-top:1px solid var(--ui-primary-line, #efd0d5);display:flex;align-items:center;justify-content:center;gap:9px;z-index:5}.hr-form-page{position:relative}
.hr-detail-grid{display:grid;grid-template-columns:120px minmax(160px,1fr) 120px minmax(160px,1fr);margin:0;padding:8px 13px}.hr-detail-grid dt,.hr-detail-grid dd{min-height:35px;margin:0;padding:9px 6px;border-bottom:1px solid #edf1f4}.hr-detail-grid dt{color:var(--ui-muted, #716a70)}.hr-detail-grid dd{color:var(--ui-ink, #343034)}.hr-detail-note{padding:14px;margin:0;min-height:60px;color:var(--ui-muted, #716a70)}.hr-detail-section>.hr-table-frame{margin:12px;max-height:270px}
.hr-list-body{height:100%;min-height:0;display:flex;flex-direction:column;padding:12px 15px 0}.hr-list-title{height:36px;display:flex;align-items:flex-start;flex:0 0 auto}.hr-list-title h1{font-size:15px;font-weight:600;margin:0;color:var(--ui-ink, #343034)}.hr-subtabs{height:36px;display:flex;align-items:flex-end;border-bottom:1px solid var(--ui-primary-line, #efd0d5);gap:2px;margin-bottom:10px;overflow-x:auto;flex:0 0 auto}.hr-subtabs button{height:35px;border:0;background:#fff;color:var(--ui-muted, #716a70);padding:0 17px;white-space:nowrap;border-bottom:2px solid transparent}.hr-subtabs button.active{color:var(--ui-accent-ink, #a21c27);border-bottom-color:var(--ui-primary, #b8202b);font-weight:600}.hr-date-filter{height:28px;border:1px solid var(--ui-primary-line, #efd0d5);background:#fff;color:var(--ui-ink, #343034);padding:0 7px;border-radius:2px}
.labor-table{min-width:1180px}.attendance-table{min-width:1160px}.leave-table{min-width:1440px}.salary-config-table{min-width:850px}.salary-table{min-width:1840px}.hr-summary-row{min-height:39px;display:flex;align-items:center;gap:30px;background:#f7f9fb;border:1px solid var(--ui-primary-line, #efd0d5);border-bottom:0;padding:6px 12px;color:var(--ui-muted, #716a70);flex-wrap:wrap}.hr-summary-row strong{color:var(--ui-ink, #343034);font-size:14px}.salary-summary strong{color:var(--ui-accent-ink, #a21c27)}
.salary-table .sticky-seq,.salary-table .sticky-person{position:sticky;z-index:3}.salary-table th.sticky-seq,.salary-table th.sticky-person{z-index:6;background:var(--ui-primary-soft, #fbeaec)}.salary-table .sticky-seq{left:0;width:58px;text-align:center}.salary-table .sticky-person{left:58px;width:110px}.salary-table td.sticky-seq,.salary-table td.sticky-person{background:#fff}.salary-table td.amount{text-align:right;font-variant-numeric:tabular-nums}.salary-table td.strong{font-weight:600}.salary-table td.net{font-weight:700;color:var(--ui-accent-ink, #a21c27)}
.hr-salary-hidden-title{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.hr-salary-mine-body{padding:14px 18px 0;display:flex;flex-direction:column;min-height:0;overflow:hidden}.hr-salary-mine-toolbar{min-height:40px;display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-bottom:19px;position:relative;z-index:12;flex:0 0 auto}.hr-salary-tool-wrap{position:relative}.hr-salary-pill{height:32px;border:0;border-radius:16px;background:var(--ui-primary, #b8202b);color:#fff;padding:0 18px;display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap;cursor:pointer}.hr-salary-pill:hover{background:var(--ui-primary, #b8202b);color:#fff}.hr-salary-pill .icon{font-size:13px}.hr-salary-export{width:34px;height:32px;border:0;background:transparent;color:var(--ui-ink, #343034);display:grid;place-items:center;cursor:pointer;font-size:20px}.hr-salary-export:hover{color:var(--ui-accent-ink, #a21c27)}.hr-salary-export .icon-cloud-download:before{content:"\E654"}.hr-salary-popover{position:absolute;right:0;top:38px;z-index:40;background:#fff;border:1px solid var(--ui-primary-line, #efd0d5);box-shadow:0 8px 22px rgba(56, 36, 42, .16);border-radius:3px;padding:12px}.hr-salary-month-popover{width:230px}.hr-salary-month-popover select{width:100%;height:32px;border:1px solid var(--ui-primary-line, #efd0d5);background:#fff;color:var(--ui-ink, #343034);border-radius:2px;padding:0 9px}.hr-salary-period-popover{width:278px}.hr-salary-period-row{display:flex;align-items:center;gap:6px}.hr-salary-period-row input{width:100px;height:32px;border:1px solid var(--ui-primary-line, #efd0d5);background:#fff;color:var(--ui-ink, #343034);border-radius:2px;padding:0 8px}.hr-salary-popover footer{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-top:12px}.hr-salary-popover footer button{height:28px;border:1px solid var(--ui-primary-line, #efd0d5);background:#fff;color:var(--ui-ink, #343034);border-radius:2px;padding:0 12px;cursor:pointer}.hr-salary-popover footer button.primary{background:var(--ui-primary, #b8202b);border-color:var(--ui-primary, #b8202b);color:#fff}.hr-salary-table-frame{border-radius:4px;overflow:auto}.hr-salary-table-frame .hr-empty{position:absolute;inset:48px 0 0;min-height:0;background:#fff}.hr-salary-table{min-width:0}.hr-salary-table th{height:48px;background:var(--ui-primary-soft, #fbeaec)}.hr-salary-table td{height:44px}.hr-salary-table .hr-salary-seq{width:52px;text-align:center}.hr-salary-table .hr-salary-detail{padding-left:18px}.hr-salary-table .hr-salary-action{width:72px;text-align:center}.hr-salary-action .hr-row-link{padding:2px 0}.hr-salary-pagination{height:52px;display:flex;align-items:center;justify-content:center;gap:12px;color:var(--ui-muted, #716a70);flex:0 0 auto}.hr-salary-total{margin-right:12px;color:var(--ui-ink, #343034)}.hr-salary-pages{display:flex;align-items:center;gap:5px}.hr-salary-pages button{min-width:28px;height:28px;border:1px solid var(--ui-primary-line, #efd0d5);background:#fff;color:var(--ui-muted, #716a70);border-radius:2px;padding:0 8px}.hr-salary-pages button.active{background:var(--ui-primary, #b8202b);border-color:var(--ui-primary, #b8202b);color:#fff}.hr-salary-page-jump{display:flex;align-items:center;gap:6px}.hr-salary-page-jump input{width:44px;height:28px;border:1px solid var(--ui-primary-line, #efd0d5);background:#f7f9fc;color:var(--ui-ink, #343034);border-radius:3px;text-align:center;outline:0}.hr-salary-page-jump input:focus{border-color:var(--ui-primary, #b8202b);background:#fff}
.hr-modal-backdrop{position:fixed;inset:0;background:rgba(45, 41, 45, .34);z-index:120;display:grid;place-items:center;padding:18px}.hr-modal{width:min(760px,calc(100vw - 36px));max-height:calc(100dvh - 36px);background:#fff;box-shadow:0 20px 50px rgba(56, 36, 42, .24);display:flex;flex-direction:column;border-radius:3px}.hr-modal.narrow{width:min(450px,calc(100vw - 36px))}.hr-modal>header{height:46px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--ui-primary-line, #efd0d5);padding:0 16px}.hr-modal>header h2{margin:0;font-size:15px;font-weight:600}.hr-modal>header button{width:28px;height:28px;border:0;background:transparent;color:var(--ui-muted, #716a70);font-size:20px}.hr-modal>main{padding:15px;overflow:auto;min-height:0}.hr-modal>footer{height:50px;border-top:1px solid var(--ui-primary-line, #efd0d5);display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:0 15px;flex:0 0 auto}.hr-modal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px}.hr-modal-grid .hr-field-wide{grid-column:1/-1}.hr-modal-detail{display:grid;grid-template-columns:100px 1fr;margin:0}.hr-modal-detail dt,.hr-modal-detail dd{margin:0;padding:9px;border-bottom:1px solid #edf1f5}.hr-modal-detail dt{color:var(--ui-muted, #716a70);background:#f7f9fb}.hr-salary-detail-head{height:52px;display:flex;align-items:center;gap:14px;border-bottom:1px solid #e5eaf0;margin-bottom:12px}.hr-salary-detail-head strong{font-size:16px}.hr-salary-detail-head span{color:var(--ui-muted, #716a70)}.hr-salary-detail-head b{margin-left:auto;color:var(--ui-accent-ink, #a21c27);font-size:15px}
@media (max-width:1100px){.hr-personnel-layout{grid-template-columns:178px minmax(0,1fr)}.hr-form-grid{grid-template-columns:repeat(3,minmax(145px,1fr))}.hr-advanced-grid{grid-template-columns:repeat(2,minmax(150px,1fr))}}
@media (max-width:820px){.hr-personnel-layout{display:flex}.hr-org-panel{display:none}.hr-main-panel,.hr-list-body{padding:9px 9px 0}.hr-toolbar{align-items:stretch}.hr-toolbar-left,.hr-toolbar-right{width:100%}.hr-toolbar-right{justify-content:flex-end}.hr-search{flex:1;min-width:170px}.hr-advanced-grid,.hr-form-grid{grid-template-columns:1fr}.hr-field-wide{grid-column:auto}.hr-form-scroll,.hr-detail-scroll{padding:9px 9px 70px}.hr-detail-grid{grid-template-columns:92px minmax(0,1fr)}.hr-modal-grid{grid-template-columns:1fr}.hr-modal-grid .hr-field-wide{grid-column:auto}.hr-pagination{align-items:flex-start;flex-direction:column;padding:8px 0}.hr-pagination-summary{gap:12px}.hr-pages{width:100%;overflow-x:auto}.hr-column-popover{right:-2px}.hr-list-title{height:30px}}
@media (max-width:520px){.hr-toolbar-right .hr-button{padding:0 8px}.hr-advanced-grid{grid-template-columns:1fr}.hr-detail-grid dt,.hr-detail-grid dd{padding:8px 4px}.hr-modal-backdrop{padding:8px}.hr-modal{width:100%;max-height:calc(100dvh - 16px)}.hr-subtabs button{padding:0 11px}.hr-pagination-summary{font-size:11px}.personnel-toolbar .hr-toolbar-right{justify-content:flex-start}}
/* Salary page heading */
.hr-list-title{height:auto;min-height:48px;display:block}.hr-list-title p{margin:3px 0 0;color:var(--ui-muted, #716a70);font-size:12px;line-height:18px}
