:root{font-family:Manrope,Arial,sans-serif;color:#1b2338;background:#f5f7fb;font-size:14px;--blue:#2647ed;--line:#e6eaf2;--muted:#727d91;--navy:#182137}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{outline-offset:4px}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit;text-decoration:none}.app{display:flex;min-height:100vh}aside{width:228px;background:white;border-right:1px solid var(--line);padding:32px 18px;position:fixed;top:0;bottom:0;display:flex;flex-direction:column}.brand{font-size:27px;font-weight:800;letter-spacing:-1.3px;display:flex;gap:9px;align-items:center;padding:0 7px}.brandmark{background:var(--blue);color:white;border-radius:10px;width:36px;height:36px;flex:0 0 36px;display:flex;align-items:center;justify-content:center;text-align:center;font-size:25px;line-height:1;letter-spacing:0}.version{font-size:11px;letter-spacing:0;color:var(--muted);align-self:start;margin-top:3px}.workspace{font-size:10px;font-weight:800;letter-spacing:1.4px;color:#99a2b2;margin:46px 12px 16px}nav a{display:flex;align-items:center;gap:12px;padding:13px 14px;margin:5px 0;border-radius:8px;font-weight:600;color:#647087}nav a.active{background:#eef1ff;color:var(--blue)}nav a:hover{background:#f4f6fb}svg{width:19px;height:19px;flex-shrink:0}.aside-bottom{margin-top:auto;display:flex;align-items:center;gap:10px;padding:20px 8px 0;border-top:1px solid var(--line)}.avatar{background:#edf0f7;border-radius:50%;display:flex;justify-content:center;align-items:center;width:36px;height:36px;font-size:11px;font-weight:800}.aside-bottom strong{font-size:12px}.aside-bottom small{display:block;color:var(--muted);margin-top:3px;font-size:11px}.main{margin-left:228px;width:calc(100% - 228px)}header{height:76px;background:#fff;border-bottom:1px solid var(--line);padding:0 40px;display:flex;align-items:center;justify-content:space-between;color:#778197;font-size:12px}.head-right{display:flex;align-items:center;gap:9px}.sample-dot{width:7px;height:7px;background:#dc9a35;border-radius:50%}.icon-btn{border:1px solid var(--line);background:white;border-radius:50%;width:26px;height:26px;color:var(--muted);margin-left:12px}main{max-width:1600px;margin:auto;padding:36px 40px 50px}.page-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:25px}h1{font-size:29px;letter-spacing:-1.1px;margin:0;font-weight:800}h2{font-size:17px;letter-spacing:-.3px;margin:0}h3{font-size:14px;margin:0}.sub{color:var(--muted);font-size:13px;margin:8px 0 0;line-height:1.65}.btn{border:1px solid #dfe4ed;background:#fff;color:#343e55;border-radius:7px;padding:10px 15px;font-weight:650;font-size:12px;display:inline-flex;justify-content:center;align-items:center;gap:8px;white-space:nowrap}.btn.primary{background:var(--blue);color:#fff;border-color:var(--blue);box-shadow:0 3px 6px #2647ed15}.btn:hover{filter:brightness(.97)}.actions{display:flex;gap:10px;align-items:center}.notice{background:#f0f3ff;border:1px solid #dce3ff;border-radius:8px;display:flex;gap:12px;align-items:center;padding:13px 16px;color:#526086;font-size:12px;line-height:1.6;margin-bottom:26px}.notice strong{color:#334c9e}.notice.amber{background:#fff9ed;border-color:#f4e5c8;color:#876331}.notice button{margin-left:auto;color:var(--blue);border:0;background:none;font-weight:700;white-space:nowrap}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:28px}.stat{background:white;border:1px solid var(--line);border-radius:10px;padding:21px 23px;min-height:132px}.stat-label{font-size:12px;color:var(--muted);display:flex;align-items:center;justify-content:space-between}.stat-value{font-size:27px;font-weight:750;letter-spacing:-1px;margin:13px 0 6px;font-variant-numeric:tabular-nums}.stat small{font-size:11px;color:#8b95a6}.stat.focus{background:var(--navy);border-color:var(--navy);color:white}.stat.focus .stat-label{color:#c1c9db}.stat.focus small{color:#a2afca}.card{background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden;margin-bottom:22px}.card-head{padding:21px 23px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:15px}.tabs{display:flex;gap:5px;padding:6px;background:#f2f4f9;border-radius:8px;flex-wrap:wrap}.tabs button{border:0;background:none;padding:8px 17px;border-radius:6px;color:#6a768e;font-size:12px;font-weight:700}.tabs button.active{background:#fff;color:var(--blue);box-shadow:0 1px 4px #172b4d15}.pill{display:inline-flex;align-items:center;padding:5px 9px;border-radius:5px;font-size:11px;font-weight:700;white-space:nowrap}.pill.blue{color:#4565c7;background:#eef2ff}.pill.green{color:#32806a;background:#ecf7f2}.pill.amber{color:#a77626;background:#fff5df}.muted{color:var(--muted)}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{background:#fafbfe;color:#8590a3;font-size:10px;font-weight:750;text-transform:uppercase;letter-spacing:.65px;padding:14px 18px}td{border-top:1px solid #edf0f5;padding:17px 18px;font-size:12px}tbody tr:hover{background:#fafbff}th:first-child,td:first-child{padding-left:23px}th:last-child,td:last-child{padding-right:23px}.num{text-align:right;font-variant-numeric:tabular-nums}.login{font-weight:700;color:#37445e}.login small{display:block;font-weight:400;color:#9099aa;margin-top:5px;font-size:11px}.person{display:flex;align-items:center;gap:11px}.person .avatar{border-radius:9px;background:#edf1ff;color:#5c72ba;font-size:11px}.amount{font-weight:800}.link{background:none;border:0;color:var(--blue);font-weight:650;font-size:12px;padding:0}.table-foot{padding:17px 23px;display:flex;justify-content:space-between;border-top:1px solid var(--line);color:var(--muted);font-size:12px}.totalrow td{background:#f8faff;font-weight:750}.lower-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:22px}.compact{padding:24px}.formula{margin:18px 0 5px;font-size:13px;line-height:2;color:#66728b}.formula b{color:#243a69}.progress{display:flex;align-items:center;gap:12px;margin-top:20px}.progress span{color:var(--muted);font-size:12px}.progress i{display:block;height:5px;flex:1;border-radius:5px;background:#edf0f8}.progress i b{height:5px;display:block;background:var(--blue);border-radius:5px}.toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.search{border:1px solid var(--line);background:white;padding:10px 13px;border-radius:7px;width:260px;max-width:100%;font-size:12px}.empty{padding:42px;text-align:center;color:var(--muted);line-height:1.8}.upload-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.upload{padding:26px;position:relative}.upload .step{font-size:12px;color:var(--blue);background:#edf1ff;width:31px;height:31px;border-radius:8px;display:flex;align-items:center;justify-content:center;margin-bottom:18px;font-weight:800}.upload p{font-size:13px;line-height:1.8;color:var(--muted);min-height:48px}.upload .btn{margin-top:12px}.file-meta{margin-top:17px;color:#667790;font-size:11px}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:18px}.field{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#647087}.field input,.field select{padding:10px 12px;border:1px solid #dfe5ef;border-radius:6px;color:#26334d;background:white;width:100%;font-size:14px}.field input:focus{border-color:var(--blue)}.field.full{grid-column:1/-1}.section-label{margin:24px 0 14px;border-top:1px solid var(--line);padding-top:20px;font-size:11px;color:#8994a7;letter-spacing:.8px;text-transform:uppercase}.leader-layout{display:grid;grid-template-columns:330px 1fr;gap:22px}.select-list{list-style:none;padding:0;margin:0}.select-list li{display:flex;gap:14px;align-items:center;padding:15px 20px;border-top:1px solid var(--line)}.select-list input[type=checkbox]{accent-color:var(--blue);width:17px;height:17px}.select-list .login{font-size:12px;flex:1;white-space:normal;overflow-wrap:anywhere}.rate-input{width:73px;border:1px solid var(--line);border-radius:5px;padding:7px;text-align:right}.history-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.history-tile{padding:22px}.history-tile h3{margin-bottom:16px}.history-tile b{font-size:25px}.history-tile small{display:block;color:var(--muted);margin:6px 0 15px}footer{padding:22px 40px;color:#9aa3b2;font-size:11px;display:flex;justify-content:space-between;border-top:1px solid var(--line)}dialog{border:1px solid var(--line);border-radius:14px;box-shadow:0 25px 100px #11214735;padding:0;width:580px;max-width:94vw;max-height:90vh;color:var(--navy)}dialog::backdrop{background:#16203966;backdrop-filter:blur(2px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;padding:24px 28px;border-bottom:1px solid var(--line)}.dialog-body{padding:22px 28px}.dialog-foot{padding:18px 28px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:10px;background:#fafbfe}.close{border:0;background:none;font-size:24px;color:#8994a7}.full-login{font-size:13px;overflow-wrap:anywhere;color:var(--muted);margin:0 0 20px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#182137;color:#fff;padding:13px 24px;border-radius:8px;box-shadow:0 5px 30px #19223830;display:none;z-index:100;font-size:13px}.checkline{display:flex;align-items:center;gap:10px;padding:12px 0;font-size:13px}.loading{padding:80px;text-align:center}.small-note{font-size:12px;color:var(--muted);line-height:1.8}.summary-value{font-size:31px;letter-spacing:-1px;font-weight:800;margin:12px 0}.row-detail{display:flex;justify-content:space-between;padding:11px 0;font-size:12px;border-bottom:1px solid var(--line)}.upload-progress{padding:18px;color:var(--blue)}
@media(min-width:1500px){:root{font-size:16px}td{font-size:14px}th{font-size:12px}.btn,.sub,.notice,.tabs button,.stat-label{font-size:14px}}@media(max-width:1150px){aside{width:190px;padding:27px 12px}.main{margin-left:190px;width:calc(100% - 190px)}main{padding:26px 24px}header{padding:0 24px}.stats{gap:10px}.stat{padding:18px 15px}.stat-value{font-size:23px}.leader-layout{grid-template-columns:270px 1fr}.history-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:800px){aside{position:static;width:100%;padding:18px}.app{display:block}.brand{font-size:25px}.workspace,.aside-bottom{display:none}nav{display:flex;overflow-x:auto;margin-top:15px}nav a{white-space:nowrap;padding:10px;font-size:12px}nav svg{display:none}.main{margin:0;width:100%}header{height:54px;padding:0 18px;font-size:11px}main{padding:24px 18px}.stats{grid-template-columns:repeat(2,1fr)}.page-title{align-items:flex-start;flex-wrap:wrap}h1{font-size:25px}.lower-grid,.leader-layout{grid-template-columns:1fr}.upload-grid{grid-template-columns:1fr}.card-head{flex-wrap:wrap;padding:18px}.history-grid{grid-template-columns:repeat(2,1fr)}.head-right{gap:5px}.notice{align-items:flex-start}.notice button{white-space:normal}footer{padding:20px;display:block;line-height:1.8}footer span{display:block}.grid2{gap:12px}.stat-value{font-size:24px}}

.sm-toggle{display:flex;align-items:center;gap:12px;margin-top:20px;cursor:pointer;font-weight:600}.sm-toggle input{position:absolute;opacity:0;width:1px;height:1px}.sm-track{width:42px;height:24px;border-radius:20px;background:#bfc5d6;position:relative}.sm-track:after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:white;transition:transform .15s}.sm-toggle input:checked+.sm-track{background:#2647ed}.sm-toggle input:checked+.sm-track:after{transform:translateX(18px)}.sm-toggle input:focus-visible+.sm-track{outline:2px solid #2647ed;outline-offset:3px}

.payroll-table{font-size:12px}.payroll-table th,.payroll-table td{padding:14px 10px}.payroll-table th{white-space:normal}.payroll-table td:first-child{min-width:200px}.payroll-table .person{gap:8px}.payroll-table .person .avatar{display:none}.payroll-table tfoot td{font-weight:700;background:#f5f7fc;border-top:1px solid #e2e6ef}

.employees-table th:first-child,.employees-table td:first-child{width:1%;white-space:nowrap;padding-right:18px}.employees-table th:nth-child(2),.employees-table td:nth-child(2){padding-left:12px}

.employees-table th,.employees-table td{padding:14px 10px}.employees-table th{white-space:normal}.employees-table td{font-size:12px}.employees-table td:nth-child(2){min-width:170px;white-space:normal}

.stat-button{text-align:left;color:inherit;font:inherit;width:100%;cursor:pointer}.stat-button:hover{border-color:#2647ed;background:#fafbff}.stat-button:focus-visible{outline:2px solid #2647ed}.wide-dialog{width:1100px;max-width:94vw}.wide-dialog td{white-space:normal;min-width:100px}

.payroll-table tr.sz-row>td,.employees-table tr.sz-row>td{background:#e8f5ec}.payroll-table tr.sz-row:hover>td,.employees-table tr.sz-row:hover>td{background:#def0e4}

.dialog-message{margin-top:18px;padding:12px 14px;background:#fff1ef;border:1px solid #efc1ba;border-radius:8px;color:#9c3024;line-height:1.6;overflow-wrap:anywhere}

.approval-marks{display:flex;flex-wrap:wrap;align-items:center;gap:12px 32px;margin:10px 0}.approval-mark{display:inline-flex;align-items:center;gap:12px;font-weight:600}.approval-box{display:inline-block;position:relative;width:22px;height:22px;background:#fff;border:1.5px solid #cbd3df;border-radius:3px;overflow:visible}.approval-box svg{position:absolute;left:-2px;top:-7px;width:30px;height:30px;overflow:visible;fill:none;stroke:#239750;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round}

.period-dialog .dialog-head{padding:16px 20px}.period-dialog .dialog-body{padding:16px 20px}.period-dialog .dialog-foot{padding:12px 20px}.period-dialog .field{gap:6px}.period-dialog .field input,.period-dialog .field select{padding:9px 11px}.period-dialog #period-form>p{margin:12px 0 0;font-size:12px;line-height:1.5}

.refresh-status{padding:10px;min-width:38px}.refresh-status svg{width:18px;height:18px}

.refresh-status svg{color:#239750}

.identity-name{display:block;color:#8791a4;font-size:11px;font-weight:400;margin-top:4px;line-height:1.4}.employees-table td:nth-child(2){min-width:0;white-space:nowrap}.employees-table td:first-child{min-width:220px}

.upload-status{color:#727d91;line-height:1.6;overflow-wrap:anywhere}.upload-status strong{font-weight:600;color:inherit}.upload-status span{display:block}

/* Compact approval controls occupy the existing header height. */
header.has-approval{overflow:hidden}
header.has-approval>#breadcrumb,header.has-approval>.head-right{display:none}
.header-approval{display:flex;align-items:center;gap:20px;width:100%;min-width:0;height:100%;overflow-x:auto;white-space:nowrap;color:var(--navy);padding:6px 0}
.header-approval .row-detail{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;border:0;padding:0;margin:0;flex-shrink:0}
.header-approval h2{font-size:13px;margin:0;line-height:1.3}
.header-approval .pill{font-size:10px;padding:2px 7px}
.header-approval .approval-marks{flex-wrap:nowrap;gap:18px;margin:0;flex-shrink:0}
.header-approval .approval-mark{gap:7px;font-size:12px}
.header-approval .approval-box{width:18px;height:18px}
.header-approval .approval-box svg{width:25px;height:25px;top:-6px}
.header-approval>div:last-of-type{flex-wrap:nowrap!important;gap:8px!important;margin-left:auto;flex-shrink:0}
.header-approval .btn{padding:7px 11px;font-size:12px;min-height:32px;white-space:nowrap}
.header-approval .refresh-status{width:32px;height:32px;padding:6px}
.header-approval .identity-name{font-size:10px}
.approval-help{background:white;border:1px solid var(--line);color:var(--muted);border-radius:50%;width:22px;height:22px;flex-shrink:0;padding:0}

.rolling-number{white-space:pre;font-variant-numeric:tabular-nums}.digit-wheel{display:inline-block;height:1em;overflow:hidden;vertical-align:-.08em;line-height:1em}.digit-strip{display:inline-flex;flex-direction:column;will-change:transform}.digit-strip>span{display:block;flex:0 0 1em;height:1em;line-height:1em}
/* Summary cards: blue payout panel. */
.stats .stat{position:relative;overflow:hidden}
.stats .stat.focus{background:linear-gradient(125deg,#183b57,#1b6588);border-color:#1b5876;color:#fff}
.stats .stat>small{display:block}
/* Readable payroll and employee tables. */
.payroll-table,.employees-table{border-collapse:separate;border-spacing:0;font-variant-numeric:tabular-nums}
.payroll-table thead th,.employees-table thead th{background:#edf2f8;color:#596980;font-size:11px;font-weight:700;letter-spacing:.025em;line-height:1.45;border-bottom:1px solid #dbe3ed;padding:16px 12px}
.payroll-table tbody td,.employees-table tbody td{padding:17px 12px;border-bottom:1px solid #edf0f5;line-height:1.5;color:#344157;background:#fff}
.payroll-table tbody tr:nth-child(even)>td,.employees-table tbody tr:nth-child(even)>td{background:#f8fafd}
.payroll-table tbody tr:hover>td,.employees-table tbody tr:hover>td{background:#eef4fb}
.payroll-table .login,.employees-table .login{font-weight:650;color:#27364e;letter-spacing:-.15px}
.payroll-table .identity-name,.employees-table .identity-name{color:#7b8799;font-size:11px;margin-top:5px;letter-spacing:0}
.payroll-table tbody td.amount{font-weight:750;color:#174b66;background:#edf5f8;border-left:1px solid #dfebf0}
.payroll-table tbody tr:nth-child(even)>td.amount{background:#e9f2f6}
.payroll-table tbody tr.leader-row>td{background:#edf1f8;border-top:2px solid #d6dfec;font-weight:600}
.payroll-table tbody td.zero-value,.employees-table tbody td.zero-value{color:#9aa5b5;font-weight:400}
.payroll-table tbody tr.sz-row>td,.employees-table tbody tr.sz-row>td{background:#eaf6ee}
.payroll-table tbody tr.sz-row>td:first-child,.employees-table tbody tr.sz-row>td:first-child{box-shadow:inset 3px 0 #69ab82}
.payroll-table tbody tr.sz-row:hover>td,.employees-table tbody tr.sz-row:hover>td{background:#dff0e6}
.payroll-table tfoot td{padding:16px 12px;background:#edf2f8;color:#263d55;font-size:13px;border-top:1px solid #d8e2ed}
.payroll-table tfoot tr:last-child td{background:#edf6f0;color:#37634a}
@media(min-width:1500px){.payroll-table tbody td,.employees-table tbody td{font-size:14px}.payroll-table .identity-name,.employees-table .identity-name{font-size:12px}}

/* Soft glass dashboard based on the supplied reference. */
:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;background:#edf0f8;color:#29314d;--blue:#6353e9;--line:#dfe3f2;--muted:#78809b;--navy:#273354}
body{background:radial-gradient(ellipse at 90% 5%,#f8e8f4,transparent 48%),radial-gradient(ellipse at 20% 75%,#dceaff,transparent 52%),#eff1f8;background-attachment:fixed}
aside{top:14px;bottom:14px;left:12px;width:216px;border:2px solid #ffffffab;border-radius:30px;background:linear-gradient(155deg,#8c89f4,#5b58db 55%,#8aabef);box-shadow:inset 3px 3px 7px #ffffff75,inset -3px -4px 9px #3846c040,0 10px 26px #575bc02b;padding:28px 13px;color:#fff}.brand{font-weight:750;letter-spacing:-1px;padding:0 4px;font-size:25px}.brandmark{background:linear-gradient(145deg,#b5b4ff,#6556e7);box-shadow:inset 1px 2px 3px #ffffff99,0 4px 8px #3635a745;border:1px solid #ffffff6b;border-radius:12px}.version{color:#e2e2ff}.workspace{color:#e0e3ff;font-weight:600;letter-spacing:1px;margin-top:35px}nav a{color:#f2f3ff;border:1px solid transparent;border-radius:16px;padding:12px 10px;gap:10px;font-size:13px}nav a:hover{background:#ffffff1c}nav a.active{color:#fff;background:linear-gradient(135deg,#70c8fa99,#6365e8);border-color:#b0dbff;box-shadow:inset 1px 2px 4px #ffffff80,0 5px 12px #302fa83b}nav svg{filter:drop-shadow(0 2px 2px #2421773b)}.aside-bottom{border-color:#ffffff35;padding-left:4px;padding-right:4px}.aside-bottom small{color:#e0e4ff}.avatar{background:#ffffffd6;color:#6259ac}
header{background:#ffffff7a;border-bottom:1px solid #fff;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}h1{font-weight:750;letter-spacing:-.9px}h2,h3{font-weight:650}
.btn{border:1px solid #fff;border-radius:13px;background:linear-gradient(145deg,#fff,#e9edf7);color:#53607d;box-shadow:inset 1px 1px 2px #fff,3px 4px 9px #a0aac72b;font-weight:600;transition:transform .15s,box-shadow .15s}.btn.primary{background:linear-gradient(140deg,#9680fa,#6653e6 65%,#596ddc);border-color:#ae9cff;color:#fff;box-shadow:inset 1px 2px 3px #ffffff5c,0 4px 10px #6854c931}.btn:hover:not(:disabled){filter:brightness(1.035);box-shadow:inset 1px 1px 2px #ffffff80,0 5px 12px #6c78a333}.btn:active:not(:disabled){transform:translateY(1px)}.btn:disabled{box-shadow:none;opacity:.45}
.card,.stat{border:1px solid #fff;border-radius:24px;background:#ffffffb8;box-shadow:inset 1px 1px 2px #fff,5px 6px 18px #8b97b21a,-3px -3px 10px #ffffffab}.card-head{background:#ffffff5c;border-bottom-color:#e6e8f3;padding:20px 22px}.stats .stat{padding:23px;min-height:140px;border:1px solid #fff;box-shadow:inset 2px 2px 5px #ffffff85,5px 7px 16px #7288b526}.stats .stat:first-child{background:linear-gradient(120deg,#428fe7,#91b9fa);color:#fff;border-color:#b5ddff}.stats .stat:first-child .stat-label,.stats .stat:first-child small{color:#f2f8ff}.stats .stat.focus{background:linear-gradient(125deg,#be6acb,#e980a7 55%,#f4b399);border-color:#f9d0e3;color:#fff}.stat.focus .stat-label,.stat.focus small{color:#fff}.stat-value{font-weight:750;font-size:29px}.stat-label{color:#6c7792}.stat small{color:#75809b}.stat-button:hover{background:#f8f9ff;border-color:#c7c7ef}
.tabs{background:#e9ecf69c;border:1px solid #fff;border-radius:14px;padding:5px}.tabs button{border-radius:10px;color:#7b819a;font-weight:600}.tabs button.active{color:#6551d3;background:linear-gradient(#fff,#f3f2ff);box-shadow:2px 3px 6px #7b82b425,inset 0 1px 1px #fff}.pill{border-radius:9px}.pill.blue{color:#7260c8;background:#eeeaff}.pill.amber{color:#98783c;background:#fff3d9}.pill.green{color:#3e886e;background:#e6f5ee}
.notice{background:#f2f0ffbf;border:1px solid #fff;border-radius:17px;box-shadow:inset 0 1px 0 #fff,0 3px 12px #8380b50c;color:#6e7295}.notice strong{color:#6855b9}.search,.field input,.field select,.rate-input{border:1px solid #fff;border-radius:12px;background:#f4f5fb;box-shadow:inset 2px 2px 5px #8291b31c,0 1px 1px #fff;color:#344360}.field{color:#74809a}.upload .step{border:1px solid #cdbfff;border-radius:12px;background:linear-gradient(145deg,#a995ff,#6b55df);color:#fff;box-shadow:inset 1px 1px 2px #ffffff8c,0 3px 7px #7362b826}.upload p,.file-meta,.upload-status{color:#7b849c}
.payroll-table thead th,.employees-table thead th,th{background:#edf0f8;color:#737f99;letter-spacing:.02em;font-weight:600;border-bottom-color:#e1e6f1}.payroll-table tbody td,.employees-table tbody td{background:#ffffffed;color:#374663;border-top:0;border-bottom:1px solid #edf0f7}.payroll-table tbody tr:nth-child(even)>td,.employees-table tbody tr:nth-child(even)>td{background:#f7f9fd}.payroll-table tbody tr:hover>td,.employees-table tbody tr:hover>td{background:#eef0fc}.payroll-table tbody td.amount,.payroll-table tbody tr:nth-child(even)>td.amount{background:#f0edfc;color:#6655a3;border-left-color:#e4dff4}.payroll-table tbody tr.leader-row>td{background:#edf0fa;border-top:2px solid #e1e4f4}.payroll-table tbody tr.sz-row>td,.employees-table tbody tr.sz-row>td{background:#eaf7ef}.payroll-table tbody tr.sz-row:hover>td,.employees-table tbody tr.sz-row:hover>td{background:#dff1e7}.payroll-table tfoot td{background:#eaeefa;color:#4e5d83}.payroll-table tfoot tr:last-child td{background:#e9f4ee;color:#4e7964}.table-foot{background:#f8f9fc;color:#828aa2}
dialog{border:1px solid #fff;border-radius:26px;background:#f8f9ff;box-shadow:inset 1px 1px 3px #fff,0 24px 85px #59638138}dialog::backdrop{background:#434d7052;backdrop-filter:blur(7px)}.dialog-head,.dialog-foot{border-color:#e4e7f3}.dialog-foot{background:#f0f2fa}.close{border-radius:50%;background:#e9edf8;width:30px;height:30px;color:#8790ac;line-height:1}.icon-btn,.approval-help{background:linear-gradient(#fff,#edf0f9);border-color:#fff;box-shadow:2px 2px 5px #8390b326}.approval-box{border-radius:5px;border-color:#c7cce2}.header-approval .btn{border-radius:11px}.header-approval .refresh-status{min-width:32px}#toast{background:#303955f2;border:1px solid #ffffff40;border-radius:16px;box-shadow:0 8px 24px #4b55772b}footer{border-color:#fff;color:#8e97ac}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #9b87ee;outline-offset:3px}
@media(max-width:1150px){aside{width:178px;left:10px;padding:25px 10px}.brand{font-size:21px;gap:6px}nav a{font-size:12px;gap:8px}.stats .stat{padding:18px 15px}.stat-value{font-size:24px}}
@media(max-width:800px){aside{position:static;width:auto;margin:10px;border-radius:22px;padding:18px}.brand{font-size:25px}nav a{padding:10px 13px}.stats .stat,.card{border-radius:20px}.stat-value{font-size:24px}.card-head{padding:16px}}
@media(prefers-reduced-motion:reduce){.btn{transition:none}}

/* Compact calculation header and signatures at the foot of navigation. */
#sidebar-approvals{margin-top:auto;padding:20px 8px 18px;border-top:1px solid #ffffff40}
#sidebar-approvals h3{font-size:12px;font-weight:600;margin:0 0 16px;color:inherit}
#sidebar-approvals .approval-marks{display:grid;grid-template-columns:1fr 1fr;gap:15px 18px;margin:0}
#sidebar-approvals .approval-mark{justify-content:space-between;gap:8px;font-size:12px;min-width:0}
#sidebar-approvals .approval-box{flex-shrink:0;width:19px;height:19px}
#sidebar-approvals .identity-name{color:#e2e7ff}
#sidebar-approvals+.aside-bottom{margin-top:0}
aside{overflow-y:auto}
.header-approval{gap:12px}
.header-approval .header-report-actions{margin-left:0;flex-shrink:0;flex-wrap:nowrap}
@media(max-width:800px){#sidebar-approvals{margin-top:16px;padding:14px 4px 2px}#sidebar-approvals .approval-marks{display:flex;flex-wrap:wrap;gap:16px}#sidebar-approvals .approval-mark{gap:8px}#sidebar-approvals h3{margin-bottom:12px}}

header{border-radius:24px}
@media(max-width:800px){header{border-radius:18px}}

/* Transparent signature rings with a soft red signed indicator. */
.approval-box{border-radius:50%;background:transparent;border-color:#c7cce2;box-shadow:none}
.approval-box svg{display:none}
.approval-box.is-signed::after{content:"";position:absolute;inset:4px;border-radius:50%;background:#ef4444;filter:blur(1px);box-shadow:0 0 4px #ef444480}
