/* POS-X R182 HR Dashboard — pixel-oriented alignment to approved Sol mockup. HR scope only. */
body:has(.hr182) .workspace{padding:0!important}
#page-content:has(> .hr182){padding:0!important;max-width:none!important;width:100%!important;margin:0!important;background:#f7faf9!important}
.hr182{--g:#006b49;--g2:#0aa866;--ink:#14223d;--muted:#637470;--line:#dfe8e4;--panel:#fff;--bg:#f7faf9;background:var(--bg)!important;color:var(--ink);padding:0!important;min-height:calc(100vh - 60px);font-family:Tahoma,Arial,sans-serif;font-size:13px}
.hr182 *{box-sizing:border-box}.hr182 button,.hr182 select{font:inherit}
.hr182-layout{display:grid;grid-template-columns:240px minmax(0,1fr);width:100%;max-width:none;margin:0;min-height:calc(100vh - 60px);background:#fff}
.hr182-side{background:linear-gradient(180deg,#075c43 0%,#00764f 100%);color:#fff;padding:23px 12px 20px;position:relative;overflow:hidden;min-height:calc(100vh - 60px)}
.hr182-side-title{display:flex;align-items:center;gap:13px;padding:11px 12px 19px;border-bottom:1px solid #ffffff42;font-size:17px}.hr182-side-title svg{width:23px;height:23px}.hr182-side-title svg:last-child{margin-left:auto;width:17px}
.hr182-side-module{margin:17px 0 9px;border-radius:10px;background:#09825a;padding:12px 11px;display:flex;align-items:center;gap:10px;font-size:15px;box-shadow:inset 0 0 0 1px #ffffff0c}.hr182-side-module svg{width:23px}
.hr182-side-links{display:grid;gap:3px}.hr182-side-link{border:0;background:transparent;color:white;border-radius:8px;display:flex;gap:13px;align-items:center;text-align:left;padding:11px 11px;font-weight:700;cursor:pointer;font-size:14px}.hr182-side-link svg{width:21px;height:21px}.hr182-side-link.active{background:#dff8eb;color:#064c36;box-shadow:0 1px 4px #002b1b20}.hr182-side-link:hover:not(.active){background:#ffffff16}
.hr182-side-watermark{position:absolute;left:28px;bottom:8px;opacity:.19}.hr182-side-watermark svg{width:170px;height:170px;stroke-width:1.45}
.hr182-main{padding:22px 28px 18px;min-width:0;background:#fbfdfc}
.hr182-breadcrumb{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:700;color:#39715d;margin:0 0 13px}.hr182-breadcrumb svg{width:16px}.hr182-breadcrumb strong{color:#116b4b}
.hr182-header{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:14px;min-height:92px}
.hr182-title-wrap{display:flex;align-items:center;gap:17px}.hr182-brand-icon{height:82px;width:82px;flex:0 0 82px;border-radius:18px;display:grid;place-items:center;color:#fff;background:linear-gradient(145deg,#0bb872,#00623f);box-shadow:0 8px 20px #005e3e35}.hr182-brand-icon svg{width:48px;height:48px;stroke-width:1.9}
.hr182-title-wrap h1{margin:0 0 7px;font-size:30px;line-height:1.15;font-weight:900;color:#13223d;letter-spacing:-.4px}.hr182-title-wrap p{margin:0;font-size:13px;color:#64766f;font-weight:600}
.hr182-header-tools{display:flex;align-items:flex-end;gap:10px;flex-direction:column}.hr182-month-picker{height:52px;display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #d7e3de;border-radius:12px;padding:0 13px;box-shadow:0 2px 8px #0a432519;font-weight:800;color:#17382c}.hr182-month-picker>svg:first-child{width:24px;color:#09935f}.hr182-month-picker>svg:last-child{width:16px}.hr182-month-picker select{border:0!important;outline:0;background:transparent!important;appearance:none;font-weight:800;color:#14223d;min-width:176px;padding:0!important;font-size:14px}.hr182-updated{display:flex;align-items:center;gap:6px;color:#63756e;font-size:11px}.hr182-updated svg{width:14px}
.hr182-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:#fff;border:1px solid #dce7e2;border-radius:15px;box-shadow:0 4px 14px #0e3d2413;margin-bottom:16px;overflow:hidden}
.hr182-metric{height:104px;display:flex;align-items:center;gap:16px;padding:16px 24px;position:relative}.hr182-metric:not(:last-child):after{content:'';position:absolute;right:0;top:19px;bottom:19px;width:1px;background:#cfdad5}.hr182-metric:before{content:'';position:absolute;left:0;right:0;bottom:0;height:3px}.hr182-metric.green:before{background:#15be70}.hr182-metric.blue:before{background:#278fe7}.hr182-metric.amber:before{background:#f3ac0d}
.hr182-metric-icon{height:60px;width:60px;display:grid;place-items:center;flex:0 0 60px}.hr182-metric-icon svg{width:50px;height:50px;stroke-width:1.8}.hr182-metric.green .hr182-metric-icon{color:#0caf68}.hr182-metric.blue .hr182-metric-icon{color:#1d87dc}.hr182-metric.amber .hr182-metric-icon{color:#f0a400}
.hr182-metric-body{min-width:0;flex:1}.hr182-metric-body>b{font-size:16px}.hr182-metric-value{font-size:31px;font-weight:900;color:#101d37;margin-top:4px;white-space:nowrap;font-variant-numeric:tabular-nums;line-height:1}.hr182-metric-value small{font-size:13px;margin-left:4px}
.hr182-delta{min-width:94px;border-radius:10px;padding:8px 10px;text-align:center;display:flex;flex-direction:column;gap:2px;background:#f4f7f5}.hr182-delta b{font-size:16px}.hr182-delta small{font-size:10px;color:#6d7d76}.hr182-delta.good{background:#ecf9ef;color:#11863f}.hr182-delta.bad{background:#fff0ef;color:#d23e35}.hr182-delta.neutral{background:#f3f6f4;color:#65726c}
.hr182-middle{display:grid;grid-template-columns:minmax(0,1.47fr) minmax(390px,1fr);gap:16px;margin-bottom:16px}.hr182-bottom{display:grid;grid-template-columns:minmax(0,.83fr) minmax(0,1fr);gap:16px}
.hr182-panel{background:#fff;border:1px solid #dfe7e3;border-radius:15px;box-shadow:0 4px 14px #143c2810;padding:16px 18px;min-width:0}
.hr182-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.hr182-panel-head h2{margin:0;display:flex;align-items:center;gap:9px;font-size:18px;color:#172641;font-weight:900}.hr182-panel-head h2 svg{width:22px;color:#0aaa62}.hr182-panel-head button{border:0;border-radius:9px;background:#078b57;color:#fff;padding:10px 13px;font-weight:800;cursor:pointer;display:flex;align-items:center;gap:7px;font-size:12px}.hr182-panel-head button svg{width:16px}
.hr182-cost,.hr182-structure{height:276px}.hr182-chart-wrap{position:relative;margin-top:5px;height:228px}.hr182-chart-legend{display:flex;gap:19px;justify-content:flex-end;font-size:11px;color:#3d5047;margin-right:10px;height:18px}.hr182-chart-legend span{display:flex;align-items:center;gap:6px}.hr182-chart-legend i.bar{width:14px;height:14px;border-radius:3px;background:#8fe8b7}.hr182-chart-legend i.line{width:20px;height:2px;background:#06734d;position:relative}.hr182-chart-legend i.line:after{content:'';position:absolute;width:7px;height:7px;border-radius:50%;background:#06734d;left:7px;top:-2.5px}
.hr182-chart-svg{width:100%;height:204px;display:block}.hr182-gridline{stroke:#dfe7e4;stroke-width:1}.hr182-axis,.hr182-month{fill:#42504a;font-size:10px;font-weight:700}.hr182-bar{fill:#9deabe;opacity:.9}.hr182-bar.muted{opacity:.45}.hr182-line{fill:none;stroke:#0a6f4c;stroke-width:3;stroke-linejoin:round;stroke-linecap:round}.hr182-point{fill:#fff;stroke:#0a8959;stroke-width:3}.hr182-callout rect{fill:#006944}.hr182-callout text{fill:#fff;font-size:10px;font-weight:800}.hr182-empty-trend{stroke:#89bda7;stroke-width:2;stroke-dasharray:6 5}
.hr182-chart-empty-note{position:absolute;inset:62px 80px 30px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;text-align:center;color:#759085;background:#ffffffb5;border-radius:10px}.hr182-chart-empty-note svg{width:27px;height:27px}.hr182-chart-empty-note b{font-size:12px;color:#47665a}.hr182-chart-empty-note span{font-size:10px}
.hr182-empty{min-height:205px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;color:#789086;text-align:center}.hr182-empty.small{min-height:190px}.hr182-empty svg{width:30px;height:30px;color:#82a792}.hr182-empty b{font-size:13px;color:#456557}.hr182-empty span{font-size:10px}
.hr182-breakdown{display:grid;grid-template-columns:205px minmax(0,1fr);align-items:center;gap:16px;padding:7px 2px 0;position:relative}.hr182-donut{height:188px;width:188px;border-radius:50%;background:var(--donut);display:grid;place-items:center;margin:auto;position:relative}.hr182-donut:after{content:'';position:absolute;width:111px;height:111px;border-radius:50%;background:#fff}.hr182-donut>div{z-index:1;text-align:center}.hr182-donut b{display:block;font-size:18px;color:#12223b}.hr182-donut span{font-size:11px;font-weight:800}.hr182-breakdown-list{display:grid;gap:6px}.hr182-breakdown-list>div{display:flex;align-items:center;justify-content:space-between;gap:9px;background:#f5f8f6;border-radius:8px;padding:7px 9px;font-size:12px}.hr182-breakdown-list span{display:flex;align-items:center;gap:8px}.hr182-breakdown-list i{height:13px;width:13px;border-radius:50%;display:inline-block}.hr182-breakdown-list b{font-size:13px}.hr182-breakdown-note{position:absolute;left:0;right:0;bottom:-17px;text-align:center;font-size:9px;color:#84958d}
.hr182-tasks,.hr182-payroll{height:278px}.hr182-task-list{margin-top:8px}.hr182-task-row{width:100%;display:grid;grid-template-columns:24px 28px minmax(0,1fr) 100px 92px 16px;align-items:center;gap:8px;border:0;border-bottom:1px solid #e5ece8;background:#fff;padding:9px 5px;cursor:pointer;color:#192b23;text-align:left;font-size:12px;min-height:39px}.hr182-task-row:hover{background:#f7fbf8}.hr182-task-row>span:first-child{text-align:center;font-weight:800}.hr182-task-icon svg{width:19px;color:#08a15f}.hr182-task-row b{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hr182-task-row em{font-style:normal;text-align:right;white-space:nowrap}.hr182-task-row strong{font-size:11px;border-radius:20px;padding:5px 8px;text-align:center}.hr182-task-row strong.warn{background:#fff0c6;color:#986300}.hr182-task-row strong.danger{background:#ffe0e7;color:#c7254e}.hr182-task-row strong.info{background:#dcecff;color:#1a6da4}.hr182-task-row strong.neutral{background:#e9edef;color:#4d5b62}.hr182-task-row>svg:last-child{width:15px}
.hr182-runno{font-size:10px;color:#73867c;margin:0}.hr182-steps{display:grid;grid-template-columns:repeat(5,1fr);position:relative;margin:20px 7px 15px}.hr182-steps:before{content:'';position:absolute;height:3px;left:8%;right:8%;top:16px;background:#dce4df}.hr182-step{position:relative;display:flex;align-items:center;flex-direction:column;gap:5px;text-align:center;font-size:11px;color:#6f7d77}.hr182-step>span{height:34px;width:34px;border:3px solid #c9d1cd;background:#fff;border-radius:50%;display:grid;place-items:center;font-weight:900;z-index:1}.hr182-step>span svg{width:17px}.hr182-step.done>span{background:#17b970;color:#fff;border-color:#17b970}.hr182-step.current>span{border-color:#168be2;color:#168be2}.hr182-step.done b{color:#15925a}.hr182-step.current b{color:#166cbb}.hr182-step small{min-height:12px;color:#819089;font-size:9px}
.hr182-pay-summary{display:grid;grid-template-columns:repeat(3,1fr);background:#f6faf8;border-radius:11px;padding:11px 7px;margin-top:12px}.hr182-pay-summary>div{display:flex;align-items:center;justify-content:center;gap:9px;border-right:1px solid #dbe5df}.hr182-pay-summary>div:last-child{border-right:0}.hr182-pay-summary svg{width:28px;color:#0a9b5d}.hr182-pay-summary span{display:grid;font-size:10px;color:#617269}.hr182-pay-summary b{font-size:16px;color:#14213b}
.hr182-payroll-empty{min-height:170px;background:#f6faf8;border:1px solid #dfeae4;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;color:#66927d}.hr182-payroll-empty svg{width:33px}.hr182-payroll-empty b{color:#345b48}.hr182-payroll-empty span{font-size:10px}
.hr182-loading{padding:100px;text-align:center;color:#698579}.hr182-report-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:13px}.hr182-report-link{border:1px solid #d8e5de;border-radius:11px;background:#fff;display:flex;align-items:center;gap:10px;padding:16px;color:#1c5940;cursor:pointer}.hr182-report-link>svg{width:25px}.hr182-report-link>svg:last-child{margin-left:auto;width:15px}.hr182-report-link span{display:grid;text-align:left}.hr182-report-link small{font-size:10px;color:#70867a}
@media(min-width:761px){.app:has(.hr182)>.topbar{position:sticky!important;top:0!important;z-index:120!important}}
@media(max-width:1350px){.hr182-layout{grid-template-columns:210px minmax(0,1fr)}.hr182-main{padding:18px 19px}.hr182-side-link{font-size:12px}.hr182-metric{padding:14px}.hr182-metric-value{font-size:25px}.hr182-delta{min-width:75px}.hr182-middle{grid-template-columns:minmax(0,1.45fr) minmax(330px,1fr)}.hr182-breakdown{grid-template-columns:175px 1fr}.hr182-donut{height:160px;width:160px}.hr182-donut:after{width:94px;height:94px}}
@media(max-width:1050px){.hr182-layout{grid-template-columns:66px minmax(0,1fr)}.hr182-side{padding:12px 6px}.hr182-side-title b,.hr182-side-title svg:last-child,.hr182-side-module b,.hr182-side-link span,.hr182-side-watermark{display:none}.hr182-side-title,.hr182-side-module,.hr182-side-link{justify-content:center}.hr182-header{flex-wrap:wrap}.hr182-metrics{grid-template-columns:1fr}.hr182-metric{height:auto;min-height:82px}.hr182-metric:not(:last-child):after{left:20px;right:20px;bottom:0;top:auto;width:auto;height:1px}.hr182-middle,.hr182-bottom{grid-template-columns:1fr}.hr182-cost,.hr182-structure,.hr182-tasks,.hr182-payroll{height:auto;min-height:270px}.hr182-breakdown{grid-template-columns:190px 1fr}}
@media(max-width:700px){body:has(.hr182) .workspace{padding:0!important}.hr182-layout{display:block}.hr182-side{display:none}.hr182-main{padding:12px 9px}.hr182-breadcrumb{font-size:10px}.hr182-header{align-items:flex-start}.hr182-title-wrap{gap:10px}.hr182-brand-icon{height:52px;width:52px;flex-basis:52px;border-radius:12px}.hr182-brand-icon svg{width:31px}.hr182-title-wrap h1{font-size:21px}.hr182-header-tools{width:100%;align-items:stretch}.hr182-month-picker{width:100%}.hr182-month-picker select{flex:1}.hr182-updated{justify-content:flex-end}.hr182-metric-icon{width:44px;height:44px;flex-basis:44px}.hr182-metric-icon svg{width:35px;height:35px}.hr182-metric-value{font-size:21px}.hr182-delta{margin-left:auto}.hr182-panel{padding:12px 10px}.hr182-chart-wrap{overflow-x:auto}.hr182-chart-svg{min-width:680px}.hr182-breakdown{grid-template-columns:1fr}.hr182-breakdown-list{grid-template-columns:repeat(2,1fr)}.hr182-task-row{grid-template-columns:19px 21px minmax(0,1fr) 65px 14px}.hr182-task-row strong{display:none}.hr182-steps{overflow-x:auto;grid-template-columns:repeat(5,minmax(90px,1fr))}.hr182-pay-summary{grid-template-columns:1fr}.hr182-pay-summary>div{border-right:0;border-bottom:1px solid #dbe5df;padding:8px}.hr182-pay-summary>div:last-child{border-bottom:0}.hr182-report-grid{grid-template-columns:1fr}}
@media print{.hr182-side{display:none}.hr182-layout{display:block}.hr182-main{padding:0}}

/* R183 mockup fidelity: full-bleed HR within the POS-X shell, never alter non-HR pages */
body:has(#page-content > .hr182) .workspace,body:has(#page-content > .hr183-layout) .workspace{padding:0!important;min-width:0}
body:has(#page-content > .hr182) #page-content,body:has(#page-content > .hr183-layout) #page-content{margin:0!important;width:100%!important;max-width:none!important;padding:0!important}
.hr182-main{background:#fbfdfc;}
.hr182-breadcrumb{margin-bottom:12px}
.hr182-metrics{margin-bottom:16px;}
.hr182-metric{height:104px}
.hr182-middle{grid-template-columns:minmax(0,1.43fr) minmax(0,1fr)}
.hr182-bottom{grid-template-columns:minmax(0,.9fr) minmax(0,1fr)}
.hr182-cost,.hr182-structure{height:282px}
.hr182-tasks,.hr182-payroll{height:285px}
.hr182-panel-head h2{font-size:18px}
@media (max-width:1450px) and (min-width:1051px){.hr182-metric{gap:10px;padding:13px 14px}.hr182-metric-icon{width:46px;flex-basis:46px}.hr182-metric-icon svg{width:42px}.hr182-metric-body>b{font-size:14px}.hr182-metric-value{font-size:27px}.hr182-delta{padding:6px;min-width:67px}.hr182-delta b{font-size:14px}.hr182-delta small{font-size:9px}.hr182-panel{padding:14px}}
/* R183 responsive corrections must follow the desktop fidelity rules. */
@media(max-width:1050px){
  .hr182-middle,.hr182-bottom{grid-template-columns:minmax(0,1fr)!important}
  .hr182-breakdown{grid-template-columns:minmax(155px,190px) minmax(0,1fr)}
  .hr182-cost,.hr182-structure,.hr182-tasks,.hr182-payroll{height:auto;min-height:270px}
  .hr182-panel{min-width:0}
}
@media(max-width:700px){
  .hr182-layout{display:flex!important;flex-direction:column}
  .hr182-side{display:block!important;position:static;min-height:0!important;padding:7px 9px!important;background:#076245!important;overflow-x:auto;overflow-y:hidden}
  .hr182-side-title,.hr182-side-module,.hr182-side-watermark{display:none!important}
  .hr182-side-links{display:flex!important;gap:6px;min-width:max-content}
  .hr182-side-link{white-space:nowrap;justify-content:center!important;padding:9px 11px!important;font-size:11px!important;gap:6px}
  .hr182-side-link span{display:inline!important}
  .hr182-side-link svg{width:16px!important;height:16px!important;flex:0 0 16px}
  .hr182-main{width:100%;min-width:0;padding:11px 10px}
  .hr182-metrics{display:grid;grid-template-columns:minmax(0,1fr)!important}
  .hr182-middle,.hr182-bottom{grid-template-columns:minmax(0,1fr)!important}
  .hr182-middle>*,.hr182-bottom>*{min-width:0;width:100%}
  .hr182-breakdown{grid-template-columns:minmax(0,1fr)!important}
  .hr182-donut{width:170px;height:170px}.hr182-donut:after{width:100px;height:100px}
  .hr182-breakdown-list{display:grid;grid-template-columns:1fr!important}
  .hr182-structure,.hr182-payroll,.hr182-tasks,.hr182-cost{min-height:0!important;height:auto!important}
  .hr182-cost{padding-bottom:17px}
  .hr182-chart-svg{min-width:685px}
  .hr182-chart-wrap{overflow-x:auto;overflow-y:hidden}
  .hr182-task-row{grid-template-columns:16px 22px minmax(0,1fr) 70px 14px;gap:5px}
  .hr182-task-row em{font-size:10px}
  .hr182-payroll-empty{min-height:135px}
}
