:root{color-scheme:light;--rail:#123638;--ink:#173634;--action:#006c61;--lime:#c9ee76;--paper:#f4f7f5;--border:#dce5df;--muted:#536964;--radius:14px;font-family:Inter,Segoe UI,Roboto,Arial,sans-serif;color:var(--ink);background:var(--paper);font-size:100%}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit;color:inherit}a{color:var(--action);text-underline-offset:3px}.button,.primary,button{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:2.65rem;border:1px solid var(--border);border-radius:8px;padding:.55rem .85rem;background:white;text-decoration:none;cursor:pointer;font-weight:600;font-size:.9rem}.button:hover,button:hover{border-color:var(--action)}button:disabled{cursor:default;opacity:.55}.primary{background:var(--action);color:white;border-color:var(--action)}.primary:hover{background:#00564d}.back,.plain{background:transparent;border:0;color:var(--action);font-weight:650}.back{display:inline-flex;align-items:center;gap:.45rem;margin-bottom:.9rem}.plain:hover{text-decoration:underline}:focus-visible{outline:3px solid #c26d0a;outline-offset:3px}.skip:not(:focus),.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.skip:focus{position:fixed;z-index:20;background:white;padding:1rem;top:.5rem;left:.5rem}h1,h2,p{margin-top:0}h1{font-size:clamp(1.9rem,3vw,2.75rem);letter-spacing:-.055em;line-height:1.14;margin-bottom:.45rem;font-weight:680}h2{font-size:1.15rem;letter-spacing:-.032em;margin-bottom:.35rem}p{line-height:1.5}.heading p,.muted,.padded>p,.panel-head p{color:var(--muted)}.error{color:#982c32;background:#fff1f0;border-radius:6px;padding:.7rem;overflow-wrap:anywhere}.app{min-height:100vh;display:grid;grid-template-columns:245px minmax(0,1fr)}.rail{background:var(--rail);color:#eff6ed;position:sticky;top:0;height:100dvh;display:flex;flex-direction:column;padding:1.6rem 1rem .9rem;overflow-y:auto}.brand{display:flex;align-items:center;justify-content:space-between;padding:.05rem .65rem 1.65rem}.brand img{display:block;width:149px;height:41px;object-fit:contain;object-position:left center}.company{display:flex!important;align-items:center;gap:.65rem!important;padding:.65rem;background:#204849;border:1px solid #3a6060;border-radius:10px;margin-bottom:1rem}.company>span:nth-child(2){min-width:0;flex:1 1}.company-icon,.user-tile{width:35px;height:35px;display:grid;place-items:center;border-radius:9px;background:#345a55;color:#dcf6a9}.company small,.rail-footer small{display:block;color:#c5d5d0;font-size:.76rem}.company select{appearance:none;padding:0;background:transparent;color:white;border:0;width:100%;min-height:1.45rem;font-weight:620}.company option{color:var(--ink)}.rail nav{flex:1 1}.nav-label{text-transform:uppercase;letter-spacing:.11em;color:#a9c2ba;font-weight:650;font-size:.75rem;padding:1.1rem .8rem .45rem}.rail nav a{color:#d9e6df;text-decoration:none;display:flex;align-items:center;gap:.7rem;border-radius:7px;padding:.58rem .75rem;font-size:.905rem;line-height:1.4}.rail nav a:hover{background:#204849}.rail nav a.active{background:#31574e;color:#e3f7bc;font-weight:650}.rail nav a.active svg{color:var(--lime)}.rail-footer{display:flex;align-items:center;gap:.65rem;margin-top:1.4rem;padding:.9rem .35rem 0;border-top:1px solid #395855}.rail-footer strong{font-size:.9rem}.rail-footer button{padding:.3rem;background:transparent;color:white;border:none;margin-left:auto}.user-tile{background:var(--lime);color:#23422d;font-weight:750;border-radius:50%}.stage{min-width:0}.topbar{height:64px;padding:0 clamp(1.15rem,3.2vw,3.6rem);border-bottom:1px solid var(--border);background:white;display:flex;align-items:center;justify-content:space-between;gap:.6rem;color:var(--muted);font-size:.88rem}.actions,.period,.top-company,.topbar>div{display:flex;align-items:center;gap:.55rem}.topbar strong{color:var(--ink);font-weight:600}.top-company i{width:8px;height:8px;border-radius:50%;background:#558763}.stage main{max-width:1570px;margin:auto;padding:clamp(1.2rem,2.8vw,2.85rem) clamp(1rem,3.2vw,3.6rem) 3.6rem;outline:none}.heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.65rem}.heading p,.panel-head p{margin:0}.period{border:1px solid var(--border);border-radius:8px;padding:.55rem .75rem;background:white;font-size:.85rem;white-space:nowrap}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.85rem;margin-bottom:1.15rem}.metric,.module-card,.panel{background:white;border:1px solid var(--border);border-radius:var(--radius)}.metric{color:var(--ink);text-decoration:none;padding:1rem 1.1rem;display:flex;flex-direction:column;gap:.45rem}.metric:hover,.module-card:hover{border-color:#91b6a9}.metric-line,.module-card,.pager,.panel-head,.quick>a{display:flex;align-items:center;justify-content:space-between;gap:.65rem}.metric-line>span:first-child{font-weight:600;font-size:.9rem}.chart-total,.metric strong{font-size:clamp(1.55rem,2.4vw,2.25rem);font-weight:670;letter-spacing:-.055em;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.metric small,.module-card small,.quick small{color:var(--muted);font-size:.8rem;line-height:1.35}.iconbox,.row-icon{width:35px;height:35px;flex-shrink:0;display:inline-grid;place-items:center;border-radius:10px}.mint{background:#dff2e6;color:#216746}.violet{background:#ede8f8;color:#705391}.ochre{background:#f7eed6;color:#856115}.blue{background:#deedf5;color:#316584}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(245px,1fr);gap:1rem;margin-bottom:1.15rem}.panel{overflow:hidden}.padded,.panel-head{padding:1.2rem 1.35rem}.panel-head p{font-size:.875rem}.chart-total{margin:0 1.35rem .9rem}.chart{height:159px;display:flex;margin:0 1.35rem 1.1rem;gap:.65rem;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.axis{flex-direction:column;justify-content:space-between;font-size:.75rem;color:var(--muted);padding:0 0 1.1rem}.axis,.plot{display:flex}.plot{position:relative;flex:1 1;justify-content:space-around}.gridlines{position:absolute;inset:.35rem 0 1.5rem;display:flex;flex-direction:column;justify-content:space-between}.gridlines i{border-top:1px dashed var(--border)}.day{position:relative;z-index:1;flex:1 1;display:flex;flex-direction:column;align-items:center;padding-top:.35rem}.day small{font-size:.75rem;margin-top:.35rem;height:1.15rem;color:var(--muted)}.bar{height:100%;width:clamp(10px,42%,38px);display:flex;flex-direction:column;justify-content:flex-end}.bar>*{display:block;min-height:0}.bar i{background:var(--lime);border-radius:4px 4px 0 0}.bar b{background:#247c6a}.legend{display:flex;gap:1.2rem;padding:0 1.35rem 1.15rem;font-size:.8rem;color:var(--muted)}.legend span{display:flex;align-items:center;gap:.4rem}.legend i{display:block;width:10px;height:10px;border-radius:3px;background:#247c6a}.legend span:last-child i{background:var(--lime)}.quick>a{margin:0 1.35rem;padding:.65rem 0;text-decoration:none;color:var(--ink);border-bottom:1px solid #edf1ee}.quick>a>span:nth-child(2){flex:1 1}.module-card small,.module-card strong,.quick small,.quick strong{display:block}.quick strong{font-size:.91rem}.quick>a:hover,.record-name:hover{text-decoration:underline}.quick>a.all-link{justify-content:center;color:var(--action);font-weight:620;font-size:.875rem;border:none;padding:.8rem 0}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:.9rem;text-align:left}th{color:var(--muted);font-size:.8rem;font-weight:600;background:#f7f9f7}td,th{padding:.7rem 1.05rem;border-top:1px solid var(--border);overflow-wrap:anywhere}.record-name{display:inline-flex;align-items:center;gap:.6rem;color:var(--ink);font-weight:600;text-decoration:none}.row-icon{background:#edf3ee;width:30px;height:30px;color:#55766a;border-radius:7px}.badge{display:inline-flex;align-items:center;border:1px solid #c4dfcf;background:#edf7ed;color:#2d6548;border-radius:6px;padding:.2rem .46rem;font-size:.8rem;white-space:normal}.module-grid,.settings-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:.75rem;margin:.8rem 0 1.65rem}.module-card{min-height:75px;text-decoration:none;padding:.95rem;color:var(--ink)}.module-card>div{flex:1 1}.search{display:flex!important;align-items:center;flex-direction:row!important;gap:.45rem;border:1px solid var(--border);border-radius:7px;padding:0 .5rem}.search input{padding:.45rem;border:none;width:100%}.pager{padding:.7rem 1rem;justify-content:flex-end;font-size:.85rem}.empty,.pager{color:var(--muted)}.empty{text-align:center;padding:2.5rem .9rem}.empty p{margin:.7rem 0 0}.access-card form,.entry-form,.stack{display:grid;gap:1rem}.entry-form,.padded{margin-bottom:1rem}.entry-form{max-width:780px;padding:1.5rem}.access-card label,.company,.entry-form label,.padded label,.reference label,.stack label{display:flex;flex-direction:column;gap:.35rem;font-size:.9rem;font-weight:600}.company{flex-direction:row}input,select{border:1px solid #a8bab1;border-radius:6px;background:white;padding:.6rem .7rem;min-width:0;max-width:100%;min-height:2.6rem}input[type=file]{width:100%}fieldset{border:1px solid var(--border);border-radius:9px;margin:0;min-width:0;padding:1rem}legend{font-weight:650;padding:0 .3rem}.fields,.reference{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}.cart-line{display:grid;grid-template-columns:minmax(0,1fr) 6rem auto;align-items:end;gap:.6rem;margin-bottom:.75rem}.actions{flex-wrap:wrap}.padded h2{margin-bottom:1rem}.fields dt{color:var(--muted);font-size:.85rem}.fields dd{margin:.3rem 0 .7rem;overflow-wrap:anywhere}.access{min-height:100dvh;display:grid;place-items:center;padding:1rem}.access-card{width:min(100%,410px);padding:2rem;background:white;border:1px solid var(--border);border-radius:14px}.access-card>img{margin-bottom:1.5rem}.mobile,.scrim{display:none}@media (min-width:1500px){.app{grid-template-columns:270px minmax(0,1fr)}.metric{padding:1.25rem 1.4rem}.chart{height:190px}}@media (max-width:1150px){.app{grid-template-columns:210px minmax(0,1fr)}.rail{padding-left:.7rem;padding-right:.7rem}.stage main{padding:1.4rem}.metric{padding:.8rem}.metric-line{align-items:flex-start}.metric .iconbox{width:28px;height:28px}.metric strong{font-size:1.55rem}.dashboard-grid{grid-template-columns:minmax(0,1.5fr) minmax(215px,1fr)}}@media (max-width:870px){.app{display:block}.rail{display:none;position:fixed;z-index:12;width:min(275px,88vw);left:0}.rail.open{display:flex}.scrim{display:block;position:fixed;inset:0;background:#15312e72;z-index:11;border:0;border-radius:0}.mobile{display:inline-flex;min-height:2.5rem;padding:.35rem;border:0;background:transparent;color:inherit}.metrics{gap:.65rem}.heading{flex-wrap:wrap}.brand .mobile{color:white}}@media (max-width:680px){.topbar{height:54px}.top-label{display:none}.stage main{padding:1.2rem .85rem 2.5rem}.heading{margin-bottom:1rem}.heading p{font-size:.925rem}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid,.reference{grid-template-columns:1fr}.panel-head{padding:1rem;flex-wrap:wrap}.recent td,.recent th{padding:.6rem .55rem}.recent .row-icon,.recent td:nth-child(2),.recent th:nth-child(2){display:none}.top-company{font-size:.8rem}.metric strong{font-size:1.45rem}.chart{height:146px}.entry-form,.padded{padding:1rem}.cart-line{grid-template-columns:1fr auto}.cart-line>.reference{grid-column:1/-1}.pager{justify-content:space-between}.panel-head .search{width:100%}.table-wrap td,.table-wrap th{font-size:.83rem}.period{padding:.4rem .65rem}}@media (max-width:380px){.metric .iconbox{display:none}.fields{grid-template-columns:1fr}.top-company{display:none}.quick>a{margin:0 1rem}.stage main{padding-inline:.65rem}.recent td:last-child,.recent th:last-child{display:none}}@media (prefers-reduced-motion:reduce){*,:after,:before{scroll-behavior:auto!important}}.report{margin-bottom:1rem}.fields dd,.heading h1,.rail-footer strong,.top-company{overflow-wrap:anywhere}.login-page{min-height:100dvh;display:grid;place-items:center;padding:clamp(1rem,4vw,3rem);background:var(--paper)}.login-frame{width:min(100%,30rem);border:1px solid var(--border);border-radius:1.15rem;background:white;overflow:hidden}.login-frame.with-profiles{width:min(100%,56rem);display:grid;grid-template-columns:1.05fr 1fr}.login-main,.login-profiles{padding:clamp(1.35rem,4vw,3.25rem);min-width:0}.login-main{align-self:center}.login-main h1{margin:1.9rem 0 1.4rem;font-size:clamp(1.8rem,4vw,2.6rem);letter-spacing:-.045em}.login-main input{min-width:0}.login-main [role=alert]{color:#9e2923}.login-switch{margin:1.4rem 0 0}.login-profiles{background:#143a39;color:#fff}.login-profiles h2{margin:0;font-size:1.4rem}.login-profiles p{color:#d1e4dd;margin:.5rem 0 1.25rem}.profile-options{display:grid;gap:.5rem}.profile-options button{width:100%;text-align:left;justify-content:start;padding:.65rem;background:#204947;border-color:#47706c;color:white}.profile-options button:hover{background:#2a5955;border-color:#a3d8bd}.portal-items small,.profile-options small{display:block;font-size:.82rem;font-weight:400}.profile-options small{color:#d1e4dd}.profile-options button>svg{margin-left:auto}.profile-icon{display:grid;place-items:center;width:2.4rem;height:2.4rem;border-radius:.6rem;color:#d1f38e;background:#163b38}.access-home{width:min(100%,65rem);margin:auto;padding:1rem}.access-bar,.portal-items li{display:flex;gap:1rem;align-items:center;justify-content:space-between}.access-bar{margin-bottom:2rem}.portal-items{padding:0;list-style:none}.portal-items li{border-top:1px solid var(--border);padding:.85rem 0;overflow-wrap:anywhere}@media (max-width:680px){.login-frame.with-profiles{grid-template-columns:1fr}.login-main h1{margin:1rem 0}}@media (max-width:870px){.app[dir=rtl] .rail{left:auto;right:0}}