.sachi-hr{--hr-green:#087a3f;--hr-ink:#153326;--hr-muted:#60736a;--hr-line:#dce6df;font:15px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--hr-ink);background:#f3f6f4;border:1px solid var(--hr-line);border-radius:18px;max-width:1500px;margin:24px auto;overflow:hidden;text-align:left}.sachi-hr *{box-sizing:border-box}.sachi-hr h1,.sachi-hr h2,.sachi-hr h3,.sachi-hr p{margin:0 0 12px;color:inherit}.sachi-hr h1{font-size:23px;line-height:1.25}.sachi-hr h2{font-size:25px;line-height:1.3}.sachi-hr h3{font-size:19px}.hr-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:26px 30px;background:#fff}.hr-brand{display:flex;gap:13px;align-items:center}.hr-brand span,.hr-eyebrow{font-size:11px;letter-spacing:1.7px;font-weight:750;color:var(--hr-green)}.hr-mark{width:48px;height:48px;background:var(--hr-green);border-radius:14px;color:#fff;display:grid;place-items:center;font-size:29px;font-weight:850}.hr-user{text-align:right;font-weight:650}.hr-user small{display:block;font-weight:400;color:var(--hr-muted)}.hr-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px 30px;border-top:1px solid var(--hr-line);background:#fff}.hr-toolbar p{color:var(--hr-muted);margin:0}.hr-toolbar label{display:flex;align-items:center;gap:12px;margin:0}.sachi-hr input,.sachi-hr select,.sachi-hr textarea{border:1px solid #bccfc2;background:#fff;color:var(--hr-ink);border-radius:8px;min-height:42px;padding:9px 11px;font:inherit;max-width:100%;margin:0;width:100%;box-shadow:none}.sachi-hr textarea{min-height:90px;resize:vertical}.sachi-hr input[type=checkbox]{width:19px;min-height:19px;height:19px;flex-shrink:0;accent-color:var(--hr-green)}.hr-toolbar input{width:155px}.sachi-hr label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600;margin-bottom:15px}.hr-check{display:flex!important;flex-direction:row!important;align-items:flex-start;gap:12px!important;font-weight:400!important}.hr-nav{display:flex;gap:4px;overflow-x:auto;padding:10px 25px;background:#eaf1ec;border-top:1px solid var(--hr-line);border-bottom:1px solid var(--hr-line)}.sachi-hr button,.sachi-hr .hr-btn{font-family:inherit;font-weight:600;font-size:13px;line-height:1.4;letter-spacing:0;text-transform:none;border:1px solid var(--hr-line);border-radius:8px;background:#fff;color:var(--hr-green);padding:10px 15px;cursor:pointer;margin:0;min-height:40px;text-decoration:none;box-shadow:none;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;gap:7px}.hr-nav button{background:transparent;border:0;color:#5a6f61}.hr-nav button[aria-current=page]{background:#fff;color:var(--hr-green);box-shadow:0 1px 4px #15332612}.sachi-hr .hr-primary{background:var(--hr-green);border-color:var(--hr-green);color:white}.sachi-hr button:hover{filter:brightness(.96)}.sachi-hr button:disabled{opacity:.5;cursor:wait}.sachi-hr :focus-visible{outline:3px solid #72bc92;outline-offset:3px}.hr-main{padding:28px 30px}.hr-intro{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:25px}.hr-intro h2{font-size:31px;margin-top:8px;letter-spacing:-.7px}.hr-intro p{color:var(--hr-muted)}.hr-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;margin-bottom:22px}.hr-stat{background:#fff;border:1px solid var(--hr-line);border-radius:13px;padding:22px}.hr-stat span{font-size:13px;color:var(--hr-muted)}.hr-stat strong{font-size:27px;display:block;line-height:1.5;letter-spacing:-.7px}.hr-stat small{font-size:12px;color:var(--hr-muted)}.hr-panel{background:#fff;border:1px solid var(--hr-line);border-radius:13px;padding:24px;margin-bottom:20px}.hr-panel>p,.hr-dialog p{color:var(--hr-muted)}.hr-actions,.hr-section-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.hr-section-title{justify-content:space-between;margin-bottom:18px;align-items:flex-start}.hr-actions{margin:12px 0}.hr-section-title p{margin:0}.hr-hint{font-size:12px;color:var(--hr-muted);margin-top:16px!important}.hr-steps{padding-left:24px}.hr-steps li{padding:7px 0}.hr-table-wrap{overflow-x:auto;margin:14px 0 18px}.sachi-hr table{border-collapse:collapse;width:100%;font-size:13px;white-space:normal;margin:0}.sachi-hr th{background:#f4f7f4;color:#6c7e72;font-size:11px;text-transform:uppercase;letter-spacing:.45px;text-align:left;padding:12px;border-bottom:1px solid var(--hr-line)}.sachi-hr td{padding:14px 12px;border-bottom:1px solid #edf1ee;vertical-align:middle;color:var(--hr-ink)}.sachi-hr td button{padding:6px 10px;font-size:12px;margin:3px;min-height:33px}.hr-badge{display:inline-block;border-radius:6px;background:#edf1ee;color:#5a6b61;font-size:11px;line-height:1.5;padding:5px 8px;white-space:nowrap;font-weight:650}.hr-approved,.hr-published{color:#11643a;background:#e4f4e9}.hr-pending,.hr-open{color:#986418;background:#fff1d9}.hr-rejected{color:#ae3c3c;background:#fcecec}.hr-draft{color:#6c5a9c;background:#f0eaf8}.hr-empty{padding:40px;text-align:center;background:#fafcfa;border:1px dashed var(--hr-line);border-radius:8px;color:var(--hr-muted)}.hr-message{padding:13px 18px;margin:20px 30px 0;border-radius:8px}.hr-message[hidden]{display:none}.hr-success{background:#e3f4e8;color:#12623b}.hr-error{background:#fff0ec;color:#a03d2b}.hr-footer{padding:18px 30px;font-size:11px;color:var(--hr-muted);border-top:1px solid var(--hr-line);display:flex;justify-content:space-between;gap:15px}.hr-dialog{border:1px solid var(--hr-line);border-radius:15px;padding:25px;width:min(760px,94vw);max-height:90vh;overflow-y:auto;color:var(--hr-ink);font:14px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:white}.hr-dialog::backdrop{background:#0d2b1da6;backdrop-filter:blur(3px)}.hr-dialog-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px}.hr-dialog-head h3{margin:0}.hr-dialog-head button{border:0;font-size:22px}.hr-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.hr-dialog-error{color:#b33232!important}.hr-user-search{padding:15px;background:#f4f7f4;border-radius:8px;margin-bottom:16px}.hr-user-search button{margin-bottom:12px}.hr-file{position:relative;margin:0!important;max-width:260px;overflow:hidden}.hr-file input{font-size:12px}.hr-import-summary{padding:12px 16px;border:1px solid #a8d6b7;background:#edf8f0;border-radius:8px;font-weight:650}.sachi-hr[aria-busy=true] .hr-actions button{opacity:.6}.sachi-hr-login{padding:30px;border:1px solid #dce6df;border-radius:12px;background:#f4f7f4}.sachi-hr-login a{background:#087a3f;color:#fff;padding:12px 20px;display:inline-block;border-radius:8px}@media(max-width:760px){.sachi-hr{border-radius:10px;margin:12px 0}.hr-header{padding:18px;align-items:flex-start}.hr-user{font-size:12px;max-width:120px}.hr-brand h1{font-size:18px}.hr-mark{width:39px;height:39px;font-size:24px}.hr-brand span{font-size:9px}.hr-toolbar{padding:12px 18px;align-items:flex-start}.hr-toolbar p{font-size:11px;max-width:120px}.hr-toolbar label{font-size:11px}.hr-toolbar input{width:140px}.hr-nav{padding:8px 12px}.hr-nav button{font-size:12px;padding:9px 12px}.hr-main{padding:20px 15px}.hr-intro{display:block}.hr-intro h2{font-size:26px}.hr-stats{grid-template-columns:1fr 1fr;gap:10px}.hr-stat{padding:15px}.hr-stat strong{font-size:20px}.hr-panel{padding:18px 14px}.hr-panel h2{font-size:22px}.hr-form-grid{grid-template-columns:1fr}.hr-footer{padding:15px;flex-direction:column;gap:4px}.hr-message{margin:15px 15px 0}.hr-dialog{padding:20px}.hr-actions{gap:8px}.hr-section-title{display:block}.hr-section-title .hr-actions{margin-top:12px}}
/* SACHI HRM Premium — responsive workspace, no external fonts or scripts. */
.sachi-hr{--hr-green:#087c52;--hr-ink:#18392f;--hr-muted:#6e8178;--hr-line:#e2ebe5;background:#f5f8f6;border-radius:22px;box-shadow:0 12px 40px #173d2910}.hr-header{padding:28px 34px}.hr-brand h1{font-size:24px;letter-spacing:-.7px}.hr-mark{background:linear-gradient(145deg,#0f995e,#075a40);border-radius:16px;box-shadow:0 6px 15px #087c5220}.hr-user{display:flex;align-items:center;gap:10px;text-align:left}.hr-avatar{width:38px;height:38px;display:grid;place-items:center;background:#e9f4ee;border-radius:50%;color:#087c52}.hr-user small{font-size:11px}.hr-live-dot{display:inline-block;width:7px;height:7px;margin-right:7px;background:#2dab71;border-radius:50%}.hr-nav{background:#fff;padding:8px 24px;gap:7px}.hr-nav button{min-height:45px}.hr-nav button[aria-current=page]{background:#e9f5ee;box-shadow:none}.hr-hero{position:relative;display:flex;justify-content:space-between;gap:30px;align-items:center;padding:36px 40px;background:linear-gradient(120deg,#064c37,#0c8157);border-radius:19px;color:white;margin-bottom:24px;overflow:hidden;min-height:270px}.hr-hero h2{font-size:36px;font-weight:750;letter-spacing:-1.3px;line-height:1.2;margin-top:12px}.hr-hero p{color:#d5eee0;max-width:460px;margin:15px 0 22px}.hr-hero .hr-eyebrow{color:#a6e2ba}.hr-hero .hr-btn{color:#07553c;background:#fff;border:0}.hr-hero-art{position:relative;flex:0 0 260px;min-height:220px;display:grid;place-items:center}.hr-orbit{position:absolute;width:290px;height:290px;border:1px solid #ffffff20;border-radius:50%}.hr-orbit.o2{width:360px;height:360px}.hr-art-card{position:relative;width:205px;background:#ffffffed;border:1px solid #ffffff70;color:#17432f;padding:21px 22px;border-radius:18px;box-shadow:0 14px 35px #00372450;transform:rotate(-5deg)}.hr-art-card>span{font-size:9px;font-weight:750;letter-spacing:1.5px}.hr-art-card b{display:block;font-size:53px;line-height:1.25}.hr-art-card small{font-size:11px;color:#658071}.hr-art-bars{display:flex;gap:10px;align-items:end;height:42px;margin-top:16px}.hr-art-bars i{display:block;flex:1;height:40%;border-radius:4px;background:#a3d9b5}.hr-art-bars i:nth-child(2){height:60%}.hr-art-bars i:nth-child(3){height:48%}.hr-art-bars i:nth-child(4){height:78%;background:#52b37d}.hr-art-bars i:nth-child(5){height:95%;background:#108455}.hr-art-dot{z-index:1;position:absolute;right:0;bottom:20px;background:#d6f7a6;border:5px solid #317d59;border-radius:50%;width:51px;height:51px;color:#24593a;display:grid;place-items:center;font-size:24px}.hr-stat{border:1px solid #e6ece8;border-radius:15px;box-shadow:0 3px 12px #213e2c03}.hr-stat strong{font-variant-numeric:tabular-nums;font-size:26px;margin:6px 0}.hr-team-stats .hr-stat:first-child{border-top:3px solid #43a778}.hr-panel{border-radius:16px;border:1px solid #e5ece7}.hr-quick-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.hr-quick-grid button{justify-content:flex-start;padding:18px 14px;background:#f4f9f6;white-space:normal;text-align:left}.hr-filter-grid{display:flex;gap:16px;align-items:end;margin-top:10px}.hr-filter-grid>label{flex:1;max-width:300px}.hr-report-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:32px;margin-top:28px}.hr-chart{display:flex;gap:10px;align-items:end;height:220px;padding:10px 0 0}.hr-chart-col{flex:1;text-align:center;min-width:0;font-size:10px;color:var(--hr-muted)}.hr-chart-col>small{font-size:9px;display:block;overflow-wrap:anywhere}.hr-chart-track{height:145px;background:#f2f7f4;position:relative;border-radius:8px;overflow:hidden;margin:8px 0;display:flex;align-items:end}.hr-chart-track>span{display:block;width:100%;background:linear-gradient(#44b77b,#0a7d54);border-radius:7px 7px 0 0;min-height:0}.hr-policy-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:20px 0}.hr-policy-grid>article{background:#f1f8f3;padding:20px;border-radius:12px}.hr-notice{border:1px solid var(--hr-line);border-radius:12px;padding:22px;display:flex;justify-content:space-between;gap:20px;margin:16px 0}.hr-notice h3{margin-top:8px}.hr-preserve{white-space:pre-wrap;overflow-wrap:anywhere}.hr-notice small{font-size:11px;color:var(--hr-muted)}.hr-empty{padding:32px}.hr-table-wrap table th{background:#f6f9f7}.hr-table-wrap table td{font-variant-numeric:tabular-nums}.hr-footer{background:white}.sachi-hr button[aria-current=page]{font-weight:750}
@media(min-width:1100px){.sachi-hr{display:grid;grid-template-columns:210px minmax(0,1fr);position:relative}.hr-header,.hr-toolbar,.hr-footer{grid-column:1/-1}.hr-nav{grid-column:1;grid-row:3/5;flex-direction:column;align-items:stretch;padding:22px 14px;border-right:1px solid var(--hr-line);border-bottom:0;overflow-x:visible}.hr-nav button{justify-content:flex-start;white-space:normal;text-align:left;padding:12px 16px}.hr-main{grid-column:2;grid-row:4;min-width:0;padding:26px}.hr-message{grid-column:2;grid-row:3;margin:20px 26px 0}.hr-report-grid{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}.hr-hero-art{flex-basis:210px}.hr-hero{padding:30px}.hr-hero h2{font-size:33px}.hr-quick-grid{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.hr-header{padding:19px 17px}.hr-brand h1{font-size:18px}.hr-avatar{display:none}.hr-hero{padding:26px 22px;min-height:230px}.hr-hero h2{font-size:29px}.hr-hero-art{display:none}.hr-stat strong{font-size:21px}.hr-team-stats .hr-stat strong{font-size:27px}.hr-report-grid{grid-template-columns:1fr;gap:20px}.hr-quick-grid{grid-template-columns:1fr 1fr}.hr-quick-grid button{font-size:12px}.hr-filter-grid{display:block}.hr-filter-grid>label{max-width:none}.hr-policy-grid{grid-template-columns:1fr}.hr-notice{display:block;padding:17px}.hr-notice>div+div{margin-top:15px}.hr-chart{height:195px;gap:6px}.hr-chart-track{height:120px}.hr-chart-col>small{font-size:8px}.hr-nav{position:sticky;top:0;z-index:10}.hr-footer{font-size:10px}.hr-main{padding:16px 12px}.hr-panel{padding:20px 14px}.hr-panel h2{font-size:21px}}
@media(prefers-reduced-motion:reduce){.sachi-hr *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* SACHI Enterprise UI refresh — scoped to HRM */
.sachi-hr{--hr-green:#056344;--hr-ink:#122d27;--hr-muted:#6a7b78;--hr-line:#e3ece8;max-width:1680px;background:#f4f8f7;border:0;border-radius:20px;box-shadow:0 14px 45px #073a2a12}
.hr-header{background:#fff;border-bottom:1px solid #e8efeb}.hr-mark{width:64px;height:56px;background:transparent;box-shadow:none;border-radius:0}.hr-mark img{display:block;width:100%;height:100%;object-fit:contain}.hr-brand h1{font-weight:800;letter-spacing:-.6px}
.hr-nav button{border-radius:12px;transition:background .16s,color .16s}.hr-nav button[aria-current=page]{background:#dcf4e8;color:#075d3d}.hr-stat,.hr-panel{box-shadow:0 6px 20px #133a2a08;border:1px solid #e5ede8;border-radius:17px}.hr-stat strong{color:#10382a;font-size:30px}
.hr-hero{background:linear-gradient(115deg,#044a37 0%,#076f4c 64%,#0a9862 100%);border-radius:20px;min-height:230px}.hr-hero h2{font-weight:800}.sachi-hr button,.sachi-hr .hr-btn{border-radius:10px}.sachi-hr .hr-primary{background:#087d51;border-color:#087d51}.hr-table-wrap{border:1px solid #e8efeb;border-radius:12px}.hr-table-wrap table th{background:#f0f6f3;color:#355d4d}.hr-table-wrap tbody tr:hover{background:#f7fbf9}
@media(min-width:1100px){.sachi-hr{grid-template-columns:235px minmax(0,1fr)}.hr-nav{background:linear-gradient(180deg,#075c45,#043e32);padding:24px 12px}.hr-nav button{color:#e3f7ed;min-height:45px}.hr-nav button:hover{color:#073e2e;background:#e0f5e9}.hr-nav button[aria-current=page]{background:#e8fff2;color:#07543d}.hr-main{padding:26px 28px}.hr-header{padding:20px 30px}}
@media(max-width:760px){.sachi-hr{border-radius:0;margin:0}.hr-header{padding:14px}.hr-mark{width:51px;height:46px}.hr-main{padding:16px 12px}.hr-stat{padding:15px}.hr-stat strong{font-size:22px}.hr-hero{min-height:190px;padding:22px}.hr-hero h2{font-size:26px}}

/* SACHI HRM Enterprise V1.1 — entire app workspace, no global WP styles */
.sachi-hr{--hr-green:#086848;--hr-ink:#172c2a;--hr-muted:#71817e;--hr-line:#e6ece9;display:grid!important;grid-template-columns:218px minmax(0,1fr)!important;grid-template-rows:66px 48px auto auto;background:#f4f8f7!important;max-width:1700px;margin:0 auto;border:0;border-radius:16px;overflow:hidden;box-shadow:0 12px 48px #0a403015;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
.hr-sidebar{grid-column:1;grid-row:1/5;background:linear-gradient(170deg,#006a4b 0%,#024e3e 58%,#033c31 100%);color:#e9fff5;display:flex;flex-direction:column;min-height:800px;min-width:0}
.hr-sidebar-brand{display:flex;align-items:center;gap:9px;padding:15px 14px 13px;border-bottom:1px solid #ffffff20;min-height:78px}
.hr-sidebar-brand img{width:67px;height:51px;object-fit:contain;flex:none}
.hr-sidebar-brand strong{display:block;color:#fff;font-size:21px;letter-spacing:.1px;line-height:1.1}
.hr-sidebar-brand small{display:block;color:#d8f8e7;font-size:10px;font-weight:750;letter-spacing:1.5px}
.hr-nav-caption{font-size:10px;font-weight:800;letter-spacing:1.3px;color:#a2d3c1;padding:24px 16px 9px}
.sachi-hr .hr-nav{display:flex!important;flex-direction:column!important;gap:3px;overflow:visible;position:static;grid-column:auto;grid-row:auto;padding:0 10px!important;background:transparent!important;border:0!important;box-shadow:none}
.sachi-hr .hr-nav button{display:flex;align-items:center;justify-content:flex-start;gap:12px;min-height:42px;width:100%;border:0!important;border-radius:10px;padding:9px 12px;background:transparent;color:#e5f7ef!important;font-size:12px;font-weight:550;white-space:normal;text-align:left;transform:none;transition:background .15s}
.sachi-hr .hr-nav button:hover{background:#ffffff19!important;color:#fff!important;transform:none}
.sachi-hr .hr-nav button[aria-current=page]{background:#e5fff1!important;color:#075d42!important;font-weight:800;box-shadow:none}
.hr-ico{width:19px;height:19px;flex:0 0 19px;display:inline-block;vertical-align:middle}
.hr-menu-dot{width:7px;height:7px;background:#ff5863;border-radius:50%;margin-left:auto}
.hr-sidebar-bottom{margin-top:auto;padding:25px 18px 22px;border-top:1px solid #ffffff1b;background:linear-gradient(0deg,#062f2a80,transparent)}
.hr-sidebar-slogan{font-family:"Noto Serif","Times New Roman",Cambria,serif;font-style:italic;color:#fff;font-size:25px;line-height:1.2}
.hr-sidebar-bottom p{font-size:10px;line-height:1.8;color:#b5dfcb;margin:14px 0 0}
.sachi-hr .hr-header{grid-column:2;grid-row:1;display:flex;align-items:center;gap:20px;padding:10px 24px!important;border-bottom:1px solid #e9efeb;background:#fff;min-width:0}
.hr-header-company{flex:0 0 215px;min-width:0}.hr-header-company strong{display:block;color:#06633f;font-size:13px;line-height:1.3}.hr-header-company small{color:#14774f;font-size:11px}
.hr-search-wrap{flex:1;position:relative;min-width:0;max-width:550px}.sachi-hr .hr-search-label{display:flex;flex-direction:row;align-items:center;gap:8px;margin:0;padding:0 12px;border:1px solid #e2eae5;background:#fbfcfb;border-radius:9px;height:38px;color:#8ca09a}.hr-search-label .hr-ico{width:16px;height:16px}.sachi-hr .hr-search-label input{border:0;box-shadow:none;outline:0;background:transparent;font-size:12px;height:36px;min-height:36px;padding:0;width:100%}.hr-search-results{position:absolute;z-index:20;top:43px;left:0;right:0;background:#fff;border:1px solid #e2eae5;box-shadow:0 15px 30px #123b251c;border-radius:10px;padding:7px}.hr-search-results[hidden]{display:none}.hr-search-results button{width:100%;justify-content:flex-start;border:0;background:#fff;color:#224c39}
.sachi-hr .hr-user{margin-left:auto;display:flex;align-items:center;gap:9px;font-size:12px;white-space:nowrap;text-align:left}.hr-avatar{background:#e6f3eb;border-radius:50%;width:38px;height:38px;display:grid;place-items:center;color:#086a47;font-size:17px;font-weight:750}.hr-user small{font-size:10px}
.sachi-hr .hr-toolbar{grid-column:2;grid-row:2;padding:7px 24px!important;min-width:0;border:0;background:#f4f8f7;font-size:12px;color:#45635a}.hr-toolbar-sub{color:#9baaa4;margin-left:7px}.sachi-hr .hr-toolbar label{display:flex;flex-direction:row;align-items:center;gap:10px;margin:0;font-size:11px}.sachi-hr .hr-toolbar input{width:146px;min-height:31px;height:31px;font-size:11px;padding:3px 8px}
.sachi-hr .hr-main{grid-column:2;grid-row:3;padding:0 16px 24px!important;min-width:0}
.sachi-hr .hr-footer{grid-column:2;grid-row:4;padding:14px 18px;background:#fff}
.sachi-hr .hr-message{grid-column:2;grid-row:2;z-index:5;margin:4px 15px}
.sachi-hr .hr-enterprise-hero{display:flex;align-items:stretch;justify-content:space-between;gap:20px;min-height:228px;padding:24px 30px!important;border-radius:15px;background:radial-gradient(circle at 62% 8%,#24a56a70,transparent 35%),linear-gradient(118deg,#004d39 0%,#006e4c 65%,#08895b 100%);margin-bottom:14px}
.hr-hero-copy{flex:1;min-width:0;z-index:1}.hr-enterprise-hero .hr-eyebrow{color:#b7efd2;letter-spacing:1.4px}.hr-enterprise-hero h2{font-size:31px;line-height:1.13;letter-spacing:-1.2px;margin:9px 0!important;color:#fff}.hr-enterprise-hero p{font-size:12px;color:#d5f0e4;max-width:550px;margin:10px 0 17px}.hr-hero-actions{display:flex;gap:10px;flex-wrap:wrap}.sachi-hr .hr-hero-cta{background:#f52237;color:white;border:0;padding:10px 16px}.sachi-hr .hr-hero-link{background:#ffffff1d;border:1px solid #ffffff60;color:#fff}
.hr-values{align-self:stretch;flex:0 1 415px;min-width:290px;border-radius:16px;background:#ffffffee;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:12px 14px;color:#0a5b39}.hr-values>img{height:64px;max-width:130px;object-fit:contain}.hr-values>span{font-family:"Noto Serif","Times New Roman",Cambria,serif;font-style:italic;font-size:16px;color:#09613e;margin:-2px 0 5px}.hr-values>strong{font-size:10px;letter-spacing:.8px}.hr-values-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));width:100%;gap:5px;margin-top:8px;text-align:center}.hr-values-grid b{font-size:22px;display:block;line-height:1.1;color:#1e6b23}.hr-values-grid small{font-size:8px;line-height:1.35;display:block;color:#376747;overflow-wrap:anywhere}
.hr-enterprise-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:12px}.hr-enterprise-stats .hr-stat{padding:17px 13px;min-width:0;border-radius:13px}.hr-enterprise-stats .hr-stat span{font-size:11px}.hr-enterprise-stats .hr-stat strong{font-size:21px;letter-spacing:-.7px;overflow-wrap:anywhere;line-height:1.4}.hr-enterprise-stats .hr-stat small{font-size:10px}
.hr-dashboard-grid{display:grid;grid-template-columns:1.12fr 1fr .9fr;gap:11px}.hr-dashboard-bottom{display:grid;grid-template-columns:1.6fr .85fr;gap:11px}.hr-dash-panel{padding:16px!important;min-width:0;margin:0 0 12px!important;border-radius:13px!important}.hr-dash-panel h3{font-size:14px!important;font-weight:750;margin:0 0 3px!important}.hr-dash-panel .hr-section-title p{font-size:10px;color:#81918c}.hr-dash-panel .hr-section-title{margin-bottom:12px}.hr-dash-panel .hr-section-title button{min-height:30px;padding:5px 9px;font-size:10px}
.hr-dept-chart{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:182px}.hr-donut{height:170px;width:170px;min-width:125px;min-height:125px;aspect-ratio:1;border-radius:50%;display:grid;place-items:center}.hr-donut>div{width:62%;height:62%;border-radius:50%;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center}.hr-donut strong{font-size:26px;line-height:1.2}.hr-donut span{font-size:10px;color:#80918a}.hr-dept-legend{flex:1;min-width:0}.hr-dept-legend>div{display:flex;align-items:center;gap:6px;font-size:10px;margin:7px 0}.hr-dept-legend i{width:8px;height:8px;flex:none;border-radius:50%}.hr-dept-legend span{flex:1;min-width:0;overflow-wrap:anywhere}.hr-dept-legend strong{white-space:nowrap;font-size:10px}
.hr-mini-bars{display:flex;gap:10px;align-items:flex-end;justify-content:space-around;height:190px;padding:10px 0 0}.hr-mini-bar{height:100%;flex:1;min-width:0;display:flex;align-items:center;justify-content:flex-end;flex-direction:column;gap:6px}.hr-mini-bar>span{width:min(42px,80%);border-radius:6px 6px 2px 2px;background:linear-gradient(180deg,#18b67a,#086f51);min-height:3px}.hr-mini-bar small{font-size:9px;color:#81918c;white-space:nowrap}
.hr-task-list{display:flex;flex-direction:column;gap:8px}.sachi-hr .hr-task-list button{min-height:39px;justify-content:flex-start;gap:9px;border:0;background:#f7faf8;border-radius:10px;width:100%;padding:8px;text-align:left;color:#244739;white-space:normal;font-size:11px}.hr-task-list button .hr-ico{color:#06986b}.hr-task-list button span{flex:1}.hr-task-list button b{color:#e44a50}
.hr-dash-panel .hr-table-wrap{margin:4px 0 0}.hr-dash-panel table{font-size:11px}.hr-dash-panel th,.hr-dash-panel td{padding:10px 7px!important}.hr-status-green{background:#ddf7e8;color:#087b4e;border-radius:6px;padding:4px 7px;font-size:10px}.hr-notice-list>div{display:flex;gap:10px;padding:10px 0;border-bottom:1px solid #edf2ee;align-items:flex-start}.hr-notice-list .hr-ico{color:#168a65}.hr-notice-list strong{display:block;font-size:11px;font-weight:650}.hr-notice-list small{display:block;font-size:10px;color:#9aa8a1}.hr-fast-panel .hr-quick-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.hr-fast-panel .hr-quick-grid button{background:#f6faf7;border:1px solid #e6efe8;min-height:57px;padding:9px 8px;white-space:normal;font-size:11px;text-align:center;justify-content:center}
.sachi-hr .hr-panel:not(.hr-dash-panel){border-radius:15px;box-shadow:0 5px 20px #164a2a0a}.sachi-hr .hr-table-wrap{border-radius:10px;overflow-x:auto}.sachi-hr .hr-table-wrap tbody tr:hover{background:#f7fbf8}
@media(max-width:1350px){.hr-header-company{flex-basis:180px}.hr-dashboard-grid{grid-template-columns:1fr 1fr}.hr-dashboard-grid>.hr-dash-panel:last-child{grid-column:1/-1}.hr-enterprise-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.hr-fast-panel .hr-quick-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:960px){.sachi-hr{grid-template-columns:1fr!important;grid-template-rows:auto auto auto auto auto!important}.hr-sidebar{grid-column:1;grid-row:1;min-height:0}.hr-sidebar-brand{min-height:65px}.hr-nav-caption,.hr-sidebar-bottom{display:none}.sachi-hr .hr-nav{flex-direction:row!important;overflow-x:auto;padding:6px 10px!important}.sachi-hr .hr-nav button{min-width:max-content;width:auto;padding:8px 12px}.hr-header{grid-column:1!important;grid-row:2!important}.hr-toolbar{grid-column:1!important;grid-row:3!important}.hr-main{grid-column:1!important;grid-row:4!important}.hr-footer{grid-column:1!important;grid-row:5!important}.hr-message{grid-column:1!important;grid-row:3!important}.hr-header-company{flex-basis:180px}.hr-values{min-width:250px}.hr-dashboard-bottom{grid-template-columns:1fr}}
@media(max-width:620px){.sachi-hr{border-radius:0}.hr-sidebar-brand img{width:55px;height:43px}.hr-sidebar-brand strong{font-size:18px}.sachi-hr .hr-header{padding:10px 14px!important;gap:8px;flex-wrap:wrap}.hr-header-company{flex:1}.hr-header-company strong{font-size:11px}.hr-search-wrap{order:3;flex-basis:100%;max-width:none}.sachi-hr .hr-toolbar{padding:8px 13px!important}.hr-toolbar-sub{display:none}.sachi-hr .hr-main{padding:0 10px 18px!important}.sachi-hr .hr-enterprise-hero{padding:20px!important;min-height:0;display:block}.hr-enterprise-hero h2{font-size:25px}.hr-values{min-width:0;margin-top:15px}.hr-enterprise-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.hr-dashboard-grid,.hr-dashboard-bottom{grid-template-columns:1fr}.hr-dashboard-grid>.hr-dash-panel:last-child{grid-column:auto}.hr-dept-chart{justify-content:flex-start}.hr-fast-panel .hr-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hr-donut{width:145px;height:145px}.hr-dept-legend>div{font-size:9px}.hr-enterprise-stats .hr-stat strong{font-size:19px}.hr-toolbar input{width:130px!important}}

/* Employee dossier */
.hr-profile-section{border:1px solid #dcebe3;border-radius:14px;padding:16px;margin:14px 0;background:#f9fcfa}.hr-profile-section legend{font-weight:800;color:#075b3d;letter-spacing:.04em;padding:0 9px}.hr-dialog:has(.hr-profile-section){width:min(94vw,920px);max-height:90vh;overflow:auto}.hr-profile-section .hr-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:650px){.hr-profile-section .hr-form-grid{grid-template-columns:1fr}}

/* V1.5 contract images */
.hr-contract-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;margin-top:12px}.hr-contract-slot{border:1px solid #d8e6df;border-radius:12px;padding:12px;background:#f8fbf9;min-width:0}.hr-contract-preview{margin:10px 0;min-height:105px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px dashed #a9c2b5;border-radius:8px;color:#64776e;overflow:hidden}.hr-contract-preview img{max-width:100%;max-height:220px;object-fit:contain}.hr-contract-preview small{padding:5px;word-break:break-word}.hr-contract-slot input{width:100%;max-width:100%;font-size:12px}.hr-contract-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.hr-contract-actions button{border:1px solid #b9d0c3;border-radius:7px;padding:7px 10px;background:white;cursor:pointer}.hr-contract-actions button:first-child{background:#126341;color:white;border-color:#126341}

.hr-employee-avatar{display:inline-flex;width:44px;height:54px;align-items:center;justify-content:center;border-radius:8px;background:#e4f1e9;color:#176243;font-weight:800;overflow:hidden}.hr-employee-avatar img{width:100%;height:100%;object-fit:cover}.hr-photo-upload{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.hr-photo-preview{width:126px;height:168px;border:1px dashed #a9c2b5;border-radius:10px;display:flex;align-items:center;justify-content:center;text-align:center;background:#f3f8f5;color:#667a70;overflow:hidden;flex-shrink:0}.hr-photo-preview img{width:100%;height:100%;object-fit:cover}.hr-photo-upload input{max-width:100%;font-size:13px}

/* SACHI employee enterprise dashboard V2.2 */
.hr-v22-dashboard{display:grid;gap:18px}.hr-v22-hero{min-height:172px;display:flex;align-items:center;border-radius:18px;padding:24px 36px;color:#fff;background:linear-gradient(105deg,#005d42 0%,#08764d 55%,#2b9d60 100%);overflow:hidden;position:relative}.hr-v22-hero:after{content:' ';position:absolute;right:-35px;top:-90px;width:420px;height:350px;border-radius:50%;background:radial-gradient(circle at 40% 40%,#9edb6b77,transparent 65%);pointer-events:none}.hr-v22-hero h2{font-size:clamp(25px,3vw,39px);margin:5px 0;color:#ffdc40;line-height:1.15}.hr-v22-hero p{font-size:17px;margin:7px 0 14px}.hr-v22-hero span{font-size:13px;opacity:.88}.hr-v22-shortcuts{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.hr-v22-shortcut{background:#fff;border:1px solid #e8eeeb;border-radius:15px;padding:17px 12px;display:flex;align-items:center;gap:10px;text-align:left;cursor:pointer;color:#163c2f;box-shadow:0 3px 15px #123c2410}.hr-v22-shortcut:hover{border-color:#30a476;transform:translateY(-2px)}.hr-v22-shortcut-icon{background:#e3f7e9;border-radius:12px;padding:10px;display:flex;color:#00824f}.hr-v22-shortcut-icon .hr-ico{width:24px;height:24px}.hr-v22-shortcut strong{display:block;font-size:13px}.hr-v22-shortcut small{display:block;font-size:11px;color:#74827b;margin-top:4px}.hr-v22-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.hr-v22-panel{background:#fff;border:1px solid #e4ebe7;border-radius:17px;min-height:230px;padding:19px;box-shadow:0 4px 18px #123c240a}.hr-v22-title{display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid #edf0ee;padding-bottom:12px}.hr-v22-title h3{margin:0;font-size:17px;display:flex;align-items:center;gap:8px}.hr-v22-title .hr-ico{color:#008450;width:21px;height:21px}.hr-v22-title button{background:none;border:0;color:#087c4a;cursor:pointer;font-size:12px;white-space:nowrap}.hr-v22-item{display:flex;gap:12px;padding:15px 2px;border-bottom:1px solid #eff2f0;align-items:flex-start}.hr-v22-item>.hr-ico{width:21px;height:21px;color:#0b8954;flex-shrink:0}.hr-v22-item strong{font-size:13px;display:block}.hr-v22-item small{display:block;color:#78857e;margin-top:5px;font-size:11px}.hr-v22-empty{color:#7b8982;font-size:13px;padding:24px 6px;line-height:1.7}.hr-v22-calendar{text-align:center;padding:28px;font-weight:700;color:#08764d}.hr-v22-calendar p{font-weight:400;color:#7b8982}.hr-v22-values{background:linear-gradient(125deg,#005d3d,#0e9956);color:#fff;display:flex;flex-direction:column;justify-content:center}.hr-v22-values h3{font-size:27px;line-height:1.35;margin:0}.hr-v22-values em{font-weight:400}.hr-v22-values p{color:#d8f8e7}.hr-v22-values div{font-size:13px;color:#d2f2df}@media(max-width:1350px){.hr-v22-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:950px){.hr-v22-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.hr-v22-grid{grid-template-columns:1fr}.hr-v22-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}.hr-v22-hero{padding:25px 20px}.hr-v22-shortcut{padding:12px 8px}.hr-v22-shortcut-icon{padding:8px}}

/* V2.5 approval queue */
.hr-panel:has([name="approval_department"]) input,.hr-panel:has([name="approval_department"]) select{max-width:480px;}

/* V2.7 organization chart */
.hr-org-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));gap:18px;margin-top:18px}.hr-org-department{border:1px solid #dce9e4;background:#fff;border-radius:18px;padding:18px;min-width:0}.hr-org-department[hidden]{display:none}.hr-org-department>header{display:flex;justify-content:space-between;gap:8px;align-items:center;border-bottom:1px solid #edf2f0;padding-bottom:12px;margin-bottom:14px}.hr-org-department h3{font-size:17px;margin:0;color:#005a42}.hr-org-department header span{font-size:12px;color:#657b73}.hr-org-node{margin-left:calc(var(--depth)*13px);padding:5px 0 5px 11px;border-left:2px solid #cde8db}.hr-org-person{display:flex;align-items:center;gap:10px;padding:10px;background:#f5faf8;border:1px solid #e5efeb;border-radius:12px}.hr-org-avatar{width:38px;height:46px;border-radius:9px;background:#d8efe4;color:#075b41;display:grid;place-items:center;font-weight:800;flex-shrink:0}.hr-org-person-info{display:grid;gap:3px;min-width:0;flex:1}.hr-org-person-info strong{font-size:14px;overflow-wrap:anywhere}.hr-org-person-info small{font-size:12px;color:#667a73;overflow-wrap:anywhere}.hr-org-filter{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.hr-org-filter select{max-width:340px}@media(max-width:700px){.hr-org-grid{grid-template-columns:1fr}.hr-org-department{padding:12px}.hr-org-node{margin-left:calc(var(--depth)*7px)}.hr-org-person{flex-wrap:wrap}}

.hr-org-dual{font-size:10px;font-weight:700;background:#dcefe6;color:#0b694c;padding:4px 6px;border-radius:7px;max-width:115px;line-height:1.25}

/* V3.2: accessible attention indicators for employee portal */
.hr-attention-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 5px;border-radius:99px;background:#dc2626;color:white;font-size:11px;font-weight:800;line-height:1;box-shadow:0 1px 3px #0002;flex-shrink:0}
.hr-nav button .hr-attention-count{margin-left:auto}.hr-header-bell{position:relative;display:inline-flex;align-items:center;justify-content:center;border:1px solid #e5e7eb;background:white;border-radius:12px;width:42px;height:42px;cursor:pointer}.hr-header-bell .hr-attention-count{position:absolute;top:-7px;right:-7px}.hr-v22-shortcut-icon{position:relative}.hr-v22-shortcut-icon .hr-attention-count{position:absolute;top:-8px;right:-10px}.hr-attention-panel{border:1px solid #fecaca;background:#fff7f7;border-radius:14px;padding:16px;margin-bottom:18px}.hr-attention-heading{display:flex;align-items:center;gap:8px;color:#991b1b}.hr-attention-heading svg{width:20px}.hr-attention-links{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}.hr-attention-links button{border:1px solid #fecaca;border-radius:10px;padding:9px 12px;background:#fff;cursor:pointer;display:flex;align-items:center;gap:8px}.hr-attention-course{display:flex;flex-direction:column;text-align:left;gap:5px;padding:12px;width:100%;background:#fff;border:0;border-bottom:1px solid #e5e7eb;cursor:pointer}.hr-attention-course small{color:#64748b}.hr-header-bell .hr-ico{width:20px;height:20px}

/* V3.4.3: Compact, accessible employee quiz radio options. */
.sachi-hr .hr-quiz-question{border:1px solid #dce6df;border-radius:12px;margin:0 0 14px;padding:15px 16px 12px;min-width:0;background:#fff}
.sachi-hr .hr-quiz-question legend{font-size:15px;font-weight:700;line-height:1.5;color:#153326;padding:0 6px;max-width:100%}
.sachi-hr .hr-quiz-options{display:grid;grid-template-columns:1fr;gap:5px;margin-top:5px}
.sachi-hr .hr-quiz-question label.hr-quiz-option{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:11px!important;margin:0!important;padding:9px 11px!important;min-height:42px;border:1px solid transparent;border-radius:8px;font-size:14px;font-weight:400;line-height:1.5;cursor:pointer;overflow-wrap:anywhere}
.sachi-hr .hr-quiz-question label.hr-quiz-option:hover{background:#f3f9f5;border-color:#dcebe1}
.sachi-hr .hr-quiz-question label.hr-quiz-option:has(input:checked){background:#eaf7ee;border-color:#79bd95}
.sachi-hr .hr-quiz-question input[type=radio]{appearance:auto!important;-webkit-appearance:radio!important;box-sizing:border-box!important;display:inline-block!important;flex:0 0 17px!important;width:17px!important;min-width:17px!important;max-width:17px!important;height:17px!important;min-height:17px!important;max-height:17px!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;box-shadow:none!important;accent-color:#087a3f;vertical-align:middle}
.sachi-hr .hr-quiz-question .hr-quiz-option span{display:block;flex:1;min-width:0}
@media(max-width:620px){.sachi-hr .hr-quiz-question{padding:12px 9px}.sachi-hr .hr-quiz-question label.hr-quiz-option{padding:9px 7px!important;font-size:13px}}

.hr-operation-progress{position:sticky;top:0;z-index:1100;background:#eff9f4;color:#164c38;border:1px solid #c8e6d7;border-radius:10px;padding:12px 16px;margin:8px auto;max-width:1500px;font:14px/1.5 sans-serif}.hr-operation-progress[hidden]{display:none}.hr-operation-progress strong,.hr-operation-progress span,.hr-operation-progress small{display:block}.hr-operation-progress progress{width:100%;height:12px;accent-color:#078354}.hr-operation-progress small{font-size:11px;color:#52675d}.hr-operation-error{background:#fff4e9;color:#903d17}dialog .hr-operation-progress{position:sticky;top:0;z-index:2}#hr-period-view{white-space:nowrap}

/* Sachi centered loading card. Existing mascot is reused; no additional image request to third parties. */
.hr-operation-progress,dialog .hr-operation-progress{position:fixed;inset:0;top:0;z-index:100000;margin:0;max-width:none;padding:24px;display:grid;place-items:center;border:0;border-radius:0;background:rgba(232,245,239,.83);backdrop-filter:blur(5px);box-sizing:border-box;overflow:auto;font-family:inherit;color:#153e30}
.hr-operation-progress[hidden]{display:none!important}.hr-loading-card{position:relative;box-sizing:border-box;width:min(100%,390px);padding:24px 30px 22px;border:1px solid #d9ede1;border-radius:28px;background:linear-gradient(155deg,#fff 45%,#f0faf4);text-align:center;box-shadow:0 24px 70px #12543725}
.hr-loading-art{position:relative;display:flex;align-items:flex-end;justify-content:center;height:175px;margin:-5px auto 12px}.hr-loading-art img{position:relative;z-index:1;height:174px;width:auto;object-fit:contain;filter:drop-shadow(0 8px 9px #276b3026);animation:hr-loading-float 3s ease-in-out infinite}.hr-loading-halo{position:absolute;width:146px;height:146px;bottom:4px;border-radius:50%;background:radial-gradient(circle,#e4f7ce,#eaf7ec 70%);box-shadow:0 0 0 12px #eef8e980}.hr-loading-spark{position:absolute;right:66px;top:24px;color:#ceab4c;font-size:25px}.hr-loading-eyebrow{text-transform:uppercase;font-size:10px;letter-spacing:1.8px;font-weight:700;color:#648475}.hr-loading-percent{font-size:56px;line-height:1.2;font-weight:800;letter-spacing:-2px;color:#087c50;margin:6px 0}.hr-loading-percent span{display:inline;font-size:24px;margin-left:3px}.hr-loading-copy strong{font-size:16px;line-height:1.5}.hr-loading-copy p{margin:8px 0 16px;font-size:13px;color:#63796d;overflow-wrap:anywhere}.hr-loading-card progress{height:9px;width:100%;border:0;border-radius:20px;overflow:hidden;background:#dfede4;accent-color:#078354}.hr-loading-card progress::-webkit-progress-bar{background:#dfede4;border-radius:20px}.hr-loading-card progress::-webkit-progress-value{background:linear-gradient(90deg,#8fbe55,#078354);border-radius:20px;transition:width .25s ease}.hr-loading-dismiss{display:block;margin:16px auto 0;border:0;background:transparent;color:#4f7260;font:inherit;font-size:12px;text-decoration:underline;cursor:pointer;padding:6px 12px}.hr-operation-error .hr-loading-percent{color:#ad542b}.hr-operation-error .hr-loading-card{border-color:#eac7ad}
@keyframes hr-loading-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}@media(max-width:480px){.hr-operation-progress,dialog .hr-operation-progress{padding:16px}.hr-loading-card{padding:22px;border-radius:22px}.hr-loading-percent{font-size:48px}}@media(prefers-reduced-motion:reduce){.hr-loading-art img{animation:none}.hr-loading-card progress::-webkit-progress-value{transition:none}.hr-operation-progress{backdrop-filter:none}}

.hr-payroll-bases{border:1px solid #d4e8dd;border-radius:12px;padding:16px;margin:16px 0}.hr-payroll-bases legend{font-weight:700;color:#087b50}.hr-payroll-bases label{display:flex;align-items:flex-start;gap:10px;padding:10px 0}.hr-payroll-bases input[type=checkbox]{width:18px;height:18px;flex:0 0 18px;margin-top:3px}.hr-payroll-bases h4{margin:12px 0 4px}

.hr-slip-dialog{max-width:850px}.hr-personal-slip{max-width:760px;margin:0 auto;padding:12px;color:#183e30}.hr-slip-brand{display:flex;justify-content:space-between;gap:18px;align-items:center;border-bottom:1px solid #d6e8dc;padding-bottom:18px}.hr-slip-brand>div:last-child{text-align:right}.hr-slip-brand strong{font-size:32px;color:#087b50}.hr-slip-brand small{display:block;font-size:11px;margin-top:5px;color:#63786d}.hr-personal-slip h2{font-size:26px;margin:24px 0 12px}.hr-slip-period{display:flex;justify-content:space-between;gap:12px;font-size:12px}.hr-slip-period strong{color:#087b50}.hr-slip-profile{display:grid;grid-template-columns:1fr 1fr;gap:18px;background:#eff7f2;border-radius:12px;padding:20px;margin:24px 0}.hr-slip-profile div{display:flex;gap:12px}.hr-slip-profile dt{font-size:12px;color:#647b6d}.hr-slip-profile dd{margin:0;font-weight:600}.hr-personal-slip h3{font-size:14px;color:#087b50;margin:24px 0 14px}.hr-slip-work{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.hr-slip-work small,.hr-slip-work strong{display:block}.hr-slip-work small{color:#647b6d;margin-bottom:10px}.hr-slip-money{width:100%;border-collapse:collapse;font-size:14px}.hr-slip-money th{padding:10px 14px;background:#087b50;color:#fff;text-align:left;font-size:11px}.hr-slip-money td{padding:10px 14px;border-bottom:1px solid #d4e4da}.hr-slip-money th:last-child,.hr-slip-money td:last-child{text-align:right;white-space:nowrap}.hr-slip-subtotal{background:#eff7f2;font-weight:700}.hr-slip-net{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#087b50;color:#fff;padding:18px;border-radius:10px;margin-top:16px}.hr-slip-net b{font-size:24px}.hr-slip-guidance{font-size:12px;color:#63786d;margin-top:24px}.hr-slip-guidance strong{color:#087b50}.hr-personal-slip footer{font-size:11px;color:#63786d;border-top:1px solid #d4e4da;padding:12px 0}.hr-slip-extra{margin:16px 0}@media(max-width:560px){.hr-personal-slip{padding:0}.hr-slip-brand{align-items:flex-start}.hr-slip-brand>div:last-child{font-size:11px}.hr-slip-brand strong{font-size:24px}.hr-slip-profile{grid-template-columns:1fr;padding:14px}.hr-slip-work{grid-template-columns:1fr;gap:12px}.hr-slip-period{flex-direction:column}.hr-slip-net{align-items:flex-start;flex-direction:column}.hr-slip-money td{padding:8px;font-size:12px}.hr-personal-slip h2{font-size:22px}}

.hr-slip-logo{display:block;width:130px;height:85px;object-fit:contain}.hr-sidebar-brand img{width:112px;height:76px;object-fit:contain;flex-shrink:0}.hr-sidebar-brand{gap:10px}@media(max-width:560px){.hr-slip-logo{width:104px;height:68px}}

@media (display-mode:standalone){[data-action="install"]{display:none!important}}
/* Compact employee workspace; management workspace retains its existing layout. */
.sachi-hr.hr-staff-compact{display:block!important;max-width:760px;margin:0 auto 24px;border-radius:22px;background:#f5f9f6;overflow:hidden;min-height:75vh;box-shadow:0 8px 35px #163d2910}
.hr-staff-compact .hr-main{display:block;padding:8px 20px 20px;min-width:0}.hr-staff-compact .hr-message{margin:12px 20px}.hr-staff-compact .hr-panel{padding:20px;border-radius:18px;margin:0 0 16px;box-shadow:none}.hr-mobile-header{display:flex;align-items:center;justify-content:space-between;padding:14px 22px;background:#fff;border-bottom:1px solid #e4eee7}.hr-mobile-header button{border:0;background:none;color:#154737;cursor:pointer}.hr-mobile-brand{display:flex;align-items:center;gap:10px;text-align:left}.hr-mobile-brand img{width:72px;height:50px;object-fit:contain}.hr-mobile-brand>span{font-weight:800;font-size:20px;line-height:1.2}.hr-mobile-brand small{display:block;font-size:9px;letter-spacing:2px;color:#73877b;margin-top:4px}.hr-mobile-account{display:flex;flex-direction:column;align-items:center;gap:3px;padding:7px!important;font-size:11px}.hr-mobile-account svg{width:23px;height:23px}.hr-mobile-welcome{padding:14px 2px 22px}.hr-mobile-welcome>span{font-size:10px;font-weight:700;letter-spacing:2px;color:#71887a}.hr-mobile-welcome h2{font-size:24px;margin:7px 0!important;line-height:1.3}.hr-mobile-welcome p{font-size:12px;color:#6c8075;margin:0}.hr-mobile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.hr-mobile-grid .hr-mobile-card{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:8px;padding:20px 18px;min-height:155px;border:1px solid #e0eae3;border-radius:20px;background:white;color:#194633;cursor:pointer;box-shadow:0 5px 16px #163d2905;white-space:normal;transition:background .15s,transform .15s}.hr-mobile-card:hover{background:#edf8f0!important;transform:translateY(-2px)}.hr-mobile-card:focus-visible,.hr-mobile-header button:focus-visible,.hr-mobile-tabs button:focus-visible{outline:3px solid #65b582;outline-offset:2px}.hr-mobile-card-icon{position:relative;display:flex;align-items:center;justify-content:center;background:#e8f5ec;border-radius:14px;width:47px;height:47px;color:#087b50}.hr-mobile-card-icon .hr-ico{width:25px;height:25px}.hr-mobile-card-icon .hr-attention-count{position:absolute;right:-7px;top:-7px;background:#d84e3f;color:white;border:2px solid white;font-size:10px;min-width:19px}.hr-mobile-card strong{font-size:17px;line-height:1.3}.hr-mobile-card small{font-size:12px;font-weight:400;color:#75877c;line-height:1.5}.hr-mobile-page-title{display:flex;align-items:center;gap:18px;padding:15px 20px 4px}.hr-mobile-page-title button{background:none;border:0;padding:8px 0;color:#087b50;font-size:12px;cursor:pointer}.hr-mobile-page-title h2{font-size:19px;margin:0!important}.hr-mobile-tabs{display:flex;gap:8px;overflow-x:auto;padding:10px 20px;scrollbar-width:thin}.hr-mobile-tabs button{flex-shrink:0;min-height:40px;padding:8px 13px;border:1px solid #dbe8de;border-radius:999px;background:#fff;color:#597465;cursor:pointer;font-size:12px}.hr-mobile-tabs button[aria-current=page]{background:#087b50;color:white;border-color:#087b50}.hr-staff-compact .hr-mobile-period{display:flex!important;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;padding:12px 20px;border:0;margin:0;background:transparent;min-height:0}.hr-mobile-period label{display:flex;align-items:center;gap:8px;font-size:11px!important;color:#75877c}.hr-mobile-period input{width:156px!important;min-height:36px;padding:5px 8px;font-size:12px}.hr-mobile-period #hr-period-view{padding:7px 12px;min-height:36px;font-size:12px}.hr-mobile-footer{display:flex;justify-content:center;align-items:center;gap:14px;flex-wrap:wrap;padding:12px 20px 22px;color:#819186}.hr-mobile-footer small{font-size:10px}.hr-mobile-footer button{padding:8px 12px;min-height:36px;font-size:12px}.hr-mobile-review{margin-top:18px;width:100%;padding:12px;background:white;border:1px solid #e0eae3;border-radius:14px;color:#087b50;cursor:pointer}.hr-mobile-clock{background:#edf7f0;padding:16px;border-radius:14px;margin-bottom:16px}.hr-mobile-clock .hr-check{display:flex;align-items:flex-start;gap:8px;font-size:13px}.hr-mobile-clock input{width:auto!important;margin-top:5px}.hr-staff-compact .hr-section-title{flex-wrap:wrap}.hr-staff-compact .hr-table-wrap{max-width:100%;overflow-x:auto}
@media(max-width:480px){.sachi-hr.hr-staff-compact{border-radius:0;margin:0 -4px 20px}.hr-mobile-header{padding:10px 16px}.hr-staff-compact .hr-main{padding:6px 14px 16px}.hr-mobile-grid{gap:11px}.hr-mobile-grid .hr-mobile-card{padding:17px 14px;min-height:145px}.hr-mobile-card strong{font-size:16px}.hr-mobile-card small{font-size:11px}.hr-mobile-welcome h2{font-size:22px}.hr-staff-compact .hr-panel{padding:15px}.hr-staff-compact .hr-mobile-period{padding:12px 14px}.hr-mobile-page-title{padding-left:14px}.hr-mobile-tabs{padding-left:14px}}
@media(prefers-reduced-motion:reduce){.hr-mobile-card{transition:none!important;transform:none!important}}
/* Approved Sachi green (#67BD45 sampled from official logo), eight-item employee app. */
.sachi-hr.hr-staff-compact{--hr-green:#347e25;--hr-ink:#183923;--hr-muted:#667a68;--hr-line:#e5ede1;max-width:430px;background:#f6f9f4;border:1px solid #e1eadb;border-radius:26px;box-shadow:0 16px 46px #25471d12}
.hr-staff-compact .hr-mobile-header{padding:12px 18px;border-bottom:0}.hr-staff-compact .hr-mobile-brand>span{font-size:19px;font-weight:600}.hr-staff-compact .hr-mobile-brand small{font-size:9px;letter-spacing:1.25px}.hr-staff-compact .hr-mobile-brand img{width:64px;height:48px}.hr-staff-compact .hr-mobile-account{border-radius:50%;background:#eef8e8;color:#357f25;min-height:42px;min-width:42px}.hr-staff-compact .hr-main{padding:12px 18px 18px}.hr-staff-compact .hr-mobile-welcome{isolation:isolate;position:relative;overflow:hidden;background:#67bd45;color:#133d16;padding:22px 20px;border-radius:22px;margin:0}.hr-staff-compact .hr-mobile-welcome>span{position:relative;z-index:1;color:#214b1e;font-size:10px;letter-spacing:1.3px}.hr-staff-compact .hr-mobile-welcome h2{position:relative;z-index:1;font-size:25px;font-weight:600;line-height:1.3;color:#103c15;overflow-wrap:anywhere;margin:8px 0 6px!important}.hr-staff-compact .hr-mobile-welcome p{position:relative;z-index:1;color:#214b1e;font-size:11px}.hr-staff-compact .hr-mobile-welcome:after{content:'';position:absolute;right:-35px;top:-15px;width:140px;height:170px;border-radius:75% 0 75% 0;background:#ffffff22;transform:rotate(24deg);z-index:0}.hr-mobile-section-label{display:flex;justify-content:space-between;align-items:center;font-size:14px;font-weight:600;color:#28432b;margin:22px 2px 13px}.hr-mobile-section-label span{font-size:11px;font-weight:400;color:#72866e}.hr-staff-compact .hr-mobile-grid{gap:11px}.hr-staff-compact .hr-mobile-card{padding:14px 14px 12px;min-height:121px;gap:9px;border:1px solid #e5eddf;border-radius:19px;background:#fff;box-shadow:0 3px 10px #263f1904}.hr-staff-compact .hr-mobile-card-icon{width:36px;height:36px;border-radius:12px;color:#408a2c;background:#edf8e7}.hr-staff-compact .hr-mobile-card-icon .hr-ico{width:21px;height:21px}.hr-staff-compact .hr-mobile-card strong{font-size:14px;font-weight:600;letter-spacing:-.2px}.hr-staff-compact .hr-mobile-card small{font-size:11px;margin-top:-5px;color:#687e63;line-height:1.4}.hr-staff-compact .hr-btn.hr-primary,.hr-staff-compact .hr-primary{background:#67bd45;color:#113b17;border-color:#67bd45}.hr-staff-compact .hr-mobile-page-title{padding:8px 18px 0}.hr-staff-compact .hr-mobile-page-title button{color:#357f25}.hr-staff-compact .hr-panel h2{font-size:22px;letter-spacing:-.4px}.hr-staff-compact .hr-mobile-period{padding:5px 18px 8px}.hr-staff-compact .hr-mobile-app-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:#fff;border-top:1px solid #e6eee1;padding:8px 18px;gap:15px}.hr-staff-compact .hr-mobile-app-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;background:none;border:0;min-height:49px;border-radius:13px;padding:6px;color:#6b8065;font-size:11px;cursor:pointer}.hr-staff-compact .hr-mobile-app-nav button[aria-current=page]{background:#eef8e8;color:#357f25}.hr-staff-compact .hr-mobile-app-nav .hr-ico{width:20px;height:20px}.hr-staff-compact .hr-mobile-footer{background:#fff;padding:5px 15px 14px;gap:10px}.hr-staff-compact .hr-mobile-footer button{font-size:11px;color:#5c7653;border:0;min-height:32px;padding:5px}.hr-mobile-profile-heading{display:flex;align-items:center;gap:13px;margin:18px 0}.hr-mobile-profile-heading>div{display:flex;flex-direction:column;gap:4px}.hr-mobile-profile-heading small{font-size:12px;color:#687e63}
@media(max-width:480px){.sachi-hr.hr-staff-compact{border-radius:0;margin:0 -4px 16px;border:0}.hr-staff-compact .hr-mobile-card{min-height:119px}.hr-staff-compact .hr-main{padding:12px 14px 18px}.hr-staff-compact .hr-mobile-welcome h2{font-size:23px}}
@media(max-width:350px){.hr-staff-compact .hr-mobile-card{padding:13px 11px}.hr-staff-compact .hr-mobile-card strong{font-size:13px}.hr-staff-compact .hr-mobile-card small{font-size:11px}}
.hr-staff-compact .hr-mobile-card{width:100%;min-width:0;justify-content:flex-start;align-items:flex-start;white-space:normal}.hr-staff-compact .hr-mobile-card>strong,.hr-staff-compact .hr-mobile-card>small{display:block;width:100%;min-width:0;overflow-wrap:anywhere}.hr-staff-compact .hr-mobile-brand{flex:1;min-width:0;justify-content:flex-start;padding:0;white-space:normal}.hr-staff-compact .hr-mobile-account{flex:0 0 42px;width:42px;max-width:42px;height:42px}.hr-staff-compact .hr-mobile-app-nav button{width:100%;min-width:0;white-space:normal}
.hr-qr-display{max-width:330px;margin:18px auto;padding:12px;background:#fff;border-radius:12px}.hr-qr-display svg{display:block;width:100%;height:auto;background:#fff}.hr-qr-video{display:block;width:100%;max-height:340px;object-fit:cover;background:#163b26;border-radius:14px;margin:15px 0}.hr-qr-video[hidden]{display:none}.sachi-hr input[name=choice][type=radio]{width:18px;min-height:18px;height:18px;margin-right:8px;accent-color:#357f25}.sachi-hr [data-qr-copy]{min-height:85px;font-size:12px;overflow-wrap:anywhere}
/* V4.27 private profile requests */
.hr-profile-portrait{width:90px;min-width:90px;aspect-ratio:3/4;background:#eef6e9;border:1px solid #cbdcbe;border-radius:10px;display:grid;place-items:center;overflow:hidden;color:#52744c;font-size:14px}.hr-profile-portrait img{width:100%;height:100%;object-fit:cover}.hr-profile-section summary{cursor:pointer;padding:12px 0}.hr-profile-section td{overflow-wrap:anywhere}.hr-profile-crop{display:block;width:180px;max-width:100%;height:auto;border:1px solid #67bd45;margin:15px auto}.hr-profile-photo-comparison{display:grid;grid-template-columns:1fr 1fr;gap:16px}.hr-profile-photo-comparison img{display:block;width:120px;max-width:100%;aspect-ratio:3/4;object-fit:cover;border:1px solid #ccc;margin-top:8px}.hr-dialog label textarea{display:block;width:100%;min-height:80px}.hr-profile-section{margin-top:12px}

/* V4.46: concise salary navigation, native keyboard-accessible folds. */
.sachi-hr .hr-salary-steps{display:flex;flex-wrap:wrap;gap:10px 28px;padding-left:22px;margin:12px 0;color:var(--hr-green);font-weight:600}
.sachi-hr .hr-salary-departments{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}
.sachi-hr .hr-salary-department{border:1px solid var(--hr-line);border-radius:12px;padding:16px;background:#f8fbf8}
.sachi-hr .hr-salary-department h4{margin:0 0 6px;font-size:16px;color:var(--hr-ink)}
.sachi-hr .hr-salary-department p{margin:0 0 8px}
.sachi-hr .hr-salary-fold>summary{cursor:pointer;font-weight:700;font-size:16px;color:var(--hr-green);padding:8px 0}
.sachi-hr .hr-salary-fold[open]>summary{margin-bottom:12px}
.sachi-hr .hr-salary-person{display:grid;grid-template-columns:1fr 1.3fr auto;align-items:end;gap:12px}
.sachi-hr .hr-salary-person label{margin:0}
.sachi-hr .hr-salary-fold>.hr-panel{margin-top:14px}
@media(max-width:700px){.sachi-hr .hr-salary-person{grid-template-columns:1fr}.sachi-hr .hr-salary-departments{grid-template-columns:1fr}.sachi-hr .hr-salary-start .hr-section-title{gap:12px}}

.sachi-hr .hr-individual-item{display:grid;grid-template-columns:1.2fr .8fr 1fr 1.4fr auto;gap:10px;align-items:end;padding:12px 0;border-bottom:1px solid var(--hr-line)}.sachi-hr .hr-individual-item label{margin-bottom:0}@media(max-width:800px){.sachi-hr .hr-individual-item{grid-template-columns:1fr 1fr}}@media(max-width:500px){.sachi-hr .hr-individual-item{grid-template-columns:1fr}}
.sachi-hr .hr-salary-person{grid-template-columns:1fr 1.3fr auto auto}@media(max-width:800px){.sachi-hr .hr-salary-person{grid-template-columns:1fr}}
.hr-preview-correction{min-width:240px;max-width:500px}.hr-preview-correction summary{cursor:pointer;color:#087b50;font-weight:700;padding:8px}.hr-preview-correction[open]{min-width:400px}.hr-inline-bcc-repair{border:1px solid #d8e7df;border-radius:10px;padding:12px;margin:12px 0;background:#f4faf6}.hr-inline-bcc-repair label{display:block;margin:8px 0}.hr-inline-bcc-repair textarea{width:100%;min-height:70px}.hr-inline-bcc-repair [data-inline-result]{font-weight:600}@media(max-width:600px){.hr-preview-correction[open]{min-width:270px}}

/* 4.54.1: khung chi tiết đối chiếu BCC mở rộng hết chiều ngang dưới bảng xem trước */
.hr-correction-open{white-space:nowrap;font-size:13px;padding:6px 10px}.hr-correction-open[aria-expanded=true]{background:#087d51;color:#fff}.hr-correction-panel{border:1px solid #cfe2d7;border-radius:12px;padding:14px 16px;margin:16px 0;background:#fbfdfc;outline:none}.hr-correction-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.hr-correction-head h4{margin:0;font-size:16px}.hr-correction-days{max-height:300px;overflow:auto;margin:8px 0}.hr-correction-repairs{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px}.hr-correction-repairs .hr-inline-bcc-repair{margin:0}.hr-correction-repairs input[type=time]{min-width:140px}
.sachi-hr dialog.hr-dialog.hr-dialog-wide,dialog.hr-dialog.hr-dialog-wide{width:min(1180px,96vw);max-width:96vw}.hr-dialog-wide [data-summary-result] td{white-space:nowrap}.hr-dialog-wide [data-summary-result] td:nth-child(3),.hr-dialog-wide [data-summary-result] td:nth-child(9){white-space:normal;min-width:130px}
.hr-dialog-wide [data-summary-result] .hr-table-wrap th,.hr-dialog-wide [data-summary-result] .hr-table-wrap td{padding:10px 8px;font-size:13px}.hr-dialog-wide [data-summary-result] .hr-correction-panel td{white-space:normal}
/* 4.55: góp ý gửi Giám đốc */
.hr-feedback-text{white-space:pre-wrap;max-width:520px}.hr-feedback-reply{margin-top:8px;padding:8px 10px;border-left:3px solid #087d51;background:#f1f8f4;border-radius:6px;white-space:pre-wrap}blockquote.hr-feedback-text{margin:0 0 12px;padding:10px 12px;background:#f6faf7;border-radius:8px}.hr-check{display:flex;gap:8px;align-items:flex-start}
.hr-card-list{display:grid;gap:12px;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}.hr-item-card{border:1px solid #dce8e0;border-radius:12px;padding:12px 14px;background:#fff;display:flex;flex-direction:column;gap:6px}.hr-item-card.hr-item-new{border-color:#f0c36d;background:#fffcf3}.hr-item-card header{display:flex;justify-content:space-between;gap:8px;align-items:flex-start}.hr-item-card header span{font-size:13px;color:#60736a;text-align:right}.hr-item-card p{margin:0}.hr-item-card footer{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;margin-top:4px}.hr-item-card .hr-feedback-text{max-width:none}
/* 4.56: Đơn hàng web */
.hr-order-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:8px 0 12px}.hr-order-stats div{background:#f1f8f4;border-radius:12px;padding:10px 12px;display:flex;flex-direction:column}.hr-order-stats strong{font-size:20px;color:#087d51;line-height:1.2}.hr-order-stats span{font-size:12px;color:#60736a}.hr-order-line{display:flex;justify-content:space-between;align-items:center;gap:8px}.hr-order-total{font-size:18px;color:#153326}.hr-order-items{margin:2px 0 0;padding-left:18px}.hr-order-items li{margin:2px 0}.hr-order-card a[href^="tel:"]{color:#087d51;font-weight:600}.hr-badge.hr-processing{background:#e3f1ff;color:#1b5fa8}.hr-badge.hr-on-hold{background:#fff3d6;color:#8a5a00}.hr-badge.hr-completed{background:#ddf7e8;color:#087b4e}.hr-badge.hr-cancelled,.hr-badge.hr-failed{background:#fde4e4;color:#a32020}@media(max-width:480px){.hr-order-stats strong{font-size:16px}}
/* 4.56: Trang chủ nhân viên kiểu "HR SACHI – Mỗi ngày một lời nhắc tích cực" */
.hr-staff-compact .hr-home-header{display:flex;align-items:center;justify-content:space-between;background:#fff;padding:14px 18px}
.hr-staff-compact .hr-home-header .hr-mobile-brand{display:flex;align-items:center;gap:12px;background:none;border:0;padding:0}
.hr-staff-compact .hr-home-header .hr-mobile-brand img{height:44px;width:auto;padding-right:12px;border-right:1px solid #d6e5da}
.hr-staff-compact .hr-home-header .hr-mobile-brand>span{display:flex;flex-direction:column;align-items:flex-start;font-size:22px;font-weight:800;color:#156b2f;letter-spacing:-.3px;line-height:1.1}
.hr-staff-compact .hr-home-header .hr-mobile-brand small{font-size:13px;font-weight:500;color:#4d5f55;letter-spacing:0;margin-top:3px}
.hr-home-bell{position:relative;background:none;border:0;color:#1f8a3d;padding:6px;cursor:pointer}.hr-home-bell .hr-ico{width:28px;height:28px}
.hr-home-bell-count{position:absolute;top:0;right:-2px;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:#e5382e;color:#fff;font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center;border:2px solid #fff}
.hr-home-greet{display:flex;align-items:center;gap:12px;margin:4px 0 14px}
.hr-home-avatar{flex:none;width:46px;height:46px;border-radius:50%;background:#e3f2e3;color:#1f8a3d;display:flex;align-items:center;justify-content:center}.hr-home-avatar .hr-ico{width:26px;height:26px}
.hr-home-greet h2{margin:0;font-size:18px;color:#153326;line-height:1.3}.hr-home-greet p{margin:2px 0 0;color:#5d6f65;font-size:14px}
.hr-home-quote{position:relative;border-radius:22px;overflow:hidden;box-shadow:0 8px 24px #2a5a2a1f;margin-bottom:16px;background:#eef6df}
.hr-home-quote-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch}.hr-home-quote-track::-webkit-scrollbar{display:none}
.hr-home-quote-slide{position:relative;flex:0 0 100%;scroll-snap-align:start;min-height:300px;display:flex;align-items:center;justify-content:center}
.hr-home-quote-art,.hr-home-quote-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hr-home-quote-slide.hr-has-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#ffffffd9 0%,#ffffffb3 55%,#ffffff40 100%)}
.hr-home-quote-body{position:relative;z-index:1;text-align:center;padding:78px 22px 46px;display:flex;flex-direction:column;align-items:center;gap:10px}
.hr-home-quote-kicker{display:flex;align-items:center;gap:10px;font-size:12px;font-weight:700;letter-spacing:1.4px;color:#1d6b33}
.hr-home-quote-body .hr-home-quote-kicker::before,.hr-home-quote-body .hr-home-quote-kicker::after{content:"";width:26px;height:1px;background:#3f8a4f}
.hr-home-quote blockquote{margin:0;font-family:"Noto Serif","Times New Roman",Cambria,serif;font-weight:700;font-size:24px;line-height:1.32;color:#155f2b;text-wrap:balance}
.hr-home-quote-value{background:#cfeaa9;color:#1a5f2c;font-weight:700;font-size:14px;border-radius:999px;padding:5px 16px}
.hr-home-quote-body small{font-style:italic;color:#4f6157;font-size:12px}
.hr-home-dots{position:absolute;left:0;right:0;bottom:12px;display:flex;justify-content:center;gap:8px;z-index:2}
.hr-home-dots button{width:9px;height:9px;border-radius:50%;border:0;padding:0;background:#ffffffb0;box-shadow:0 0 0 1px #2f8f4655;cursor:pointer}.hr-home-dots button[aria-current]{background:#1f8a3d;width:22px;border-radius:5px}
.hr-home-tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:14px}
.hr-home-tile{display:flex;flex-direction:column;align-items:center;gap:8px;background:#fff;border:1px solid #e6efe8;border-radius:16px;padding:14px 4px 12px;box-shadow:0 2px 8px #1d4a2a0d;color:#153326;font-size:13px;font-weight:600;line-height:1.2;text-align:center;cursor:pointer;min-width:0}
.hr-home-tile-icon{position:relative;color:#1f8a3d}.hr-home-tile-icon .hr-ico{width:30px;height:30px}.hr-home-tile-icon .hr-attention-count{position:absolute;top:-8px;right:-12px}
.hr-home-tile:active{transform:scale(.97)}
.hr-home-rows{display:flex;flex-direction:column;gap:10px}
.hr-home-row{display:flex;align-items:center;gap:12px;width:100%;background:#fff;border:1px solid #e6efe8;border-radius:16px;padding:12px 14px;text-align:left;cursor:pointer;box-shadow:0 2px 8px #1d4a2a0d}
.hr-home-row-icon{flex:none;width:46px;height:46px;border-radius:12px;background:#e3f2e3;color:#1f8a3d;display:flex;align-items:center;justify-content:center}.hr-home-row-icon .hr-ico{width:24px;height:24px}
.hr-home-row-text{flex:1;min-width:0;display:flex;flex-direction:column;border-left:1px solid #dfe9e2;padding-left:12px}.hr-home-row-text strong{font-size:16px;color:#153326}.hr-home-row-text small{color:#4d5f55;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hr-home-row-go{font-size:26px;color:#6c7d73;line-height:1}
@media(max-width:360px){.hr-home-tiles{gap:7px}.hr-home-tile{font-size:12px;padding:12px 2px 10px}.hr-home-quote blockquote{font-size:21px}}
/* Châm ngôn trên trang tổng quan quản trị */
.hr-maxim-strip{position:relative;display:flex;align-items:center;gap:16px;min-height:120px;border-radius:18px;overflow:hidden;margin-bottom:16px;padding:18px 22px;box-shadow:0 6px 18px #2a5a2a14}
.hr-maxim-strip>.hr-home-quote-art{position:absolute;inset:0;width:100%;height:100%;z-index:0}
.hr-maxim-strip>div{position:relative;z-index:1;flex:1;background:#ffffffc7;border-radius:12px;padding:10px 14px;margin-left:110px}
.hr-maxim-strip blockquote{margin:4px 0 0;font-family:"Noto Serif","Times New Roman",Cambria,serif;font-weight:700;font-size:20px;color:#155f2b}
.hr-maxim-strip .hr-btn{position:relative;z-index:1}
.hr-staff-compact .hr-home-dots button{min-height:0!important;min-width:0!important;height:8px!important;width:8px;padding:0!important;flex:none}.hr-staff-compact .hr-home-dots button[aria-current]{width:22px}
.hr-staff-compact .hr-home-quote-body{padding-bottom:58px}
.hr-staff-compact .hr-home-tile{white-space:normal;font-size:12.5px;min-height:0;justify-content:flex-start}.hr-staff-compact .hr-home-tile>span:last-child{overflow-wrap:anywhere}
.hr-staff-compact .hr-home-row-icon .hr-ico{width:26px!important;height:26px!important}.hr-staff-compact .hr-home-row{white-space:normal;min-height:0}
.hr-staff-compact .hr-home-greet h2{font-size:17px}
/* 4.56: bộ tranh nền châm ngôn – lớp sáng mềm giúp chữ dễ đọc, cảnh tối dùng chữ sáng */
.hr-home-quote-slide{min-height:340px}
.hr-home-quote-art{object-fit:cover;object-position:center 60%}
.hr-home-quote-slide:not(.hr-has-photo)::after{content:"";position:absolute;inset:0;background:radial-gradient(ellipse 78% 46% at 50% 50%,#fffaf0e6 0%,#fffaf0b3 45%,#fffaf000 78%);pointer-events:none}
.hr-home-quote-slide.hr-scene-dark::after{background:radial-gradient(ellipse 80% 48% at 50% 50%,#0d132acc 0%,#0d132a80 50%,#0d132a00 80%)}
.hr-scene-dark blockquote{color:#fff6dc!important;text-shadow:0 2px 12px #0008}
.hr-scene-dark .hr-home-quote-kicker{color:#ffe3a3!important}.hr-scene-dark .hr-home-quote-kicker::before,.hr-scene-dark .hr-home-quote-kicker::after{background:#ffe3a3!important}
.hr-scene-dark .hr-home-quote-value{background:#ffffff2e;color:#fff;backdrop-filter:blur(4px)}.hr-scene-dark .hr-home-quote-body small{color:#f3e7cf}
.hr-home-quote-body{z-index:2}
.hr-home-quote-caption{position:absolute;left:14px;top:12px;z-index:2;font-size:11px;color:#fff;background:#0000003d;padding:3px 9px;border-radius:999px;backdrop-filter:blur(3px)}
.hr-maxim-strip>.hr-home-quote-art{object-fit:cover;object-position:center 55%}
/* 4.56 rc.3: ảnh nền băng ngang (sương bên trái, cảnh bên phải) */
.hr-home-quote-slide.hr-banner{background:linear-gradient(180deg,var(--mist-top,#f0ead4) 0%,var(--mist-bottom,#e8e5ca) 100%);align-items:flex-start;min-height:360px}
.hr-home-quote-slide.hr-banner::after{display:none}
.hr-home-quote-slide.hr-banner .hr-home-quote-art{position:absolute;inset:auto 0 0 auto;width:175%;height:auto;max-width:none;object-fit:initial;-webkit-mask-image:linear-gradient(180deg,transparent 0%,#000 38%);mask-image:linear-gradient(180deg,transparent 0%,#000 38%)}
.hr-home-quote-slide.hr-banner .hr-home-quote-body{padding:30px 22px 0;gap:9px;width:100%;box-sizing:border-box}
.hr-home-quote-slide.hr-banner blockquote{font-size:23px;color:#174f26;text-shadow:0 1px 0 #fff8}
.hr-home-quote-slide.hr-banner .hr-home-quote-value{background:#ffffffb8;box-shadow:0 1px 4px #4a6a2a22}
.hr-home-quote-slide.hr-banner .hr-home-quote-body small{display:none}
.hr-home-quote-slide.hr-banner .hr-home-quote-caption{top:auto;bottom:34px;left:12px;background:#00000040}
.hr-home-quote-slide.hr-banner{padding-bottom:0}
@container hrquote (min-width:640px){.hr-home-quote-slide.hr-banner{min-height:300px;align-items:center}.hr-home-quote-slide.hr-banner .hr-home-quote-art{width:100%;height:100%;object-fit:cover;object-position:right center;-webkit-mask-image:none;mask-image:none}.hr-home-quote-slide.hr-banner .hr-home-quote-body{width:58%;align-items:flex-start;text-align:left;padding:28px 34px}.hr-home-quote-slide.hr-banner .hr-home-quote-body .hr-home-quote-kicker::before{display:none}}
/* Dải châm ngôn quản trị: ảnh băng ngang hiện trọn, chữ trên vùng sương */
.hr-maxim-strip{background:var(--mist-top,#f0ead4);min-height:150px}
.hr-maxim-strip>.hr-home-quote-art{object-fit:cover;object-position:right center}
.hr-maxim-strip>div{background:none;margin-left:0;max-width:62%;padding:6px 8px}
.hr-maxim-strip blockquote{font-size:22px}
.hr-home-quote-slide{overflow:hidden}
.hr-home-quote-slide.hr-banner .hr-home-quote-art{width:205%;-webkit-mask-image:linear-gradient(180deg,transparent 0%,#000 22%);mask-image:linear-gradient(180deg,transparent 0%,#000 22%)}
.hr-home-quote-slide.hr-banner{min-height:390px}
@container hrquote (min-width:640px){.hr-home-quote-slide.hr-banner{min-height:300px}.hr-home-quote-slide.hr-banner .hr-home-quote-art{width:100%}}
/* 4.57 – Khung “Lời nhắn hôm nay” nổi bật + ngày lễ, sinh nhật */
.hr-home-quote.hr-quote-spotlight{border:2px solid transparent;background:linear-gradient(#f7f3e3,#f7f3e3) padding-box,linear-gradient(135deg,#f5c542,#3aa35b 45%,#f5c542) border-box;box-shadow:0 14px 34px #2a5a2a33,0 0 0 6px #f5c5421f;animation:hrSpotIn .6s ease-out both;margin-top:4px}
.hr-quote-ribbon{position:relative;z-index:4;display:flex;align-items:center;gap:8px;padding:10px 16px;background:linear-gradient(90deg,#11692f,#1f8a43 60%,#2e9b4f);color:#fff;font-weight:800;font-size:13px;letter-spacing:.06em;text-transform:uppercase}
.hr-quote-date{margin-left:auto;font-weight:600;font-size:11.5px;letter-spacing:0;text-transform:none;opacity:.92}
.hr-quote-date::first-letter{text-transform:uppercase}
.hr-quote-pulse{width:9px;height:9px;border-radius:50%;background:#ffd34d;box-shadow:0 0 0 0 #ffd34daa;animation:hrPulse 1.8s infinite}
.hr-is-holiday .hr-quote-ribbon{background:linear-gradient(90deg,#b3261e,#d8442f 55%,#e8792f)}
.hr-is-birthday .hr-quote-ribbon{background:linear-gradient(90deg,#9a3fc4,#e2507a 55%,#f59e3b)}
.hr-is-holiday.hr-quote-spotlight,.hr-is-birthday.hr-quote-spotlight{background:linear-gradient(#fff8ec,#fff8ec) padding-box,linear-gradient(135deg,#f5c542,#e2507a 50%,#f5c542) border-box}
.hr-quote-spotlight .hr-home-quote-kicker{font-size:12.5px;letter-spacing:.08em}
.hr-quote-spotlight .hr-home-quote-slide.hr-banner blockquote{font-size:25px}
.hr-special-slide{flex-direction:column;align-items:stretch;justify-content:flex-start;min-height:0;background:#fff8ec}
.hr-special-slide .hr-special-art{display:block;width:100%;aspect-ratio:994/488;object-fit:cover;object-position:center}
.hr-special-slide .hr-home-quote-body{padding:16px 20px 44px;gap:8px}
.hr-special-slide .hr-home-quote-kicker{color:#b3261e}
.hr-special-birthday .hr-home-quote-kicker{color:#9a3fc4}
.hr-special-slide blockquote{font-size:21px!important;color:#5a2410!important;line-height:1.38}
.hr-special-birthday blockquote{color:#4b1d63!important}
.hr-special-slide small{color:#8a6a3a}
@container hrquote (min-width:640px){.hr-special-slide{flex-direction:row;align-items:center}.hr-special-slide .hr-special-art{width:56%;height:100%;min-height:300px;aspect-ratio:auto}.hr-special-slide .hr-home-quote-body{width:44%;align-items:flex-start;text-align:left;padding:24px 28px 46px}}
.hr-confetti{position:absolute;inset:0;pointer-events:none;z-index:3;overflow:hidden}
.hr-confetti i{position:absolute;top:-14px;width:7px;height:12px;border-radius:2px;opacity:.9;animation:hrConfetti 4s linear infinite}
@keyframes hrConfetti{0%{transform:translateY(0) rotate(0)}100%{transform:translateY(560px) rotate(540deg);opacity:0}}
@keyframes hrPulse{0%{box-shadow:0 0 0 0 #ffd34daa}70%{box-shadow:0 0 0 9px #ffd34d00}100%{box-shadow:0 0 0 0 #ffd34d00}}
@keyframes hrSpotIn{from{opacity:0;transform:translateY(10px) scale(.985)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.hr-home-quote.hr-quote-spotlight,.hr-quote-pulse,.hr-confetti i{animation:none}.hr-confetti{display:none}}
.hr-special-strip{display:flex;align-items:center;gap:16px;border-radius:18px;overflow:hidden;margin-bottom:12px;background:#fff8ec;border:2px solid #f5c542;box-shadow:0 6px 18px #b3261e1f}
.hr-special-strip img{width:220px;max-width:38%;align-self:stretch;object-fit:cover}
.hr-special-strip>div{flex:1;padding:12px 0}.hr-special-strip blockquote{margin:4px 0 0;font-family:"Noto Serif","Times New Roman",Cambria,serif;font-weight:700;font-size:18px;color:#5a2410}
.hr-special-strip .hr-btn{margin-right:16px}
.hr-special-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:14px;margin-top:12px}
.hr-special-card{border:1px solid #e5e0cf;border-radius:14px;overflow:hidden;background:#fff;display:flex;flex-direction:column}
.hr-special-card.hr-off{opacity:.55}
.hr-special-card>img{width:100%;aspect-ratio:994/488;object-fit:cover}
.hr-special-card>div{padding:12px 14px;display:flex;flex-direction:column;gap:6px;flex:1}
.hr-special-card header{display:flex;justify-content:space-between;gap:8px;align-items:center}
.hr-special-card p{margin:0;font-size:13.5px;color:#444;flex:1}
.hr-special-card footer{display:flex;flex-wrap:wrap;gap:6px}

.hr-home-quote{container:hrquote/inline-size}
.hr-quote-title{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hr-quote-date{flex:none;white-space:nowrap}.hr-quote-pulse{flex:none}
/* 4.57.1 – Lời nhắn hiện một lần mỗi ngày (cửa sổ khi mở app) + dòng tóm tắt trên trang chủ */
.hr-msg-pop{position:fixed;inset:0;z-index:100000;background:#0d2a17b3;backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;padding:16px;animation:hrFade .25s ease-out both}
.hr-msg-pop.hr-out{opacity:0;transition:opacity .2s}
.hr-msg-pop-box{width:min(460px,100%);max-height:calc(100dvh - 32px);overflow:auto;display:flex;flex-direction:column;gap:12px;font-family:inherit}
.hr-msg-pop .hr-home-quote{margin:0}
.hr-msg-pop-close{align-self:center;min-width:240px;border-radius:999px!important;padding:12px 22px!important;font-size:15px!important;box-shadow:0 6px 18px #0004}
html.hr-no-scroll,html.hr-no-scroll body{overflow:hidden}
@keyframes hrFade{from{opacity:0}to{opacity:1}}
.hr-quote-mini{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:8px 12px 8px 8px!important;margin:0 0 14px;border-radius:16px!important;border:2px solid #f5c542!important;background:#fffbea!important;box-shadow:0 4px 14px #2a5a2a1f;cursor:pointer;min-height:0!important;color:inherit!important;font:inherit}
.hr-quote-mini img{width:74px;height:58px;border-radius:11px;object-fit:cover;flex:none}
.hr-quote-mini-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.hr-quote-mini-text b{font-size:11.5px;letter-spacing:.06em;text-transform:uppercase;color:#11692f}
.hr-quote-mini-text span{font-family:"Noto Serif","Times New Roman",Cambria,serif;font-weight:700;font-size:14px;line-height:1.3;color:#174f26;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.hr-quote-mini.hr-is-holiday b{color:#b3261e}.hr-quote-mini.hr-is-birthday b{color:#9a3fc4}
.hr-quote-mini-go{font-size:24px;color:#11692f;flex:none}
@media(prefers-reduced-motion:reduce){.hr-msg-pop{animation:none}}
.hr-msg-pop{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:#172c2a}
.hr-msg-pop .hr-quote-ribbon,.hr-msg-pop .hr-home-quote-kicker{font-family:inherit}
.hr-msg-pop .hr-msg-pop-close{background:linear-gradient(90deg,#11692f,#1f8a43)!important;color:#fff!important;border:0!important;font-weight:800!important;font-family:inherit;cursor:pointer}
.hr-msg-pop .hr-home-dots button{min-height:0!important}
.hr-quote-mini,.hr-quote-mini-text span{white-space:normal!important}
.hr-install-steps{margin:0 0 6px;padding-left:22px;display:grid;gap:10px;line-height:1.5}.hr-install-steps code{background:#eef3ee;border:1px solid #dde6dd;border-radius:6px;padding:1px 6px;font-size:.92em;word-break:break-all}
/* 4.57.0-rc.3 – Lưới chức năng trang chủ 3 cột */
.hr-home-tiles,.hr-staff-compact .hr-home-tiles{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
.hr-home-tile,.hr-staff-compact .hr-home-tile{padding:16px 6px 14px!important;font-size:14px!important;gap:9px;justify-content:center!important;min-height:104px!important}
.hr-home-tile-icon .hr-ico{width:34px;height:34px}
@media(max-width:360px){.hr-home-tiles{gap:9px!important}.hr-home-tile{font-size:13px!important;min-height:96px!important}}
.hr-quote-mini{margin-bottom:16px!important}
.hr-missing-out{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;background:#fff5e0;border:1px solid #f5c542;border-left:6px solid #f5a623;border-radius:12px;padding:12px 14px;margin:12px 0;font-size:14px;line-height:1.45}
/* 4.57.0-rc.6 – Thông báo mới hiện khi mở app */
.hr-notice-card{border-radius:22px;overflow:hidden;background:#fff;border:2px solid transparent;background:linear-gradient(#fff,#fff) padding-box,linear-gradient(135deg,#f5c542,#3989f5 50%,#f5c542) border-box;box-shadow:0 14px 34px #0004;animation:hrSpotIn .4s ease-out both}
.hr-notice-ribbon{background:linear-gradient(90deg,#1559b8,#2f7de1 60%,#3aa0e8)!important}
.hr-notice-card-body{padding:18px 20px 22px;max-height:min(55vh,460px);overflow:auto}
.hr-notice-card-body h3{margin:0 0 10px;font-size:21px;line-height:1.3;color:#102a4a}
.hr-notice-card-body .hr-preserve{white-space:pre-wrap;font-size:15.5px;line-height:1.55;color:#24343a}
.hr-notice-pop-actions{display:flex;flex-direction:column;align-items:center;gap:8px}
.hr-notice-later{background:#ffffffd9!important;color:#173a22!important;border:0!important;border-radius:999px!important;padding:10px 20px!important;font-weight:700;font-family:inherit;min-width:200px;cursor:pointer}
.hr-notice-pop-err{color:#fff;background:#b3261e;border-radius:10px;padding:8px 12px;text-align:center;font-size:14px}
.hr-sales-period{background:#eef6ee;border-radius:10px;padding:10px 12px;margin-bottom:10px;font-size:14.5px;line-height:1.5}.hr-sales-period.hr-warn{background:#fff3df;border:1px solid #f5a623}
/* 4.58: employee attendance, isolated from management and salary UI. */
.sachi-clock{max-width:760px;margin:auto;display:grid;gap:16px;color:#143d2e}.sachi-clock .sc-person{display:flex;align-items:center;gap:14px;padding:12px 4px}.sc-person h2{font-size:clamp(20px,4vw,28px);margin:4px 0}.sc-person p{margin:0;color:#667e72}.sc-avatar{width:64px;height:64px;border-radius:50%;background:#d9f2dc;color:#087d50;display:grid;place-items:center;font-weight:800;font-size:28px;flex-shrink:0}.sc-person small{font-size:11px;letter-spacing:1.5px}.sachi-clock .sc-card{background:#fff;border:1px solid #e0ebe4;border-radius:24px;padding:24px;box-shadow:0 7px 24px #123d2909}.sc-card h3{margin:10px 0;font-size:18px}.sc-card small{display:block;line-height:1.6;color:#687d71}.sc-hero{background:linear-gradient(135deg,#fff,#f2fbf2)!important}.sc-time{font-variant-numeric:tabular-nums;font-size:clamp(40px,9vw,64px);font-weight:800;line-height:1.25;color:#007a4d;letter-spacing:-1px}.sc-pill{display:inline-block;border-radius:30px;background:#e1f8e5;color:#26783c;padding:7px 12px;font-size:13px;font-weight:700}.sc-buttons{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.sachi-clock .sc-buttons button{flex:1;min-height:54px;border-radius:16px;font-size:17px;font-weight:700}.sc-main-button{background:#008354!important;color:#fff!important}.sc-main-button:before{content:'◉';margin-right:10px}.sc-consent{display:flex!important;align-items:flex-start;gap:10px;margin:16px 0;font-size:14px;line-height:1.5}.sc-consent input{width:20px!important;min-width:20px;height:20px!important;margin-top:1px}.sc-map-placeholder{min-height:150px;border-radius:16px;background:linear-gradient(35deg,#e4f0e7,#f0f5ec);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;overflow:hidden}.sc-map-placeholder>span{font-size:36px;color:#008354}.sc-map-placeholder iframe{width:100%;height:210px;border:0}.sc-network{background:#eef9ee;border-radius:12px;padding:12px}.sc-total>strong{display:block;font-size:34px;color:#008354;margin:12px 0}.sc-breakdown{display:grid;grid-template-columns:1fr 1fr;gap:18px;border-top:1px solid #e5eee7;padding:16px 0}.sc-breakdown b{display:block;color:#007d4a;font-size:20px;margin-top:5px}.sc-timeline{padding:0 0 0 24px;border-left:2px solid #d9ebe1;list-style:none;margin:16px 8px}.sc-timeline li{position:relative;margin:0 0 20px}.sc-timeline li:before{content:'';position:absolute;left:-31px;top:6px;width:12px;height:12px;border-radius:50%;background:#008354}.sc-timeline span{display:block;color:#647c6e;margin-top:5px}.sc-camera{max-width:440px!important;width:calc(100% - 32px);padding:20px!important;border:0;border-radius:24px;max-height:92dvh;overflow:auto}.sc-camera video,.sc-camera img{width:100%;max-height:52dvh;object-fit:contain;border-radius:18px;background:#122e22}.sc-camera video{transform:scaleX(-1)}.sc-camera::backdrop{background:#0c241ddd}.sc-camera button{padding:12px;border:1px solid #d5e4d9;border-radius:12px;cursor:pointer}.sc-camera [hidden]{display:none!important}.sc-camera h3{margin-top:0}.sc-camera p{font-size:14px;line-height:1.6}.sc-camera button:focus-visible,.sachi-clock button:focus-visible{outline:3px solid #72c94b;outline-offset:3px}@media(max-width:480px){.sachi-clock .sc-card{padding:18px;border-radius:20px}.sc-breakdown b{font-size:17px}.sachi-clock{gap:12px}.sc-person .sc-avatar{width:50px;height:50px}.sachi-clock .sc-buttons button{font-size:16px}}
.sc-avatar{overflow:hidden}.sc-avatar img{width:100%;height:100%;object-fit:cover}

/* 4.58 RC2: hộp thoại trên Safari thiếu dialog API. */
dialog.hr-dialog:not([open]){display:none}
dialog.hr-dialog.hr-dialog-compat[open]{display:block;position:fixed;top:50%;left:50%;right:auto;bottom:auto;transform:translate(-50%,-50%);margin:0;z-index:99990;box-sizing:border-box;width:90vw;max-width:920px;max-height:85vh;overflow:auto;background:#fff;box-shadow:0 0 0 100vmax rgba(12,36,29,.75)}
/* RC3: bố cục chấm công gọn theo mẫu điện thoại, không phóng/thu toàn trang. */
#sachi-hr.hr-clock-page{max-width:440px!important;margin:8px auto!important;border-radius:20px!important;font-size:13px!important}
#sachi-hr.hr-clock-page .hr-mobile-header{padding:10px 14px!important;min-height:52px!important;gap:10px!important}
#sachi-hr.hr-clock-page .hr-mobile-brand{padding:0!important;gap:10px!important}
#sachi-hr.hr-clock-page .hr-mobile-brand img{width:48px!important;height:40px!important;object-fit:contain}
#sachi-hr.hr-clock-page .hr-mobile-brand>span{font-size:18px!important;line-height:1.2!important}
#sachi-hr.hr-clock-page .hr-mobile-brand small{font-size:10px!important}
#sachi-hr.hr-clock-page .hr-home-bell{width:36px!important;height:36px!important;padding:6px!important}
#sachi-hr.hr-clock-page .hr-mobile-page-title{padding:3px 12px!important;margin:0!important}
#sachi-hr.hr-clock-page .hr-mobile-page-title button{padding:3px!important;font-size:12px!important}
#sachi-hr.hr-clock-page .hr-mobile-period{padding:4px 12px!important;margin:0!important;gap:6px!important;min-height:0!important}
#sachi-hr.hr-clock-page .hr-mobile-period label{font-size:11px!important;gap:5px!important}
#sachi-hr.hr-clock-page .hr-mobile-period input{font-size:12px!important;width:143px!important;min-height:30px!important;padding:4px 6px!important}
#sachi-hr.hr-clock-page .hr-mobile-period button{font-size:12px!important;min-height:30px!important;padding:4px 10px!important}
#sachi-hr.hr-clock-page .hr-main{padding:6px 10px 12px!important}
#sachi-hr.hr-clock-page .sachi-clock{gap:8px!important;font-size:13px!important}
#sachi-hr.hr-clock-page .sc-person{padding:3px 4px!important;gap:10px!important}
#sachi-hr.hr-clock-page .sc-avatar{width:44px!important;height:44px!important;font-size:20px!important}
#sachi-hr.hr-clock-page .sc-person h2{font-size:16px!important;line-height:1.3!important;margin:0 0 3px!important}
#sachi-hr.hr-clock-page .sc-person p{font-size:11px!important;line-height:1.4!important;margin:0!important}
#sachi-hr.hr-clock-page .sc-card{padding:10px 12px!important;border-radius:16px!important}
#sachi-hr.hr-clock-page .sc-card h3{font-size:14px!important;line-height:1.3!important;margin:5px 0!important}
#sachi-hr.hr-clock-page .sc-card p{font-size:12px!important;line-height:1.4!important;margin:5px 0!important}
#sachi-hr.hr-clock-page .sc-card small{font-size:10px!important;line-height:1.4!important}
#sachi-hr.hr-clock-page [data-sc-date]{font-size:11px!important;color:#61766a}
#sachi-hr.hr-clock-page .sc-clock-row{display:flex;align-items:center;justify-content:space-between;gap:8px}
#sachi-hr.hr-clock-page .sc-time{font-size:38px!important;line-height:1.15!important;letter-spacing:-1px}
#sachi-hr.hr-clock-page .sc-pill{font-size:10px!important;padding:5px 7px!important;white-space:nowrap}
#sachi-hr.hr-clock-page .sc-consent{display:flex!important;align-items:center!important;gap:7px!important;font-size:11px!important;line-height:1.3!important;margin:7px 0!important}
#sachi-hr.hr-clock-page .sc-consent input{display:inline-block!important;width:18px!important;min-width:18px!important;height:18px!important;margin:0!important;flex-shrink:0}
#sachi-hr.hr-clock-page .sc-buttons{flex-wrap:nowrap!important;gap:8px!important;margin:7px 0!important}
#sachi-hr.hr-clock-page .sc-buttons button{min-height:42px!important;padding:8px!important;font-size:14px!important;border-radius:12px!important}
#sachi-hr.hr-clock-page .sc-map-placeholder{min-height:88px!important;gap:3px!important}
#sachi-hr.hr-clock-page .sc-map-placeholder>span{font-size:22px!important}
#sachi-hr.hr-clock-page .sc-map-placeholder iframe{height:110px!important}
#sachi-hr.hr-clock-page .sc-card button{font-size:11px!important;padding:5px 8px!important;min-height:30px!important}
#sachi-hr.hr-clock-page .sc-network{padding:6px 8px!important;margin:5px 0!important}
#sachi-hr.hr-clock-page .sc-total>strong{font-size:28px!important;text-align:center;margin:4px 0!important;line-height:1.2}
#sachi-hr.hr-clock-page .sc-breakdown{padding:7px 0!important;gap:10px!important;font-size:11px!important}
#sachi-hr.hr-clock-page .sc-breakdown b{font-size:18px!important;margin-top:3px!important}
#sachi-hr.hr-clock-page .sc-timeline{margin:6px 8px!important;padding-left:16px!important}
#sachi-hr.hr-clock-page .sc-timeline li{margin-bottom:7px!important;font-size:12px!important}
#sachi-hr.hr-clock-page .sc-timeline li:before{left:-23px!important;width:10px!important;height:10px!important;top:4px!important}
#sachi-hr.hr-clock-page .sc-timeline span{font-size:11px!important;margin-top:1px!important}
#sachi-hr.hr-clock-page .hr-mobile-app-nav{grid-template-columns:repeat(4,minmax(0,1fr))!important;padding:5px 8px!important;gap:4px!important}
#sachi-hr.hr-clock-page .hr-mobile-app-nav button{font-size:10px!important;padding:6px 3px!important;min-height:44px!important}
#sachi-hr.hr-clock-page .hr-mobile-app-nav .hr-ico{width:21px!important;height:21px!important}
#sachi-hr.hr-clock-page .hr-mobile-footer{padding:5px!important;font-size:9px!important}
@media(max-width:350px){#sachi-hr.hr-clock-page .sc-time{font-size:32px!important}#sachi-hr.hr-clock-page .sc-pill{font-size:9px!important}}
/* RC4: đăng nhập nhân viên qua xác thực chuẩn WordPress. */
.sachi-staff-auth{font:14px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;max-width:430px;margin:30px auto;color:#173e2b;box-sizing:border-box}
.sachi-staff-auth *{box-sizing:border-box}
.sachi-staff-auth-card{padding:30px 26px;background:linear-gradient(155deg,#fff 65%,#eff9e9);border:1px solid #dce9dc;border-radius:26px;box-shadow:0 16px 50px #18583310}
.sachi-staff-auth-logo{display:block;width:115px;height:84px;object-fit:contain;margin:0 auto 20px}
.sachi-staff-auth-tag{display:block;color:#498152;font-size:10px;font-weight:700;letter-spacing:1.5px;text-align:center}
.sachi-staff-auth h1{font:750 26px/1.25 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#08653b;margin:12px 0 8px;text-align:center}
.sachi-staff-auth-intro{text-align:center;color:#6a7f6e;font-size:13px;margin:0 0 26px}
.sachi-staff-auth form p{margin:0 0 18px}
.sachi-staff-auth label{display:block;font-size:13px;font-weight:600;margin-bottom:7px}
.sachi-staff-auth input[type=text],.sachi-staff-auth input[type=password]{display:block;width:100%;height:48px;padding:12px 14px;border:1px solid #ccddcf;border-radius:12px;background:#fff;color:#193c29;font:16px -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
.sachi-staff-auth input:focus{outline:3px solid #67bd4538;border-color:#138348}
.sachi-staff-auth .login-remember label{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:500}
.sachi-staff-auth input[type=checkbox]{width:19px;height:19px;margin:0;accent-color:#087c46;flex-shrink:0}
.sachi-staff-auth input[type=submit]{display:block;width:100%;min-height:48px;border:0;border-radius:13px;background:linear-gradient(100deg,#067a46,#279749);color:#fff;font-size:16px;font-weight:700;cursor:pointer}
.sachi-staff-auth-forgot{display:block;text-align:center;font-size:13px;color:#087a46;text-decoration:none;padding:2px 0 14px}
.sachi-staff-auth-note{border-top:1px solid #e1eadf;padding-top:15px;color:#738071;font-size:11px;line-height:1.6}
.sachi-staff-auth-slogan{text-align:center;color:#6c8b70;font-size:12px;letter-spacing:1px;margin:18px 0}
@media(max-width:400px){.sachi-staff-auth{margin:18px auto}.sachi-staff-auth-card{padding:24px 20px}.sachi-staff-auth h1{font-size:24px}}
/* 4.58.1 */
.sc-fallback{margin-top:10px;text-align:center;font-size:14px}.sc-fallback p{margin:0 0 8px}.sc-file-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;min-height:44px;padding:10px 18px;border-radius:12px}
.sc-consent{display:flex!important;align-items:flex-start;gap:10px;text-align:left!important;justify-content:flex-start!important;font-size:14.5px;line-height:1.4;margin:10px 0!important}.sc-consent input{flex:none;width:22px;height:22px;margin:0!important;accent-color:#11692f}
.sc-camera .sc-file-btn{background:linear-gradient(90deg,#11692f,#1f8a43)!important;color:#fff!important;font-weight:800;font-size:16px;border:0;box-shadow:0 4px 12px #11692f40;width:100%;max-width:340px}
.sc-camera .sc-file-btn{box-sizing:border-box}
.hr-site-flags{border:1px solid #dfe9df;border-radius:12px;padding:10px 14px;margin:10px 0;display:grid;gap:8px}.hr-site-flags legend{font-weight:800;padding:0 6px}.hr-site-flags .hr-check{display:flex;gap:10px;align-items:flex-start}.hr-site-flags input{width:20px;height:20px;flex:none;margin-top:2px}
.hr-myip{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;border-radius:12px;padding:10px 12px;margin:8px 0;background:#f3f6f3;border:1px solid #dde6dd;font-size:14px;line-height:1.45}.hr-myip.hr-ok{background:#ecf8ee;border-color:#9fd3a9}.hr-myip.hr-new{background:#fff7e0;border-color:#f5c542}.hr-myip.hr-bad{background:#fdecea;border-color:#f1a39b}.hr-myip code{font-size:15px;font-weight:800}.hr-myip-actions{display:flex;gap:8px}
.hr-learned{border:1px dashed #c9d9c9;border-radius:12px;padding:8px 12px;margin:8px 0}.hr-learned h4{margin:4px 0 8px;font-size:14.5px}.hr-learned-table{width:100%;border-collapse:collapse;font-size:13.5px}.hr-learned-table td{padding:6px 4px;border-top:1px solid #eef2ee;vertical-align:middle}
.hr-mappick{margin:10px 0}.hr-mappick-bar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:8px;font-size:13.5px}.hr-mappick-bar span{flex:1;min-width:200px;color:#33513d}
.hr-mappick-map{position:relative;height:320px;border-radius:14px;overflow:hidden;background:#dfe9df;border:1px solid #cfdccf;touch-action:none;cursor:crosshair;user-select:none}
.hr-mp-tiles img{position:absolute;width:256px;height:256px;max-width:none;pointer-events:none}.hr-mp-ov{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.hr-mp-zoom{position:absolute;right:10px;top:10px;display:flex;flex-direction:column;gap:4px}.hr-mp-zoom button{width:34px;height:34px;border-radius:8px;border:1px solid #cfdccf;background:#fff;font-size:20px;font-weight:700;cursor:pointer;padding:0;line-height:1}
.hr-mp-attr{position:absolute;right:6px;bottom:4px;background:#ffffffcc;padding:1px 5px;border-radius:4px;font-size:11px}
.hr-mp-layer{position:absolute;left:10px;top:10px;border-radius:8px;border:1px solid #cfdccf;background:#fff;font-weight:700;padding:7px 12px;cursor:pointer;font-size:13px}
.sc-flag{font-style:normal;font-size:12px;font-weight:700;color:#9a5b00;background:#fff3df;border-radius:999px;padding:2px 8px;margin-left:6px}.sc-okflag{font-style:normal;font-size:12px;font-weight:700;color:#11692f;background:#ecf8ee;border-radius:999px;padding:2px 8px;margin-left:6px}
/* 4.58.1 – Hôm nay tại công ty */
.hr-today{margin-bottom:16px}.tb-head{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:14px}.tb-head>div{flex:1;min-width:220px}.tb-head h3{margin:0;font-size:19px}.tb-head small{color:#71817e}.tb-head label{font-size:13px;color:#5d6f69;display:flex;gap:6px;align-items:center}.tb-head select{border:1px solid #d5e2dc;border-radius:10px;padding:8px 10px;font:inherit}
.tb-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}@media(max-width:900px){.tb-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
.tb-card{position:relative;text-align:left;border-radius:16px!important;padding:14px 16px!important;border:2px solid transparent!important;cursor:pointer;display:flex;flex-direction:column;gap:2px;min-height:0!important;font:inherit;color:inherit}
.tb-card b{font-size:32px;line-height:1.05;margin-top:6px}.tb-card .tb-t{font-weight:800;font-size:14.5px}.tb-card small{color:#5d6f69;font-size:12.5px;white-space:normal}.tb-ic{width:36px;height:36px;border-radius:11px;display:flex;align-items:center;justify-content:center;font-size:18px}
.tb-c1{background:#ecf8ee!important}.tb-c1 .tb-ic{background:#cdebd5}.tb-c1 b{color:#0d7a3f}.tb-c2{background:#f3f5f8!important}.tb-c2 .tb-ic{background:#e1e6ee}.tb-c2 b{color:#4b5a70}.tb-c3{background:#fff4e6!important}.tb-c3 .tb-ic{background:#ffe1bd}.tb-c3 b{color:#b25b00}.tb-c4{background:#eef3ff!important}.tb-c4 .tb-ic{background:#d6e2ff}.tb-c4 b{color:#2a55c8}
.tb-card.on{border-color:#1f8a43!important;box-shadow:0 6px 16px #1f8a4326}.tb-live{position:absolute;right:12px;top:12px;font-size:10.5px;font-weight:800;color:#0d7a3f;display:flex;align-items:center;gap:6px}.tb-live i{width:8px;height:8px;border-radius:50%;background:#22b35a;box-shadow:0 0 0 4px #22b35a33}
.tb-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:14px}@media(max-width:1000px){.tb-grid{grid-template-columns:1fr}}

.tb-dept{border:1px solid #eef2f0;border-radius:14px;padding:12px 14px}.tb-dept h4{margin:0 0 8px;font-size:14px}
.tb-bar{display:grid!important;grid-template-columns:minmax(0,150px) 1fr 74px;align-items:center;gap:8px;width:100%;font-size:13px;padding:5px 6px!important;margin:2px 0;border:0!important;background:none!important;text-align:left;border-radius:8px!important;min-height:0!important;color:inherit!important;font-weight:500!important}.tb-bar:hover,.tb-bar.on{background:#f1f7f3!important}.tb-bar span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tb-bar .t{height:10px;border-radius:6px;background:#eef2f0;overflow:hidden;display:flex}.tb-bar .t i{display:block;height:100%}.tb-legend{display:flex;flex-wrap:wrap;gap:12px;font-size:12px;color:#5d6f69;margin:8px 0}.tb-legend i{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:4px;vertical-align:-1px}
.tb-card{align-items:flex-start!important;text-align:left!important;justify-content:flex-start!important}.tb-head label{flex-direction:row!important}
/* 4.58.1 – Châm ngôn thay khung giá trị cốt lõi trên màn hình chính quản trị */
.hr-hero-quote{position:relative;flex:0 0 min(46%,560px);align-self:stretch;border-radius:20px;overflow:hidden;background:#f4f1e3;box-shadow:0 10px 30px #0004;display:flex;flex-direction:column;min-height:220px}
.hr-hq-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:right center}
.hr-hero-quote::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#f6f2e2f2 0%,#f6f2e2d9 48%,#f6f2e200 78%)}
.hr-hq-special::after{background:linear-gradient(0deg,#fff8eefa 0%,#fff8eee6 45%,#fff8ee00 75%)}
.hr-hq-body{position:relative;z-index:1;padding:22px 24px;display:flex;flex-direction:column;gap:10px;max-width:68%;height:100%;justify-content:center}
.hr-hq-special .hr-hq-body{max-width:100%;justify-content:flex-end;margin-top:auto}
.hr-hq-kicker{font-size:11.5px;font-weight:800;letter-spacing:.12em;color:#11692f}
.hr-hq-special .hr-hq-kicker{color:#b3261e}
.hr-hero-quote blockquote{margin:0;font-family:"Noto Serif","Times New Roman",Cambria,serif;font-weight:700;font-size:21px;line-height:1.35;color:#154a24;text-wrap:balance}
.hr-hq-special blockquote{font-size:17px;color:#5a2410}
.hr-hq-foot{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.hr-hq-value{display:inline-flex;align-items:center;gap:6px;background:#ffffffd9;border-radius:999px;padding:4px 12px 4px 4px;font-size:13px;font-weight:700;color:#11692f}.hr-hq-value b{width:24px;height:24px;border-radius:50%;background:#11692f;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:13px}
.hr-hq-btn{background:#ffffffe6!important;color:#11692f!important;border:1px solid #cfe0d3!important;border-radius:999px!important;padding:6px 14px!important;font-size:12.5px!important;min-height:0!important}
@media(max-width:900px){.hr-hero-quote{flex-basis:100%}.hr-hq-body{max-width:100%}}
.hr-hq-body .hr-hq-btn{align-self:flex-start;width:auto!important}
/* rc.12 – châm ngôn rộng hơn, viền mờ hòa vào nền xanh */
.hr-enterprise-hero .hr-hero-copy{flex:0 1 38%;min-width:300px}
.hr-hero-quote{flex:1 1 62%;max-width:none;border-radius:0;box-shadow:none;background:transparent;margin:-24px -30px -24px 0;min-height:250px;
 -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 16%,#000 100%),linear-gradient(0deg,transparent 0,#000 14%,#000 86%,transparent 100%);-webkit-mask-composite:source-in;
 mask-image:linear-gradient(90deg,transparent 0,#000 16%,#000 100%),linear-gradient(0deg,transparent 0,#000 14%,#000 86%,transparent 100%);mask-composite:intersect}
.hr-hero-quote::after{background:linear-gradient(90deg,#f6f2e200 0%,#f6f2e2e6 18%,#f6f2e2cc 52%,#f6f2e200 82%)}
.hr-hq-special::after{background:linear-gradient(90deg,#fff8ee00 0%,#fff8eee6 18%,#fff8eecc 55%,#fff8ee00 85%)}
.hr-hq-body,.hr-hq-special .hr-hq-body{max-width:66%;padding:30px 24px 30px 18%;justify-content:center;margin-top:0}
.hr-hero-quote blockquote{font-size:23px}
.hr-hq-special blockquote{font-size:20px}
@media(max-width:900px){.hr-hero-quote{margin:14px -20px -20px;flex-basis:100%;-webkit-mask-image:linear-gradient(0deg,transparent 0,#000 12%,#000 88%,transparent 100%);mask-image:linear-gradient(0deg,transparent 0,#000 12%,#000 88%,transparent 100%)}.hr-hq-body,.hr-hq-special .hr-hq-body{max-width:100%;padding:26px 22px}.hr-hero-quote::after{background:linear-gradient(90deg,#f6f2e2e6 0%,#f6f2e2cc 60%,#f6f2e266 100%)}}
@media(max-width:900px){.hr-enterprise-hero{flex-wrap:wrap!important;display:flex!important}.hr-enterprise-hero .hr-hero-copy{flex:1 1 100%}.hr-hero-quote{margin:4px -20px -20px!important;min-height:200px}}
/* 4.58.1 – Thống kê bộ phận trên app */
.db{display:flex;flex-direction:column;gap:10px}
.db-hero{background:linear-gradient(120deg,#0b5a3a,#13844f);border-radius:20px;color:#fff;padding:14px 16px;display:flex;align-items:center;gap:14px}.db-hero h3{margin:0;font-size:15px;color:#fff}.db-hero p{margin:3px 0 0;font-size:12px;opacity:.9}
.db-ring{--p:0;width:84px;height:84px;border-radius:50%;background:conic-gradient(#7be3a1 calc(var(--p)*1%),#ffffff33 0);display:flex;align-items:center;justify-content:center;flex:none}.db-ring div{width:64px;height:64px;border-radius:50%;background:#0f6a43;display:flex;flex-direction:column;align-items:center;justify-content:center}.db-ring b{font-size:19px}.db-ring small{font-size:10px;opacity:.85}
.db-pill{display:inline-block;background:#ffffff26;border-radius:999px;padding:3px 9px;font-size:11px;font-weight:700;margin-top:6px}
.db-sel{font-size:13px;display:flex;gap:8px;align-items:center}.db-sel select{flex:1;border:1px solid #d5e2dc;border-radius:10px;padding:8px;font:inherit}
.db-k{display:grid;grid-template-columns:1fr 1fr;gap:10px}.db-k button{text-align:left;border-radius:16px!important;padding:11px 12px!important;background:#fff!important;border:2px solid #e6efe8!important;display:flex;flex-direction:column;align-items:flex-start!important;gap:1px;min-height:0!important;color:#172c2a!important;font:inherit}.db-k button.on{border-color:#1f8a43!important}
.db-k b{font-size:24px}.db-k span{font-size:12.5px;font-weight:800}.db-k small{font-size:11px;color:#6a7c76;white-space:normal}.db-k1 b{color:#0d7a3f}.db-k2 b{color:#4b5a70}.db-k3 b{color:#b25b00}.db-k4 b{color:#2a55c8}
.db-sec{background:#fff;border-radius:16px;border:1px solid #e6efe8;padding:12px}.db-sec h4{margin:0 0 8px;font-size:13.5px;display:flex;justify-content:space-between;align-items:center}.db-sec h4 button{font-size:12px;padding:4px 10px!important;min-height:0!important}
.db-row{display:grid!important;grid-template-columns:minmax(0,1fr) 92px 46px;gap:8px;align-items:center;font-size:12.5px;width:100%;padding:5px 4px!important;background:none!important;border:0!important;text-align:left;min-height:0!important;border-radius:8px!important;color:inherit!important;font-weight:500!important}.db-row.on{background:#f1f7f3!important}.db-row span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.db-row .t{height:8px;border-radius:5px;background:#eef2f0;display:flex;overflow:hidden}.db-row .t i{display:block;height:100%}.db-leg{display:flex;gap:12px;font-size:11.5px;color:#6a7c76;margin-top:6px}.db-leg i{display:inline-block;width:9px;height:9px;border-radius:3px;margin-right:4px}
.db-tabs{display:flex;gap:6px;overflow-x:auto;margin-bottom:6px;padding-bottom:2px}.db-tabs button{flex:none;padding:6px 10px!important;border-radius:999px!important;font-size:12px;font-weight:700;background:#f1f5f3!important;color:#4c6a52!important;border:0!important;min-height:0!important}.db-tabs button.on{background:#086848!important;color:#fff!important}
.db-p{display:flex;align-items:center;gap:9px;padding:8px 0;border-top:1px solid #f0f3f1;font-size:12.5px}.db-p:first-of-type{border-top:0}.db-p div{flex:1;min-width:0}.db-p small{color:#6a7c76;display:block;font-size:11px}.db-av{width:30px;height:30px;border-radius:50%;background:#dff1e5;color:#11692f;font-weight:800;display:flex;align-items:center;justify-content:center;font-size:12px;flex:none}
.db .b{font-size:10.5px;font-weight:800;border-radius:999px;padding:2px 8px;background:#f1f3f2;color:#5d6f69;white-space:nowrap}.db .b.ok{background:#ecf8ee;color:#0d7a3f}.db .b.wr{background:#fff3df;color:#9a5b00}.db .b.bl{background:#eef3ff;color:#2a55c8}
.db-bars{display:flex;align-items:flex-end;gap:8px;height:92px}.db-bars div{flex:1;display:flex;flex-direction:column;align-items:center;gap:3px;font-size:10.5px;color:#6a7c76}.db-bars i{display:block;width:100%;border-radius:5px 5px 2px 2px;background:#22b35a}
.hr-mobile-app-nav{display:flex!important;gap:4px}.hr-mobile-app-nav>button{flex:1 1 0;min-width:0}.db-sel{flex-direction:row!important}
/* 4.58.1 – Điều hành */
.ex-task{display:flex!important;align-items:center;gap:10px;width:100%;padding:9px 4px!important;border:0!important;border-top:1px solid #f0f3f1!important;background:none!important;text-align:left;font-size:13.5px;color:inherit!important;min-height:0!important;border-radius:0!important;font-weight:500!important}.ex-task:first-of-type{border-top:0!important}
.ex-task i{font-style:normal;width:30px;height:30px;border-radius:9px;display:flex;align-items:center;justify-content:center;background:#ecf8ee;flex:none}.ex-task span{flex:1}.ex-task b{background:#e8505b;color:#fff;border-radius:999px;font-size:11.5px;padding:2px 9px}.ex-task em{font-style:normal;color:#9aa8a3;font-size:12px}
.ex-money{display:flex;justify-content:space-between;align-items:flex-end;gap:8px}.ex-money small{display:block;font-size:11.5px;color:#6a7c76}.ex-money b{font-size:21px;color:#11692f}.ex-up{color:#0d7a3f;font-weight:800;font-size:12px}.ex-down{color:#b3261e;font-weight:800;font-size:12px}
.ex-mini{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:8px}.ex-mini div{background:#f6faf7;border-radius:12px;padding:9px 6px;text-align:center;font-size:11px;color:#5d6f69}.ex-mini b{display:block;font-size:15px;color:#172c2a}
.ex-search{width:100%;margin:10px 0 6px;padding:9px 12px;border:1px solid #d5e2dc;border-radius:10px;font:inherit;font-size:14px}
.ex-pay{max-height:360px;overflow:auto}.ex-pay>div{display:flex;justify-content:space-between;gap:8px;padding:8px 2px;border-top:1px solid #f0f3f1;font-size:13px}.ex-pay>div:first-child{border-top:0}.ex-pay small{display:block;color:#6a7c76;font-size:11px}.ex-net{text-align:right;font-weight:800;color:#11692f;white-space:nowrap}
.hr-emp-search{width:100%;box-sizing:border-box;margin:4px 0 6px;padding:9px 12px;border:1px solid #cfe0d6;border-radius:10px;font:inherit;font-size:15px;background:#f7fbf8}.hr-emp-search:focus{outline:2px solid #1f8a4c33;border-color:#1f8a4c}.hr-emp-search-hint{display:block;color:#6a7c76;font-size:12px;min-height:0;margin-top:3px}
.hr-newacc{display:grid;grid-template-columns:auto 1fr;gap:6px 14px;background:#f2f8f4;border-radius:12px;padding:12px 14px;margin:10px 0}.hr-newacc dt{color:#5d6f69}.hr-newacc dd{margin:0;word-break:break-all}
/* 4.58.1-rc.23 – Bản đồ định vị & điểm danh vị trí */
.hr-lm-bar{display:flex;flex-wrap:wrap;gap:12px;align-items:end;margin:6px 0 8px}.hr-lm-bar label{display:flex;flex-direction:column;gap:4px;font-size:13px;font-weight:600}
.hr-lm-wrap{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:12px}.hr-lm-map{height:520px;cursor:grab}
.hr-lm-list{max-height:520px;overflow:auto;border:1px solid #e2ece6;border-radius:14px;padding:4px}
.hr-lm-item{display:flex!important;gap:9px;align-items:flex-start;width:100%;text-align:left;background:none!important;border:0!important;border-bottom:1px solid #f0f4f1!important;border-radius:0!important;padding:8px!important;min-height:0!important;color:inherit!important;font-weight:400!important}
.hr-lm-item.on{background:#eef7f1!important}.hr-lm-item i{flex:none;width:11px;height:11px;border-radius:50%;margin-top:4px}.hr-lm-item small{color:#5d6f69}
.hr-lm-detail{margin-top:10px;background:#f6faf7;border:1px solid #dce9e1;border-radius:12px;padding:10px 12px;font-size:13.5px;line-height:1.55}.hr-lm-photo{max-width:220px;border-radius:10px;margin-top:8px;display:block}
@media(max-width:900px){.hr-lm-wrap{grid-template-columns:1fr}.hr-lm-map{height:380px}.hr-lm-list{max-height:320px}}
.hr-checkin .hr-btn{margin-top:4px}.hr-checkin-list{margin:10px 0 0;padding-left:18px;font-size:13px;color:#33513d}.hr-checkin-list li{margin:3px 0}
.ex-photo{min-height:0!important;padding:3px 9px!important;font-size:11.5px!important;margin:4px 6px 0 0!important;border-radius:999px!important}
.hr-ss-list{max-height:55vh;overflow:auto;border:1px solid #e2ece6;border-radius:12px;margin-top:8px}.hr-ss-row{display:flex!important;justify-content:space-between;align-items:center;gap:10px;padding:8px 10px;border-bottom:1px solid #f0f4f1;font-weight:400!important}.hr-ss-row small{display:block;color:#6a7c76;font-size:11.5px}.hr-ss-pick{display:flex;gap:6px;align-items:center}.hr-ss-pick .hr-btn{min-height:0!important;padding:5px 10px!important}.hr-ss-pick input{width:110px}
.tb-cards{grid-template-columns:repeat(6,minmax(0,1fr))}.tb-c5{background:#fff1ec!important}.tb-c5 .tb-ic{background:#ffd9cc}.tb-c5 b{color:#d2461c}@media(max-width:1400px){.tb-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:700px){.tb-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
.hr-lm-unloc{margin-top:12px;border:1px solid #f3d2c9;background:#fff7f4;border-radius:12px;padding:10px 12px}.hr-lm-unloc h4{margin:0 0 4px;color:#b3261e}.hr-lm-urow{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:7px 0;border-top:1px solid #f6e1da}.hr-lm-urow small{color:#6a7c76}
/* 4.58.1-rc.37 – trang chấm công nhân viên bố cục mới */
.sc2 .sc-person{margin-bottom:2px}
.sc2-hero{background:linear-gradient(150deg,#0e7a3c,#0b5a2d 70%);color:#fff;border-radius:24px;padding:16px 18px 18px;box-shadow:0 12px 26px #0b5a2d40}
.sc2-date{font-size:13.5px;opacity:.9;text-align:center;margin-bottom:8px;text-transform:capitalize}
.sc2-row{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.sc2-row small{display:block;font-size:12.5px;opacity:.85}.sc2-row b{font-size:17px}
.sc2-pill{font-size:12px;font-weight:800;background:#ffffff22;border:1px solid #ffffff55;border-radius:999px;padding:5px 11px;white-space:nowrap}.sc2-pill.on{background:#ffd54a;color:#4a3700;border-color:#ffd54a}.sc2-pill.done{background:#ffffff;color:#0b5a2d}
.sc2-time{font-size:54px!important;font-weight:900;text-align:center;letter-spacing:1px;margin:6px 0 2px;color:#fff!important;font-variant-numeric:tabular-nums}
.sc2-today{display:flex;justify-content:center;gap:22px;font-size:13.5px;opacity:.95}.sc2-today b{font-size:15px}
.sc2-gps{background:#fff;border:2px solid #cfe9d6;border-radius:22px;padding:14px 16px;box-shadow:0 8px 20px #0b5a2d14}.sc2-gps.ok{border-color:#2fb35a;background:linear-gradient(180deg,#f2fbf4,#fff)}.sc2-gps.bad{border-color:#e26a5e;background:linear-gradient(180deg,#fff4f2,#fff)}
.sc2-gps-main{display:flex;gap:12px;align-items:center}.sc2-gps-ic{flex:none;width:48px;height:48px;border-radius:50%;background:#11692f;color:#fff;display:flex;align-items:center;justify-content:center;font-size:24px;box-shadow:0 0 0 6px #11692f1f}
.sc2-gps h3{margin:0;font-size:16px;color:#123a2a}.sc2-tick{font-style:normal;background:#2fb35a;color:#fff;border-radius:50%;width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center;font-size:12px;vertical-align:middle}
.sc2-state{display:inline-block;margin:5px 0;font-size:13px;font-weight:800;border-radius:999px;padding:4px 11px;background:#eef2f0;color:#475b53}.sc2-gps.ok .sc2-state{background:#dff5e5;color:#11692f}.sc2-gps.bad .sc2-state{background:#fde3df;color:#b3261e}
.sc2-gps p{margin:0;font-size:12.5px;color:#4d6158}
.sc2-map{flex:none;margin-left:auto;width:96px;height:96px;border-radius:16px;overflow:hidden;position:relative;background:#e6efe9;border:1px solid #d6e4dc}.sc2-map img{position:absolute;width:256px;height:256px;max-width:none}.sc2-mpin{position:absolute;left:50%;top:50%;transform:translate(-50%,-90%);font-size:26px;filter:drop-shadow(0 2px 2px #0005)}
.sc2-gps-meta{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.sc2-gps-meta div{background:#f5f9f6;border-radius:12px;padding:8px 10px}.sc2-gps-meta small{display:block;color:#5d6f69;font-size:11.5px}.sc2-gps-meta b{font-size:13px;color:#173a2a}
.sc2-recheck{margin-top:10px!important;width:100%;min-height:40px!important;font-size:14px!important}
.sc2-consent{font-size:13px;margin:2px 4px}
.sc2-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.sc2-btn{display:flex!important;align-items:center;gap:10px;min-height:78px!important;border-radius:20px!important;padding:12px 14px!important;text-align:left;border:0!important;color:#fff!important;box-shadow:0 10px 22px #0b5a2d33}
.sc2-btn b{display:block;font-size:20px}.sc2-btn small{display:block;font-size:11.5px;font-weight:500;opacity:.9}
.sc2-in{background:linear-gradient(135deg,#25a14f,#11692f)!important}.sc2-out{background:linear-gradient(135deg,#f08a24,#c25a0a)!important}
.sc2-btn[disabled]{background:#e3e9e6!important;color:#7d8f88!important;box-shadow:none;cursor:not-allowed}
.sc2-fp{flex:none;width:42px;height:42px;border-radius:50%;background:#ffffff2e;display:flex;align-items:center;justify-content:center;font-size:22px}
.sc2-note{font-size:12px;color:#5d6f69;margin:-2px 4px 0}
.sc2-tools{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.sc2-tool{background:#fff;border:1px solid #e1ece5;border-radius:16px;padding:12px 4px;font-size:12px;font-weight:700;color:#173a2a;display:flex;flex-direction:column;align-items:center;gap:6px;box-shadow:0 4px 12px #0b5a2d10;line-height:1.25;text-align:center}
.sc2-tool span{width:38px;height:38px;border-radius:12px;background:#ecf8ee;display:flex;align-items:center;justify-content:center;font-size:20px}
.sc2-total{background:#fff;border-radius:20px;padding:14px 16px;box-shadow:0 8px 20px #0b5a2d10}.sc2-total h3{margin:0 0 10px;font-size:15px}
.sc2-total-row{display:flex;gap:16px;align-items:center}.sc2-ring{flex:none;width:104px;height:104px;border-radius:50%;background:conic-gradient(#25a14f calc(var(--p)*1%),#e6efe9 0);display:flex;align-items:center;justify-content:center}.sc2-ring>div{width:80px;height:80px;border-radius:50%;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center}.sc2-ring b{font-size:21px}.sc2-ring small{font-size:11px;color:#5d6f69}
.sc2-total ul{list-style:none;margin:0;padding:0;flex:1}.sc2-total li{display:flex;justify-content:space-between;padding:6px 0;border-bottom:1px solid #f0f4f1;font-size:13px}.sc2-total li:last-child{border:0}.sc2-total>small{display:block;margin-top:8px;color:#6a7c76;font-size:11.5px}
@media(max-width:380px){.sc2-time{font-size:44px!important}.sc2-tools{grid-template-columns:repeat(2,1fr)}}
.sachi-clock.sc2{grid-template-columns:minmax(0,1fr);width:100%;overflow-x:hidden}.sc2>*{min-width:0;max-width:100%;box-sizing:border-box}.sc2 *{box-sizing:border-box}
.sc2-btn,.sc2-tool{white-space:normal!important;width:100%;min-width:0}.sc2-actions>*,.sc2-tools>*,.sc2-gps-meta>*{min-width:0}
.sc2-consent{display:flex!important;align-items:flex-start;gap:8px;font-weight:500!important;text-align:left}.sc2-consent input{flex:none;width:20px;height:20px;margin:0!important}
.sc2-hero .sc2-date{color:#fff}.sc2-gps-main>div:nth-child(2){min-width:0;flex:1}
.sc2-total li span{min-width:0}.sc2-total-row ul{min-width:0}
.sc2-btn::before,.sc2-btn::after{display:none!important;content:none!important}
.sc2-btn{gap:8px;padding:12px 10px!important}.sc2-btn b{font-size:19px;line-height:1.1}.sc2-btn small{font-size:11px;line-height:1.25}.sc2-fp{width:38px;height:38px;font-size:20px}
.sc2-hero [data-sc-date],.sc2-hero .sc2-date{color:#e9fff0!important;opacity:1}
.sc2-map{width:78px;height:78px}.sc2-map img{transform:translate(-9px,-9px)}.sc2-gps-ic{width:42px;height:42px;font-size:21px}.sc2-gps h3{font-size:15px}
.sc2-tool{font-size:11.5px}
.sc2-consent{flex-direction:row!important;justify-content:flex-start!important;grid-template-columns:none!important}.sc2-state{white-space:nowrap}
/* rc.38 gọn theo mẫu */
.sc2{gap:10px!important}
.sc2-hero{padding:14px 16px 12px;border-radius:22px}.sc2-time{font-size:48px!important;margin:4px 0 0}.sc2-date{margin:0 0 2px;font-size:12.5px}
.sc2-gps{padding:12px 14px 14px;border-radius:22px}.sc2-gps-main{align-items:flex-start}.sc2-gps h3{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.sc2-re{border:0;background:#eef5f0;color:#11692f;border-radius:50%;width:24px;height:24px;font-size:15px;line-height:1;padding:0;cursor:pointer;margin-left:auto}
.sc2-gps-meta{margin-top:10px;gap:8px}.sc2-gps-meta div{padding:7px 10px}
.sc2-btn{width:100%;margin-top:12px!important;min-height:72px!important;border-radius:999px!important;background:linear-gradient(135deg,#2fb35a,#0f6f34)!important;gap:12px;padding:10px 16px 10px 12px!important}
.sc2-btn.out{background:linear-gradient(135deg,#f08a24,#c25a0a)!important}.sc2-btn.again{background:linear-gradient(135deg,#6b8f7c,#4d6b5b)!important}
.sc2-fp{width:50px;height:50px;font-size:26px;background:#ffffff26;border:2px solid #ffffff55}.sc2-bt{flex:1;text-align:center}.sc2-bt b{font-size:22px}.sc2-bt small{font-size:12px}
.sc2-arr{flex:none;width:34px;height:34px;border-radius:50%;background:#ffffff26;display:flex;align-items:center;justify-content:center;font-size:24px;font-weight:700}
.sc2 .sc2-consent{margin:10px 2px 0;font-size:12.5px}
.sc2-tools{gap:8px}.sc2-tool{padding:10px 4px;border-radius:14px}
.sc2 .sc2-re{all:unset;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:#e3f2e8;color:#11692f;font-size:13px;cursor:pointer;margin-left:2px}
.sc2-gps h3{flex-wrap:nowrap;white-space:nowrap;font-size:14.5px}
.sc2 .sc2-tool{font-size:11.5px!important;line-height:1.25!important;font-weight:700!important;color:#173a2a!important;min-height:0!important;padding:10px 3px!important}
.sc2 .sc2-tool span{width:34px;height:34px;font-size:18px}
.sc2-gps-main{gap:10px}.sc2-state{margin:4px 0}
/* 4.58.1-rc.40 – Bảo vệ */
.sc2-hero.night{background:linear-gradient(150deg,#1d2b6b,#0d1640)}
.gd-rot{background:#fff;border-radius:18px;padding:10px 12px;box-shadow:0 6px 16px #0b5a2d10}.gd-rot h4{margin:0 0 7px;font-size:13.5px}.gd-rot small{display:block;margin-top:7px;color:#5d6f69;font-size:11.5px}
.gd-wk{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.gd-wk div{border-radius:11px;padding:7px 4px;text-align:center;font-size:10.5px;background:#f1f5f2}.gd-wk b{display:block;font-size:12.5px;margin-top:2px}.gd-wk .n{background:#1d2b6b;color:#fff}.gd-wk .d{background:#e3f5e8;color:#11692f}.gd-wk .cur{outline:3px solid #f5c542}
.gd{display:grid;gap:10px;max-width:760px;margin:auto}.gd *{box-sizing:border-box}
.gd-hd{display:flex;gap:10px;align-items:center;background:linear-gradient(135deg,#0e7a3c,#0b5a2d);color:#fff;border-radius:18px;padding:12px 14px}.gd-hd.night{background:linear-gradient(135deg,#2f45b3,#1d2b6b)}.gd-hd>span{font-size:26px}.gd-hd b{font-size:16px}.gd-hd small{display:block;opacity:.9;font-size:11.5px}
.gd-cam{position:relative;display:flex;align-items:flex-end;justify-content:center;height:220px;border-radius:18px;overflow:hidden;background:linear-gradient(135deg,#2b3a33,#18241e);cursor:pointer}
.gd-cam img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.gd-ph{position:absolute;inset:24px 80px 60px;border:2px dashed #ffffff66;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:46px;color:#fff}
.gd-shot{position:relative;margin-bottom:12px;background:#fff;color:#173a2a;font-weight:800;border-radius:999px;padding:9px 16px;font-size:14px;box-shadow:0 4px 12px #0005}
.gd-chips{display:flex;flex-wrap:wrap;gap:6px}.gd .gd-chip,.gd-log .gd-chip{all:unset;cursor:pointer;border-radius:999px;padding:6px 11px;background:#fff;border:1px solid #d6e4dc;font-size:12px;font-weight:700;color:#173a2a}.gd .gd-chip.on,.gd-log .gd-chip.on{background:#1d2b6b;color:#fff;border-color:#1d2b6b}
.gd-two{display:grid;grid-template-columns:1fr 1fr;gap:8px}.gd-f{display:block!important;background:#fff;border:1px solid #d6e4dc;border-radius:12px;padding:6px 10px;font-weight:400!important}.gd-f small{display:block;color:#6a7c76;font-size:10.5px}.gd-f input{width:100%;border:0!important;padding:2px 0!important;font:inherit;font-size:14px;background:none;outline:none;min-height:0!important}
.gd .gd-save{all:unset;cursor:pointer;text-align:center;border-radius:14px;background:linear-gradient(135deg,#2f45b3,#1d2b6b);color:#fff;font-weight:900;padding:13px;font-size:15.5px}
.gd-h{margin:4px 0 0;font-size:14px}.gd-it{display:flex;gap:9px;align-items:center;background:#fff;border-radius:14px;padding:8px 10px;margin-bottom:6px;box-shadow:0 3px 10px #0b5a2d0d}.gd-it>div{flex:1;min-width:0}.gd-it b{font-size:13px}.gd-it small{display:block;color:#5d6f69;font-size:11px}
.gd-th{flex:none;width:40px;height:40px;border-radius:10px;background:#eef4f0;display:flex;align-items:center;justify-content:center;font-size:20px}
.gd .gd-out{min-height:0!important;padding:6px 12px!important;border-radius:999px!important;background:#fff1e6!important;color:#c25a0a!important;border:1px solid #f3c79f!important;font-size:12px!important;white-space:nowrap}
.gd-ok{color:#11692f;font-size:11.5px;font-weight:700;white-space:nowrap}.gd-done summary{cursor:pointer;font-weight:700;font-size:13px;margin:6px 0}
.gd-kpi{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:8px 0}.gd-kpi div{background:#f4f8f5;border-radius:12px;padding:8px;text-align:center;font-size:12px;color:#5d6f69}.gd-kpi b{display:block;font-size:22px;color:#1d2b6b}
.gd-wood{background:#fff8ec;border:2px solid #e8b66a;border-radius:16px;padding:10px}.gd-wood h4{margin:0 0 8px;color:#8a5413}.gd-cam2{height:170px;margin-bottom:8px}.gd .gd-chip.wood{border-color:#e8b66a;background:#fff8ec}.gd .gd-chip.wood.on{background:#8a5413;border-color:#8a5413;color:#fff}.gd-kpi{grid-template-columns:repeat(4,minmax(0,1fr))}
.gd-cam{display:block!important}.gd-shot{position:absolute!important;left:50%;bottom:12px;transform:translateX(-50%);margin:0!important;white-space:nowrap}
.gl-cards{display:grid;gap:8px;margin-top:8px}.gl-card{background:#fff;border:1px solid #e1ece5;border-radius:14px;padding:9px 11px}.gl-card.open{border-color:#f3c79f;background:#fffaf4}
.gl-top{display:flex;gap:9px;align-items:center}.gl-top>div{flex:1;min-width:0}.gl-top b{font-size:13.5px}.gl-top small{display:block;color:#5d6f69;font-size:11.5px}
.gl-st{font-size:11px;font-weight:800;color:#11692f;white-space:nowrap}.gl-card.open .gl-st{color:#c25a0a}.gl-meta{display:block;color:#5d6f69;font-size:11.5px;margin-top:5px;line-height:1.4}
.gl-btns{display:flex;gap:6px;margin-top:6px}.gl-btns .hr-btn{min-height:0!important;padding:5px 11px!important;font-size:12px!important;border-radius:999px!important}
@media(max-width:760px){.gd-log .hr-lm-bar{display:grid;grid-template-columns:1fr 1fr}.gd-log .hr-lm-bar label:last-child{grid-column:1/-1}.gd-kpi{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* 4.58.1-rc.44 – lịch sử chấm công dạng thẻ */
.hx{background:#fff;border-radius:22px;padding:14px;box-shadow:0 8px 20px #0b5a2d10}
.hx-head{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:10px}.hx-head h3{margin:0;font-size:16px;color:#173a2a}
.hx .hx-req{min-height:0!important;padding:7px 12px!important;border-radius:999px!important;border:1.5px solid #9fd3ae!important;background:#f4fbf6!important;color:#11692f!important;font-size:12.5px!important}
.hx-card{display:grid;grid-template-columns:1.15fr 1fr 1.2fr;grid-template-areas:"day io sum" "day st st";gap:8px 12px;border:1px solid #e3ede7;border-radius:16px;padding:11px 12px;margin-bottom:9px}
.hx-day{grid-area:day;display:flex;flex-direction:column;gap:4px}.hx-day b{font-size:14.5px}.hx-day small{color:#5d6f69;font-size:12px;margin-bottom:2px}
.hx-chip{display:inline-block;border-radius:999px;padding:3px 9px;font-size:11.5px;font-weight:800;width:max-content}.hx-chip.hc{background:#e1f5e6;color:#11692f}.hx-chip.tc{background:#fde7c8;color:#8a4b06}
.hx-io{grid-area:io;display:flex;flex-direction:column;gap:7px;justify-content:center;border-left:1px solid #edf2ee;padding-left:10px;font-size:13px;color:#4d6158}.hx-io b{color:#173a2a;font-size:15px}
.hx-io i{font-style:normal;font-weight:900;margin-right:3px}.hx-io i.in{color:#1f9a49}.hx-io i.out{color:#c8302a}
.hx-sum{grid-area:sum;display:flex;flex-direction:column;gap:2px;justify-content:center;border-left:1px solid #edf2ee;padding-left:10px}.hx-sum b{font-size:14.5px}.hx-sum small{color:#5d6f69;font-size:12px}.hx-est{color:#a3660f!important;font-style:italic}
.hx-st{grid-area:st;display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap}.hx-st .hr-btn{min-height:0!important;padding:4px 9px!important;font-size:11.5px!important}
.hx-badge{border-radius:999px;padding:6px 13px;font-size:12.5px;font-weight:800}.hx-badge.open{background:#fdeab0;color:#7a5200}.hx-badge.ok{background:#dff5e5;color:#11692f}.hx-badge.wait{background:#fff1d6;color:#8a5413}.hx-badge.bad{background:#fde3df;color:#b3261e}
@media(max-width:460px){.hx-card{grid-template-columns:1fr 1fr;grid-template-areas:"day day" "io sum" "st st"}.hx-day{flex-direction:row;flex-wrap:wrap;align-items:center;gap:6px}.hx-day small{margin:0}.hx-io{border-left:0;padding-left:0}}
/* rc.45 – lịch sử chấm công theo mẫu: 4 cột, chữ nhỏ */
.hx{padding:12px 10px}.hx-head h3{font-size:14px}.hx .hx-req{font-size:11px!important;padding:5px 10px!important}
.hx-th{display:grid;grid-template-columns:1.15fr 1fr 1.25fr .95fr;background:#e8f5ec;border-radius:12px 12px 0 0;padding:7px 8px;font-size:11px;font-weight:800;color:#173a2a;text-align:center}
.hx-card,.hx-card:nth-child(n){grid-template-columns:1.15fr 1fr 1.25fr .95fr!important;grid-template-areas:"day io sum st"!important;gap:0 6px;padding:9px 8px;border-radius:12px;margin:0 0 7px}
.hx-th+.hx-card{border-top-left-radius:0;border-top-right-radius:0}
.hx-day{flex-direction:column!important;align-items:flex-start!important;gap:3px!important}.hx-day b{font-size:12px}.hx-day small{font-size:10.5px}
.hx-chip{font-size:9.5px;padding:2px 7px}
.hx-io{border-left:1px solid #edf2ee!important;padding-left:6px!important;font-size:10.5px;gap:6px}.hx-io b{font-size:12px}
.hx-sum{padding-left:6px;gap:1px}.hx-sum b{font-size:12px}.hx-sum small{font-size:10px}.hx-est{font-size:9.5px!important}
.hx-st{border-left:1px solid #edf2ee;flex-direction:column;justify-content:center!important;gap:4px}.hx-badge{font-size:10px;padding:4px 8px;text-align:center}.hx-st .hr-btn{font-size:9.5px!important;padding:2px 6px!important}
.hx-io .sc-flag{font-size:9.5px}
.hx-head{flex-wrap:nowrap}.hx-day b,.hx-sum b,.hx-sum small,.hx-io span{white-space:nowrap}.hx-io{gap:8px}.hx-io b{font-size:12.5px}
.hx-th{grid-template-columns:1.05fr .8fr 1.25fr .95fr}.hx-card,.hx-card:nth-child(n){grid-template-columns:1.05fr .8fr 1.25fr .95fr!important}
.hx-sum small{font-size:10px}.hx-badge{white-space:nowrap;font-size:9.5px;padding:4px 7px}
.hx-card>*{min-width:0}.hx-badge{white-space:normal!important;line-height:1.2;max-width:100%}.hx-st{align-items:center!important;padding-left:4px}
.hx-sum small{overflow:hidden;text-overflow:ellipsis}
/* 4.58.1-rc.46 – SACHI HR Mobile Dashboard */
.hr-mobile-shell .hr-home-header,.hr-home-header{background:linear-gradient(180deg,#dfecf4,#e6f1f3)!important;box-shadow:none!important;border:0!important;gap:8px!important}
.hr-home-header .hd-search,.hr-home-header .hd-me{all:unset;cursor:pointer!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:40px!important;height:40px!important;border-radius:50%!important;color:#1c2b25!important}
.hr-home-header .hd-search{margin-left:auto!important}
.hr-home-header .hd-me{background:#11692f!important;color:#fff!important;overflow:hidden!important;box-shadow:0 3px 8px #11692f40!important}
.hr-home-header .hd-me img{width:100%!important;height:100%!important;object-fit:cover!important}
.hr-home-header .hd-me svg{width:22px!important;height:22px!important}
body .hd-hero{height:0!important;padding-top:17.8%!important;margin:-2px -14px 0!important;position:relative!important}
body .hd-greet{position:relative!important;margin:-14px -2px 10px!important;background:#fff!important;border-radius:26px 26px 18px 18px!important;padding:12px 12px 12px!important;display:flex!important;align-items:center!important;gap:10px!important;box-shadow:0 -6px 16px #0b5a2d0f,0 6px 16px #0b5a2d10!important}
body .hd-greet button{all:unset;cursor:pointer!important}
body .hd-avatar{position:relative!important;flex:none!important;width:62px!important;height:62px!important;border-radius:50%!important;background:#dff1e4!important;border:3px solid #fff!important;box-shadow:0 3px 10px #0003!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:24px!important;font-weight:900!important;color:#11692f!important}
body .hd-avatar img{width:100%!important;height:100%!important;border-radius:50%!important;object-fit:cover!important}
body .hd-avatar i{position:absolute!important;right:1px!important;bottom:3px!important;width:13px!important;height:13px!important;border-radius:50%!important;background:#22c55e!important;border:2px solid #fff!important}
body .hd-hello{flex:1!important;min-width:0!important;display:grid!important;grid-template-columns:1fr auto!important;align-items:center!important}
body .hd-hello b{font-size:17px!important;color:#16241d!important;grid-column:1!important}
body .hd-hello small{grid-column:1!important;font-size:12px!important;color:#4d6158!important}
body .hd-hello span{grid-column:1!important;font-size:11.5px!important;color:#2d3f37!important;margin-top:3px!important}
body .hd-hello em{grid-column:2!important;grid-row:1/4!important;font-style:normal!important;font-size:22px!important;color:#6b7c75!important;padding:0 4px!important}
body .hd-date{flex:none!important;display:flex!important;align-items:center!important;gap:7px!important;background:linear-gradient(180deg,#eff9ee,#e2f3e1)!important;border-radius:16px!important;padding:8px 10px!important;box-shadow:0 3px 10px #0b5a2d14!important}
body .hd-date>span{font-size:24px!important}
body .hd-date b{display:block!important;font-size:12.5px!important;color:#16241d!important}
body .hd-date small{font-size:12px!important;font-weight:800!important;color:#16241d!important}
body .hd-chips{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important;margin-bottom:10px!important}
body .hd-chip{all:unset;cursor:pointer!important;position:relative!important;border-radius:14px!important;padding:8px 6px 8px 7px!important;display:grid!important;grid-template-columns:auto 1fr!important;column-gap:4px!important;align-items:center!important;box-shadow:0 3px 10px #0b5a2d12!important;min-width:0!important}
body .hd-chip .hd-ci{font-size:16px!important;grid-row:1!important}
body .hd-chip small{font-size:9.5px!important;color:#3d4f47!important;line-height:1.15!important}
body .hd-chip b{grid-column:1/3!important;font-size:12.5px!important;color:#16241d!important;margin-top:3px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
body .hd-chip em{position:absolute!important;right:5px!important;bottom:7px!important;font-style:normal!important;font-size:13px!important;color:#2563eb!important}
body .hd-chip.c1{background:linear-gradient(180deg,#f2fbf1,#e3f4e2)!important}
body .hd-chip.c1 em{color:#11692f!important}
body .hd-chip.c2{background:linear-gradient(180deg,#f0f6ff,#e1ecfd)!important}
body .hd-chip.c3{background:linear-gradient(180deg,#f6f1ff,#ebe2fb)!important}
body .hd-chip.c3 em{color:#7c3aed!important}
body .hd-chip.c4{background:linear-gradient(180deg,#fff2f6,#fbe1ea)!important}
body .hd-chip.c4 em{color:#db2777!important}
body .hd-msg{margin-bottom:10px!important}
body .hd-msg .hr-quote-mini{border:1.5px solid #f0d59a!important;background:linear-gradient(90deg,#fffaf0,#fdf2d7)!important;border-radius:16px!important}
body .hd-msg .hr-quote-mini b{color:#11692f!important;letter-spacing:.5px!important;text-transform:uppercase!important;font-size:12px!important}
body .hd-msg .hr-quote-mini-text>span{font-family:"Noto Serif","Times New Roman",serif!important;font-style:italic!important;font-weight:700!important;color:#16241d!important}
body .hd-tiles{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;margin-bottom:12px!important}
body .hd-tile{all:unset;cursor:pointer!important;position:relative!important;overflow:hidden!important;border-radius:16px!important;min-height:86px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:6px!important;box-shadow:0 4px 12px #0b5a2d14!important;border:1px solid #ffffffaa!important}
body .hd-ti{position:relative!important;z-index:1!important;width:40px!important;height:40px!important;display:flex!important;align-items:center!important;justify-content:center!important}
body .hd-ti svg{width:36px!important;height:36px!important}
body .hd-ti .hr-attention-count{position:absolute!important;top:-6px!important;right:-10px!important}
body .hd-tt{position:relative!important;z-index:1!important;font-size:13.5px!important;font-weight:800!important;color:#16241d!important;text-align:center!important;padding:0 4px!important;line-height:1.2!important}
body .hd-tbg{position:absolute!important;right:-6px!important;top:10px!important;opacity:.12!important;transform:scale(1.6)!important}
body .hd-tbg svg{width:40px!important;height:40px!important}
body .hd-tbg .hr-attention-count{display:none!important}
body .t-green{background:linear-gradient(160deg,#eefbee,#d9f2db)!important}
body .t-green .hd-ti{color:#16a34a!important}
body .t-orange{background:linear-gradient(160deg,#fff6ea,#fde5c7)!important}
body .t-orange .hd-ti{color:#f97316!important}
body .t-blue{background:linear-gradient(160deg,#eef6ff,#d8e8fd)!important}
body .t-blue .hd-ti{color:#2563eb!important}
body .t-purple{background:linear-gradient(160deg,#f5f0ff,#e4d8fb)!important}
body .t-purple .hd-ti{color:#8b5cf6!important}
body .t-teal{background:linear-gradient(160deg,#eefbf8,#d4f1ea)!important}
body .t-teal .hd-ti{color:#0f9b8e!important}
body .t-pink{background:linear-gradient(160deg,#fff0f6,#fbd8e7)!important}
body .t-pink .hd-ti{color:#db2777!important}
body .t-peach{background:linear-gradient(160deg,#fff4ea,#fde1c9)!important}
body .t-peach .hd-ti{color:#ea580c!important}
body .t-sky{background:linear-gradient(160deg,#eff7ff,#d6eafc)!important}
body .t-sky .hd-ti{color:#2f80ed!important}
body .t-lilac{background:linear-gradient(160deg,#f4f0ff,#e1d9fb)!important}
body .t-lilac .hd-ti{color:#7c3aed!important}
body .t-navy{background:linear-gradient(160deg,#eef1ff,#d9defb)!important}
body .t-navy .hd-ti{color:#1d2b6b!important}
body .hd-news{background:#fff!important;border-radius:18px!important;padding:10px 10px 6px!important;box-shadow:0 4px 12px #0b5a2d10!important;margin-bottom:10px!important}
body .hd-news-h{display:flex!important;justify-content:space-between!important;align-items:center!important;margin:0 2px 6px!important}
body .hd-news-h h3{margin:0!important;font-size:15.5px!important;color:#16241d!important}
body .hd-news-h button{all:unset;cursor:pointer!important;font-size:12px!important;color:#24342d!important}
body .hd-news-it{all:unset;cursor:pointer!important;display:flex!important;align-items:center!important;gap:10px!important;padding:8px 6px!important;border-top:1px solid #eef2ef!important;width:calc(100% - 12px)!important}
body .hd-news-it:first-of-type{border-top:0!important}
body .hd-ni{flex:none!important;width:36px!important;height:36px!important;border-radius:10px!important;background:#e8f1fd!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:18px!important}
body .hd-nt{flex:1!important;min-width:0!important}
body .hd-nt b{display:block!important;font-size:13px!important;color:#16241d!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
body .hd-nt small{font-size:11px!important;color:#5d6f69!important}
body .hd-new{background:#dc2626!important;color:#fff!important;border-radius:999px!important;font-size:10.5px!important;font-weight:800!important;padding:2px 8px!important}
body .hd-news-it em{font-style:normal!important;color:#6b7c75!important;font-size:18px!important}
body .hd-nav{background:#fff!important;border-radius:22px 22px 0 0!important;box-shadow:0 -6px 18px #0b5a2d14!important}
body .hd-nav button{position:relative!important}
body .hd-nav .hd-nav-ic{position:relative!important;display:inline-flex!important}
body .hd-nav .hd-nav-n{position:absolute!important;top:-6px!important;right:-10px!important;background:#dc2626!important;color:#fff!important;border-radius:999px!important;font-style:normal!important;font-size:10px!important;font-weight:800!important;min-width:16px!important;height:16px!important;padding:0 4px!important;display:flex!important;align-items:center!important;justify-content:center!important;border:2px solid #fff!important}
body .hd-nav button[aria-current=page]{background:linear-gradient(135deg,#1f9a49,#0f6f34)!important;color:#fff!important;border-radius:20px!important}
body .hd-more{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:8px!important;margin-top:8px!important}
body .hd-more-it{all:unset;cursor:pointer!important;display:flex!important;flex-direction:column!important;align-items:center!important;gap:5px!important;padding:10px 4px!important;border-radius:14px!important;background:#f4f8f5!important;font-size:12px!important;font-weight:700!important;text-align:center!important}
body .hd-more-it span{position:relative!important;color:#11692f!important}
body .hd-more-it svg{width:26px!important;height:26px!important}
body .hd-more-it .hr-attention-count{position:absolute!important;top:-6px!important;right:-12px!important}
@media(max-width:360px){.hd-chips{grid-template-columns:repeat(2,1fr)}}

body .hd-greet .hd-avatar{display:flex!important}body .hd-greet .hd-hello{display:grid!important}
body .hd-greet{margin:-14px 0 10px!important}
body .hr-home-header .hr-mobile-brand span{white-space:nowrap!important;font-size:20px!important}body .hr-home-header .hr-mobile-brand small{font-size:11px!important}
body .hd-nav button span:last-child{white-space:nowrap!important;font-size:11px!important}body .hd-nav button{padding:6px 2px!important;min-width:0!important}
body .hd-news-it{width:100%!important;box-sizing:border-box!important}
body .hd-chips .hd-chip{min-height:58px!important}
body .hd-hero{background-color:#e6f1f3!important;background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important;padding-top:17.8%!important;height:0!important}
body .hd-ti svg.hr-ico,body .hd-ti .hr-ico{width:34px!important;height:34px!important;flex:0 0 34px!important;stroke-width:1.9}
body .hd-tbg svg.hr-ico{width:42px!important;height:42px!important;flex:0 0 42px!important}body .hd-tbg{opacity:.09!important}
body .hd-more-it .hr-ico{width:26px!important;height:26px!important;flex:0 0 26px!important}
body .hd-hello b{font-size:16px!important}body .hd-hello small,body .hd-hello span{font-size:11px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;display:block!important}
body .hd-greet .hd-avatar{width:56px!important;height:56px!important;font-size:22px!important}
body .hd-date{padding:6px 8px!important;gap:5px!important}body .hd-date>span{font-size:20px!important}body .hd-date b{font-size:11.5px!important}body .hd-date small{font-size:11px!important}
body .hd-chip b{font-size:11.5px!important}body .hd-chip small{font-size:9px!important}
body .hd-nav button[aria-current=page]{padding:6px 8px!important}body .hd-nav button span:last-child{font-size:10.5px!important}
body .hd-nav .hr-ico{width:22px!important;height:22px!important;flex:0 0 22px!important}
body .hd-hello small{white-space:normal!important}body .hd-hello span{white-space:normal!important;line-height:1.3!important}
.gd-net{margin-top:8px;background:#fff8ec;border:1.5px dashed #e8b66a;border-radius:12px;padding:10px;font-size:14px;text-align:center}.gd-net b{color:#8a5413;font-size:16px}dialog .gd-cam2{height:150px;margin-bottom:8px}
/* rc.48 – Kiểm tra xe đổ củi · XE RA theo mẫu */
dialog.wd-dlg{max-width:430px!important;border-radius:22px!important;background:#f4f8f4!important;padding:14px!important}
.wd-dlg h2,.wd-dlg .hr-dialog-title{font-size:17px!important}
.wd-sum{display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;gap:10px;background:linear-gradient(180deg,#eef8ea,#e2f2dc);border:1px solid #cfe7c7;border-radius:16px;padding:10px 12px;margin-bottom:10px}
.wd-sum>i,.wd-sec h4 i{display:inline-flex;align-items:center;justify-content:center;color:#11692f}.wd-sum>i{width:38px;height:38px;border-radius:12px;background:#d4ecd0}.wd-sum>i svg{width:24px;height:24px}
.wd-car b{display:block;font-size:16px;color:#16241d}.wd-car small{font-size:11.5px;color:#5d6f69}
.wd-in{border-left:1px solid #c5ddc0;padding-left:10px}.wd-in small{display:block;font-size:11px;color:#3e5c4a}.wd-in b{font-size:15px;color:#16241d}
.wd-badge{background:#c9ecc5;color:#11692f;font-size:11px;font-weight:800;border-radius:999px;padding:4px 9px;white-space:nowrap}
.wd-sec{background:#fff;border-radius:16px;padding:10px 10px 12px;margin-bottom:10px;box-shadow:0 3px 10px #0b5a2d0d}
.wd-sec h4{display:flex;align-items:center;gap:7px;margin:0 0 8px;font-size:13.5px;color:#16241d}.wd-sec h4 svg{width:19px;height:19px}.wd-sec h4 em{color:#dc2626;font-style:normal}
.wd-shot{display:grid;grid-template-columns:1fr 64px;gap:10px;align-items:center}
.wd-img{position:relative;display:flex!important;align-items:center;justify-content:center;height:118px;border-radius:12px;overflow:hidden;background:#eef3ef;border:1.5px dashed #b9d3c1;cursor:pointer;color:#5d6f69;font-size:12.5px;font-weight:700}
.wd-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.wd-img:has(img){border-style:solid;border-color:#e2ece5}
.wd-cam{display:flex!important;flex-direction:column;align-items:center;gap:4px;background:#f1f8f1;border:1px solid #d6e9d4;border-radius:14px;padding:10px 4px;cursor:pointer;color:#11692f}.wd-cam svg{width:24px;height:24px}.wd-cam b{font-size:11.5px;color:#16241d}
.wd-step{display:grid;grid-template-columns:1fr 36px 36px;gap:6px;align-items:center;border:1.5px solid #cfe3d4;border-radius:12px;padding:5px 6px 5px 12px}
.wd-step input{border:0!important;outline:0;font-size:18px;font-weight:700;padding:4px 0!important;min-height:0!important;background:none;width:100%}
.wd-step button{all:unset;cursor:pointer;width:34px;height:34px;border-radius:9px;background:#eef3ef;text-align:center;line-height:34px;font-size:20px;font-weight:800;color:#16241d}
.wd-net{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;background:linear-gradient(180deg,#fffaf0,#fdf0d5);border:1.5px solid #f0d59a;border-radius:16px;padding:10px 12px}
.wd-coin{font-size:28px;width:44px;height:44px;border-radius:50%;background:#fde7b5;display:flex;align-items:center;justify-content:center}
.wd-net small{display:block;font-size:12px;font-weight:700;color:#16241d}.wd-net b{font-size:12px;color:#8a5413}
.wd-net strong{background:linear-gradient(135deg,#1f9a49,#0f6f34);color:#fff;border-radius:999px;padding:8px 14px;font-size:19px;white-space:nowrap}.wd-net strong.bad{background:#dc2626;font-size:13px}
.wd-dlg .hr-actions,.wd-dlg form>footer{gap:10px}
.wd-car b{white-space:nowrap!important;font-size:15px!important}.wd-sum{grid-template-columns:auto minmax(0,1fr) auto auto!important;gap:8px!important}.wd-img{height:104px!important}.wd-sec{padding-bottom:10px!important}
body .t-wood{background:linear-gradient(160deg,#fff6e8,#f6dfbd)!important}body .t-wood .hd-ti{color:#8a5413!important}
/* 4.58.1-rc.50: Trang chủ "Giá trị cốt lõi SACHI" */
.hr-home-header .hd-hdate{margin-left:auto!important;display:flex!important;align-items:center!important;gap:6px!important;background:linear-gradient(180deg,#f3fbf1,#e3f3df)!important;border-radius:14px!important;padding:5px 9px!important;box-shadow:0 2px 6px #0b5a2d1f!important}
.hr-home-header .hd-hdate+.hd-search{margin-left:6px!important}
.hr-home-header .hd-hdate b{display:block!important;font-size:11.5px!important;line-height:1.25!important;color:#16241d!important;font-weight:800!important}
.hr-home-header .hd-cal{width:26px!important;height:26px!important;border-radius:6px!important;background:#fff!important;border-top:6px solid #e5484d!important;font-size:11px!important;font-weight:900!important;color:#334!important;display:flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important}
.hr-home-header.hd-ov .hd-search,.hr-home-header.hd-ov .hr-home-bell,.hr-home-header.hd-ov .hd-me{display:none!important}
body .hd-hero.hd-values{padding-top:28.2%!important;background-position:center!important}
body .hd-hello b u{text-decoration:none!important;color:#11692f!important}
body .hd-gc{display:flex!important;flex-wrap:wrap!important;gap:5px!important;margin:5px 0 3px!important;grid-column:1!important;white-space:normal!important}
body .hd-gc i{font-style:normal!important;background:#e4f4e3!important;color:#1d3a2a!important;border-radius:999px!important;padding:2px 9px!important;font-size:10.5px!important;font-weight:600!important;white-space:nowrap!important}
body .hd-hello .hd-wish{white-space:normal!important;line-height:1.3!important;font-size:11px!important}
body .hd-foot{height:0!important;padding-top:20%!important;margin:12px -14px 0!important;background-size:cover!important;background-position:center top!important}
/* 4.58.1-rc.51: SACHI BIRTHDAY */
.bd-pop{position:fixed;inset:0;z-index:100000;background:rgba(10,30,18,.62);display:flex;align-items:center;justify-content:center;padding:10px;animation:bdIn .25s ease-out}
.bd-pop.bd-out{opacity:0;transition:opacity .2s}
@keyframes bdIn{from{opacity:0}to{opacity:1}}
.bd-card{--cw:min(94vw,440px);width:var(--cw);max-height:96vh;overflow-y:auto;overflow-x:hidden;position:relative;border-radius:calc(var(--cw)*.05);background:linear-gradient(180deg,#fffdf6 0%,#fff8ea 60%,#fff 100%);box-shadow:0 18px 50px #0006;border:2px solid #4ea21d;font-family:"Be Vietnam Pro",Inter,Arial,sans-serif;color:#16241d;padding-bottom:calc(var(--cw)*.05);animation:bdPop .35s cubic-bezier(.2,.9,.3,1.2)}
@keyframes bdPop{from{transform:scale(.9)}to{transform:none}}
.bd-t-sunrise{background:linear-gradient(180deg,#fff9ef,#ffeeda 60%,#fff)}.bd-t-lotus{background:linear-gradient(180deg,#fffafc,#ffeef3 60%,#fff)}.bd-t-harvest{background:linear-gradient(180deg,#fffcef,#fff3cf 60%,#fff)}
.bd-banner{height:calc(var(--cw)*.333);background-size:100% auto;background-repeat:no-repeat;background-position:top center;position:relative}
.bd-x{all:unset;cursor:pointer;position:absolute;right:calc(var(--cw)*.022);top:calc(var(--cw)*.029);width:calc(var(--cw)*.07);height:calc(var(--cw)*.07);border-radius:50%;background:#fff;box-shadow:0 2px 8px #0003;display:flex;align-items:center;justify-content:center;font-size:calc(var(--cw)*.06);color:#333;line-height:1}
.bd-photo{position:absolute;left:calc(var(--cw)*.075);top:calc(var(--cw)*.292);width:calc(var(--cw)*.30);height:calc(var(--cw)*.30);border-radius:50%;border:calc(var(--cw)*.012) solid #fff;box-shadow:0 4px 14px #0b5a2d33;background:#dff1e4;overflow:hidden;display:flex;align-items:center;justify-content:center;box-sizing:border-box;z-index:2}
.bd-photo img{width:100%;height:100%;object-fit:cover}.bd-photo span{font-size:calc(var(--cw)*.13);font-weight:900;color:#11692f}
.bd-info{margin:calc(var(--cw)*.02) calc(var(--cw)*.2) 0 calc(var(--cw)*.42);min-height:calc(var(--cw)*.2)}
.bd-info small{display:block;font-style:italic;font-size:calc(var(--cw)*.034);color:#24342d}
.bd-info b{display:block;font-size:calc(var(--cw)*.054);font-weight:900;color:#11692f;line-height:1.15;margin:2px 0 4px}
.bd-info span{display:block;font-size:calc(var(--cw)*.03);color:#24342d}
.bd-date{position:absolute;right:calc(var(--cw)*.05);top:calc(var(--cw)*.39);width:calc(var(--cw)*.14);height:calc(var(--cw)*.115);border-radius:12px;background:#ffe3ea;border-top:calc(var(--cw)*.022) solid #ef5d84;display:flex;align-items:center;justify-content:center;box-shadow:0 3px 8px #d9466a33;transform:rotate(3deg);box-sizing:border-box}
.bd-date b{font-size:calc(var(--cw)*.042);font-weight:900;color:#b4234a}
.bd-low{position:relative;margin-top:calc(var(--cw)*.05);min-height:calc(var(--cw)*.28)}
.bd-cake{position:absolute;left:-2px;bottom:calc(var(--cw)*-.05);width:calc(var(--cw)*.3);-webkit-mask:radial-gradient(closest-side,#000 62%,transparent 100%);mask:radial-gradient(closest-side,#000 62%,transparent 100%);pointer-events:none}
.bd-gift{position:absolute;right:-2px;bottom:calc(var(--cw)*-.05);width:calc(var(--cw)*.2);-webkit-mask:radial-gradient(closest-side,#000 62%,transparent 100%);mask:radial-gradient(closest-side,#000 62%,transparent 100%);pointer-events:none}
.bd-wish{position:relative;z-index:1;margin:0 calc(var(--cw)*.17) 0 calc(var(--cw)*.28);background:#fffaf0;border:1px solid #f1dfbf;border-radius:16px;padding:calc(var(--cw)*.03) calc(var(--cw)*.035);transform:rotate(-2deg);box-shadow:0 4px 12px #8a54131a;font-family:"Segoe Print","Bradley Hand","Comic Sans MS",cursive;font-style:italic;font-size:calc(var(--cw)*.034);line-height:1.5;text-align:center;color:#24342d}
.bd-wish span{color:#e5484d;font-style:normal;font-size:1.3em}
.bd-closing{position:relative;z-index:1;margin:calc(var(--cw)*.06) calc(var(--cw)*.12) 0;background:linear-gradient(90deg,transparent,#fff6e0 15%,#fff6e0 85%,transparent);text-align:center;font-weight:800;font-style:italic;color:#11692f;font-size:calc(var(--cw)*.042);line-height:1.35;padding:calc(var(--cw)*.015) calc(var(--cw)*.03)}
.bd-ok{all:unset;cursor:pointer;position:relative;z-index:1;display:block;box-sizing:border-box;margin:calc(var(--cw)*.04) auto 0;width:68%;text-align:center;background:linear-gradient(180deg,#2f9a3c,#11692f);color:#fff;font-weight:900;font-size:calc(var(--cw)*.045);padding:calc(var(--cw)*.03);border-radius:999px;box-shadow:0 6px 14px #11692f55;border:3px solid #fff}
.bd-ok em{font-style:normal;margin-left:8px}.bd-ok:focus{outline:none}
.bd-prev{position:absolute;left:50%;top:6px;transform:translateX(-50%);background:#f5b301;color:#3a2500;font-size:11px;font-weight:900;border-radius:999px;padding:2px 10px;z-index:3}
.bd-confetti{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:4}
.bd-confetti i{position:absolute;top:-14px;width:7px;height:12px;border-radius:2px;opacity:.9;animation:bdFall 3.4s ease-in forwards}
@keyframes bdFall{to{transform:translateY(120vh) rotate(540deg);opacity:.2}}
@media (prefers-reduced-motion:reduce){.bd-confetti{display:none}.bd-card,.bd-pop{animation:none}}
.bd-peer{border:1px solid #e3ece6;border-radius:12px;padding:8px 10px;margin:0 0 10px}.bd-peer textarea{width:100%;box-sizing:border-box}
.bd-quick{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0}.bd-quick button{all:unset;cursor:pointer;font-size:12px;background:#eef7ee;border-radius:10px;padding:4px 8px;color:#1d3a2a}
.bd-msg{border-top:1px solid #eef2ef;padding:8px 0}.bd-msg p{margin:4px 0 0}.bd-opt{display:flex;gap:6px;align-items:center;margin-top:10px}
.bd-wgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}.bd-wgrid textarea{width:100%;box-sizing:border-box;font-size:13px}
.bd-themes{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:10px;margin-bottom:12px}.bd-th{border:1px solid #e3ece6;border-radius:12px;padding:10px;display:grid;gap:6px}.bd-th input[type=url]{width:100%;box-sizing:border-box}
.bd-sw{height:26px;border-radius:8px;border:1px solid #eadfca}
/* 4.58.1-rc.54: Xe liên ca */
.gd-shift{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:8px 0}
.gd-shift div{background:#fff;border-radius:12px;padding:7px 6px;text-align:center;font-size:11px;color:#4d6158;box-shadow:0 1px 4px #0b5a2d14}
.gd-shift div:nth-child(1){background:#fff4e5}.gd-shift div:nth-child(2){background:#e8f1fd}.gd-shift div:nth-child(3){background:#e8f6ec}
.gd-shift b{display:block;font-size:20px;color:#16241d;line-height:1.1}
.gl-shift{grid-template-columns:repeat(3,minmax(0,180px))}.gl-shift p{grid-column:1/-1;margin:0;font-size:12px;color:#4d6158}
.gd-duty{font-size:12px;border-radius:10px;padding:7px 10px;margin:0 0 8px;background:#e8f6ec;color:#11692f}.gd-duty.off{background:#fdecec;color:#9b1c1c}
.gd-h-carry{color:#b45309!important}.gd-h small{display:block;font-weight:500;font-size:11px;color:#7c6a55}
.gd-it.carry{border-left:4px solid #f59e0b;background:#fffaf0}
.gd-tk{font-weight:800;color:#11692f;font-size:11px}.gd-tag{background:#f59e0b;color:#fff;border-radius:999px;padding:0 6px;font-size:10px;font-weight:700}
.gd-hand{display:block;font-size:11px;color:#4d6158;margin-top:2px}
.gd-ev{all:unset;cursor:pointer;font-size:11px;color:#2563eb;margin-top:3px;display:inline-block}
.gd-lock{font-size:11px;color:#9b1c1c;font-weight:700;white-space:nowrap}
.gd-evl{list-style:none;padding:0;margin:0;border-left:3px solid #d6e5da}.gd-evl li{position:relative;padding:4px 0 10px 14px}.gd-evl li:before{content:"";position:absolute;left:-7px;top:8px;width:11px;height:11px;border-radius:50%;background:#11692f}
.gd-evl li.carry:before{background:#f59e0b}.gd-evl li.exit:before{background:#2563eb}.gd-evl b,.gd-evl small,.gd-evl span{display:block}.gd-evl small{color:#5d6f69;font-size:12px}.gd-evl span{font-size:12px}
body .gd-it .gd-ev,body .gl-card .gl-btns .gd-ev{all:unset!important;cursor:pointer!important;display:inline-block!important;font-size:11px!important;color:#2563eb!important;font-weight:700!important;margin-top:3px!important;padding:0!important;min-height:0!important;box-shadow:none!important;background:none!important}
.gl-shiftlog{margin:6px 0 10px;font-size:12px}.gl-shiftlog summary{cursor:pointer;font-weight:700;color:#11692f}.gl-shiftlog ul{margin:6px 0 0;padding-left:18px}
/* 4.58.1-rc.55: Xin ra ngoài giữa ca */
.ps-form{display:grid;gap:10px;background:#f6faf7;border-radius:14px;padding:12px;margin:10px 0}.ps-form textarea,.ps-form input{width:100%;box-sizing:border-box}
.ps-two{display:grid;grid-template-columns:1fr 1fr;gap:10px}
body .ps-send,body .ps-go,body .ps-in{font-weight:900!important;letter-spacing:.3px}
body .ps-go{background:#11692f!important;color:#fff!important;border-color:#11692f!important}body .ps-in{background:#2563eb!important;color:#fff!important;border-color:#2563eb!important}
.ps-busy{background:#fff7e6;border:1px solid #f5d6a0;border-radius:12px;padding:10px;margin:10px 0;font-size:13px}
.ps-card{display:flex;gap:10px;background:#fff;border:1px solid #e3ece6;border-radius:14px;padding:10px;margin:8px 0;box-shadow:0 1px 4px #0b5a2d10}
.ps-card.ps-out{border-left:4px solid #2563eb}.ps-card.late{border-left:4px solid #e5484d;background:#fff6f6}.ps-card.ps-approved{border-left:4px solid #11692f}
.ps-ph{flex:none;width:58px;height:72px;border-radius:10px;background:#eef4f0;display:flex;align-items:center;justify-content:center;font-size:26px;overflow:hidden}.ps-ph img{width:100%;height:100%;object-fit:cover}
.ps-main{flex:1;min-width:0}.ps-top{display:flex;justify-content:space-between;gap:6px;align-items:flex-start}.ps-top b,.ps-top small{display:block}.ps-top small{font-size:11px;color:#5d6f69}
.ps-reason{margin:4px 0;font-size:13px}.ps-times{display:flex;flex-wrap:wrap;gap:4px 10px;font-size:12px;color:#24342d}
.ps-late{color:#b45309;font-weight:800}.ps-late.hot{color:#c81e1e}
.ps-meta{display:block;font-size:11px;color:#5d6f69;margin-top:3px}.ps-act{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:6px}
.ps-gate{margin:6px 0 10px}
.ps-who{min-width:0}.ps-top .hr-badge{flex:none;white-space:nowrap}
body .ps-act .gd-ev{all:unset!important;cursor:pointer!important;font-size:12px!important;color:#2563eb!important;font-weight:700!important;padding:4px 2px!important}
/* 4.58.1-rc.56: chấm công nhiều lượt */
body .sc2-away{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:2px!important;width:100%!important;box-sizing:border-box!important;margin-top:8px!important;padding:10px 14px!important;border-radius:14px!important;background:#fff7e6!important;border:1px solid #f5d6a0!important;color:#7a4a00!important;text-align:left!important;font-size:14px!important}
body .sc2-away small{font-size:11px!important;color:#8a6a3a!important;font-weight:500!important}
body .sc2-away.back{background:#e8f1fd!important;border-color:#b9d1f7!important;color:#1d4ed8!important}
.hx-away{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:4px 8px;font-size:11px;color:#7a4a00;background:#fff7e6;border-radius:8px;padding:4px 8px;margin-top:4px}.hx-away small{color:#9b1c1c;font-weight:700}
/* 4.58.1-rc.57: đối chiếu cổng */
.rc-kpi{grid-template-columns:repeat(3,1fr)}
.rc-item{border:1px solid #f1d3d3;background:#fffafa;border-radius:12px;padding:10px;margin:8px 0}.rc-item.done{border-color:#d6e5da;background:#f7fbf8;opacity:.85}
.rc-grid{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:12px;margin:6px 0}.rc-iss{margin:4px 0 6px;padding-left:4px;list-style:none;font-size:12.5px;color:#9b1c1c}
.rc-all{font-size:12px;display:flex;gap:4px;align-items:center}
/* 4.58.1-rc.58: Bảo vệ – Kiểm soát cổng 7 mục */
.gd-secs{display:flex;gap:6px;overflow-x:auto;padding:8px 0 4px;margin:0 -2px;scrollbar-width:none}.gd-secs::-webkit-scrollbar{display:none}
body .gd-secs button{all:unset;cursor:pointer;flex:none;font-size:12px;font-weight:700;color:#1d3a2a;background:#fff;border:1px solid #d6e5da;border-radius:999px;padding:6px 11px;white-space:nowrap}
body .gd-secs button.on{background:#11692f;color:#fff;border-color:#11692f}
.gd-secs i{font-style:normal;background:#f59e0b;color:#fff;border-radius:999px;padding:0 6px;margin-left:3px;font-size:10px}.gd-secs i.hot{background:#e5484d}
.gd-shift6{grid-template-columns:repeat(3,1fr)}.gd-shift6 div{cursor:pointer}.gd-shift6 div:nth-child(4){background:#eefaf0}.gd-shift6 div:nth-child(5){background:#eef2ff}.gd-shift6 div:nth-child(6){background:#f6f6f6}.gd-shift6 div.hot{background:#fdecec;color:#9b1c1c}
.gd-quick{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:8px 0}
body .gd-quick button{all:unset;cursor:pointer;background:#fff;border:1px solid #e3ece6;border-radius:14px;padding:12px 6px;text-align:center;font-size:12px;font-weight:700;color:#1d3a2a;box-shadow:0 1px 4px #0b5a2d10;display:flex;flex-direction:column;gap:4px;align-items:center}
.gd-quick button span{font-size:22px}
.gd-slog{font-size:12px;padding-left:18px;margin:4px 0}.gd-search{margin:6px 0}
/* 4.58.1-rc.59 */
body .em-btn{display:block!important;width:100%!important;box-sizing:border-box!important;margin:6px 0 10px!important;background:#fff1f1!important;border:1px solid #f3b4b4!important;color:#b42318!important;font-weight:900!important}
.ps-card.em{border-left:4px solid #e5484d;position:relative}.em-tag{position:absolute;right:8px;bottom:8px;font-size:10px;font-weight:900;color:#b42318}
.em-card{margin:6px 0}.hr-away-review{background:#fff7e6;border:1px solid #f5d6a0;border-radius:10px;padding:8px 10px;margin:8px 0;font-size:13px}.hr-away-review ul{margin:4px 0;padding-left:18px}
.ps-card.em .em-tag{position:static;display:block;margin:0 0 4px;font-size:11px}.ps-card.em{flex-wrap:wrap}
/* 4.58.1-rc.60: Màu trạng thái nhân viên (thay quy định cũ) */
:root{--es-probation:#D97706;--es-official:#16A34A;--es-resigned:#DC2626}
.es-wrap{white-space:nowrap;display:inline}
.es-code{font-weight:800!important}
.es-code.es-probation{color:var(--es-probation)!important}.es-code.es-official{color:var(--es-official)!important}.es-code.es-resigned{color:var(--es-resigned)!important}
.es-tag{display:inline-block;margin-left:4px;padding:0 6px;border-radius:999px;font-size:.72em!important;font-weight:800!important;line-height:1.55;vertical-align:1px;color:#fff!important;letter-spacing:.2px}
.es-tag.es-probation{background:var(--es-probation)}.es-tag.es-official{background:var(--es-official)}.es-tag.es-resigned{background:var(--es-resigned)}
.es-sum{display:grid;grid-template-columns:repeat(3,minmax(0,160px));gap:8px;margin:8px 0}.es-sum div{border-radius:12px;padding:8px 10px;color:#fff;font-size:12px;font-weight:700}.es-sum b{display:block;font-size:20px}
.es-sum .es-probation{background:var(--es-probation)}.es-sum .es-official{background:var(--es-official)}.es-sum .es-resigned{background:var(--es-resigned)}
.es-warn{background:#fff7e6;border:1px solid #f5d6a0;border-radius:10px;padding:8px 10px;margin:6px 0;font-size:13px}
.es-box{background:#f8faf9;border:1px solid #e3ece6;border-radius:10px;padding:8px 10px;margin:6px 0}
/* 4.58.1-rc.61: Quản lý Wi-Fi & IP chấm công */
.wf{font-size:13px}
.wf-hd{display:flex;gap:12px;align-items:center;background:linear-gradient(135deg,#eaf7e7,#fff);border-radius:18px;padding:12px 14px;box-shadow:0 2px 8px #0b5a2d14}
.wf-hd-ic{flex:none;width:52px;height:52px;border-radius:50%;background:linear-gradient(180deg,#3aa33d,#11692f);color:#fff;display:flex;align-items:center;justify-content:center}.wf-hd-ic svg{width:30px;height:30px}
.wf-hd h2{margin:0;font-size:18px;font-weight:900;color:#11692f}.wf-hd p{margin:2px 0;font-size:12px;color:#24342d}.wf-hd small{font-size:11px;color:#5d6f69}
.wf-stats{display:grid;grid-template-columns:1fr 1fr 1.35fr;gap:8px;margin:10px 0}
.wf-stats>div{display:flex;gap:8px;align-items:center;background:#fff;border-radius:14px;padding:9px;box-shadow:0 1px 5px #0b5a2d14}
.wf-stats i{flex:none;width:34px;height:34px;border-radius:50%;background:#e3f4e2;color:#11692f;display:flex;align-items:center;justify-content:center;font-style:normal;font-weight:900}.wf-stats i svg{width:20px;height:20px}
.wf-stats span{font-size:10.5px;color:#4d6158;line-height:1.2}.wf-stats b{display:block;font-size:17px;color:#16241d;margin-top:2px}.wf-stats>div:nth-child(3) b{font-size:12.5px}
.wf-remind{display:flex;gap:10px;align-items:center;background:#fff;border-radius:14px;padding:10px 12px;box-shadow:0 1px 5px #0b5a2d14}.wf-cal{font-size:26px}
.wf-remind div{flex:1}.wf-remind b{display:block;color:#11692f;font-size:14px}.wf-remind small{display:block;color:#4d6158}.wf-remind em{font-style:normal;color:#dc2626;font-weight:800;font-size:12px}
.wf-pill{display:inline-block;border-radius:999px;padding:2px 9px;font-size:10.5px;font-weight:800;white-space:nowrap;background:#eef2ef;color:#5d6f69}
.wf-pill.ok{background:#dcfce7;color:#15803d}.wf-pill.due{background:#fef3c7;color:#b45309}.wf-pill.bad{background:#fee2e2;color:#b91c1c}.wf-pill.muted{background:#eef2f5;color:#64748b}
.wf-tabs{display:flex;gap:6px;overflow-x:auto;margin:10px 0;scrollbar-width:none}.wf-tabs::-webkit-scrollbar{display:none}
body .wf-tabs button{all:unset;cursor:pointer;flex:none;font-size:12px;font-weight:800;padding:8px 12px;border-radius:12px;background:#fff;border:1px solid #d6e5da;color:#1d3a2a}
body .wf-tabs button.on{background:#11692f;color:#fff;border-color:#11692f}
.wf-list{background:#fff;border-radius:16px;box-shadow:0 1px 5px #0b5a2d14;overflow:hidden}
body .wf-row{all:unset;box-sizing:border-box;cursor:pointer;display:grid;grid-template-columns:30px 1.1fr 1.5fr 1.1fr 10px;gap:8px;align-items:center;width:100%;padding:10px 10px;border-bottom:1px solid #eef2ef}
body .wf-row.off{opacity:.5}
.wf-ic{color:#9aa7a1}.wf-ic svg{width:24px;height:24px}.wf-ic.ok{color:#16a34a}.wf-ic.due{color:#d97706}.wf-ic.bad{color:#dc2626}
.wf-name b{display:block;font-size:13px;color:#16241d}.wf-name small,.wf-ip small,.wf-up small{display:block;font-size:10.5px;color:#4d6158;line-height:1.4}
.wf-ip{border-left:1px solid #eef2ef;padding-left:8px}.wf-ip em{font-style:normal;background:#e0ecfd;color:#1d4ed8;border-radius:999px;padding:0 6px;font-weight:700}
.wf-chev{color:#9aa7a1;font-size:18px}
.wf-actions{display:grid;grid-template-columns:1fr 1.3fr;gap:8px;margin:10px 0}
body .wf-btn1{background:linear-gradient(180deg,#2f9a3c,#11692f)!important;color:#fff!important;border:0!important;font-weight:900!important;border-radius:14px!important;padding:12px!important}
body .wf-btn2{background:#fff!important;color:#11692f!important;border:1.5px solid #11692f!important;font-weight:900!important;border-radius:14px!important;padding:12px!important}
body .wf-big{all:unset;cursor:pointer;display:block;box-sizing:border-box;width:100%;text-align:center;padding:18px;border-radius:18px;background:linear-gradient(180deg,#2f9a3c,#11692f);color:#fff;font-size:18px;font-weight:900;letter-spacing:.5px;box-shadow:0 6px 14px #11692f40;margin:8px 0}
.wf-det{background:#f3fbf1;border:1px solid #cfe7c4;border-radius:14px;padding:10px 12px;margin:8px 0;display:grid;gap:8px}.wf-det>b{font-size:22px;color:#11692f}
.wf-cmp{display:flex;flex-wrap:wrap;gap:6px 12px;font-size:12px}.wf-chk{display:flex;gap:6px;align-items:flex-start}
.wf-prog{background:#fff;border-radius:14px;padding:10px 12px;box-shadow:0 1px 5px #0b5a2d14;display:grid;gap:6px}.wf-bar{height:8px;border-radius:99px;background:#eef2ef;overflow:hidden}.wf-bar i{display:block;height:100%;background:#16a34a}
.wf-mini{padding:5px 0;border-bottom:1px solid #eef2ef}
.wf-h{background:#fff;border-radius:12px;padding:8px 10px;margin:6px 0;box-shadow:0 1px 4px #0b5a2d10;display:grid;gap:2px}.wf-h small{color:#4d6158}
.wf-set{background:#fff;border-radius:14px;padding:12px;display:grid;gap:8px}
@media(max-width:380px){body .wf-row{grid-template-columns:26px 1fr 1.3fr 10px}.wf-up{grid-column:2/4}}

/* RC64 — mobile dashboard visual refresh; CSS-only, scoped to employee compact app. */
@media (max-width: 760px) {
 .hr-staff-compact{--hr-green:#087d3d;--hr-ink:#17372b;--hr-line:#e5eee9;background:#f4faf7!important;color:#17372b;-webkit-font-smoothing:antialiased}
 .hr-staff-compact .hr-home-header{padding:12px 16px!important;background:linear-gradient(110deg,#ffffff 40%,#e9f7e9 100%)!important;border-bottom:1px solid #e1efe5}
 .hr-staff-compact .hr-home-header .hr-mobile-brand img{max-height:39px!important;height:39px!important;object-fit:contain}
 .hr-staff-compact .hr-home-header .hr-mobile-brand>span{font-size:16px!important;line-height:1.18!important;letter-spacing:0!important}
 .hr-staff-compact .hr-home-header .hr-mobile-brand small{font-size:10px!important;line-height:1.3!important}
 .hr-staff-compact .hr-home-greet{margin:12px 2px 12px!important}
 .hr-staff-compact .hr-home-greet h2{font-size:19px!important;font-weight:750!important;letter-spacing:-.35px}
 .hr-staff-compact .hr-home-greet p{font-size:12px!important}
 .hr-staff-compact .hr-home-quote{border-radius:18px!important;box-shadow:0 5px 18px #145d3020!important;margin-bottom:12px!important}
 .hr-staff-compact .hr-home-quote-slide{min-height:190px!important}
 .hr-staff-compact .hr-home-quote-body{padding:32px 18px 32px!important;gap:6px!important}
 .hr-staff-compact .hr-home-quote blockquote{font-size:18px!important;line-height:1.36!important}
 .hr-staff-compact .hr-home-quote-value{font-size:11px!important;padding:3px 12px!important}
 .hr-staff-compact .hr-home-tiles{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important;margin:12px 0!important}
 .hr-staff-compact .hr-home-tile{min-height:112px!important;border:1px solid #e4eee9!important;border-radius:17px!important;padding:15px 7px 11px!important;gap:9px!important;background:#fff!important;box-shadow:0 4px 14px #155a3010!important;font-size:12px!important;line-height:1.3!important;overflow-wrap:anywhere;touch-action:manipulation}
 .hr-staff-compact .hr-home-tile:nth-child(6n+1){background:linear-gradient(145deg,#f1f6ff,#fff)!important}
 .hr-staff-compact .hr-home-tile:nth-child(6n+2){background:linear-gradient(145deg,#fff7e9,#fff)!important}
 .hr-staff-compact .hr-home-tile:nth-child(6n+3){background:linear-gradient(145deg,#edfbf1,#fff)!important}
 .hr-staff-compact .hr-home-tile:nth-child(6n+4){background:linear-gradient(145deg,#eafaf1,#fff)!important}
 .hr-staff-compact .hr-home-tile:nth-child(6n+5){background:linear-gradient(145deg,#edf6ff,#fff)!important}
 .hr-staff-compact .hr-home-tile:nth-child(6n){background:linear-gradient(145deg,#f5edff,#fff)!important}
 .hr-staff-compact .hr-home-tile-icon{width:40px;height:40px;border-radius:13px;background:#e5f6e9;display:grid;place-items:center;color:#078a43}
 .hr-staff-compact .hr-home-tile-icon .hr-ico{width:25px!important;height:25px!important}
 .hr-staff-compact .hr-home-rows{gap:9px!important}
 .hr-staff-compact .hr-home-row{border-radius:15px!important;box-shadow:0 3px 12px #155a300d!important}
 .hr-staff-compact .hr-mobile-app-nav{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:2px!important;padding:7px 5px calc(8px + env(safe-area-inset-bottom,0px))!important;box-shadow:0 -5px 22px #154b2610}
 .hr-staff-compact .hr-mobile-app-nav button{font-size:10px!important;min-width:0!important;padding:7px 2px!important;min-height:55px!important;touch-action:manipulation}
 .hr-staff-compact .hr-mobile-app-nav button[aria-current=page]{background:linear-gradient(145deg,#16a65a,#067b3b)!important;color:#fff!important;border-radius:14px!important}
 .hr-staff-compact button:focus-visible{outline:3px solid #2ab66a!important;outline-offset:2px}
}

/* RC65: Compact mobile gate-log filters; other gate controls remain unchanged. */
.gd-log .gl-filter{margin:10px 0 12px;min-width:0}
.gd-log .gl-filter-main{display:flex;align-items:flex-start;flex-wrap:wrap;gap:7px}
.gd-log .gl-filter-main>.gd-chip{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:8px 13px;font-size:12px;line-height:1.2;white-space:nowrap;border-radius:12px}
.gd-log .gl-filter-main>.gd-chip.on,.gd-log .gl-filter-options .gd-chip.on{background:#087b39;color:#fff;border-color:#087b39}
.gd-log .gl-filter-more{flex:1 1 120px;min-width:0;position:relative}
.gd-log .gl-filter-toggle{list-style:none;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:36px;padding:8px 11px;border:1px solid #cadfd3;border-radius:12px;background:#f7fbf8;color:#174d32;font-size:12px;font-weight:750;cursor:pointer;line-height:1.25}
.gd-log .gl-filter-toggle::-webkit-details-marker{display:none}
.gd-log .gl-filter-toggle span{margin-left:auto;font-size:14px}
.gd-log .gl-filter-options{display:flex;flex-wrap:wrap;gap:6px;padding:9px;margin-top:7px;background:#f7fbf8;border:1px solid #e0ece4;border-radius:12px}
.gd-log .gl-filter-options .gd-chip{box-sizing:border-box;display:inline-flex;align-items:center;min-height:32px;padding:7px 10px;font-size:11.5px;line-height:1.25;white-space:normal;border-radius:10px}
@media(max-width:600px){
 .gd-log .gl-filter-main{display:grid;grid-template-columns:auto auto minmax(0,1fr);align-items:start;gap:6px}
 .gd-log .gl-filter-main>.gd-chip{padding:8px 11px;font-size:11.5px}
 .gd-log .gl-filter-more{width:100%;flex:auto}
 .gd-log .gl-filter-toggle{font-size:11.5px;min-width:0}
 .gd-log .gl-filter-options{grid-column:1/-1}
 .gd-log .gl-filter-options .gd-chip{font-size:11px}
}
@media(max-width:360px){.gd-log .gl-filter-main{grid-template-columns:auto auto minmax(0,1fr);gap:4px}.gd-log .gl-filter-main>.gd-chip{padding:8px}.gd-log .gl-filter-toggle{padding:8px 6px;font-size:11px}}
/* rc.71: reconciliation preview; keep critical differences readable on desktop and mobile. */
.sachi-hr .hr-rc71-results{max-height:50vh;overflow:auto;border:1px solid #dbe6e0;border-radius:12px;margin:12px 0}
.sachi-hr .hr-rc71-results table{min-width:760px}
.sachi-hr .hr-rc71-results th{position:sticky;top:0;background:#eef7f1;z-index:1}
.sachi-hr .hr-rc71-results td{font-size:12px;vertical-align:top}
.sachi-hr .hr-rc71-results small{font-size:11px;color:#667c71}
.sachi-hr .hr-rc71-confirm{display:flex;gap:9px;align-items:flex-start;line-height:1.6;padding:10px 12px;border:1px solid #d8e6df;border-radius:10px;background:#f7faf8}
.sachi-hr .hr-rc71-confirm input{margin-top:5px;flex-shrink:0}

/* rc.77 - limited-role proxy clock-out */
.hr-proxyout table td,.hr-proxyout table th{vertical-align:middle;padding:10px 12px}.hr-proxyout tr[hidden]{display:none}.hr-proxyout .hr-policy-grid{margin:12px 0}

/* rc.79 – Nút Ra ca hộ gọn trong danh sách Đang trong ca */
.sachi-hr .hr-quick-clockout{font-size:12px!important;min-height:32px!important;padding:6px 11px!important;border-radius:9px!important;white-space:nowrap}.sachi-hr .hr-quick-na{color:#9baaa3;font-weight:500}.sachi-hr .hr-today th:last-child,.sachi-hr .hr-today td:last-child{white-space:nowrap}

/* SACHI HRM rc.88 – tìm nhân viên trong bảng lương */
.hr-payroll-quick-filter{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px;margin:14px 0 10px}
.hr-payroll-quick-filter label{display:flex;flex-direction:column;gap:7px;flex:1 1 260px;max-width:430px;font-weight:600}
.hr-payroll-quick-filter input{width:100%;box-sizing:border-box;min-height:42px}
.hr-payroll-quick-filter .hr-btn{align-self:flex-end;white-space:nowrap}
.hr-payroll-quick-filter .hr-hint{align-self:center;margin:0}
#hr-payroll-list tbody tr[hidden]{display:none!important}
@media(max-width:600px){.hr-payroll-quick-filter label{max-width:none;flex-basis:100%}}

/* rc.89 — Trung tâm Chấm & Duyệt Công. Chỉ tác động phần giao diện quản trị. */
.s89-center{--s89-green:#087f52;--s89-dark:#183b30;--s89-muted:#71877d;--s89-line:#e3eee8;color:var(--s89-dark);font-size:14px}
.s89-hero{display:flex;align-items:center;gap:18px;padding:25px 26px;background:linear-gradient(110deg,#fff 56%,#e8f7ef);border:1px solid #e6f1ea;border-radius:21px;margin-bottom:18px;min-height:136px}
.s89-head-ico{width:60px;height:60px;border-radius:18px;display:grid;place-items:center;flex:0 0 60px;background:#e2f5e9;color:#078251;font-size:33px;font-weight:800}
.s89-eyebrow{font-size:10px;letter-spacing:1.25px;font-weight:800;color:#188962;margin:0 0 6px}.s89-hero h1{font-size:29px;font-weight:800;letter-spacing:-.85px;color:#123d30;margin:0 0 7px}.s89-hero p{font-size:13px;color:#677f74;margin:0;max-width:620px}
.s89-period{margin-left:auto;flex-shrink:0;text-align:right;display:flex;flex-direction:column;gap:3px}.s89-period span,.s89-period small{font-size:11px;color:#70857a}.s89-period strong{font-size:18px;color:#0e754c}
.s89-tabs{display:flex;align-items:center;overflow-x:auto;gap:3px;background:#fff;padding:7px;border:1px solid #e3ece6;border-radius:14px;box-shadow:0 5px 22px #1a4f3310;margin-bottom:22px;scrollbar-width:thin}
.s89-center .s89-tabs button{flex:1 0 auto;min-height:48px;padding:12px 13px;color:#466557;border:0;background:transparent;font-size:13px;border-radius:10px;white-space:nowrap;gap:7px}.s89-center .s89-tabs button[aria-current=page]{background:#087e50;color:#fff;box-shadow:0 4px 13px #087e5029}.s89-tab-ic{font-size:19px;line-height:1}
.s89-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:18px}.s89-center .s89-kpi{display:flex;text-align:left;align-items:center;gap:14px;padding:18px 16px;background:#fff;border:1px solid #e5eee8;border-radius:18px;box-shadow:0 5px 20px #143b2710;min-height:115px;min-width:0;white-space:normal}.s89-kpi-icon{width:50px;height:50px;border-radius:14px;display:grid;place-items:center;flex:0 0 50px;background:#eaf7ee;color:#07844c;font-size:28px;font-weight:700}.s89-yellow .s89-kpi-icon{background:#fff3da;color:#df9a27}.s89-red .s89-kpi-icon{background:#feeeee;color:#d34753}.s89-mint .s89-kpi-icon{background:#e3f5e8;color:#14a167}.s89-kpi span:last-child{display:flex;flex-direction:column;gap:1px;min-width:0}.s89-kpi small{font-size:12px;color:#40584b;font-weight:650}.s89-kpi strong{font-size:29px;color:#123b30;line-height:1.25}.s89-kpi em{font-style:normal;font-size:10px;color:#779083}
.s89-grid{display:grid;grid-template-columns:minmax(0,1fr) 255px;gap:15px;align-items:start}.s89-right{display:flex;flex-direction:column;gap:16px}
.s89-list-card,.s89-side-card,.s89-section-banner{background:#fff;border:1px solid #e1ebe5;border-radius:17px;box-shadow:0 5px 20px #173b2810;padding:20px;margin-bottom:18px}.s89-grid .s89-list-card{margin-bottom:0}
.s89-list-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:15px}.s89-list-head h2,.s89-section-banner h2{font-size:21px;color:#143f30;margin:0 0 3px}.s89-list-head p,.s89-section-banner p,.s89-side-card p{font-size:12px;color:#829489;margin:0}.s89-list-head button{padding:8px 10px;min-height:35px}
.s89-filters{display:grid;grid-template-columns:minmax(150px,1.6fr) repeat(3,minmax(100px,1fr));gap:11px;margin:0 0 15px}.s89-center .s89-filters label{font-size:11px;font-weight:650;color:#597266;margin:0;min-width:0;gap:5px}.s89-center .s89-filters input,.s89-center .s89-filters select{min-height:40px;padding:7px 10px;font-size:12px;max-width:100%;border-color:#d9e6dc}
.s89-table-wrap{overflow-x:auto;border:1px solid #e7eeea;border-radius:12px}.s89-center table.s89-data-table{min-width:860px;width:100%;border-collapse:collapse}.s89-center .s89-data-table th{font-size:10px;font-weight:780;letter-spacing:.3px;background:#edf6f0;color:#406251;padding:11px 8px;white-space:nowrap}.s89-center .s89-data-table td{font-size:11px;padding:11px 8px;border-bottom:1px solid #f0f3f1;vertical-align:middle;white-space:normal}.s89-center .s89-data-table tbody tr:hover{background:#f9fcfa}.s89-emp-code{color:#078854;font-size:12px}.s89-origin{border-radius:7px;display:inline-flex;padding:4px 8px;background:#e4f4e9;color:#0b7148;font-size:10px;white-space:nowrap}.s89-origin-machine{background:#e9f0fc;color:#326ca8}.s89-origin-dms{background:#f1eafb;color:#8056aa}.s89-origin-manual{background:#fff1e4;color:#9a642c}.s89-small-warning{display:block;color:#ac4551;font-size:10px;margin-top:3px}.s89-center .s89-row-action{min-height:32px;padding:6px 9px;background:#e8f7ee;border:1px solid #cde7d7;color:#087951;border-radius:8px;font-size:10px;white-space:nowrap}.s89-no-rows{text-align:center;padding:30px!important;color:#71877e!important}
.s89-list-foot{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:14px 2px 0;color:#748b7e;font-size:11px}.s89-list-foot>div{display:flex;align-items:center;gap:9px}.s89-center .s89-list-foot button{min-height:30px;padding:3px 10px}.s89-side-card{margin:0;padding:17px}.s89-side-card h3{font-size:15px;font-weight:800;margin:0 0 5px;display:flex;align-items:center;gap:8px}.s89-side-card h3 span{color:#119262;font-size:19px}.s89-shortcuts{display:grid;gap:6px;margin-top:14px}.s89-center .s89-shortcuts button{background:#eefaef;border:0;border-radius:9px;display:flex;align-items:center;justify-content:flex-start;text-align:left;gap:9px;min-height:38px;padding:8px 10px;font-size:11px;color:#1c6147;white-space:normal}.s89-shortcut-ic{font-size:17px;font-weight:700;color:#11865c;min-width:18px}.s89-arr{margin-left:auto;font-size:21px;line-height:1;color:#7c9b89}.s89-rule-card{margin-top:0}.s89-rule-card ul{list-style:none;padding:0;margin:12px 0 0;display:grid;gap:7px}.s89-rule-card li{background:#eef8f1;border-radius:9px;padding:10px 12px;border-left:3px solid #189562}.s89-rule-card b,.s89-rule-card small{display:block;font-size:11px}.s89-rule-card small{font-size:10px;font-weight:400;color:#6b8979;margin-top:3px}.s89-section-banner{margin-bottom:15px;background:linear-gradient(115deg,#fff,#f1faf4)}
.s89-source-nav{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.s89-center .s89-source-nav button{min-height:39px;font-size:12px;background:#fff;border-color:#d8e8de}.s89-center .s89-source-nav button.s89-selected{background:#0b8152;color:#fff;border-color:#0b8152}
.s89-rule-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-bottom:16px}.s89-rule-grid article{background:#fff;border:1px solid #e4eee6;padding:20px;border-radius:15px;box-shadow:0 5px 15px #2145320c}.s89-rule-grid strong{display:inline-flex;background:#e3f5e9;border-radius:7px;padding:5px 10px;color:#098250;font-size:12px}.s89-rule-grid h3{font-size:16px;margin:9px 0 4px}.s89-rule-grid p{color:#697f73;font-size:12px;margin:0}
@media(max-width:1250px){.s89-grid{grid-template-columns:minmax(0,1fr) 210px}.s89-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.s89-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.s89-search-label{grid-column:span 2}}
@media(max-width:900px){.s89-grid{grid-template-columns:1fr}.s89-right{display:grid;grid-template-columns:1fr 1fr}.s89-period{display:none}.s89-rule-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.s89-hero{padding:18px 14px;gap:11px}.s89-hero h1{font-size:21px}.s89-head-ico{width:43px;height:43px;flex-basis:43px;font-size:24px}.s89-kpis{gap:9px}.s89-center .s89-kpi{padding:12px 9px;gap:9px;min-height:90px}.s89-kpi-icon{width:33px;height:33px;flex-basis:33px;font-size:20px}.s89-kpi strong{font-size:22px}.s89-kpi small{font-size:10px}.s89-right{grid-template-columns:1fr}.s89-filters{grid-template-columns:1fr}.s89-search-label{grid-column:auto}.s89-rule-grid{grid-template-columns:1fr}.s89-tabs{margin-bottom:15px}.s89-center .s89-tabs button{min-height:40px;padding:9px 10px;font-size:11px}.s89-list-card{padding:14px}.s89-list-head{flex-direction:column}}


/* rc.93: Lời nhắn & ngày lễ – quản lý lịch nhắc ra ca ngay trong cổng SACHI HRM. */
.hr93-header{background:linear-gradient(110deg,#fff,#eff9f2);border:1px solid #e4eee7}
.hr93-header h2{margin:5px 0 6px;color:#103d2d}.hr93-header>p{margin:0 0 17px}
.hr93-nav{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.sachi-hr .hr93-nav-item{padding:11px 16px;min-height:42px;border-radius:11px;border:1px solid #d9e6dd;background:#fff;color:#285746;cursor:pointer;font-size:13px;font-weight:650}
.sachi-hr .hr93-nav-item.hr93-selected{background:#087d51;color:#fff;border-color:#087d51;box-shadow:0 3px 12px #087d5120}
.hr93-top{display:flex;gap:12px;justify-content:space-between;align-items:flex-start}.hr93-top h2{margin:6px 0 8px;color:#173d2e;font-size:23px}.hr93-top p{max-width:680px}
.hr93-pill{display:inline-flex;white-space:nowrap;border-radius:50px;padding:8px 13px;font-size:12px;font-weight:700}.hr93-on{background:#e7f7ed;color:#087747}.hr93-off{background:#f2f3f3;color:#6c7772}
.hr93-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0 22px}.hr93-preview>div{border:1px solid #dcece1;border-radius:14px;background:linear-gradient(130deg,#f7fdf8,#edf7ef);padding:16px}.hr93-preview small{display:block;font-size:12px;color:#5b7f69}.hr93-preview strong{font-size:26px;color:#087447;line-height:1.5}
.hr93-settings{border-top:1px solid #e2ece5;padding-top:16px}.hr93-field{margin:11px 0 20px}.hr93-field>strong{display:block;margin-bottom:12px;color:#1a4433}.hr93-checks,.hr93-day-grid{display:flex;flex-wrap:wrap;gap:8px}
.sachi-hr .hr93-check{display:inline-flex;align-items:center;gap:8px;border:1px solid #dae7dd;border-radius:10px;padding:10px 13px;background:#fff;color:#274936;font-size:13px;font-weight:500;cursor:pointer}
.hr93-check input,.hr93-confirm input{accent-color:#087d51;width:17px;height:17px;flex-shrink:0;margin:0}.hr93-time-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:18px 0}
.hr93-time-grid label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:650;color:#294937}.hr93-time-grid input{height:44px;max-width:100%;font-size:15px;border-radius:10px;border:1px solid #d6e5db}
.hr93-confirm{display:flex;align-items:flex-start;gap:9px;padding:13px 14px;border-radius:10px;background:#f4f9f5;border:1px solid #d5e8d9;font-size:12px;line-height:1.6;color:#274936}.hr93-confirm input{margin-top:2px}
.hr93-actions{display:flex;flex-wrap:wrap;gap:9px;margin:15px 0 20px}.hr93-last{background:#f8faf8;border:1px solid #e1ebe4;padding:15px;border-radius:11px;color:#445d50;font-size:12px}.hr93-last p{margin:6px 0 8px}.hr93-last small{display:block;color:#6f8878;line-height:1.55}
@media(max-width:650px){.hr93-nav{display:grid;grid-template-columns:1fr}.hr93-top{flex-direction:column}.hr93-preview{gap:6px}.hr93-preview>div{padding:10px}.hr93-preview small{font-size:10px}.hr93-preview strong{font-size:20px}.hr93-time-grid{grid-template-columns:1fr}.hr93-actions button{flex:1}}

/* 4.58.1-rc.96: làm mới trang Cài đặt lương từng nhân viên */
.sachi-hr .hr-salary-page{padding:0;background:transparent;border:none;box-shadow:none}
.sachi-hr .hr-salary-hero{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;padding:0 4px 16px}
.sachi-hr .hr-salary-hero h2{margin:0 0 6px;font-size:26px;letter-spacing:-.3px}
.sachi-hr .hr-salary-hero p{margin:0;color:#60736a}
.sachi-hr .hr-salary-hero-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.sachi-hr .hr-salary-kpi{min-width:110px;padding:10px 14px;border-radius:14px;background:#f2f8f4;border:1px solid #dceadf;text-align:center}
.sachi-hr .hr-salary-kpi span{display:block;font-size:12px;color:#60736a}
.sachi-hr .hr-salary-kpi strong{display:block;font-size:24px;color:#10382a;line-height:1.2}
.sachi-hr .hr-salary-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,.78fr);gap:18px;align-items:start}
.sachi-hr .hr-salary-main,.sachi-hr .hr-salary-side{display:grid;gap:18px}
.sachi-hr .hr-salary-card{background:#fff;border:1px solid #e2ece5;border-radius:18px;padding:20px;box-shadow:0 6px 20px #133a2a08}
.sachi-hr .hr-salary-card-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;flex-wrap:wrap;margin-bottom:14px}
.sachi-hr .hr-salary-card h3{margin:0 0 4px;font-size:18px;color:#153326}
.sachi-hr .hr-salary-card p{margin:0;color:#60736a}
.sachi-hr .hr-salary-summary,.sachi-hr .hr-salary-chip-list{display:flex;flex-wrap:wrap;gap:8px}
.sachi-hr .hr-salary-chip{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border-radius:999px;border:1px solid #dfeae3;background:#f7fbf8;color:#1d4e39;font-size:13px;font-weight:600}
.sachi-hr .hr-salary-chip.is-active{background:#e9f6ee;border-color:#cfe5d8;color:#0d6f49}
.sachi-hr .hr-salary-form{display:grid;grid-template-columns:1fr 1.25fr;gap:12px;margin-bottom:14px}
.sachi-hr .hr-salary-form label{margin:0}
.sachi-hr .hr-salary-action-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.sachi-hr .hr-salary-action-grid .hr-btn{justify-content:center;min-height:52px;font-weight:700}
.sachi-hr .hr-salary-action-grid .hr-btn[data-action="office-sales-bonus"]{background:#f2f8f4;color:#0f6f49;border-color:#d2e5d9}
.sachi-hr .hr-salary-result{margin-top:12px}
.sachi-hr .hr-salary-note,.sachi-hr .hr-salary-foot-note{padding:14px 16px;border-radius:14px;background:#f5faf7;border:1px solid #e0ebe4;color:#51645c}
.sachi-hr .hr-salary-group-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:12px}
.sachi-hr .hr-salary-group-pill{display:flex;align-items:center;justify-content:center;min-height:48px;padding:10px 14px;border-radius:14px;background:#fff;border:1px solid #dbe7de;color:#163c2f;font-weight:600;text-align:center}
.sachi-hr .hr-salary-group-pill.is-active{background:#edf8f0;border-color:#cde5d5;color:#0d6f49}
.sachi-hr .hr-salary-side-card h3{margin-bottom:12px}
.sachi-hr .hr-salary-side-card p{line-height:1.55}
.sachi-hr .hr-salary-fold{margin-top:18px}
@media(max-width:1100px){.sachi-hr .hr-salary-layout{grid-template-columns:1fr}.sachi-hr .hr-salary-side{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.sachi-hr .hr-salary-action-grid{grid-template-columns:1fr 1fr}.sachi-hr .hr-salary-form{grid-template-columns:1fr}.sachi-hr .hr-salary-side{grid-template-columns:1fr}.sachi-hr .hr-salary-hero{flex-direction:column}}
@media(max-width:560px){.sachi-hr .hr-salary-card{padding:16px}.sachi-hr .hr-salary-action-grid{grid-template-columns:1fr}.sachi-hr .hr-salary-hero h2{font-size:22px}}

/* V4.58.1-rc.98: một cột, bỏ cột phải hướng dẫn/trang trí ở Cài đặt lương. */
.sachi-hr .hr-salary-page .hr-salary-layout{display:block;width:100%}
.sachi-hr .hr-salary-page .hr-salary-main{display:grid;width:100%;grid-template-columns:minmax(0,1fr);gap:14px}
.sachi-hr .hr-salary-page .hr-salary-picker{width:100%;box-sizing:border-box}
.sachi-hr .hr-salary-page .hr-salary-action-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:900px){.sachi-hr .hr-salary-page .hr-salary-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.sachi-hr .hr-salary-page .hr-salary-action-grid{grid-template-columns:1fr}}

/* rc.99: tên thao tác trong nhật ký hệ thống */
.sachi-hr .hr-audit-action{font-weight:600;color:#145f43;cursor:help;line-height:1.45}

/* rc.100: bảng điều khiển duyệt công an toàn theo ca */
.sachi-hr .hr-auto-approval-panel{border:1px solid #d8e9dd;border-radius:18px;padding:22px;background:linear-gradient(115deg,#f2faf5,#fff 72%);box-shadow:0 6px 18px #133a2a08;margin:18px 0}
.sachi-hr .hr-auto-approval-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;flex-wrap:wrap}
.sachi-hr .hr-auto-approval-head h3{margin:3px 0 5px;font-size:21px;color:#123b2a}
.sachi-hr .hr-auto-approval-head p{margin:0;color:#576d60;max-width:740px;line-height:1.55}
.sachi-hr .hr-auto-approval-eyebrow{font-size:11px;letter-spacing:1.3px;font-weight:800;color:#08794f}
.sachi-hr .hr-auto-state{border:1px solid #e0e4e2;background:#fff;padding:9px 14px;border-radius:999px;font-size:13px;font-weight:700;color:#66766e;white-space:nowrap}
.sachi-hr .hr-auto-state.is-on{border-color:#b7e4ca;background:#def5e7;color:#056844}
.sachi-hr .hr-auto-approval-meta{display:flex;flex-wrap:wrap;gap:10px 22px;margin:15px 0;padding:13px 15px;border:1px solid #e2ece5;border-radius:12px;background:#fff;font-size:13px;color:#5e7166}
.sachi-hr .hr-auto-approval-meta b{color:#143a2a}
.sachi-hr .hr-auto-approval-panel .hr-actions{margin:14px 0}
@media(max-width:620px){.sachi-hr .hr-auto-approval-panel{padding:15px}.sachi-hr .hr-auto-approval-meta{display:grid;gap:8px}}

.sachi-hr .s89-auto-summary{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;padding:14px 20px;border-radius:15px;background:#fff;border:1px solid #dceae1;margin-bottom:15px}
.sachi-hr .s89-auto-summary b{font-weight:700;color:#153326}
.sachi-hr .s89-auto-summary small{display:block;color:#62766a;margin-top:4px}
.sachi-hr .s89-auto-summary .hr-actions{margin:0}
.sachi-hr .s89-auto-on{font-weight:700;color:#08794f}
.sachi-hr .s89-auto-off{font-weight:700;color:#926300}

/* rc.101 - November 2026 historical pending attendance, preview first */
.sachi-hr dialog.hr-history-dialog{width:min(1260px,96vw);max-width:96vw;}
.hr-history-stats{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0;}
.hr-history-stats span{padding:10px 14px;background:#f0f8f2;border:1px solid #d9e9de;border-radius:12px;color:#234d39;}
.hr-history-table-wrap{max-height:56vh;overflow:auto;border:1px solid #e0eae4;border-radius:12px;margin:12px 0;}
.hr-history-table{min-width:980px;width:100%;} .hr-history-table th{position:sticky;top:0;background:#eef6f0;z-index:1;}
.hr-history-table th,.hr-history-table td{padding:10px 9px;vertical-align:top;white-space:normal;font-size:12px;}
.hr-history-details{max-width:330px;margin-top:8px}.hr-history-details summary{cursor:pointer;color:#087b50;font-weight:600;}
.hr-history-details div{margin-top:6px;line-height:1.5;white-space:normal;}
.hr-history-good{color:#137647}.hr-history-manual{color:#a65b17}.hr-history-blocked{background:#fff9f0;}
.hr-history-dialog .hr-actions{position:sticky;bottom:0;background:white;padding:12px 0;border-top:1px solid #e3eae5;}


/* HRM task workspace */
.hr-tasks .hr-task-filters,.hr-tasks .hr-task-meta,.hr-tasks .hr-task-list{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0 18px;
}
.hr-tasks .hr-task-meta>div{padding:10px 12px;background:#f3f8f4;border-radius:8px;overflow-wrap:anywhere}
.hr-tasks .hr-task-meta dt,.hr-tasks .hr-task-history small{color:#496658;font-size:.85em}
.hr-tasks .hr-task-meta dd{margin:4px 0 0;font-weight:600}
.hr-tasks .hr-task-card{display:block;margin:0;padding:14px;border:1px solid #d7e7db;border-radius:12px;overflow-wrap:anywhere}
.hr-tasks .hr-task-card header{display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between}
.hr-tasks .hr-task-text{white-space:pre-wrap;overflow-wrap:anywhere}
.hr-tasks .hr-task-history{padding-inline-start:24px}
.hr-tasks .hr-task-history li{padding:8px 0;border-bottom:1px solid #e5eee7;overflow-wrap:anywhere}
.hr-tasks .hr-task-history small{display:block;margin-top:3px}
@media(max-width:700px){
  .hr-tasks .hr-task-list{grid-template-columns:1fr}
  .hr-tasks .hr-section-title{flex-wrap:wrap}
}

/* rc.103: filter historical November attendance preview without changing selections */
.sachi-hr .hr-history-filter{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:10px 0 14px;font-weight:600}
.sachi-hr .hr-history-filter select{width:auto;min-width:205px;min-height:38px;padding:6px 10px}
.sachi-hr .hr-history-table tr[hidden]{display:none!important}

/* rc.106 – phân nhóm bảng lương Công nhân / Nhân viên còn lại */
.sachi-hr .hr-payroll-group-label {display:block;font-size:11px;font-weight:600;color:#15764c;margin-top:4px}
.sachi-hr #hr-payroll-workforce-filter{box-sizing:border-box;min-height:42px;width:100%;border:1px solid #c9ded0;border-radius:10px;padding:7px 12px;background:#fff}
.sachi-hr .hr-payroll-quick-filter label[for="hr-payroll-workforce-filter"]{max-width:235px;flex:1 1 190px}
@media(max-width:600px){.sachi-hr .hr-payroll-quick-filter label[for="hr-payroll-workforce-filter"]{max-width:none;flex-basis:100%}}

/* 4.58.1-rc.112 – Trang chủ nhân viên: giao diện mới (chỉ CSS/HTML hiển thị, không đổi dữ liệu/API). Phạm vi: #sachi-hr */
#sachi-hr .hr-home-header{background:linear-gradient(180deg,#e7f5ec 0%,#f1f9ef 100%)!important}
#sachi-hr .hr-home-header .hr-mobile-brand span{color:#0c6a34!important;font-weight:900!important;letter-spacing:-.3px}
#sachi-hr .hr-home-header .hr-mobile-brand span small{color:#2d5a3f!important;font-style:italic;font-weight:500!important}
#sachi-hr .hr-home-header .hd-hdate{background:#fff!important;border-radius:16px!important;padding:6px 11px!important;box-shadow:0 3px 10px #0b5a2d1a!important}
#sachi-hr .hr-home-header .hd-hdate b{font-size:12.5px!important}
#sachi-hr .hr-home-header .hd-cal{width:30px!important;height:30px!important;font-size:13px!important}

/* Banner giá trị cốt lõi S–A–C–H–I */
#sachi-hr .hd-core{position:relative;margin:0 -14px;padding:12px 10px 22px;display:flex;align-items:center;gap:6px;overflow:hidden;background:linear-gradient(180deg,#d9eefb 0%,#eef8e9 55%,#cfe9b8 100%);isolation:isolate}
#sachi-hr .hd-core:before{content:"";position:absolute;inset:0;z-index:-1;background:url(home-foot.webp) center 62%/cover no-repeat;opacity:.9}
#sachi-hr .hd-core:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#ffffffb0 0%,#ffffff40 55%,#ffffff00 100%)}
#sachi-hr .hd-core-label{flex:0 0 auto;transform:rotate(-5deg);background:linear-gradient(135deg,#1c8a3f,#0b5f2a);border-radius:10px 22px 10px 22px;padding:7px 10px 8px;color:#fff;text-align:center;box-shadow:0 4px 10px #0b5a2d40;line-height:1}
#sachi-hr .hd-core-label span{display:block;font-size:12px;font-weight:700;font-style:italic;letter-spacing:-.2px}
#sachi-hr .hd-core-label b{display:block;margin-top:3px;font-size:20px;font-weight:900;font-style:italic;color:#ffe45c;letter-spacing:.5px}
#sachi-hr .hd-core-list{list-style:none;margin:0;padding:0;flex:1;min-width:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}
#sachi-hr .hd-cv{--c:#16a34a;--c2:#dff5e5;position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;background:#ffffffee;border:2px solid var(--c);border-radius:18px 18px 14px 14px;padding:0 2px 5px;min-width:0;margin:0;box-shadow:0 3px 8px #0b2d1a22}
#sachi-hr .hd-cv-s{--c:#16a34a}#sachi-hr .hd-cv-a{--c:#dc2626}#sachi-hr .hd-cv-c{--c:#1d4ed8}#sachi-hr .hd-cv-h{--c:#f97316}#sachi-hr .hd-cv-i{--c:#7c3aed}
#sachi-hr .hd-cv-badge{position:relative;display:grid;place-items:center;width:100%;aspect-ratio:1/.92;max-width:50px;margin:-9px 0 2px;border-radius:50%;background:var(--c);color:#fff;border:2px solid #fff;box-shadow:0 2px 5px #0003}
#sachi-hr .hd-cv-badge i{position:absolute;top:2px;left:0;right:0;font-style:normal;font-weight:900;font-size:14px;line-height:1;text-align:center;text-shadow:0 1px 1px #0004}
#sachi-hr .hd-cv-badge svg{width:46%;height:46%;margin-top:9px}
#sachi-hr .hd-cv em{font-style:normal;font-size:8.5px;font-weight:600;color:var(--c);line-height:1.2;max-width:100%;overflow-wrap:normal;white-space:nowrap}
#sachi-hr .hd-cv strong{font-size:10.5px;font-weight:800;color:var(--c);line-height:1.25;white-space:nowrap;max-width:100%}
#sachi-hr .hd-core+.hd-greet{margin:-14px 0 10px!important;border-radius:26px!important}
@media(min-width:700px){#sachi-hr .hd-core{margin:0!important;border-radius:20px}}

/* Thẻ nhân viên */
#sachi-hr .hd-greet{border-radius:26px!important;padding:14px 12px!important;box-shadow:0 8px 22px #0b5a2d18!important}
#sachi-hr .hd-avatar{background:linear-gradient(180deg,#eaf7ee,#d7efdd)!important}
#sachi-hr .hd-hello{align-content:center}
#sachi-hr .hd-hello b{font-size:19px!important;font-weight:900!important;line-height:1.2}
#sachi-hr .hd-hello .hd-code{display:flex!important;align-items:center;gap:6px;font-size:13px!important;font-weight:800;color:#16a34a!important;margin-top:2px}
#sachi-hr .hd-hello .hd-code .es-code{color:#11692f!important}
#sachi-hr .hd-hello .hd-code .es-tag{background:#d4f0d9!important;color:#11692f!important;font-size:11px!important;padding:1px 10px!important;margin:0 0 0 4px}
#sachi-hr .hd-hello .hd-jt{display:flex!important;align-items:center;gap:5px;font-size:12.5px!important;color:#2d3f37!important;margin-top:3px}
#sachi-hr .hd-hello .hd-jt svg{width:15px;height:15px;flex:0 0 15px;color:#11692f}
#sachi-hr .hd-hello .hd-gc i{background:#e3f5e4!important;font-size:11px!important;padding:3px 10px!important}
#sachi-hr .hd-hello .hd-wish{display:none!important}

/* 4 ô KPI */
#sachi-hr .hd-chips{gap:7px!important}
#sachi-hr .hd-chip{border-radius:16px!important;padding:9px 6px 9px 8px!important;min-height:64px!important;border:1px solid #ffffffb0!important}
#sachi-hr .hd-chip .hd-ci{font-size:18px!important}
#sachi-hr .hd-chip small{font-size:10px!important;font-weight:600!important}
#sachi-hr .hd-chip b{font-size:13px!important;font-weight:900!important;margin-top:4px!important}
#sachi-hr .hd-chip.c2{background:linear-gradient(180deg,#f2f7ff,#dfeafd)!important}
#sachi-hr .hd-chip.c2 em{color:#2563eb!important}
#sachi-hr .hd-chip.c3{background:linear-gradient(180deg,#fffaea,#fcefc6)!important}
#sachi-hr .hd-chip.c3 em{color:#b7791f!important}
@media(max-width:379px){#sachi-hr .hd-chips{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* 9 chức năng */
#sachi-hr .hd-tiles{gap:9px!important}
#sachi-hr .hd-tile{flex-direction:row!important;justify-content:flex-start!important;gap:7px!important;min-height:64px!important;padding:8px 7px!important;border-radius:18px!important;text-align:left!important;box-shadow:0 5px 14px #0b5a2d14!important}
#sachi-hr .hd-ti{flex:0 0 38px!important;width:38px!important;height:38px!important;border-radius:12px!important;background:#ffffffb8!important}
#sachi-hr .hd-ti svg,#sachi-hr .hd-ti svg.hr-ico,#sachi-hr .hd-ti .hr-ico{width:26px!important;height:26px!important;flex:0 0 26px!important}
#sachi-hr .hd-tt{font-size:12.5px!important;text-align:left!important;padding:0!important;line-height:1.22!important;min-width:0!important;overflow-wrap:anywhere}
#sachi-hr .hd-tbg{display:none!important}
@media(max-width:339px){#sachi-hr .hd-tiles{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(min-width:700px){#sachi-hr .hd-tiles{grid-template-columns:repeat(3,minmax(0,1fr))!important}#sachi-hr .hd-tt{font-size:15px!important}}

/* Ảnh chân trang & thanh điều hướng */
#sachi-hr .hd-foot{padding-top:22%!important}
#sachi-hr .hd-nav{background:#fff!important;border-radius:24px 24px 0 0!important;box-shadow:0 -8px 22px #0b5a2d1c!important}
#sachi-hr .hd-nav button[aria-current=page]{background:linear-gradient(135deg,#1f9a49,#0b6b33)!important;color:#fff!important;border-radius:22px!important;box-shadow:0 4px 10px #0b6b3340!important}
#sachi-hr .hd-nav button[aria-current=page] svg{color:#fff!important;stroke:#fff!important}

/* rc.112 – tinh chỉnh sau kiểm thử 320–430px */
#sachi-hr .hd-core{margin:0 -10px!important;padding-left:8px;padding-right:8px}
#sachi-hr .hd-foot{margin-left:-10px!important;margin-right:-10px!important}
#sachi-hr .hd-hello .hd-code .es-wrap{display:inline-flex!important;align-items:center;gap:6px;white-space:nowrap!important}
#sachi-hr .hd-hello .hd-code .es-wrap>span{display:inline-block!important;white-space:nowrap!important;margin:0!important}
#sachi-hr .hd-chip b{font-size:12.5px!important;padding-right:10px;box-sizing:border-box}
#sachi-hr .hd-chip .hd-ci{font-size:17px!important}
#sachi-hr .hd-tile{gap:6px!important;padding:7px 6px!important}
#sachi-hr .hd-ti{flex:0 0 34px!important;width:34px!important;height:34px!important;border-radius:11px!important}
#sachi-hr .hd-ti svg,#sachi-hr .hd-ti svg.hr-ico,#sachi-hr .hd-ti .hr-ico{width:23px!important;height:23px!important;flex:0 0 23px!important}
#sachi-hr .hd-tt{font-size:12px!important}

/* rc.112 – Banner co giãn theo chiều rộng của chính banner (container query), không phụ thuộc màn hình */
#sachi-hr .hd-core{container-type:inline-size;flex-direction:column;align-items:stretch;gap:12px;padding-top:10px}
#sachi-hr .hd-core-label{align-self:flex-start;transform:rotate(-3deg);padding:5px 12px}
#sachi-hr .hd-core-label span,#sachi-hr .hd-core-label b{display:inline;font-size:14px;margin:0}
#sachi-hr .hd-core-label b{margin-left:5px;font-size:17px}
#sachi-hr .hd-cv-badge{margin-top:-10px}
#sachi-hr .hd-cv strong{font-size:clamp(9px,2.5cqw,14px)}
#sachi-hr .hd-cv em{font-size:clamp(7.4px,2.05cqw,11px)}
#sachi-hr .hd-cv-badge i{font-size:clamp(12px,3.6cqw,18px)}
@container (max-width:329px){#sachi-hr .hd-core-list{display:flex;overflow-x:auto;gap:6px;padding:10px 2px 2px;scroll-snap-type:x proximity}#sachi-hr .hd-cv{flex:0 0 66px;scroll-snap-align:start}}
@container (min-width:640px){#sachi-hr .hd-core{flex-direction:row;align-items:center;gap:14px;padding:14px 16px 26px}#sachi-hr .hd-core-label{align-self:auto;transform:rotate(-5deg);padding:7px 12px 8px}#sachi-hr .hd-core-label span,#sachi-hr .hd-core-label b{display:block}#sachi-hr .hd-core-label span{font-size:15px}#sachi-hr .hd-core-label b{font-size:26px;margin:3px 0 0}#sachi-hr .hd-cv-badge{margin-top:-9px}#sachi-hr .hd-cv strong{font-size:clamp(11px,1.9cqw,14px)}#sachi-hr .hd-cv em{font-size:clamp(9px,1.5cqw,11px)}}

/* rc.113 – Xóa ảnh chấm công tùy chọn */
#sachi-hr .pc-filter{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;align-items:end;margin:14px 0}
#sachi-hr .pc-filter label{margin:0}
#sachi-hr .pc-table td,#sachi-hr .pc-table th{padding:9px 8px;white-space:nowrap;font-size:12.5px}
#sachi-hr .pc-table input[type=checkbox]{width:20px;height:20px;accent-color:#11692f}
#sachi-hr .pc-lock{opacity:.6;background:#f7f7f4}
#sachi-hr .pc-del{background:#dc2626!important;border-color:#dc2626!important}
#sachi-hr .pc-del:disabled{opacity:.45}
