:root{font-family:Arial,Helvetica,sans-serif;color:#142e41;background:#f5f6f2;--ink:#142e41;--muted:#667780;--line:#dfe4e2;--green:#c8df9b}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;border:0}button:disabled{opacity:.6;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #89a75a;outline-offset:3px}h1,h2,h3,p{margin-top:0}h1{font-size:36px;letter-spacing:-1.3px;line-height:1.15;font-weight:600}h2{font-size:20px;letter-spacing:-.4px}h3{font-size:16px}.muted,.hint{color:var(--muted);font-size:14px;line-height:1.6}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;text-transform:uppercase}.primary,.secondary,.danger{padding:12px 18px;border-radius:7px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:8px}.primary{background:var(--ink);color:white}.primary:hover{background:#2b4e63}.secondary{background:white;color:var(--ink);border:1px solid var(--line)}.danger{background:#fff0f1;color:#a72c3e}.text-button{background:none;color:inherit;padding:8px;font-size:12px;text-decoration:underline}.brand{display:flex;gap:12px;align-items:center}.brand img{width:132px;height:34px;object-fit:contain}.brand b{border-left:1px solid #abbac2;padding-left:12px;font-size:23px;letter-spacing:-1px}.login{min-height:100dvh;display:grid;grid-template-columns:1.1fr 1fr}.login-story{padding:50px clamp(32px,6vw,98px);background:var(--ink);color:white;display:flex;flex-direction:column;justify-content:space-between}.login-story .brand{background:white;border-radius:8px;padding:12px 17px;width:max-content;color:var(--ink)}.login-story h1{font-size:clamp(40px,4.5vw,65px);max-width:520px;letter-spacing:-2.4px;line-height:1.06;margin:27px 0}.login-story p{color:#b8cbd7;max-width:390px;line-height:1.75}.login-story .eyebrow{color:var(--green)}.login-story footer{color:#9cb3c1;font-size:12px}.sample-calendar{display:flex;gap:9px;margin:32px 0}.sample-calendar span{border:1px solid #536f7e;border-radius:8px;padding:17px 14px;font-size:12px}.sample-calendar .active{background:var(--green);color:var(--ink);border-color:var(--green)}.login-form{display:flex;align-items:center;justify-content:center;padding:40px}.login-box{max-width:390px;width:100%}.login-box h2{font-size:30px;margin:18px 0 10px}.field{display:flex;flex-direction:column;gap:8px;margin:18px 0}.field label{font-size:13px;font-weight:600}input,select{padding:12px 13px;border:1px solid #ccd5d8;border-radius:7px;background:white;color:var(--ink);min-height:44px;width:100%}input:focus,select:focus{outline:2px solid #8ea7b6;outline-offset:1px}.password-wrap{position:relative}.password-wrap input{padding-right:70px}.password-wrap button{position:absolute;right:7px;top:8px;background:none;padding:7px;font-size:12px;color:var(--muted)}.login-box .primary{width:100%;margin:12px 0 20px}.form-error{color:#a72c3e;font-size:14px;line-height:1.5}.shell{display:grid;grid-template-columns:240px 1fr;min-height:100dvh}.sidebar{background:var(--ink);color:#c4d4de;padding:30px 18px;display:flex;flex-direction:column;position:sticky;top:0;height:100dvh}.sidebar .brand{background:white;border-radius:8px;padding:11px;margin-bottom:40px;color:var(--ink)}.sidebar .brand img{width:118px}.sidebar .brand b{font-size:21px}.nav-label{font-size:10px;letter-spacing:1.6px;color:#8da7b7;margin:20px 13px 8px}.nav-button{background:none;color:inherit;display:flex;align-items:center;gap:11px;text-align:left;width:100%;padding:13px;border-radius:7px;margin:3px 0;font-size:14px}.nav-button:hover{background:#244556}.nav-button.active{background:var(--green);color:var(--ink);font-weight:600}.nav-icon{font-size:17px;width:22px;text-align:center}.sidebar-bottom{margin-top:auto;padding:22px 12px 0;border-top:1px solid #355362;font-size:12px;line-height:1.8;color:#8ea6b5}.sidebar-bottom strong{color:#d4e0e7;display:block}.main-wrap{min-width:0}.topbar{min-height:79px;border-bottom:1px solid var(--line);background:white;display:flex;align-items:center;justify-content:space-between;padding:15px 40px;gap:15px}.topbar-title{font-size:13px;color:var(--muted)}.account{display:flex;align-items:center;gap:11px}.avatar{width:34px;height:34px;border-radius:50%;background:#e8efdd;display:grid;place-items:center;font-size:11px;font-weight:bold}.account-name{font-size:13px;font-weight:600}.account-role{font-size:11px;color:var(--muted);margin-top:3px}.main{padding:37px 40px 50px;max-width:1600px;margin:auto}.page-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:28px}.page-head h1{margin:9px 0}.page-head p{margin:0}.page-head .eyebrow{color:#74816d}.controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.controls input,.controls select{width:auto;max-width:245px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:29px}.stat{background:white;border:1px solid var(--line);border-radius:11px;padding:23px}.stat.highlight{background:var(--ink);color:white;border-color:var(--ink)}.stat-label{font-size:12px;color:var(--muted);margin-bottom:14px}.stat.highlight .stat-label,.stat.highlight .stat-foot{color:#bbcfda}.stat-number{font-size:37px;letter-spacing:-1px;font-weight:600}.stat-foot{font-size:12px;color:var(--muted);margin:10px 0 0}.section-title{display:flex;align-items:center;justify-content:space-between;margin:26px 0 16px;gap:15px}.section-title h2{margin:0}.months{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.month-card{text-align:left;background:white;border:1px solid var(--line);border-radius:9px;padding:20px;color:var(--ink);min-height:134px;transition:transform .15s}.month-card:hover{transform:translateY(-2px);border-color:#8ba5ae;box-shadow:0 5px 16px #142e4110}.month-card.current{border-color:#96af71;background:#f6faed}.month-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;font-size:14px;font-weight:600}.pill{font-size:10px;padding:4px 7px;border-radius:4px;background:#e5edda;color:#47622c}.month-number{font-size:29px;font-weight:600;letter-spacing:-1px;margin-right:8px}.month-unit{font-size:12px;color:var(--muted)}.month-bottom{display:flex;align-items:center;justify-content:space-between}.panel{background:white;border:1px solid var(--line);border-radius:10px;overflow:hidden;margin:18px 0}.panel-head{padding:22px 24px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:15px}.panel-head h2{margin:0;font-size:18px}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}th{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:var(--muted);background:#fafbf8;font-weight:600}th,td{padding:15px 21px;border-bottom:1px solid #edf0ee}tr:last-child td{border-bottom:0}.sub{display:block;font-size:11px;color:var(--muted);margin-top:5px}.station{display:inline-block;background:#edf2f3;padding:5px 9px;border-radius:5px;font-size:12px}.actions{white-space:nowrap}.actions button{padding:7px 9px;border-radius:5px;background:#eff3f3;color:var(--ink);margin:2px;font-size:12px}.actions .delete{color:#a72c3e;background:#fff0f1}.empty{text-align:center;padding:50px 24px;color:var(--muted)}.empty h3{color:var(--ink);margin:0 0 9px}.empty p{font-size:13px;margin:0;line-height:1.6}.notice{padding:14px 17px;border-radius:8px;background:#eaf0e1;color:#4a6138;font-size:13px;line-height:1.6;margin-top:22px}.matrix td{min-width:116px}.matrix td:first-child{min-width:210px;font-weight:600;position:sticky;left:0;background:white}.matrix th:first-child{position:sticky;left:0;z-index:1}.matrix .station{line-height:1.5}.station-groups{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.station-groups .panel{margin:0}.back{background:none;color:var(--muted);padding:0 0 18px;font-size:13px}dialog{padding:0;border:0;border-radius:14px;max-width:480px;width:calc(100% - 32px);box-shadow:0 30px 100px #0004;color:var(--ink)}dialog::backdrop{background:#10263188;backdrop-filter:blur(3px)}.dialog-inner{padding:29px}.dialog-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.dialog-head h2{margin:0}.close{background:#f1f3ef;border-radius:50%;height:30px;width:30px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;padding:14px 23px;border-radius:9px;box-shadow:0 5px 25px #0002;z-index:100;font-size:14px;display:none;max-width:90vw}#toast.visible{display:block}.loading{padding:60px;text-align:center;color:var(--muted)}.mobile-brand{display:none}.view-toggle{display:flex;border:1px solid var(--line);background:white;border-radius:7px;padding:3px;gap:3px}.view-toggle button{padding:8px 13px;border-radius:5px;background:none;color:var(--muted);font-size:13px}.view-toggle button.active{background:var(--ink);color:white}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1550px){.months{grid-template-columns:repeat(6,1fr)}}@media(max-width:1150px){.shell{grid-template-columns:210px 1fr}.sidebar{padding:25px 13px}.sidebar .brand img{width:100px}.main{padding:28px}.topbar{padding:15px 28px}.months{grid-template-columns:repeat(3,1fr)}.stat{padding:20px}.station-groups{grid-template-columns:1fr}}@media(max-width:780px){.shell{display:block}.sidebar{position:static;height:auto;padding:14px}.sidebar .brand,.sidebar-bottom,.nav-label{display:none}.sidebar nav{display:flex;overflow:auto;gap:6px}.nav-button{width:auto;white-space:nowrap;padding:10px 12px;margin:0;font-size:12px}.nav-icon{font-size:15px;width:15px}.topbar{min-height:68px;padding:13px 18px}.topbar-title{display:none}.mobile-brand{display:flex}.mobile-brand img{width:85px}.mobile-brand b{font-size:18px}.account-name{max-width:100px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.account .avatar{display:none}.main{padding:25px 18px}.page-head{flex-direction:column;align-items:stretch;gap:18px}.page-head h1{font-size:30px}.page-head .controls{justify-content:space-between}.months{grid-template-columns:repeat(2,1fr);gap:10px}.month-card{padding:17px;min-height:122px}.stats{gap:9px}.stat{padding:16px 12px}.stat-label{font-size:10px;line-height:1.5;min-height:30px;margin-bottom:7px}.stat-number{font-size:29px}.stat-foot{font-size:10px;line-height:1.4}.section-title .muted{font-size:11px}.panel-head{padding:18px}.panel-head h2{font-size:16px}th,td{padding:13px 16px}.login{grid-template-columns:1fr}.login-story{padding:28px;min-height:265px}.login-story h1{font-size:36px;margin:28px 0 10px;max-width:400px}.login-story p,.login-story footer,.sample-calendar,.login-story .eyebrow{display:none}.login-form{padding:32px 26px}.login-box h2{font-size:26px}.login-story .brand{padding:9px 12px}.login-story .brand img{width:110px}.account .text-button{font-size:11px;padding:5px}.controls select{max-width:180px}.notice{font-size:12px}}
/* Match the exact CEO wordmark, proportions and blue CFO title. */
[hidden]{display:none!important}
.brand{gap:9px}.brand img{width:180px;height:44px;object-fit:contain;flex-shrink:0}.brand b{order:0;border:0;padding:0;font-size:34px;font-weight:700;letter-spacing:0;color:#21577d}.login-story .brand{padding:14px 18px}.sidebar .brand{padding:10px 8px;gap:6px}.sidebar .brand img{width:139px;height:34px}.sidebar .brand b{font-size:26px}
@media(max-width:1150px){.sidebar .brand img{width:118px;height:29px}.sidebar .brand b{font-size:23px}}
@media(max-width:780px){.login-story .brand img{width:180px;height:44px}.login-story .brand b{font-size:34px}.mobile-brand .brand img{width:100px;height:25px}.mobile-brand .brand b{font-size:23px}}
.page-head{flex-wrap:wrap}.page-head>div:first-child{min-width:0}.sidebar .brand img{width:calc(100% - 60px);height:auto;aspect-ratio:214/52;flex-shrink:1}.sidebar .brand b{flex-shrink:0}.controls{max-width:100%}

.review-status{display:inline-block;border-radius:6px;padding:5px 9px;font-size:12px;font-weight:700;background:#eef2f6;color:#526173}.review-status.validated,.approve{color:#146638!important;background:#e3f5e9!important}.review-status.review,.review-button{color:#934600!important;background:#fff0d9!important}.review-status.pending{background:#e4edfc;color:#245599}.review-status.reopened{background:#eef0ff;color:#514595}input.person-check,#select-all{accent-color:#178345;width:18px;height:18px;min-height:18px;cursor:pointer}textarea{font:inherit;width:100%;border:1px solid #cbd5e1;border-radius:8px;padding:10px}.notice .primary{margin-top:8px}.review-status+.sub{max-width:300px;white-space:pre-wrap}

.person-name{cursor:pointer}.person-name:hover{text-decoration:underline;text-decoration-style:dotted}.person-name:focus-visible{outline:2px solid #21577d;outline-offset:3px}

.month-navigation{display:flex;align-items:center;gap:6px}.month-arrow{display:inline-flex;align-items:center;justify-content:center;padding:9px;min-width:38px;background:#fff;border:1px solid #cad5dd;border-radius:8px;color:#21577d}.month-arrow:hover{background:#eaf1f6}.month-arrow:disabled{opacity:.35;cursor:default}.month-navigation input{min-width:145px}

.panel-head{flex-wrap:wrap}.panel-head .controls>button{padding:10px 12px;border-radius:6px;font-weight:600;font-size:13px}

.attendance{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:7px;background:#f1f4f4;color:#76878d;font-size:22px;border:1px solid #dfe6e5}.attendance.present{background:#e3f5e9;color:#168146;font-weight:bold;border-color:#9dcdae}.attendance:disabled{cursor:default;opacity:.6}.cell-station{display:block;margin-top:6px;width:120px;min-height:30px;padding:5px;font-size:11px}.editable-matrix td{text-align:center;min-width:100px;padding:12px}.editable-matrix td:first-child{text-align:left;min-width:160px}.editable-matrix .row-total{font-size:17px;font-weight:700;min-width:55px}.matrix-actions{min-width:115px!important}.matrix-actions button{display:block;width:100%;padding:9px;border-radius:6px;margin:4px 0;font-size:12px;font-weight:bold}.save-row{background:#198447;color:white}.cancel-row{background:#bb3542;color:white}.matrix-actions button:disabled{opacity:.3;cursor:default}.draft-row,.draft-row td:first-child{background:#fffcee}.matrix-totals{font-weight:bold;background:#f2f5ed}

.pay-history{max-height:220px;overflow:auto;border-top:1px solid #dfe4e2;padding-top:12px;font-size:13px}.pay-detail{padding:10px 0;border-bottom:1px solid #edf0ee}.pay-detail p{font-size:13px;line-height:1.7;margin:8px 0}

/* Align the CFO lettering with the original n Industrial wordmark baseline. */
.brand{align-items:flex-end;white-space:nowrap}.brand b{line-height:1;transform:translateY(.04em)}.brand img{display:block}.dialog-brand{margin-bottom:24px}.dialog-brand .brand{gap:8px}.dialog-brand .brand img{width:140px;height:34px}.dialog-brand .brand b{font-size:26px}.print-brand{display:none}
@media print{body{background:white}.shell{display:block}.sidebar,.topbar,.controls,.view-toggle,.actions,.matrix-actions,.dialog-actions,#toast,dialog{display:none!important}.main-wrap,.main{width:100%;max-width:none;padding:0;margin:0}.print-brand{display:flex;align-items:flex-end;justify-content:space-between;padding:0 0 18px;border-bottom:1px solid #cbd5dd;margin-bottom:20px}.print-brand>span{font-size:11px;color:#526173}.print-brand .brand img{width:180px;height:44px}.print-brand .brand b{font-size:34px}.table-scroll{overflow:visible}table{font-size:10px}th,td{padding:8px}.panel{overflow:visible;break-inside:auto}.panel-head{padding:12px}tr{break-inside:avoid}.page-head h1{font-size:25px}.month-navigation button{display:none}.person-name{text-decoration:none}.notice{background:#f4f6ef}.main .hint{font-size:10px}.attendance{border:0}.cell-station{border:0;appearance:none;font-size:10px}.matrix td{min-width:0!important}.matrix th:last-child,.matrix td:last-child{display:none}}

#toast.error{background:#a52334}.invalid{border:2px solid #bf293c!important;background:#fff1f2!important}.cell-error{background:#ffe4e8!important;box-shadow:inset 0 0 0 2px #c62f42}.row-error td{background:#fff0f2!important}.has-error .form-error:not(:empty){padding:12px;border:1px solid #cf5060;background:#fff0f2;border-radius:7px;color:#a51d30}.has-error .form-error{font-weight:600}

.station-open{background:none;color:#173f59;padding:5px 0;text-align:left;font-weight:700;font-size:18px;display:flex;gap:12px;align-items:center}.station-open:hover{color:#14784a;text-decoration:underline}.station-open span{font-size:21px;color:#648b55}.station-open:focus-visible{outline:2px solid #21577d}

.cell-station.station-list-open{height:auto;min-width:145px;padding:3px}.station-list-open option{padding:7px}

.saturday-filters{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:15px 0}.saturday-filter{display:inline-flex;gap:7px;align-items:center;padding:10px 13px;background:white;color:#29475a;border:1px solid #ccd8d9;border-radius:7px;font-size:13px;font-weight:600}.saturday-filter.active{background:#21854b;border-color:#21854b;color:white}.saturday-filter:hover{box-shadow:0 0 0 2px #a7c9ad}.saturday-filters>span{font-size:12px;color:#667780;margin-right:6px}@media print{.saturday-filters{display:none!important}}

.station-picker{position:fixed;z-index:200;min-width:170px;padding:4px;background:#fff;border:1px solid #a9bcc7;border-radius:8px;box-shadow:0 8px 26px #142e4130}.station-picker button{display:block;width:100%;text-align:left;background:white;color:#163b50;padding:9px 12px;font-size:13px;border-radius:4px}.station-picker button:hover,.station-picker button:focus-visible{background:#e4f2e8;outline:none}.station-picker button[aria-selected="true"]{background:#d8eedf;color:#146638}@media print{.station-picker{display:none!important}}

button{transition:background-color .16s ease,color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease}button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 3px 9px #1834431b}button:active:not(:disabled){transform:translateY(0);box-shadow:0 1px 3px #18344318}.secondary:hover:not(:disabled),#card-pay:hover:not(:disabled),#card-pay:focus-visible,.month-arrow:hover:not(:disabled),.actions button:not(.delete):not(.approve):not(.review-button):hover:not(:disabled){background:#fff4c4;border-color:#e6ce75;color:#62501b}.station-picker button:hover,.station-picker button:focus-visible{background:#fff4c4;color:#62501b}.save-row:hover:not(:disabled){background:#146c3a}.cancel-row:hover:not(:disabled){background:#9f2633}.attendance.present:hover:not(:disabled){background:#ccebd6}.saturday-filter.active:hover{background:#176e3c}.nav-button:hover:not(.active){background:#2a4b5e}@media(prefers-reduced-motion:reduce){button{transition:none!important}button:hover:not(:disabled){transform:none}}
