:root{--ink:#263930;--muted:#77867c;--line:#e5ebe5;--green:#315e45;--paper:#f6f8f4}*{box-sizing:border-box}html{scroll-behavior:smooth}body{background:var(--paper);color:var(--ink);margin:0;font-family:Arial,Helvetica,sans-serif;font-size:14px}a{color:inherit;text-decoration:none}button,select{font:inherit}button,a,select{-webkit-tap-highlight-color:transparent}:focus-visible{outline-offset:3px;outline:3px solid #8bbca0}.skip-link{z-index:20;background:#fff;padding:12px;position:absolute;top:-60px;left:12px}.skip-link:focus{top:12px}.app-shell{min-height:100vh}.sidebar{border:1px solid var(--line);background:#fbfcf9;border-radius:16px;flex-direction:column;width:250px;padding:28px 20px 20px;display:flex;position:fixed;inset:16px auto 16px 16px;overflow-y:auto}.sidebar-heading{justify-content:space-between;align-items:center;gap:8px;display:flex}.sidebar-toggle{color:#526c59;cursor:pointer;background:0 0;border:0;border-radius:8px;flex:none;place-items:center;width:44px;height:44px;padding:0;display:grid}.sidebar-toggle:hover{background:#e9f1e9}.sidebar-brand-toggle{cursor:pointer;background:0 0;border:0;border-radius:10px;place-items:center;width:44px;height:44px;padding:0;display:grid}.sidebar-brand-toggle .brand-mark{position:relative}.sidebar-brand-icon,.sidebar-expand-icon{place-items:center;display:grid;position:absolute;inset:0}.sidebar-expand-icon,.sidebar-brand-toggle:hover .sidebar-brand-icon,.sidebar-brand-toggle:focus-visible .sidebar-brand-icon{display:none}.sidebar-brand-toggle:hover .sidebar-expand-icon,.sidebar-brand-toggle:focus-visible .sidebar-expand-icon{display:grid}.sidebar-tooltip{z-index:100;color:#fff;white-space:nowrap;pointer-events:none;background:#263930;border-radius:7px;padding:8px 11px;font-size:12px;font-weight:600;line-height:1.2;position:fixed;transform:translateY(-50%);box-shadow:0 3px 12px #26393024}.brand{align-items:center;gap:10px;display:flex}.brand-mark{color:#fff;background:#315e45;border-radius:11px;flex:none;place-items:center;width:38px;height:38px;display:grid}.brand strong{letter-spacing:-.7px;font-size:18px}.brand small{letter-spacing:1.5px;color:#8a9b90;margin-top:2px;font-size:9px;font-weight:700;display:block}.nav-caption,.section-kicker{color:#91a398;letter-spacing:1.3px;font-size:10px;font-weight:700}.nav-caption{margin:50px 12px 12px}.side-nav{gap:5px;display:grid}.nav-link{color:#718078;border-radius:9px;align-items:center;gap:13px;min-height:46px;padding:0 13px;font-weight:600;display:flex}.nav-link:hover,.nav-current{color:#315e45;background:#e9f1e9}.desktop-notifications{border:1px solid var(--line);width:320px;max-width:none;height:calc(100dvh - 32px);max-height:none;color:var(--ink);opacity:0;transition:opacity .18s ease, transform .18s ease, display .18s allow-discrete, overlay .18s allow-discrete;background:#fbfcf9;border-radius:16px;margin:0;padding:24px 20px;position:fixed;inset:16px auto 16px 282px;overflow-y:auto;transform:translate(-8px);box-shadow:0 12px 36px #26393024}.desktop-notifications:popover-open{opacity:1;transform:translate(0)}.desktop-notifications:not(:popover-open){pointer-events:none}@starting-style{.desktop-notifications:popover-open{opacity:0;transform:translate(-8px)}}.notifications-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.notifications-heading h2{letter-spacing:-.6px;margin:8px 0 5px;font-size:22px}.notifications-heading p:not(.section-kicker){color:#697e70;font-size:12px;line-height:1.5}.notification-list{margin-top:34px}.notification-label{color:#728b79;letter-spacing:1.2px;margin:0 0 9px;font-size:10px;font-weight:700}.notification-item{border-bottom:1px solid var(--line);align-items:center;gap:12px;min-height:72px;padding:12px 0;display:flex}.notification-item>span:nth-child(2){flex:1;min-width:0}.notification-item strong,.notification-item small{display:block}.notification-item strong{color:#304b39;font-size:12px;line-height:1.4}.notification-item small{color:#6d8172;margin-top:4px;font-size:11px;line-height:1.5}.notification-item>svg:last-child{color:#718a78;flex:none;width:17px}.notification-icon{color:#517c5a;background:#eaf2e9;border-radius:10px;flex:none;place-items:center;width:38px;height:38px;display:grid}.notification-icon svg{width:18px}.notification-item:hover strong{text-decoration:underline}.notification-help{color:#697e70;margin-top:18px;font-size:11px;line-height:1.6}.sidebar-note{color:#486951;background:#eef4eb;border-radius:12px;margin-top:auto;padding:18px}.note-icon{margin-bottom:20px;display:block}.sidebar-note strong{font-size:13px}.sidebar-note p{color:#789080;margin:8px 0 0;font-size:12px;line-height:1.55}.sidebar-footer{border-top:1px solid var(--line);align-items:center;gap:10px;margin-top:20px;padding:20px 0 0;display:flex}.sidebar-footer strong,.sidebar-footer small{font-size:12px;display:block}.sidebar-footer small{color:#93a097;margin-top:3px}.sidebar-user{flex:1;min-width:0}.desktop-notification-trigger{flex:none;margin-left:auto}.desktop-notification-trigger:hover{background:#e9f1e9}.avatar{color:#476a50;background:#d8e8d9;border-radius:50%;flex:none;place-items:center;width:34px;height:34px;font-size:10px;font-weight:700;display:grid}.workspace{min-width:0;margin-left:282px}.eyebrow span{background:#6aa274;border-radius:50%;width:7px;height:7px}.content{max-width:1450px;margin:auto;padding:40px 38px 28px}.page-heading{justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:22px;display:flex}.eyebrow{letter-spacing:1.3px;color:#6c9674;align-items:center;gap:8px;font-size:10px;font-weight:700;display:flex}h1,h2,p{margin:0}h1{letter-spacing:-1.7px;margin-top:12px;font-size:clamp(30px,3vw,39px);line-height:1.1}.page-heading p{color:var(--muted);margin-top:9px;line-height:1.5}.period-control{color:#99a69c;white-space:nowrap;align-items:center;gap:12px;font-size:12px;display:flex}select{color:#43594a;cursor:pointer;background:#fff;border:1px solid #dce6dd;border-radius:8px;min-height:44px;padding:0 12px;font-weight:700}.demo-notice{color:#5f795e;background:#edf3e9;border:1px solid #dce8d8;border-radius:8px;align-items:center;gap:10px;margin-bottom:22px;padding:11px 14px;font-size:12px;line-height:1.4;display:flex}.demo-notice svg{flex:none;width:16px;height:16px}.summary{border:1px solid var(--line);background:#fff;border-radius:12px;grid-template-columns:1.3fr repeat(3,1fr);display:grid;overflow:hidden}.summary-intro{color:#fff;background:#315e45;padding:25px}.summary-intro .section-kicker{color:#a8c8ae}.summary-intro h2{letter-spacing:-.6px;margin-top:12px;font-size:21px;line-height:1.15}.summary-intro p{color:#c5d9c9;max-width:200px;margin-top:10px;font-size:12px;line-height:1.5}.summary-intro a,.next-panel a{align-items:center;gap:8px;min-height:44px;margin-top:20px;font-size:12px;font-weight:700;display:inline-flex}.summary-intro a svg,.next-panel a svg{width:16px}.metric{border-left:1px solid var(--line);flex-direction:column;justify-content:center;align-items:flex-start;min-width:0;padding:25px 22px;display:flex}.metric-icon,.panel-icon{color:#5b8965;background:#edf5ed;border-radius:10px;place-items:center;width:38px;height:38px;display:grid}.metric-icon svg,.panel-icon svg{width:19px}.metric-icon.warm{color:#c18a4a;background:#fbf3e9}.metric-icon.blue{color:#68899a;background:#eef3f6}.metric p{color:#819087;margin:19px 0 8px;font-size:12px}.metric strong{letter-spacing:-1px;white-space:nowrap;font-size:clamp(22px,2.2vw,30px)}.metric small{color:#a1aca4;margin-top:8px;font-size:11px}.dashboard-grid,.detail-grid{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:18px;display:grid}.dashboard-grid{margin-top:18px}.panel{border:1px solid var(--line);background:#fff;border-radius:12px;min-width:0;padding:24px;scroll-margin-top:16px}.panel-heading{justify-content:space-between;gap:12px;display:flex}.panel-heading h2{letter-spacing:-.5px;margin-top:7px;font-size:19px}.panel-heading p{color:#96a49a;margin-top:6px;font-size:12px;line-height:1.5}.list-head{color:#9aa99f;letter-spacing:.8px;justify-content:space-between;align-items:center;gap:10px;margin-top:26px;font-size:10px;font-weight:700;display:flex}.count{color:#728f78;background:#edf4eb;border-radius:20px;margin-left:5px;padding:3px 7px}.segmented{letter-spacing:0;background:#f3f6f1;border-radius:8px;gap:2px;padding:3px;display:flex}.segmented button{color:#829186;cursor:pointer;background:0 0;border:0;border-radius:6px;min-height:38px;padding:0 13px;font-size:11px}.segmented button[aria-pressed=true]{color:#3d6749;background:#fff;box-shadow:0 1px 3px #233a2812}.delivery-list{margin-top:4px}.delivery-row{border-bottom:1px solid #f0f3ef;align-items:center;gap:12px;padding:15px 0;display:flex}.delivery-icon{color:#77937c;background:#f4f7f2;border-radius:9px;flex:none;place-items:center;width:38px;height:38px;display:grid}.delivery-icon svg{width:17px}.delivery-main{flex:1;min-width:0}.delivery-main strong,.delivery-main small,.delivery-end small,.stock-top strong,.stock-top small{display:block}.delivery-main strong,.stock-top strong{font-size:12px}.delivery-main small,.stock-top small,.delivery-end small{color:#a0ada3;margin-top:5px;font-size:11px;line-height:1.4}.delivery-end{text-align:right;flex:none}.status{white-space:nowrap;border-radius:6px;padding:5px 8px;font-size:10px;font-weight:700;display:inline-block}.transit{color:#a97939;background:#fbf3e7}.preparing{color:#718696;background:#eff4f7}.delivered{color:#63836a;background:#edf5ec}.panel-foot{justify-content:space-between;align-items:center;gap:10px;margin-top:12px;font-size:11px;display:flex}.panel-foot span,.panel-foot a{align-items:center;gap:6px;display:inline-flex}.panel-foot span{color:#a5b0a8}.panel-foot a{color:#568061;min-height:44px;font-weight:700}.panel-foot svg{width:15px;height:15px}.stock-list{margin-top:26px}.stock-row{margin-bottom:20px}.stock-top{justify-content:space-between;gap:12px;display:flex}.stock-amount{text-align:right}.stock-top small.low{color:#c2854b}.stock-track{background:#f0f4ee;border-radius:8px;height:6px;margin-top:11px;overflow:hidden}.stock-fill{background:#8bae8f;border-radius:8px;height:100%;display:block}.low-fill{background:#dda975}.stock-note{color:#ad875c;background:#fcf6ed;border-radius:8px;align-items:center;gap:8px;padding:12px;font-size:11px;display:flex}.stock-note svg{flex:none;width:16px}.chart-period{color:#899b8e;white-space:nowrap;font-size:11px}.sales-content{align-items:flex-end;gap:30px;margin-top:30px;display:flex}.sales-total{min-width:130px}.sales-total span,.sales-total strong,.sales-total small{display:block}.sales-total span{color:#9aa99d;font-size:11px}.sales-total strong{letter-spacing:-1px;margin:7px 0;font-size:25px}.sales-total small{color:#97a79b;font-size:11px}.bar-chart{flex:1;align-items:stretch;gap:8px;height:110px;display:flex}.bar-column{flex-direction:column;flex:1;align-items:center;gap:8px;min-width:0;display:flex}.bar-area{align-items:flex-end;width:100%;height:90px;display:flex}.bar-area span{background:#a5c7a7;border-radius:4px 4px 0 0;width:100%;max-width:32px;margin:auto auto 0;display:block}.bar-column:nth-child(6) .bar-area span{background:#557f5c}.bar-column small{color:#acb9ae;font-size:10px}.chart-note{color:#a4b0a7;margin-top:20px;font-size:11px}.next-panel{color:#416c4a;background:#eaf2e7;border:1px solid #dfe9dc;border-radius:12px;padding:24px;position:relative}.next-panel>svg{color:#8ab693;width:30px;height:30px;position:absolute;top:25px;right:25px}.next-number{letter-spacing:1.2px;color:#84a68a;font-size:10px;font-weight:700}.next-panel h2{letter-spacing:-.8px;margin-top:20px;font-size:23px;line-height:1.15}.next-panel p{color:#77947c;max-width:310px;margin-top:10px;font-size:12px;line-height:1.6}.next-panel a{margin-top:12px}.page-footer{color:#aab6ac;justify-content:space-between;gap:12px;margin-top:28px;font-size:11px;display:flex}@media (max-width:1100px){.desktop-notifications{left:252px}.sidebar{width:220px;padding-left:15px;padding-right:15px}.workspace{margin-left:252px}.content{padding-left:24px;padding-right:24px}.summary{grid-template-columns:repeat(3,1fr)}.summary-intro{grid-column:1/-1}.summary-intro h2 br{display:none}.summary-intro p{max-width:none}.summary-intro a{margin-top:5px}.metric:first-of-type{border-left:0}}@media (min-width:761px){.app-shell[data-sidebar-collapsed=true] .sidebar{width:76px;padding:20px 10px}.app-shell[data-sidebar-collapsed=true] .workspace{margin-left:108px}.app-shell[data-sidebar-collapsed=true] .desktop-notifications{left:108px}.app-shell[data-sidebar-collapsed=true] .sidebar-heading{flex-direction:column;gap:10px}.app-shell[data-sidebar-collapsed=true] .brand-label,.app-shell[data-sidebar-collapsed=true] .sidebar .nav-caption,.app-shell[data-sidebar-collapsed=true] .sidebar .nav-link span,.app-shell[data-sidebar-collapsed=true] .sidebar-note,.app-shell[data-sidebar-collapsed=true] .sidebar-footer>span:not(.avatar){display:none}.app-shell[data-sidebar-collapsed=true] .sidebar .side-nav{margin-top:28px}.app-shell[data-sidebar-collapsed=true] .sidebar .nav-link{justify-content:center;padding:0}.app-shell[data-sidebar-collapsed=true] .sidebar-footer{flex-direction:column;justify-content:center;margin-top:auto}.app-shell[data-sidebar-collapsed=true] .desktop-notification-trigger{margin-left:0}}@media (max-width:760px){.sidebar{display:none}.workspace{margin-left:0}.content{padding:20px 16px calc(28px + env(safe-area-inset-bottom))}.app-shell{touch-action:pan-y pinch-zoom}.mobile-menu-button{color:#315e45;cursor:pointer;background:#fff;border:1px solid #dce6dd;border-radius:8px;align-items:center;gap:8px;min-height:44px;margin-bottom:22px;padding:0 13px;font-weight:700;display:inline-flex}.page-heading{display:block}.page-heading h1{margin-top:10px}.period-control{justify-content:space-between;margin-top:18px}.period-control select{min-width:135px}.summary{grid-template-columns:repeat(2,minmax(0,1fr))}.summary-intro{padding:20px}.metric{border-top:1px solid var(--line);padding:20px 16px}.metric:last-child{grid-column:1/-1}.metric p{margin-top:13px}.dashboard-grid,.detail-grid{grid-template-columns:1fr;gap:14px}.dashboard-grid{margin-top:14px}.panel{padding:20px 16px}.next-panel{padding:22px}.page-footer span:last-child{display:none}}@media (max-width:360px){.delivery-main small{max-width:150px}.delivery-row{gap:8px}.delivery-icon{width:32px;height:32px}.status{padding:5px;font-size:9px}.sales-content{gap:12px}.sales-total{min-width:110px}}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}.storage-readings{gap:35px;margin-top:20px;display:flex}.storage-readings strong,.storage-readings span{display:block}.storage-readings strong{letter-spacing:-.8px;font-size:23px}.storage-readings span{color:#77947c;margin-top:4px;font-size:11px}.next-panel .storage-disconnected{color:#5b7a61;margin-top:18px;font-size:11px}.mobile-menu-button{display:none}.mobile-drawer{width:min(320px,84vw);max-width:none;height:100dvh;max-height:none;color:var(--ink);touch-action:pan-y pinch-zoom;background:#fbfcf9;border:0;border-radius:0 18px 18px 0;margin:0;padding:0;transition:transform .18s ease-out;position:fixed;inset:0 auto 0 0;transform:translate(0)}.mobile-drawer[open]{display:block}.mobile-drawer.notifications-open{border-radius:0;width:100vw}.mobile-notifications .notification-footer{align-items:center}.notification-footer .drawer-close{margin-left:auto}.mobile-drawer::backdrop{background:#15241b75}.mobile-drawer.dragging{transition:none}.drawer-content{min-height:100%;padding:calc(24px + env(safe-area-inset-top)) 20px calc(20px + env(safe-area-inset-bottom));flex-direction:column;display:flex}.drawer-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.drawer-close{color:#526c59;cursor:pointer;background:0 0;border:0;border-radius:8px;place-items:center;width:44px;height:44px;padding:0;display:grid}.drawer-close:active{background:#e9f1e9}.drawer-content .sidebar-footer{margin-top:auto}body.drawer-open{overflow:hidden}@starting-style{.mobile-drawer[open]{transform:translate(-100%)}}@media (max-width:760px){.mobile-menu-button{display:inline-flex}}@media (prefers-reduced-motion:reduce){.mobile-drawer,.desktop-notifications{transition:none}}
.branch-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.branch-card{border:1px solid var(--line);background:#fff;border-radius:12px;padding:24px;display:block}.branch-card:hover{border-color:#9bbba1}.branch-card-title{align-items:center;gap:14px;display:flex}.branch-card-title>div{flex:1;min-width:0}.branch-card-title>svg{color:#608b68;flex:none}.branch-icon{color:#517c5a;background:#eaf2e9;border-radius:11px;flex:none;place-items:center;width:46px;height:46px;display:grid}.branch-card h2{letter-spacing:-.4px;font-size:18px}.branch-card p{color:#6d8172;margin-top:5px;font-size:12px;line-height:1.4}.branch-card-details{border-top:1px solid var(--line);color:#667c6c;flex-wrap:wrap;gap:8px 20px;margin-top:22px;padding-top:17px;font-size:12px;line-height:1.5;display:flex}.branch-card-details strong{color:var(--ink)}.back-link{color:#527b5d;align-items:center;gap:4px;min-height:44px;margin:-8px 0 12px;font-size:12px;font-weight:700;display:inline-flex}.back-link svg{width:16px;height:16px}.page-heading.branch-heading{align-items:flex-start}.branch-actions{align-items:center;gap:12px;display:flex}.branch-actions .back-link{margin:0;padding:0 8px 0 0}.mobile-back-link{display:none}@media (max-width:760px){.branch-desktop-back{display:none}.mobile-topbar{justify-content:space-between;align-items:center;gap:10px;margin-bottom:22px;display:flex}.mobile-topbar .mobile-menu-button{margin-bottom:0}.mobile-topbar .mobile-back-link{justify-content:flex-end;min-height:44px;margin:0;display:inline-flex}}.branch-tabs{border-bottom:1px solid #dce6dd;gap:6px;min-width:0;margin-bottom:22px;display:flex}.inventory-tabs{margin-top:20px}.inventory-tabs a{min-width:118px}@media (max-width:760px){.inventory-tabs{margin-top:18px}.inventory-tabs a{flex:1;min-width:0}}.branch-tabs a{color:#6b7f71;border-bottom:2px solid #0000;justify-content:center;align-items:center;min-height:48px;padding:0 18px;font-size:13px;font-weight:700;display:flex}.branch-tabs a[aria-current=page]{color:#315e45;border-bottom-color:#315e45}.branch-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.branch-stat{border:1px solid var(--line);background:#fff;border-radius:12px;min-width:0;padding:22px}.branch-stat p{color:#6d8172;margin:16px 0 8px;font-size:12px}.branch-stat strong{letter-spacing:-.6px;overflow-wrap:anywhere;font-size:clamp(19px,2vw,26px);display:block}.branch-stat small{color:#728679;margin-top:8px;font-size:11px;line-height:1.4;display:block}.payout-summary{justify-content:space-between;align-items:center;gap:20px;margin-top:18px;display:flex}.payout-summary h2{margin-top:7px;font-size:19px}.payout-summary p{color:#6d8172;margin-top:7px;font-size:12px;line-height:1.5}.payout-summary>div:last-child{text-align:right;flex:none}.payout-summary>div>strong{letter-spacing:-.6px;font-size:22px;display:block}.payout-summary a{color:#527b5d;align-items:center;gap:7px;min-height:44px;font-size:12px;font-weight:700;display:inline-flex}.payout-summary a svg{width:16px}.payout-totals{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:18px;display:grid}.payout-totals>div{border:1px solid var(--line);background:#fff;border-radius:12px;min-width:0;padding:20px}.payout-totals span,.payout-totals strong,.payout-totals small{display:block}.payout-totals span{color:#6d8172;font-size:12px}.payout-totals strong{letter-spacing:-.5px;overflow-wrap:anywhere;margin-top:8px;font-size:clamp(18px,2vw,25px)}.payout-totals small{color:#728679;margin-top:7px;font-size:11px}.worker-toolbar{color:#6d8172;justify-content:space-between;align-items:center;gap:12px;margin-top:22px;font-size:12px;display:flex}.worker-filter button{min-height:44px}.worker-row{border-bottom:1px solid #edf1ec;justify-content:space-between;align-items:center;gap:16px;padding:18px 0;display:flex}.worker-person{align-items:center;gap:12px;min-width:0;display:flex}.worker-avatar{color:#527b5d;background:#eaf2e9;border-radius:50%;flex:none;place-items:center;width:40px;height:40px;font-size:10px;font-weight:700;display:grid}.worker-person h3,.branch-stock-row h3{font-size:13px;font-weight:700}.worker-person p,.branch-stock-row p{color:#6d8172;margin-top:4px;font-size:12px}.worker-pay{text-align:right;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px 10px;min-width:0;display:flex}.worker-pay strong{font-size:13px}.worker-pay small{color:#6d8172;width:100%;font-size:11px;line-height:1.45;display:block}.branch-footnote,.branch-empty{color:#6d8172;margin-top:18px;font-size:12px;line-height:1.5}.branch-stock-list{margin-top:22px}.branch-stock-row{border-bottom:1px solid #edf1ec;justify-content:space-between;align-items:center;gap:16px;padding:15px 0;display:flex}.branch-stock-row>div:last-child{text-align:right;align-items:center;gap:12px;display:flex}.branch-stock-row strong{font-size:13px}@media (max-width:760px){.branch-list{grid-template-columns:1fr;gap:14px}.branch-card{padding:20px 16px}.branch-heading{margin-bottom:16px}.branch-tabs{gap:0}.branch-tabs a{flex:1;min-width:0;padding:0 4px;font-size:12px}.branch-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.branch-stat:last-child{grid-column:1/-1}.branch-stat{padding:18px 16px}.payout-summary{flex-direction:column;align-items:flex-start}.payout-summary>div:last-child{text-align:left}.payout-totals{gap:12px}.payout-totals>div{padding:18px 14px}.worker-toolbar{flex-direction:column;align-items:flex-start}.worker-row{flex-direction:column;align-items:flex-start;gap:10px}.worker-pay{text-align:left;justify-content:flex-start;padding-left:52px}}
.add-record{margin:0 0 18px}.add-record>summary{color:#315e45;cursor:pointer;background:#fff;border:1px solid #c9dccc;border-radius:8px;align-items:center;min-height:44px;padding:0 15px;font-weight:700;list-style:none;display:inline-flex}.add-record>summary::-webkit-details-marker{display:none}.add-record>summary:hover{background:#edf4eb}.inline-add{margin-top:20px}.record-form{border:1px solid var(--line);background:#f8faf7;border-radius:10px;margin-top:12px;padding:20px}.record-form h2,.record-form h3{margin:0 0 16px;font-size:16px}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.record-form label:not(.checkbox-label){color:#375542;flex-direction:column;gap:7px;font-size:12px;font-weight:700;display:flex}.record-form label span{color:#6d8172;font-weight:400}.record-form input:not([type=checkbox]),.record-form select{color:#263930;background:#fff;border:1px solid #cddbd0;border-radius:8px;width:100%;min-width:0;min-height:44px;padding:10px 12px;font-size:16px;font-weight:400}.checkbox-label{color:#375542;align-items:center;gap:10px;min-height:44px;margin-top:12px;font-size:13px;display:flex}.checkbox-label input{accent-color:#315e45;width:18px;height:18px}.form-hint{color:#617a69;margin-top:12px;font-size:12px;line-height:1.5}.form-error{color:#9b392f;background:#fff4f1;border:1px solid #f0c9bf;border-radius:8px;margin:12px 0;padding:10px 12px;font-size:12px;line-height:1.5}.primary-action{color:#fff;cursor:pointer;background:#315e45;border:0;border-radius:8px;min-height:44px;margin-top:16px;padding:0 16px;font-size:13px;font-weight:700}.primary-action:hover{background:#244b36}.text-action{color:#315e45;cursor:pointer;background:0 0;border:0;min-height:44px;font-size:12px;font-weight:700}.text-action:hover{text-decoration:underline}@media (max-width:600px){.form-grid{grid-template-columns:1fr}.record-form{padding:16px}}
.record-form input:not([type=checkbox]),.record-form select{border-color:#9eb3a3;box-shadow:0 1px 2px #2639300c}.record-form input::placeholder{color:#687d6e;opacity:1}.record-form input:focus-visible,.record-form select:focus-visible,summary:focus-visible,button:focus-visible,a:focus-visible{outline-offset:2px;outline:3px solid #659773}.form-hint,.record-form label span{color:#526c5b}.form-success{color:#285b3a;font-size:13px;line-height:1.5}.form-success:not(:empty){margin-top:14px}.branch-heading p{color:#556d5c}.payout-totals small,.branch-footnote,.branch-empty,.worker-person p,.branch-stock-row p{color:#536b5b}.record-actions{flex-wrap:wrap;align-items:flex-start;gap:0 16px;display:flex}.record-details{max-width:100%}.record-details>summary,.history-details>summary{color:#315e45;cursor:pointer;align-items:center;min-height:44px;font-size:12px;font-weight:700;list-style:none;display:inline-flex}.record-details>summary::-webkit-details-marker{display:none}.history-details>summary::-webkit-details-marker{display:none}.record-details>summary:hover,.history-details>summary:hover{text-decoration:underline}.record-details[open]{flex-basis:100%}.record-details .record-form{text-align:left;margin:0 0 12px}.danger-action{color:#9b392f}.worker-panel .status.preparing,.branch-inventory .status.preparing,.all-stock-list .status.preparing{color:#425d6d}.worker-panel .status.delivered,.branch-inventory .status.delivered,.all-stock-list .status.delivered{color:#3f6549}.worker-row{align-items:flex-start}.worker-person{flex:0 210px}.worker-records{flex:1;min-width:0}.payout-record{border-bottom:1px solid #edf1ec;flex-wrap:wrap;align-items:center;gap:0 14px;padding-bottom:6px;display:flex}.payout-record>div:first-child{min-width:150px;margin-right:auto}.payout-record strong,.payout-record small{display:block}.payout-record strong{font-size:13px}.payout-record small{color:#536b5b;margin-top:4px;font-size:12px}.history-details[open]{flex-basis:100%}.history-details ul{color:#536b5b;margin:0 0 10px;padding-left:18px;font-size:12px;line-height:1.6}.branch-stock-row{align-items:flex-start}.branch-stock-row>div.stock-record{flex-wrap:wrap;justify-content:flex-end;max-width:65%}.stock-record>.record-actions{flex-basis:100%;justify-content:flex-end}.stock-record .record-details[open]{text-align:left}.branch-settings{max-width:700px}.all-stock-branch{margin-top:22px}.all-stock-branch h3{color:#315e45;font-size:14px}.all-stock-branch h3 a:hover{text-decoration:underline}.all-stock-row{border-bottom:1px solid #edf1ec;justify-content:space-between;align-items:center;gap:16px;padding:12px 0;display:flex}.all-stock-row strong,.all-stock-row small{font-size:12px;display:block}.all-stock-row small{color:#536b5b;margin-top:4px}.all-stock-row>div:last-child{text-align:right}.all-stock-row .status{margin-top:5px}.inventory-link{color:#315e45;align-items:center;min-height:44px;margin-top:12px;font-size:13px;font-weight:700;display:inline-flex}.branch-inventory .form-hint .inventory-link{min-height:0;font-size:inherit;margin:0}.stock-toggle{color:#526c59;cursor:pointer;align-items:center;gap:10px;min-height:44px;font-size:12px;font-weight:650;display:inline-flex}.stock-toggle input{appearance:none;cursor:pointer;background:#d5ded6;border:1px solid #bfcac1;border-radius:999px;flex:none;width:42px;height:26px;transition:background .16s,border-color .16s;position:relative}.stock-toggle input:before{content:"";background:#fff;border-radius:50%;width:20px;height:20px;transition:transform .16s;position:absolute;top:2px;left:2px;box-shadow:0 1px 3px #1d34293b}.stock-toggle input:checked{background:#315e45;border-color:#315e45}.stock-toggle input:checked:before{transform:translate(16px)}.stock-toggle input:focus-visible{outline-offset:3px;outline:3px solid #659773}@media (prefers-reduced-motion:reduce){.stock-toggle input,.stock-toggle input:before{transition:none}}.branch-stock-label{overflow-wrap:anywhere;flex:1;min-width:0}.main-inventory .branch-stock-row .stock-record,.branch-inventory .branch-stock-row .stock-record{text-align:right;flex-wrap:wrap;justify-content:flex-end;gap:4px 12px;display:flex}.main-inventory .record-actions,.branch-inventory .record-actions{justify-content:flex-end;width:100%}.supply-history{border-top:1px solid var(--line);margin-top:28px;padding-top:20px}.supply-history h3{margin-bottom:8px;font-size:14px}.supply-history-row{border-bottom:1px solid #edf1ec;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 14px;padding:12px 0;font-size:12px;display:flex}.supply-history-row>span{flex:1;min-width:140px}.supply-history-row small{color:#728679}.stock-product-link{color:#244f39;font:inherit;text-align:left;cursor:pointer;text-underline-offset:3px;background:0 0;border:0;margin:-7px 0;padding:7px 0;font-weight:700;line-height:1.4;-webkit-text-decoration:underline #b8cfc0;text-decoration:underline #b8cfc0;display:inline}.stock-product-link:hover{text-decoration-color:currentColor}.warehouse-inventory-link{white-space:nowrap;justify-content:center;align-items:center;margin:0;text-decoration:none;display:inline-flex}.warehouse-history-detail{margin-top:20px}.warehouse-history-detail .movement-totals{margin-top:0}.warehouse-branch-link{color:#315e45;text-underline-offset:3px;overflow-wrap:anywhere;font-size:12px;font-weight:700;text-decoration:underline}.warehouse-branch-link:hover{color:#1e4831}.warehouse-history-note{max-width:68ch;margin-top:24px}.main-history .history-heading>div{flex:1;min-width:0}.main-history .history-filters{margin-top:22px}@media (max-width:600px){.main-history .history-heading>.warehouse-inventory-link{min-height:44px}}.branch-history .history-heading{flex-wrap:wrap;align-items:center}.branch-history .history-heading>div{flex:1;min-width:0}.branch-history .history-heading>button{flex:none;margin:0}.history-filters{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:12px;margin-top:23px;display:flex}.history-filters>label{color:#526b5a;flex-direction:column;gap:7px;min-width:min(245px,100%);font-size:12px;font-weight:650;display:flex}.history-filters select{width:100%;min-width:0;max-width:380px;font-size:13px}.history-direction button{min-width:52px;min-height:40px;font-size:12px}.history-focus{color:#355e43;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-top:16px;font-size:12px;display:flex}.history-focus a{color:#315e45;align-items:center;min-height:44px;font-weight:700;display:inline-flex}.history-counts{color:#667b6d;font-variant-numeric:tabular-nums;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-top:18px;padding-bottom:10px;font-size:11px;display:flex}.receipt-list{border-top:1px solid var(--line)}.history-receipt{border-bottom:1px solid var(--line);padding:16px 0}.history-receipt-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.history-receipt-head>div{flex-direction:column;gap:6px;min-width:0;display:flex}.history-receipt-head strong{overflow-wrap:anywhere;font-size:13px;font-weight:700}.history-receipt-head time{color:#718475;font-size:11px}.history-status{letter-spacing:.03em;border-radius:5px;justify-content:center;min-width:40px;padding:5px 7px;font-size:10px;font-weight:700;display:inline-flex}.history-in{color:#315e45;background:#eaf3ea}.history-out{color:#865838;background:#f8efe6}.history-receipt-lines{border-left:2px solid #dfe8df;margin-top:12px;padding-left:14px}.history-line{justify-content:space-between;align-items:center;gap:16px;padding:7px 0;font-size:12px;display:flex}.history-line+.history-line{border-top:1px solid #edf1ec}.history-line>div{flex-direction:column;gap:5px;min-width:0;display:flex}.history-line>div strong{overflow-wrap:anywhere;font-weight:650}.history-line>div span{color:#617765;line-height:1.4}.history-line>strong{white-space:nowrap;font-variant-numeric:tabular-nums;flex:none}.branch-receipt-form{border-top:1px solid var(--line);margin-top:18px;padding-top:16px}.receipt-form .receipt-reference,.receipt-line label{color:#375542;flex-direction:column;gap:7px;font-size:12px;font-weight:650;display:flex}.receipt-reference span{color:#748679;font-weight:400;display:inline}.receipt-form input,.receipt-form select{color:#263930;background:#fff;border:1px solid #b7c9ba;border-radius:8px;width:100%;min-width:0;min-height:44px;padding:9px 12px;font-size:16px;font-weight:400}.receipt-reference{max-width:420px;margin:14px 0}.receipt-lines{border-top:1px solid var(--line);padding-top:8px}.receipt-line{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) auto;align-items:end;gap:10px;padding:8px 0;display:grid}.receipt-add-line{min-height:44px}.inventory-history-hint a{color:#315e45;text-underline-offset:3px;font-weight:700;text-decoration:underline}@media (max-width:600px){.receipt-line{grid-template-columns:1fr minmax(0,1fr)}.receipt-line>button{justify-self:start}.history-filters>label{flex:100%}.history-filters select{max-width:none}.history-direction{width:100%}.history-direction button{flex:1}}@media (prefers-reduced-motion:reduce){.branch-history *{scroll-behavior:auto}}.sample-label{color:#687d6e;font-weight:400}.movement-ledger{margin-top:12px}.movement-toolbar{color:#526c59;justify-content:space-between;align-items:center;gap:12px;margin-bottom:6px;font-size:12px;display:flex}.movement-toolbar select{min-width:160px;max-width:200px;font-size:13px;font-weight:600}.movement-list{border-top:1px solid #e3ebe3}.movement-row{border-bottom:1px solid #e9efe9;justify-content:space-between;align-items:center;gap:16px;padding:14px 0;display:flex}.movement-row>div{flex-direction:column;gap:5px;min-width:0;display:flex}.movement-row>div>strong{font-size:13px;font-weight:650}.movement-row>div>span{color:#526b5a;overflow-wrap:anywhere;font-size:12px;line-height:1.5}.movement-row time{color:#778a7c;font-size:11px}.movement-row>strong{white-space:nowrap;font-variant-numeric:tabular-nums;flex:none;font-size:13px}.movement-in{color:#315e45}.movement-out{color:#8d573c}.movement-detail .form-hint{margin-top:0}.movement-totals{border:1px solid var(--line);border-radius:10px;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:18px;display:grid;overflow:hidden}.movement-totals>div{border-bottom:1px solid var(--line);min-width:0;padding:14px}.movement-totals>div:nth-child(odd){border-right:1px solid var(--line)}.movement-totals>div:nth-last-child(-n+2){border-bottom:0}.movement-totals span,.movement-totals strong{display:block}.movement-totals span{color:#657a6a;font-size:11px}.movement-totals strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin-top:5px;font-size:17px}.movement-destinations{margin-top:22px}.movement-destinations h3{margin-bottom:8px;font-size:14px}.movement-destination{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1.5fr) repeat(2,minmax(0,1fr));align-items:center;gap:8px;padding:12px 0;font-size:12px;display:grid}.movement-destination strong{overflow-wrap:anywhere}.movement-destination span{color:#536b5b;font-variant-numeric:tabular-nums}.movement-destination-list{border-top:1px solid var(--line)}@media (max-width:600px){.movement-destination{grid-template-columns:1fr 1fr}.movement-destination strong{grid-column:1/-1}.movement-toolbar{flex-wrap:wrap;align-items:flex-start}}.delivery-status-select{max-width:132px;min-height:40px;font-size:12px}.delivery-end .text-action{min-height:34px;margin-left:auto;display:block}@media (max-width:760px){.main-inventory .branch-stock-row .stock-record,.branch-inventory .branch-stock-row .stock-record{text-align:left;justify-content:flex-start}.main-inventory .record-actions,.branch-inventory .record-actions{justify-content:flex-start}.branch-stock-label{width:100%}.delivery-row{flex-wrap:wrap}.delivery-end{margin-left:auto}.worker-row{flex-direction:column}.worker-person{flex:auto}.worker-records{width:100%}.branch-stock-row{flex-wrap:wrap}.branch-stock-row>div.stock-record{text-align:left;justify-content:flex-start;width:100%;max-width:none}.stock-record>.record-actions{justify-content:flex-start}}
.add-trigger{color:#315e45;cursor:pointer;background:#fff;border:1px solid #c9dccc;border-radius:8px;align-items:center;min-height:44px;padding:0 15px;font-weight:700;display:inline-flex}.add-trigger:hover{background:#edf4eb}.add-trigger.inline-add{margin:20px 0 18px}.record-dialog{width:min(520px,100% - 32px);max-width:none;max-height:min(90dvh,800px);color:var(--ink);background:#fff;border:1px solid #dce6dd;border-radius:14px;margin:auto;padding:0;position:fixed;inset:0;overflow:auto;box-shadow:0 18px 60px #1a33232e}.record-dialog:focus{outline:none}.record-dialog::backdrop{opacity:1;background:#15241b80;transition:opacity .2s}.record-dialog[data-closing=true]::backdrop{opacity:0}.record-dialog-header{border-bottom:1px solid #e7ede7;justify-content:space-between;align-items:center;gap:16px;padding:20px 24px 14px;display:flex}.record-dialog-header h2{letter-spacing:-.4px;font-size:20px;font-weight:700}.record-dialog-close{color:#45664f;cursor:pointer;background:0 0;border:0;border-radius:8px;flex:none;place-items:center;width:44px;height:44px;padding:0;display:grid}.record-dialog-close:hover{background:#edf4eb}.record-dialog-close svg{width:20px;height:20px}.record-dialog-content{padding:22px 24px 24px}.record-dialog .record-form{background:0 0;border:0;border-radius:0;margin:0;padding:0}.record-dialog .form-grid{gap:18px 16px}.record-dialog .record-form label:not(.checkbox-label){gap:8px}.record-dialog .record-form input:not([type=checkbox]),.record-dialog .record-form select{border-color:#b9cabe;border-radius:8px;min-height:48px}.record-dialog .record-form input::placeholder{color:#728579}.record-dialog .field-label{color:#375542;font-weight:700}.record-dialog .field-label span{color:#66796c;margin-left:4px;font-weight:400}.record-dialog .field-help{color:#586e5f;font-size:12px;font-weight:400}.record-dialog .primary-action{min-width:140px;margin-top:24px}.record-dialog .record-form>.primary-action{margin-left:auto;display:block}.record-dialog .record-actions{justify-content:flex-end;align-items:center;gap:12px;margin-top:24px}.record-dialog .record-actions .primary-action{margin-top:0}.record-dialog .record-actions .danger-action{order:-1;margin-right:auto}:is(html:has(.record-dialog[open]),body:has(.record-dialog[open])){overscroll-behavior-x:none}body:has(.record-dialog[open]){overflow:hidden}@starting-style{.record-dialog[open]::backdrop{opacity:0}}@media (max-width:760px){.record-dialog{width:100%;max-height:calc(100dvh - env(safe-area-inset-top) - 16px);border:0;border-radius:18px 18px 0 0;margin:0;inset:auto 0 0}.record-dialog-header{padding:16px 20px 12px}.record-dialog-content{padding:20px 20px calc(20px + env(safe-area-inset-bottom))}.record-dialog .primary-action{width:100%}.record-dialog .record-actions{flex-direction:column;align-items:stretch}.record-dialog .record-actions .danger-action{order:0;align-self:center;margin-right:0}}@media (prefers-reduced-motion:reduce){.record-dialog::backdrop{transition:none}}
