/* Kanokphan POS-X R148 HR workspace · Mockup C compact */
.hr-workspace{--hr-text:#182b39;--hr-blue:#007e54;--hr-line:#dfe9e6;--hr-muted:#657671;--hr-bg:#f6fbf9;max-width:none;width:100%;padding:10px 12px 32px;color:#172b27}
.hr-workspace .hr-header{border:0;background:transparent;padding:9px 5px 14px;box-shadow:none}
.hr-workspace .hr-header h1{color:#111d1c;font-size:24px;font-weight:800;margin:4px 0 2px}
.hr-workspace .hr-header p{color:#546a63}
.hr-workspace .hr-eyebrow{color:#078660;letter-spacing:.2px}
.hr-workspace .hr-header-context{border-color:#d9e9e1;background:#edf9f3;color:#28684e}
.hr-hub-nav{margin:0 0 13px}
.hr-hub-main-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.hr-hub-main-tab{border:1px solid #dbe6e3;border-radius:12px 12px 5px 5px;background:linear-gradient(180deg,#fff,#f6f9fc);box-shadow:0 1px 2px rgba(7,46,30,.04);min-height:50px;color:#18372c;font:inherit;font-size:15px;font-weight:750;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:11px}
.hr-hub-main-tab:hover{background:#eaf8f1}.hr-hub-main-tab.active{background:linear-gradient(120deg,#008952,#006b47);border-color:#047e54;color:white}
.hr-hub-tab-icon{font-size:24px;font-weight:500}
.hr-hub-tools{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:10px 10px 8px;border:1px solid #deece6;border-top:0;background:#fff;border-radius:0 0 10px 10px}
.hr-hub-tools>span{color:#81948c;font-size:11px;padding:0 6px}.hr-hub-tool{border:1px solid transparent;background:transparent;padding:6px 10px;color:#49665b;font:inherit;font-size:12px;font-weight:650;cursor:pointer;border-radius:8px}
.hr-hub-tool.active{background:#e6f6ee;color:#006e4a;border-color:#c3ebd7}.hr-hub-tool:hover{background:#f0f8f4}
.hr-workspace .hr-metrics{gap:8px;margin:5px 0 12px}.hr-workspace .hr-metric{border-color:#e1ece7;box-shadow:0 2px 9px rgba(12,73,43,.03);min-height:95px;padding:15px 17px}
.hr-workspace .hr-metric:nth-child(1){background:#e7f9f0}.hr-workspace .hr-metric:nth-child(2){background:#eaf3fd}.hr-workspace .hr-metric:nth-child(3){background:#fff7e6}.hr-workspace .hr-metric:nth-child(4){background:#f9eef2}
.hr-workspace .hr-metric strong{color:#102e23}.hr-workspace .hr-metric-icon{background:rgba(255,255,255,.7);color:#0b9164}
.hr-hub-content{display:grid;grid-template-columns:minmax(0,1fr) 265px;gap:12px;align-items:start}
.hr-workspace .hr-surface{border-color:#e1e9e7;box-shadow:0 3px 14px rgba(15,58,40,.035);border-radius:12px}
.hr-hub-registry{min-width:0}
.hr-workspace .hr-surface-title h2{color:#163f30}
.hr-hub-registry .hr-filters{display:flex;flex-wrap:wrap;gap:7px;align-items:center}.hr-hub-registry .hr-filters label{gap:5px}.hr-hub-registry .hr-filters select{min-width:130px}.hr-hub-registry .hr-filters .hr-search{min-width:190px;flex:1 1 210px}
.hr-hub-table{min-width:820px;font-size:12px}.hr-hub-table thead th{background:#e4f3ed;color:#234e3e;padding:10px 8px}.hr-hub-table tbody td{padding:9px 8px}.hr-hub-table tbody tr:nth-child(even){background:#fafdfb}
.hr-workspace .hr-pill.hr-active{color:#067547;background:#d8f8e6}.hr-workspace .hr-pill.hr-on_leave{color:#a16902;background:#fff2cf}.hr-workspace .hr-pill.hr-inactive{color:#9c6d0a;background:#fff3d9}.hr-workspace .hr-pill.hr-terminated{color:#9b3535;background:#fae4e4}
.hr-workspace .hr-emp-code{background:#eaf7f0;border-color:#d6eede;color:#076c4b}
.hr-workspace .hr-button.primary{background:#008b5a;border-color:#008b5a}.hr-workspace .hr-button.primary:hover{background:#006f49}
.hr-workspace .hr-button{border-color:#d6e5dc}.hr-hub-rail .hr-surface{padding:14px 13px}
.hr-hub-quick{display:flex;align-items:center;gap:10px;border:0;border-top:1px solid #e5eee9;background:transparent;color:#234c3b;width:100%;padding:10px 2px;cursor:pointer;text-align:left;font:inherit;font-size:12px;font-weight:600}
.hr-hub-quick:hover{background:#f4fcf8}.hr-hub-quick-icon{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:9px;background:#e2f7eb;color:#009561;font-size:17px}.hr-hub-quick-arrow{margin-left:auto;color:#8aa398;font-size:23px}
.hr-hub-summary-row{display:flex;justify-content:space-between;gap:8px;padding:11px 0;border-top:1px solid #edf1ef;font-size:12px}.hr-hub-summary-row strong{color:#06794f}.hr-hub-rail-hint{font-size:11px;color:#84928a;margin:8px 0 0}
.hr-hub-row-menu{position:relative;display:inline-block}.hr-hub-row-menu summary{list-style:none;cursor:pointer;border:0;border-radius:7px;background:#eef7f2;color:#09784e;font-size:20px;width:29px;line-height:28px;text-align:center}.hr-hub-row-menu summary::-webkit-details-marker{display:none}
.hr-hub-row-menu>div{position:absolute;right:0;top:31px;z-index:10;min-width:120px;border:1px solid #dce9df;border-radius:9px;background:#fff;box-shadow:0 8px 25px rgba(25,57,43,.15);padding:5px}
.hr-hub-row-menu button{font:inherit;font-size:12px;background:none;border:0;border-radius:5px;display:block;width:100%;text-align:left;padding:8px 12px;cursor:pointer}.hr-hub-row-menu button:hover{background:#eaf9f0}
.hr-hub-drawer-backdrop{position:fixed;inset:0;z-index:1100;background:rgba(7,30,23,.38);display:flex;justify-content:flex-end}
.hr-hub-drawer{width:min(520px,96vw);height:100%;overflow:hidden;background:#fff;display:flex;flex-direction:column;box-shadow:-10px 0 40px rgba(9,26,17,.17)}
.hr-hub-drawer-head{padding:19px 22px;border-bottom:1px solid #e7eee8;display:flex;align-items:center;justify-content:space-between;gap:12px}
.hr-hub-drawer-head h2{font-size:19px;color:#143d2c;margin:5px 0 0}.hr-hub-drawer-head small{color:#6a8777}.hr-hub-close{border:0;border-radius:8px;background:#eef4f0;font-size:25px;width:34px;height:34px;cursor:pointer}
.hr-hub-drawer-body{padding:20px;overflow-y:auto;flex:1}.hr-hub-drawer-body .hr-identity{margin-bottom:14px;padding-bottom:14px}.hr-hub-drawer-section{border:1px solid #e6efe9;padding:15px;border-radius:10px;margin-bottom:12px}.hr-hub-drawer-section h3{color:#136849;margin:0 0 15px;font-size:14px}.hr-hub-drawer-section dl{display:grid;grid-template-columns:135px 1fr;gap:12px;font-size:12px;margin:0}.hr-hub-drawer-section dt{color:#788b80}.hr-hub-drawer-section dd{margin:0;color:#213a31;font-weight:600;overflow-wrap:anywhere}
.hr-hub-drawer-section .hr-history-item{padding:9px 0}
@media(max-width:1150px){.hr-hub-content{grid-template-columns:1fr}.hr-hub-rail{display:grid;grid-template-columns:1fr 1fr;gap:12px}}
@media(max-width:680px){.hr-workspace{padding:6px}.hr-hub-main-tab{min-height:46px;font-size:12px;gap:4px}.hr-hub-tab-icon{font-size:17px}.hr-hub-tools>span{display:none}.hr-workspace .hr-header-context{display:none}.hr-workspace .hr-header h1{font-size:20px}.hr-hub-rail{grid-template-columns:1fr}.hr-hub-registry .hr-filters label{max-width:100%}.hr-workspace .hr-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media print{.hr-hub-rail,.hr-hub-nav,.hr-hub-registry .hr-filters,.hr-hub-drawer-backdrop{display:none!important}.hr-hub-content{display:block}.hr-workspace .hr-table-wrap{max-height:none;overflow:visible}.hr-workspace .hr-table{min-width:0}}

/* R148: Phase 1 create/edit uses a right-side drawer instead of the old centered modal. */
.hr-hub-edit-dialog{position:fixed;top:0;right:0;bottom:0;left:auto;margin:0;width:min(540px,96vw);max-width:none;max-height:100dvh;height:100dvh;padding:0;border-radius:0;box-shadow:-12px 0 55px rgba(11,39,27,.18)}
.hr-hub-edit-dialog .hr-dialog-inner{height:100%;max-height:100dvh;border-radius:0;border:0}
.hr-hub-edit-dialog .hr-dialog-body{flex:1;overflow-y:auto}
.hr-hub-edit-dialog footer{flex-shrink:0}
@media(max-width:550px){.hr-hub-edit-dialog .hr-form-grid{grid-template-columns:1fr}}

/* R150 HR Mockup C fidelity refinement; scoped to HR workspace, no global POS-X changes */
.hr-workspace{padding:4px 6px 24px;max-width:none;margin:0 auto;--hr-blue:#008656}
.hr-workspace .hr-header{position:relative;isolation:isolate;min-height:102px;padding:12px 15px 15px 92px;margin:0 0 5px;overflow:hidden}
.hr-workspace .hr-header:before{content:'👥';position:absolute;z-index:0;top:9px;left:17px;width:62px;height:62px;border-radius:17px;display:grid;place-items:center;background:linear-gradient(145deg,#00a76d,#006b43);box-shadow:0 5px 12px #0c76532a;color:white;font-size:35px}
.hr-workspace .hr-header:after{content:'';position:absolute;pointer-events:none;z-index:-1;right:-2%;top:-32px;width:37%;height:150px;background:radial-gradient(ellipse at 40% 40%,#5cd9ad32,transparent 55%),radial-gradient(ellipse at 75% 73%,#18ab7b18,transparent 60%);border-radius:100%}
.hr-workspace .hr-header h1{font-size:26px;margin:0 0 5px;line-height:1.2;letter-spacing:-.3px}
.hr-workspace .hr-header p{font-size:13px;color:#536b60}
.hr-workspace .hr-eyebrow{font-size:10px;margin-bottom:4px}
.hr-hub-main-tabs{gap:5px}.hr-hub-main-tab{min-height:48px;border-radius:10px 10px 0 0;font-size:15px;background:#f9fbfc;border-color:#d3e2dc;box-shadow:none}
.hr-hub-main-tab.active{background:linear-gradient(110deg,#009b61,#007849);border-color:#008a5c}
.hr-hub-tab-icon{font-size:22px}
.hr-hub-nav{margin-bottom:10px}.hr-hub-context-tools{border-radius:0 0 9px 9px;padding:4px 8px}
.hr-workspace .hr-metrics{gap:8px;margin:0 0 10px}
.hr-workspace .hr-metric{min-height:84px;border-radius:10px;padding:12px 16px}
.hr-workspace .hr-metric strong{font-size:26px;margin-top:4px}
.hr-workspace .hr-metric small{font-size:12px;color:#274739}
.hr-workspace .hr-metric-icon{top:19px;right:15px;width:45px;height:45px;border-radius:50%;background:#fff9;font-size:24px}
.hr-workspace .hr-metric:nth-child(4){background:#fff0f1}
.hr-hub-content{grid-template-columns:minmax(0,1fr) 250px;gap:10px}
.hr-workspace .hr-surface{border-radius:12px;padding:12px 13px;box-shadow:0 2px 7px #10452c0c;margin-bottom:10px}
.hr-hub-registry .hr-surface-title{margin-bottom:10px}
.hr-hub-registry .hr-surface-title h2{font-size:17px}
.hr-hub-registry .hr-surface-title p{font-size:11px;margin-top:2px}
.hr-hub-true-data{color:#82958d;font-weight:500;font-size:11px}
.hr-hub-registry .hr-filters{gap:6px;margin-bottom:10px;flex-wrap:nowrap}
.hr-hub-registry .hr-filters .hr-search{min-width:160px;flex:1 1 210px}
.hr-hub-registry .hr-filters>label:not(.hr-search){gap:5px}
.hr-hub-registry .hr-filters select{min-width:98px;max-width:150px}
.hr-workspace .hr-filters input,.hr-workspace .hr-filters select{padding:7px 9px;min-height:35px}
.hr-workspace .hr-button{min-height:35px;padding:7px 10px;border-radius:7px}
.hr-hub-table{min-width:750px}
.hr-hub-table thead th{padding:8px 8px;background:#dff3ea;color:#184e38}
.hr-hub-table tbody td{padding:7px 8px;line-height:1.25}
.hr-hub-table tbody tr:nth-child(even){background:#f5f8f9}
.hr-hub-table tbody tr:hover{background:#eaf8f1}
.hr-hub-table .hr-pill{padding:4px 9px}
.hr-hub-table .hr-emp-code{padding:4px 6px}
.hr-hub-table .hr-table-wrap{max-height:calc(100vh - 445px)}
.hr-workspace .hr-pagination{padding:10px 2px 0}
.hr-hub-rail .hr-surface{padding:12px 12px}
.hr-hub-rail .hr-surface-title{margin-bottom:8px}
.hr-hub-quick{padding:8px 3px;font-size:12px;min-height:42px}
.hr-hub-quick-icon{width:27px;height:27px}
.hr-hub-summary-row{padding:9px 0}
.hr-hub-rail-hint{line-height:1.5}
@media(max-width:1300px){.hr-hub-registry .hr-filters{flex-wrap:wrap}.hr-hub-registry .hr-filters .hr-search{flex:2 1 240px}}
@media(max-width:1100px){.hr-hub-content{grid-template-columns:1fr}.hr-hub-rail{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}
@media(max-width:680px){.hr-workspace{padding:4px 2px 20px}.hr-workspace .hr-header{min-height:85px;padding:8px 8px 12px 64px}.hr-workspace .hr-header:before{left:4px;top:10px;width:52px;height:52px;font-size:28px}.hr-workspace .hr-header h1{font-size:19px}.hr-hub-main-tab{font-size:11px;min-height:43px;gap:3px}.hr-hub-tab-icon{font-size:16px}.hr-workspace .hr-metrics{gap:6px}.hr-workspace .hr-metric{min-height:74px;padding:10px}.hr-workspace .hr-metric strong{font-size:21px}.hr-workspace .hr-metric-icon{width:28px;height:28px;right:7px;top:24px;font-size:18px}.hr-hub-registry .hr-filters{flex-wrap:wrap}.hr-hub-registry .hr-filters .hr-search{flex:1 1 100%}.hr-hub-true-data{display:none}.hr-hub-rail{grid-template-columns:1fr}.hr-hub-table{min-width:730px}}
@media print{.hr-workspace .hr-header:after{display:none}.hr-hub-rail,.hr-hub-nav,.hr-hub-registry .hr-filters{display:none!important}.hr-hub-content{display:block}.hr-workspace .hr-table-wrap{max-height:none;overflow:visible}}

/* R173 · HR Dashboard mockup. Styles scoped entirely to HR workspace. */
.hr-workspace{padding:7px 10px 32px;background:#f7fbfa;--hr-blue:#008e59}
.hr-workspace .hr-header{padding:16px 20px 16px 100px;min-height:116px;border-radius:17px;background:linear-gradient(111deg,#f7fefa 0%,#eefbf6 52%,#e5f9f3 100%);margin-bottom:12px}
.hr-workspace .hr-header:before{content:'♟';font-size:36px;top:25px;left:22px;width:63px;height:63px;background:linear-gradient(145deg,#00a36a,#08744e);border-radius:18px;color:white}
.hr-workspace .hr-header h1{font-size:26px;font-weight:860}
.hr-workspace .hr-header-context{background:#fff;border:1px solid #d9ebe4}
.hr173-top-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:0 0 14px}
.hr173-stat{display:flex;align-items:center;gap:11px;min-width:0;min-height:94px;border:1px solid #d7e9e4;border-radius:14px;padding:15px 12px;background:#effcf6;box-shadow:0 3px 14px #164a350b}
.hr173-stat.active{background:#f0fff5}.hr173-stat.trial{background:#eef7ff}.hr173-stat.contract{background:#fff9ea}.hr173-stat.leave{background:#f8f3ff}.hr173-stat.ot{background:#fff1f8}
.hr173-stat-icon{flex:0 0 42px;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;color:#008a5b;background:#d8f9e8;font-size:25px}
.hr173-stat.trial .hr173-stat-icon{background:#dfefff;color:#237bd1}.hr173-stat.contract .hr173-stat-icon{background:#fff0c9;color:#d59114}.hr173-stat.leave .hr173-stat-icon{background:#eee2ff;color:#8760d2}.hr173-stat.ot .hr173-stat-icon{background:#ffe1ee;color:#c94589}
.hr173-stat small{display:block;color:#294c3f;font-size:11px;font-weight:700;line-height:1.35}
.hr173-stat strong{font-size:26px;line-height:1.25;display:block;color:#0c2432;margin-top:5px;font-weight:900;white-space:nowrap}
.hr173-stat em{font-size:11px;font-weight:500;font-style:normal}
.hr-hub-nav{margin:0 0 13px}.hr-hub-main-tabs{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:0;border:1px solid #dcebe5;border-radius:12px;overflow:hidden;background:white}
.hr-hub-main-tab{min-height:52px;border:0;border-right:1px solid #e7efea;border-radius:0;box-shadow:none;background:linear-gradient(#fff,#f8fbfa);font-size:13px;gap:6px;line-height:1.2;padding:6px}
.hr-hub-main-tab:last-child{border-right:0}.hr-hub-main-tab.active{background:linear-gradient(125deg,#009c60,#007c50);border:0;color:white}
.hr-hub-tab-icon{font-size:18px}.hr-hub-tools{margin:0;background:#fafffb}
.hr173-top-charts{display:grid;grid-template-columns:1.03fr 1.1fr .9fr;gap:10px;margin:0 0 11px;align-items:stretch}
.hr173-card{background:#fff;border:1px solid #e0ebe5;border-radius:14px;box-shadow:0 3px 15px #194c320a;min-width:0;min-height:210px;padding:15px}
.hr173-card h2,.hr173-rail .hr-surface h2{color:#173f32;font-size:14px;font-weight:850;margin:0 0 15px}
.hr173-dept-body{display:flex;align-items:center;justify-content:center;gap:15px;min-height:153px}
.hr173-donut{width:145px;min-width:145px;height:145px;border-radius:50%;display:grid;place-items:center}.hr173-donut>div{width:60%;height:60%;background:white;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center}.hr173-donut small{color:#708b81;font-size:11px}.hr173-donut strong{color:#162f2a;font-size:20px}.hr173-donut em{font-size:10px;font-style:normal}
.hr173-chart-legend{flex:1;min-width:0;display:grid;gap:6px}.hr173-chart-legend>div{display:flex;align-items:center;gap:6px;font-size:10px;color:#294338}.hr173-chart-legend>div i{width:10px;height:10px;border-radius:50%;flex-shrink:0}.hr173-chart-legend>div span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.hr173-chart-legend b{font-size:10px;white-space:nowrap}
.hr173-empty-chart{display:grid;place-items:center;text-align:center;color:#71887c;min-height:151px;font-size:12px}
.hr173-footnote{display:block;font-size:10px;color:#81978c;margin-top:7px}
.hr173-chartblank{min-height:155px;border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#809a90;background:repeating-linear-gradient(0deg,transparent,transparent 32px,#e6f2ed 33px,#e6f2ed 34px);text-align:center;gap:4px}.hr173-chartblank span{font-size:23px}.hr173-chartblank p{font-size:12px;font-weight:700;margin:0}.hr173-chartblank small{font-size:10px}
.hr173-money-row{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:10px 6px;border-bottom:1px solid #ebf0ec;font-size:12px}.hr173-money-row span{color:#456b58}.hr173-money-row strong{font-variant-numeric:tabular-nums;color:#1a3130;font-size:12px;white-space:nowrap}.hr173-money-row.total{background:#e1f7e9;border-radius:9px;font-weight:800;margin-top:10px;padding:11px 9px}.hr173-money-row.total strong{font-size:14px}
.hr173-lower{grid-template-columns:minmax(0,1fr) 300px;align-items:start;gap:10px}.hr173-lower>.hr-surface{padding:15px 15px}.hr-hub-registry .hr-filters{flex-wrap:wrap}.hr-hub-registry .hr-filters .hr-search{min-width:200px}
.hr173-rail .hr-surface{padding:14px;margin:0 0 10px}.hr173-quick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.hr173-quick{border:1px solid #d7e6df;border-radius:10px;background:#fbfffd;color:#28533b;font:inherit;font-size:11px;cursor:pointer;padding:11px 3px;display:grid;gap:7px;place-items:center;line-height:1.2;text-align:center;min-height:74px}.hr173-quick span{font-size:22px;color:#078653}.hr173-quick:hover{background:#e6f9ef}
.hr173-activity{display:flex;align-items:center;justify-content:space-between;gap:7px;width:100%;font:inherit;font-size:11px;color:#385847;background:#fff;border:0;border-top:1px solid #edf1ee;padding:12px 3px;text-align:left;cursor:pointer}.hr173-activity strong{color:#b24862;white-space:nowrap}.hr173-activity.muted{cursor:default}.hr173-activity[disabled]{opacity:.75;cursor:default}
.hr173-person{display:flex;align-items:center;gap:9px}.hr173-avatar{border-radius:50%;background:#dcf7e8;width:33px;height:33px;display:grid;place-items:center;color:#0d7051;font-size:16px;flex-shrink:0}
.hr173-table{min-width:920px}.hr173-table thead th{background:#dff4e8}.hr173-table td{vertical-align:middle}.hr173-table .hr-col-action{white-space:nowrap;display:table-cell}.hr173-view{border:0;background:none;color:#166d4e;font-size:17px;cursor:pointer;padding:2px 6px}.hr173-view:hover{color:#08995c}.hr173-table .hr-hub-row-menu{vertical-align:middle}.hr173-table .hr-hub-row-menu summary{background:transparent;color:#27694c}
@media(max-width:1450px){.hr173-top-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.hr173-top-charts{grid-template-columns:1fr 1fr}.hr173-payroll-card{grid-column:1/-1}.hr173-lower{grid-template-columns:1fr 280px}}
@media(max-width:1050px){.hr-hub-main-tabs{overflow-x:auto;display:flex}.hr-hub-main-tab{flex:1 0 150px}.hr173-lower{grid-template-columns:1fr}.hr173-rail{display:grid;grid-template-columns:1fr 1fr;gap:10px}}
@media(max-width:680px){.hr173-top-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.hr173-stat{min-height:78px;padding:8px;gap:6px}.hr173-stat small{font-size:10px}.hr173-stat strong{font-size:19px}.hr173-stat-icon{width:30px;height:30px;flex-basis:30px;font-size:16px}.hr173-top-charts{grid-template-columns:1fr}.hr173-payroll-card{grid-column:auto}.hr173-rail{grid-template-columns:1fr}.hr173-dept-body{flex-direction:column}.hr173-chart-legend{width:100%}.hr173-quick-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media print{.hr173-top-metrics,.hr173-top-charts,.hr173-rail,.hr-hub-nav{display:none!important}.hr173-lower{display:block}.hr173-lower .hr-table-wrap{max-height:none;overflow:visible}}

/* R174: popup centre for employee add/edit only. Keep employee detail drawer, org editor, and other HR forms unchanged. */
.hr174-employee-dialog,.hr174-employee-dialog *{box-sizing:border-box}
.hr-hub-edit-dialog.hr174-employee-dialog{position:fixed;inset:auto;left:50%;top:50%;right:auto;bottom:auto;transform:translate(-50%,-50%);margin:0;width:min(1060px,calc(100vw - 36px));max-width:1060px;max-height:min(91dvh,930px);height:auto;overflow:hidden;border:1px solid #e2ece5;border-radius:19px;box-shadow:0 30px 90px rgba(7,37,24,.32);background:#fff;color:#193b2b}
.hr174-employee-dialog::backdrop{background:rgba(18,41,45,.54);backdrop-filter:blur(2px)}
.hr-hub-edit-dialog.hr174-employee-dialog .hr-dialog-inner{height:auto;max-height:min(91dvh,930px);width:100%;border:0;border-radius:19px;background:#fff;overflow:hidden}
.hr174-employee-dialog .hr174-dialog-head{flex-shrink:0;display:flex;gap:15px;align-items:center;padding:22px 28px 17px;border:0;background:#fff}
.hr174-head-icon{flex:none;display:grid;place-items:center;width:53px;height:53px;border-radius:14px;font-size:30px;color:#006a44;background:linear-gradient(135deg,#e8f6ef,#cae9dc)}
.hr174-head-text{flex:1;min-width:0}.hr174-head-text h2{font-size:23px;line-height:1.2;font-weight:800;color:#112e23;margin:0}.hr174-head-text p{color:#75877e;font-size:12px;margin:6px 0 0}
.hr174-employee-dialog .hr174-close{background:#f1f5f3;border-radius:12px;width:37px;height:37px;color:#60736a;font-size:24px}
.hr174-stepper{flex-shrink:0;display:flex;align-items:center;justify-content:center;gap:12px;padding:2px 28px 22px;border-bottom:1px solid #f1f4f2}
.hr174-step{display:flex;align-items:center;gap:10px;border:0;background:transparent;font-size:13px;font-weight:700;color:#707d86;cursor:pointer;white-space:nowrap}
.hr174-step:disabled{cursor:default;opacity:.68}.hr174-step-number{display:grid;place-items:center;flex:none;width:38px;height:38px;border:1px solid #ccd6db;border-radius:50%;font-size:15px;font-weight:700;background:#fff;color:#566b78}
.hr174-step.active{color:#007044}.hr174-step.active .hr174-step-number{background:#078652;color:white;border-color:#078652;box-shadow:0 3px 8px rgba(0,116,70,.15)}
.hr174-step.done .hr174-step-number{color:#027a4a;border-color:#5bb88d;background:#effaf3}
.hr174-step-connector{width:110px;max-width:9vw;height:2px;background:#d8e0dc;flex-shrink:1}.hr174-step:has(+.hr174-step-connector)+.hr174-step-connector{background:#cad8d0}
.hr174-wizard-main{display:grid;grid-template-columns:230px minmax(0,1fr);gap:19px;padding:15px 24px 15px;min-height:354px;overflow:auto;flex:1}
.hr174-wizard-aside{position:relative;display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;border-radius:14px;background:linear-gradient(160deg,#eff9f3 0%,#e5f5ec 100%);padding:20px 17px 21px;min-height:312px;color:#14593f}
.hr174-wizard-aside small{font-size:12px;font-weight:600;color:#507d67}.hr174-wizard-aside h3{font-size:19px;color:#075e3e;margin:7px 0 7px}
.hr174-wizard-aside p{font-size:12px;color:#567f6c;line-height:1.7;margin:0 0 17px}.hr174-aside-foot{font-size:10px;color:#769987;line-height:1.4}
.hr174-id-graphic{width:116px;height:107px;border:3px solid #8bcaa9;border-radius:11px;position:relative;align-self:center;margin:auto auto 17px;transform:rotate(-7deg);opacity:.9}
.hr174-id-punch{position:absolute;top:-19px;left:43px;width:29px;height:24px;border:8px solid #5baf86;border-bottom:0;border-radius:12px 12px 0 0}
.hr174-id-head{position:absolute;top:22px;left:39px;width:30px;height:30px;background:#86c7a5;border-radius:50%}
.hr174-id-shoulders{position:absolute;left:24px;top:55px;width:62px;height:37px;background:#86c7a5;border-radius:40px 40px 11px 11px}
.hr174-id-plus{position:absolute;right:-16px;bottom:-14px;display:grid;place-items:center;background:#008351;color:white;width:43px;height:43px;border-radius:50%;font-size:26px;font-weight:700;border:4px solid #e4f4eb;transform:rotate(7deg)}
.hr174-employee-dialog .hr174-wizard-body{overflow:auto;min-width:0;padding:5px 7px 8px 0}
.hr174-panel-head{display:flex;align-items:center;gap:11px;margin:0 0 21px}.hr174-panel-icon{font-size:25px;color:#077c4b}
.hr174-panel-head h3{font-size:17px;font-weight:800;margin:0;color:#15382a}.hr174-panel-head p{margin:5px 0 0;color:#819087;font-size:12px}
.hr174-employee-dialog .hr-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:19px 22px}
.hr174-employee-dialog .hr-field{font-weight:700;font-size:13px;gap:8px;color:#243b2e}
.hr174-employee-dialog .hr-field input,.hr174-employee-dialog .hr-field select,.hr174-employee-dialog .hr-field textarea{border:1px solid #cbdad3;border-radius:9px;padding:11px 12px;font-size:13px;min-height:40px;color:#273d33}
.hr174-employee-dialog .hr-field input:focus,.hr174-employee-dialog .hr-field select:focus,.hr174-employee-dialog .hr-field textarea:focus{border-color:#04814f;box-shadow:0 0 0 3px rgba(7,128,79,.12)}
.hr174-soft-tip{padding:16px 18px;margin-top:25px;border:1px solid #d6eadf;background:#f5fbf7;border-radius:11px;color:#266b4e;font-size:12px}.hr174-soft-tip p{margin:5px 0 0;line-height:1.6;color:#648274}
.hr174-wizard-info{font-size:11px;margin:17px 0 2px;color:#899b8d}
.hr174-step-panel[hidden],.hr174-form-error[hidden],.hr174-dialog-footer [hidden]{display:none!important}
.hr174-employee-dialog .hr174-form-error{margin:0 26px 4px;padding:10px 14px;border-radius:8px;background:#fff0ef;color:#ab3c34;border:1px solid #f1c6c2;font-size:12px}
.hr174-employee-dialog .hr174-dialog-footer{flex-shrink:0;display:flex;align-items:center;gap:10px;border-top:1px solid #e5ede8;padding:15px 25px 17px;background:#fff}
.hr174-footer-spacer{flex:1}.hr174-dialog-footer .hr-button{min-height:42px;padding:10px 19px;font-size:13px;border-radius:9px}
.hr174-dialog-footer .hr-button.primary{background:#007848;color:#fff;border-color:#007848;min-width:122px;box-shadow:0 2px 4px rgba(0,111,67,.15)}.hr174-dialog-footer .hr-button.primary:hover{background:#006c40}
@media(max-width:760px){.hr-hub-edit-dialog.hr174-employee-dialog{width:calc(100vw - 20px);max-height:96dvh}.hr-hub-edit-dialog.hr174-employee-dialog .hr-dialog-inner{max-height:96dvh}.hr174-wizard-main{grid-template-columns:1fr;min-height:0;padding:12px 18px}.hr174-wizard-aside{display:none}.hr174-stepper{gap:5px;padding:8px 10px 16px}.hr174-step-label{font-size:11px;white-space:normal}.hr174-step-number{width:28px;height:28px;font-size:12px}.hr174-step-connector{width:18px}.hr174-employee-dialog .hr174-dialog-head{padding:15px}.hr174-employee-dialog .hr174-dialog-footer{padding:10px}.hr174-employee-dialog .hr-form-grid{gap:12px}.hr174-head-text h2{font-size:19px}}
@media(max-width:480px){.hr174-employee-dialog .hr-form-grid{grid-template-columns:1fr}.hr174-step-label{font-size:10px}.hr174-step-connector{width:5px}.hr174-dialog-footer .hr-button{padding:8px 11px;font-size:12px}}
@media(prefers-reduced-motion:no-preference){.hr174-employee-dialog{animation:hr174-enter .14s ease-out}@keyframes hr174-enter{from{opacity:.65;transform:translate(-50%,-48%)}to{opacity:1;transform:translate(-50%,-50%)}}}

/* R175: restore approved centered HR employee wizard layout and 10 basic fields. */
.hr-hub-edit-dialog.hr174-employee-dialog{width:min(1120px,calc(100vw - 38px));max-width:1120px;max-height:min(94dvh,940px);border-radius:20px}
.hr-hub-edit-dialog.hr174-employee-dialog .hr-dialog-inner{max-height:min(94dvh,940px)}
.hr174-employee-dialog .hr174-dialog-head{padding:24px 29px 19px}
.hr174-head-text h2{font-size:25px}
.hr174-stepper{padding:5px 30px 21px;gap:13px}
.hr174-step{font-size:14px}
.hr174-step-number{width:40px;height:40px}
.hr174-step-connector{width:90px}
.hr174-wizard-main{grid-template-columns:245px minmax(0,1fr);min-height:440px;gap:23px;padding:17px 23px 17px;overflow:auto}
.hr174-wizard-aside{min-height:435px;padding:21px 19px}
.hr174-id-graphic{width:130px;height:117px}
.hr174-employee-dialog .hr174-wizard-body{padding:4px 6px 9px 0}
.hr174-panel-head{margin-bottom:16px}
.hr174-employee-dialog .hr-form-grid{row-gap:14px;column-gap:21px}
.hr174-employee-dialog .hr-field{font-size:13px;gap:7px}
.hr174-employee-dialog .hr-field input,.hr174-employee-dialog .hr-field select{padding:9px 12px;min-height:39px}
.hr175-field>span{display:flex;align-items:center;gap:7px}
.hr175-field-icon{display:inline-grid;place-items:center;color:#007b4e;font-size:17px;font-family:Arial,'Segoe UI Symbol',sans-serif;font-weight:700;font-style:normal;line-height:1;min-width:17px}
.hr175-review-title{font-size:13px;color:#4a6858;margin:0 0 12px}
.hr175-review-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.hr175-review-grid>div{border:1px solid #dceae2;border-radius:10px;padding:14px;background:#fcfffd}
.hr175-review-grid small{display:block;color:#667f70;margin-bottom:6px;font-size:11px}
.hr175-review-grid strong{display:block;color:#143a29;overflow-wrap:anywhere;font-size:13px}
.hr175-review-edit{margin-top:15px}
.hr174-employee-dialog .hr174-dialog-footer{padding:15px 27px}
@media(max-width:760px){
 .hr-hub-edit-dialog.hr174-employee-dialog{width:calc(100vw - 20px);max-height:96dvh}
 .hr-hub-edit-dialog.hr174-employee-dialog .hr-dialog-inner{max-height:96dvh}
 .hr174-wizard-main{grid-template-columns:1fr;min-height:0;padding:12px 18px}
 .hr174-wizard-aside{display:none}
 .hr174-employee-dialog .hr-form-grid{row-gap:12px}
}
@media(max-width:480px){.hr175-review-grid{grid-template-columns:1fr}}

/* R176: Approved HR organization two-panel center popup. Scoped exclusively to hr176-org-dialog. */
.hr176-org-dialog{box-sizing:border-box;position:fixed;inset:0;margin:auto;width:min(1080px,calc(100vw - 44px));max-width:1080px;max-height:min(93dvh,890px);padding:0;border:0;border-radius:19px;background:white;color:#163327;box-shadow:0 23px 64px #051e1b72;overflow:hidden}
.hr176-org-dialog::backdrop{background:rgba(16,34,37,.54);backdrop-filter:blur(3px)}
.hr176-org-dialog *{box-sizing:border-box}
.hr176-org-dialog .hr176-org-form{display:flex;flex-direction:column;max-height:min(93dvh,890px);min-height:min(620px,86dvh);margin:0;font-family:inherit}
.hr176-modal-header{display:flex;align-items:center;gap:16px;position:relative;flex-shrink:0;min-height:135px;padding:22px 28px;background:linear-gradient(115deg,#f9fdfb 20%,#e2f9f0 70%,#d4f4e7 100%);border-bottom:1px solid #d9e7e0}
.hr176-modal-icon{width:72px;height:72px;display:grid;place-items:center;border-radius:17px;background:linear-gradient(150deg,#029563,#006a43);color:#fff;font-size:42px;box-shadow:0 6px 14px #067c5632;flex-shrink:0}
.hr176-modal-title{flex:1;min-width:200px}.hr176-modal-title h2{font-size:27px;line-height:1.25;margin:0 0 8px;color:#0e4d38;font-weight:800}.hr176-modal-title p{font-size:13px;color:#526d63;margin:0;line-height:1.55}
.hr176-summary{display:flex;align-items:center;gap:8px;margin-left:auto;margin-right:34px}.hr176-summary small{font-size:12px;white-space:nowrap;color:#667a72;margin-right:5px}.hr176-summary span{display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap;padding:9px;border:1px solid #d3e7de;border-radius:12px;background:#fff;min-width:98px;font-size:11px;color:#36564a}.hr176-summary span b{font-size:18px;color:#089461}.hr176-summary span strong{display:block;width:100%;font-size:13px;text-align:center;color:#19382b}
.hr176-modal-close{position:absolute;right:20px;top:19px;display:grid;place-items:center;width:35px;height:35px;border:0;border-radius:50%;background:#f2f6f4;color:#334a42;font-size:25px;cursor:pointer}
.hr176-org-columns{display:grid;grid-template-columns:1fr 1fr;gap:16px;min-height:0;flex:1;overflow-y:auto;padding:20px 24px;background:#fff}
.hr176-org-panel{min-width:0;margin:0;padding:0 18px 15px;border:1px solid #d5e8e1;border-radius:15px;background:#fff;box-shadow:0 4px 11px #075c3e0b}
.hr176-org-panel:disabled,.hr176-org-panel[disabled]{opacity:.56}.hr176-org-panel .sr-only{position:absolute;left:-9999px}
.hr176-panel-head{display:flex;gap:12px;align-items:center;margin:0 -18px 19px;padding:16px 18px;background:linear-gradient(115deg,#f0fcf5,#e7f8f3);border-radius:15px 15px 12px 12px}
.hr176-panel-icon{display:grid;place-items:center;width:49px;height:49px;border-radius:12px;background:#cdf4df;color:#007647;font-size:28px}
.hr176-panel-head h3{font-size:22px;color:#0b704c;margin:0 0 4px;font-weight:800}.hr176-panel-head p{font-size:12px;color:#617971;margin:0}
.hr176-panel-fields{display:flex;flex-direction:column;gap:16px}
.hr176-field{display:flex;flex-direction:column;gap:7px;font-size:13px;color:#263e34;font-weight:650}.hr176-field b{color:#e43f48}
.hr176-field input,.hr176-field select,.hr176-field textarea{width:100%;min-height:37px;padding:9px 11px;border:1px solid #cbd9d3;border-radius:9px;background:#fff;color:#183b2e;font:inherit;font-size:13px;outline:none;box-shadow:none}
.hr176-field textarea{resize:vertical;min-height:83px;line-height:1.45}.hr176-field input:focus,.hr176-field select:focus,.hr176-field textarea:focus{border-color:#00a36b;box-shadow:0 0 0 3px #24b38622}.hr176-field input[readonly]{background:#f0f6f3;color:#65776e}
.hr176-modal-footer{display:flex;align-items:center;justify-content:center;gap:14px;flex-shrink:0;background:#f4fcf8;border-top:1px solid #deeee6;padding:12px 20px;min-height:72px}
.hr176-modal-footer button{font-family:inherit;font-size:14px;font-weight:750;min-width:128px;min-height:40px;border-radius:11px;cursor:pointer}.hr176-cancel{color:#48645a;background:#fff;border:1px solid #d3e3dd}.hr176-save{color:#fff;background:#00895c;border:1px solid #00895c;box-shadow:0 3px 8px #0c8f5c2e}.hr176-save:disabled{opacity:.65;cursor:wait}
.hr176-error{padding:10px 24px;background:#fff2f2;color:#9e2222;border-top:1px solid #f5caca;font-size:13px}
@media(max-width:820px){.hr176-summary{display:none}.hr176-modal-title h2{font-size:21px}.hr176-modal-header{min-height:95px;padding:16px 23px}.hr176-modal-icon{width:51px;height:51px;font-size:28px}.hr176-org-columns{grid-template-columns:1fr;padding:12px}.hr176-org-dialog,.hr176-org-dialog .hr176-org-form{max-height:95dvh;min-height:0}.hr176-org-dialog{width:calc(100vw - 16px)}.hr176-panel-head h3{font-size:19px}.hr176-org-panel{padding-bottom:16px}}
@media(max-width:480px){.hr176-modal-header{padding:15px 12px;gap:10px;padding-right:42px}.hr176-modal-title h2{font-size:18px}.hr176-modal-title p{font-size:11px}.hr176-modal-close{right:8px;top:8px}.hr176-field{font-size:12px}}
@media print{.hr176-org-dialog{display:none!important}}
/* R176 desktop fit: both panels and their final notes stay visible at common 900px heights. */
@media(min-width:821px){.hr176-panel-fields{gap:9px}.hr176-panel-head{margin-bottom:12px;padding-top:12px;padding-bottom:12px}.hr176-org-columns{padding-top:16px;padding-bottom:16px}.hr176-field{gap:5px}.hr176-field textarea{min-height:71px}}
