:root{--ink: #20382f;--muted: #5c6c60;--page: #f5f6f2;--surface: #fff;--tint: #f1f5ee;--line: #e0e5dc;--line-soft: #edf0e8;--line-strong: #cfd8cf;--brand: #1d513d;--brand-strong: #143e2e;--link: #245940;--focus: #a4c6a8;--warn-text: #7a5719;font-family:Inter,Segoe UI,Arial,sans-serif;color:var(--ink);background:var(--page);font-synthesis:none;font-weight:400;font-size:15px;line-height:1.5}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border:1px solid #d9dfd8;background:#fff;border-radius:9px;padding:10px 15px;font-size:14px;font-weight:600;color:#294639;cursor:pointer;transition:background .15s,border-color .15s}button:hover{background:var(--tint);border-color:#a7b7aa}button:disabled{opacity:.48;cursor:not-allowed}button.primary{background:var(--brand);border-color:var(--brand);color:#fff}button.primary:hover{background:var(--brand-strong)}button svg{flex-shrink:0}a{color:#1e5d43;text-decoration:none}a:hover{text-decoration:underline}input,textarea,select{width:100%;min-height:46px;border:1px solid var(--line-strong);background:#fff;color:var(--ink);border-radius:8px;padding:10px 12px}textarea{resize:vertical;min-height:92px}input[type=checkbox]{width:20px;height:20px;min-height:20px;accent-color:#22583e}input:disabled,select:disabled{background:#edf0eb}input:focus,select:focus,textarea:focus,button:focus-visible,summary:focus-visible,a:focus-visible{outline:3px solid var(--focus);outline-offset:2px}h1,h2,h3,p{margin-top:0}h1{font-size:28px;font-weight:650;letter-spacing:-.7px;line-height:1.2;margin-bottom:10px}h2{font-size:19px;font-weight:650;letter-spacing:-.35px;margin-bottom:18px}h3{font-size:17px;margin:22px 0 12px}p{margin-bottom:14px}small{display:block;font-size:12px;line-height:1.55;color:var(--muted)}strong{font-weight:650}.muted{color:var(--muted)}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.mono,code{font-family:Consolas,monospace;overflow-wrap:anywhere}.wide{width:100%}.actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.sidebar{position:fixed;inset:0 auto 0 0;z-index:20;display:flex;flex-direction:column;width:min(320px,calc(100vw - 40px));padding:max(20px,env(safe-area-inset-top)) 20px max(16px,env(safe-area-inset-bottom));background:#173e32;color:#edf3e6;transform:translate(-100%);visibility:hidden;transition:transform .18s,visibility 0s .18s}.sidebar.open{transform:translate(0);visibility:visible;transition:transform .18s;box-shadow:12px 0 40px #15372c30}.sidebar-backdrop{position:fixed;inset:0;z-index:15;border:0;border-radius:0;background:#102b2266}.sidebar-backdrop:hover{background:#102b2266}.sidebar-close{position:absolute;top:18px;right:16px;padding:8px;border:0;background:transparent;color:#fff;font-size:13px}.sidebar-close:hover{background:#315a46}.brand{display:flex;gap:10px;align-items:center;margin-right:80px;padding:4px 0;color:inherit;font-size:20px;line-height:1.1;font-weight:750;letter-spacing:2px}.brand:hover{text-decoration:none}.brand small{font-size:8px;letter-spacing:3px;margin-top:6px;color:#b3c9b8}.brand-mark{height:36px;width:36px;display:grid;place-items:center;border:1px solid #72927d;border-radius:8px;color:#d7e7bf}.sidebar nav{flex:1;display:flex;flex-direction:column;gap:8px;min-height:0;margin:24px 0 16px;overflow-y:auto}.nav-group{display:flex;flex-direction:column;gap:2px}.nav-heading{padding:0 12px 4px;font-size:10px;font-weight:700;letter-spacing:1.4px;text-transform:uppercase;color:#9ab8a4}.sidebar nav a{display:flex;gap:12px;align-items:center;min-height:46px;padding:10px 12px;border-radius:8px;color:#b9cdbf;font-size:15px;font-weight:550}.sidebar nav a:hover{background:#234c3e;text-decoration:none}.sidebar nav a.active{color:#edf5d5;background:#315a46;box-shadow:inset 3px 0 #bbd091}.menu-tools{display:grid;grid-template-columns:1fr 1fr;gap:2px;padding-top:10px;border-top:1px solid #365848}.menu-tools button{justify-content:flex-start;text-align:left;border:0;border-radius:8px;background:transparent;color:#c3d4c6;padding:10px 12px;font-size:14px}.menu-tools button:hover{background:#315a46}.sidebar-bottom{margin-top:8px;border-top:1px solid #365848;padding:12px 4px 0;display:flex;gap:9px;align-items:center;font-size:12px}.sidebar-bottom a{color:inherit;text-decoration:underline;text-underline-offset:3px}.sidebar-bottom strong{display:block;max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-bottom small{color:#96b09c}.avatar{display:grid;place-items:center;width:32px;height:32px;flex-shrink:0;background:#527060;border-radius:50%;font-size:11px}@media(pointer:fine){.sidebar nav{gap:6px;margin:18px 0 12px}.sidebar nav a{min-height:34px;padding:6px 12px;font-size:14px}.menu-tools button{min-height:36px;padding:6px 12px}}.workspace{min-width:0}.topbar{position:sticky;top:0;z-index:10;height:60px;display:flex;align-items:center;gap:12px;border-bottom:1px solid #e1e6dd;background:#fbfcf8;padding:0 max(16px,env(safe-area-inset-right)) 0 max(12px,env(safe-area-inset-left));color:var(--muted)}.topbar strong{flex:1;color:#445a46;font-size:16px}.mobile-menu{width:44px;height:44px;padding:10px;border:0;background:transparent;flex-shrink:0}.connection{display:inline-flex;align-items:center;gap:6px;font-size:11px}.connection:before{content:"";width:6px;height:6px;background:#578867;border-radius:50%}.connection.offline:before{background:#bb682e}main{padding:24px 28px 36px;max-width:1580px;margin:auto}.page-title{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px;margin-bottom:20px}.page-title p{color:var(--muted);font-size:13px;margin:0}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.8px;color:var(--muted);margin-bottom:12px}.card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:24px;margin-bottom:22px;box-shadow:0 3px 8px #173e3203}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:24px}.metric{display:block;text-align:left;position:relative;padding:22px 24px;border:1px solid var(--line);background:#fff;border-radius:12px;min-height:133px}.metric span{font-size:12px;font-weight:500;color:var(--muted)}.metric strong{display:block;font-size:35px;font-weight:600;line-height:1.5;margin-top:8px;letter-spacing:-1.5px}.metric svg{position:absolute;right:22px;bottom:26px;color:#849a7b}.overview-grid{display:grid;grid-template-columns:1.55fr 1fr;gap:22px}.overview-grid{margin-bottom:22px}.overview-grid>.card{min-height:0;margin-bottom:0}.catalog-readiness{background:#eaf0df;border-color:#d9e2cc}.catalog-readiness h2{margin-bottom:8px}.catalog-readiness p{font-size:13px;color:var(--muted)}.readiness-row{display:flex;justify-content:space-between;font-size:12px;padding:9px 0;border-bottom:1px solid #d4dfc9}.split-heading{display:flex;justify-content:space-between;align-items:center;gap:18px}.split-heading h2{margin-bottom:12px}.empty{text-align:center;padding:30px 18px}.empty h3{margin:8px 0;font-size:17px;color:#536749}.empty p{max-width:380px;margin:0 auto;font-size:13px;color:var(--muted)}.empty-symbol{font-size:40px;color:#b4c3a6;line-height:1.3}.list-row{display:flex;gap:15px;align-items:center;border-bottom:1px solid var(--line-soft);padding:10px 0;overflow-wrap:anywhere}.list-row:last-child{border-bottom:0}.list-row>:first-child{flex:1;min-width:0}.list-row>span{font-size:12px}.list-row p{font-size:13px;margin:4px 0}.text-button,.link{background:none!important;border:0!important;color:var(--link);padding:0;min-height:32px;justify-content:flex-start;text-align:left}@media(pointer:coarse){.text-button,.link{min-height:44px}}.link{font-weight:600}.text-button:hover,.link:hover{text-decoration:underline}.badge{display:inline-flex;width:fit-content;font-size:10px;font-weight:650;letter-spacing:.2px;padding:4px 8px;border-radius:5px;background:#edf0ea;color:var(--muted);white-space:nowrap}.badge.green{background:#e7f1e5;color:#457646}.badge.amber{background:#fff1d4;color:var(--warn-text)}.toolbar{display:flex;align-items:center;gap:12px;margin-bottom:22px;flex-wrap:wrap}.toolbar h2{margin:0;flex:1}.toolbar input{flex:1;min-width:150px}.toolbar select{width:auto;max-width:230px}.search{display:flex;align-items:center;border:1px solid var(--line-strong);border-radius:8px;padding-left:12px;flex:1;min-width:210px}.search svg{color:#82907c}.search input{border:0;background:transparent}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:13px}th{font-size:11px;font-weight:650;letter-spacing:.4px;text-transform:uppercase;color:var(--muted);border-bottom:1px solid var(--line);padding:0 12px 10px}td{padding:10px 12px;border-bottom:1px solid var(--line-soft);vertical-align:middle}td:first-child,th:first-child{padding-left:0}td:last-child,th:last-child{padding-right:0}td small{margin-top:3px;max-width:510px}:is(td,th).number{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}td.number{font-size:15px}td.number small{display:inline}.pager{display:flex;align-items:center;justify-content:space-between;margin-top:18px;font-size:12px;color:var(--muted)}.pager>div{display:flex;gap:6px}.pager button{padding:8px 12px}.notice{display:flex;gap:10px;background:#fff4dc;border:1px solid #eedcb5;color:#856529;border-radius:9px;padding:13px 15px;font-size:13px;margin:14px 0}.notice svg{flex-shrink:0}.notice.danger{background:#fff0ea;color:#9b4734;border-color:#efd2c7}.notice.success{background:#eaf4e7;color:#386b3a;border-color:#c5dcc0}.notice small{color:inherit}.loading{display:flex;gap:10px;align-items:center;justify-content:center;padding:35px;color:var(--muted)}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.full{grid-column:1/-1}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:15px;font-size:12px;font-weight:600}.field>small{font-weight:400}.form-grid .field{margin-bottom:0}.form-grid+button{margin-top:16px}.check{display:flex;align-items:center;gap:10px;font-size:12px;margin:16px 0}.form-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:24px;flex-wrap:wrap}.scanner{margin-bottom:18px}.camera-button{width:100%;min-height:48px;padding:10px 14px;justify-content:flex-start;background:#eff4e8;border:1px solid #abc497;border-radius:8px;font-size:15px}.scanner>.inline-input{margin-top:16px}.inline-input{display:flex;gap:8px}.inline-input button{white-space:nowrap}.camera-view{position:relative;border-radius:10px;overflow:hidden;background:#15271e;min-height:260px}.camera-view video{display:block;width:100%;max-height:380px;object-fit:cover}.viewfinder{position:absolute;inset:28% 12%;border:2px solid #cfed99;border-radius:10px;pointer-events:none}.camera-view>span{position:absolute;bottom:68px;left:0;right:0;text-align:center;color:#fff;font-size:12px;text-shadow:0 1px 4px #000}.camera-view button{position:absolute;bottom:15px;left:50%;transform:translate(-50%);white-space:nowrap}.raw-scans{margin:15px 0}.raw-scans>div{display:flex;gap:8px;align-items:center;border-bottom:1px solid #e1e6dc;padding:8px 0;font-size:12px}.raw-scans code{flex:1;white-space:pre-wrap;word-break:break-all}.raw-scans button{padding:8px}.scan-result{background:#f6f8f3;border:1px solid #dce3d7;border-radius:8px;padding:18px;margin:18px 0}.part-number-entry{display:flex;align-items:flex-end;gap:12px;margin-top:12px}.part-number-entry .field{flex:1;min-width:0;margin:0}.part-number-entry button{white-space:nowrap}.scan-result.scan-warning{background:#fffbef;border-color:#ead7ad}.supplier-link>.primary{margin-top:16px}.scan-result.matched{background:#f0f7eb;border-color:#c7dcba}.scan-result h3{margin:10px 0 3px}.scan-result p{font-size:13px;margin-bottom:8px}.scan-result .list-row{align-items:flex-start}.scan-result .actions button{font-size:11px;padding:8px}.item-picker{margin:8px 0}.picker-results{max-height:240px;overflow:auto;border:1px solid #e1e6da;border-radius:8px;margin-top:8px}.picker-results button{display:flex;gap:8px;text-align:left;width:100%;border:0;border-bottom:1px solid #e9eee3;border-radius:0;justify-content:flex-start}.picker-results button span:not(.badge){flex:1;font-weight:400}.picker-results button.selected{background:#eaf3e1}.selected-item{display:flex;align-items:center;gap:7px;color:#327543;font-size:12px;margin:10px 0}.receipt-lines>div{display:flex;align-items:flex-start;gap:8px;border-bottom:1px solid #e4e9df;padding:10px 0 17px;margin-bottom:15px}.receipt-lines>div>div{flex:1}.receipt-lines p{font-size:13px;margin:8px 0}.receipt-lines .muted{font-size:11px}.receipt-lines button{padding:8px}.photos{margin:20px 0}.photo-grid{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:10px}.photo{display:block;position:relative;width:110px;height:110px;border:1px solid #dae2d4;border-radius:8px;overflow:hidden}.photo img{width:100%;height:100%;object-fit:cover}.photo>button{position:absolute;top:3px;right:3px;min-height:30px;padding:5px}.photo>span{position:absolute;bottom:0;background:#234e3ce8;color:#fff;display:flex;font-size:10px;width:100%;padding:4px}.upload-button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:12px;border:1px dashed #b7c6aa;border-radius:8px;font-size:12px;color:var(--muted);cursor:pointer}.upload-button input{display:none}.photos>small{font-size:10px;margin-top:7px}.completion{text-align:center;max-width:700px;margin:40px auto;padding:40px}.completion>svg{color:#5e8e4f;margin-bottom:20px}.completion .form-actions{justify-content:center}.tabs{display:flex;gap:4px;overflow:auto;margin:0 0 20px;border-bottom:1px solid #d8e0d0;padding-bottom:7px}.tabs button{background:transparent;border-color:transparent;white-space:nowrap}.tabs button.active{background:#e6eddd;border-color:#d0dbc5;color:var(--brand-strong)}.detail-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:22px;margin-bottom:22px}.detail-grid>.card{margin-bottom:0}.content-block{border-top:1px solid #e5ebde;padding:22px 0 10px}.content-block .split-heading p{font-size:13px;margin:6px 0}.big-quantity{font-size:32px;text-align:right;white-space:nowrap}.big-quantity small{font-size:12px}.facts{display:flex;flex-wrap:wrap;gap:25px;margin:20px 0;font-size:11px;color:var(--muted)}.facts strong{display:block;color:#556849;font-size:12px;margin-top:5px}dl{margin:0}dt{font-size:11px;color:var(--muted);margin-top:18px}dd{font-size:13px;margin:4px 0 0}details{font-size:12px;border-bottom:1px solid #e3e9dc;padding:12px 0}summary{cursor:pointer;color:#4c7144;overflow-wrap:anywhere}details p{margin:10px 0}pre{white-space:pre-wrap;overflow-wrap:anywhere;font:11px/1.7 Consolas,monospace;background:#f3f5ee;padding:12px;max-height:330px;overflow:auto}.back-button{margin-bottom:8px;background:transparent;border:0;padding:0;min-height:44px;color:var(--link)}.back-button:hover{background:transparent;text-decoration:underline}.unit-totals>.unit-totals-label{align-self:center;background:none;padding:0;font-weight:600}.unit-totals{display:flex;flex-wrap:wrap;gap:14px;margin-bottom:20px}.unit-totals>span{background:#e9efdf;padding:10px 17px;border-radius:8px;font-size:12px;color:var(--muted)}.unit-totals strong{font-size:18px;color:#425b35;margin-right:5px}.app-footer{display:flex;justify-content:space-between;margin:0 28px;padding:18px 0;border-top:1px solid #e0e6d8;font-size:10px;color:var(--muted)}dialog{border:1px solid #d7e0cf;border-radius:15px;padding:0;color:var(--ink);width:min(760px,94vw);max-height:90dvh;box-shadow:0 20px 90px #0c2c2540}dialog::backdrop{background:#15372c85;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}dialog>header{display:flex;justify-content:space-between;align-items:center;padding:18px 24px;border-bottom:1px solid #e2e8dc;position:sticky;top:0;background:#fff;z-index:2}dialog>header h2{margin:0}dialog>header button{border:0;padding:6px;min-height:36px}.dialog-body{padding:24px}.login{display:grid;place-items:center;min-height:100dvh;padding:24px}.login-form{max-width:420px;width:100%;padding:36px;border:1px solid #d9dfd8;border-radius:14px;background:#fff}.login-brand{display:flex;align-items:center;gap:12px;margin-bottom:28px;font-size:12px;font-weight:700;letter-spacing:2px}.login-form h1{font-size:28px;letter-spacing:-.75px;margin-bottom:12px}.login-form p{font-size:14px;color:#657363;margin-bottom:24px}.login-form .primary{padding:14px;margin-bottom:8px}.login-brand .brand-mark{border-color:var(--line-strong);color:var(--brand)}@media(max-width:1150px){.overview-grid{grid-template-columns:1fr 1fr}.metric{padding:18px 16px}.metric span{font-size:11px}.metrics{gap:12px}.detail-grid{grid-template-columns:1fr}}@media(max-width:800px){.page-title{align-items:flex-start;flex-direction:column;gap:14px}.metrics{grid-template-columns:repeat(2,1fr)}.metric{min-height:112px}.metric strong{font-size:30px}.overview-grid{grid-template-columns:1fr}.card{padding:20px}.form-grid{gap:12px}.toolbar{gap:9px}.toolbar select{flex:1;max-width:none;min-width:130px}.toolbar input{min-width:140px}.hide-small{display:none}.login-form{padding:28px 24px}.dialog-body{padding:18px}.inline-input{flex-direction:column}.raw-scans>div{flex-wrap:wrap}.list-row{gap:10px}.form-actions button{flex:1}}@media(max-width:650px){main{padding:18px 14px 28px}}.recipe-notes{white-space:pre-wrap;overflow-wrap:anywhere}.recipe-components{table-layout:fixed}.recipe-components :is(th,td){overflow-wrap:anywhere;padding-left:8px;padding-right:8px}.recipe-components :is(th,td):first-child{min-width:0;padding-left:0;width:26%}.recipe-components :is(th,td):nth-child(2){width:27%}.production-actions,.production-group-summary,.production-line-heading,.production-selected-item{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.filters{display:flex;flex-wrap:wrap;gap:12px 16px;align-items:flex-end;margin-bottom:16px}.filters>.field{margin-bottom:0;flex:0 1 220px;min-width:160px}.production-filters{flex-wrap:wrap}.production-table td:first-child{min-width:130px}.production-line-heading,.production-selected-item{justify-content:space-between}.production-material-line{border:1px solid #dfe6db;border-radius:12px;padding:16px;margin:16px 0}.production-recipe-details{margin:20px 0}.production-recipe-details summary{cursor:pointer;font-weight:600}.production-posting{padding:14px 0;border-bottom:1px solid #dfe6db}.production-posting p{margin:6px 0}.production-shortage{color:#a33e34;font-weight:650}.daily-chart-card{padding:20px 22px 10px;border:1px solid #dfe6db;border-radius:14px;margin:18px 0;background:#fff}.daily-chart-heading,.daily-material-picker{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.daily-chart-heading h2{font-size:18px;margin:0 0 6px;overflow-wrap:anywhere}.daily-chart{width:100%;display:block;margin-top:12px}.daily-chart text{fill:#607057;font:13px system-ui,sans-serif}.daily-grid{stroke:#e8ece4;stroke-width:1}.daily-usage-bar{fill:#608142;cursor:pointer}.daily-stock-bar{fill:#426f85;cursor:pointer}.daily-negative{fill:#ae5648;cursor:pointer}.daily-chart rect:focus,.daily-chart rect:hover{fill:#293e1b;outline:none}.daily-chart-detail{min-height:24px;color:#586650;font-size:14px;margin-bottom:0}.daily-material-picker .field{flex:1;min-width:220px;max-width:640px}.daily-stock-table td:first-child{min-width:210px}.daily-stock-table{margin-top:18px}dialog.count-sheet-dialog[open]{display:flex;flex-direction:column;width:min(1280px,calc(100vw - 24px));max-width:none;height:min(980px,94dvh);max-height:94dvh}.count-sheet-dialog>header{padding:14px 18px}.count-sheet-dialog>.dialog-body{padding:16px 18px;flex:1;min-height:0;display:flex;overflow:hidden}.count-sheet{display:flex;flex-direction:column;width:100%;min-height:0}.count-sheet .field{margin-bottom:0;min-width:0;font-size:12px;gap:5px}.count-sheet-controls{display:grid;grid-template-columns:145px minmax(140px,1fr) minmax(155px,1fr) minmax(170px,1.3fr) auto;gap:12px;align-items:end}.count-print-button{min-height:42px;white-space:nowrap;padding:8px 12px}.count-checklist{display:none}.count-sheet-controls input,.count-sheet-controls select{min-width:0;min-height:42px;padding:8px 10px;font-size:14px}.count-sheet-guide{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:10px 0;font-size:12px;color:#59695e}.count-sheet-guide p{margin:0}.count-sheet-guide>span{flex-shrink:0;font-variant-numeric:tabular-nums}.count-sheet-scroll{flex:1;min-height:100px;overflow:auto;border:1px solid #d4ddd5;border-radius:6px}.count-sheet-table{width:100%;font-size:13px;border-collapse:separate;border-spacing:0}.count-sheet-table thead th{position:sticky;top:0;z-index:2;background:#f1f4ef;font-size:12px;text-transform:none;letter-spacing:0;padding:10px 12px;border-bottom:1px solid #bdcbbf;white-space:nowrap}.count-sheet-table thead th:first-child{width:30%}.count-sheet-table thead th:nth-child(3){width:108px}.count-sheet-table thead th:last-child{width:100px;text-align:right}.count-sheet-table td{padding:8px 12px;vertical-align:middle;border-bottom:1px solid #dfe5dd}.count-sheet-table .count-item-info{min-width:150px}.count-item-info strong{display:block;font-size:13px;font-weight:600;line-height:1.4}.count-sheet-table small{display:block;font-size:11px;color:#657364;line-height:1.4}.count-item-info small{margin-top:4px}.count-pack-fields{display:flex;flex-wrap:wrap;align-items:end;gap:8px 16px}.count-number{display:block;margin:0}.count-number>span{display:block;font-size:11px;line-height:1.4;color:#59695e;margin-bottom:3px}.count-pack-value{display:flex;align-items:center;gap:6px}.count-pack-value small{white-space:nowrap;font-variant-numeric:tabular-nums}.count-sheet-table input,.count-sheet-table select{min-height:44px;min-width:0;font-size:15px;padding:6px 8px;width:100%}.count-sheet-table input[type=number]{width:70px;text-align:right;background:#fffef7;font-variant-numeric:tabular-nums}.count-sheet-table input:focus{background:#fff;outline:2px solid #477a61;outline-offset:1px}.count-sheet-table .count-units input{width:84px}.count-units select{max-width:110px;margin-top:5px}.count-unavailable{color:#657364;font-size:12px}.count-line-context{margin-bottom:4px}.count-sheet-table .count-total{text-align:right;vertical-align:middle}.count-total strong{display:block;font-size:16px;font-variant-numeric:tabular-nums;white-space:nowrap}.count-section th{text-align:left;background:#eaf0e9;color:#304f3f;padding:7px 12px;font-size:12px;text-transform:none;letter-spacing:0;border-bottom:1px solid #d4ddd5}.count-sheet-table .count-combined{color:#69776b;font-size:12px}.count-edited .count-item-info{box-shadow:inset 3px 0 #62896c}.count-sheet-footer{display:grid;grid-template-columns:minmax(160px,1fr) 180px auto;gap:12px;align-items:end;padding-top:12px}.count-sheet-footer input{min-height:42px;padding:8px 10px;font-size:14px}.count-save-status{min-height:44px;display:flex;align-items:center;font-size:12px}.count-sheet-footer>button{min-width:120px;min-height:44px}@media screen and (max-width:1000px){.count-sheet-controls{grid-template-columns:1fr 1fr;gap:8px 12px}.count-print-button{grid-column:1 / -1;justify-self:end}.count-sheet-table thead th:first-child{width:27%}.count-sheet-table thead th:last-child{width:80px}.count-sheet-table td,.count-sheet-table thead th{padding-left:8px;padding-right:8px}.count-pack-fields{gap:8px}}@media screen and (max-width:650px){dialog.count-sheet-dialog[open]{width:calc(100vw - 12px);height:calc(100dvh - 12px);max-height:calc(100dvh - 12px);padding:0}.count-sheet-dialog>header{padding:10px 12px}.count-sheet-dialog>.dialog-body{padding:10px 12px}.count-sheet-guide{flex-wrap:wrap;gap:4px;margin:8px 0;font-size:11px}.count-sheet-footer{grid-template-columns:1fr auto;gap:6px;padding-top:8px}.count-sheet-footer .field{grid-column:1 / -1}.count-sheet-table,.count-sheet-table tbody{display:block}.count-sheet-table thead{display:none}.count-sheet-table tbody{display:grid;grid-template-columns:minmax(0,1fr) 90px;border-bottom:1px solid #bdcbbf}.count-sheet-table tr{display:contents}.count-sheet-table td{border:0;min-width:0;padding:8px 10px}.count-sheet-table .count-item-info{grid-column:1;grid-row:1;min-width:0;background:#f6f8f4}.count-sheet-table .count-total{grid-column:2;grid-row:1;background:#f6f8f4;align-content:center}.count-sheet-table .count-total:before{content:"Total";display:block;font-size:11px;color:#657364}.count-packs,.count-units,.count-combined{grid-column:1 / -1}.count-units{border-bottom:1px solid #e4e9e2!important}.count-units .count-number{display:flex;align-items:center;gap:8px}.count-units .count-number>span:before{content:"Loose units · "}.count-units .count-number>span{margin:0}.count-units select{max-width:180px}.count-section th{grid-column:1 / -1}}.daily-day-list{display:flex;flex-wrap:wrap;gap:10px 24px;margin:20px 0}@media(max-width:600px){.daily-chart-card{padding:16px 8px 8px}.daily-chart{min-height:170px}.daily-chart-heading{padding:0 8px}.daily-material-picker .field{min-width:100%}}:root .tag-preview{margin:0;width:100%;max-width:560px}.tag-preview svg{width:100%;border:1px solid #cbd4ce;border-radius:8px;display:block}.tag-preview figcaption{font-size:.8rem;color:var(--muted);margin-top:6px}.tag-print-grid{margin-top:16px;display:grid;grid-template-columns:minmax(260px,1fr) minmax(280px,1fr);gap:28px;align-items:start}.print-fields{border:0;padding:0;margin:0;min-width:0}.print-status{display:grid;gap:5px;text-align:left;border:1px solid #cbd4ce;border-radius:8px;padding:14px;margin:12px 0}.print-status button{justify-self:start}.print-status span,.print-status small{color:#456154}.profile-card{max-width:620px}.row-actions{display:flex;gap:8px;flex-wrap:wrap}@media(max-width:900px){.tag-print-grid{grid-template-columns:1fr}}.label-photo-review{margin:1rem 0;border:1px solid var(--line, #ccd8ce);border-radius:10px;padding:1rem}.label-photo-heading{display:flex;align-items:center;gap:1rem;margin-bottom:1rem}.label-photo-heading img{width:90px;height:110px;object-fit:contain;border:1px solid #ccd8ce;border-radius:6px}.label-photo-heading h3{margin:0 0 .35rem}.label-photo-review fieldset{border:0;padding:0;margin:0;min-width:0}.label-photo-text>div{display:grid;grid-template-columns:minmax(90px,1fr) minmax(0,2fr);gap:.5rem;padding:.3rem 0}.label-photo-text dd{margin:0;overflow-wrap:anywhere}.label-photo-code{overflow-wrap:anywhere;white-space:pre-wrap}.label-photo-review .check{margin-top:1rem}@media print{@page inventory-count{size:letter landscape;margin:12mm 10mm;@bottom-right{content:"Page " counter(page) " of " counter(pages);font:9pt Arial,sans-serif}}body:has(>.count-checklist){margin:0;padding:0;overflow:visible!important;background:#fff}body:has(>.count-checklist)>:not(.count-checklist){display:none!important}.count-checklist,.count-checklist *{color:#000;box-shadow:none}.count-checklist{display:block;page:inventory-count;font:10pt Arial,sans-serif}.count-checklist-category+.count-checklist-category{break-before:page}.count-checklist h1{font:700 16pt Arial,sans-serif;letter-spacing:-1.25px;margin:0 0 8px}.count-checklist p{font-size:9pt;margin:6px 0}.count-checklist-meta{display:flex;justify-content:space-between;gap:12px;font-size:10pt}.count-checklist table{width:100%;border-collapse:collapse;table-layout:fixed;font:9pt Arial,sans-serif}.count-checklist thead{display:table-header-group}.count-checklist tbody{break-inside:avoid}.count-checklist th,.count-checklist td{border:1px solid #777;padding:6px;vertical-align:top;text-align:left;min-width:0;overflow-wrap:anywhere}.count-checklist th{position:static;background:#eee;text-transform:none;letter-spacing:0;font-size:9pt}.count-checklist col:first-child{width:22px}.count-checklist col:nth-child(2){width:26%}.count-checklist col:nth-child(3){width:33%}.count-checklist col:nth-child(4),.count-checklist col:nth-child(5){width:9%}.count-checklist .checklist-page-context th{background:#fff;font-size:8pt}.count-checklist td{height:10mm}.count-checklist small{display:block;font-size:8pt;line-height:1.4;margin-bottom:3px}.checklist-packs{display:flex;flex-wrap:wrap;gap:6px 12px}.checklist-packs>div{min-width:22mm}.checklist-write-in{display:block;height:6mm;min-width:17mm;border-bottom:1px solid #777}.checklist-checkbox{display:block;width:3mm;height:3mm;border:1px solid #555;margin-top:2mm}}.metric small{display:block;font-size:11px;color:var(--muted);margin-top:4px;font-weight:500;padding-right:28px}.metric-urgent strong{color:#a8412f}.metric-warning strong{color:#946414}.watch-list{display:flex;flex-direction:column}.watch-row{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:10px 4px;border:0;border-bottom:1px solid #e3e9dc;border-radius:0;background:transparent;text-align:left;min-height:0;font-weight:500}.watch-row:hover{background:#f3f7ee}.watch-row small{display:block;color:var(--muted);font-size:11px;margin-top:3px;font-weight:500}.watch-row strong{font-size:12px}.watch-value{text-align:right;font-weight:600;font-size:13px;white-space:nowrap}.catalog-readiness .readiness-link{width:100%;margin:0;background:transparent;border:0;border-bottom:1px solid #d4dfc9;border-radius:0;min-height:40px;padding:8px 0;font-size:13px;font-weight:500;text-align:left}.catalog-readiness .readiness-link:hover{background:transparent;text-decoration:underline}.catalog-readiness .readiness-link:last-child{border-bottom:0}.receiving-figures{display:flex;flex-wrap:wrap;gap:4px 22px;margin:0 0 6px}.receiving-figures strong{font-size:16px;margin-right:4px}.overview-grid>.catalog-readiness{align-self:start}.production-filters input[type=date]{width:100%}.material-gap-actions{display:flex;flex-wrap:wrap;gap:8px}.material-gap-filters{display:grid;grid-template-columns:minmax(0,2fr) minmax(160px,1fr);gap:12px;margin:16px 0 10px}.material-gap-filters .field{min-width:0;margin:0}.counts-list,.daily-material-list,.material-gap-list,.responsive-stock-list{background:var(--surface);border:1px solid var(--line);border-radius:13px;padding:16px 20px 6px}.row-link{display:grid;grid-template-columns:minmax(0,1fr);justify-content:normal;gap:1px;width:100%;min-height:0;padding:2px 0;border:0;border-radius:6px;background:none;color:inherit;font-weight:400;text-align:left}.row-link:hover{background:none}.row-link>strong{color:var(--link)}.row-link:hover>strong{text-decoration:underline}.row-link>small{margin:0}@media(pointer:coarse){.row-link{min-height:44px;align-content:center}}@media screen and (max-width:1100px){:is(.material-gap-list,.responsive-stock-list),:is(.material-gap-list,.responsive-stock-list) .table-wrap{overflow:visible}:is(.material-gap-list,.responsive-stock-list) :is(table,tbody){display:block;width:100%}:is(.material-gap-list,.responsive-stock-list) thead{display:none}:is(.material-gap-list,.responsive-stock-list) tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 16px;padding:12px 0;border-bottom:1px solid var(--line-soft)}:is(.material-gap-list,.responsive-stock-list) tbody tr:last-child{border-bottom:0}:is(.material-gap-list,.responsive-stock-list) td{min-width:0;border:0;padding:0;overflow-wrap:anywhere;text-align:left}:is(.material-gap-list,.responsive-stock-list) td:first-child{grid-column:1 / -1}:is(.material-gap-list,.responsive-stock-list) td[data-label]:before{content:attr(data-label);display:block;color:var(--muted);font-size:11px;font-weight:650;line-height:1.4}.material-gap-list .material-gap-actions{grid-column:1 / -1}.material-gap-list .material-gap-actions:before{display:none}.material-gap-list .material-gap-actions button{flex:1 1 145px}}@media screen and (max-width:700px){:is(.catalog-list,.pallet-list,.counts-list,.daily-material-list),:is(.catalog-list,.pallet-list,.counts-list,.daily-material-list) .table-wrap{overflow:visible}:is(.catalog-list,.pallet-list,.counts-list,.daily-material-list) :is(table,tbody){display:block;width:100%}:is(.catalog-list,.pallet-list,.counts-list,.daily-material-list) thead{display:none}:is(.catalog-list,.pallet-list,.counts-list,.daily-material-list) tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 16px;padding:12px 0;border-bottom:1px solid var(--line-soft)}:is(.catalog-list,.pallet-list,.counts-list,.daily-material-list) tbody tr:last-child{border-bottom:0}:is(.catalog-list,.pallet-list,.counts-list,.daily-material-list) td{min-width:0;border:0;padding:0;overflow-wrap:anywhere;text-align:left}:is(.catalog-list,.pallet-list,.counts-list,.daily-material-list) td:first-child{grid-column:1 / -1}:is(.catalog-list,.pallet-list,.counts-list,.daily-material-list) td[data-label]:before{content:attr(data-label);display:block;color:var(--muted);font-size:11px;font-weight:650;line-height:1.4}.production-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.production-filters>.field{min-width:0}.production-filters>.field:nth-child(n+3){grid-column:1 / -1}.material-gap-list .material-gap-actions button{flex-basis:100%}.material-gap-filters{grid-template-columns:1fr}.daily-material-picker>button{width:100%}}.related-records{display:flex;flex-direction:column;align-items:flex-start;gap:2px;margin-top:18px;padding-top:14px;border-top:1px solid var(--line-soft)}.related-records h3{margin:0 0 4px;font-size:13px}.photo.photo-unavailable{display:grid;place-items:center;padding:10px;background:var(--tint)}.photo.photo-unavailable>span{position:static;background:none;color:var(--muted);font-size:12px;text-align:center}dialog.item-dialog{width:min(980px,94vw)}.item-costs h3{margin:22px 0 8px}.item-cost-latest{font-size:13px;line-height:1.6;margin-bottom:4px}.item-cost-latest strong{font-size:18px;font-weight:600}.item-costs td:first-child{min-width:180px}.item-costs .table-wrap>small{margin-top:8px}.item-cost-checks{flex-direction:column;gap:4px}.catalog-select{display:flex;align-items:center;gap:10px}.catalog-select input[type=checkbox]{width:18px;height:18px;margin:0}.receiving-mode main{padding-bottom:0}.receive-wizard{max-width:760px;margin:auto;min-height:calc(100dvh - 108px);display:flex;flex-direction:column}.receive-wizard [hidden]{display:none!important}.receive-wizard .page-title{flex-direction:row;align-items:center;gap:12px}.receive-wizard .page-title h1{margin:0;font-size:26px}.receive-wizard .page-title .text-button{color:var(--muted);font-size:13px;white-space:nowrap}.receive-progress ol{display:flex;padding:0;margin:0 0 18px;list-style:none;gap:12px}.receive-progress li{flex:1;min-width:0;display:flex;align-items:center;gap:7px;color:var(--muted);font-size:11px;line-height:1.3}.receive-progress .step-number{display:grid;place-items:center;width:22px;height:22px;flex-shrink:0;border:1px solid var(--line-strong);border-radius:50%}.receive-progress [aria-current=step]{color:var(--brand);font-weight:650}.receive-progress [aria-current=step] .step-number{background:var(--brand);color:#fff;border-color:var(--brand)}.receive-panel{margin-bottom:0;padding:24px;border-radius:12px}#receiving-step-title:focus{outline:none}.receive-panel>h2{font-size:22px;margin-bottom:20px}.receive-panel>h2 small{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.receive-panel input,.receive-panel select{min-height:46px;font-size:16px}.receive-panel .check{font-size:15px;padding:10px 0}.receive-panel input[type=checkbox]{min-height:24px;width:24px;height:24px}.receive-panel details:not([class]){padding:0;font-size:14px}.receive-panel details:not([class])>summary{padding:12px 0}.receive-panel details:not([class])[open]{padding-bottom:12px}.receive-panel details+:is(.form-grid,.field){margin-top:16px}.receive-navigation{position:sticky;bottom:0;z-index:5;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0 calc(12px + env(safe-area-inset-bottom));background:var(--page)}.receive-navigation button{min-height:46px;padding:10px 18px;font-size:15px}.receive-navigation>.primary{margin-left:auto;min-width:150px}.receive-navigation>div{margin-left:auto;width:min(100%,320px)}.receive-summary{font-size:18px}.supplier-options{display:grid;gap:8px;max-height:300px;overflow-y:auto;overscroll-behavior:contain;padding:4px}.supplier-options button{justify-content:space-between;text-align:left;min-height:46px;padding:10px 12px;font-size:15px}.supplier-options [aria-pressed=true]{background:var(--tint);border-color:var(--brand)}.selected-supplier{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px;margin-bottom:18px;border:1px solid var(--line-strong);border-radius:10px;background:var(--tint)}.selected-supplier strong{font-size:16px}.label-photo-reader>p{font-size:12px;margin:8px 0 16px}.receive-quick-lookup{border-top:1px solid var(--line);margin-top:16px}.receive-quick-lookup h3{font-size:14px;margin:16px 0 8px}.receive-quantity-entry{min-width:0}.quantity-helper{margin:-4px 0 16px;padding:10px 12px;border:1px solid var(--line);border-radius:8px}.quantity-helper summary{color:var(--brand);cursor:pointer;font-size:14px}.quantity-helper summary svg{vertical-align:middle;margin-right:4px}.quantity-helper-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}.quantity-helper .field{min-width:0;margin-bottom:12px}.quantity-helper-total,.picker-pagination,.picker-pagination>div{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px}.quantity-helper-total output,.picker-pagination p{font-size:13px}.picker-pagination{margin-top:10px}.receive-panel .picker-results button{min-height:52px;padding:10px 12px}.receive-panel .picker-results:has(.receiving-item){max-height:min(45dvh,420px)}.receive-panel .picker-results .receiving-item{display:grid;grid-template-columns:105px minmax(0,1fr);gap:4px 12px}.receive-panel .picker-results .receiving-item small{grid-column:2;white-space:normal;overflow-wrap:anywhere}.photo-preview-button{padding:0;overflow:hidden}.photo .photo-preview-button{position:static;width:100%;height:100%;border:0;border-radius:inherit;background:transparent}dialog.photo-preview{width:min(100vw - 24px,1100px);max-height:calc(100dvh - 24px);padding:0}.photo-preview>header button{min-height:50px;min-width:50px}.photo-preview .dialog-body{padding:12px}.photo-preview .dialog-body img{display:block;width:100%;height:auto;max-height:calc(100dvh - 150px);object-fit:contain}@media(max-width:650px){.receive-wizard{min-height:calc(100dvh - 98px)}.receive-wizard .page-title h1{font-size:23px}.receive-progress ol{gap:6px;margin-bottom:14px}.receive-progress li{height:4px;border-radius:2px;background:var(--line-strong)}.receive-progress li[aria-current=step]{background:var(--brand)}.receive-progress .step-number,.receive-progress .step-label{display:none}.receive-panel{padding:18px}.receive-panel>h2 small{position:static;width:auto;height:auto;clip-path:none;font-size:12px;margin-bottom:6px}.receive-panel .form-grid{grid-template-columns:1fr}.receive-navigation{gap:10px}.receive-navigation button{padding:10px 14px}}@media(max-width:360px){.quantity-helper-inputs{grid-template-columns:1fr;gap:0}}.pull-workflow{max-width:760px;margin:0 auto}.pull-scan h2{margin-bottom:6px}.pull-scan>.muted{font-size:14px;margin-bottom:20px}.return-count{display:grid;gap:12px}.return-line{display:grid;gap:6px}.return-count .primary{justify-self:start}.return-line .field{max-width:16rem}.recent-pull{display:flex;align-items:center;gap:12px;padding:12px 0;border-top:1px solid var(--line)}.recent-pull>div{flex:1}.recent-pulls summary{cursor:pointer;font-size:14px}.stock-action-fields{border:0;padding:0;margin:0;min-width:0}.warehouse-stock{max-width:1000px;margin:0 auto}.stock-caption{display:flex;flex-wrap:wrap;justify-content:space-between;gap:2px 16px;margin:12px 0;color:var(--muted);font-size:13px}.stock-list{padding:6px 20px}.stock-row{display:grid;grid-template-columns:minmax(0,1fr) 104px 104px 18px;align-items:center;gap:12px}.stock-head{padding:10px 0;border-bottom:1px solid var(--line);color:var(--muted);font-size:11px;font-weight:650;letter-spacing:.4px;text-transform:uppercase}.stock-head>:not(:first-child),.stock-amount{text-align:right}.stock-material{padding:0;font-size:inherit;border-bottom:1px solid var(--line-soft)}.stock-material:last-child{border-bottom:0}.stock-material>summary{min-height:52px;padding:8px 0;color:inherit;list-style:none}.stock-material>summary::-webkit-details-marker{display:none}.stock-material>summary>svg{color:var(--muted);transition:transform .15s}.stock-material[open]>summary>svg{transform:rotate(180deg)}.stock-name small{margin:0}.stock-amount{font-weight:650;font-variant-numeric:tabular-nums;white-space:nowrap}.stock-amount small{display:inline;font-weight:400}.stock-amount.zero{color:var(--muted);font-weight:400}.stock-pallets{margin-bottom:10px;padding:2px 14px;border-radius:8px;background:var(--tint)}.stock-pallets .notice{margin:10px 0}.stock-pallet{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:6px 0;border-top:1px solid var(--line)}.stock-pallet:first-child{border-top:0}.stock-pallet>strong{white-space:nowrap}@media print{@page master-inventory-count{size:letter portrait;margin:8mm;@bottom-right{content:counter(page) " / " counter(pages);font:8pt Arial,sans-serif}}.master-count-sheet{page:master-inventory-count;font-size:8.5pt}.master-count-sheet h1{font-size:13pt;margin-bottom:2mm}.master-count-sheet .count-checklist-meta{font-size:8.5pt;gap:4mm}.master-count-sheet p{font-size:8.5pt;margin:1mm 0}.master-count-sheet section{margin-top:2mm}.master-count-sheet :is(.master-count-pallets,.master-count-summary){table-layout:fixed;font-size:8.5pt}.master-count-sheet :is(.master-count-pallets,.master-count-summary) :is(th,td){padding:.45mm .7mm;font-size:inherit;line-height:1.12;vertical-align:middle}.master-count-sheet :is(.master-count-pallets,.master-count-summary) tbody tr:not(.master-count-material-heading){height:5.7mm}.master-count-sheet :is(.master-count-pallets,.master-count-summary) td{height:auto}.master-count-sheet tbody{break-inside:auto}.master-count-sheet .master-count-pallets tbody,.master-count-sheet tr{break-inside:avoid}.master-count-sheet th small{margin:2px 0 0;font-weight:400}.master-count-sheet .master-count-material-heading th{border-top:.35mm solid #555;font-weight:400}.master-count-sheet :is(th,td):is(.master-count-gutter,.master-count-empty){border:0;padding:0}.master-count-pallets td small{margin:0}.master-count-sheet td.master-count-on-hand{text-align:right;font-variant-numeric:tabular-nums}.master-count-write-ins{break-inside:avoid}.master-count-write-ins td{height:9mm}}@media(max-width:600px){.stock-list{padding:4px 14px}.stock-row{grid-template-columns:minmax(0,1fr) 76px 76px 16px;gap:8px}.stock-amount small{display:block}}
