:root{
 --bg:#f4f7f6;--surface:#fff;--surface2:#f8faf9;--ink:#10211b;--muted:#6d7b76;--line:#dfe8e4;
 --brand:#0b6651;--brand2:#08483b;--soft:#e8f4f0;--ok:#15815f;--okbg:#e9f7f1;--warn:#9b6716;--warnbg:#fff4d9;
 --bad:#b64e4e;--badbg:#fff0f0;--info:#3f68c7;--infobg:#eef3ff;--purple:#7657b9;--purplebg:#f2effb;
 --shadow:0 16px 42px rgba(24,49,40,.08);--shadow2:0 6px 20px rgba(24,49,40,.06);--r:20px;
}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;background:var(--bg);color:var(--ink)}
.authInitialising{overflow:hidden}.authInit{position:fixed;inset:0;z-index:5000;display:grid;place-content:center;justify-items:center;gap:10px;background:#f5f7f4;color:#173941;text-align:center;padding:24px}.authInit[hidden]{display:none}.authInitMark{width:58px;height:58px;border-radius:18px;display:grid;place-items:center;background:#0b5d4b;color:#fff;font-size:24px;font-weight:800;box-shadow:0 16px 40px #0b5d4b30}.authInit small{color:#65777a}
.reportPreviewTotals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:12px}.reportPreviewTotals>div,.reportWorkerSummary span{border:1px solid var(--line);background:var(--surface2);border-radius:13px;padding:11px}.reportPreviewTotals span,.reportWorkerSummary b{display:block;color:var(--muted);font-size:9px}.reportPreviewTotals strong{display:block;font-size:18px;margin-top:3px}.reportWorkerSummary{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px;margin-bottom:12px}.reportWorkerSummary span{font-size:10px}.reportWorkerSummary b{color:var(--ink);margin-bottom:4px}@media(max-width:640px){.reportPreviewTotals{grid-template-columns:1fr}.authInit{padding-bottom:18vh}}
button,input,select,textarea{font:inherit}button{cursor:pointer}.hidden{display:none!important}.muted{color:var(--muted)}
.login{min-height:100vh;display:grid;grid-template-columns:1.1fr .9fr;background:linear-gradient(135deg,var(--brand) 0%,var(--brand2) 45%,#f4f7f6 45%,#f4f7f6 100%)}
.loginHero{padding:8vw 7vw;color:#fff;display:flex;flex-direction:column;justify-content:center}.loginHero h1{font-size:clamp(42px,6vw,78px);line-height:.95;margin:0 0 18px;letter-spacing:-.055em}.loginHero p{max-width:620px;color:#d3e7e0;font-size:16px;line-height:1.6}.loginHero .chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:24px}.loginHero .chips span{font-size:11px;padding:8px 11px;border-radius:999px;background:rgba(255,255,255,.11);border:1px solid rgba(255,255,255,.15)}
.loginPanel{display:flex;align-items:center;justify-content:center;padding:28px}.loginCard{width:min(480px,100%);background:#fff;border:1px solid var(--line);border-radius:28px;padding:28px;box-shadow:var(--shadow)}.logo{display:flex;align-items:center;gap:11px}.mark{width:44px;height:44px;border-radius:14px;background:linear-gradient(145deg,#cce9df,#8fcbb8);color:#0a4d3f;display:grid;place-items:center;font-weight:900}.logo strong{display:block;font-size:18px}.logo small{display:block;color:var(--muted);margin-top:3px}.loginCard h2{margin:28px 0 6px}.loginCard>p{margin:0 0 18px;color:var(--muted);font-size:13px}.authChoice{display:grid;gap:10px}.authBtn{padding:15px;border-radius:16px;border:1px solid var(--line);background:#fff;text-align:left;display:flex;align-items:center;justify-content:space-between;gap:14px}.authBtn:hover{border-color:#9fcabc;background:#fbfefd}.authBtn strong{display:block}.authBtn small{color:var(--muted);display:block;margin-top:4px}.authBtn .role{font-size:10px;font-weight:800;padding:6px 8px;border-radius:999px;background:var(--soft);color:var(--brand)}.privacyNote{margin-top:16px;padding:12px;border-radius:14px;background:#f8faf9;color:var(--muted);font-size:11px;line-height:1.5}
.app{min-height:100vh;display:grid;grid-template-columns:264px minmax(0,1fr)}.sidebar{position:sticky;top:0;height:100vh;background:linear-gradient(180deg,var(--brand2),#062f28);color:#fff;padding:20px 15px 14px;display:flex;flex-direction:column;z-index:20;overflow:hidden}.sidebar>.nav{min-height:0;overflow-y:auto;overflow-x:hidden;padding-right:4px;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.25) transparent}.sidebar>.nav::-webkit-scrollbar{width:6px}.sidebar>.nav::-webkit-scrollbar-thumb{background:rgba(255,255,255,.2);border-radius:8px}.account{flex:none}.sideLogo{display:flex;gap:11px;align-items:center;padding:4px 7px 20px}.sideLogo .mark{width:38px;height:38px;border-radius:12px}.sideLogo strong{font-size:15px}.sideLogo small{display:block;color:#9fc1b7;font-size:10px;margin-top:3px}.navLabel{font-size:9px;color:#7da59a;font-weight:900;letter-spacing:.13em;text-transform:uppercase;padding:12px 10px 5px}.nav button{width:100%;border:0;background:transparent;color:#c9ded7;padding:10px 11px;border-radius:12px;display:flex;gap:10px;align-items:center;text-align:left;font-weight:700;font-size:12px;margin:2px 0}.nav button:hover,.nav button.active{background:rgba(255,255,255,.11);color:#fff}.nav .ico{width:18px;text-align:center}.nav .count{margin-left:auto;padding:3px 6px;border-radius:999px;background:#d75d5d;color:#fff;font-size:9px}.account{margin-top:auto;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.07);padding:11px;border-radius:16px;display:flex;align-items:center;gap:9px}.avatar{width:38px;height:38px;border-radius:12px;background:#d9eee7;color:#0a4e3f;display:grid;place-items:center;font-weight:900;flex:none}.account strong{font-size:11px}.account small{display:block;color:#9fc1b7;font-size:9px;margin-top:2px}.account button{margin-left:auto;border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.08);color:#dcece7;font-size:9px;font-weight:800;padding:7px 8px;border-radius:9px;white-space:nowrap}.content{min-width:0;padding:22px 26px 42px}.topbar{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:20px}.title h1{font-size:26px;letter-spacing:-.04em;margin:0 0 4px}.title p{margin:0;color:var(--muted);font-size:12px}.topActions{display:flex;align-items:center;gap:8px}.search{width:min(330px,32vw);border:1px solid var(--line);background:#fff;border-radius:13px;padding:9px 11px;display:flex;align-items:center;gap:8px;box-shadow:var(--shadow2)}.search input{border:0;outline:0;background:transparent;width:100%;font-size:12px}.iconBtn{width:40px;height:40px;border-radius:12px;border:1px solid var(--line);background:#fff;box-shadow:var(--shadow2);position:relative}.iconBtn.has::after{content:"";width:7px;height:7px;border-radius:50%;background:#dc5d5d;position:absolute;right:7px;top:7px;border:2px solid #fff}.mobileMenu{display:none}
.view{display:none}.view.active{display:block}.card{background:#fff;border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow2)}.pad{padding:17px}.btn{border:1px solid var(--line);background:#fff;color:var(--ink);padding:9px 12px;border-radius:11px;font-weight:800;font-size:11px}.btn:hover{border-color:#b9cbc4}.btn.primary{background:var(--brand);border-color:var(--brand);color:#fff}.btn.soft{background:var(--soft);border-color:transparent;color:var(--brand)}.btn.warn{background:var(--warnbg);border-color:transparent;color:var(--warn)}.btn.bad{background:var(--badbg);border-color:transparent;color:var(--bad)}.btn:disabled{opacity:.5;cursor:not-allowed}.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.between{display:flex;justify-content:space-between;gap:12px;align-items:center}.sectionHead{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:13px}.sectionHead h3{font-size:14px;margin:0}.sectionHead small{display:block;color:var(--muted);margin-top:3px}.pill{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:999px;font-size:9px;font-weight:900;white-space:nowrap}.pill.ok{background:var(--okbg);color:var(--ok)}.pill.warn{background:var(--warnbg);color:var(--warn)}.pill.bad{background:var(--badbg);color:var(--bad)}.pill.info{background:var(--infobg);color:var(--info)}.pill.purple{background:var(--purplebg);color:var(--purple)}.pill.neutral{background:#eef2f0;color:#5c6b66}.hero{background:linear-gradient(135deg,var(--brand),var(--brand2) 58%,#183f37);color:#fff;border-radius:27px;padding:24px 25px;display:grid;grid-template-columns:1.25fr .75fr;gap:18px;box-shadow:var(--shadow);position:relative;overflow:hidden}.hero:after{content:"";position:absolute;width:270px;height:270px;border-radius:50%;right:-100px;top:-110px;background:rgba(255,255,255,.07)}.hero h2{font-size:23px;margin:0 0 8px;letter-spacing:-.035em}.hero p{color:#d0e5de;margin:0;line-height:1.5;font-size:12px;max-width:650px}.heroStats{display:grid;grid-template-columns:1fr 1fr;gap:9px;z-index:1}.heroStats div{border:1px solid rgba(255,255,255,.13);background:rgba(255,255,255,.1);border-radius:16px;padding:13px}.heroStats strong{display:block;font-size:24px}.heroStats span{font-size:9px;color:#d2e6df}.metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:14px 0}.metric{padding:14px}.metric small{color:var(--muted);font-size:10px}.metric strong{display:block;font-size:25px;margin-top:7px}.grid2{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(300px,.7fr);gap:14px}.stack{display:grid;gap:9px}.action{border:1px solid var(--line);border-radius:14px;padding:11px;display:flex;justify-content:space-between;gap:10px;align-items:center}.action strong{display:block;font-size:11px}.action small{display:block;color:var(--muted);font-size:9px;margin-top:3px;line-height:1.4}.dot{width:36px;height:36px;border-radius:11px;background:var(--surface2);display:grid;place-items:center;flex:none}.timeline{display:grid;gap:12px}.timelineItem{display:grid;grid-template-columns:11px 1fr;gap:10px}.timelineItem i{width:8px;height:8px;border-radius:50%;background:var(--brand);margin-top:4px}.timelineItem strong{font-size:10px}.timelineItem small{display:block;color:var(--muted);font-size:9px;margin-top:2px}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:12px}.filters{display:flex;gap:7px;flex-wrap:wrap}.select,.field{border:1px solid var(--line);background:#fff;border-radius:11px;padding:9px 10px;font-size:11px;outline:0}.field{width:100%}.label{display:grid;gap:5px;font-size:10px;font-weight:800}.label span{color:#53635d}.formGrid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.formGrid .wide{grid-column:1/-1}.textarea{min-height:95px;resize:vertical}.schedulerWrap{overflow:auto;border:1px solid var(--line);border-radius:17px;background:#fff}.scheduler{width:100%;min-width:1100px;border-collapse:separate;border-spacing:0}.scheduler th{background:#f8faf9;font-size:9px;color:var(--muted);padding:10px;border-right:1px solid #edf2f0;border-bottom:1px solid var(--line);text-align:left;position:sticky;top:0;z-index:2}.scheduler td{padding:7px;border-right:1px solid #edf2f0;border-bottom:1px solid #edf2f0;vertical-align:top;height:104px}.scheduler th:first-child,.scheduler td:first-child{position:sticky;left:0;background:#fff;z-index:3;min-width:150px}.scheduler th:first-child{background:#f8faf9;z-index:4}.clientCell strong{display:block;font-size:11px}.clientCell small{display:block;color:var(--muted);font-size:9px;margin-top:3px}.shift{border:1px solid #d3e8e1;background:#eef8f5;border-radius:13px;padding:8px;min-height:75px;cursor:pointer}.shift:hover{box-shadow:0 7px 16px rgba(36,78,63,.08);transform:translateY(-1px)}.shift .time{font-size:9px;color:#56736a;font-weight:900}.shift .who{font-size:10px;font-weight:900;margin-top:4px}.shift .meta{font-size:8px;color:#6d8179;margin-top:3px}.shift.open{background:#fff6f2;border-style:dashed;border-color:#e2a08d}.shift.open .who{color:#ad553f}.shift.changed{background:#f4f1fb;border-color:#ded4f5}.shift.progress{background:#eef4ff;border-color:#d5e1ff}.cards4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.miniCard{min-width:0;padding:14px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:var(--shadow2)}.miniCard strong{display:block;font-size:24px;line-height:1;color:var(--ink)}.miniCard small{display:block;margin-top:7px;color:var(--muted);font-size:10px;line-height:1.35}.workerCard,.clientCard{padding:15px}.headPerson{display:flex;gap:10px;align-items:center}.headPerson h4{font-size:12px;margin:0}.headPerson p{font-size:9px;color:var(--muted);margin:3px 0 0}.miniStats{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:11px 0}.miniStats div{background:var(--surface2);padding:8px;border-radius:10px;text-align:center}.miniStats strong{font-size:11px;display:block}.miniStats span{font-size:8px;color:var(--muted)}.tableWrap{overflow:auto;border:1px solid var(--line);border-radius:16px}.table{width:100%;border-collapse:collapse;min-width:760px}.table th{background:#f8faf9;text-align:left;padding:10px;color:var(--muted);font-size:9px;border-bottom:1px solid var(--line)}.table td{padding:10px;font-size:10px;border-bottom:1px solid #edf2f0;vertical-align:top}.table tr:last-child td{border-bottom:0}.table strong{font-size:10px}.table small{color:var(--muted);display:block;margin-top:2px}.profileGrid{display:grid;grid-template-columns:300px minmax(0,1fr);gap:14px}.profileHero{padding:18px;text-align:center}.bigAvatar{width:74px;height:74px;border-radius:23px;background:#d9eee7;color:#0a4e3f;margin:auto;display:grid;place-items:center;font-size:23px;font-weight:900}.profileHero h3{margin:10px 0 3px}.profileHero p{margin:0;color:var(--muted);font-size:10px}.facts{display:grid;gap:7px;margin-top:15px;text-align:left}.fact{background:var(--surface2);border-radius:11px;padding:9px}.fact span{display:block;color:var(--muted);font-size:8px}.fact strong{font-size:10px}.tabs{display:flex;gap:5px;background:#edf2ef;padding:4px;border-radius:11px;overflow:auto}.tab{white-space:nowrap;border:0;background:transparent;padding:7px 9px;border-radius:8px;color:#65766f;font-size:9px;font-weight:900}.tab.active{background:#fff;color:var(--ink);box-shadow:0 2px 8px rgba(36,70,58,.07)}.tabPanel{display:none}.tabPanel.active{display:block}.scheduleList{display:grid;gap:8px}.scheduleItem{border:1px solid var(--line);border-radius:14px;padding:10px;display:grid;grid-template-columns:58px 1fr auto;gap:10px;align-items:center;cursor:pointer}.dateBox{text-align:center;background:var(--surface2);border-radius:10px;padding:7px}.dateBox b{display:block;font-size:9px}.dateBox span{font-size:8px;color:var(--muted)}.scheduleItem h4{font-size:10px;margin:0 0 3px}.scheduleItem p{font-size:9px;color:var(--muted);margin:0}.notice{border:1px solid var(--line);border-radius:15px;padding:12px}.notice.urgent{border-color:#efb6b6;background:#fffafa}.notice h4{font-size:11px;margin:0}.notice p{font-size:10px;line-height:1.5;color:#485750}.notice small{color:var(--muted);font-size:8px}.policy{border:1px solid var(--line);border-radius:14px;padding:12px;display:flex;justify-content:space-between;gap:10px;align-items:center}.policy h4{font-size:10px;margin:0}.policy small{color:var(--muted);font-size:8px;display:block;margin-top:3px}.ruleBox{padding:12px 13px;border-radius:14px;background:var(--warnbg);color:#664915;border:1px solid #f2dfaa;font-size:10px;line-height:1.5}.ruleBox strong{display:block;margin-bottom:2px}.mobileShiftList{display:none}
.modalBg,.drawerBg{position:fixed;inset:0;background:rgba(5,23,18,.48);display:none;z-index:100;align-items:center;justify-content:center;padding:18px}.modalBg.open,.drawerBg.open{display:flex}.modal{width:min(600px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:22px;padding:20px;box-shadow:0 35px 80px rgba(0,0,0,.22);position:relative}.drawerBg{justify-content:flex-end;padding:0}.drawer{width:min(620px,100%);height:100%;overflow:auto;background:#fff;padding:22px;box-shadow:-20px 0 55px rgba(0,0,0,.15);position:relative}.close{position:absolute;right:14px;top:14px;width:34px;height:34px;border-radius:10px;border:1px solid var(--line);background:#fff;font-size:18px}.drawerHero{background:linear-gradient(135deg,#eef8f5,#f8fbfa);border:1px solid #dcebe6;border-radius:18px;padding:16px;margin-top:20px}.drawerHero h3{margin:7px 0 4px}.drawerHero p{margin:0;color:var(--muted);font-size:10px}.candidate{display:grid;grid-template-columns:38px 1fr auto;gap:9px;align-items:center;border:1px solid var(--line);border-radius:13px;padding:10px;margin-top:8px}.candidate.disabled{opacity:.58}.candidate strong{font-size:10px}.candidate small{font-size:8px;color:var(--muted);display:block;margin-top:2px}.toastArea{position:fixed;right:18px;bottom:18px;z-index:200;display:grid;gap:8px}.toast{background:#132e26;color:#fff;border-radius:13px;padding:11px 13px;box-shadow:var(--shadow);font-size:10px;max-width:340px;animation:in .2s ease}.toast.warn{background:#6b4c17}.toast.bad{background:#7f3434}@keyframes in{from{transform:translateY(8px);opacity:0}to{transform:none;opacity:1}}.kpiLine{height:8px;border-radius:999px;background:#edf2f0;overflow:hidden}.kpiLine span{display:block;height:100%;background:var(--brand);border-radius:999px}.empty{padding:32px;text-align:center;color:var(--muted);font-size:11px}.mobileBottom{display:none}

.checklistGrid{display:grid;gap:8px}.checkRow{display:grid;grid-template-columns:28px 1fr auto;gap:9px;align-items:start;border:1px solid var(--line);border-radius:13px;padding:10px;background:#fff}.checkRow input{width:18px;height:18px;margin-top:1px;accent-color:var(--brand)}.checkRow strong{display:block;font-size:10px}.checkRow small{display:block;color:var(--muted);font-size:8px;line-height:1.4;margin-top:2px}.infoGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.infoTile{border:1px solid var(--line);background:var(--surface2);border-radius:13px;padding:10px}.infoTile span{display:block;color:var(--muted);font-size:8px;text-transform:uppercase;letter-spacing:.06em}.infoTile strong{display:block;font-size:10px;margin-top:4px;line-height:1.4}.docTag{display:inline-flex;padding:5px 8px;border-radius:999px;background:#eef3f1;color:#536660;font-size:8px;font-weight:800}.releaseFlow{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;gap:9px;align-items:stretch}.releaseStage{border:1px solid var(--line);border-radius:15px;padding:13px;background:#fff}.releaseStage strong{font-size:11px}.releaseStage small{display:block;color:var(--muted);font-size:8px;line-height:1.5;margin-top:4px}.releaseArrow{display:grid;place-items:center;color:var(--muted);font-weight:900}.configRow{display:grid;grid-template-columns:1.2fr .8fr auto;gap:10px;align-items:center;border-bottom:1px solid #edf2f0;padding:10px 0}.configRow:last-child{border-bottom:0}.configRow strong{font-size:10px}.configRow small{display:block;color:var(--muted);font-size:8px;margin-top:3px}.policyArea{display:flex;gap:5px;flex-wrap:wrap;margin-top:6px}@media(max-width:760px){.infoGrid{grid-template-columns:1fr}.releaseFlow{grid-template-columns:1fr}.releaseArrow{transform:rotate(90deg);min-height:18px}.configRow{grid-template-columns:1fr}}
@media(max-width:1100px){.metrics{grid-template-columns:repeat(3,1fr)}.cards4{grid-template-columns:repeat(2,1fr)}.grid2{grid-template-columns:1fr}.profileGrid{grid-template-columns:260px 1fr}}
@media(max-width:760px){.login{display:block;background:#f4f7f6}.loginHero{padding:48px 22px 28px;background:linear-gradient(135deg,var(--brand),var(--brand2))}.loginHero h1{font-size:46px}.loginPanel{padding:18px}.app{display:block}.sidebar{position:fixed;left:-280px;width:260px;transition:.2s;box-shadow:20px 0 50px rgba(0,0,0,.18)}.sidebar.open{left:0}.content{padding:15px 13px 80px}.mobileMenu{display:inline-grid;place-items:center}.topbar{align-items:flex-start}.title h1{font-size:21px}.search{display:none}.metrics{grid-template-columns:1fr 1fr}.hero{grid-template-columns:1fr}.heroStats{grid-template-columns:1fr 1fr}.cards4{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.miniCard{padding:13px}.profileGrid{grid-template-columns:1fr}.formGrid{grid-template-columns:1fr}.formGrid .wide{grid-column:auto}.schedulerWrap{display:none}.mobileShiftList{display:grid;gap:10px}.mobileDay{background:#fff;border:1px solid var(--line);border-radius:16px;padding:12px}.mobileDay h4{font-size:10px;margin:0 0 8px}.mobileShift{border-top:1px solid #edf2f0;padding:9px 0;display:flex;justify-content:space-between;gap:8px;align-items:center}.mobileShift:first-of-type{border-top:0}.mobileShift strong{font-size:10px;display:block}.mobileShift small{font-size:8px;color:var(--muted)}.drawer{padding:17px}.mobileBottom{position:fixed;left:0;right:0;bottom:0;z-index:40;display:grid;grid-template-columns:repeat(4,1fr);background:rgba(255,255,255,.96);border-top:1px solid var(--line);backdrop-filter:blur(12px);padding-bottom:env(safe-area-inset-bottom)}.mobileBottom button{border:0;background:transparent;padding:10px 3px;color:#60726b;font-size:8px;font-weight:800}.mobileBottom b{display:block;font-size:17px;margin-bottom:2px}.scheduleItem{grid-template-columns:52px 1fr}.scheduleItem>.pill{grid-column:2}.table{min-width:720px}}

.fileGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.fileCard{border:1px solid var(--line);border-radius:16px;padding:13px;background:#fff;display:grid;gap:9px}.fileIcon{width:42px;height:42px;border-radius:13px;background:var(--soft);color:var(--brand);display:grid;place-items:center;font-weight:900;font-size:16px}.fileMeta{display:flex;gap:6px;flex-wrap:wrap}.uploadZone{border:2px dashed #bdd5cc;border-radius:17px;padding:22px;text-align:center;background:#fbfefd}.uploadZone input{max-width:100%}.editorGrid{display:grid;grid-template-columns:minmax(330px,.8fr) minmax(0,1.2fr);gap:14px}.editorPanel{position:sticky;top:18px;align-self:start}.previewShell{border:1px solid var(--line);border-radius:20px;overflow:hidden;background:#fff;min-height:560px}.previewTop{background:var(--brand2);color:#fff;padding:12px 14px;display:flex;align-items:center;gap:9px}.previewBody{padding:18px;background:var(--bg);min-height:510px}.previewHero{padding:22px;border-radius:20px;background:linear-gradient(135deg,var(--brand),var(--brand2));color:#fff;min-height:175px;background-size:cover;background-position:center}.previewHero h2{font-size:24px;margin:8px 0}.previewCards{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:12px}.previewCards div{height:92px;border-radius:14px;border:1px solid var(--line);background:#fff}.themeSwatch{width:38px;height:38px;border-radius:12px;border:1px solid var(--line);padding:2px}.cmsHint{border:1px dashed #9dc7b9;background:#f3fbf8;border-radius:13px;padding:10px;font-size:9px;color:#49665c}.editablePreview{outline:2px dashed #91bdae;outline-offset:3px;border-radius:6px}.docScope{font-size:8px;color:var(--muted)}@media(max-width:1050px){.fileGrid{grid-template-columns:repeat(2,1fr)}.editorGrid{grid-template-columns:1fr}.editorPanel{position:static}}@media(max-width:700px){.fileGrid{grid-template-columns:1fr}.previewCards{grid-template-columns:1fr 1fr}}
.compactDensity .content{padding-top:14px}.compactDensity .card.pad{padding:12px}.compactDensity .nav button{padding:8px 10px}.compactDensity .action{padding:9px}.card,.loginCard,.metric,.action,.infoTile,.previewShell{border-radius:var(--radius,18px)}
/* Kahiau: generous type, quiet surfaces, consistent controls. */
:root{--bg:#f3f5f3;--surface:#fff;--surface2:#f5f7f5;--ink:#203831;--muted:#65756f;--line:#dce4df;--soft:#e7efea;--shadow:0 12px 40px #18382c0a;--shadow2:0 2px 8px #18382c05;--r:16px;--radius:16px}
html,body{font-family:"Segoe UI Variable Text","Segoe UI",system-ui,sans-serif;font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased}
button,input,select,textarea{font-family:inherit}
button,a,input,select,textarea,summary{touch-action:manipulation}
:focus-visible{outline:3px solid #79a792;outline-offset:3px}
button{transition:background .15s,border-color .15s,box-shadow .15s}
.app{grid-template-columns:248px minmax(0,1fr)}
.sidebar{background:#17392f;padding:27px 16px 16px;border-right:1px solid #24483d}
.sideLogo{padding:0 8px 27px;gap:12px}
.sideLogo strong{font-size:17px;font-weight:650;letter-spacing:-.4px}
.sideLogo small{font-size:11px;color:#acbeb4;line-height:1.4}
.siteMark{border-radius:50%!important;background:#426e5b;overflow:hidden;flex:none}
.sideLogo .mark{width:46px;height:46px}
.navLabel{font-size:10px;font-weight:600;letter-spacing:1.6px;color:#93b1a3;padding:22px 12px 7px}
.nav button{font-size:13px;font-weight:500;padding:11px 13px;margin:3px 0;border-radius:9px;gap:12px;color:#bfd0c7;min-height:42px}
.nav button.active{background:#426d59;color:#fff;box-shadow:inset 3px 0 #b1caaa}
.nav button:hover{background:#2c5041;color:#fff}
.nav .ico{font-size:17px;font-weight:400;width:20px;opacity:.85}
.nav .count{font-size:10px;background:#8c4939}
.account{margin-top:20px;background:#24483b;border-color:#37584a;border-radius:12px;padding:12px 10px}
.account strong{font-size:12px;font-weight:600}.account small{font-size:10px}
.account .avatar{width:35px;height:35px;border-radius:50%;font-size:11px;background:#c5d7c7;color:#234535}
.content{padding:30px 36px 48px;max-width:1800px;width:100%;margin:auto}
.topbar{margin-bottom:30px;padding-bottom:22px;border-bottom:1px solid var(--line);align-items:center}
.title h1{font-size:30px;letter-spacing:-1px;line-height:1.25;font-weight:650;margin-bottom:6px}
.title p{font-size:13px}.topActions{gap:10px}
.search{box-shadow:none;border-radius:10px;min-height:43px;width:min(300px,27vw);padding:9px 14px}
.search input{font-size:13px}.iconBtn{box-shadow:none;border-radius:10px;width:43px;height:43px;color:var(--ink)}
.hero{border-radius:18px;padding:32px;background:#294f3f;box-shadow:none;grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);gap:32px;border:1px solid #365b49}
.hero:after{display:none}.hero h2{font-size:29px;line-height:1.25;font-weight:550;letter-spacing:-.8px;margin:13px 0 12px}.hero p{font-size:14px;line-height:1.65;color:#d3e0d7;max-width:660px}
.hero>.row,.hero>div{min-width:0}.heroStats{gap:12px;align-content:center}
.heroStats div{background:#ffffff07;border:1px solid #ffffff24;border-radius:12px;padding:17px}
.heroStats strong{font-size:29px;font-weight:500;line-height:1.2}.heroStats span{font-size:11px;color:#d2ded4;display:block;margin-top:7px}
.card{box-shadow:var(--shadow2);border-radius:16px}.pad{padding:24px}.metrics{gap:16px;margin:22px 0}
.metric{padding:21px 22px}.metric small{font-size:12px}.metric strong{font-size:32px;font-weight:550;letter-spacing:-1px;margin-top:10px}
.grid2{gap:22px;grid-template-columns:minmax(0,1.4fr) minmax(290px,.8fr)}.stack{gap:12px}
.sectionHead{margin-bottom:18px;gap:16px}.sectionHead h3{font-size:16px;font-weight:650;letter-spacing:-.25px}.sectionHead small{font-size:12px;line-height:1.5;margin-top:5px}
.toolbar{margin-bottom:20px;gap:16px}.toolbar>div>strong{font-size:17px;font-weight:600}.filters{gap:9px}
.btn{font-size:13px;font-weight:600;border-radius:9px;min-height:40px;line-height:1.4;padding:10px 15px;box-shadow:none;display:inline-flex;align-items:center;justify-content:center;gap:7px}
.btn:hover{background:#f3f7f3;border-color:#b0c4b7}.btn.primary{background:var(--brand);border-color:var(--brand);color:white}.btn.primary:hover{filter:brightness(.94)}.btn.bad:hover{background:#ffe6e2;border-color:#d8aaa2}
.pill{font-size:10px;font-weight:600;border-radius:6px;line-height:1.35;padding:5px 8px;letter-spacing:.1px}
.label{font-size:12px;font-weight:600;gap:7px}.label span{color:#4c6257}.field,.select{font-size:14px;min-height:44px;padding:10px 12px;border-radius:9px;border-color:#cad8ce;background:#fff;line-height:1.5}
.field:focus,.select:focus{border-color:#4f8064;box-shadow:0 0 0 3px #456f5812;outline:0}
.field[type=checkbox],.field[type=radio]{min-height:auto;width:auto}input[type=checkbox]{accent-color:var(--brand);width:17px;height:17px;vertical-align:middle}
.textarea{min-height:120px}.formGrid{gap:20px 18px}.formGrid>label{min-width:0}.field:disabled{background:#f1f4f1;color:#66796b}
.tableWrap,.schedulerWrap{border-radius:12px;background:#fff}.table th{font-size:11px;font-weight:600;letter-spacing:.6px;text-transform:uppercase;padding:15px 17px;background:#f7f9f6;color:#627565;white-space:nowrap}
.table td{padding:16px 17px;font-size:13px;line-height:1.55;border-color:#e9eeea}.table strong{font-size:13px;font-weight:600}.table small{font-size:11px;margin-top:4px}.table tbody tr:hover{background:#fafcf9}
.table td .btn{font-size:12px;min-height:34px;padding:7px 11px}.table .row{gap:7px}
.cards4{grid-template-columns:repeat(auto-fill,minmax(235px,1fr));gap:18px}.workerCard,.clientCard{padding:22px}.headPerson{gap:13px}.headPerson h4{font-size:16px;font-weight:600}.headPerson p{font-size:12px;margin-top:5px}
.avatar{width:44px;height:44px;border-radius:50%;font-size:14px;font-weight:600;background:#e6eee4;color:#41664e}.bigAvatar{background:#e6eee4;color:#41664e;border-radius:50%;font-weight:550}
.miniStats{margin:18px 0;gap:8px}.miniStats div{padding:11px 6px;border-radius:8px}.miniStats strong{font-size:15px}.miniStats span{font-size:10px}
.action{border-radius:10px;padding:15px;gap:14px}.action strong{font-size:13px;font-weight:600}.action small{font-size:12px;line-height:1.5;margin-top:5px}
.infoGrid{gap:12px}.infoTile{border-radius:10px;padding:15px;background:#f6f8f5}.infoTile span{font-size:10px;letter-spacing:.5px}.infoTile strong{font-size:13px;font-weight:550;line-height:1.6;margin-top:6px}
.timeline{gap:17px}.timelineItem strong{font-size:13px;font-weight:600}.timelineItem small{font-size:12px;line-height:1.5}
.scheduler{min-width:1050px}.scheduler th{font-size:11px;padding:15px 10px;background:#f7f9f6}.scheduler td{padding:9px;min-width:127px;height:120px}.clientCell strong{font-size:13px}.clientCell small{font-size:11px}
.shift{border-radius:9px;padding:11px;background:#edf4e9;border:0;border-left:3px solid #88ad6e;min-height:84px}.shift .time{font-size:11px;font-weight:600}.shift .who{font-size:12px;font-weight:600;margin-top:6px}.shift .meta{font-size:10px;margin-top:5px}.shift.open{border:1px dashed #d3a485;background:#fbf3e8}.shift.progress{border-left-color:#799ac3}.shift.changed{border-left-color:#ab8bbc}.shift:hover{transform:none;box-shadow:0 3px 12px #263c2c15}
.scheduleItem{padding:15px;border-radius:12px;grid-template-columns:60px 1fr auto;gap:14px}.scheduleItem h4{font-size:14px}.scheduleItem p{font-size:12px;line-height:1.5}.dateBox{padding:10px;border-radius:8px}.dateBox b{font-size:12px}.dateBox span{font-size:11px}
.fileGrid{gap:17px}.fileCard{border-radius:12px;padding:19px;gap:12px}.fileCard strong{font-size:14px}.fileIcon{border-radius:10px}.docScope,.docTag{font-size:11px}
.policy,.notice{padding:18px;border-radius:12px}.policy h4,.notice h4{font-size:14px;font-weight:600}.policy small,.notice small{font-size:11px;line-height:1.5}.notice p{font-size:13px;line-height:1.7}
.ruleBox,.cmsHint{font-size:12px;line-height:1.6;padding:15px;border-radius:10px}.empty{font-size:13px;line-height:1.6;padding:40px 24px}
.tabs{padding:5px;border-radius:10px;gap:5px}.tab{font-size:12px;font-weight:600;padding:9px 13px}.facts .fact span{font-size:11px}.facts .fact strong{font-size:13px}
.modalBg,.drawerBg{background:#10261e66;backdrop-filter:blur(4px)}.modal{padding:30px;width:min(680px,100%);border-radius:18px;box-shadow:0 25px 90px #071f2a30;max-height:calc(100dvh - 40px)}
.modal h3,.drawer h3{font-size:24px;font-weight:600;letter-spacing:-.6px;margin:0 36px 16px 0;line-height:1.3}.modal h4,.drawer h4{font-size:16px;font-weight:600}.modal>div>p,.drawer p{font-size:13px;line-height:1.65}
.drawer{width:min(680px,100%);padding:30px}.close{font-size:24px;min-width:36px;min-height:36px;border-radius:8px;top:15px;right:15px}.toast{font-size:13px;padding:14px 18px;border-radius:10px}
.content [style*="font-size:8px"],.content [style*="font-size:9px"],.modal [style*="font-size:8px"],.modal [style*="font-size:9px"],.drawer [style*="font-size:8px"],.drawer [style*="font-size:9px"]{font-size:12px!important;line-height:1.55}
.content [style*="font-size:10px"],.modal [style*="font-size:10px"],.drawer [style*="font-size:10px"]{font-size:13px!important;line-height:1.55}
.login{background:#f4f5ef;grid-template-columns:1fr 1fr;min-height:100dvh;padding:18px;gap:18px}
.loginHero{background:#244b3b;border-radius:22px;padding:64px clamp(30px,5vw,90px);position:relative;min-height:calc(100dvh - 36px);overflow:hidden;justify-content:flex-start}
.loginHero .logo{gap:16px}.loginHero .mark{width:72px;height:72px}.loginHero .logo strong{font-size:22px;font-weight:550;letter-spacing:-.5px}.loginHero .logo small{font-size:12px;letter-spacing:.8px}
.loginHero h1{font-family:Georgia,"Times New Roman",serif;font-weight:400;font-size:clamp(44px,5.5vw,84px);line-height:1.06;letter-spacing:-2px;margin:clamp(70px,16vh,160px) 0 26px;max-width:650px}
.loginHero>p{font-size:16px;line-height:1.8;color:#d6e0d5;max-width:420px}.loginHero .chips{margin-top:auto;padding-top:50px;gap:18px}.loginHero .chips span{padding:0;border:0;background:none;border-radius:0;font-size:11px;letter-spacing:1px;text-transform:uppercase;color:#b8cdbb}
.loginHero .chips span+span:before{content:"·";margin-right:18px;color:#85a58c}.loginPanel{padding:36px}.loginCard{border:0;background:transparent;box-shadow:none;border-radius:0;padding:0;width:min(390px,100%)}
.loginCard>.logo{display:none}.loginCard h2{font-size:32px;letter-spacing:-1px;font-weight:600;line-height:1.25;margin:0 0 14px}.loginCard>p{font-size:14px;line-height:1.7;margin-bottom:32px;max-width:360px}.loginCard .label{gap:9px;margin-top:18px!important}
.loginCard .field{min-height:50px;background:#fff;border-color:#cbd5c9;font-size:15px}.loginCard .row{display:grid;grid-template-columns:1fr;margin-top:26px!important;gap:10px}.loginCard .btn{min-height:48px;font-size:14px}.loginCard #authReset{background:transparent;border-color:transparent;color:var(--brand);min-height:40px;font-weight:500}
.loginCard .privacyNote{background:none;padding:0;font-size:12px;line-height:1.7;margin-top:24px;color:#68786a;border-radius:0}.loginCard #authStatus:empty{display:none}
.loginCard .portalLoginFooter{border-top:1px solid var(--line);padding-top:24px;margin-top:24px;font-size:11px;letter-spacing:.1px}
#passwordSetup form{background:var(--surface)!important;box-shadow:var(--shadow)!important;padding:36px!important}
@media(min-width:1600px){.content{padding:38px 48px 60px}}
@media(max-width:1200px){.content{padding:26px}.app{grid-template-columns:224px minmax(0,1fr)}.sidebar{padding-left:12px;padding-right:12px}.hero{grid-template-columns:1fr;gap:22px}.heroStats{grid-template-columns:repeat(4,1fr)}.grid2{grid-template-columns:1fr}.metrics{grid-template-columns:repeat(3,1fr)}.hero h2{font-size:26px}}
@media(max-width:900px){.login{grid-template-columns:.95fr 1.05fr}.loginHero{padding:40px 28px}.loginHero .logo strong{font-size:18px}.loginHero .mark{width:54px;height:54px}.loginPanel{padding:24px}.loginHero h1{font-size:52px}.heroStats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.app{display:block}.sidebar{width:272px;left:-290px;padding:24px 16px;z-index:60}.sidebar.open{left:0}.content{padding:20px 16px 100px}.topbar{padding-bottom:17px;margin-bottom:22px;gap:12px}.title h1{font-size:25px}.title p{font-size:12px}.topActions{gap:7px}.iconBtn{width:40px;height:40px}.hero{padding:24px;border-radius:14px;gap:22px}.hero h2{font-size:25px}.hero p{font-size:13px}.heroStats{gap:9px}.heroStats div{padding:14px}.heroStats strong{font-size:26px}.metrics{grid-template-columns:repeat(2,1fr);gap:11px;margin:16px 0}.metric{padding:17px}.metric strong{font-size:27px}.metric small{font-size:11px}.cards4{grid-template-columns:1fr}.pad{padding:20px}.toolbar{gap:12px}.toolbar>.row,.filters{width:100%}.toolbar .select{flex:1;min-width:100px}.btn{min-height:43px;padding:10px 13px}.formGrid{gap:17px;grid-template-columns:1fr}.field,.select{font-size:16px}.modalBg{padding:12px}.modal{padding:24px 20px;max-height:calc(100dvh - 24px)}.drawer{padding:24px 20px}.modal h3,.drawer h3{font-size:23px}.between,.sectionHead{align-items:flex-start;flex-wrap:wrap}.policy{align-items:flex-start;flex-wrap:wrap}.policy>.row{width:100%}.mobileDay{padding:18px;border-radius:12px}.mobileDay h4{font-size:14px;font-weight:600;margin-bottom:12px}.mobileShift{padding:15px 0;gap:12px}.mobileShift strong{font-size:13px}.mobileShift small{font-size:11px;line-height:1.6}.mobileShift .btn{font-size:12px}.mobileBottom{box-shadow:0 -4px 24px #203e3010;padding:6px 6px env(safe-area-inset-bottom);gap:4px}.mobileBottom button{font-size:10px;min-height:58px;border-radius:9px}.mobileBottom button.active{background:var(--soft);color:var(--brand)}.mobileBottom b{font-size:20px}.scheduleItem{grid-template-columns:55px 1fr}.toastArea{left:16px;right:16px;bottom:85px}.toast{max-width:none}.login{display:block;padding:0;background:#f4f5ef}.loginHero{min-height:auto;padding:30px 24px 34px;border-radius:0}.loginHero .mark{width:48px;height:48px}.loginHero h1{font-size:42px;letter-spacing:-1.5px;margin:28px 0 14px;max-width:380px}.loginHero>p{font-size:13px;line-height:1.7;max-width:380px;margin:0}.loginHero .chips{display:none}.loginPanel{padding:34px 24px 40px}.loginCard{width:min(440px,100%)}.loginCard h2{font-size:26px}.loginCard>p{margin-bottom:24px;font-size:13px}.loginCard .field{font-size:16px}.loginCard .privacyNote{margin-top:16px}.loginCard .portalLoginFooter{font-size:11px}}
@media(max-width:760px){#dashboard .metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

.modalBg{z-index:110}
.monthGrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px}.monthDay{min-height:118px;text-align:left;display:flex;flex-direction:column;align-items:flex-start;gap:7px;cursor:pointer}.monthDay>strong{font-size:22px}.monthDay>span{font-size:11px;color:var(--muted)}.monthDay>i{margin-top:auto;font-style:normal}.rosterControls{position:sticky;top:74px;z-index:8;background:rgba(255,255,255,.94);backdrop-filter:blur(10px)}.checklistItem{border-left:4px solid #a9c6b6}.checklistItem b{color:var(--bad)}
@media(max-width:900px){.monthGrid{grid-template-columns:repeat(4,minmax(0,1fr))}.rosterControls{position:static}}
@media(max-width:560px){.monthGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.monthDay{min-height:96px}.rosterControls .field{width:100%}}
@media(max-width:760px){
 .filters .select,.filters .field{width:100%}
 .tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible}
 .tab{font-size:9px;padding:9px 5px;white-space:normal}
}

/* Final Kahiau release polish: navy navigation, calm workspace, explicit geofence setup. */
.sidebar{background:#0d2233;border-right-color:#18364a}
.sideLogo small,.account small{color:#a9becb}
.navLabel{color:#7899aa}
.nav button{color:#c6d5dd}
.nav button:hover{background:#17374b}
.nav button.active{background:#1d4353;box-shadow:inset 3px 0 #62a58a}
.account{background:#142f42;border-color:#24465b}
.account button{color:#d9e5ea}
.hero{background:linear-gradient(135deg,#143449 0%,#1d4b43 100%);border-color:#29556a}
.previewTop{background:#0d2233}
.content{background:linear-gradient(180deg,#f7f8f6 0,#f3f5f3 260px)}
.geofencePanel{border:1px solid var(--line);border-radius:12px;background:#f8faf9;overflow:hidden}
.geofencePanel>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;cursor:pointer;font-weight:650;color:var(--ink);list-style:none}
.geofencePanel>summary::-webkit-details-marker{display:none}
.geofencePanel>summary>.pill{margin-left:auto}
.geofencePanel>summary:after{content:"⌄";color:var(--muted);font-size:18px;line-height:1;transition:transform .15s}
.geofencePanel[open]>summary:after{transform:rotate(180deg)}
.geofencePanel>summary small{font-weight:500;color:var(--muted);margin-left:6px}
.geofenceBody{border-top:1px solid var(--line);padding:18px;display:grid;gap:14px}
.geofenceBody>.label{max-width:260px}
.geofenceActions{gap:9px;flex-wrap:wrap}
.geofenceHelp{font-size:12px;line-height:1.6;margin:0}
.geofenceBody details{border-top:1px solid var(--line);padding-top:13px}
.geofenceBody details>summary{cursor:pointer;color:var(--brand);font-weight:600}
@media(max-width:760px){
 .geofencePanel>summary{padding:14px}
 .geofenceBody{padding:15px}
 .geofenceBody>.label{max-width:none}
 .geofenceActions{display:grid;grid-template-columns:1fr}
}

/* Operational record hub and history retrieval */
.recordHub{padding-bottom:28px}
.hubGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}
.recordSection{border:1px solid var(--line);border-radius:18px;background:#fff;padding:16px;box-shadow:0 8px 28px rgba(12,47,54,.05)}
.recordSection .sectionHead{margin-bottom:10px}
.recordFacts{display:grid;gap:9px}
.recordFacts>span{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid var(--line);color:var(--muted);font-size:12px}
.recordFacts>span:last-child{border-bottom:0}
.recordFacts b{color:var(--ink);text-align:right}
.profileHistory{margin-top:20px}
.historyFilters{margin-bottom:14px}
.historyList{display:grid;gap:10px}
.historyRecord{display:grid;grid-template-columns:90px minmax(0,1fr) auto;align-items:center;gap:14px;border:1px solid var(--line);border-radius:15px;padding:13px;background:#fbfcf9}
.historyRecord small{display:block;color:var(--muted);margin-top:4px}
.historyDate{display:flex;flex-direction:column;color:var(--navy)}
.historyDate span{font-size:12px;color:var(--muted);margin-top:3px}
.historyTags{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}
.historyTags span{font-size:10px;font-weight:700;color:#285a4b;background:#e9f4eb;border-radius:999px;padding:3px 7px}
.teamsAction{display:inline-flex}
@media(max-width:760px){.hubGrid{grid-template-columns:1fr}.historyRecord{grid-template-columns:64px minmax(0,1fr)}.historyRecord>.row{grid-column:1/-1}.historyFilters{grid-template-columns:1fr 1fr}.recordSection{padding:13px}}

/* Super Admin operations and temporary-surface interaction pass */
.navBackdrop{display:none}.controlStrip{margin:0 0 16px;padding:14px;border:1px solid #bdd7cc;background:#eef7f3;border-radius:14px}.controlStrip>strong{display:block;margin-bottom:10px;font-size:13px}.leaveManagerToolbar{margin-bottom:16px}.leaveRegister{margin-top:16px}.leaveIdentity{margin-top:16px}.leaveActions{justify-content:flex-end;margin-top:14px}.leaveHistory{margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}.formGrid[hidden]{display:none!important}.modal:focus,.drawer:focus{outline:none}.modal :focus-visible,.drawer :focus-visible,.sidebar :focus-visible{outline:3px solid #69a98d;outline-offset:2px}.temporaryNavOpen{overflow:hidden}
@media(max-width:760px){.navBackdrop:not([hidden]){display:block;position:fixed;inset:0;background:rgba(5,23,31,.44);backdrop-filter:blur(2px);z-index:50;touch-action:none}.sidebar.open{z-index:60}.leaveActions{justify-content:stretch}.leaveActions .btn{flex:1}.controlStrip .row{align-items:stretch}.controlStrip .btn{width:100%}}

/* Providers & Partners directory */
.providerHero{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;padding:28px 30px;margin-bottom:20px;border-radius:18px;color:#fff;background:linear-gradient(125deg,#102b40 0%,#1c4c43 68%,#315f4e 100%);border:1px solid #28576a;overflow:hidden;position:relative}
.providerHero:after{content:"";position:absolute;right:-65px;bottom:-105px;width:250px;height:250px;border:1px solid #ffffff24;border-radius:50%}
.providerHero>div,.providerHero>.btn{position:relative;z-index:1}.providerHero .pill{background:#ffffff18;color:#dcebe5}.providerHero h2{font-size:30px;font-weight:600;letter-spacing:-.8px;margin:12px 0 8px}.providerHero p{color:#d4e3dd;margin:0;font-size:14px}.providerHero>.btn{background:#fff;border-color:#fff;color:#17392f}
.providerMetrics{grid-template-columns:repeat(4,minmax(0,1fr))}.providerFilters{display:grid;grid-template-columns:minmax(230px,1.4fr) repeat(5,minmax(145px,1fr));margin-bottom:18px}.providerFilters .field,.providerFilters .select{min-width:0;width:100%}
.providerTable .table{min-width:1260px}.providerNameButton{border:0;background:none;padding:0;color:#173d50;font:inherit;font-weight:700;text-align:left;cursor:pointer}.providerNameButton:hover{text-decoration:underline}.providerQuickActions{display:flex;gap:6px;flex-wrap:wrap}.providerQuickActions .btn{white-space:nowrap}.providerDue{color:#9d4b2f;font-weight:700}
.providerLoading{min-height:220px;display:flex;align-items:center;justify-content:center;gap:12px;color:var(--muted)}.providerSpinner{width:22px;height:22px;border:3px solid #dbe5df;border-top-color:var(--brand);border-radius:50%;animation:providerSpin .75s linear infinite}@keyframes providerSpin{to{transform:rotate(360deg)}}
.providerDetail{display:grid;gap:18px;padding-bottom:32px}.providerDetail h2{margin:8px 40px 4px 0;font-size:28px;letter-spacing:-.7px}.providerDetail>div>p{margin:0;color:var(--muted)}.providerHeaderActions{display:flex;gap:8px;flex-wrap:wrap;padding:13px;border:1px solid var(--line);border-radius:12px;background:#f7f9f7}.providerDetail .ruleBox{white-space:pre-wrap}.providerSection{margin-top:8px}
.providerContactGrid{display:grid;gap:11px}.providerContactCard{border:1px solid var(--line);border-radius:13px;background:#fff;padding:15px}.providerContactCard.isArchived{background:#f7f8f7;opacity:.78}.providerContactCard strong{font-size:14px}.providerContactCard small{display:block;color:var(--muted);margin-top:4px}.providerContactCard p{margin:10px 0;color:#4f625a}.providerContactLines{display:flex;gap:8px 18px;flex-wrap:wrap;margin:12px 0;color:#50665d;font-size:12px}.providerTimeline .timelineItem{padding-bottom:13px;border-bottom:1px solid var(--line)}.providerTimeline .timelineItem:last-child{border-bottom:0}.providerTimeline p{margin:7px 0 4px}.providerTimeline .pill{margin-top:8px}.providerAudit{border-top:1px solid var(--line);padding-top:16px}.providerAudit>summary{cursor:pointer;font-weight:650;color:#285a4b;margin-bottom:14px}.providerForm small{font-weight:400;color:var(--muted);line-height:1.5}.providerDashboardCard{margin-top:22px}
@media(max-width:1250px){.providerFilters{grid-template-columns:repeat(3,minmax(0,1fr))}.providerFilters>#providerSearch{grid-column:span 2}.providerMetrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.providerHero{align-items:flex-start;flex-direction:column;padding:23px 20px}.providerHero h2{font-size:25px}.providerHero>.btn{width:100%}.providerMetrics{grid-template-columns:repeat(2,minmax(0,1fr))}.providerFilters{grid-template-columns:1fr}.providerFilters>#providerSearch{grid-column:auto}.providerHeaderActions,.providerQuickActions{width:100%}.providerContactCard .between{display:grid}.providerContactCard .providerQuickActions .btn{flex:1;min-width:90px}.providerDetail h2{font-size:24px}.providerTable .table{min-width:1120px}}
.weeklyArchive{overflow:hidden;border:1px solid rgba(77,132,103,.28);box-shadow:0 18px 45px rgba(21,56,49,.08)}
.weeklyPrompt{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:22px;border-radius:18px;background:linear-gradient(135deg,#eef7ef 0%,#f9fbf7 65%,#eef5f4 100%);border:1px solid #d8e7dc}
.weeklyPrompt.saved{background:linear-gradient(135deg,#eff8f5 0%,#f8fbf8 100%)}
.weeklyPrompt h2{margin:9px 0 5px;color:#173f3a;font-size:clamp(20px,2.5vw,30px)}
.weeklyPrompt p{margin:0;max-width:760px;color:var(--muted);line-height:1.55}
.weeklyActions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:9px;min-width:220px}
.weeklyStats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-top:14px}
.weeklyStats>div{padding:14px;border-radius:14px;background:#f7f9f6;border:1px solid var(--line)}
.weeklyStats strong{display:block;color:#173f3a;font-size:20px}.weeklyStats span{display:block;margin-top:4px;color:var(--muted);font-size:12px;line-height:1.3}
.weeklyDrive{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;margin-top:14px}
.weeklyHistoryHead{margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}
.weeklyReminder{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:14px;background:linear-gradient(100deg,#edf8ee,#fff);border:1px solid #cfe1d3}
.weeklyReminder h3{margin:7px 0 3px;color:#173f3a}.weeklyReminder p{margin:0;color:var(--muted)}
.cleanupList{display:grid;gap:8px;max-height:330px;overflow:auto;margin:14px 0;padding-right:4px}
.cleanupItem{display:flex;align-items:flex-start;gap:10px;padding:12px;border:1px solid var(--line);border-radius:12px;background:#f8faf7;cursor:pointer}
.cleanupItem input{margin-top:3px}.cleanupItem span{min-width:0}.cleanupItem strong,.cleanupItem small{display:block}.cleanupItem small{margin-top:3px;color:var(--muted);overflow-wrap:anywhere}
@media(max-width:900px){.weeklyStats{grid-template-columns:repeat(2,minmax(0,1fr))}.weeklyPrompt,.weeklyReminder{align-items:flex-start;flex-direction:column}.weeklyActions{justify-content:flex-start;min-width:0}.weeklyDrive{grid-template-columns:1fr}}
@media(max-width:520px){.weeklyStats{grid-template-columns:1fr}.weeklyPrompt{padding:16px}.weeklyActions,.weeklyActions .btn,.weeklyReminder .btn{width:100%}}

/* Company Events, personal Calendar, notification centre and permission-aware search. */
.eventHero{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;padding:28px 30px;margin-bottom:20px;border-radius:18px;color:#fff;background:linear-gradient(125deg,#102b40 0%,#1c4c43 68%,#315f4e 100%);border:1px solid #28576a}.eventHero .pill{background:#ffffff18;color:#dcebe5}.eventHero h2{font-size:30px;font-weight:600;letter-spacing:-.8px;margin:12px 0 8px}.eventHero p{color:#d4e3dd;margin:0;font-size:14px}.eventHero>.btn{background:#fff;border-color:#fff;color:#17392f}.eventMetrics{grid-template-columns:repeat(4,minmax(0,1fr))}.eventTable .table{min-width:980px}.eventTitleButton{border:0;background:none;padding:0;color:#173d50;font:inherit;font-weight:700;text-align:left;cursor:pointer}.eventTitleButton:hover{text-decoration:underline}.eventLoading{min-height:220px;display:flex;align-items:center;justify-content:center;gap:12px;color:var(--muted)}.eventLoading i{width:22px;height:22px;border:3px solid #dbe5df;border-top-color:var(--brand);border-radius:50%;animation:providerSpin .75s linear infinite}.eventForm,.eventDetail{display:grid;gap:18px}.eventDetail h2{margin:8px 40px 4px 0;font-size:28px;letter-spacing:-.7px}.eventDetail>div>p{margin:0;color:var(--muted)}.eventHeaderActions{display:flex;gap:8px;flex-wrap:wrap;padding:13px;border:1px solid var(--line);border-radius:12px;background:#f7f9f7}.eventDescription{white-space:pre-wrap}.eventAudience{border:1px solid var(--line);border-radius:14px;padding:16px}.eventAudience legend{font-weight:700;padding:0 7px}.eventAudienceAll{display:block;font-weight:700;margin-bottom:13px}.ceAudienceDetail{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.ceAudienceDetail>div{display:grid;align-content:start;gap:7px;padding:12px;border-radius:11px;background:#f7f9f7;max-height:230px;overflow:auto}.ceAudienceDetail label{font-size:12px;line-height:1.4}.eventRsvp{display:grid;gap:10px;padding:16px;border:1px solid #bdd7cc;background:#eef7f3;border-radius:14px}.eventRsvpMetrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:12px}.eventRsvpMetrics span{display:flex;flex-direction:column;gap:3px;padding:11px;border:1px solid var(--line);border-radius:11px;color:var(--muted);font-size:11px}.eventRsvpMetrics b{font-size:20px;color:var(--navy)}
.workerCalendar{overflow:hidden}.calendarToolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:14px 0}.calendarHeading{font-size:22px;margin:12px 0}.workerCalendarGrid{display:grid;gap:9px}.workerCalendarGrid.week{grid-template-columns:repeat(7,minmax(0,1fr))}.workerCalendarGrid.month{grid-template-columns:repeat(7,minmax(0,1fr))}.workerCalendarGrid.day{grid-template-columns:1fr}.workerCalendarDay{border:1px solid var(--line);border-radius:13px;background:#fff;padding:12px;text-align:left;min-height:150px;cursor:pointer;color:var(--ink);overflow:hidden}.workerCalendarGrid.month .workerCalendarDay{min-height:116px;padding:9px}.workerCalendarDay:hover{border-color:#8fb6a4;box-shadow:0 7px 18px #153b2f10}.workerCalendarDay.isToday{border-color:#55947a;box-shadow:inset 0 0 0 1px #55947a}.workerCalendarDay>span{font-size:12px;font-weight:700}.workerCalendarDay>div{display:grid;gap:5px;margin-top:10px}.calendarDot{display:block;padding:5px 6px;border-radius:7px;font-size:10px;font-style:normal;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:#eaf2ee;color:#285648}.calendarDot.shift{background:#e8f0f5;color:#24536c}.calendarDot.leave{background:#f4efe2;color:#70592b}.calendarDot.event{background:#e9f4eb;color:#295b45}.calendarDayItem{display:grid;grid-template-columns:auto 1fr;column-gap:12px;row-gap:3px;width:100%;text-align:left;border:1px solid var(--line);background:#fff;border-radius:13px;padding:14px;cursor:pointer}.calendarDayItem small{grid-column:2;color:var(--muted)}.calendarType{grid-row:1/3;align-self:start;border-radius:999px;padding:4px 7px;background:#edf3f0;color:#285a4b;font-size:10px;text-transform:uppercase;font-weight:700}
#noticeBell{position:relative}.notificationCount{position:absolute;right:-5px;top:-5px;min-width:18px;height:18px;padding:0 4px;border-radius:999px;background:#bb493f;color:#fff;font-size:10px;font-weight:700;line-height:18px}.notificationCentre{display:grid;gap:16px}.notificationItem{display:grid;grid-template-columns:38px minmax(0,1fr) 8px;gap:10px;align-items:start;width:100%;border:1px solid var(--line);border-radius:13px;background:#fff;padding:13px;text-align:left;cursor:pointer}.notificationItem.unread{border-color:#9bbfaa;background:#f3f8f4}.notificationItem strong{display:block;font-size:13px}.notificationItem small{display:block;color:var(--muted);line-height:1.5;margin-top:3px}.notificationItem>i{width:8px;height:8px;border-radius:50%;background:#4f9a79;margin-top:5px}.notificationIcon{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#e8f2ed;color:#275c4a;font-size:18px}
.topActions{position:relative}.globalSearchResults{position:absolute;right:0;top:48px;z-index:95;width:min(520px,calc(100vw - 32px));max-height:480px;overflow:auto;padding:8px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 22px 70px #092b3635}.globalSearchResults>button{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;width:100%;padding:11px;border:0;border-radius:9px;background:#fff;text-align:left;cursor:pointer}.globalSearchResults>button:hover,.globalSearchResults>button:focus{background:#f0f6f2;outline:none}.globalSearchResults strong,.globalSearchResults small{display:block}.globalSearchResults small{color:var(--muted);margin-top:3px}
@media(max-width:1000px){.workerCalendarGrid.week,.workerCalendarGrid.month{grid-template-columns:repeat(4,minmax(0,1fr))}.ceAudienceDetail{grid-template-columns:1fr 1fr}.eventMetrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.eventHero{align-items:flex-start;flex-direction:column;padding:23px 20px}.eventHero h2{font-size:25px}.eventHero>.btn{width:100%}.eventMetrics{grid-template-columns:repeat(2,minmax(0,1fr))}.ceAudienceDetail{grid-template-columns:1fr}.calendarToolbar{align-items:stretch;flex-direction:column}.calendarToolbar>.row{justify-content:space-between}.workerCalendarGrid.week,.workerCalendarGrid.month{grid-template-columns:repeat(2,minmax(0,1fr))}.workerCalendarDay{min-height:112px}.eventRsvpMetrics{grid-template-columns:repeat(2,minmax(0,1fr))}.eventHeaderActions .btn,.eventRsvp .btn{flex:1}.globalSearchResults{position:fixed;top:72px;left:16px;right:16px;width:auto;max-height:60dvh}.search{max-width:min(52vw,300px)}}

/* Roster delta: unambiguous cards, complete month view, context and archive. */
.rosterFilterGrid{display:grid;grid-template-columns:repeat(4,minmax(160px,1fr));gap:9px;align-items:center}.rosterFilterGrid .tabs{min-width:0;max-width:100%}.rosterDateInput{width:145px}.rosterCount{font-size:11px;margin-top:5px}.rosterShiftCard{display:grid;gap:4px;position:relative;margin:5px 0;padding:9px;border:1px solid #c9d9d2;border-left:4px solid #4f8d75;border-radius:10px;background:#fff;box-shadow:0 3px 10px #103c3020;cursor:pointer;overflow:hidden}.rosterShiftCard:hover{border-color:#79a793;box-shadow:0 7px 18px #103c3025}.rosterShiftCard.isUnfilled{border-left-color:#c35043;background:#fff8f6}.rosterShiftCard.isProgress{border-left-color:#2f7897;background:#f3f9fb}.rosterShiftCard.hasConflict{border-color:#c34e45;background:#fff3f1}.rosterShiftCard.isCompact{padding:5px 6px;margin:3px 0;gap:1px;border-left-width:3px}.rosterShiftTime{display:flex;align-items:center;justify-content:space-between;gap:4px;font-size:11px;font-weight:800;color:#163a44}.rosterShiftSubject{font-size:11px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rosterWorkerLink{width:max-content;max-width:100%;padding:0;border:0;background:none;color:#33725d;font:inherit;font-size:10px;font-weight:700;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}.rosterWorkerLink:hover{text-decoration:underline}.rosterWorkerLink:disabled{color:var(--muted);cursor:default;text-decoration:none}.rosterShiftMeta{font-size:9px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rosterShiftActions{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-top:3px}.miniRosterEdit{border:0;background:none;color:#2b6753;font-size:9px;font-weight:750;cursor:pointer}.rosterConflict{padding:2px 5px;border-radius:999px;background:#bd463d;color:#fff;font-size:8px;text-transform:uppercase}.rosterLane{min-width:150px;vertical-align:top}.rosterLane.isDropTarget,.rosterDayList.isDropTarget,.rosterMonthDay.isDropTarget{outline:3px solid #65a184;outline-offset:-3px;background:#eff8f3}.rosterMonthGrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}.rosterMonthDay{min-height:178px;padding:8px;border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}.rosterMonthDay.outsideMonth{opacity:.52;background:#f2f4f2}.monthDateButton{display:flex;align-items:baseline;gap:6px;width:100%;border:0;background:none;color:var(--ink);cursor:pointer;text-align:left}.monthDateButton span{font-size:9px;color:var(--muted);text-transform:uppercase}.monthDateButton strong{font-size:18px}.monthShiftStack{margin-top:5px}.monthMore{width:100%;padding:5px;border:0;background:#edf4f0;color:#2c6653;border-radius:7px;font-size:9px;font-weight:750;cursor:pointer}.rosterDayList{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-height:120px;padding:10px;border:1px dashed #c7d7d0;border-radius:14px}.rosterUndo{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px;padding:12px 14px;border-radius:12px;background:#163b45;color:#fff}.rosterUndo .btn{background:#fff;color:#173d46}.contextMetrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:14px 0}.contextMetrics>div{padding:13px;border:1px solid var(--line);border-radius:12px;background:#f8faf8}.contextMetrics span,.contextMetrics strong{display:block}.contextMetrics span{font-size:10px;color:var(--muted);margin-bottom:5px}.contextMetrics strong{font-size:13px}.contextAttention{display:grid;gap:7px;padding:14px;border:1px solid #e2aaa2;background:#fff3f1;border-radius:13px;color:#943d35}.contextAttention span{font-size:12px}.contextActions{display:flex;gap:9px;flex-wrap:wrap;margin-top:16px}.workerShiftContext h2{margin:8px 0 3px}.workerShiftContext>div>p{margin:0;color:var(--muted)}.clockWarningList{display:grid;gap:8px;margin:15px 0}.clockWarning{padding:12px;border-radius:11px;border:1px solid var(--line);font-weight:650}.clockWarning small{display:block;margin-top:4px;font-weight:450}.clockWarning.ok{color:#2d6a52;background:#eef8f2;border-color:#b8dac9}.clockWarning.warn{color:#805e20;background:#fff8e8;border-color:#e6cf91}.clockWarning.optional{color:#6f5927;background:#fffaf0;border-color:#e7d9ad}.clockWarning.bad{color:#913d35;background:#fff2ef;border-color:#e0aaa3}.clockWarningActions{justify-content:flex-end}.monthlyArchive{margin-bottom:14px;border:1px solid #c9ddd3}.monthlyArchiveHero{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px;margin-top:12px;border-radius:15px;background:linear-gradient(120deg,#edf7f1,#f8faf7)}.monthlyArchiveHero h2{margin:0 0 4px;color:#163f38}.monthlyArchiveHero p,.monthlyArchiveHero small{display:block;margin:0;color:var(--muted)}.monthlyFilters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:13px 0}.monthlyFilters small{grid-column:1/-1;color:var(--muted)}.monthlyHistory{margin-top:13px}.monthlyReminder{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px;border:1px solid #d9cf9d;background:#fffbea}.monthlyReminder h3{margin:7px 0 3px}.monthlyReminder p{margin:0;color:var(--muted)}
@media(max-width:1280px){.rosterFilterGrid{grid-template-columns:repeat(4,minmax(0,1fr))}.rosterMonthGrid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){.rosterFilterGrid{grid-template-columns:1fr 1fr}.rosterFilterGrid .tabs{grid-column:1/-1}.rosterMonthGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.rosterMonthDay{min-height:154px}.rosterDayList{grid-template-columns:1fr}.contextMetrics{grid-template-columns:1fr 1fr}.clockWarningActions,.contextActions,.monthlyArchiveHero,.monthlyReminder{align-items:stretch;flex-direction:column}.clockWarningActions .btn,.contextActions .btn,.monthlyArchiveHero .btn,.monthlyReminder .btn{width:100%}.monthlyFilters{grid-template-columns:1fr}.monthlyArchiveHero{align-items:flex-start}.rosterShiftCard{touch-action:manipulation}}
