*{box-sizing:border-box}body{margin:0;background:#f2f6f8;color:#182650;font:14px system-ui,sans-serif}header{display:flex;align-items:center;gap:24px;background:#fff;border-bottom:1px solid #dee8ec;padding:15px 5%}header img{width:100px;height:60px;object-fit:contain}header small{display:block;color:#607486;margin-top:5px}header>a:last-child{margin-left:auto;color:#147c70}main{max-width:1500px;padding:30px;margin:auto}h1{font-size:32px;letter-spacing:-1px;margin:8px 0}h2{font-size:21px}p{color:#607486;line-height:1.8}.eyebrow{letter-spacing:.15em;font-size:11px;color:#18887d;font-weight:750}.page-heading,.toolbar,.actions{display:flex;justify-content:space-between;gap:15px;align-items:center;flex-wrap:wrap}.actions{justify-content:flex-end}.toolbar{margin:25px 0}button,select,input{font:inherit}button{cursor:pointer;padding:11px 16px;border:1px solid #cedde4;border-radius:11px;background:#fff;color:#26375b;min-height:42px}button.primary,button[aria-pressed=true]{background:#0d8175;border-color:#0d8175;color:#fff}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #7dbaee;outline-offset:3px}#tabs{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}#content{background:#fff;border:1px solid #dce6ec;border-radius:24px;padding:24px}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.metrics article{border:1px solid #dce9e6;border-radius:18px;padding:20px;background:linear-gradient(130deg,#f0f9f4,#fff)}.metrics span,.metrics small{display:block;color:#64748b}.metrics strong{display:block;font-size:25px;margin:10px 0}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;white-space:nowrap;font-size:12px}th,td{padding:13px 10px;border-bottom:1px solid #e1e9ed;text-align:left}th{background:#eef5f6;color:#26375b}td.num,th.num{text-align:right;font-variant-numeric:tabular-nums}td button{font-size:11px;padding:6px 9px;min-height:32px}tfoot th{background:#e0f1e8}.empty{padding:45px;text-align:center}.charges{display:grid;grid-template-columns:repeat(2,1fr);gap:1px;background:#e0e9ec;border:1px solid #e0e9ec;border-radius:14px;overflow:hidden}.charges>div{display:flex;gap:16px;justify-content:space-between;padding:16px;background:#fbfdfd}.note{font-size:12px}.success{color:#19784a}.error{color:#ad3535}.print-heading{display:flex;gap:20px;align-items:center;margin:20px 0}.print-heading img{width:100px;height:65px;object-fit:contain}.print-heading h2,.print-heading p{margin:5px 0}dialog{width:min(950px,calc(100% - 30px));max-height:90dvh;padding:0;border:1px solid #dbe5eb;border-radius:24px;box-shadow:0 25px 80px #12334655;color:#182650}dialog::backdrop{background:#18263880;backdrop-filter:blur(5px)}.dialog-brand{display:flex;align-items:center;gap:20px;padding:15px 24px;border-bottom:1px solid #dfe8eb;background:#f5faf7}.dialog-brand img{width:100px;height:60px;object-fit:contain}.dialog-brand button{margin-left:auto;font-size:23px;border:0;background:transparent}.dialog-body{padding:24px}.dialog-actions{display:flex;justify-content:flex-end;gap:12px;padding:18px 24px;border-top:1px solid #e2e9ed}.fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}label{display:flex;flex-direction:column;gap:8px;font-size:12px}input,select{width:100%;min-height:44px;padding:10px;border:1px solid #cddde6;border-radius:9px;color:#172458;background:#fff}.check{display:flex;flex-direction:row;align-items:center;gap:10px;margin-top:20px;font-size:13px}.check input{width:18px;min-height:18px}.bands{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.bands>div{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:end}.audit{font-size:12px;line-height:2;max-height:350px;overflow:auto}@media(max-width:800px){main{padding:18px 12px}header{gap:12px;padding:12px}header>a:last-child{font-size:11px}#content{padding:16px}.metrics{grid-template-columns:repeat(2,1fr)}.fields{grid-template-columns:repeat(2,1fr)}.charges{grid-template-columns:1fr}.metrics strong{font-size:20px}}@media(max-width:500px){header img{width:70px}.fields,.bands{grid-template-columns:1fr}.dialog-body{padding:18px}.dialog-brand{gap:10px}.metrics article{padding:14px}}@page{size:A3 landscape;margin:12mm}@media print{body{background:white}header,.page-heading,#tabs,#status,.toolbar,.metrics,dialog{display:none!important}main,#content{margin:0;padding:0;border:0}body:not(.hr-slip-view):not(.hr-declaration-view) #content>*:not(#hr-output){display:none!important}#hr-output{display:block}.table-wrap{overflow:visible}table{font-size:10px;white-space:normal}th,td{padding:8px 5px}.hr-salary-table td:last-child,.hr-salary-table thead th:last-child,.hr-salary-table tfoot th:last-child{display:none}button{display:none!important}thead{display:table-header-group}tr{break-inside:avoid}.charges{grid-template-columns:repeat(3,1fr)}.print-heading{margin-top:0}h3{break-after:avoid}}

.hr-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;align-items:end;margin:18px 0;padding:16px;background:#f3f8f7;border:1px solid #dceae5;border-radius:16px}.hr-pager{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:16px 0;font-size:12px;color:#64748b}.hr-pager>div{display:flex;gap:8px}.hr-profile-label{font-size:12px;color:#137a6e;margin:0 0 16px}.hr-setting-choices{display:grid;grid-template-columns:1fr 1.5fr;gap:18px;margin:18px 0}.hr-setting-choices fieldset{border:1px solid #dbe7e7;border-radius:14px;padding:14px}.hr-setting-choices .check{margin:10px 0}textarea{width:100%;resize:vertical;padding:12px;border:1px solid #cddde6;border-radius:9px;font:inherit;color:#172458}details{padding:14px;margin:14px 0;border:1px solid #e0e8ec;border-radius:12px}summary{cursor:pointer;color:#19685e;font-weight:650}details .fields{margin-top:16px}@media(max-width:650px){.hr-setting-choices{grid-template-columns:1fr}.hr-pager{align-items:flex-start;flex-direction:column}.hr-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:370px){.hr-filters{grid-template-columns:1fr}}

/* Individual salary slip: A4 portrait, inspired by the supplied ruled payroll model. */
.hr-slip-scroll{overflow-x:auto;background:#e8edef;padding:20px}.hr-payslip{width:190mm;min-height:270mm;margin:auto;padding:7mm;background:white;color:#151515;font:10px Arial,sans-serif;box-shadow:0 6px 30px #18265015}.hr-payslip h2{font-size:29px;letter-spacing:1px;margin:3px 0 16px;color:#111}.hr-payslip p{color:#222;font-size:10px;line-height:1.5;margin:6px 0}.slip-top{display:grid;grid-template-columns:1fr 1.1fr;gap:24px}.slip-employer{border:1px solid #777;padding:10px;overflow-wrap:anywhere}.slip-employer img{width:80px;height:44px;object-fit:contain;display:block;margin-bottom:8px}.slip-employer>strong{font-size:14px}.slip-heading>p{font-size:10px}.slip-employer>div,.slip-heading>div:not(.slip-recipient),.slip-employee>div{display:grid;grid-template-columns:45% 55%;gap:6px;margin:6px 0;overflow-wrap:anywhere}.slip-recipient{border:1px solid #777;min-height:75px;margin-top:15px;padding:18px 12px}.slip-recipient strong{font-size:13px}.slip-employee{display:grid;grid-template-columns:1fr 1fr;gap:0 22px;margin:13px 0}.hr-payslip table{font-size:9px;table-layout:fixed;white-space:normal;width:100%;border:1px solid #777}.hr-payslip th,.hr-payslip td{border:1px solid #999;padding:5px 4px;color:#111;overflow-wrap:anywhere;vertical-align:top}.hr-payslip th{background:#d0d0d0;font-weight:700;text-align:center}.slip-lines td{border-top:0;border-bottom:0}.hr-payslip .slip-lines .slip-filler td{height:110px}.slip-bottom{display:grid;grid-template-columns:1fr 116px;gap:8px;margin-top:14px}.hr-payslip .slip-cumulative{font-size:8px}.slip-net{border:2px solid #111;text-align:center;align-self:start}.slip-net b{display:block;background:#d0d0d0;border-bottom:1px solid #777;padding:7px;font-size:12px}.slip-net strong{display:block;padding:10px 4px;font-size:13px;overflow-wrap:anywhere}.slip-leave{display:grid;grid-template-columns:1.2fr 1fr;gap:20px;margin-top:10px}.hr-payslip .slip-note{font-size:8px;line-height:1.5;margin-top:14px}.hr-payslip footer{display:flex;justify-content:space-between;gap:15px;margin-top:20px;font-size:8px}.hr-payslip footer span{font-weight:700}.hr-slip-view .hr-profile-label{display:none}@page payslip{size:A4 portrait;margin:10mm}@media print{body.hr-slip-view main,body.hr-slip-view #content{max-width:none;width:auto}body.hr-slip-view #content>.hr-slip-scroll{display:block!important;overflow:visible;background:white;padding:0}body.hr-slip-view .hr-payslip{page:payslip;width:190mm;min-height:0;padding:0;margin:0;box-shadow:none}body.hr-slip-view .hr-payslip footer{display:flex}body.hr-slip-view .hr-payslip table{font-size:9px}body.hr-slip-view .hr-payslip th,body.hr-slip-view .hr-payslip td{padding:5px 4px}body.hr-slip-view .hr-payslip .slip-cumulative{font-size:8px}}

.hr-report-print{display:none}.hr-report-table{min-width:850px}.hr-report-table caption{text-align:left;padding:12px 0;font-weight:700;color:#1b6a60}.hr-report-table thead tr:first-child th{background:#dcece7;text-align:center;border-right:1px solid #c7dbd4}.hr-report-table thead tr:last-child th{white-space:normal;min-width:105px;text-align:center;vertical-align:middle;background:#f0f5f3}.hr-report-table tbody tr:nth-child(even){background:#f8fafb}.hr-report-table tbody tr:hover{background:#edf7f4}.hr-report-table td:first-child{font-weight:650}.hr-report-table tfoot th{border-top:2px solid #83ae9c}.hr-report-table .num{font-variant-numeric:tabular-nums}@media print{.hr-report-screen{display:none!important}.hr-report-print{display:block}.hr-report-print>section+section{break-before:page}.hr-report-print>section{break-inside:auto}.hr-report-print>section>h3{margin:5px 0;font-size:14px}.hr-report-print>section>p{font-size:10px;margin:5px 0}.hr-report-table{min-width:0;width:100%;table-layout:fixed;white-space:normal;font-size:10px}.hr-report-table td,.hr-report-table th{padding:7px 4px;overflow-wrap:anywhere}.hr-report-table thead tr:last-child th{min-width:0}.hr-report-table caption{font-size:10px}tfoot{display:table-row-group}}

/* Employer annexes for fiscal and social declarations. */
.hr-declaration-document{overflow-x:auto;background:#edf1f3;padding:18px}.hr-declaration-page{width:277mm;min-height:180mm;background:#fff;color:#111;margin:0 auto 20px;padding:7mm;font:11px Arial,sans-serif;box-shadow:0 4px 20px #18265018}.decl-top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;border-bottom:2px solid #555;padding-bottom:10px}.decl-top img{width:75px;height:48px;object-fit:contain}.decl-top>div{flex:1;text-align:center}.hr-declaration-page .decl-top h2{font-size:16px;margin:6px 0;color:#111}.hr-declaration-page p{font-size:10px;color:#222;margin:5px 0;line-height:1.5}.decl-top>span{font-size:10px;white-space:nowrap}.decl-identity{display:grid;grid-template-columns:1fr 1fr;gap:7px 24px;margin:14px 0;font-size:11px;overflow-wrap:anywhere}.decl-status{font-weight:bold;border:1px solid #777;padding:5px;background:#eee}.hr-declaration-page table{width:100%;table-layout:fixed;font-size:10px;white-space:normal;border:1px solid #777}.hr-declaration-page th,.hr-declaration-page td{padding:7px 4px;border:1px solid #777;overflow-wrap:anywhere;color:#111;vertical-align:top}.hr-declaration-page th{background:#d7d7d7;text-align:center}.hr-declaration-page th:first-child{width:25px}.hr-declaration-page tfoot th{background:#eee}.decl-recap{border:2px solid #555;padding:10px;margin:12px 0;font-size:12px}.decl-signatures{display:grid;grid-template-columns:1fr 1fr;gap:25px;margin:12px 0 24px;min-height:80px}.decl-signatures section{border:1px solid #aaa;padding:10px}.hr-declaration-page .decl-note{border-top:1px solid #aaa;padding-top:6px;font-size:9px}.hr-declaration-view .hr-report-print{display:none}@page declaration{size:A4 landscape;margin:8mm}@media print{body.hr-declaration-view #hr-output>*{display:none!important}body.hr-declaration-view #hr-output>.hr-report-print,body.hr-declaration-view #hr-output>.hr-declaration-document{display:block!important}body.hr-declaration-view main,body.hr-declaration-view #content{max-width:none;width:auto}body.hr-declaration-view .hr-declaration-document{overflow:visible;padding:0;background:white}.hr-declaration-page{page:declaration;width:277mm;min-height:0;padding:0;margin:0;box-shadow:none;break-after:page}.hr-declaration-page:last-child{break-after:auto}.hr-declaration-page table{font-size:9px}.hr-declaration-page th,.hr-declaration-page td{padding:5px 3px}.decl-top,.decl-identity,.decl-signatures,.decl-recap{break-inside:avoid}.decl-top img{display:block!important}}

.hr-list-pages{display:grid;grid-template-columns:repeat(auto-fit,minmax(235px,1fr));gap:18px}.hr-list-pages>a{display:flex;flex-direction:column;gap:12px;padding:24px;border:1px solid #d8e5e5;border-radius:20px;color:#183052;background:linear-gradient(135deg,#f1f8f5,#fff);text-decoration:none;transition:transform .2s,box-shadow .2s}.hr-list-pages>a:hover{transform:translateY(-3px);box-shadow:0 12px 24px #133b4912}.hr-list-pages strong{font-size:18px}.hr-list-pages span{font-size:13px;color:#607486}.hr-list-pages .hr-page-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:#dcefe6;color:#19765c;font-size:26px}.hr-back-link{display:inline-block;color:#167365;margin:5px 0 12px}.hr-export-panel{padding:20px;border:1px solid #cfe4dc;background:#f3f9f6;border-radius:18px;margin:18px 0}.hr-export-panel label{max-width:420px}td input[type=checkbox]{width:20px;min-height:20px}#status button{margin-left:12px}@media(prefers-reduced-motion:reduce){.hr-list-pages>a{transition:none}}

/* The payroll document must remain visible in print; generic report hiding excludes it. */
.slip-employer .slip-logo{display:block;position:relative;width:48mm;max-width:100%;height:26mm;overflow:hidden;margin:0 0 3mm}
.slip-employer .slip-logo img{position:absolute;display:block;width:156.1%;height:auto;max-width:none;left:-28.15%;top:-26.78%;margin:0;object-fit:contain}
@media print{body.hr-slip-view #content>#hr-output.hr-slip-scroll{display:block!important;visibility:visible!important;overflow:visible!important}body.hr-slip-view .hr-payslip{width:100%;max-width:100%}.hr-payslip .slip-logo{width:48mm;height:26mm}}

@media print{body.hr-slip-view{page:payslip}body.hr-slip-view main,body.hr-slip-view #content{display:block!important;visibility:visible!important}}

/* A4 print composition: 185 mm content width after the 15 mm binding margin. */
@page payslip{size:A4 portrait;margin:10mm 10mm 10mm 15mm}
body.hr-slip-view.hr-print-preparing main,body.hr-slip-view.hr-print-preparing #content{max-width:none;width:auto;padding:0;border:0;margin:0}
body.hr-slip-view.hr-print-preparing .hr-slip-scroll{padding:0;overflow:visible;background:white;width:185mm}
body.hr-slip-view.hr-print-preparing .hr-payslip{width:185mm;max-width:185mm;min-height:0;padding:0;margin:0;box-shadow:none}
body.hr-slip-view.hr-print-preparing .hr-payslip .slip-filler td{height:35px}
body.hr-slip-view.hr-print-preparing .hr-payslip th,body.hr-slip-view.hr-print-preparing .hr-payslip td{padding:4px 3px}
body.hr-slip-view.hr-print-preparing .hr-payslip h2{font-size:25px}
body.hr-slip-view.hr-print-preparing .hr-payslip footer{margin-top:12px}
body.hr-slip-view .slip-top{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:16px}
body.hr-slip-view .slip-top>*,body.hr-slip-view .slip-employee>*,body.hr-slip-view .slip-bottom>*{min-width:0}
body.hr-slip-view .hr-payslip{overflow-wrap:anywhere}
@media print{
 body.hr-slip-view{page:payslip;margin:0;padding:0}
 body.hr-slip-view main,body.hr-slip-view #content,body.hr-slip-view #hr-output.hr-slip-scroll{width:185mm!important;max-width:185mm!important;min-width:0!important;margin:0!important;padding:0!important;overflow:visible!important}
 body.hr-slip-view .hr-payslip{page:payslip;width:185mm!important;max-width:185mm!important;min-height:0!important;padding:0!important;margin:0!important;break-inside:avoid;box-shadow:none}
 body.hr-slip-view .hr-payslip h2{font-size:25px}
 body.hr-slip-view .hr-payslip th,body.hr-slip-view .hr-payslip td{padding:4px 3px}
 body.hr-slip-view .hr-payslip .slip-filler td{height:35px}
 body.hr-slip-view .hr-payslip footer{margin-top:12px}
 body.hr-slip-view .hr-payslip table{min-width:0!important;width:100%;table-layout:fixed}
}
/* Reference payslip: the same eight columns and hierarchy as the PDF template. */
@font-face{font-family:BRWPayroll;src:url('/finance-organisation/fonts/DejaVuSerif.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:BRWPayroll;src:url('/finance-organisation/fonts/DejaVuSerif-Bold.ttf') format('truetype');font-weight:700;font-display:swap}
.hr-payslip.reference-payslip{font-family:BRWPayroll,Georgia,serif;font-size:8pt}
.reference-payslip .slip-top{grid-template-columns:minmax(0,282fr) minmax(0,237fr);gap:7mm;align-items:start}
.reference-payslip .slip-company-identity{display:grid;grid-template-columns:48mm minmax(0,1fr);gap:3mm;min-height:29mm;align-items:start}
.reference-payslip .slip-company-identity strong{font-size:9pt;overflow-wrap:anywhere;display:block;padding-top:1mm}
.reference-payslip .slip-company-identity p{font-size:7pt;margin-top:6mm}
.reference-payslip .slip-logo{display:block;position:relative;width:48mm;height:26mm;overflow:hidden;margin:0}
.reference-payslip .slip-logo img{position:absolute;display:block;width:156.1%;height:auto;max-width:none;left:-28.15%;top:-26.78%;margin:0;object-fit:contain}
.reference-payslip .slip-employer-registration{border:1px solid #444;padding:2mm;margin-top:2mm;min-height:15mm}
.reference-payslip .slip-employer-registration p{font:7.5pt/1.4 BRWPayroll,Georgia,serif;margin:1mm 0}
.reference-payslip .slip-heading h2{font:700 18pt/1.1 BRWPayroll,Georgia,serif;letter-spacing:0;margin:0 0 3mm}
.reference-payslip .slip-heading>p{font:7.5pt/1.35 BRWPayroll,Georgia,serif;margin:1.4mm 0}
.reference-payslip .slip-recipient{min-height:16mm;padding:3mm;margin-top:3mm}.reference-payslip .slip-recipient strong{font-size:10pt}
.reference-payslip .slip-employee{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 7mm;margin:5mm 0 3mm;font-size:7.5pt}
.reference-payslip .slip-employee>div{display:block;margin:1mm 0}.reference-payslip .slip-employee b{font-weight:400}.reference-payslip .slip-employee b::after{content:' : '}
.reference-payslip .slip-lines{font:7pt/1.35 BRWPayroll,Georgia,serif;table-layout:fixed;height:124mm}
.reference-payslip .slip-lines th,.reference-payslip .slip-lines td{padding:1.1mm .8mm;text-align:left;vertical-align:top}
.reference-payslip .slip-lines th{background:#d1d1d1}.reference-payslip .slip-lines tr.slip-total td{font-weight:700}
.reference-payslip .slip-lines .slip-filler{height:100%}.reference-payslip .slip-lines .slip-filler td{height:auto}
.reference-payslip .slip-bottom{grid-template-columns:minmax(0,422fr) minmax(0,105fr);gap:4mm;margin-top:4mm}
.reference-payslip .slip-cumulative{font:6.5pt/1.3 BRWPayroll,Georgia,serif}.reference-payslip .slip-cumulative th,.reference-payslip .slip-cumulative td{background:white;border:0;padding:2mm 1mm}
.reference-payslip .slip-cumulative th{font-weight:700}.reference-payslip .slip-cumulative td{text-align:left}
.reference-payslip .slip-net b{font:700 10pt/1.2 BRWPayroll,Georgia,serif}.reference-payslip .slip-net strong{font:700 11pt/1.2 BRWPayroll,Georgia,serif;padding:3mm 1mm;overflow-wrap:anywhere}.reference-payslip .slip-net small{display:block;font-size:7pt;font-weight:400;margin-top:1mm}
.reference-payslip .slip-leave{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:7mm;margin-top:4mm}.reference-payslip .slip-leave table{border:0;font-size:7pt}.reference-payslip .slip-leave th,.reference-payslip .slip-leave td{border:0;background:white;padding:1.2mm 0;text-align:left}.reference-payslip .slip-leave p{font-size:7pt;line-height:1.7}
.reference-payslip .slip-note{font-size:6.5pt;line-height:2.1;margin-top:4mm}.reference-payslip footer{border-top:1px solid #555;padding-top:2mm;margin-top:6mm;font:6.5pt/1.3 BRWPayroll,Georgia,serif}
@media print{body.hr-slip-view .reference-payslip .slip-heading h2{font-size:18pt}body.hr-slip-view .reference-payslip .slip-lines{font-size:7pt}body.hr-slip-view .reference-payslip .slip-lines th,body.hr-slip-view .reference-payslip .slip-lines td{padding:1.1mm .8mm}body.hr-slip-view .reference-payslip .slip-lines .slip-filler td{height:auto}body.hr-slip-view .reference-payslip .slip-cumulative{font-size:6.5pt}}

/* Canonical RH screen presentation: menu → selected task → return.
   Payroll amounts, declaration forms and print dimensions retain their own rules. */
@media screen {
 body.brw-finance-workspace.brw-hr-workspace { --hr-ink:#17394c;--hr-muted:#6a8090;--hr-line:#dce7eb;--hr-green:#087f70;--hr-wash:#edf7f3;background:#f3f7fa;color:var(--hr-ink); }
 body.brw-finance-workspace.brw-hr-workspace>header { padding:12px clamp(16px,3vw,40px);gap:18px; }
 body.brw-finance-workspace.brw-hr-workspace>header img { width:82px;height:50px; }
 body.brw-finance-workspace.brw-hr-workspace>header strong { font-size:15px; }
 body.brw-finance-workspace.brw-hr-workspace main { max-width:1480px;padding:28px clamp(16px,3vw,40px) 52px;min-width:0; }
 body.brw-finance-workspace.brw-hr-workspace .page-heading { gap:20px;padding:0 0 24px;margin-bottom:24px;border-bottom:1px solid var(--hr-line); }
 body.brw-finance-workspace.brw-hr-workspace .page-heading h1 { margin:8px 0 12px;font-size:clamp(27px,3vw,36px);letter-spacing:-.9px; }
 body.brw-finance-workspace.brw-hr-workspace .page-heading p { margin:0;max-width:65ch;color:var(--hr-muted);font-size:13px;line-height:1.8; }
 body.brw-finance-workspace.brw-hr-workspace .page-heading .eyebrow { color:#5b9180;font-size:10px;letter-spacing:.13em; }
 body.brw-finance-workspace.brw-hr-workspace #refresh { min-height:44px;padding:10px 16px;border:1px solid #cfdfda;border-radius:11px;background:#fff;color:#3c7563;font-weight:600; }
 body.brw-finance-workspace.brw-hr-workspace #tabs { display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));width:100%!important;gap:16px!important;margin:0 0 24px;padding:0!important;background:transparent;border:0;box-shadow:none;overflow:visible; }
 body.brw-finance-workspace.brw-hr-workspace #tabs>button { position:relative;display:flex;align-items:flex-start;gap:16px;min-width:0;min-height:174px;padding:25px!important;border:1px solid var(--hr-line);border-radius:17px;background:#fff;color:#365867;text-align:left;white-space:normal;box-shadow:0 5px 24px #17405205;transition:border-color .15s,background .15s; }
 body.brw-finance-workspace.brw-hr-workspace #tabs>button:hover { background:#fbfefd;border-color:#a5cdbb; }
 body.brw-finance-workspace.brw-hr-workspace #tabs>button[aria-pressed=true] { background:#f9fdfb;color:#236653;border-color:#c1ded1; }
 body.brw-finance-workspace.brw-hr-workspace .hr-menu-icon { display:grid;place-items:center;width:46px;height:46px;flex:0 0 46px;border:1px solid #d5e9de;border-radius:13px;background:linear-gradient(135deg,#eaf7ef,#eef5fa);color:#3a886e; }
 body.brw-finance-workspace.brw-hr-workspace .hr-menu-icon svg { width:24px;height:24px;stroke-width:1.75; }
 body.brw-finance-workspace.brw-hr-workspace .hr-menu-copy { display:flex;flex-direction:column;gap:9px;min-width:0;padding-top:3px; }
 body.brw-finance-workspace.brw-hr-workspace .hr-menu-copy strong { color:var(--hr-ink);font-size:16px;font-weight:700;line-height:1.45;letter-spacing:-.25px; }
 body.brw-finance-workspace.brw-hr-workspace .hr-menu-copy small { font-size:12px;color:#718692;line-height:1.8;font-weight:400; }
 body.brw-finance-workspace.brw-hr-workspace .hr-menu-arrow { align-self:flex-end;margin-left:auto;flex:0 0 18px;color:#88ad9c;transform:rotate(180deg); }
 body.brw-finance-workspace.brw-hr-workspace .hr-menu-arrow svg { width:18px;height:18px; }
 body.brw-finance-workspace.brw-hr-workspace #tabs[hidden] { display:none!important; }
 body.brw-finance-workspace.brw-hr-workspace .brw-focus-toolbar { margin:0 0 22px;padding:2px 0 20px;gap:14px; }
 body.brw-finance-workspace.brw-hr-workspace .brw-focus-current { color:#315865;font-size:14px;font-weight:650; }
 body.brw-finance-workspace.brw-hr-workspace #status { color:#617e8e;font-size:13px;line-height:1.7; }
 body.brw-finance-workspace.brw-hr-workspace #status:empty { display:none; }
 body.brw-finance-workspace.brw-hr-workspace #content { min-width:0;max-width:100%;padding:24px 28px;border:1px solid var(--hr-line);border-radius:18px;box-shadow:0 6px 30px #173c4c05;background:#fff; }
 body.brw-finance-workspace.brw-hr-workspace .hr-profile-label { display:inline-flex;align-items:center;max-width:100%;padding:6px 10px;margin:0 0 16px;border:1px solid #dce9e2;border-radius:7px;background:#f5faf7;color:#6a887a;font-size:11px;line-height:1.6; }
 body.brw-finance-workspace.brw-hr-workspace #content>.toolbar:first-of-type { margin:0 0 22px;padding-bottom:18px;border-bottom:1px solid #e4ecee; }
 body.brw-finance-workspace.brw-hr-workspace .toolbar { gap:14px;align-items:flex-start;margin:22px 0; }
 body.brw-finance-workspace.brw-hr-workspace .toolbar>div { min-width:0; }
 body.brw-finance-workspace.brw-hr-workspace .toolbar h2 { color:var(--hr-ink);font-size:23px;letter-spacing:-.5px;margin:0 0 8px; }
 body.brw-finance-workspace.brw-hr-workspace .toolbar p { margin:0;color:var(--hr-muted);font-size:13px;line-height:1.75; }
 body.brw-finance-workspace.brw-hr-workspace .toolbar label { min-width:210px;max-width:100%;margin-top:12px; }
 body.brw-finance-workspace.brw-hr-workspace .actions { align-items:center;justify-content:flex-end;gap:8px; }
 body.brw-finance-workspace.brw-hr-workspace :is(.actions,.toolbar) button { display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 14px;font-size:12px;font-weight:600;border-radius:10px;border-color:#d4e2e5;color:#416273;background:#fff;white-space:normal;line-height:1.4; }
 body.brw-finance-workspace.brw-hr-workspace :is(.actions,.toolbar) button.primary { background:#087f70;color:#fff;border-color:#087f70; }
 body.brw-finance-workspace.brw-hr-workspace .hr-tab-icon { display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;flex:0 0 18px; }
 body.brw-finance-workspace.brw-hr-workspace .hr-tab-icon svg { width:18px;height:18px;stroke-width:1.75; }
 body.brw-finance-workspace.brw-hr-workspace .hr-back-link { display:inline-flex;align-items:center;min-height:38px;padding:5px 0;font-size:12px;font-weight:600;color:#428471;text-decoration:none; }
 body.brw-finance-workspace.brw-hr-workspace .hr-back-link:hover { text-decoration:underline;text-underline-offset:4px; }
 body.brw-finance-workspace.brw-hr-workspace :is(input,select,textarea) { min-width:0;max-width:100%;border-color:#d1e0e5;border-radius:9px;color:#254858;background:#fcfefe;font-size:13px; }
 body.brw-finance-workspace.brw-hr-workspace input[type=number] { text-align:right;font-variant-numeric:tabular-nums; }
 body.brw-finance-workspace.brw-hr-workspace label { font-size:12px;font-weight:550;color:#637e8b;line-height:1.6; }
 body.brw-finance-workspace.brw-hr-workspace .hr-filters { grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:14px;padding:18px;margin:20px 0;border:1px solid #e0eae8;border-radius:13px;background:#f7faf9; }
 body.brw-finance-workspace.brw-hr-workspace .hr-filters button { min-height:44px;font-size:12px;color:#578373;background:#fff;border-color:#d7e4dd; }
 body.brw-finance-workspace.brw-hr-workspace .hr-pager { padding:12px 0;gap:12px;margin:8px 0 12px;font-size:12px;color:#7b8f9b; }
 body.brw-finance-workspace.brw-hr-workspace .hr-pager button { min-height:40px;font-size:12px;padding:8px 12px; }
 body.brw-finance-workspace.brw-hr-workspace .table-wrap { max-width:100%;overflow:auto;scrollbar-color:#b9d1c5 #f2f7f4;overscroll-behavior-x:contain; }
 body.brw-finance-workspace.brw-hr-workspace .hr-employees-table { border:1px solid #e2eaed;border-radius:12px;max-height:65dvh; }
 body.brw-finance-workspace.brw-hr-workspace .hr-employees-table table { min-width:1000px;font-size:13px; }
 body.brw-finance-workspace.brw-hr-workspace .hr-employees-table th { position:sticky;top:0;z-index:2;padding:14px 16px;background:#f0f5f7;color:#637b89;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.035em;white-space:normal; }
 body.brw-finance-workspace.brw-hr-workspace .hr-employees-table td { padding:15px 16px;border-color:#eaf0f2;color:#38596b;vertical-align:middle; }
 body.brw-finance-workspace.brw-hr-workspace .hr-employees-table td:nth-child(2) { min-width:200px;max-width:300px;white-space:normal;font-weight:550;line-height:1.7; }
 body.brw-finance-workspace.brw-hr-workspace .hr-employees-table tr:hover td { background:#f7fbf9; }
 body.brw-finance-workspace.brw-hr-workspace .hr-employees-table td button { display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:8px 10px;margin:2px;border:1px solid #d9e6e1;border-radius:8px;font-size:11px;color:#4a7765;background:#fff; }
 body.brw-finance-workspace.brw-hr-workspace .hr-employees-table td button[data-action=archive-employee] { color:#7d8390;background:#fafcfd;border-color:#e3e8ed; }
 body.brw-finance-workspace.brw-hr-workspace .hr-employee-status { display:inline-flex;align-items:center;gap:6px;padding:4px 9px;border-radius:6px;font-size:11px;font-weight:600; }
 body.brw-finance-workspace.brw-hr-workspace .hr-employee-status:before { content:'';width:5px;height:5px;border-radius:50%;background:currentColor; }
 body.brw-finance-workspace.brw-hr-workspace .hr-employee-status.is-active { background:#eaf6ee;color:#348360; }
 body.brw-finance-workspace.brw-hr-workspace .hr-employee-status.is-archived { background:#f1f3f6;color:#7a8493; }
 body.brw-finance-workspace.brw-hr-workspace .empty { margin:22px 0 8px;padding:32px 24px;border:1px dashed #d1e2d9;border-radius:14px;background:#f8fcfa;color:#759085;font-size:13px;line-height:1.8; }
 body.brw-finance-workspace.brw-hr-workspace .hr-list-pages { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px; }
 body.brw-finance-workspace.brw-hr-workspace .hr-list-pages>a { position:relative;display:grid;grid-template-columns:42px minmax(0,1fr);grid-template-rows:auto 1fr;gap:7px 14px;min-width:0;min-height:142px;padding:22px;border:1px solid var(--hr-line);border-radius:14px;background:#fff;color:#315d64;text-decoration:none;box-shadow:none;transition:border-color .15s,background .15s; }
 body.brw-finance-workspace.brw-hr-workspace .hr-list-pages>a:hover { background:#f7fcf9;border-color:#a8cebb; }
 body.brw-finance-workspace.brw-hr-workspace .hr-page-icon { grid-column:1;grid-row:1 / 3;display:grid;place-items:center;width:42px;height:42px;border:1px solid #dcebe2;border-radius:12px;background:#edf7f1;color:#388267; }
 body.brw-finance-workspace.brw-hr-workspace .hr-page-icon svg { width:23px;height:23px;stroke-width:1.75; }
 body.brw-finance-workspace.brw-hr-workspace .hr-list-pages strong { grid-column:2;grid-row:1;font-size:14px;letter-spacing:-.2px;line-height:1.55; }
 body.brw-finance-workspace.brw-hr-workspace .hr-page-description { grid-column:2;grid-row:2;font-size:12px;color:#7a8f9a;line-height:1.7; }
 body.brw-finance-workspace.brw-hr-workspace .hr-page-open { position:absolute;right:12px;top:12px;color:#94b5a6;font-size:13px; }
 body.brw-finance-workspace.brw-hr-workspace .metrics { grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:22px 0; }
 body.brw-finance-workspace.brw-hr-workspace .metrics article { min-width:0;padding:22px;border:1px solid #d8e7e1;border-radius:14px;background:linear-gradient(145deg,#f6fbf8,#fff); }
 body.brw-finance-workspace.brw-hr-workspace .metrics span { font-size:12px;color:#698678; }
 body.brw-finance-workspace.brw-hr-workspace .metrics strong { font-size:clamp(21px,2vw,29px);line-height:1.3;font-weight:720;letter-spacing:-.75px;color:#204e4c;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin:12px 0 6px; }
 body.brw-finance-workspace.brw-hr-workspace .metrics small { color:#8a9d96;font-size:10px;letter-spacing:.04em; }
 body.brw-finance-workspace.brw-hr-workspace .hr-export-panel { padding:20px;margin:20px 0;border:1px solid #d8e8df;border-radius:14px;background:#f5faf7; }
 body.brw-finance-workspace.brw-hr-workspace .hr-export-panel label { max-width:440px; }
 body.brw-finance-workspace.brw-hr-workspace .hr-export-panel p { font-size:12px;line-height:1.8;color:#71897d; }
 body.brw-finance-workspace.brw-hr-workspace .charges { border-color:#e0e8eb;background:#e0e8eb;border-radius:12px; }
 body.brw-finance-workspace.brw-hr-workspace .charges>div { padding:16px 18px;gap:16px;min-width:0;background:#fcfefe;font-size:12px;line-height:1.65; }
 body.brw-finance-workspace.brw-hr-workspace .charges>div span { color:#728995; }
 body.brw-finance-workspace.brw-hr-workspace .charges>div strong { color:#325e66;text-align:right;font-variant-numeric:tabular-nums;overflow-wrap:anywhere; }
 body.brw-finance-workspace.brw-hr-workspace #content>h3 { margin:28px 0 16px;color:#305d68;font-size:17px;letter-spacing:-.3px; }
 body.brw-finance-workspace.brw-hr-workspace .audit { padding:0;list-style:none;border:1px solid #e0e8eb;border-radius:12px;max-height:380px;overflow:auto; }
 body.brw-finance-workspace.brw-hr-workspace .audit li { padding:13px 17px;border-bottom:1px solid #edf1f3;font-size:12px;line-height:1.8;overflow-wrap:anywhere; }
 body.brw-finance-workspace.brw-hr-workspace .audit li:last-child { border-bottom:0; }
 body.brw-finance-workspace.brw-hr-workspace #editor { width:min(1060px,calc(100vw - 32px));max-height:calc(100dvh - 32px);border-radius:18px;border-color:#d5e3e1; }
 body.brw-finance-workspace.brw-hr-workspace #hr-form { display:flex;flex-direction:column;max-height:calc(100dvh - 34px);overflow:hidden; }
 body.brw-finance-workspace.brw-hr-workspace #editor :is(.dialog-brand,.dialog-actions) { flex-shrink:0;background:#fbfdfc; }
 body.brw-finance-workspace.brw-hr-workspace #editor .dialog-body { min-height:0;overflow:auto;overscroll-behavior:contain;padding:26px 28px; }
 body.brw-finance-workspace.brw-hr-workspace #editor .dialog-body>h2 { margin:0 0 24px;color:#234d5b;font-size:25px;letter-spacing:-.6px; }
 body.brw-finance-workspace.brw-hr-workspace #editor .dialog-body>h3 { margin:28px 0 18px;padding-top:20px;border-top:1px solid #e3ece9;color:#43756a;font-size:16px; }
 body.brw-finance-workspace.brw-hr-workspace #editor .fields { grid-template-columns:repeat(3,minmax(0,1fr));gap:18px; }
 body.brw-finance-workspace.brw-hr-workspace #editor .fields label { gap:7px; }
 body.brw-finance-workspace.brw-hr-workspace #editor :is(input,select,textarea) { min-height:44px; }
 body.brw-finance-workspace.brw-hr-workspace #editor input[type=checkbox] { min-height:18px;width:18px;flex:0 0 18px; }
 body.brw-finance-workspace.brw-hr-workspace #editor .check { gap:10px;line-height:1.7; }
 body.brw-finance-workspace.brw-hr-workspace #editor .dialog-actions { padding:16px 24px;gap:10px; }
 body.brw-finance-workspace.brw-hr-workspace #editor .dialog-actions button { min-height:44px;padding:10px 18px;font-size:13px; }
 body.brw-finance-workspace.brw-hr-workspace #editor .note { margin:16px 0;padding:13px 16px;border:1px solid #e1ebe8;border-radius:10px;background:#f7faf9;font-size:12px;line-height:1.8; }
 body.brw-finance-workspace.brw-hr-workspace #editor #salary-calculation { max-width:100%;overflow:auto; }
 body.brw-finance-workspace.brw-hr-workspace .hr-slip-scroll,body.brw-finance-workspace.brw-hr-workspace .hr-declaration-document { max-width:100%;overflow:auto;padding:20px;background:#edf2f5;border:1px solid #dce5eb;border-radius:12px; }
 @media(max-width:1100px) {
  body.brw-finance-workspace.brw-hr-workspace #tabs { gap:12px!important; }
  body.brw-finance-workspace.brw-hr-workspace #tabs>button { padding:20px!important;gap:12px;flex-wrap:wrap; }
  body.brw-finance-workspace.brw-hr-workspace .hr-menu-copy { flex:1 1 180px; }
  body.brw-finance-workspace.brw-hr-workspace .hr-menu-arrow { position:absolute;right:18px;top:26px; }
  body.brw-finance-workspace.brw-hr-workspace .hr-list-pages { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body.brw-finance-workspace.brw-hr-workspace .metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
 }
 @media(max-width:800px) {
  body.brw-finance-workspace.brw-hr-workspace main { padding:22px 14px 40px; }
  body.brw-finance-workspace.brw-hr-workspace #tabs { grid-template-columns:1fr!important; }
  body.brw-finance-workspace.brw-hr-workspace #tabs>button { min-height:128px;flex-wrap:nowrap;align-items:center;padding:22px!important; }
  body.brw-finance-workspace.brw-hr-workspace .hr-menu-copy { flex:1; }
  body.brw-finance-workspace.brw-hr-workspace .hr-menu-arrow { position:static;align-self:center; }
  body.brw-finance-workspace.brw-hr-workspace #content { padding:20px; }
  body.brw-finance-workspace.brw-hr-workspace .toolbar { align-items:stretch; }
  body.brw-finance-workspace.brw-hr-workspace .toolbar .actions { justify-content:flex-start; }
  body.brw-finance-workspace.brw-hr-workspace #editor .fields { grid-template-columns:repeat(2,minmax(0,1fr)); }
 }
 @media(max-width:600px) {
  body.brw-finance-workspace.brw-hr-workspace>header { padding:10px 12px;gap:12px; }
  body.brw-finance-workspace.brw-hr-workspace>header img { width:66px;height:43px; }
  body.brw-finance-workspace.brw-hr-workspace>header strong { font-size:13px; }
  body.brw-finance-workspace.brw-hr-workspace .page-heading { align-items:flex-start;gap:14px;margin-bottom:22px; }
  body.brw-finance-workspace.brw-hr-workspace .page-heading h1 { font-size:28px; }
  body.brw-finance-workspace.brw-hr-workspace #content { padding:17px 14px;border-radius:14px; }
  body.brw-finance-workspace.brw-hr-workspace .toolbar h2 { font-size:21px; }
  body.brw-finance-workspace.brw-hr-workspace .toolbar>:is(div,h2,label),body.brw-finance-workspace.brw-hr-workspace .toolbar>.actions { max-width:100%;min-width:0; }
  body.brw-finance-workspace.brw-hr-workspace .toolbar .actions { width:100%;flex-wrap:wrap; }
  body.brw-finance-workspace.brw-hr-workspace .actions button { flex:1 1 140px; }
  body.brw-finance-workspace.brw-hr-workspace :is(input,select,textarea) { font-size:16px; }
  body.brw-finance-workspace.brw-hr-workspace .hr-filters { grid-template-columns:repeat(2,minmax(0,1fr));padding:14px;gap:12px; }
  body.brw-finance-workspace.brw-hr-workspace .hr-filters>label:first-child { grid-column:1 / -1; }
  body.brw-finance-workspace.brw-hr-workspace .hr-filters button { grid-column:1 / -1; }
  body.brw-finance-workspace.brw-hr-workspace .hr-pager { align-items:flex-start;flex-direction:column;gap:10px; }
  body.brw-finance-workspace.brw-hr-workspace .hr-list-pages { grid-template-columns:1fr;gap:11px; }
  body.brw-finance-workspace.brw-hr-workspace .hr-list-pages>a { min-height:120px;padding:19px; }
  body.brw-finance-workspace.brw-hr-workspace .metrics { gap:10px; }
  body.brw-finance-workspace.brw-hr-workspace .metrics article { padding:16px 13px; }
  body.brw-finance-workspace.brw-hr-workspace .metrics strong { font-size:22px; }
  body.brw-finance-workspace.brw-hr-workspace .charges { grid-template-columns:1fr; }
  body.brw-finance-workspace.brw-hr-workspace .charges>div { padding:14px; }
  body.brw-finance-workspace.brw-hr-workspace #editor { width:calc(100vw - 16px);max-height:calc(100dvh - 16px); }
  body.brw-finance-workspace.brw-hr-workspace #hr-form { max-height:calc(100dvh - 18px); }
  body.brw-finance-workspace.brw-hr-workspace #editor .dialog-body { padding:22px 17px; }
  body.brw-finance-workspace.brw-hr-workspace #editor .fields,body.brw-finance-workspace.brw-hr-workspace .hr-setting-choices { grid-template-columns:minmax(0,1fr); }
  body.brw-finance-workspace.brw-hr-workspace #editor .dialog-actions { padding:14px 17px; }
  body.brw-finance-workspace.brw-hr-workspace #editor .dialog-actions button { flex:1; }
  body.brw-finance-workspace.brw-hr-workspace .hr-slip-scroll,body.brw-finance-workspace.brw-hr-workspace .hr-declaration-document { padding:12px; }
 }
 @media(max-width:380px) {
  body.brw-finance-workspace.brw-hr-workspace .metrics { grid-template-columns:1fr; }
  body.brw-finance-workspace.brw-hr-workspace .charges>div { flex-direction:column;gap:6px; }
  body.brw-finance-workspace.brw-hr-workspace .charges>div strong { text-align:left; }
 }
 @media(prefers-reduced-motion:reduce) { body.brw-finance-workspace.brw-hr-workspace * { transition:none!important;animation:none!important;scroll-behavior:auto!important; } }
}

@media screen{body.brw-finance-workspace.brw-hr-workspace :is(#content,#hr-section-navigation,.page-heading)[hidden]{display:none!important}}
