.hr-page{max-width:1440px;margin:auto}.hr-tabs{display:flex;gap:6px;overflow-x:auto;margin:24px 0;padding:6px;background:#f0edf6;border-radius:14px}.hr-tabs button{border:0;border-radius:10px;padding:12px 18px;background:transparent;color:#655976;font:inherit;white-space:nowrap;cursor:pointer}.hr-tabs button.selected{background:#fff;color:#361266;box-shadow:0 2px 6px #36126612;font-weight:700}.hr-hero{background:linear-gradient(115deg,#251044,#4c237a);color:white;padding:30px 34px;border-radius:22px;display:flex;justify-content:space-between;align-items:center;margin-bottom:22px;gap:20px}.hr-hero h2{font-size:clamp(24px,2.4vw,36px);margin:14px 0}.hr-hero p{color:#e0d3ed;margin:0;max-width:650px}.hr-hero .overline{color:#ffba99}.hr-hero-symbol .icon{width:76px;height:76px;color:#ffc5aa}.hr-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:22px 0}.hr-stat{padding:22px;background:white;border:1px solid #e8e2ee;border-radius:16px;display:flex;flex-direction:column;gap:10px;min-width:0}.hr-stat strong{font-size:clamp(20px,2vw,30px);color:#361266}.hr-stat span{font-size:14px;color:#71677d}.hr-columns{display:grid;grid-template-columns:1fr 1fr;gap:20px}.hr-page .panel{margin-bottom:22px}.hr-page small{display:block;margin-top:5px;color:#776c83}.hr-page td{vertical-align:middle}.hr-balance{display:flex;align-items:baseline;gap:12px;padding:10px 0}.hr-balance strong{font-size:44px;color:#361266}.hr-note{padding:14px 16px;border-inline-start:3px solid #ef6238;background:#fff7f1;border-radius:8px;line-height:1.8}.hr-line{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:14px 0;border-bottom:1px solid #eee9f3}.hr-line:last-child{border-bottom:0}.hr-line label{display:flex;align-items:center;gap:10px;margin:0}.hr-line input[type=checkbox],.hr-weekdays input{width:18px;height:18px;accent-color:#361266}.hr-empty{padding:24px;text-align:center;color:#7a7087}.hr-empty .icon{height:36px;width:36px;color:#ad99c6}.hr-section-title{display:flex;align-items:center;justify-content:space-between;gap:16px}.hr-dl{display:grid;grid-template-columns:130px 1fr;gap:13px}.hr-dl dt{color:#776c83}.hr-dl dd{margin:0;overflow-wrap:anywhere}.hr-alert{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:17px;border-bottom:1px solid #ece6f1}.hr-alert>div{display:flex;align-items:center;gap:13px}.hr-alert .icon{color:#b77b21}.hr-alert.overdue{background:#fff4f2;border-radius:12px}.hr-alert.overdue .icon{color:#c33f2f}.hr-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px}.hr-day{min-height:125px;background:white;border:1px solid #e7e0ef;border-radius:12px;padding:12px;overflow:hidden}.hr-day.today{border:2px solid #ef6238}.hr-day button{width:100%;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border:0;padding:6px;background:#eee7f7;color:#361266;border-radius:5px;text-align:start;margin-top:7px;font:inherit;font-size:12px;cursor:pointer}.hr-weekdays{display:flex;gap:15px;flex-wrap:wrap}.hr-weekdays label{display:flex;gap:6px;align-items:center}.hr-system{display:flex;gap:22px;align-items:center;margin-top:22px;text-decoration:none;color:inherit}.hr-system>div{flex:1}.hr-system .icon{color:#361266;width:44px;height:44px}.hr-dashboard{margin-top:24px}.hr-dashboard>div{display:flex;align-items:center;gap:12px}.hr-modal{width:min(940px,94vw);max-width:940px}.hr-modal .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hr-page button:focus-visible,.hr-tabs button:focus-visible{outline:3px solid #f0a486;outline-offset:3px}.hr-leave-detail p{white-space:pre-wrap}.hr-page textarea{min-height:100px}@media(max-width:900px){.hr-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.hr-columns{grid-template-columns:1fr}.hr-calendar{grid-template-columns:repeat(4,minmax(0,1fr))}.hr-alert{flex-wrap:wrap}.hr-hero-symbol{display:none}}@media(max-width:520px){.hr-stats{gap:8px}.hr-stat{padding:16px}.hr-hero{padding:23px}.hr-calendar{grid-template-columns:repeat(2,minmax(0,1fr))}.hr-modal .form-grid{grid-template-columns:1fr}.hr-system{flex-wrap:wrap}.hr-section-title{flex-wrap:wrap}.hr-dl{grid-template-columns:105px 1fr}.hr-line{flex-wrap:wrap}}
.hr-hero h2{color:#fff}.hr-hero-symbol .icon{display:inline-flex;width:76px;height:76px}.hr-hero-symbol svg{width:76px;height:76px}.hr-hero{min-height:180px}.hr-system>.icon,.hr-empty>.icon{display:inline-flex}.hr-system>.icon svg,.hr-empty>.icon svg{width:100%;height:100%}
.hr-id-card{max-width:780px;border:1px solid #e4dbee;border-radius:22px;overflow:hidden;background:#fff;margin:0 auto 24px;box-shadow:0 10px 26px #3612660a}.hr-id-brand{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#361266;padding:20px 28px;color:#fff;border-bottom:4px solid #ef6238}.hr-id-brand img{width:145px;height:46px;object-fit:contain}.hr-id-brand span{font-size:13px;letter-spacing:.05em}.hr-id-body{display:flex;gap:30px;padding:28px;align-items:center}.hr-id-photo{display:grid;gap:12px;flex:0 0 145px;justify-items:center}.hr-id-photo>img{width:132px;height:160px;object-fit:cover;border-radius:14px;border:1px solid #e4dbee}.hr-photo-placeholder{width:132px;height:160px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:#f5f1fa;border-radius:14px;color:#7e699a;font-size:12px}.hr-photo-placeholder .icon{display:inline-flex;width:48px;height:48px}.hr-photo-placeholder svg{width:100%;height:100%}.hr-id-info{flex:1;min-width:0}.hr-id-info h2{font-size:26px;color:#361266;margin:0 0 8px;overflow-wrap:anywhere}.hr-id-info>p{margin:0 0 16px;color:#72677e}.hr-id-info dl{display:grid;grid-template-columns:auto 1fr;gap:8px 20px;margin:0 0 16px}.hr-id-info dt{color:#82758e;font-size:13px}.hr-id-info dd{margin:0;overflow-wrap:anywhere}.hr-id-documents{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:24px}.hr-id-document{background:#fff;border:1px solid #e4dbee;border-radius:16px;padding:22px}.hr-id-document h3{margin-top:0}.hr-id-document>div{padding:10px 0;border-bottom:1px solid #eee9f3;margin-bottom:12px}.hr-id-document .btn{margin-top:10px;margin-inline-end:7px}.hr-document-preview{text-align:center}.hr-document-preview>img{display:block;max-width:100%;max-height:65vh;width:auto;height:auto;object-fit:contain;margin:18px auto;border-radius:10px}.hr-page .actions{flex-wrap:wrap}@media(max-width:650px){.hr-id-documents{grid-template-columns:1fr}.hr-id-body{flex-direction:column;align-items:stretch;padding:22px}.hr-id-photo{flex:auto}.hr-id-info h2{text-align:center;font-size:23px}.hr-id-info>p{text-align:center}.hr-id-brand{padding:16px}.hr-id-brand img{width:120px}.hr-id-brand span{font-size:11px}}
.hr-profile-intro{display:grid;grid-template-columns:220px minmax(0,1fr);gap:24px;align-items:start;margin:24px 0}.hr-upload-panel{border:2px dashed #baa5d1;border-radius:16px;padding:18px;background:#faf8fd;margin:12px 0}.hr-upload-panel h3{font-size:16px;margin:0 0 12px;color:#361266}.hr-upload-preview{min-height:145px;display:flex;align-items:center;justify-content:center;background:white;border:1px solid #e4dbee;border-radius:10px;overflow:hidden;text-align:center;color:#82758e;padding:8px}.hr-upload-preview img{display:block;width:100%;max-height:220px;object-fit:contain}.hr-upload-photo .hr-upload-preview{aspect-ratio:1;min-height:0}.hr-upload-photo .hr-upload-preview img{height:100%;object-fit:cover}.hr-upload-preview svg{width:30px;height:30px}.hr-upload-label{display:block!important;margin:14px 0 6px;font-weight:700;color:#361266}.hr-upload-label input{display:block;width:100%;margin-top:8px;font-size:12px;padding:8px;background:white;cursor:pointer}.hr-upload-panel small{display:block;color:#776c83;font-size:12px;line-height:1.8}.hr-identity-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:24px 0;padding-top:8px;border-top:1px solid #e4dbee}.hr-identity-grid>section{min-width:0}.hr-inline-document{display:block;width:100%;max-height:260px;object-fit:contain;border-radius:10px;background:#f5f1fa;margin:16px 0}.hr-modal label{min-width:0}.hr-modal input:focus-visible,.hr-modal select:focus-visible{outline:3px solid #f0a486;outline-offset:2px}@media(max-width:700px){.hr-profile-intro,.hr-identity-grid{grid-template-columns:1fr}.hr-profile-intro>.hr-upload-photo{max-width:250px;width:100%;justify-self:center}.hr-modal .form-grid{grid-template-columns:1fr}}
.hr-date-field{border:0;margin:0;padding:0;min-width:0}.hr-date-field legend{font-weight:600;margin-bottom:8px;font-size:14px}.hr-date-parts{display:grid;grid-template-columns:minmax(52px,1fr) 10px minmax(52px,1fr) 10px minmax(80px,1.4fr);gap:6px;align-items:end;direction:ltr}.hr-date-parts label{font-size:12px;text-align:center;color:#766881;margin:0}.hr-date-parts input{direction:ltr;text-align:center;width:100%;box-sizing:border-box;margin-top:5px}.hr-date-parts>span{padding-bottom:14px;text-align:center;color:#917fa1}.hr-crop-dialog{width:min(840px,94vw);max-height:94vh;overflow:auto;border:1px solid #ded2ed;border-radius:18px;padding:24px;color:#261b35;box-shadow:0 24px 90px #160a3355}.hr-crop-dialog::backdrop{background:#180c35b8}.hr-crop-dialog h2{margin-top:0;color:#361266}.hr-crop-dialog>canvas{display:block;max-width:100%;height:auto;margin:auto;background:#f3edf8;touch-action:none;cursor:crosshair;border-radius:8px}.hr-crop-ranges{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:20px 0}.hr-crop-ranges label{font-size:13px}.hr-crop-ranges input{width:100%;accent-color:#361266}.hr-crop-dialog .actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.hr-file-status{display:block;margin-top:7px;overflow-wrap:anywhere}@media(max-width:600px){.hr-crop-dialog{padding:16px}.hr-crop-ranges{grid-template-columns:1fr 1fr}.hr-crop-dialog .actions .btn{flex:1;white-space:normal}.hr-date-parts{gap:4px}}
.hr-year-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:1rem}
.hr-year-month{margin:0;padding:1rem}
.hr-year-month h3{margin:0 0 .75rem}
.hr-year-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px;text-align:center}
.hr-year-days small{font-size:.72rem;overflow:hidden}
.hr-year-days button{min-height:34px;border:1px solid transparent;background:transparent;color:inherit;border-radius:5px;font:inherit;cursor:pointer}
.hr-year-days button:hover,.hr-year-days button:focus-visible,.hr-year-days button[aria-current=date]{outline:2px solid #56358a;outline-offset:-2px}
.hr-year-key{display:flex;align-items:center;flex-wrap:wrap;gap:.65rem}
.hr-year-key span{padding:.2rem .6rem;border-radius:5px}
.hr-year-days .hr-approved,.hr-year-key .hr-approved{background:#d8efe5;color:#174c39}
.hr-year-days .hr-pending,.hr-year-key .hr-pending{box-shadow:inset 0 -3px #a66500;background:#fff0cf;color:#543800}
.hr-year-days .hr-approved.hr-pending{background:#d8efe5;color:#174c39}
