/* POS-X R189: Payroll dense, desktop-first. Scoped entirely to HR payroll. */
.hr189-workspace{--hr189-green:#008857;--hr189-dark:#07543e;--hr189-edge:#dce9e3;--hr189-text:#152c26;color:var(--hr189-text);font-family:inherit;padding:0 0 26px!important;max-width:none!important;width:100%!important}
.hr189-workspace *{box-sizing:border-box}.hr189-heading{display:flex;align-items:center;gap:14px;padding:12px 0 18px;margin:0;border:0;background:transparent}.hr189-heading-icon{height:66px;width:68px;flex-shrink:0;border-radius:15px;background:linear-gradient(155deg,#07af6a,#006a48);color:white;display:grid;place-items:center;box-shadow:0 5px 15px #067f4a20}.hr189-heading-icon svg{height:31px;width:31px}.hr189-heading small{display:block;color:#16835b;font-weight:750;font-size:11px}.hr189-heading h1{margin:2px 0 1px;font-size:26px!important;line-height:1.25;font-weight:800;color:#132f23}.hr189-heading p{font-size:12px!important;color:#6a7c73;margin:0}.hr189-top-tabs{display:flex;gap:0;border:1px solid var(--hr189-edge);border-radius:10px;overflow:hidden;background:white;margin-bottom:8px;width:fit-content;max-width:100%}.hr189-top-tabs .hr189-btn{min-height:39px;min-width:162px;border:0;border-right:1px solid var(--hr189-edge);border-radius:0;justify-content:center}.hr189-top-tabs .hr189-btn:last-child{border-right:0}.hr189-top-tabs .hr189-btn.selected{color:#fff;background:linear-gradient(90deg,#008d59,#006f4a);font-weight:750}.hr189-top-tabs .hr189-btn.selected svg{color:white}
.hr189-btn{display:inline-flex;align-items:center;gap:8px;justify-content:center;min-height:36px;padding:7px 12px;white-space:nowrap;color:#14523d;background:#fff;border:1px solid #d2e3db;border-radius:8px;font:inherit;font-size:12px;font-weight:730;cursor:pointer;transition:background .13s,box-shadow .13s}.hr189-btn svg{width:16px;height:16px;flex:none;color:#008c5a}.hr189-btn:hover:not([disabled]){background:#e9f8f0;border-color:#90d5b7}.hr189-btn.primary{background:linear-gradient(180deg,#059d62,#006f47);border-color:#008857;color:white}.hr189-btn.primary svg{color:white}.hr189-btn.primary:hover:not([disabled]){background:#056746}.hr189-btn[disabled]{opacity:.43;cursor:not-allowed}.hr189-btn.compact{padding:6px 10px}.hr189-btn.compact span{display:none}
.hr189-filters{display:flex;align-items:center;flex-wrap:wrap;gap:14px;padding:8px 12px;border:1px solid var(--hr189-edge);border-radius:10px;background:white;margin-bottom:9px;min-height:50px}.hr189-filters label,.hr189-tax-head label{display:flex;align-items:center;gap:10px;font-size:12px;font-weight:750;white-space:nowrap}.hr189-filters input,.hr189-tax-head select{height:33px;border:1px solid #cfe0d7;border-radius:7px;padding:4px 10px;background:white;color:#263e32;font:inherit;font-size:12px}.hr189-scope,.hr189-month-note{font-size:12px;color:#566d5f}.hr189-month-note{display:flex;align-items:center;gap:7px}.hr189-month-note svg{width:16px;color:#008c56}.hr189-flex{flex:1}.hr189-status-summary{display:inline-flex;align-items:center;gap:8px;color:#146342;background:#e9f9ee;border-radius:8px;font-size:12px;padding:6px 11px}.hr189-status-summary svg{width:17px}
.hr189-note{display:flex;align-items:center;gap:8px;border:1px solid #dce9e4;background:#f3faf6;padding:8px 12px;border-radius:9px;color:#547363;font-size:11.5px;margin-bottom:9px}.hr189-note svg{width:17px;height:17px;flex:none}.hr189-note.success{background:#eaf9ef;border-color:#cdf1da;color:#226e49}.hr189-alert{margin:5px 0;padding:10px 14px;color:#a23d37;background:#fff2ef;border:1px solid #f4c1b5;border-radius:8px;font-size:12px}
.hr189-summary{display:grid;grid-template-columns:1.38fr repeat(4,1fr);align-items:stretch;border:1px solid #dce8e2;background:white;border-radius:11px;padding:6px;gap:0;min-height:74px;margin-bottom:9px}.hr189-summary-title{display:flex;align-items:center;gap:11px;padding:10px 13px;white-space:nowrap}.hr189-summary-title>svg{height:29px;width:29px;color:#008952}.hr189-summary-title b{display:block;font-size:15px}.hr189-summary-title small{font-size:10px;display:block;color:#688174;margin-top:3px}.hr189-summary-value{border-left:1px solid #e6eee8;display:flex;flex-direction:column;justify-content:center;text-align:center;padding:6px 8px;min-width:0}.hr189-summary-value small{font-size:11px;color:#63766b;font-weight:650;white-space:nowrap}.hr189-summary-value strong{font-size:20px;font-weight:800;white-space:nowrap;letter-spacing:-.4px;line-height:1.35}.hr189-summary-value.negative strong{color:#d53542}.hr189-summary-value.highlight{background:#e2f7eb;border-radius:8px}.hr189-summary-value.highlight strong{color:#076639;font-size:22px}
.hr189-toolbar{display:grid;grid-template-columns:1.4fr 1.2fr 1.2fr 1.2fr 1fr auto;gap:8px;margin:10px 0 12px}.hr189-toolbar .hr189-btn{width:100%;min-height:37px}.hr189-register{border:1px solid #dbe8df;border-radius:12px;background:#fff;box-shadow:0 4px 15px #10472c0a;overflow:hidden}.hr189-tablehead{padding:11px 12px 9px;display:flex;align-items:center;gap:10px;justify-content:space-between;flex-wrap:wrap}.hr189-tablehead h2,.hr189-register>h2{font-size:15px;font-weight:780;margin:0;display:flex;align-items:center;gap:7px}.hr189-tablehead h2 svg{width:18px;color:#008857}.hr189-tablehead h2 small{font-size:12px;color:#617366;font-weight:550}.hr189-tablefilters{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.hr189-tablefilters>label{display:flex;align-items:center;gap:5px;background:#fff;border:1px solid #d5e3da;border-radius:7px;padding:0 9px;height:32px}.hr189-tablefilters>label svg{height:15px;width:15px;color:#8b9f94}.hr189-tablefilters input{font:inherit;min-width:130px;max-width:190px;width:16vw;border:0;outline:0;background:transparent;font-size:11.5px}.hr189-tablefilters select{font:inherit;font-size:11.5px;border:1px solid #d5e3da;border-radius:7px;min-height:32px;background:white;padding:5px 9px}
.hr189-scroll{overflow:auto;scrollbar-width:thin;border-top:1px solid #dfeae4}.hr189-table{min-width:1490px;width:100%;border-collapse:collapse;white-space:nowrap;font-size:11px;color:#1d352a}.hr189-table th{background:#e3f5e9;color:#224d37;font-weight:750;text-align:left;font-size:10.4px;border-bottom:1px solid #cde9d8;border-right:1px solid #d6e9dd;padding:9px 7px}.hr189-table td{padding:6px 7px;border-bottom:1px solid #e6efea;border-right:1px solid #f0f5f2;height:34px}.hr189-table tbody tr:nth-child(even){background:#fafdfb}.hr189-table tbody tr:hover{background:#f2fbf6}.hr189-table .num{text-align:right;font-variant-numeric:tabular-nums}.hr189-table .deduction{color:#d8323a}.hr189-table .hr189-net{font-weight:820;color:#087146}.hr189-table .hr189-person{font-weight:700;max-width:180px;overflow:hidden;text-overflow:ellipsis}.hr189-table .hr189-stick-em{font-weight:760;color:#193d30}.hr189-table td.hr189-empty{text-align:center;padding:32px;color:#84998b;font-size:12px}.hr189-table tfoot td{background:#d7f4e4;color:#104730;font-weight:800;padding:8px;border-bottom:0}.hr189-row-actions{white-space:nowrap}.hr189-row-actions button{display:inline-grid;place-items:center;width:25px;height:25px;padding:0;border:1px solid #dce9e0;background:#fff;border-radius:7px;color:#087b4d;margin-right:3px;cursor:pointer}.hr189-row-actions button svg{width:14px;height:14px}.hr189-row-actions button:hover:not([disabled]){background:#e5f7ec}.hr189-row-actions button[disabled]{opacity:.27;cursor:not-allowed}.hr189-chip{display:inline-flex;align-items:center;background:#eff3f1;border-radius:20px;padding:4px 8px;color:#647b6d;font-size:10px;font-weight:770}.hr189-chip.ready{background:#fff0cc;color:#9b671a}.hr189-chip.approved{background:#dcf5dd;color:#087848}.hr189-chip.published,.hr189-paid{background:#e3efff;color:#205aa8;padding:4px 9px;border-radius:20px;font-size:10px;font-weight:750}.hr189-foot{min-height:45px;padding:9px 12px;display:flex;align-items:center;gap:14px;flex-wrap:wrap;justify-content:space-between;font-size:11px;color:#597466}.hr189-foot label{display:flex;gap:5px;align-items:center}.hr189-foot select{font-size:11px;padding:5px;border:1px solid #d5e5da;border-radius:5px;background:white}.hr189-pager{display:flex;align-items:center;gap:8px}.hr189-pager button{display:grid;place-items:center;width:28px;height:28px;border:1px solid #dbe7df;border-radius:7px;background:#fff;cursor:pointer}.hr189-pager button[disabled]{opacity:.35;cursor:default}.hr189-pager button svg{width:16px;height:16px}.hr189-legend{display:flex;gap:5px;align-items:center}.hr189-legend svg{width:13px;height:13px;color:#08774a;margin-left:4px}
.hr189-dialog{border:0;border-radius:15px;padding:0;box-shadow:0 22px 70px #0f29272e;width:min(620px,96vw);max-height:94vh;background:white;color:#1a3329}.hr189-dialog::backdrop{background:#0d2e28a8;backdrop-filter:blur(2px)}.hr189-dialog>section>header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e1ece5;padding:17px 20px}.hr189-dialog h2{font-size:19px;margin:0}.hr189-dialog header button{border:0;background:#eff3f0;border-radius:9px;width:33px;height:33px;font-size:20px;cursor:pointer}.hr189-dialog-body{padding:16px 20px;overflow:auto;max-height:70vh;font-size:12px}.hr189-dialog footer{display:flex;gap:9px;justify-content:flex-end;padding:12px 20px;border-top:1px solid #e2eee7}.hr189-dialog form{display:grid;gap:11px}.hr189-dialog form label{display:grid;gap:5px;font-size:12px;font-weight:700}.hr189-dialog input,.hr189-dialog select{min-height:34px;padding:6px 9px;border:1px solid #d4e5da;border-radius:7px;font:inherit}.hr189-dialog .hr189-summary{grid-template-columns:repeat(4,minmax(0,1fr))}.hr189-dialog .hr189-summary-title{display:none}.hr189-dialog .hr189-summary-value{border:0}.hr189-dialog .hr189-summary-value strong{font-size:14px}.hr189-dl{display:grid;grid-template-columns:1fr 1fr;gap:0;margin:0 0 12px}.hr189-dl dt,.hr189-dl dd{margin:0;border-bottom:1px solid #edf3ef;padding:6px 8px;font-size:12px}.hr189-dl dd{text-align:right;font-weight:750}.hr189-error{color:#a83832;background:#fff0ec;border:1px solid #efbca9;border-radius:8px;padding:9px;font-size:12px}.hr189-help{color:#648171;font-size:11px;line-height:1.5}.hr189-transfer[hidden]{display:none}.hr189-more{display:grid;grid-template-columns:1fr 1fr;gap:9px}.hr189-more button{justify-content:flex-start}.hr189-slip{padding:10px}.hr189-slip h2{font-size:20px}.hr189-slip .hr189-dl{margin-top:16px}.hr189-loading{text-align:center;padding:50px;color:#799185}
.hr189-tax-head{display:flex;align-items:center;gap:16px;justify-content:space-between;margin-bottom:12px}.hr189-tax-head .hr189-note{margin:0}.hr189-tax-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:13px}.hr189-tax-summary>div{border:1px solid #dceadf;border-radius:10px;padding:13px;background:#fff}.hr189-tax-summary small{display:block;color:#698575}.hr189-tax-summary b{display:block;font-size:21px;color:#123f2b;margin-top:7px}.hr189-register>h2{padding:13px}.hr189-tax-head select{min-width:110px}
@media(max-width:1320px){.hr189-summary{grid-template-columns:1fr repeat(4,1fr)}.hr189-summary-title{padding:8px}.hr189-summary-title b{font-size:13px}.hr189-summary-value strong{font-size:17px}.hr189-summary-value.highlight strong{font-size:18px}.hr189-toolbar{grid-template-columns:repeat(3,1fr)}.hr189-tablefilters input{width:130px}.hr189-top-tabs{width:100%}.hr189-top-tabs .hr189-btn{flex:1;min-width:0}}
@media(max-width:780px){.hr189-heading-icon{width:48px;height:50px;border-radius:10px}.hr189-heading-icon svg{width:25px;height:25px}.hr189-heading h1{font-size:21px!important}.hr189-top-tabs{overflow:auto}.hr189-top-tabs .hr189-btn{flex:0 0 auto;min-width:130px}.hr189-filters{gap:8px}.hr189-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.hr189-summary-title{grid-column:span 2}.hr189-summary-value{border-top:1px solid #e4efe8}.hr189-summary-value:nth-child(2n){border-left:0}.hr189-toolbar{display:grid;grid-template-columns:1fr 1fr}.hr189-tablehead{align-items:flex-start}.hr189-tablefilters{width:100%}.hr189-tablefilters input{width:100%;min-width:0}.hr189-tablefilters>label{flex:1}.hr189-tax-summary{grid-template-columns:1fr 1fr}}
@media print{.hr183-shared-side,.hr189-top-tabs,.hr189-filters,.hr189-toolbar,.hr189-tablefilters,.hr189-foot,.hr189-row-actions,.hr189-dialog footer{display:none!important}.hr189-dialog[open]{position:static;margin:0;box-shadow:none;width:100%;max-height:none}.hr189-dialog::backdrop{display:none}.hr189-workspace{padding:0!important}.hr189-scroll{overflow:visible}.hr189-table{min-width:0;font-size:8pt}}

/* R189 dense grid: preserve all four action icons in the standard desktop width. */
.hr189-table{min-width:1240px;table-layout:fixed}
.hr189-table th:nth-child(1){width:30px}.hr189-table th:nth-child(2){width:96px}.hr189-table th:nth-child(3){width:150px}.hr189-table th:nth-child(4){width:85px}.hr189-table th:nth-child(5){width:80px}.hr189-table th:nth-child(6){width:54px}.hr189-table th:nth-child(7){width:38px}.hr189-table th:nth-child(8){width:38px}.hr189-table th:nth-child(9){width:38px}.hr189-table th:nth-child(10){width:69px}.hr189-table th:nth-child(11){width:92px}.hr189-table th:nth-child(12){width:93px}.hr189-table th:nth-child(13){width:89px}.hr189-table th:nth-child(14){width:94px}.hr189-table th:nth-child(15){width:75px}.hr189-table th:nth-child(16){width:120px}
.hr189-table td{overflow:hidden;text-overflow:ellipsis}
.hr189-filters select[data-r189="month"]{min-width:182px;max-width:210px}
@media(min-width:1450px){.hr189-table td{height:30px;padding:5px 6px}.hr189-table th{padding:8px 6px}}
@media(min-width:781px) and (max-width:1450px){.hr189-table{min-width:960px}.hr189-table th:nth-child(5),.hr189-table td:nth-child(5),.hr189-table th:nth-child(7),.hr189-table td:nth-child(7),.hr189-table th:nth-child(8),.hr189-table td:nth-child(8),.hr189-table th:nth-child(9),.hr189-table td:nth-child(9){display:none}.hr189-table td{font-size:10.5px;padding:4px 5px;height:31px}.hr189-table th{padding:7px 5px}.hr189-table th:nth-child(16){width:118px}}

.hr189-filters select[data-r189="month"]{height:33px;border:1px solid #cfe0d7;border-radius:7px;padding:4px 10px;background:white;color:#263e32;font:inherit;font-size:12px;min-width:182px;max-width:210px}
@media print{body:has(.hr189-dialog[open]) #page-content{display:none!important}body:has(.hr189-dialog[open]) .hr189-dialog{display:block;position:static;margin:0 auto;border:0;box-shadow:none;max-height:none;width:100%}body:has(.hr189-dialog[open]) .hr189-dialog>section>header,body:has(.hr189-dialog[open]) .hr189-dialog footer{display:none!important}}
