
:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:#153344;background:#f3f6f8;font-size:14px;--navy:#102b3c;--teal:#087f75;--muted:#647783;--line:#dce5e9}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{outline-offset:3px}button,.button{cursor:pointer;border:0;border-radius:8px;padding:11px 17px;background:var(--teal);color:white;font-weight:600;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:7px}button:hover,.button:hover{filter:brightness(.93)}button:disabled{opacity:.5;cursor:wait}.secondary{background:white;color:var(--navy);border:1px solid var(--line)}.danger{background:#fff0ec;color:#a63824}.small{padding:7px 10px;font-size:12px}.shell{display:grid;grid-template-columns:235px 1fr;min-height:100vh}.sidebar{background:var(--navy);padding:30px 20px;color:white;position:sticky;top:0;height:100vh;display:flex;flex-direction:column}.brand{font-size:23px;font-weight:700;letter-spacing:-.6px}.brand-mark{display:inline-grid;place-items:center;background:#10ac96;width:35px;height:35px;border-radius:10px;margin-right:10px;font-size:20px}.sidebar .sub{color:#95b7c6;font-size:12px;margin:9px 0 35px}.sidebar nav{display:grid;gap:6px}.nav{background:transparent;text-align:left;justify-content:flex-start;color:#b9d0da;padding:13px}.nav.active{background:#244657;color:white}.sidebar footer{margin-top:auto;font-size:12px;color:#a0b9c5;line-height:1.8}.sidebar footer strong{color:white}.main{min-width:0}.topbar{background:white;border-bottom:1px solid var(--line);padding:17px 36px;display:flex;align-items:center;justify-content:space-between;gap:15px}.topbar select{max-width:290px;background:#f4f7f9}.topbar .account{display:flex;align-items:center;gap:12px}.avatar{width:34px;height:34px;display:grid;place-items:center;background:#e0f3ed;color:var(--teal);border-radius:50%;font-weight:bold}.content{max-width:1400px;margin:auto;padding:32px 36px 60px}.eyebrow{color:var(--teal);font-size:11px;letter-spacing:1.5px;font-weight:700;text-transform:uppercase;margin-bottom:9px}h1{font-size:30px;letter-spacing:-1px;margin:0 0 9px}h2{font-size:18px;margin:0 0 16px}h3{font-size:15px;margin:0 0 10px}p{line-height:1.6;margin:8px 0 18px}.muted{color:var(--muted)}.heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:28px}.heading p{margin:0}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin:24px 0}.card,.panel{background:white;border:1px solid var(--line);border-radius:12px;padding:23px}.card small{color:var(--muted);display:block;margin-bottom:13px}.card strong{font-size:25px;font-weight:650}.card .note{color:var(--muted);font-size:12px;margin-top:9px}.panel{margin:20px 0}.panel-header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:16px}.panel-header h2{margin:0}.split{display:grid;grid-template-columns:1.5fr 1fr;gap:20px}.split .panel{margin:0}.banner{border:1px solid #edd6ad;background:#fff9ee;color:#745322;border-radius:9px;padding:13px 17px;line-height:1.6;margin:15px 0}.info{background:#eef8f5;border-color:#c4e6dc;color:#1d6657}.pill{display:inline-block;font-size:11px;font-weight:600;padding:5px 9px;border-radius:20px;background:#edf1f4;color:#4a6575}.pill.completed{color:#146750;background:#e5f5ed}.pill.submitted{color:#8f6010;background:#fff1ce}.pill.cancelled{background:#faeae7;color:#984433}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:13px}th{text-align:left;color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.5px;padding:12px 10px;border-bottom:1px solid var(--line);white-space:nowrap}td{padding:14px 10px;border-bottom:1px solid #edf1f3}tbody tr:last-child td{border-bottom:0}.right{text-align:right}.empty{text-align:center;padding:45px 20px}.empty h2{margin-bottom:10px}.empty p{max-width:500px;margin:0 auto 22px}.grid-form{display:grid;grid-template-columns:1fr 1fr;gap:16px}label{display:grid;gap:7px;font-size:12px;font-weight:600;color:#415e6e}input,select{width:100%;border:1px solid #ccd9df;padding:10px 12px;border-radius:7px;color:var(--navy);background:white;min-width:0}input[type=checkbox]{width:17px;height:17px;margin:0;accent-color:var(--teal)}select[multiple]{min-height:120px}label.check{display:flex;align-items:center;gap:9px;font-size:13px;line-height:1.6}.full{grid-column:1/-1}.actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center;margin-top:20px}.stepper{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:23px 0}.step{color:var(--muted);border-bottom:3px solid #dce5e9;padding:10px 0}.step.active{border-color:var(--teal);color:var(--teal);font-weight:650}.step span{display:inline-grid;place-items:center;border:1px solid currentColor;border-radius:50%;width:24px;height:24px;margin-right:6px;font-size:11px}.pay-table input{width:100px;padding:8px}.pay-table td:first-child{min-width:160px}.pay-table{min-width:1100px}.auth{max-width:1050px;margin:7vh auto;display:grid;grid-template-columns:1fr 1fr;background:white;border:1px solid var(--line);border-radius:20px;overflow:hidden;min-height:580px}.auth-story{background:var(--navy);color:white;padding:48px;display:flex;flex-direction:column;justify-content:space-between}.auth-story h1{font-size:38px;line-height:1.15}.auth-story p{color:#b5ced7}.auth-form{padding:50px;align-self:center}.auth-form form{display:grid;gap:17px}.auth .brand{margin-bottom:50px}dialog{border:1px solid var(--line);border-radius:16px;padding:28px;max-width:740px;width:90vw;max-height:90vh;overflow:auto;color:var(--navy)}dialog::backdrop{background:#102b3c99;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.dialog-head h2{margin:0}#notice{position:fixed;bottom:24px;right:24px;max-width:500px;background:var(--navy);color:white;padding:15px 20px;border-radius:10px;box-shadow:0 8px 30px #0002;z-index:10;display:none}#notice.error{background:#9e382b}.loading{padding:50px}.inline-error{color:#a63824;font-size:13px}.ledger{display:grid;gap:12px}.ledger div{display:flex;justify-content:space-between;padding-bottom:12px;border-bottom:1px solid var(--line)}.timeline{list-style:none;padding:0;margin:0}.timeline li{padding:12px 0;border-bottom:1px solid #edf1f3;display:flex;gap:12px}.timeline time{font-size:11px;color:var(--muted);min-width:85px}.timeline span{line-height:1.5}.stat{font-variant-numeric:tabular-nums}#print-area{display:none}.payslip{padding:25px}.payslip table td:last-child{text-align:right}.payslip .total{font-size:22px;font-weight:bold}.mobile-brand{display:none}@media(max-width:1050px){.cards{grid-template-columns:1fr 1fr}.split{grid-template-columns:1fr}.content{padding:25px}.topbar{padding:15px 25px}.shell{grid-template-columns:200px 1fr}}@media(max-width:700px){.shell{display:block}.sidebar{position:static;height:auto;padding:15px}.sidebar .sub,.sidebar footer{display:none}.sidebar nav{display:flex;overflow:auto;margin-top:15px}.nav{white-space:nowrap;padding:10px}.brand{font-size:20px}.topbar{padding:15px;flex-wrap:wrap}.topbar .account{margin-left:auto}.content{padding:20px 15px}.heading{align-items:flex-start}.heading h1{font-size:25px}.cards{gap:10px}.card{padding:17px}.card strong{font-size:22px}.auth{margin:15px;display:block;min-height:0}.auth-story{padding:25px}.auth-story .brand{margin-bottom:25px}.auth-story h1{font-size:27px}.auth-story p{margin-bottom:0}.auth-story .foot{display:none}.auth-form{padding:28px}.grid-form{grid-template-columns:1fr}.stepper{gap:7px}.step{font-size:11px}.step span{display:none}.panel{padding:16px}.topbar select{max-width:210px}}@media print{body>*{display:none!important}#print-area{display:block!important}#print-area .payslip{break-after:page}#print-area .payslip:last-child{break-after:auto}table{width:100%}.muted{color:#555}body{background:white;color:black}}

.rates-fieldset{border:0;padding:0;margin:0;min-width:0}.rates-fieldset textarea{font:inherit;border:1px solid #ccd9df;border-radius:7px;padding:10px;color:var(--navy);resize:vertical}.nis-schedule{min-width:1050px}.nis-schedule input{min-width:95px}.nis-schedule td:first-child input{min-width:65px}.rates-fieldset:disabled button[data-action="remove-rate-row"]{display:none}

#nis-import-tools textarea{font:inherit;min-height:140px;width:100%;border:1px solid #ccd9df;border-radius:7px;padding:12px;resize:vertical}#nis-import-tools hr{border:0;border-top:1px solid var(--line);margin:22px 0}.import-auto{margin-top:18px}#nis-update-status{line-height:1.6;margin:16px 0}.published-schedule{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}#nis-import-tools summary{cursor:pointer;color:var(--teal);font-weight:600;margin:18px 0}.import-preview{min-width:760px}.import-changed{background:#f0f9f5}#nis-paste-form button{margin-top:12px}
dialog:has(#nis-import-review){max-width:1120px}.import-preview{font-size:12px}
