*,:before,:after,::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border:0 solid #e5e7eb}:before,:after{--tw-content:""}html,:host{-webkit-text-size-adjust:100%;tab-size:4;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent;font-family:system-ui,Segoe UI,sans-serif;line-height:1.5}body{line-height:inherit;margin:0}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;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-feature-settings:normal;font-variation-settings:normal;font-family:ui-monospace,Consolas,monospace;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}button,input,optgroup,select,textarea{font-feature-settings:inherit;font-variation-settings:inherit;font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:#0000;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{margin:0;padding:0;list-style:none}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder{opacity:1;color:#9ca3af}textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.table{display:table}.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)}:root{color:#202721;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-optical-sizing:auto;--brand-violet:#9f79a7;--brand-violet-strong:#603a70;--brand-leaf:#8aba8a;--brand-leaf-strong:#315a48;--surface-paper:#f8f6f1;--surface-white:#fff;--text-primary:#202721;--text-muted:#687168;--border-rule:#d8d5cd;--status-warning:#88610f;--status-error:#9b4a3b;--status-success:#315a48;background:#f8f6f1;font-family:system-ui,Segoe UI,sans-serif;font-size:16px;font-weight:400}*{box-sizing:border-box}html{background:var(--surface-paper);min-width:320px;min-height:100%}body{min-width:320px;min-height:100vh;margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:2px;outline:3px solid #603a7061}::selection{color:#fff;background:var(--brand-violet-strong)}.reports-page{width:100%;min-width:0}.reports-page>*{min-width:0}.report-filter-panel{border-bottom:1px solid var(--border-rule);gap:12px;width:100%;min-width:0;padding:0 0 22px;display:grid}.report-filter-form{grid-template-columns:minmax(170px,1fr) minmax(150px,.8fr) minmax(150px,.8fr) auto;align-items:end;gap:13px;width:100%;min-width:0;display:grid}.report-filter-form .field{min-width:0}.report-filter-form .button{min-width:150px}.report-filter-note{color:var(--text-muted);margin:0;font-size:12px}.report-section-heading{justify-content:space-between;align-items:flex-end;gap:14px;display:flex}.report-section-heading h2{color:var(--text-primary);margin:0;font-family:Georgia,Times New Roman,serif;font-size:22px;font-weight:500}.report-section-heading>span{color:var(--text-muted);padding-bottom:3px;font-size:12px}.report-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.report-table-wrap{border-top:1px solid var(--border-rule);width:100%;min-width:0;overflow:auto}.report-table{border-collapse:collapse;text-align:left;background:0 0;width:100%;font-size:12px}.report-table thead{background:#f2f0ea}.report-table th,.report-table td{vertical-align:top;border-bottom:1px solid #e9e6df;padding:10px 12px}.report-table thead th{color:#515a51;letter-spacing:.35px;text-transform:uppercase;white-space:nowrap;font-size:10px;font-weight:700}.report-table tbody th{min-width:130px;font-size:11px;font-weight:650}.report-table tbody td{color:#414940}.report-table tbody tr:last-child>*{border-bottom:0}.movement-table{min-width:850px}.movement-table td:nth-child(3){min-width:180px}.movement-table td:nth-child(4){min-width:115px}.event-kind{white-space:nowrap;font-weight:650;display:block}.movement-delta{white-space:nowrap;font-weight:700}.movement-in{color:var(--brand-leaf-strong)!important}.movement-out{color:var(--status-error)!important}.stock-print-section{gap:13px;width:100%;min-width:0;display:grid}.stock-print-table{table-layout:fixed;min-width:960px;font-size:12px}.stock-print-table thead th{white-space:normal}.stock-print-table thead th:first-child{width:15%}.stock-print-table thead th:nth-child(2){width:19%}.stock-print-table thead th:nth-child(n+3){width:11%}.stock-print-table td{font-variant-numeric:tabular-nums}.stock-print-table .lot-code{overflow-wrap:anywhere;font-size:11px}.stock-print-table .numeric{white-space:nowrap}.stock-material-row th{color:var(--text-primary);text-align:left;background:#eef2ec;padding:12px;font-size:13px!important}.stock-material-name{font-weight:750}.stock-material-total{float:right;color:var(--brand-leaf-strong);font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:700}.stock-material-row .cell-subtle,.stock-material-row .source-review{margin-top:3px}.stock-lot-row td{padding:8px 12px}.stock-print-ending{font-weight:750;color:var(--brand-leaf-strong)!important}.print-report-heading{display:none}.print-footnote{color:var(--text-muted);margin:0;font-size:11px}@media (width<=820px){.report-filter-form{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.report-filter-form>:first-child{grid-column:span 2}.report-filter-form .button{width:100%}.stock-print-wrap{overflow-x:auto}.stock-print-table{min-width:960px}}@media (width<=560px){.report-filter-form{grid-template-columns:minmax(0,1fr)}.report-filter-form>:first-child{grid-column:auto}.report-filter-panel{padding:0 0 22px}.report-section-heading{flex-direction:column;align-items:flex-start}.report-actions{justify-content:flex-start}}@media print{@page{size:A4 landscape;margin:9mm}html,body{font-size:8pt;color:#111!important;background:#fff!important;width:auto!important;min-width:0!important;min-height:0!important}.sidebar,.mobile-header,.mobile-nav,.app-footer,.report-filter-panel,.movement-section,.print-controls,.page-heading-row,.session-message{display:none!important}.main-column{margin:0!important}.page-main{width:auto!important;min-height:0!important;margin:0!important;padding:0!important}.page-section,.stock-print-section{display:block!important}.stock-print-wrap,.report-table-wrap{border:0!important;border-radius:0!important;overflow:visible!important}.print-report-heading{gap:3px;margin:0 0 8px;display:grid!important}.print-report-heading p,.print-report-heading h1{margin:0}.print-report-heading p{font-size:9pt;font-weight:650}.print-report-heading h1{font-family:Georgia,Times New Roman,serif;font-size:17pt;font-weight:500}.print-report-heading span{font-size:8pt}.stock-print-table{table-layout:fixed;font-size:8pt;width:100%!important;min-width:0!important}.stock-print-table thead{display:table-header-group}.stock-print-table tr{-moz-column-break-inside:avoid;break-inside:avoid;page-break-inside:avoid}.stock-print-table th,.stock-print-table td{overflow-wrap:anywhere;border-bottom:.4pt solid #bbb;padding:4px}.stock-print-table thead th{white-space:normal;-webkit-print-color-adjust:exact;print-color-adjust:exact;font-size:7.5pt;color:#111!important;background:#e9e9e9!important}.stock-print-table .stock-material-row th{page-break-after:avoid;-webkit-print-color-adjust:exact;print-color-adjust:exact;padding:6px 4px;background:#eff2ef!important;font-size:9pt!important}.stock-print-table .stock-material-total{color:#111!important}.stock-print-table .lot-code{font-size:8pt}.stock-print-table .cell-subtle,.stock-print-table .source-review{margin-top:2px;font-size:7pt}.print-footnote{color:#333;margin-top:7px;font-size:7pt}}#root{min-height:100vh}.app-shell{background:var(--surface-paper);min-height:100vh}.sidebar{z-index:20;border-right:1px solid var(--border-rule);background:var(--surface-white);flex-direction:column;width:232px;padding:26px 18px 20px;display:flex;position:fixed;inset:0 auto 0 0}.brand-lockup,.mobile-brand{width:fit-content;color:inherit;align-items:center;gap:10px;text-decoration:none;display:inline-flex}.brand-lockup img{border-radius:50%;flex:none;display:block}.brand-lockup strong,.brand-lockup small{display:block}.brand-lockup strong{color:var(--text-primary);letter-spacing:-.3px;font-family:Georgia,Times New Roman,serif;font-size:22px;font-weight:600}.brand-lockup small{color:var(--text-muted);margin-top:2px;font-size:12px}.nav-caption{color:#777d75;letter-spacing:1.2px;margin:38px 12px 10px;font-size:10px;font-weight:700}.side-nav{gap:5px;display:grid}.nav-link{color:#485148;cursor:pointer;text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:12px;min-height:46px;padding:0 12px;font-size:14px;font-weight:500;text-decoration:none;transition:background-color .14s,color .14s;display:flex}.nav-link:hover{color:var(--brand-violet-strong);background:#f2f0eb}.nav-link-active{color:var(--brand-violet-strong);background:#f1ebf2;font-weight:650}.nav-icon,.mobile-nav-icon{flex:none;width:20px;height:20px}.sidebar-bottom{border-top:1px solid #ece9e2;gap:8px;margin-top:auto;padding-top:14px;display:grid}.user-chip{align-items:center;gap:10px;min-height:42px;padding:0 9px;display:flex}.user-avatar{width:28px;height:28px;color:var(--brand-leaf-strong);background:#e6eee7;border-radius:50%;place-items:center;font-size:12px;font-weight:700;display:grid}.user-name{color:var(--text-primary);text-overflow:ellipsis;font-size:13px;overflow:hidden}.signout-link{color:#626860;width:100%}.signout-link:disabled,.mobile-logout:disabled{cursor:wait;opacity:.65}.main-column{min-height:100vh;margin-left:232px}.page-main{width:min(100%,1500px);min-height:100vh;margin:0 auto;padding:44px clamp(28px,4vw,68px) 64px}.page-section{gap:32px;display:grid}.page-heading-row{justify-content:space-between;align-items:flex-end;gap:24px;display:flex}.compact-heading{align-items:flex-start}.eyebrow{display:none}h1,h2,h3,p{margin-top:0}.page-heading-row h1,.login-card h1{color:var(--text-primary);letter-spacing:-.65px;margin:0;font-family:Georgia,Times New Roman,serif;font-size:clamp(28px,3vw,36px);font-weight:500;line-height:1.16}.page-description{color:#626a62;margin:10px 0 0;font-size:15px;line-height:1.55}.button{cursor:pointer;text-align:center;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:46px;padding:0 17px;font-size:14px;font-weight:650;line-height:1.2;text-decoration:none;transition:background-color .14s,border-color .14s,color .14s;display:inline-flex}.button:disabled{cursor:not-allowed;opacity:.62}.button-primary{background:var(--brand-violet-strong);color:#fff}.button-primary:hover:not(:disabled){background:#4f2c60}.button-secondary{color:var(--brand-leaf-strong);background:0 0;border-color:#b9caba}.button-secondary:hover:not(:disabled){border-color:var(--brand-leaf-strong);background:#edf3ed}.button-wide{width:100%}.table-toolbar{border-bottom:1px solid var(--border-rule);justify-content:space-between;align-items:flex-end;gap:16px;padding-bottom:17px;display:flex}.search-field{background:#fff;border:1px solid #cfcfc6;border-radius:7px;align-items:center;gap:10px;width:min(100%,430px);min-height:46px;padding:0 12px;display:flex}.search-field:focus-within{border-color:var(--brand-violet-strong)}.search-field svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-width:1.7px;color:#71786f;flex:none;width:19px;height:19px}.search-field input{width:100%;min-width:0;color:var(--text-primary);background:0 0;border:0;outline:0;font-size:14px}.search-field input:focus-visible{outline:0}.field{color:#414a42;gap:8px;min-width:0;font-size:14px;font-weight:600;display:grid}.field input,.field select,.field textarea{width:100%;min-height:48px;color:var(--text-primary);background:#fff;border:1px solid #c9cbc2;border-radius:8px;padding:11px 14px;font-size:15px;font-weight:400}.field textarea{resize:vertical;min-height:76px}.field input::-moz-placeholder{color:#7c827a;opacity:1}.field textarea::-moz-placeholder{color:#7c827a;opacity:1}.field input::placeholder,.field textarea::placeholder{color:#7c827a;opacity:1}.field small{color:#6b726a;font-size:12px;font-weight:400;line-height:1.45}.field-compact{gap:6px;min-width:195px;font-size:12px}.field-compact input{min-height:41px;padding-top:8px;padding-bottom:8px}.date-filter{max-width:220px}.numeric{font-variant-numeric:tabular-nums}.stock-quantity{color:var(--text-primary);white-space:nowrap;font-size:15px;font-weight:650}.stock-quantity span,.unit-note{color:var(--text-muted);font-size:12px;font-weight:500}.table-wrap{border-top:1px solid var(--border-rule);background:0 0;overflow:hidden}.table-loading{opacity:.62}.stock-table{border-collapse:collapse;text-align:left;width:100%}.stock-table thead{background:#f2f0ea}.stock-table th,.stock-table td{vertical-align:middle;border-bottom:1px solid #e9e6df;padding:14px 17px}.stock-table thead th{color:#555e55;letter-spacing:.45px;text-transform:uppercase;font-size:11px;font-weight:700}.stock-table tbody th{width:42%;font-size:14px;font-weight:600}.stock-table tbody td{color:#414940;font-size:13px}.stock-table tbody tr:last-child>*{border-bottom:0}.material-row-open>*{background:#fcfbf9;border-bottom:0!important}.material-name,.material-alias,.source-review,.cell-subtle{display:block}.material-name{line-height:1.4}.material-alias,.source-review,.cell-subtle{color:#71786f;margin-top:3px;font-size:11px;font-weight:400;line-height:1.35}.source-review{color:var(--status-warning)}.align-right{text-align:right!important}.details-button{min-height:42px;color:var(--brand-violet-strong);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-radius:5px;align-items:center;gap:9px;padding:0 7px;font-size:13px;font-weight:650;display:inline-flex}.details-button:hover{background:#f1ebf2}.details-button span{font-size:18px;font-weight:400}.lot-detail-row td{background:#f6f7f3;padding:15px 17px 17px}.lot-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:12px;display:grid}.lot-card{border:1px solid var(--border-rule);background:var(--surface-white);border-radius:8px;min-width:0;padding:15px}.lot-card-main,.lot-actions{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.lot-card-code{min-width:0}.lot-card-code .lot-code{margin-top:3px;font-size:14px;font-weight:700;line-height:1.35;display:block}.lot-card-quantity{text-align:right;flex:none}.lot-card-quantity strong{color:var(--brand-leaf-strong);white-space:nowrap;margin-top:3px;font-size:16px;display:block}.lot-card-label{color:var(--text-muted);letter-spacing:.04em;text-transform:uppercase;font-size:10px;font-weight:700;display:block}.lot-code{overflow-wrap:anywhere;color:#333e35;font-family:ui-monospace,Consolas,monospace;font-size:12px}.lot-card-meta{color:var(--text-primary);gap:9px;margin-top:15px;font-size:13px;display:grid}.lot-card-expiry>span:last-child{margin-top:3px;display:block}.lot-card-status{flex-wrap:wrap;gap:6px;display:flex}.lot-review-note{color:var(--status-warning);margin:10px 0 0;font-size:12px;line-height:1.45}.status-pill{border-radius:999px;align-items:center;min-height:22px;padding:2px 8px;font-size:10px;font-weight:650;line-height:1.2;display:inline-flex}.status-warning{color:#694a09;background:#f7f0dc}.lot-actions{border-top:1px solid var(--border-rule);flex-wrap:wrap;justify-content:flex-start;margin-top:14px;padding-top:10px}.lot-actions .inline-action{align-items:center;min-height:44px;padding:8px 10px;font-size:13px;display:inline-flex}.inline-action,.text-button{color:var(--brand-violet-strong);cursor:pointer;background:0 0;border:0;padding:4px 6px;font-size:12px;font-weight:650;text-decoration:none}.inline-action:hover,.text-button:hover{text-decoration:underline}.table-footer{color:#656d64;background:#fbfaf7;border-top:1px solid #e9e6df;justify-content:space-between;gap:12px;min-height:42px;padding:12px 17px;font-size:11px;display:flex}.muted{color:#767d74!important}.loading-line{color:#565f56;align-items:center;gap:9px;min-height:38px;margin:0;font-size:13px;display:flex}.spinner{border:2px solid #ddd7e0;border-top-color:var(--brand-violet-strong);border-radius:50%;flex:none;width:16px;height:16px;animation:.7s linear infinite spin;display:inline-block}@keyframes spin{to{transform:rotate(360deg)}}.empty-state,.empty-inline{text-align:center;background:#f2efe9;border-radius:8px;padding:28px}.empty-state h2{color:var(--text-primary);margin:0 0 7px;font-family:Georgia,Times New Roman,serif;font-size:20px;font-weight:500}.empty-state p{color:var(--text-muted);margin:0;font-size:13px}.empty-inline{color:#626a62;text-align:left;padding:14px;font-size:13px}.message{border-radius:7px;justify-content:space-between;align-items:flex-start;gap:12px;margin:0;padding:11px 13px;font-size:13px;line-height:1.45;display:flex}.message-error{color:#71372e;background:#fbefed}.message-success{color:#294a37;background:#edf4ed}.receipt-layout{grid-template-columns:minmax(260px,.75fr) minmax(0,1.6fr);align-items:start;gap:36px;display:grid}.button-quiet{color:var(--brand-violet-strong);background:0 0;border-color:#0000}.button-quiet:hover:not(:disabled){background:#f1ebf2}.production-heading{align-items:center}.production-heading .page-description{max-width:650px}.saved-production{justify-content:space-between;align-items:center;gap:14px;display:flex}.saved-production .message{flex:1}.production-layout{grid-template-columns:minmax(0,1.7fr) minmax(260px,.68fr);align-items:start;gap:clamp(28px,3.5vw,54px);display:grid}.production-entry{min-width:0}.production-date{width:min(100%,280px)}.production-rows{display:grid}.production-row{border-bottom:1px solid #e8e3db;grid-template-columns:minmax(0,1fr) 100px 125px auto;align-items:start;gap:16px;padding:12px 0 18px;display:grid}.production-product-cell{min-width:0}.production-product-cell>small{color:var(--text-muted);margin-top:7px;font-size:12px;display:block}.product-combobox{background:#fff;border:1px solid #c9cbc2;border-radius:8px;align-items:center;gap:10px;min-height:48px;padding:0 12px;display:flex;position:relative}.product-combobox:focus-within{border-color:var(--brand-violet-strong);box-shadow:0 0 0 3px #603a701f}.product-combobox svg{color:#6b7169;flex:none}.product-combobox .product-combobox-search{color:var(--brand-violet-strong)}.product-combobox input{background:0 0;border:0;border-radius:0;outline:0;width:100%;min-width:0;min-height:46px;padding:0;line-height:1.4}.product-combobox input:focus-visible{outline:0}.product-combobox input::placeholder{color:#6d746b}.product-options{z-index:40;background:#fff;border:1px solid #d5d0c9;border-radius:9px;max-height:280px;padding:5px;position:absolute;top:calc(100% + 5px);left:-1px;right:-1px;overflow-y:auto;box-shadow:0 12px 30px #20272121}.product-option{min-height:44px;color:var(--text-primary);cursor:pointer;border-radius:6px;justify-content:space-between;align-items:center;gap:10px;padding:9px 12px;font-size:14px;font-weight:500;display:flex}.product-option:hover,.product-option-active{color:var(--brand-violet-strong);background:#f1ebf2}.product-option svg{color:var(--brand-leaf-strong)}.product-options-empty{color:var(--text-muted);margin:0;padding:12px;font-size:14px}.field-error{color:var(--status-error)!important;font-weight:600!important}.production-units input,.production-grams input{font-variant-numeric:tabular-nums}.production-remove{min-height:48px;color:var(--status-error);margin-top:30px;padding:0 9px}.production-remove:hover:not(:disabled){background:#f9ece9}.production-empty{color:var(--text-muted);margin:0;padding:20px 0;font-size:14px}.production-actions{justify-content:space-between;align-items:center;gap:12px;display:flex}.unit-total,.stock-panel-note{color:var(--text-muted);font-size:13px}.usage-panel{border-top:1px solid var(--border-rule);gap:14px;margin-top:6px;padding-top:24px;display:grid}.usage-heading{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.usage-heading h2{color:var(--text-primary);margin:0;font-family:Georgia,Times New Roman,serif;font-size:23px;font-weight:500}.usage-heading span{color:var(--text-muted);font-size:13px}.usage-empty{color:var(--text-muted);margin:0;padding:10px 0 16px;font-size:14px}.usage-list{display:grid}.usage-item{border-bottom:1px solid #e8e3db;padding:14px 0}.usage-item-short{color:var(--status-error)}.usage-item-heading{color:var(--text-primary);justify-content:space-between;align-items:baseline;gap:14px;font-size:14px;display:flex}.usage-item-heading>span{white-space:nowrap;font-size:15px;font-weight:700}.usage-availability,.usage-shortfall{color:var(--text-muted);margin:4px 0 0;font-size:12px}.usage-shortfall{color:var(--status-error);font-weight:700}.allocation-list{gap:6px;margin:9px 0 0;padding:0 0 0 12px;list-style:none;display:grid}.allocation-list li{color:#5f685f;grid-template-columns:minmax(70px,1fr) auto auto;align-items:center;gap:12px;font-size:12px;display:grid}.allocation-list strong{color:var(--text-primary);font-size:12px}.expiry-warning{color:var(--status-warning);font-weight:650}.expiry-confirm{color:#5e4a1a;background:#fbf2da;border-radius:7px;align-items:flex-start;gap:10px;padding:14px;font-size:13px;line-height:1.45;display:flex}.expiry-confirm input{width:18px;height:18px;accent-color:var(--brand-leaf-strong);flex:none;margin:1px 0 0}.expiry-confirm strong{margin-bottom:2px;display:block}.production-submit{min-height:50px}.production-stock.form-panel{border-left:1px solid var(--border-rule);gap:12px;padding-left:28px;position:sticky;top:28px}.production-stock .panel-heading{justify-content:space-between;align-items:flex-end;gap:8px;display:flex}.production-stock .panel-heading h2{font-size:18px}.production-stock .panel-heading .text-button{white-space:nowrap;align-items:center;gap:3px;display:inline-flex}.production-stock .panel-description{margin-top:-2px}.mini-stock-row{border-bottom:1px solid #eeece6;justify-content:space-between;gap:10px;padding:11px 0;font-size:13px;display:flex}.mini-stock-row strong{white-space:nowrap}.stock-panel-note{border-top:1px solid #eeece6;margin:2px 0 0;padding-top:11px;line-height:1.4}.recipes-layout{grid-template-columns:minmax(0,1.55fr) minmax(250px,.8fr);align-items:start;gap:40px;display:grid}.recipe-editor-panel{min-width:0}.recipe-version-caption{color:#5c665d;justify-content:space-between;gap:10px;font-size:12px;display:flex}.recipe-line-list,.recipe-version-list{gap:0;display:grid}.recipe-line{border-bottom:1px solid #e8e3db;grid-template-columns:minmax(0,1fr) minmax(115px,.34fr) auto;align-items:end;gap:10px;padding:12px 0;display:grid}.recipe-line .field input,.recipe-line .field select{min-height:42px}.recipe-grams{max-width:165px}.recipe-remove{min-width:42px;min-height:42px;padding:0;font-size:20px}.recipe-total{border-top:1px solid var(--border-rule);color:#596359;justify-content:space-between;gap:12px;padding-top:12px;font-size:13px;display:flex}.recipe-total strong{color:var(--brand-leaf-strong)}.recipe-total-invalid strong{color:var(--status-error)}.recipe-add-line{justify-self:start}.recipe-history{border-left:1px solid var(--border-rule);align-content:start;gap:14px;padding-left:32px;display:grid}.recipe-history h3{color:var(--text-primary);margin:0;font-family:Georgia,Times New Roman,serif;font-size:20px;font-weight:500}.recipe-version{color:#515a51;cursor:pointer;text-align:left;background:0 0;border:0;border-bottom:1px solid #e8e3db;justify-content:space-between;align-items:center;gap:12px;width:100%;min-height:61px;padding:8px 10px;display:flex}.recipe-version:hover,.recipe-version-selected{background:#f1ebf2}.recipe-version>span:first-child{gap:3px;display:grid}.recipe-version strong{color:var(--text-primary);font-size:13px}.recipe-version small{color:var(--text-muted);font-size:11px}.recipe-version>span:last-child{color:var(--text-muted);white-space:nowrap;font-size:11px}.active-version-tag{color:var(--brand-leaf-strong);background:#edf4ed;border-radius:999px;margin-left:8px;padding:3px 7px;font-size:10px;font-weight:650}.form-panel{background:0 0;gap:20px;padding:0;display:grid}.form-panel-medium{width:min(100%,680px)}.form-panel-wide{min-width:0}.panel-heading h2{color:var(--text-primary);margin:0;font-family:Georgia,Times New Roman,serif;font-size:23px;font-weight:500;line-height:1.2}.panel-heading .eyebrow{margin-bottom:5px}.panel-description{color:#687168;margin:-8px 0 0;font-size:13px;line-height:1.5}.form-stack{gap:15px;display:grid}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;display:grid}.field-span-2{grid-column:span 2}.optional{color:#747b73;font-size:11px;font-weight:400}.form-actions{justify-content:space-between;align-items:center;gap:16px;display:flex}.form-hint{color:#656d64;max-width:360px;font-size:12px;line-height:1.45}.selected-lot{color:#475148;background:#f4f7f3;border-radius:7px;justify-content:space-between;gap:10px;padding:11px 14px;font-size:12px;display:flex}.selected-lot strong{color:var(--brand-leaf-strong);font-variant-numeric:tabular-nums;white-space:nowrap}.lot-code-editor{border:1px solid var(--border-rule);background:var(--surface-white);border-radius:8px;gap:14px;padding:18px;display:grid}.lot-code-editor h3{color:var(--text-primary);margin:0;font-family:Georgia,Times New Roman,serif;font-size:18px;font-weight:500}.lot-code-editor>div:first-child p{color:var(--text-muted);margin:5px 0 0;font-size:12px;line-height:1.5}.lot-code-editor-fields{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;display:grid}.lot-code-editor-fields .button{min-height:44px}.lot-code-editor .message{margin:0}.lot-expiry-editor{border-top:1px solid var(--border-rule);gap:14px;padding:20px 0;display:grid}.lot-expiry-editor h3{color:var(--text-primary);margin:0;font-family:Georgia,Times New Roman,serif;font-size:18px;font-weight:500}.lot-expiry-editor>div:first-child p{color:var(--text-muted);margin:5px 0 0;font-size:13px;line-height:1.5}.lot-expiry-editor-fields{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;display:grid}.lot-expiry-editor-fields .button{min-height:44px}.lot-expiry-editor .message{margin:0}.login-screen{place-items:center;min-height:100vh;padding:28px 18px;display:grid}.login-card{border:1px solid var(--border-rule);background:#fff;border-radius:12px;gap:16px;width:min(100%,430px);padding:clamp(24px,5vw,42px);display:grid;box-shadow:0 12px 38px #20272112}.login-logo{border-radius:50%;width:72px;height:72px}.login-card .eyebrow{margin:2px 0 -8px}.login-card h1{font-size:30px}.login-intro,.login-footnote{color:#667067;margin:-7px 0 0;font-size:14px;line-height:1.55}.remember-choice{color:var(--text-primary);cursor:pointer;align-items:center;gap:10px;font-size:13px;display:flex}.remember-choice input{width:17px;height:17px;accent-color:var(--brand-violet-strong)}.login-switch{justify-self:start}.maestro-credit,.app-footer{color:#7b817a;letter-spacing:.02em;font-size:11px}.maestro-credit{margin:-6px 0 0}.app-footer{text-align:right;padding:0 clamp(28px,4vw,68px) 24px}.users-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px 56px;max-width:1100px;display:grid}.users-section{min-width:0}.users-section h2{margin:0 0 18px;font:500 23px/1.2 Georgia,Times New Roman,serif}.section-heading-inline{align-items:center;gap:10px;display:flex}.section-heading-inline h2{margin:0 0 18px}.section-heading-inline svg{color:var(--brand-violet-strong);margin-bottom:18px}.users-list{border-top:1px solid var(--border-rule)}.users-list-row{border-bottom:1px solid var(--border-rule);justify-content:space-between;align-items:baseline;gap:16px;padding:14px 0;font-size:13px;display:flex}.users-list-row span{color:var(--text-muted);overflow-wrap:anywhere;text-align:right}.section-note{color:var(--text-muted);margin:-8px 0 18px;font-size:13px;line-height:1.5}@media (width<=760px){.users-layout{grid-template-columns:minmax(0,1fr);gap:32px}.app-footer{padding:0 22px 20px}}.login-footnote{color:#747b73;border-top:1px solid #ece9e2;margin:0;padding-top:13px;font-size:12px}.session-loading{color:#505951;justify-content:center;align-items:center;gap:10px;min-height:100vh;font-size:14px;display:flex}.session-message{margin:0 0 16px}.mobile-header,.mobile-nav{display:none}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}@media (width<=1200px){.production-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:10px}.production-product-cell{grid-column:1/-1}}@media (width<=1100px){.sidebar{width:220px}.main-column{margin-left:220px}.page-main{padding-left:28px;padding-right:28px}.receipt-layout{grid-template-columns:minmax(240px,.78fr) minmax(0,1.4fr)}.production-layout{grid-template-columns:minmax(0,1.45fr) minmax(245px,.8fr)}}@media (width<=820px){.sidebar{display:none}.main-column{margin-left:0}.page-main{min-height:calc(100vh - 116px);padding:27px 22px 56px}.mobile-header{z-index:10;border-bottom:1px solid var(--border-rule);background:#fffffff5;align-items:center;gap:12px;min-height:64px;padding:8px 18px;display:flex;position:sticky;top:0}.mobile-brand{gap:8px;font-family:Georgia,Times New Roman,serif;font-size:19px;font-weight:600}.mobile-brand img{border-radius:50%}.mobile-user{color:#5f685f;text-overflow:ellipsis;margin-left:auto;font-size:12px;overflow:hidden}.mobile-logout,.mobile-users{width:44px;height:44px;color:var(--brand-violet-strong);background:0 0;border:0;border-radius:7px;flex:none;place-items:center;text-decoration:none;display:grid}.mobile-nav{overscroll-behavior-inline:contain;border-bottom:1px solid var(--border-rule);scrollbar-width:thin;background:#fff;gap:4px;padding:5px 14px;display:flex;overflow-x:auto}.mobile-nav-link{color:#576057;white-space:nowrap;border-radius:7px;flex:none;justify-content:center;align-items:center;gap:7px;min-height:44px;padding:0 12px;font-size:13px;line-height:1.2;text-decoration:none;display:inline-flex}.mobile-nav-link-active{color:var(--brand-violet-strong);background:#f1ebf2;font-weight:700}.mobile-nav-icon{width:17px;height:17px}.receipt-layout,.production-layout,.recipes-layout{grid-template-columns:minmax(0,1fr)}.production-stock.form-panel,.recipe-history{border-top:1px solid var(--border-rule);border-left:0;padding:26px 0 0;position:static}}@media (width<=560px){.page-main{padding:23px 15px 48px}.page-section{gap:20px}.page-heading-row{flex-direction:column;align-items:flex-start;gap:15px}.page-heading-row h1{font-size:30px}.page-action{width:100%}.table-toolbar{flex-direction:column;align-items:stretch;gap:11px}.search-field{width:100%}.date-filter{width:100%;max-width:none}.stock-table,.stock-table tbody{width:100%;display:block}.stock-table thead{clip:rect(0, 0, 0, 0);clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.stock-table tr.material-row{border-bottom:1px solid #e9e6df;grid-template-columns:minmax(0,1fr) auto;gap:3px 10px;padding:12px 13px 9px;display:grid}.stock-table tbody th,.stock-table tbody td{border:0;width:auto;padding:0}.stock-table tr.material-row>th{grid-column:1;font-size:13px}.stock-table tr.material-row>td:nth-child(2){grid-area:1/2;align-self:start;font-size:14px}.stock-table tr.material-row>td:nth-child(3){color:#687168;grid-column:1;font-size:11px}.stock-table tr.material-row>td:nth-child(3):before{content:"Najbliži rok: ";color:#747b73}.stock-table tr.material-row>td:nth-child(4){grid-area:2/2/span 2;align-self:center}.stock-table tr.material-row>td:nth-child(4):before{content:""}.details-button{min-height:42px;padding:0 2px 0 6px;font-size:11px}.stock-table tr.lot-detail-row{background:#fcfbf9;border-bottom:1px solid #e9e6df;padding:0 12px 12px;display:block}.stock-table tr.lot-detail-row td{padding:0;display:block}.lot-grid{grid-template-columns:minmax(0,1fr)}.lot-card{padding:14px}.lot-code-editor-fields{grid-template-columns:minmax(0,1fr)}.lot-code-editor-fields .button{width:100%}.lot-expiry-editor-fields{grid-template-columns:minmax(0,1fr)}.lot-expiry-editor-fields .button{width:100%;margin-top:0}.table-footer{padding:11px 12px;font-size:10px}.form-panel{padding:0}.form-grid{grid-template-columns:minmax(0,1fr)}.field-span-2{grid-column:auto}.form-actions{flex-direction:column;align-items:stretch}.form-actions .button{width:100%}.selected-lot{flex-direction:column;align-items:flex-start}.message{flex-direction:column}.saved-production{flex-direction:column;align-items:stretch}.production-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:9px}.production-remove{grid-column:3;justify-self:end;min-height:48px;margin-top:30px}.production-date{width:100%}.production-actions{flex-direction:column;align-items:flex-start}.recipe-line{grid-template-columns:minmax(0,1fr) 108px auto;gap:7px}.recipe-grams{max-width:none}.recipe-line .field{font-size:11px}.recipe-remove{min-width:36px;min-height:42px}.recipe-history{padding:26px 0 0}.usage-item-heading{flex-direction:column;align-items:flex-start;gap:3px}.allocation-list li{grid-template-columns:minmax(55px,1fr) auto auto;gap:5px;font-size:10px}.login-screen{padding:18px 14px}.login-card{gap:14px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
