/*! tailwindcss v4.3.1 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}:root{color:#17201a;background:#f5f7f2;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:#f5f7f2;min-width:320px;min-height:100vh;margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.65}#root{min-height:100vh}.app-shell{min-height:100vh;display:flex}.sidebar{z-index:20;background:#fbfcf8;border-right:1px solid #dbe3d6;flex-direction:column;gap:28px;width:264px;height:100vh;padding:24px 18px;display:flex;position:sticky;top:0}.sidebar .nav-list{padding-right:2px;overflow-y:auto}.brand{align-items:center;gap:12px;display:flex}.brand-mark{color:#fff;background:#2d6a4f;border-radius:8px;place-items:center;width:38px;height:38px;font-weight:800;display:grid}.brand strong,.brand span{display:block}.brand span,.eyebrow,.metric-muted,.user-chip small{color:#677465;font-size:12px}.nav-list{gap:6px;display:grid}.nav-group{gap:5px;display:grid}.nav-group p{color:#7a8677;text-transform:uppercase;margin:12px 8px 4px;font-size:11px;font-weight:900}.nav-item{color:#3e4a3c;border-radius:8px;align-items:center;gap:10px;min-height:42px;padding:0 12px;text-decoration:none;display:flex}.nav-item:hover,.nav-item.active{color:#214c39;background:#e7efe6}.workspace{flex:1;min-width:0}.topbar{z-index:10;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#f5f7f2f0;border-bottom:1px solid #dbe3d6;grid-template-columns:auto 1fr auto auto;align-items:center;gap:14px;min-height:76px;padding:14px 28px;display:grid;position:sticky;top:0}.topbar h1,.login-panel h1,.section h2,.empty-state h2,.modal h2{color:#17201a;margin:0;line-height:1.1}.topbar h1{font-size:24px}.eyebrow{letter-spacing:0;text-transform:uppercase;margin:0 0 4px;font-weight:700}.user-chip{justify-items:end;line-height:1.2;display:grid}.sidebar-footer{border-top:1px solid #dbe3d6;gap:10px;margin-top:auto;padding-top:14px;display:grid}.sidebar-user{justify-items:start}.clickable-row{cursor:pointer}.clickable-row:hover td{background:#f6faf2}.profit-card{background:#effaf1;border-color:#bde7c7}.loss-card{background:#fff0ef;border-color:#f0b9b5}.page{min-width:0;padding:28px;overflow-x:hidden}.stack{gap:18px;display:grid}.stats-grid,.metric-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.metric-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.stat-card,.metric-card,.panel,.section,.empty-state{background:#fff;border:1px solid #dbe3d6;border-radius:8px;box-shadow:0 1px 2px #19241b0a}.stat-card{gap:7px;padding:18px;display:grid}.stat-card-alert{background:#fffbf2;border-color:#f5a623}.stat-label{color:#677465;font-size:13px}.stat-value{font-size:28px;font-weight:700;line-height:1}.stat-sub{color:#9aaa96;font-size:12px}.stat-card span{color:#677465;font-size:13px}.stat-card strong{font-size:28px;line-height:1}.stat-icon{color:#2d6a4f;background:#edf5e7;border-radius:8px;place-items:center;width:34px;height:34px;display:grid}.section{padding:18px}.section-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.toolbar{justify-content:space-between;align-items:end;gap:12px;display:flex}.table-wrap{border:1px solid #dbe3d6;border-radius:8px;width:100%;overflow-x:auto}table{border-collapse:collapse;background:#fff;width:100%;min-width:720px}th,td{text-align:left;white-space:nowrap;border-bottom:1px solid #e7ece3;padding:12px 14px}th{color:#596555;text-transform:uppercase;background:#f8faf4;font-size:12px;font-weight:800}tr:last-child td{border-bottom:0}.low-stock-row td{background:#fff8e6}.metric-card{gap:10px;min-height:132px;padding:16px;display:grid}.metric-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.metric-card h3{margin:0;font-size:16px}.metric-value{font-size:30px;line-height:1}.badge,.count-pill{border-radius:999px;align-items:center;min-height:24px;padding:3px 9px;font-size:12px;font-weight:800;display:inline-flex}.badge.success,.count-pill.healthy{color:#23613b;background:#e3f4e6}.badge.warning,.count-pill.warning{color:#8a5b00;background:#fff0c2}.badge.danger,.count-pill.critical{color:#9d251c;background:#ffe1df}.badge.info{color:#1f5f8c;background:#dff0ff}.badge.neutral{color:#596555;background:#ecefeb}.badge.purple{color:#6840a6;background:#efe6ff}.page-subtitle{margin:0;font-size:20px}.detail-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;display:grid}.detail-card{background:#fff;border:1px solid #dbe3d6;border-radius:8px;padding:14px}.detail-card span{color:#677465;text-transform:uppercase;font-size:12px;font-weight:800;display:block}.detail-card strong{margin-top:6px;font-size:22px;display:block}.split-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.line-items{gap:10px;display:grid}.line-item-row{grid-template-columns:1fr 100px 120px 38px;align-items:end;gap:8px;display:grid}.compact-actions{flex-wrap:wrap;gap:8px;display:flex}.inline-message{border-radius:8px;align-items:flex-start;gap:10px;padding:12px 14px;line-height:1.35;display:flex}.inline-message.success{color:#1f5d35;background:#e9f7ed}.inline-message.warning{color:#745012;background:#fff5d8}.inline-message.danger{color:#8b241d;background:#ffe8e6}.primary-button,.secondary-button,.danger-button,.ghost-button,.icon-button,.table-action{border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:38px;padding:0 13px;font-weight:800;display:inline-flex}.primary-button{color:#fff;background:#2d6a4f}.secondary-button,.ghost-button{color:#263226;background:#fff;border-color:#cdd8ca}.danger-button{color:#fff;background:#b8332b}.icon-button{color:#314032;background:#fff;border-color:#dbe3d6;width:38px;padding:0}.icon-button.danger,.table-action.danger{color:#a22922}.table-action{background:#fff7f6;border-color:#e4cbc8;min-height:32px;font-size:12px}.row-actions{gap:8px;display:flex}.full-width{width:100%}.mobile-menu{display:none}.login-page{background:linear-gradient(#2d6a4f14,#0000 38%),#f5f7f2;place-items:center;min-height:100vh;padding:24px;display:grid}.login-panel{background:#fff;border:1px solid #dbe3d6;border-radius:8px;gap:18px;width:min(420px,100%);padding:26px;display:grid;box-shadow:0 18px 60px #2334261f}.login-brand{margin-bottom:8px}.field,.select-control{gap:7px;display:grid}.field span,.select-control span{color:#3d493b;font-size:13px;font-weight:800}.field small{color:#a22922;font-size:12px}input,select,textarea{color:#17201a;background:#fff;border:1px solid #cfd9ca;border-radius:8px;outline:none;width:100%;min-height:40px;padding:9px 11px}textarea{resize:vertical;min-height:92px}input:focus,select:focus,textarea:focus{border-color:#2d6a4f;box-shadow:0 0 0 3px #2d6a4f26}.password-field{grid-template-columns:1fr 38px;gap:8px;display:grid}.toast-region{z-index:80;gap:10px;width:min(360px,100vw - 36px);display:grid;position:fixed;top:18px;right:18px}.toast{color:#1f5d35;background:#f3fbf4;border:1px solid #bde7c7;border-radius:8px;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding:12px;display:grid;box-shadow:0 12px 34px #19241b29}.toast-close{width:26px;height:26px;color:inherit;background:0 0;border:0;border-radius:6px;place-items:center;padding:0;display:grid}.select-control{min-width:220px}.select-control div{position:relative}.select-control svg{pointer-events:none;position:absolute;top:50%;right:10px;transform:translateY(-50%)}.select-control select{appearance:none;padding-right:34px}.logs-layout{grid-template-columns:minmax(0,440px) minmax(0,1fr);align-items:start;gap:18px;min-width:0;display:grid}.logs-layout>*{min-width:0}.form-panel{gap:14px;min-width:0;padding:18px;display:grid;overflow:hidden}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.form-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.form-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.form-section-label{letter-spacing:.06em;text-transform:uppercase;color:var(--color-text-muted);margin:8px 0 2px;font-size:.75rem;font-weight:600}.input-readonly{background:var(--color-surface-raised,#f5f5f5);color:var(--color-text-muted);cursor:default}.modal-layer{z-index:50;background:#141f186b;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.modal{background:#fff;border-radius:8px;width:min(520px,100%);max-height:calc(100vh - 36px);overflow:auto;box-shadow:0 24px 90px #00000038}.modal-header{border-bottom:1px solid #e7ece3;justify-content:space-between;align-items:center;gap:12px;padding:16px 18px;display:flex}.modal-form,.confirm-body{gap:14px;padding:18px;display:grid}.modal-actions{justify-content:end;gap:10px;display:flex}.empty-state{justify-items:start;gap:10px;padding:24px;display:grid}.empty-state p{color:#677465;max-width:540px;margin:0}.skeleton-panel{gap:12px;padding:18px;display:grid}.skeleton-line{background:linear-gradient(90deg,#e8eee4,#f7faf4,#e8eee4) 0 0/200% 100%;border-radius:999px;height:18px;animation:1.2s linear infinite shimmer}.skeleton-line.short{width:48%}.scrim{display:none}@keyframes shimmer{0%{background-position:100% 0}to{background-position:-100% 0}}@media (width<=900px){.stats-grid,.form-grid,.split-grid,.line-item-row{grid-template-columns:1fr}.form-grid-3,.form-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=1100px){.logs-layout{grid-template-columns:1fr}}@media (width<=480px){.form-grid-3,.form-grid-4{grid-template-columns:1fr}}@media (width<=767px){.app-shell{display:block}.sidebar{transition:transform .2s;position:fixed;left:0;transform:translate(-100%)}.sidebar.open{transform:translate(0)}.scrim{z-index:15;background:#141f185c;border:0;display:block;position:fixed;inset:0}.topbar{grid-template-columns:auto 1fr;padding:12px 16px}.topbar .ghost-button,.user-chip{grid-column:span 1}.mobile-menu{display:inline-flex}.page{padding:16px}.toolbar,.section-heading{flex-direction:column;align-items:stretch}.select-control{min-width:0}.modal-actions{flex-direction:column-reverse}.modal-actions button{width:100%}}
