:root {
  color-scheme: light;
  --paper:#f2f5ef; --white:#fff; --ink:#142c23; --muted:#4d6559; --stroke:#dde7df;
  --pine:#163e30; --green:#1f754a; --green-hover:#185d3a; --dark:#1f4836;
  --moss:#dff0b6; --soft:#e9f4ec; --yellow:#fff2d5; --amber:#80540a;
  --rose:#fcece6; --red:#933e2e; --blue:#ebf1fc; --navy:#365384; --mint:#bae2c7;
  --body:Inter,"Segoe UI",system-ui,sans-serif;
  --heading:Manrope,Inter,"Segoe UI",system-ui,sans-serif;
  font-family:var(--body); background:var(--paper); color:var(--ink);
  font-size:100%; line-height:1.45; font-synthesis:none;
}
* { box-sizing:border-box; }
html { min-width:280px; }
body { margin:0; min-width:280px; }
p,h1,h2,h3,ul { margin:0; }
h1,h2,h3 { line-height:1.16; font-family:var(--heading); letter-spacing:-.025em; }
h1 { font-size:clamp(1.75rem,3vw,2.25rem); font-weight:750; text-wrap:balance; }
h2 { font-size:1.22rem; }
h3 { font-size:1rem; }
small { font-size:.78rem; }
a { color:inherit; }
input,button,select,textarea { font:inherit; }
button { cursor:pointer; }
button:disabled { cursor:wait; opacity:.55; }
button,a,input,select,textarea { touch-action:manipulation; }
:focus-visible { outline:3px solid #367450; outline-offset:3px; }
[hidden] { display:none!important; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.skip { position:absolute; left:16px; top:-80px; background:var(--white); padding:10px 14px; z-index:5; }
.skip:focus { top:12px; }
.icon { display:block; flex:none; object-fit:contain; }
.numeric,.measure,.hero-number,td { font-variant-numeric:tabular-nums; }

.layout { display:grid; grid-template-columns:222px minmax(0,1fr); min-height:100dvh; }
.sidebar { position:sticky; top:0; height:100dvh; overflow:auto; display:flex; flex-direction:column; background:var(--white); border-right:1px solid var(--stroke); padding:24px 14px 20px; }
.brand { display:flex; gap:10px; align-items:center; color:var(--ink); font-size:1.06rem; line-height:1.2; font-weight:750; }
.sidebar .brand { margin-left:8px; }
.brand-mark { display:grid; place-items:center; width:40px; height:40px; background:var(--green); border-radius:13px; }
.brand small { display:block; margin-top:3px; color:var(--muted); font-size:.68rem; }
.nav-label { margin:30px 10px 9px; font-size:.69rem; text-transform:uppercase; color:var(--muted); font-weight:750; letter-spacing:.035em; }
.sidebar nav { display:grid; gap:4px; }
.nav-link { min-width:0; display:flex; align-items:center; gap:12px; min-height:42px; padding:7px 12px; border-radius:8px; text-decoration:none; color:var(--muted); font-size:.88rem; font-weight:650; }
.nav-link span:nth-child(2) { min-width:0; overflow-wrap:anywhere; }
.nav-link .pill { margin-left:auto; }
.nav-link:hover { background:var(--paper); }
.nav-link[aria-current="page"] { color:var(--green); background:var(--soft); }
.sidebar-account { display:flex; align-items:center; gap:10px; margin: auto 6px 0; border-top:1px solid var(--stroke); padding-top:17px; font-size:.85rem; overflow-wrap:anywhere; }
.sidebar-account small { display:block; color:var(--muted); margin-top:2px; }
.avatar { display:grid; place-items:center; flex:none; width:36px; height:36px; border-radius:50%; color:var(--dark); background:var(--soft); font-size:.77rem; font-weight:800; }
.work { min-width:0; }
.topbar { min-height:66px; padding:10px clamp(17px,2vw,28px); border-bottom:1px solid var(--stroke); background:var(--white); display:flex; align-items:center; gap:13px; }
.topbar [data-act=menu] { display:none; }
.head-select { display:flex; flex-direction:row; align-items:center; gap:8px; margin:0; min-width:0; color:var(--dark); }
.head-select select { min-height:36px; max-width:22ch; background:transparent; border-color:transparent; font-weight:650; padding-left:0; }
.breadcrumb { color:var(--muted); border-left:1px solid var(--stroke); padding-left:16px; font-size:.85rem; white-space:nowrap; }
.global-search { margin-left:auto; display:flex; align-items:center; gap:8px; width:min(33vw,330px); border-radius:8px; background:var(--paper); padding:0 12px; }
.global-search input { border-color:transparent; background:transparent; width:100%; padding-inline:0; min-height:38px; font-size:.83rem; }
.global-search:focus-within { outline:2px solid var(--green); }
.global-search input:focus-visible { outline:none; }
.topbar>.button:last-child { margin-left:auto; }
#content { padding:23px clamp(17px,1.8vw,30px) 32px; outline:none; }
.page-heading { display:flex; justify-content:space-between; align-items:flex-start; gap:16px; margin-bottom:22px; }
.page-heading p,.panel-head p { color:var(--muted); font-size:.9rem; margin-top:6px; }
.page-heading .buttons { padding-top:5px; justify-content:flex-end; }
.buttons { display:flex; align-items:center; flex-wrap:wrap; gap:10px; }
.button { display:inline-flex; justify-content:center; align-items:center; min-height:42px; gap:6px; padding:8px 15px; border:1px solid var(--stroke); border-radius:9px; background:var(--white); color:var(--dark); font-size:.85rem; font-weight:700; text-align:center; text-decoration:none; }
.button:hover { background:var(--soft); border-color:#b9d3c3; }
.button.primary { background:var(--green); color:var(--white); border-color:var(--green); }
.button.primary:hover { background:var(--green-hover); border-color:var(--green-hover); }
.button.wide { width:100%; }
.pill { display:inline-flex; align-items:center; min-height:26px; max-width:100%; padding:3px 9px; border-radius:20px; color:var(--muted); background:var(--paper); font-size:.76rem; font-weight:700; white-space:nowrap; }
.pill.green,.icon-tile.green { color:var(--green); background:var(--soft); }
.pill.yellow,.icon-tile.yellow,.notice.yellow { color:var(--amber); background:var(--yellow); }
.pill.red { color:var(--red); background:var(--rose); }
.pill.blue,.icon-tile.blue { color:var(--navy); background:var(--blue); }

.hero { position:relative; isolation:isolate; overflow:hidden; display:grid; grid-template-columns:minmax(0,1fr) minmax(245px,31%); gap:22px; padding:26px; background:var(--pine); color:var(--white); border-radius:18px; min-height:215px; margin-bottom:18px; }
.hero-copy { position:relative; z-index:1; min-width:0; }
.hero-decoration { position:absolute; z-index:-1; display:block; pointer-events:none; }
.hero-decoration.outer { right:5%; top:-214px; }
.hero-decoration.inner { right:16%; top:-89px; }
.eyebrow { display:block; color:var(--mint); text-transform:uppercase; font-size:.75rem; font-weight:750; letter-spacing:.045em; }
.hero h2 { color:var(--white); margin-top:9px; font-size:clamp(1.7rem,3.15vw,2.46rem); letter-spacing:-.032em; }
.hero p { margin:8px 0 17px; color:#e4eee5; font-size:.94rem; }
.hero .button { padding-inline:20px; }
.hero-progress { position:relative; display:grid; gap:7px; align-content:center; padding:17px 20px; border-radius:14px; background:#22533f; }
.hero-progress strong { font-size:.9rem; }
.hero-progress>div { display:flex; align-items:center; flex-wrap:wrap; column-gap:13px; }
.hero-progress .hero-number { color:var(--moss); font-size:2.75rem; font-weight:780; line-height:1.2; }
.hero-progress small { color:#e6f1e7; }
progress { display:block; width:100%; height:8px; border:0; border-radius:8px; appearance:none; color:var(--green); background:#e3eee6; }
progress::-webkit-progress-bar { background:#e3eee6; border-radius:8px; }
progress::-webkit-progress-value { background:var(--green); border-radius:8px; }
progress::-moz-progress-bar { background:var(--green); border-radius:8px; }
.hero-progress progress { background:#386651; color:var(--moss); height:10px; }
.hero-progress progress::-webkit-progress-bar { background:#386651; }
.hero-progress progress::-webkit-progress-value { background:var(--moss); }
.hero-progress progress::-moz-progress-bar { background:var(--moss); }

.card { border:1px solid var(--stroke); background:var(--white); border-radius:16px; min-width:0; }
.metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; margin-bottom:18px; }
.metrics.thirds { grid-template-columns:repeat(3,minmax(0,1fr)); }
.metric { padding:15px 16px 14px; min-height:115px; }
.metric-head { display:flex; align-items:center; gap:10px; color:var(--muted); font-size:.87rem; font-weight:660; }
.icon-tile { width:36px; height:36px; display:grid; flex:none; place-items:center; background:var(--soft); border-radius:10px; }
.measure { display:flex; align-items:baseline; flex-wrap:wrap; column-gap:9px; row-gap:2px; margin-top:9px; }
.measure strong { font-size:clamp(1.3rem,2vw,1.86rem); font-weight:760; letter-spacing:-.04em; line-height:1.15; overflow-wrap:anywhere; }
.measure small { color:var(--muted); overflow-wrap:anywhere; }
.dashboard-grid { display:grid; grid-template-columns:minmax(0,1.77fr) minmax(0,1fr); gap:18px; align-items:stretch; margin-bottom:16px; }
.panel { padding:18px 20px; }
.panel+.panel { margin-top:18px; }
.dashboard-grid .panel+.panel { margin-top:0; }
.panel-head { display:flex; gap:14px; justify-content:space-between; align-items:flex-start; margin-bottom:10px; }
.panel-head p { font-size:.82rem; }
.panel-head .button { flex:none; }
.list-reset { list-style:none; padding-left:0; }
.coverage-row { display:grid; grid-template-columns:minmax(105px,1.5fr) minmax(55px,1fr) auto auto; align-items:center; gap:12px; border-top:1px solid var(--stroke); padding:13px 0; min-height:63px; }
.coverage-location { display:flex; align-items:center; gap:9px; min-width:0; }
.coverage-location strong,.priority-row strong { display:block; font-size:.86rem; font-weight:700; }
.coverage-location small,.priority-row small { display:block; color:var(--muted); margin-top:2px; }
.coverage-row>.numeric { font-size:.84rem; }
.priority-row { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:9px; align-items:center; border-top:1px solid var(--stroke); text-decoration:none; padding:12px 0; min-height:64px; }
.priority-row:hover { color:var(--green); }
.footer-actions { margin-top:10px; }
.table-scroll { overflow:auto; border:1px solid var(--stroke); border-radius:10px; }
table { width:100%; min-width:560px; border-collapse:collapse; }
th,td { text-align:left; vertical-align:middle; padding:11px 14px; border-bottom:1px solid var(--stroke); font-size:.86rem; }
thead th { background:var(--soft); color:var(--muted); font-weight:740; }
tbody th { color:var(--ink); font-weight:700; }
tbody td { color:var(--muted); }
tbody tr:last-child>* { border-bottom:0; }
tbody tr:hover { background:#fafcf9; }
.table-scroll .button { min-height:34px; padding:6px 10px; font-size:.77rem; white-space:nowrap; }
.empty { padding:18px 0; color:var(--muted); }
.tabs,.filter-bar { margin-bottom:17px; }
.panel .filter-bar { margin:14px 0 0; }
.filter-bar { display:flex; align-items:end; flex-wrap:wrap; gap:10px; }
.filter-bar label { margin:0; }
.filter-bar input,.filter-bar select { min-width:12ch; }
.staff-hero { grid-template-columns:minmax(0,1fr); max-width:760px; }
.staff-hero .hero-copy { display:grid; gap:7px; justify-items:start; }
.staff-hero h2 { margin-top:0; }
.staff-hero p { margin:3px 0 4px; }
.staff-detail { display:flex; align-items:center; gap:8px; }
.clock-summary { display:block; color:#e6f1e7; margin-top:3px; }
.notice { border-radius:9px; padding:12px 14px; margin-bottom:14px; display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; }

label { display:flex; flex-direction:column; gap:5px; font-weight:650; color:var(--dark); font-size:.875rem; min-width:0; }
input,select,textarea { width:100%; min-width:0; min-height:42px; border:1px solid var(--stroke); border-radius:8px; padding:8px 10px; background:var(--white); color:var(--ink); }
input::placeholder,textarea::placeholder { color:#657a6c; }
textarea { resize:vertical; }
select { appearance:none; padding-right:31px; background-image:url("/assets/imgIkonDown.svg"); background-repeat:no-repeat; background-position:right 9px center; background-size:16px; }
.dialog-head { padding:19px 21px 12px; border-bottom:1px solid var(--stroke); display:flex; align-items:flex-start; justify-content:space-between; gap:10px; }
.dialog-head p { margin-top:6px; color:var(--muted); font-size:.88rem; }
dialog { max-inline-size:min(700px,calc(100vw - 24px)); width:100%; max-block-size:min(850px,calc(100dvh - 24px)); border:1px solid var(--stroke); border-radius:17px; padding:0; color:var(--ink); box-shadow:0 20px 95px #152a2260; overscroll-behavior:contain; }
dialog::backdrop { background:#102a206f; }
.close-button { display:grid; place-items:center; flex:none; width:38px; height:38px; padding:0; border:1px solid var(--stroke); border-radius:9px; color:var(--dark); background:var(--white); font-size:1.5rem; }
.close-button:hover { background:var(--paper); }
.form-body { display:grid; gap:12px; padding:15px 21px; }
.form-grid { display:grid; gap:13px; grid-template-columns:repeat(2,minmax(0,1fr)); }
.dialog-actions { position:sticky; bottom:0; display:flex; gap:10px; padding:11px 21px 16px; background:var(--white); justify-content:flex-end; border-top:1px solid var(--stroke); }
.details { margin:0; min-width:0; }
.details>div { display:grid; grid-template-columns:minmax(90px,1fr) minmax(0,1.6fr); gap:8px; border-bottom:1px solid var(--stroke); padding:8px 0; }
.details dt { color:var(--muted); font-size:.87rem; }
.details dd { margin:0; color:var(--ink); font-size:.88rem; overflow-wrap:anywhere; }
.error { color:var(--red); font-size:.86rem; font-weight:650; }
.error:not(:empty) { padding:6px 21px 12px; }
.dialog-actions>.button { min-width:90px; }
.toast { position:fixed; z-index:10; bottom:max(20px,env(safe-area-inset-bottom)); right:20px; max-width:min(450px,calc(100vw - 40px)); padding:13px 16px; background:var(--pine); border:1px solid #3e6c55; color:var(--white); border-radius:11px; box-shadow:0 6px 30px #152a2233; }

.login { min-height:100dvh; display:grid; grid-template-columns:minmax(310px,1fr) minmax(0,1fr); }
.login-story { display:flex; flex-direction:column; justify-content:space-between; gap:45px; min-height:310px; padding:clamp(25px,5vw,80px); background:var(--pine); color:var(--white); }
.login-story .brand,.login-story small { color:var(--white); }
.login-story h1 { font-size:clamp(2rem,4vw,4rem); max-width:17ch; }
.login-story p { max-width:37ch; margin-top:17px; color:#e5efe5; }
.login-panel { display:grid; place-items:center; padding:28px 20px; background:var(--white); }
.login-panel form { display:grid; gap:13px; width:min(100%,440px); }
.login-panel h2 { font-size:1.7rem; }
.login-panel p:not(.error) { color:var(--muted); }
.login-panel .error { padding-inline:0; }
.demo-note { background:var(--paper); border:1px solid var(--stroke); border-radius:13px; padding:13px; }
.demo-note p { margin:6px 0 10px; font-size:.86rem; }
.demo-note .button { min-height:36px; padding:6px 10px; font-size:.82rem; }
.mobile-nav,.mobile-brand { display:none; }

@media (max-width:1150px) {
  .dashboard-grid { grid-template-columns:minmax(0,1.45fr) minmax(0,1fr); }
  .coverage-row { grid-template-columns:minmax(80px,1fr) auto auto; gap:7px; }
  .coverage-row progress { grid-row:2; grid-column:1/-1; }
  .measure { align-items:start; flex-direction:column; }
  .topbar>.pill { display:none; }
}
@media (max-width:950px) {
  .layout { grid-template-columns:185px minmax(0,1fr); }
  .sidebar { padding-left:10px; padding-right:10px; }
  .global-search { width:24vw; }
  .dashboard-grid { grid-template-columns:1fr; }
  .coverage-row { grid-template-columns:minmax(105px,1.5fr) minmax(55px,1fr) auto auto; }
  .coverage-row progress { grid-row:auto; grid-column:auto; }
}
@media (max-width:700px) {
  .layout { display:block; }
  .sidebar { position:fixed; top:0; bottom:0; left:0; width:min(242px,75vw); z-index:4; box-shadow:0 0 30px #152a2255; display:none; }
  .nav-open .sidebar { display:flex; top:64px; height:calc(100dvh - 64px); }
  .topbar { padding:10px 14px; position:sticky; top:0; z-index:3; gap:6px; }
  .topbar [data-act=menu] { display:inline-flex; }
  .breadcrumb,.global-search { display:none; }
  .head-select select { max-width:42vw; }
  #content { padding:21px 14px 26px; }
  .page-heading { display:grid; gap:11px; }
  .page-heading .buttons { justify-content:start; padding:0; }
  .hero { grid-template-columns:1fr; padding:18px; gap:14px; }
  .hero-progress { padding:13px; }
  .hero-progress .hero-number { font-size:2.15rem; }
  .metrics,.metrics.thirds { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .metric { min-height:102px; padding:11px 10px; }
  .metric-head { font-size:.8rem; gap:6px; }
  .metric-head .icon-tile { width:29px; height:29px; }
  .panel { padding:14px 12px; }
  .panel-head { gap:8px; }
  .panel-head .button { padding:6px 8px; font-size:.77rem; }
  .panel-head h2 { font-size:1.09rem; }
  .coverage-row { grid-template-columns:minmax(80px,1fr) auto auto; }
  .coverage-row progress { grid-row:2; grid-column:1/-1; }
  .staff .sidebar,.staff .topbar [data-act=menu],.staff .head-select { display:none; }
  .staff .mobile-brand { display:flex; align-items:center; gap:8px; font-size:.92rem; }
  .mobile-brand .brand-mark { width:34px; height:34px; border-radius:10px; }
  .staff #content { padding-bottom:calc(95px + env(safe-area-inset-bottom)); }
  .staff .mobile-nav { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); position:fixed; bottom:0; left:0; right:0; border-top:1px solid var(--stroke); background:var(--white); padding:6px 5px max(11px,env(safe-area-inset-bottom)); z-index:3; }
  .mobile-nav .nav-link { display:grid; justify-items:center; gap:3px; padding:5px 3px; font-size:.75rem; }
  .mobile-nav .nav-link .pill { display:none; }
  .staff-hero .hero-copy { justify-items:stretch; }
  .staff-hero .button { width:100%; }
  .toast { bottom:max(74px,calc(env(safe-area-inset-bottom) + 54px)); }
  .form-grid,.login { grid-template-columns:1fr; }
  .login-story { min-height:220px; gap:17px; }
}
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; animation:none!important; transition:none!important; } }

