:root{--green:#16765b;--green-dark:#105e48;--sidebar:#142a25;--bg:#f5f7f8;--ink:#172b38;--muted:#72818d;--border:#e3e9ec;--red:#df4e4b;--radius:10px;color:var(--ink);font-synthesis:none;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Microsoft YaHei,PingFang SC,sans-serif;font-size:14px}*{box-sizing:border-box}body{background:var(--bg);margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:3px;outline:3px solid #6ac4a4}button{transition:background .15s,color .15s,box-shadow .15s}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}svg{vertical-align:middle;flex-shrink:0}small{color:var(--muted);font-size:12px;line-height:1.8;display:block}.app-shell{min-height:100vh}.sidebar{background:var(--sidebar);color:#c5d5cf;z-index:20;flex-direction:column;width:224px;padding:28px 14px 18px;display:flex;position:fixed;inset:0 auto 0 0}.brand{align-items:center;gap:12px;margin-bottom:38px;padding:0 10px;display:flex}.brand-square{object-fit:contain;background:0 0;border-radius:9px;flex-shrink:0;width:47px;height:47px;display:inline-block}.brand b{color:#f8fcfa;letter-spacing:1px;white-space:nowrap;font-size:24px}.brand small{color:#91aba1;letter-spacing:.5px;margin-top:3px;font-size:12px}.sidebar nav{flex-direction:column;gap:7px;display:flex}.nav-item{text-align:left;color:#b8cbc4;white-space:nowrap;background:0 0;border:0;border-radius:7px;align-items:center;gap:16px;padding:15px 16px;font-size:15px;display:flex;position:relative}.nav-item:hover{color:#fff;background:#1c3930}.nav-item.active{color:#fff;background:#245445}.nav-item.active:before{content:"";background:#49b694;border-radius:0 3px 3px 0;width:3px;height:31px;position:absolute;left:-14px}.nav-count{text-align:center;background:#426759;border-radius:4px;min-width:19px;margin-left:auto;padding:2px 4px;font-size:11px}.sidebar-bottom{margin-top:auto;padding:24px 10px 0}.preview-button{white-space:nowrap;color:#94ada3;background:0 0;border:0;border-top:1px solid #345047;align-items:center;gap:7px;width:100%;padding:19px 0 17px;font-size:11px;display:flex}.status-dot{background:#59a88b;border-radius:50%;flex-shrink:0;width:6px;height:6px;display:inline-block}.profile{color:#dce8e3;text-align:left;background:0 0;border:0;align-items:center;gap:11px;width:100%;font-size:14px;display:flex}.profile>svg{margin-left:auto}.profile small{color:#8fa89d;font-size:10px}.avatar{color:#244b3c;background:#d7e7df;border-radius:50%;justify-content:center;align-items:center;width:34px;height:34px;font-size:14px;font-weight:650;display:inline-flex}.workspace{min-width:0;margin-left:224px}.topbar{border-bottom:1px solid var(--border);color:#60717c;background:#fafcfc;justify-content:space-between;align-items:center;height:64px;padding:0 30px;font-size:13px;display:flex}.topbar span{color:#acb5be;margin:0 19px}.topbar b{color:#465863;font-weight:500}.topbar time{align-items:center;gap:10px;font-size:12px;display:flex}.main{max-width:1800px;margin:0 auto;padding:30px}.page-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:26px;display:flex}.page-heading h1{letter-spacing:.5px;font-size:30px;font-weight:700;line-height:1.4}.page-heading p{color:#7c8a95;margin-top:7px;font-size:13px;line-height:1.6}.button{white-space:nowrap;color:#41565c;background:#fff;border:1px solid #dce4e4;border-radius:7px;justify-content:center;align-items:center;gap:8px;min-height:40px;padding:11px 16px;font-size:13px;font-weight:500;line-height:1.5;display:inline-flex}.button:hover{background:#edf4f1;border-color:#bbd5ca}.button.primary{background:var(--green);color:#fff;border-color:var(--green);box-shadow:0 2px 3px #143e2110}.button.primary:hover{background:var(--green-dark)}.button.small{min-height:29px;padding:5px 13px;font-size:12px}.button.soft{color:var(--green);background:#edf6f2;border-color:#dfede6}.button.soft:hover{background:#d9ede3}.text-button{color:var(--green);white-space:nowrap;background:0 0;border:0;align-items:center;gap:5px;padding:4px 0;font-size:12px;font-weight:500;display:inline-flex}.text-button:hover{color:#0a4835;text-underline-offset:3px;text-decoration:underline}.icon-button{color:#74828a;background:0 0;border:0;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;display:inline-flex}.icon-button:hover{color:#173e2c;background:#eaf0ed}.metrics{border:1px solid var(--border);border-radius:var(--radius);background:#fff;grid-template-columns:repeat(3,minmax(0,1fr));min-height:119px;margin-bottom:24px;padding:24px 0;display:grid}.metric{border-right:1px solid var(--border);color:var(--green);align-items:center;gap:22px;padding:0 28px;display:flex}.metric:last-child{border:0}.metric>div{min-width:0}.metric span{color:#73818e;margin-bottom:8px;font-size:13px;display:block}.metric strong{color:var(--ink);font-variant-numeric:tabular-nums;letter-spacing:-.7px;white-space:nowrap;font-size:29px;font-weight:650;display:block}.metric strong.money-metric{font-size:25px}.accent{color:var(--green)!important}.orange{color:#d98728!important}.danger-text{color:var(--red)!important}.muted{color:var(--muted)}.bold{font-weight:600}.numeric{font-variant-numeric:tabular-nums;white-space:nowrap;text-align:right!important}.dashboard-grid{grid-template-columns:minmax(0,1.65fr) minmax(290px,1fr);align-items:stretch;gap:22px;display:grid}.panel{border:1px solid var(--border);border-radius:var(--radius);background:#fff;min-width:0;overflow:hidden}.panel-heading{justify-content:space-between;align-items:center;gap:12px;padding:20px 19px 17px;display:flex}.panel h2,.workflow h2{font-size:17px;font-weight:650;line-height:1.5}.panel .table-scroll{margin:0 16px 16px}.table-scroll{scrollbar-width:thin;scrollbar-color:#cedbd6 transparent;max-width:100%;overflow:auto}table{border-collapse:separate;border-spacing:0;text-align:left;width:100%;font-size:12px}th{color:#657582;white-space:nowrap;background:#f5f8fa;border-top:1px solid #eaf0f2;border-bottom:1px solid #e6ecef;padding:13px 14px;font-size:12px;font-weight:500}th:first-child{border-top-left-radius:6px}th:last-child{border-top-right-radius:6px}td{white-space:nowrap;border-bottom:1px solid #edf1f3;padding:15px 14px;line-height:1.7}td strong{font-weight:500}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#f9fbfa}td small{color:#8d98a1;margin-top:2px;font-size:11px;line-height:1.5}.row-link{color:#344b57;white-space:nowrap;font-size:inherit;text-align:left;font-variant-numeric:tabular-nums;background:0 0;border:0;padding:0}.row-link:hover{color:var(--green);text-underline-offset:3px;text-decoration:underline}.badge{white-space:nowrap;border-radius:5px;align-items:center;padding:3px 9px;font-size:11px;font-weight:500;display:inline-flex}.badge.amber{color:#c98625;background:#fff2d9}.badge.blue{color:#4b7ec9;background:#eaf2ff}.badge.green{color:#2e8a63;background:#eaf5ef}.badge.red{color:#cc6354;background:#fff0ed}.warning-table td{padding:17px 10px}.warning-table th{padding:13px 10px}.warning-dot{color:#d8554c;background:#f9deda;border-radius:50%;justify-content:center;align-items:center;width:15px;height:15px;margin-left:18px;font-size:10px;font-weight:650;line-height:15px;display:inline-flex}.panel-footnote{color:#90a096;border-top:1px solid #f0f3f4;align-items:center;gap:7px;padding:14px 20px;font-size:11px;display:flex}.workflow{border-radius:var(--radius);background:#edf7f2;border:1px solid #dceee4;padding:22px 22px 17px}.workflow-title{color:var(--green);align-items:center;gap:15px;margin-bottom:23px;display:flex}.workflow-title h2{color:#254837}.workflow-title p{color:#748c7d;margin-top:3px;font-size:11px;line-height:1.8}.step{gap:14px;margin-bottom:20px;display:flex}.step>span{color:#fff;background:#237e60;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:29px;height:29px;font-size:13px;display:flex}.step h3{color:#2b493b;font-size:13px;font-weight:600;line-height:1.8}.step p{color:#7b9085;margin-top:2px;font-size:11px;line-height:1.8}.workflow-note{color:#377b60;background:#e2f1e9;border-radius:5px;align-items:center;gap:8px;padding:9px 10px;font-size:11px;display:flex}.page-footer{color:#9aa7ac;justify-content:center;align-items:center;gap:7px;margin-top:28px;padding-bottom:4px;font-size:11px;display:flex}.toolbar{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:20px;padding:20px 20px 18px;display:flex}.tabs{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.tabs>button{color:#7b8a93;background:0 0;border:0;border-radius:6px;padding:8px 13px;font-size:13px}.tabs>button.selected{color:var(--green);background:#eaf4ee;font-weight:600}.tabs>button:hover{background:#f1f6f3}.search{color:#97a5ad;border:1px solid #e0e7ea;border-radius:7px;align-items:center;gap:8px;min-width:265px;height:37px;padding:0 10px;display:flex}.search input{box-shadow:none;background:0 0;border:0;width:100%;min-width:0;padding:5px 0;font-size:12px;outline:none!important}.search button{color:var(--green);white-space:nowrap;background:0 0;border:0;border-left:1px solid #e0e7ea;padding-left:11px;font-size:12px}.order-date-filter{color:var(--muted);white-space:nowrap;flex-direction:row;align-items:center;gap:7px;font-size:12px;display:flex}.order-date-filter input{box-sizing:border-box;width:150px;min-height:37px;padding:6px 8px}.batch-receive-trigger{white-space:nowrap;min-height:37px;padding:8px 12px}.batch-receive-picker{gap:14px;display:grid}.batch-receive-picker>.form-note{margin:0}.batch-receive-list{gap:8px;max-height:55vh;display:grid;overflow:auto}.batch-receive-option{border:1px solid var(--border);cursor:pointer;border-radius:9px;align-items:center;gap:12px;padding:12px;display:flex}.batch-receive-option>input{width:18px;height:18px;min-height:18px;accent-color:var(--green);flex:0 0 18px;margin:0}.batch-receive-option>span{gap:4px;min-width:0;display:grid}.batch-receive-option small{color:var(--muted);overflow-wrap:anywhere}.batch-receive-footer{justify-content:space-between;align-items:center;gap:12px;display:flex}.data-panel>.table-scroll{margin:0}.data-panel td{padding:19px 22px;font-size:13px}.data-panel th{padding:14px 22px;font-size:12px}.data-panel th:first-child,.data-panel th:last-child{border-radius:0}.table-footer{color:#93a0a8;border-top:1px solid #edf1f3;justify-content:space-between;align-items:center;padding:17px 22px;font-size:12px;display:flex}.product-cell{align-items:center;gap:12px;display:flex}.product-icon{color:#6e9786;background:#eff6f1;border-radius:8px;justify-content:center;align-items:center;width:37px;height:37px;display:flex}.cat-coffee{color:#b59a70;background:#f8f1e8}.cat-paper{color:#8ba1c2;background:#ecf1f9}.product-cell strong{font-size:13px}.product-cell small{font-size:11px}.mini-avatar{color:#6b8e79;background:#eef4f0;border-radius:50%;justify-content:center;align-items:center;width:23px;height:23px;margin-right:7px;font-size:10px;display:inline-flex}.log-summary{text-overflow:ellipsis;max-width:340px;overflow:hidden}.empty{text-align:center;color:#a3b4ac;padding:65px 24px}.empty p{color:#889b91;margin-top:14px;font-size:13px}.modal{width:min(560px,100vw - 32px);max-height:90dvh;color:var(--ink);background:#fff;border:1px solid #dfe6e3;border-radius:14px;padding:0;overflow:auto;box-shadow:0 24px 100px #092c2433}.modal.wide{width:min(900px,100vw - 32px)}.modal::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#10292266}.modal-header{border-bottom:1px solid var(--border);z-index:3;background:#fff;justify-content:space-between;align-items:flex-start;gap:20px;padding:24px 26px 20px;display:flex;position:sticky;top:0}.modal-header h2{font-size:21px;line-height:1.5}.modal-header p{color:#8b9a92;font-variant-numeric:tabular-nums;margin-top:5px;font-size:12px}.modal-body{padding:25px 26px}.modal-footer{border-top:1px solid var(--border);z-index:2;background:#fbfcfc;justify-content:flex-end;align-items:center;gap:10px;padding:18px 26px;display:flex;position:sticky;bottom:0}.form-grid{grid-template-columns:1fr 1fr;gap:20px;display:grid}.span2{grid-column:1/-1}label{color:#4b6258;flex-direction:column;gap:9px;font-size:13px;display:flex}input,select,textarea{color:#344b40;background:#fff;border:1px solid #dce6e0;border-radius:6px;outline:none;width:100%;min-width:0;padding:10px 11px}input:focus,select:focus,textarea:focus{border-color:#63a38b;box-shadow:0 0 0 3px #16765b0c}input::placeholder,textarea::placeholder{color:#a6b3aa;font-size:12px}input:disabled,select:disabled{color:#95a59b;background:#f4f7f5}input[type=number]{font-variant-numeric:tabular-nums}textarea{resize:vertical;line-height:1.7}.form-note{color:#8c9d93;font-size:12px;line-height:1.8}.section-label{justify-content:space-between;align-items:center;margin:25px 0 14px;font-size:14px;font-weight:600;display:flex}.section-label span{color:#9ba79f;font-size:11px;font-weight:400}.form-table td{padding:12px 7px}.form-table td:first-child{min-width:220px;padding-left:0}.form-table input{min-width:85px;max-width:105px;padding:8px}.form-table select{font-size:12px}.product-picker{gap:7px;min-width:0;display:grid}.product-picker label{color:#53675c;font-size:12px}.product-picker input,.product-picker select,.form-table .product-picker input{width:100%;min-width:0;max-width:none}.product-picker small{white-space:normal;color:#708277;font-size:11px;line-height:1.6}.stock-action{margin-top:8px;display:block}.add-line{margin:12px 0 20px}.full-label{margin-top:18px}.order-total{color:#8a998f;justify-content:flex-end;align-items:baseline;gap:20px;margin:22px 0;font-size:12px;display:flex}.order-total strong{color:var(--green);font-variant-numeric:tabular-nums;font-size:22px;font-weight:600}.info-strip{color:#4a856c;background:#edf6f1;border:1px solid #dceee3;border-radius:7px;align-items:center;gap:9px;padding:12px 14px;font-size:12px;line-height:1.7;display:flex}.detail-summary{justify-content:space-between;align-items:center;gap:18px;margin:0 0 24px;display:flex}.detail-summary strong{margin-top:5px;font-size:14px;font-weight:500;display:block}.detail-summary small{font-size:11px}.info-strip+.detail-summary{margin-top:23px}.quantity-input{width:95px;padding:8px}.detail-note{padding:14px 0}.detail-note p{color:#597065;margin-top:4px;font-size:13px;line-height:1.7}.receive-confirm{color:#4d8b6f;align-items:center;gap:8px;padding-top:22px;font-size:12px;line-height:1.7;display:flex}.error-banner{color:#b54b46;background:#fff2ef;border:1px solid #f5d3ca;border-radius:7px;justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px;padding:12px 16px;font-size:13px;line-height:1.7;display:flex}.modal-error{margin:20px 26px 0}.toast{color:#fff;z-index:100;background:#183f30;border-radius:9px;align-items:center;gap:10px;max-width:90vw;padding:15px 24px;font-size:13px;animation:.2s ease-out appear;display:flex;position:fixed;bottom:30px;left:calc(50% + 100px);transform:translate(-50%);box-shadow:0 8px 30px #102c2930}.audit-values{grid-template-columns:1fr 1fr;gap:16px;margin:24px 0;display:grid}.audit-values h3{color:#6c8175;margin-bottom:10px;font-size:12px}.audit-values pre{white-space:pre-wrap;overflow-wrap:anywhere;color:#557264;background:#f5f8f6;border:1px solid #e6eee8;border-radius:7px;max-height:360px;margin:0;padding:14px;font-family:ui-monospace,monospace;font-size:11px;line-height:1.8;overflow:auto}.stock-summary{padding:0 0 15px}.stock-summary strong{color:var(--green);font-size:32px;font-weight:600;display:block}.stock-summary span{margin-left:10px;font-size:14px;font-weight:400}.stock-summary~.table-scroll{margin-top:20px}.about{text-align:center}.about-actions{flex-wrap:wrap;justify-content:center;gap:12px;display:flex}.button.order-add-product{color:#5930a6;background:#ede7ff;border-color:#c7b3ee;font-weight:700;box-shadow:0 2px 6px #5930a612}.button.order-add-product span{color:#fff;background:#5930a6;border-radius:7px;justify-content:center;align-items:center;width:22px;height:22px;display:inline-flex}.button.order-add-product:hover:not(:disabled){background:#e1d5fb;border-color:#9167cc}.about h3{margin:18px 0 14px;font-size:20px}.about p{color:#748a7c;margin-bottom:20px;font-size:13px;line-height:1.9}.about .info-strip{text-align:left;margin-bottom:18px}.about .form-note{font-size:11px}.loading{color:#68816f;flex-direction:column;justify-content:center;align-items:center;gap:20px;height:100vh;display:flex}.loading h1{color:#28503b;font-size:24px}.loading p{text-align:center;max-width:500px;padding:0 24px;line-height:1.8}@keyframes appear{0%{opacity:0;translate:0 7px}to{opacity:1;translate:0}}@media (min-width:1500px){.main{padding:32px 34px}.sidebar{width:240px}.workspace{margin-left:240px}.dashboard-grid{grid-template-columns:minmax(0,1.7fr) minmax(340px,1fr)}table{font-size:13px}.panel td{padding-top:18px;padding-bottom:18px}.workflow{padding:23px}.step{margin-bottom:23px}.step h3{font-size:14px}.step p{font-size:12px}}@media (max-width:1200px){.sidebar{width:195px;padding-left:10px;padding-right:10px}.workspace{margin-left:195px}.brand{gap:9px;padding:0 7px}.brand b{font-size:21px}.brand-square{width:41px;height:41px;font-size:23px}.brand small{font-size:10px}.main{padding:24px}.metric{gap:14px;padding:0 18px}.metric strong{font-size:25px}.metric strong.money-metric{font-size:21px}.metric svg{width:24px}.dashboard-grid{grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:18px}.panel th,.panel td{padding-left:10px;padding-right:10px}.nav-item{gap:13px;padding:14px;font-size:14px}.preview-button{font-size:10px}.dashboard-grid .panel .table-scroll{margin:0 11px 12px}}@media (max-width:1050px){.dashboard-grid{grid-template-columns:1fr}.metrics{padding:20px 0}.metric{gap:12px}.metric>svg,.dashboard-grid .workflow{display:none}.toolbar{flex-wrap:wrap}.search{margin-left:auto}.topbar{padding:0 24px}.topbar time{font-size:11px}.data-panel td{padding:16px}.data-panel th{padding:13px 16px}}@media (max-width:700px){.toolbar:has(.order-date-filter){flex-wrap:wrap;gap:10px}.order-date-filter{order:1}.batch-receive-trigger{order:2}.toolbar:has(.order-date-filter)>.search{flex:100%;order:3}.sidebar{z-index:20;width:100%;height:auto;padding:13px 16px 0;position:sticky;top:0}.brand{gap:9px;margin-bottom:13px;padding:0}.brand-square{border-radius:6px;width:31px;height:31px;font-size:18px}.brand b{font-size:19px}.brand small{display:none}.sidebar nav{scrollbar-width:none;flex-direction:row;gap:2px;margin:0 -16px;padding:0 10px;overflow:auto}.nav-item{border-radius:6px 6px 0 0;flex-shrink:0;gap:5px;padding:11px 10px;font-size:12px}.nav-item svg{width:16px;height:16px}.nav-item.active:before{border-radius:0;width:auto;height:2px;bottom:0;left:10px;right:10px}.nav-count{display:none}.sidebar-bottom{padding:0;position:absolute;top:19px;right:15px}.profile{display:none}.preview-button{border:0;width:auto;padding:0;font-size:10px}.preview-button>svg{display:none}.workspace{margin:0}.topbar{height:46px;padding:0 18px;font-size:11px}.topbar span{margin:0 10px}.topbar time{gap:5px;font-size:10px}.topbar time svg{width:13px}.main{padding:22px 16px}.page-heading{align-items:flex-start;gap:10px;margin-bottom:20px}.page-heading h1{font-size:24px}.page-heading p{max-width:220px;font-size:11px;line-height:1.8}.page-heading>.button{min-height:36px;margin-top:4px;padding:9px 11px;font-size:11px}.page-heading>.button svg{width:14px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:18px;padding:0}.metric{min-height:100px;padding:18px 20px}.metric:nth-child(2){border-right:0}.metric:nth-child(-n+2){border-bottom:1px solid var(--border)}.metric span{margin-bottom:5px;font-size:11px}.metric strong{font-size:25px}.metric strong.money-metric{font-size:22px}.metric>svg{width:23px;display:block}.dashboard-grid{gap:18px}.panel-heading{padding:16px}.panel h2{font-size:15px}.text-button{font-size:11px}.dashboard-grid .panel .table-scroll{margin:0 10px 10px}.panel th,.panel td{padding:12px 10px;font-size:11px}.panel .warning-table th,.panel .warning-table td{padding:13px}.dashboard-grid .workflow{display:block}.page-footer{margin-top:23px;font-size:10px}.toolbar{gap:13px;padding:15px}.tabs{gap:1px}.tabs>button{padding:7px 11px;font-size:11px}.tabs select{font-size:12px}.search{width:100%;min-width:0;margin:0}.data-panel td{padding:15px 13px;font-size:12px}.data-panel th{padding:12px 13px;font-size:11px}.table-footer{padding:13px 15px;font-size:10px}.modal{border-radius:10px;width:calc(100vw - 20px);max-height:92dvh}.modal.wide{width:calc(100vw - 20px)}.modal-header{padding:18px 18px 15px}.modal-header h2{font-size:18px}.modal-body{padding:20px 18px}.modal-footer{flex-wrap:wrap;padding:14px 18px}.modal-footer .button{padding:9px 12px;font-size:12px}.form-grid{gap:16px}.form-grid label{font-size:12px}.form-grid input,.form-grid select{padding:9px;font-size:12px}.detail-summary{flex-wrap:wrap;gap:14px}.detail-summary strong{font-size:12px}.audit-values{grid-template-columns:1fr}.toast{width:max-content;max-width:90vw;padding:13px 17px;font-size:12px;bottom:20px;left:50%}.modal-error{margin:15px 18px 0}.log-summary{max-width:220px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.audit-content{color:#5e7768;background:#f6f9f7;border:1px solid #e3ece6;border-radius:8px;max-height:420px;padding:15px;font-size:12px;line-height:1.8;overflow:auto}.audit-fields{margin:0}.audit-fields>div{grid-template-columns:90px 1fr;gap:12px;padding:5px 0;display:grid}.audit-fields dt{color:#91a096;font-size:11px}.audit-fields dd{overflow-wrap:anywhere;margin:0}.audit-fields>.audit-nested{border-top:1px solid #e3ece6;margin-top:9px;padding-top:10px;display:block}.audit-nested>dt{color:#4d735d;margin-bottom:7px;font-weight:600}.audit-list-item+.audit-list-item{border-top:1px dashed #dce8df;margin-top:8px;padding-top:8px}@media (min-width:1051px){.dashboard-grid .panel td{padding-top:13px;padding-bottom:13px}.dashboard-grid .panel:nth-child(3) td:first-child small{text-overflow:ellipsis;vertical-align:middle;max-width:180px;margin:0 0 0 9px;display:inline-block;overflow:hidden}.dashboard-grid .panel:nth-child(3) td{height:57px}}.login-shell{background:radial-gradient(at 0 0,#dcece5,#0000 65%),#f5f7f8;place-items:center;min-height:100dvh;padding:28px;display:grid}.login-card{background:#fff;border:1px solid #e3e9ec;border-radius:18px;width:min(100%,480px);padding:40px;box-shadow:0 12px 50px #142a2509}.login-card h1{color:#142a25;margin:20px 0 12px;font-size:32px;line-height:1.45}.login-card .eyebrow{color:#16765b;letter-spacing:1px;margin-top:24px;font-size:12px}.login-card form{gap:18px;margin:28px 0;display:grid}.login-card label{gap:9px;font-weight:600;display:grid}.login-card input{width:100%;font:inherit;border:1px solid #d6dfdb;border-radius:7px;padding:13px}.login-card .button{justify-content:center;min-height:46px}.login-features{color:#57726a;border-top:1px solid #e3e9ec;justify-content:space-between;padding:22px 0 5px;font-size:12px;display:flex}.heading-actions,.sync-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.sync-actions{margin-left:auto;font-size:12px}.topbar{flex-wrap:wrap;gap:24px;height:auto;min-height:64px;padding-block:8px;line-height:1.5}.topbar>div:first-child,.topbar time{white-space:nowrap}.topbar .sync-actions{gap:8px}.sync-actions .text-button{min-height:44px;padding:8px;font-size:13px}.order-actions{align-items:center;gap:16px;display:flex}.order-actions .text-button{min-height:44px;font-size:13px}.compact-orders{padding:0 16px}.compact-order-row{border-bottom:1px solid #e3e9ec;grid-template-columns:minmax(92px,1fr) minmax(100px,1.2fr) auto auto;align-items:center;gap:16px;min-height:64px;display:grid}.compact-order-row:last-child{border-bottom:0}.compact-order-amount{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.compact-order-actions{gap:10px;display:flex}.sidebar .profile small{text-overflow:ellipsis;max-width:145px;overflow:hidden}.mobile-orders{display:none}.order-card{border-bottom:1px solid #e3e9ec;padding:18px}.order-item-summary{color:#52645d;gap:4px;min-width:180px;font-size:12px;display:grid}.order-item-heading{justify-content:space-between;gap:12px;display:flex}.order-item-heading span:last-child{white-space:nowrap}.order-item-summary>div{justify-content:space-between;gap:12px;display:flex}.order-item-summary strong{color:#243a32;font-variant-numeric:tabular-nums;flex:none}.order-item-highlight{color:#173b2e;background:#fff0a8;border-radius:3px;padding:0 2px;font-weight:700}.order-card header,.order-card footer{justify-content:space-between;align-items:center;gap:10px;display:flex}.order-card h3{margin:12px 0 5px;font-size:15px}.order-card small{overflow-wrap:anywhere;font-size:11px}.order-card footer{margin-top:18px}.order-card .row-link{overflow-wrap:anywhere;text-align:left;font-size:11px}@media (max-width:640px){.compact-orders{padding:0 12px}.compact-order-row{grid-template-columns:minmax(0,1fr) auto;gap:8px;min-height:58px}.compact-order-amount{grid-area:1/2}.compact-order-row>.badge{grid-area:2/1;justify-self:start;margin-bottom:8px}.compact-order-actions{grid-area:2/2;justify-content:flex-end;margin-bottom:8px}.login-card{padding:26px}.login-card h1{font-size:28px}.heading-actions{width:100%}.heading-actions .button{flex:1;justify-content:center}.topbar time,.order-desktop{display:none}.mobile-orders{display:block}.order-card .button{min-height:40px;padding:8px 20px}.page-heading{flex-wrap:wrap;gap:15px}.sync-actions{gap:18px}.topbar{gap:4px;height:auto;padding:10px 16px 4px;font-size:13px}.topbar>div:first-child{width:100%}.topbar .sync-actions{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;width:100%;margin-left:0;display:grid}.sync-actions .text-button{justify-content:center;padding:8px 2px;font-size:14px}.order-card header{align-items:flex-start;gap:12px}.order-card .order-item-summary{margin-top:12px;font-size:13px}.order-card header .badge{flex-shrink:0}.order-card .row-link,.order-card small{font-size:13px;line-height:1.6}.order-card footer{grid-template-columns:1fr 1fr;gap:10px;margin-top:14px;display:grid}.order-card footer>strong{grid-column:1/-1;margin-bottom:2px}.order-card footer .button{justify-content:center;min-height:44px;padding:8px 12px;font-size:14px}}.auth-actions{flex-wrap:wrap;justify-content:space-between;gap:12px;display:flex}.auth-actions .text-button,.auth-toggle{min-height:44px}.auth-toggle{justify-self:end;margin-top:-12px}.mobile-field-label{display:none}.purchase-subtotal{text-align:right;font-variant-numeric:tabular-nums}@media (max-width:700px){.modal .form-grid{grid-template-columns:minmax(0,1fr)}.modal input,.modal select,.modal textarea,.modal .form-grid input,.modal .form-grid select,.modal .form-table select{min-height:44px;font-size:16px}.modal .form-grid label{min-width:0}.purchase-lines,.purchase-lines tbody{width:100%;min-width:0;display:block}.purchase-lines thead{display:none}.purchase-lines tbody tr{border:1px solid var(--border);background:#fbfcfc;border-radius:10px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px 12px;margin-bottom:14px;padding:16px 12px;display:grid}.purchase-lines tbody td,.purchase-lines tbody td:first-child{white-space:normal;border:0;min-width:0;padding:0;display:block}.purchase-lines .purchase-product{grid-column:1/-1}.purchase-lines .product-picker select{text-overflow:ellipsis}.purchase-lines .product-picker small{overflow-wrap:anywhere}.purchase-lines input{width:100%;min-width:0;max-width:none}.purchase-lines .mobile-field-label{color:#53675c;margin-bottom:8px;font-size:12px;display:block}.purchase-lines .purchase-subtotal{text-align:left;overflow-wrap:anywhere;align-self:center;font-size:16px}.purchase-lines .purchase-remove{place-self:end}.purchase-lines .purchase-remove .icon-button{width:44px;height:44px}.modal .add-line{min-height:44px;margin-top:0}.modal-footer{padding-bottom:max(14px, env(safe-area-inset-bottom))}.modal-footer .button{min-height:44px}}.dashboard-grid .workflow{grid-column:1/-1}@media (max-width:700px){.metrics .metric:last-child{border-bottom:0;grid-column:1/-1}}.order-categories{background:#f3f8f5;border:1px solid #dbe8df;border-radius:12px;margin-bottom:24px;padding:18px}.order-categories .section-label{flex-wrap:wrap;gap:8px}.category-choices{flex-wrap:wrap;gap:8px;display:flex}.category-choice{gap:8px;min-height:44px}.category-choice span{color:#66776d;font-size:12px}.order-categories .form-note{margin:12px 0 0;line-height:1.7}.order-empty{text-align:center;color:#66776d;border:1px dashed #dbe8df;border-radius:10px;padding:24px 12px}@media (max-width:700px){.order-categories{padding:14px 12px}.category-choices{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.category-choice{flex-wrap:wrap;justify-content:center;padding:10px 8px}}.modal:has(.product-form){width:min(480px,100vw - 24px);max-height:calc(100dvh - 24px)}.modal:has(.product-form) .modal-header{align-items:center;padding:14px 18px}.modal .product-form .form-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;padding:16px 18px}.modal .product-form .form-grid label{gap:6px;min-width:0;font-size:14px}.modal .product-form .form-grid input,.modal .product-form .form-grid select{height:44px;min-height:44px;padding:8px 10px;font-size:16px}.modal .product-form .form-note{margin:0;font-size:12px;line-height:1.5}.modal .product-form .modal-footer{padding:12px 18px}.modal .product-form .modal-footer .button{min-height:44px;padding:8px 16px}.order-card footer{flex-wrap:wrap;gap:8px}.modal-footer:has(.button:nth-child(4)){flex-wrap:wrap}#order-print-root{display:none}.order-detail-table{table-layout:fixed;width:100%;min-width:0}.order-detail-table th,.order-detail-table td{white-space:normal;overflow-wrap:anywhere;padding:10px 6px}.order-detail-table th:first-child{width:30%}.order-detail-table th:nth-child(2){width:34%}.order-supplier-cell .supplier-field label{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.order-supplier-cell select{width:100%;min-width:0}.order-row-actions .order-action-button{cursor:pointer;border:1px solid;border-radius:7px;justify-content:center;align-items:center;margin:3px 6px 3px 0;padding:5px 9px;font-size:13px;line-height:1.4;display:inline-flex}.order-action-button.shortage-action{color:#9a630e;background:#fff8e9;border-color:#e8d7b2}.order-action-button.shortage-active{color:#fff;background:#9a630e;border-color:#9a630e}.order-action-button.delete-action{color:#bd3d3d;background:#fff4f4;border-color:#edcece}.order-action-button:disabled{opacity:.5;cursor:default}.supplier-add-actions{align-items:center;gap:12px;margin-top:6px;display:flex}.order-detail-table .quantity-input{width:100%;min-width:0}@media print{@page{size:A4 portrait;margin:15mm}html,body{background:#fff!important;height:auto!important;overflow:visible!important}body:has(#order-print-root)>:not(#order-print-root){display:none!important}body:has(#order-print-root) dialog{display:none!important}body:has(#order-print-root) dialog::backdrop{display:none!important}#order-print-root{color:#000;font:12pt/1.5 Arial,sans-serif;display:block!important}#order-print-root h1{text-align:center;margin:0 0 8mm;font-size:20pt}#order-print-root dl{margin:0 0 6mm}#order-print-root dl div{gap:4mm;display:flex}#order-print-root dt{min-width:20mm}#order-print-root dd{overflow-wrap:anywhere;margin:0}#order-print-root table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:0}#order-print-root th,#order-print-root td{color:#000;white-space:normal;overflow-wrap:anywhere;background:#fff;border:1px solid #000;padding:3mm}#order-print-root th:first-child{width:12%}#order-print-root th:nth-child(2){width:60%}#order-print-root th:nth-child(3){width:28%}#order-print-root thead{display:table-header-group}#order-print-root tr{break-inside:avoid}#order-print-root p{margin-top:5mm}#order-print-root .print-note{white-space:pre-wrap;overflow-wrap:anywhere}}.install-entry{text-align:right;background:#fff;padding:2px 16px}.install-entry .text-button{min-height:36px;font-size:13px}.install-guide{line-height:1.7}.install-guide h3{margin-top:16px;font-size:16px}.install-guide p{margin:6px 0 12px}@media print{.install-entry{display:none!important}}.offline-banner{color:#654500;background:#fff2cc;padding:10px 16px;font-size:14px;line-height:1.6}@media print{.offline-banner{display:none!important}}.simple-order{color:#19352b}.simple-title{outline:none;margin:0 0 8px;font-size:24px;line-height:1.45}.simple-hint{color:#52665c;margin:0 0 20px;font-size:16px;line-height:1.7}.simple-categories{flex-wrap:wrap;gap:6px;margin-bottom:10px;display:flex}.simple-categories .button{min-height:44px;padding:7px 12px;font-size:16px}.simple-products{gap:0;min-width:0;display:grid;overflow-x:auto}.simple-product{border-bottom:1px solid #e1e9e4;flex-direction:row;justify-content:space-between;align-items:center;gap:18px;min-width:max-content;padding:8px 0;display:flex}.simple-product strong{white-space:nowrap;overflow-wrap:normal;flex-shrink:0;min-width:0;font-size:18px;line-height:1.5}.simple-quantity{flex-shrink:0;align-items:center;gap:10px;font-size:18px;display:flex}.simple-quantity input{text-align:center;background:#fff;border:1px solid #a8bdb1;border-radius:8px;width:110px;min-height:44px;font-size:20px}.simple-quantity>span{min-width:2em}.supplier-receive-row{border:1px solid #dce5df;border-radius:10px;margin:16px 0;padding:16px}.supplier-receive-row>.button{margin:12px 10px 0 0}.supplier-receive-mode-bar{padding:12px 24px 0}.compact-standard-receive .modal-body{padding:14px 24px}.compact-standard-receive .info-strip{margin:0 0 10px;padding:9px 12px;font-size:13px}.compact-standard-receive .receive-entry-toolbar{background:#fafcfb;border:1px solid #dce5df;border-radius:10px;grid-template-columns:auto minmax(100px,1fr) minmax(170px,1fr) minmax(180px,1fr);align-items:end;gap:12px 20px;margin-bottom:16px;padding:14px;display:grid}.compact-standard-receive .receive-entry-toolbar>.button{white-space:nowrap;min-height:40px}.compact-standard-receive .receive-entry-toolbar .detail-summary{margin:0;padding:0;display:block}.compact-standard-receive .receive-entry-toolbar .detail-summary>div{flex-direction:column;align-items:flex-start;gap:6px;display:flex}.compact-standard-receive .receive-entry-toolbar .detail-summary strong{align-items:center;min-height:40px;display:flex}.compact-standard-receive .receive-entry-toolbar label{flex-direction:column;align-items:stretch;gap:6px;min-width:0;margin:0;font-size:13px;display:flex}.compact-standard-receive .receive-entry-toolbar small{font-size:13px}.compact-standard-receive .receive-entry-toolbar input,.compact-standard-receive .receive-entry-toolbar select{width:100%;min-width:0;height:40px;min-height:40px;margin:0;padding:7px 10px;font-size:14px}.compact-standard-receive .receive-entry-toolbar .detail-summary strong{font-size:14px}.compact-standard-receive .receive-entry-toolbar .receive-display-choice{min-width:0;margin:0}.compact-standard-receive .button{min-height:32px;padding:5px 11px;font-size:13px}.compact-standard-receive .receive-records th,.compact-standard-receive .receive-records td{padding:8px 10px;font-size:14px}.compact-standard-receive .receive-records .receive-group-heading th{padding:8px 10px}.compact-standard-receive .receive-records input{height:36px;min-height:36px;padding:6px 9px;font-size:14px}.compact-standard-receive .receive-price-unit{margin-bottom:3px;font-size:11px}.compact-standard-receive .receive-pricing-mode{margin:0;padding:2px 0;font-size:12px}.compact-standard-receive .receive-row-status,.compact-standard-receive .receive-incomplete{padding:2px 5px;font-size:11px}@media (max-width:760px){.compact-standard-receive .modal-body{padding:12px}.compact-standard-receive .receive-entry-toolbar{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;padding:12px}.compact-standard-receive .receive-entry-toolbar>.button{white-space:normal}}.supplier-receive-mode-bar .button{min-height:32px;padding:5px 12px;font-size:13px}.compact-supplier-receive .modal-body{padding:14px 24px}.compact-supplier-receive h3{margin:0 0 4px;font-size:17px}.compact-supplier-receive .form-note{margin:0 0 14px;font-size:13px}.compact-supplier-receive .supplier-receive-row{border-radius:8px;margin:0 0 12px;padding:10px 12px}.compact-supplier-receive legend{padding:0 6px;font-size:14px;font-weight:600}.compact-supplier-receive .form-grid{grid-template-columns:minmax(180px,1.8fr) repeat(3,minmax(85px,1fr)) minmax(140px,1.3fr);align-items:start;gap:10px;margin:0;display:grid}.compact-supplier-receive .different-price-unit .form-grid{grid-template-columns:minmax(160px,1.6fr) repeat(4,minmax(75px,1fr)) minmax(120px,1.3fr)}.compact-supplier-receive label,.compact-supplier-receive .supplier-field>label{gap:5px;margin:0;font-size:12px}.compact-supplier-receive input,.compact-supplier-receive select{width:100%;min-width:0;height:36px;min-height:36px;padding:6px 9px;font-size:14px}.compact-supplier-receive .supplier-receive-row>button{min-height:28px;margin:8px 10px 0 0;padding:4px 9px;font-size:12px}.compact-supplier-receive textarea{height:58px;min-height:58px;font-size:14px}@media (max-width:760px){.compact-supplier-receive .form-grid,.compact-supplier-receive .different-price-unit .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.compact-supplier-receive .supplier-field{grid-column:1/-1}.compact-supplier-receive .modal-body{padding:12px}.supplier-receive-mode-bar{padding:10px 12px 0}}.order-product-name select{flex-shrink:0;max-width:150px;min-height:38px}.order-purpose{border:0;min-width:0;margin:0 0 18px;padding:0}.order-purpose legend{margin-bottom:10px;font-weight:600}.order-purpose-options{flex-wrap:wrap;gap:10px;display:flex}.order-purpose-options .button{flex:1;min-height:44px}.simple-note{margin-top:12px;font-size:16px}.simple-note summary{cursor:pointer;padding:12px 0}.simple-note label,.simple-product-search label{gap:8px;font-size:16px;display:grid}.simple-note textarea,.simple-product-search input{width:100%;font:inherit;border:1px solid #baccc1;border-radius:8px;padding:12px}.simple-order-footer{z-index:2;padding-top:10px;padding-bottom:max(10px, env(safe-area-inset-bottom));background:#fff;position:sticky;bottom:0}.simple-order-footer .button{flex:1;min-height:48px;font-size:18px}.simple-review{margin:16px 0;padding:0;list-style:none}.simple-review li{border-bottom:1px solid #e1e9e4;justify-content:space-between;gap:18px;padding:18px 0;font-size:19px;line-height:1.5;display:flex}.simple-review strong{overflow-wrap:anywhere;min-width:0}.simple-review li span{white-space:nowrap}.simple-order-success{text-align:center;color:#155f4a;padding:50px 24px}.simple-order-success h2{margin:18px 0;font-size:30px}.simple-order-success p{font-size:18px;line-height:1.7}.simple-order-success .button{min-width:180px;min-height:52px;margin-top:20px;font-size:18px}.simple-search-results{flex-wrap:wrap;gap:8px;max-height:240px;margin:12px 0;display:flex;overflow-y:auto}.simple-search-results .button{white-space:normal;text-align:left;min-height:48px}.chef-workspace{background:#fff;max-width:800px;min-height:100dvh;margin:0 auto;padding:20px}.chef-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.chef-header h1{margin:0;font-size:23px}.chef-header>div{gap:14px;display:flex}.chef-header button{min-height:44px}.chef-navigation{gap:12px;margin-bottom:12px;display:flex}.chef-navigation button{flex:1;min-height:48px;font-size:20px}.chef-workspace .modal-body{padding:0 0 12px}.chef-orders .section-label{font-size:20px}.chef-order-card{border:1px solid #dbe6de;border-radius:12px;margin:14px 0;padding:16px}.chef-order-card summary{cursor:pointer;flex-wrap:wrap;align-items:center;gap:12px;min-height:48px;font-size:18px;display:flex}.chef-order-card summary>span:last-child{color:#52665c;font-size:15px}.chef-order-card small{margin-top:16px;display:block}@media (max-width:700px){.chef-workspace{padding:12px}.chef-header{align-items:flex-start}.chef-header h1{font-size:20px}.simple-product{gap:10px}.simple-product strong{font-size:18px}.simple-quantity{gap:6px;font-size:16px}.simple-quantity input{width:88px}.simple-categories{gap:6px}.simple-categories .button{padding:7px 10px}.simple-order-footer{gap:8px;padding-left:12px;padding-right:12px}}.summary-controls{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;margin:20px 0;display:grid}.summary-controls label{flex-direction:column;gap:8px;min-width:0;font-size:17px;display:flex}.summary-controls input{box-sizing:border-box;border:1px solid #baccc1;border-radius:8px;width:100%;min-width:0;max-width:100%;min-height:48px;padding:10px;font-size:17px}.summary-controls button{min-height:48px}.summary-controls input::-webkit-date-and-time-value{text-align:left;min-width:0}@media (max-width:640px){.order-summary-view .simple-title{margin-bottom:14px;font-size:20px;line-height:1.4}.order-summary-view .summary-controls{grid-template-columns:minmax(0,1fr);gap:10px;margin:14px 0}.order-summary-view .summary-controls label{font-size:14px}.order-summary-view .summary-controls input{appearance:none;font-size:16px}.order-summary-view .summary-controls button{justify-content:center;width:100%;min-height:44px;font-size:15px}.order-summary-view .simple-hint{margin:12px 0 8px;font-size:15px;line-height:1.6}.order-summary-view .form-note{margin:0 0 14px;font-size:13px;line-height:1.6}}.summary-mode-bar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin:16px 0;display:flex}.summary-mode{background:#eef3f1;border-radius:10px;gap:4px;padding:4px;display:flex}.summary-mode button{color:#405b52;min-height:44px;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:7px;padding:8px 22px}.summary-mode button[aria-pressed=true]{color:#fff;background:#16775f}.order-summary-view .summary-category h3{color:#174c3e;background:#edf4f1;align-items:baseline;gap:8px;margin:10px 0 0;padding:6px 10px;font-size:14px;line-height:1.4;display:flex}.order-summary-view .summary-category h3 small{font-size:12px;font-weight:400;line-height:inherit;margin:0;display:inline}.order-summary-view .simple-review{margin:0}.order-summary-view .simple-review li{align-items:baseline;gap:12px;padding:8px 10px;font-size:15px;line-height:1.4}.order-summary-view .simple-review strong{font-size:inherit;font-weight:500}.order-summary-view .simple-review li span{font-size:inherit;font-variant-numeric:tabular-nums;flex-shrink:0}.order-summary-view .summary-columns{margin-top:10px;padding:0 10px;font-size:13px}.order-summary-view .simple-title{margin:0 0 12px;font-size:20px}.order-summary-view .simple-hint{margin:10px 0 4px;font-size:14px}.order-summary-view .form-note{margin:4px 0;font-size:12px;line-height:1.5}.order-summary-view .summary-mode-bar{margin:10px 0}.modal:has(.order-summary-view)>header h2{font-size:20px}@media (max-width:640px){.order-summary-view .simple-review li{gap:10px;padding:7px 6px;font-size:14px}.order-summary-view .summary-category h3{margin-top:8px;padding:5px 6px;font-size:13px}.order-summary-view .summary-columns{padding:0 6px;font-size:12px}.order-summary-view .simple-title{font-size:18px}}.order-print-preview .print-category th,#order-print-root .print-category th{text-align:left;background:#edf4f1;width:auto}@media (max-width:400px){.summary-mode-bar{gap:8px}.summary-mode button{padding:8px 16px}.summary-mode-bar>.button{padding:8px 12px}}.preview-visibility{border:1px solid #dce7e1;border-radius:8px;margin:10px 16px;padding:10px;font-size:14px}.order-summary-view>.preview-visibility{margin:10px 0}.preview-visibility summary{cursor:pointer;min-height:32px;font-weight:600;line-height:1.6}.preview-visibility summary span{color:#61766c;margin-left:8px;font-size:12px;font-weight:400;display:inline}.visibility-actions{flex-wrap:wrap;gap:8px;margin:8px 0;display:flex}.preview-visibility fieldset{border:1px solid #e0e9e5;min-width:0;margin:10px 0;padding:8px}.preview-visibility legend{padding:0 5px;font-weight:600}.preview-visibility label{flex-direction:row;align-items:center;gap:8px;min-height:40px;margin:0;font-size:14px;display:flex}.preview-visibility input[type=checkbox]{accent-color:#16775f;flex:0 0 18px;width:18px;height:18px;min-height:0;margin:0;padding:0}.preview-visibility label span{overflow-wrap:anywhere;min-width:0}.preview-visibility small{margin-left:5px;font-size:12px;display:inline}.visibility-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px;display:grid}.preview-visibility p{color:#61766c;margin:8px 0 0;font-size:12px}@media (max-width:640px){.visibility-products{grid-template-columns:minmax(0,1fr)}}@media print{.preview-visibility{display:none!important}}.summary-columns{color:#52665c;justify-content:space-between;margin-top:24px;display:flex}.chef-navigation{gap:8px}.chef-navigation .button{white-space:nowrap;padding:10px;font-size:18px}.order-preview-meta{background:#f3f8f5;border-radius:10px;margin:16px 0;padding:16px}.order-preview-meta div{grid-template-columns:80px minmax(0,1fr);gap:10px;padding:6px 0;font-size:17px;display:grid}.order-preview-meta dt{color:#52665c}.order-preview-meta dd{overflow-wrap:anywhere;margin:0}.order-print-preview{background:#eef2f3;padding:20px}.order-print-preview .order-print-document{color:#172b35;background:#fff;padding:24px}.order-print-preview h1{text-align:center;margin:0 0 20px;font-size:22px}.order-print-preview dl{margin:0 0 18px;font-size:14px;line-height:1.7}.order-print-preview dl div{gap:12px;display:flex}.order-print-preview dt{flex:0 0 60px}.order-print-preview dd{overflow-wrap:anywhere;margin:0}.order-print-preview table{table-layout:fixed;border-collapse:collapse;width:100%;min-width:0}.order-print-preview th,.order-print-preview td{color:#172b35;white-space:normal;overflow-wrap:anywhere;border:1px solid #aebbc1;padding:10px 8px;font-size:14px;line-height:1.5}.order-print-preview th{background:#f4f7f7}.order-print-preview th:first-child{width:12%}.order-print-preview th:nth-child(2){width:60%}.order-print-preview th:nth-child(3){width:28%}.order-print-preview p{margin-top:16px;font-size:14px}.order-print-preview .print-note{white-space:pre-wrap;overflow-wrap:anywhere}@media (max-width:640px){.order-print-preview{padding:10px}.order-print-preview .order-print-document{padding:12px}.order-print-preview h1{font-size:18px}.order-print-preview th,.order-print-preview td{padding:8px 4px;font-size:13px}.modal:has(.order-print-preview) .modal-footer{gap:8px}.modal:has(.order-print-preview) .modal-footer .button{min-height:44px;padding:8px 12px}}.pull-refresh-indicator{z-index:1000;top:calc(env(safe-area-inset-top,0px) + 12px);color:#105e48;text-align:center;pointer-events:none;background:#fff;border-radius:24px;max-width:calc(100vw - 24px);padding:12px 20px;font-size:14px;line-height:1.5;position:fixed;left:50%;transform:translate(-50%);box-shadow:0 3px 18px #142a2533}@media print{.pull-refresh-indicator{display:none}}.order-print-preview tbody tr:last-child td{border-bottom:1px solid #aebbc1}.order-image-preview{background:#eef2f3;padding:16px}.order-image-preview p{margin:0 0 12px;font-size:14px;line-height:1.6}.order-image-preview img{background:#fff;width:100%;height:auto;display:block}:is(.modal:has(.order-print-preview) .modal-footer,.modal:has(.order-image-preview) .modal-footer){flex-wrap:wrap;gap:8px}.modal:has(.order-image-preview) .modal-footer .button{min-height:44px}@media print{#order-print-root tbody tr:last-child td{border-bottom:1px solid #000}}.account-manager{padding:18px}.account-toolbar{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:16px;display:flex}.account-toolbar p{flex:200px;line-height:1.6}.account-card{border:1px solid var(--border);border-radius:10px;margin-bottom:12px;padding:16px}.account-card small{overflow-wrap:anywhere;color:var(--muted);margin-top:6px;display:block}.account-card p{margin:12px 0;line-height:1.7}.account-actions{flex-wrap:wrap;gap:8px;display:flex}.account-fields{border:0;gap:14px;min-width:0;margin:0;padding:18px;display:grid}.account-fields>label{gap:6px;display:grid}.account-fields input:not([type=checkbox]){border:1px solid var(--border);border-radius:8px;width:100%;min-width:0;min-height:44px;padding:10px;font-size:16px}.account-permissions{gap:4px;display:grid}.account-permissions label,.account-fields .account-toggle{align-items:center;gap:10px;min-height:44px;display:flex}.account-fields input[type=checkbox]{width:20px;height:20px;accent-color:var(--green);flex-shrink:0}.account-card .button{min-height:44px}.account-fields .account-permissions label,.account-fields label.account-toggle{text-align:left;flex-direction:row;justify-content:flex-start}.product-photo{object-fit:cover;background:#eef4f1;border-radius:7px;flex:0 0 44px;width:44px;height:44px}.photo-placeholder{color:#799088;justify-content:center;align-items:center;font-size:13px;display:inline-flex}.product-photo-editor{gap:8px;min-width:0;display:grid}.photo-editor-row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.photo-editor-row .product-photo{flex-basis:72px;width:72px;height:72px}.photo-upload-label{cursor:pointer;min-height:44px;position:relative;overflow:hidden}.photo-upload-label input[type=file]{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.photo-upload-label:focus-within{outline-offset:2px;outline:2px solid #15775e}.product-photo-editor small{color:#6d8179;font-size:12px}.order-product-name{align-items:center;gap:8px;min-width:0;display:flex}@media (max-width:640px){.order-product-name .product-photo{flex-basis:36px;width:36px;height:36px}}.permission-presets{flex-wrap:wrap;gap:8px;margin:8px 0;display:flex}.permission-group{border:1px solid var(--border);border-radius:10px;min-width:0;margin-top:8px;padding:10px 12px}.permission-group h3{color:var(--green);margin:0 0 4px;font-size:14px}.permission-group label{font-size:14px;line-height:1.45}.account-permissions small{color:var(--muted);line-height:1.6}.product-detail-link:disabled{opacity:1;cursor:default}.category-manager{border:1px solid var(--border);background:#fff;border-radius:12px;padding:20px}.category-create{align-items:end;gap:12px;margin-bottom:16px;display:flex}.category-create label,.category-rename label{flex:1;gap:6px;min-width:0;display:grid}.category-create input,.category-rename input{border:1px solid var(--border);border-radius:8px;width:100%;min-width:0;min-height:44px;padding:10px;font-size:16px}.category-row{border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;padding:12px 0;display:flex}.category-title{overflow-wrap:anywhere;min-width:0}.category-title small{color:var(--muted);margin-top:4px;display:block}.category-actions{flex-shrink:0;gap:6px;display:flex}.category-actions .button{min-width:44px;min-height:44px}.category-rename{align-items:end;gap:12px;width:100%;display:flex}@media (max-width:600px){.category-manager{padding:12px}.category-row{flex-wrap:wrap;gap:8px}.category-title{flex:100%}.category-actions{margin-left:auto}.category-rename{flex-wrap:wrap}.category-rename label{flex-basis:100%}}.heading-actions[hidden]{display:none}.order-print-preview .category-column-table th:first-child,#order-print-root .category-column-table th:first-child{width:16%}.order-print-preview .category-column-table th:nth-child(2),#order-print-root .category-column-table th:nth-child(2){width:12%}.order-print-preview .category-column-table th:nth-child(3),#order-print-root .category-column-table th:nth-child(3){width:46%}.order-print-preview .category-column-table th:nth-child(4),#order-print-root .category-column-table th:nth-child(4){width:26%}.order-print-preview td.merged-category,#order-print-root td.merged-category{vertical-align:middle;text-align:center;background:#edf4f1;font-weight:600}.product-unit-field{align-content:start;gap:10px;min-width:0;display:grid}.order-print-preview .print-product-name,#order-print-root .print-product-name{text-align:right}.finance-more{border:1px solid var(--border,#dbe5e2);background:#fff;border-radius:12px;margin:12px 0;padding:12px 16px}.finance-more>summary{cursor:pointer;color:#526762;font-size:14px;font-weight:600}.finance-more[open]>summary{margin-bottom:14px}.finance-more .finance-more{margin:10px 0}.finance-more>label,.finance-more>.finance-import-actions{margin-top:12px}.finance-simple-actions{flex-wrap:wrap;gap:10px;margin:16px 0;display:flex}.finance-daily-sections{gap:18px;display:grid}.finance-section-heading{border-bottom:1px solid #e4ebe8;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding:16px 20px;display:flex}.finance-section-heading h3{margin:0;font-size:17px}.finance-section-heading>span{color:#63756f;font-size:13px}.purchase-reference-detail{border:1px solid #e4ebe8;border-radius:12px;margin:18px 0;overflow:hidden}.purchase-reference-detail table{width:100%;min-width:0}.purchase-reference-detail th:last-child,.purchase-reference-detail td:last-child{text-align:right}.purchase-reference-detail>button{margin:12px 16px}@media (max-width:600px){.finance-simple-actions{grid-template-columns:1fr 1fr;display:grid}.finance-simple-actions>:last-child:nth-child(3){grid-column:1/-1}.finance-section-heading{padding:14px}.finance-more{padding:12px}}.finance-simple-totals{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px;display:grid}.finance-simple-totals>div{background:#fff;border:1px solid #dfe8e4;border-radius:12px;padding:20px}.finance-simple-totals span{color:#61766c;margin-bottom:9px;font-size:13px;display:block}.finance-simple-totals strong{overflow-wrap:anywhere;font-size:clamp(18px,2vw,28px);display:block}.income-fields label.finance-check-row{flex-direction:row;justify-content:flex-start;align-items:center;gap:9px;display:flex}.income-fields label.finance-check-row input{flex:0 0 18px;width:18px;height:18px;min-height:0;margin:0}@media (max-width:600px){.finance-simple-totals{gap:6px}.finance-simple-totals>div{padding:14px 10px}.finance-simple-totals strong{font-size:17px}}.modal.expanded{width:min(1320px,100vw - 32px);max-width:calc(100vw - 32px);max-height:94dvh}.history-note{gap:8px;min-width:0;display:grid}.history-note>select{min-width:0;max-width:100%;font-size:14px}.finance-date-heading{background:#f2f7f5;border-top:1px solid #dbe5e2;border-bottom:1px solid #dbe5e2;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding:12px 20px;display:flex}.finance-date-heading h4{margin:0;font-size:15px}.finance-date-heading>span{color:#526762;font-size:13px}.finance-simple-totals .finance-negative{color:#c0392b}.finance-simple-totals .finance-positive{color:#16765a}@media (max-width:600px){.finance-date-heading{padding:12px 14px}}.purchase-payment-summary{border-bottom:1px solid #dbe5e2;padding:14px 0}.purchase-payment-summary:last-child{border-bottom:0}.purchase-payment-heading{flex-wrap:wrap;justify-content:space-between;gap:8px;display:flex}.purchase-payment-summary p{overflow-wrap:anywhere;margin:10px 0 0}.receipt-unit-editor{margin:12px 0}.receipt-unit-editor fieldset{border:0;min-width:0;padding:0}.receipt-unit-line{border-bottom:1px solid #dbe5e2;margin-bottom:12px;padding:12px 0}.receipt-unit-line>strong{margin-bottom:10px;display:block}.finance-page{padding-top:16px}.finance-page>.page-heading{margin-bottom:12px}.finance-page>.page-heading>div:first-child{flex-wrap:wrap;align-items:baseline;gap:8px 16px;display:flex}.finance-page>.page-heading h1{font-size:26px}.finance-page>.page-heading p{margin:0}.finance-page .finance-workspace{max-width:none}.finance-page .finance-overview{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px 24px;margin-bottom:8px}.finance-page .finance-overview>*{grid-column:1/-1}.finance-page .finance-overview>.overview-date{flex-wrap:wrap;grid-column:1;align-items:center;gap:8px}.finance-page .overview-date label{white-space:nowrap;flex-direction:column;align-items:flex-start;gap:4px;max-width:none;display:flex}.finance-page .overview-date input{width:150px;min-height:40px;padding:8px}.finance-page .finance-overview>.finance-overview-heading{grid-column:2}.finance-page .finance-overview-heading h2{margin:0;font-size:18px}.finance-page .finance-overview-heading .finance-import-actions{margin:0}.finance-page .finance-simple-totals{gap:10px;margin-top:0}.finance-page .finance-simple-totals>div{padding:12px 16px}.finance-page .finance-simple-totals span{margin-bottom:4px}.finance-page .finance-overview>.form-note,.finance-page .income-help{margin:0}.finance-page .finance-simple-actions{margin:8px 0}.finance-page .finance-workspace>.finance-more{margin:8px 0;padding:10px 14px}.finance-page .finance-daily-sections{gap:12px}.finance-page .finance-section-heading{padding:12px 16px}@media (max-width:900px){.finance-page .finance-overview{grid-template-columns:minmax(0,1fr)}.finance-page .finance-overview>.finance-overview-heading{grid-column:1}}@media (max-width:600px){.finance-page{padding-top:12px}.finance-page .overview-date label{flex:1}.finance-page .overview-date input{width:100%}.finance-page>.page-heading{margin-bottom:10px}.finance-page .finance-simple-totals{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.finance-page .finance-simple-totals>div{min-width:0;padding:12px}.finance-page .finance-simple-totals strong{font-variant-numeric:tabular-nums;font-size:clamp(18px,5vw,22px);line-height:1.3}.finance-page .finance-simple-totals small{margin-top:6px;line-height:1.5;display:block}.finance-page .finance-simple-totals>div:last-child{grid-column:1/-1;justify-content:space-between;align-items:center;gap:12px;display:flex}.finance-page .finance-simple-totals>div:last-child span{flex-shrink:0;margin-bottom:0}.finance-page .finance-overview-heading{align-items:stretch;gap:8px}.finance-page .finance-overview-heading>div{width:100%;min-width:0}.finance-page .finance-overview-heading .finance-import-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.finance-page .finance-overview-heading .finance-import-actions button{border:1px solid var(--border);white-space:nowrap;background:#fff;border-radius:6px;justify-content:center;align-items:center;width:100%;min-height:44px;margin:0;padding:8px;font-size:14px;line-height:1.4;display:flex}.finance-page .finance-overview-heading .finance-import-actions button[aria-pressed=true]{background:var(--green);border-color:var(--green);color:#fff}}.order-organization-actions{flex-wrap:wrap;gap:8px;display:flex}.order-organization-body{gap:16px;padding:20px;display:grid}.order-organization-body p{margin:0}.order-organization-body>label{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.order-organization-body select{max-width:100%}.order-organization-list{gap:8px;display:grid}.order-organization-choice{border:1px solid var(--border);border-radius:8px;align-items:center;gap:12px;padding:12px;display:flex}.order-organization-choice>span:first-of-type{flex:1;min-width:0}.order-organization-choice small{color:var(--muted);overflow-wrap:anywhere;margin-top:4px;display:block}.order-organization-choice input[type=number]{width:100px}.order-organization-body .order-organization-choice{text-align:left;flex-direction:row}.order-date-selection{white-space:nowrap;align-items:center;gap:12px;display:flex}input.order-select-checkbox{width:18px;height:18px;min-height:18px;accent-color:var(--green);cursor:pointer;flex:0 0 18px;margin:0;padding:0}input.order-select-checkbox:disabled{cursor:default;opacity:.45}.order-selection-hint{color:var(--muted);align-self:center;font-size:12px}.order-organization-body .order-organization-choice{box-sizing:border-box;width:100%;min-width:0}.order-organization-body .order-organization-choice>span:first-of-type{flex:1 1 0;width:auto;min-width:0}.order-organization-body .order-organization-choice input[type=number]{flex:0 0 100px;width:100px;max-width:100px;min-height:44px}.order-organization-choice strong{overflow-wrap:anywhere}.mobile-orders .order-card>header{justify-content:flex-start}.mobile-orders .order-card>header .badge{margin-left:auto}.order-estimate-note{color:var(--muted);white-space:normal;margin-top:4px;font-size:12px;font-weight:400;display:block}.order-quick-quantity{flex-wrap:wrap;align-items:center;gap:5px;display:flex}.order-quick-quantity .quantity-input{flex:52px;width:76px;max-width:100%;min-height:40px}.order-quick-quantity small{flex-basis:100%}.operating-statistics{margin:16px 0}.operating-statistics-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;display:grid}.operating-statistics-row{overflow-wrap:anywhere;border-bottom:1px solid #dfe8e4;justify-content:space-between;gap:14px;margin:0;padding:9px 0;display:flex}.operating-statistics-row small{color:#61766c;display:block}.operating-statistics-row b{flex-shrink:0}.operating-statistics details{margin-top:18px}@media (max-width:600px){.operating-statistics-grid{grid-template-columns:1fr;gap:8px}}.panel.operating-statistics{padding:16px}.panel.operating-statistics h2{padding:0}.daily-accounts-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin:20px 0 10px;display:flex}.daily-accounts-heading small{color:var(--muted)}.daily-accounts-scroll{border:1px solid #cbd8d2;border-radius:10px;max-width:100%;overflow:auto}.daily-accounts-table{border-collapse:separate;border-spacing:0;font-variant-numeric:tabular-nums;width:100%}.daily-accounts-table caption{text-align:left;color:#61766c;padding:12px}.daily-accounts-table th,.daily-accounts-table td{white-space:nowrap;text-align:right;border-bottom:1px solid #dfe8e4;border-right:1px solid #dfe8e4;min-width:110px;padding:14px 12px}.daily-accounts-table thead th{text-align:center;background:#eef4f1}.daily-accounts-table tr>:first-child{z-index:1;text-align:left;background:#fff;min-width:160px;position:sticky;left:0;box-shadow:1px 0 #cbd8d2}.daily-accounts-table thead tr>:first-child{z-index:2;background:#eef4f1}.daily-accounts-table .daily-accounts-total>*{background:#eef4f1;font-weight:700}.daily-accounts-table .daily-accounts-period-total{background:#f5f8f6;font-weight:700}.daily-accounts-table tr:last-child>*{border-bottom:0}.daily-accounts-table tr>:last-child{border-right:0}@media (max-width:600px){.daily-accounts-table th,.daily-accounts-table td{min-width:100px;padding:12px 9px}.daily-accounts-table tr>:first-child{min-width:138px}}.operating-statistics .statistics-negative{color:#c62828}.order-purpose-label{color:#52685e;white-space:nowrap;background:#edf5f1;border-radius:6px;padding:3px 8px;font-size:12px;line-height:1.5;display:inline-block}.order-purpose-label.staff{color:#305d95;background:#eaf2fc}.order-date-selection+.order-purpose-label{margin-top:8px}.order-desktop tbody td{vertical-align:top;padding-top:18px;padding-bottom:18px}.order-date-cell{align-items:flex-start}.order-date-cell .order-select-checkbox{margin-top:3px}.order-date-meta{justify-items:start;gap:6px;display:grid}.order-date-meta .row-link{line-height:24px}.order-date-meta .order-purpose-label{padding:2px 7px;font-size:11px}.order-desktop .order-actions{flex-wrap:wrap;justify-content:flex-start;align-items:flex-start}.order-desktop .order-item-summary{gap:6px;line-height:1.7}.mobile-orders .order-card>header{flex-wrap:wrap;gap:8px}.received-supplier-fields .supplier-field>label{display:none}.received-supplier-fields>div+div{margin-top:8px}.received-supplier-fields>small{margin-top:4px;display:block}.order-desktop .order-action-group{align-items:center;gap:6px;max-width:260px}.order-action-group .button,.order-card footer .button{white-space:nowrap;border-radius:8px;min-height:36px;padding:7px 10px;font-size:13px;line-height:1.5}.order-action-detail{order:1}.order-action-receipts{color:var(--muted);background:0 0;order:2}.order-action-billing{order:3}.order-action-receive{order:0}.order-action-group .button:focus-visible{outline:2px solid var(--green);outline-offset:3px}@media (max-width:700px){.order-card footer{gap:8px}.order-card footer .button{flex:auto;min-height:44px}}.received-supplier-display{justify-content:space-between;align-items:center;gap:12px;display:flex}.received-supplier-display span{overflow-wrap:anywhere}.received-supplier-display .text-button{flex-shrink:0;min-height:36px;padding:6px 8px}.received-supplier-edit-actions{gap:8px;margin-top:8px;display:flex}.cash-panel{padding:24px}.cash-entry-actions{border-bottom:1px solid var(--line,#e2e8e5);margin-bottom:20px;padding-bottom:20px}.cash-entry-actions h3{margin:0 0 12px}.cash-toolbar{flex-wrap:wrap;align-items:end;gap:10px;margin-bottom:24px;display:flex}.cash-toolbar label{gap:6px;display:grid}.cash-hero{flex-wrap:wrap;justify-content:space-between;align-items:start;gap:14px;display:flex}.cash-hero h2{margin:8px 0}.cash-total{background:#ecf5ef;border-radius:12px;flex-basis:100%;gap:6px;padding:22px;display:grid}.cash-total strong{color:#17634d;font-variant-numeric:tabular-nums;font-size:clamp(28px,4vw,40px)}.cash-total small,.cash-coverage small{color:#5a6a62}.cash-coverage{background:#f7f9f6;border-left:3px solid #5b8f76;gap:5px;margin:16px 0;padding:14px 16px;font-size:14px;display:grid}.cash-equation{flex-wrap:wrap;gap:12px;padding:16px 0;display:flex}.cash-equation>*{text-align:left;flex:150px;padding:10px}.cash-equation button,.cash-account-card button{color:#17634d;cursor:pointer;font:inherit;background:0 0;border:0}.cash-equation b{margin-top:5px;display:block}.cash-account-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.cash-account-card{border:1px solid #dce5de;border-radius:12px;min-width:0;padding:16px}.cash-account-card h3{margin:0 0 10px;font-size:16px}.cash-account-card .cash-account-balance{text-align:left;gap:5px;padding:6px 0;font-size:24px;font-weight:650;display:grid}.cash-account-balance small{font-size:12px;font-weight:400}.cash-account-card dl{gap:8px;margin-bottom:0;display:grid}.cash-account-card dl div{justify-content:space-between;gap:12px;font-size:14px;display:flex}.cash-account-card dd{font-variant-numeric:tabular-nums;margin:0}.cash-account-card dd button{text-underline-offset:3px;padding:0;text-decoration:underline}.cash-unassigned{background:#fff8e7;border-radius:10px;margin:16px 0;padding:16px}.cash-settings{border-top:1px solid #dce5de;margin:20px 0;padding-top:16px}.cash-settings summary{cursor:pointer}.cash-share{justify-items:center;gap:12px;margin-top:24px;display:grid}.cash-share img{border:1px solid #dce5de;width:min(100%,450px);height:auto}.cash-detail{grid-template-columns:90px 1fr;gap:10px;display:grid}.cash-detail dd{overflow-wrap:anywhere;margin:0}.cash-note{white-space:pre-wrap;overflow-wrap:anywhere}.cash-editor-fields{border:0;gap:18px;min-width:0;margin:0;padding:0;display:grid}.modal:has(.cash-editor-close){width:min(600px,100vw - 24px)}.cash-close-intro{color:#536a60;background:#f0f6f3;border-radius:10px;padding:12px 14px;font-size:13px;line-height:1.7}.cash-close-accounts{gap:12px;display:grid}label.cash-close-account{background:#fff;border:1px solid #e0e8e3;border-radius:10px;grid-template-columns:minmax(0,1fr) minmax(150px,210px);align-items:center;gap:16px;padding:14px 16px;display:grid}.cash-close-account-name{gap:5px;display:grid}.cash-close-account-name strong{color:#243e33;font-size:15px}.cash-close-account-name small{font-variant-numeric:tabular-nums}.cash-close-actual{gap:5px;display:grid}.cash-close-actual small{text-align:right;font-size:11px}.cash-close-actual input{text-align:right;font-variant-numeric:tabular-nums;color:#203c31;height:44px;font-size:18px;font-weight:600}.cash-editor label.cash-confirm-check{color:#304d40;cursor:pointer;background:#f5f8f6;border-radius:10px;flex-direction:row;justify-content:flex-start;align-items:center;gap:10px;min-height:48px;padding:12px 14px;line-height:1.5;display:flex}.cash-confirm-check input[type=checkbox]{accent-color:#16765b;width:19px;height:19px;min-height:0;box-shadow:none;flex:0 0 19px;margin:0;padding:0}.cash-editor-close textarea{resize:vertical;min-height:76px}.cash-editor-close .modal-footer .button{min-height:44px}@media (max-width:600px){.cash-editor-close .modal-body{padding:16px}.cash-editor-fields{gap:16px}label.cash-close-account{grid-template-columns:minmax(0,1fr) minmax(120px,46%);gap:10px;padding:12px}.cash-close-account-name strong{font-size:14px}.cash-close-actual input{font-size:17px}.cash-editor-close .modal-footer{padding:12px 16px}.cash-editor-close .modal-footer .primary{flex:1}}.cash-advances,.cash-opening-advances{border:1px solid #dce5de;border-radius:12px;margin:20px 0;padding:16px}.cash-advances h3{flex-wrap:wrap;justify-content:space-between;gap:12px;margin-top:0;display:flex}.cash-advances .finance-row{text-align:left;width:100%}.cash-advances .finance-row span{overflow-wrap:anywhere;min-width:0}.cash-advance-payment,.cash-opening-advance{border-top:1px solid #dce5de;padding:12px 0}.cash-opening-advance{gap:10px;display:grid}.settings-workspace{gap:20px;max-width:1100px;display:grid}.settings-panel{gap:16px;padding:24px;display:grid}.settings-panel h2{font-size:19px}.settings-field{gap:8px;max-width:460px;display:grid}.settings-field select{border:1px solid var(--border);width:100%;min-height:44px;color:var(--ink);background:#fff;border-radius:8px;padding:10px 12px}.settings-menu-options{border:1px solid var(--border);border-radius:10px;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 20px;padding:14px;display:grid}.settings-menu-options legend{padding:0 6px}.settings-menu-options label,label.settings-switch{text-align:left;flex-direction:row;justify-content:flex-start;align-items:center;gap:10px;min-height:44px;display:flex}.settings-menu-options small{margin-left:auto}.settings-menu-options input,.settings-switch input{width:18px;height:18px;min-height:0;accent-color:var(--green);flex:0 0 18px;margin:0}.settings-actions{flex-wrap:wrap;gap:10px;display:flex}.settings-balances{gap:8px;margin-top:16px;display:grid}@media (max-width:700px){.settings-panel{padding:16px}.settings-menu-options{grid-template-columns:1fr}.settings-actions .button{flex:auto}}.cash-shared{max-width:1050px;margin:24px auto;padding:0 16px 36px}.cash-panel button:focus-visible{outline-offset:3px;outline:2px solid #17634d}@media (max-width:700px){.cash-panel{padding:16px}.cash-account-grid{grid-template-columns:1fr}.cash-toolbar>*{flex:160px}.cash-equation>*{flex-basis:40%}.cash-shared{margin-top:12px;padding:0 8px 24px}.cash-account-card dd button{min-height:32px}}.finance-expense-amount{color:#c0392b}
.simple-category-list,.simple-category-tools{border-top:1px solid var(--border);flex-wrap:wrap;flex-basis:100%;gap:10px;width:100%;margin-top:4px;padding-top:12px;display:flex}.button.order-search-product{color:#245c99;background:#e7f1ff;border-color:#afcaed;font-weight:700}.button.order-search-product:hover:not(:disabled),.button.order-search-product.active{background:#d4e6ff;border-color:#689acf}.simple-category-hint{display:none}.product-detail-link{width:100%;min-height:44px;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0;display:block}.product-detail-link:hover{text-decoration:underline}.product-detail-link:focus-visible{outline:2px solid var(--muted);outline-offset:3px}.product-detail-metadata{gap:10px;margin:0 0 16px;display:grid}.product-detail-metadata dt{color:var(--muted);font-size:12px}.product-detail-metadata dd{overflow-wrap:anywhere;margin:3px 0 0}@media screen{:root{--muted:#60756c;--red:#b83d36;--border:#dfe7e3;--radius:12px}body{line-height:1.5}.button{border-radius:9px;min-height:44px;font-size:14px}.button.small{min-height:36px}.icon-button{border-radius:9px;width:44px;height:44px}.text-button{min-height:40px;font-size:13px}.panel,.metrics{box-shadow:0 2px 8px #142a2504}.page-heading h1{letter-spacing:0;font-size:28px}.page-heading p,.form-note,.modal-header p,td small,.product-cell small,.table-footer,.panel-footnote,.page-footer,.audit-fields dt,.empty p{color:var(--muted)}.form-note,.modal-header p{line-height:1.7}.badge.amber{color:#895510}.badge.blue{color:#315f9f}.badge.green{color:#24694c}.badge.red{color:#a63e32}.search{background:#fff;border-radius:9px;min-height:44px}.search:focus-within{border-color:var(--green);box-shadow:0 0 0 3px #16765b14}.search button{min-height:40px;padding-inline:12px 2px}input,select,textarea{border-radius:8px}input::placeholder,textarea::placeholder{color:#6b7d74}input[type=checkbox]{accent-color:var(--green)}.tabs>button{min-height:44px}.product-cell>div{min-width:0}.product-cell strong{font-weight:600}.product-icon{flex-shrink:0}.unit-tag{color:#23634e;background:#edf5f1;border-radius:5px;padding:2px 8px;font-weight:600;display:inline-block}.record-actions .text-button{padding-inline:10px}.record-actions .text-button:hover{background:#eff6f2;border-radius:6px}.record-actions .stock-action{margin-top:2px}.modal{overscroll-behavior:contain}.modal-header{align-items:center;gap:12px;padding:18px 22px}.modal-header h2{font-size:20px}.modal-header>div{overflow-wrap:anywhere;min-width:0}.modal-footer{flex-wrap:wrap;gap:10px}.modal-footer .button{white-space:normal}.preview-visibility summary{align-content:center;min-height:44px;display:list-item}.preview-visibility label{min-height:44px}.summary-controls{margin-block:16px}.summary-controls label{font-size:14px}.chef-workspace{padding:24px}.chef-header{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:16px}.chef-header h1{white-space:nowrap;flex:1;font-size:22px}.chef-header button{padding:8px;font-size:13px}.chef-header>div{gap:4px}.chef-navigation{background:#eef3f0;border-radius:12px;gap:4px;margin-bottom:18px;padding:4px}.chef-navigation .button{box-shadow:none;background:0 0;border-color:#0000;font-size:16px}.chef-navigation .button.primary{background:var(--green)}.simple-categories{border-bottom:1px solid var(--border);gap:8px;margin-bottom:6px;padding-bottom:14px}.simple-categories .button{font-size:14px}.simple-product{border-radius:8px;gap:12px;padding:12px 8px}.simple-product[data-selected=true]{background:#edf7f1}.simple-product strong{font-size:17px;font-weight:600}.simple-quantity{min-width:0}.simple-quantity>span{color:#23634e;overflow-wrap:anywhere;max-width:5em;font-size:14px}.simple-quantity input{width:96px;font-size:18px}.simple-order-footer{padding-inline:0;box-shadow:0 -6px 12px #142a2505}.simple-order-footer .button{font-size:16px}.simple-review li{padding-block:12px;font-size:16px}.simple-note summary{min-height:44px;font-size:14px}.login-card{border-radius:16px}}@media screen and (max-width:1050px){.responsive-records{overflow:visible}.responsive-records table,.responsive-records tbody{width:100%;display:block}.responsive-records thead{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.responsive-records tbody tr{border-bottom:1px solid var(--border);grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;padding:16px;display:grid}.responsive-records tbody tr:last-child{border-bottom:0}.responsive-records td,.data-panel .responsive-records td{white-space:normal;overflow-wrap:anywhere;border:0;min-width:0;padding:0;font-size:14px;display:block;text-align:left!important}.responsive-records td[data-label]:before{content:attr(data-label);color:var(--muted);margin-bottom:3px;font-size:12px;font-weight:400;display:block}.responsive-records td:first-child,.responsive-records .record-actions,.record-description{grid-column:1/-1}.product-records .product-cell{align-items:flex-start;gap:10px}.product-records .product-cell strong{font-size:16px;line-height:1.6}.product-records .product-cell small{margin-top:3px;font-size:12px}.responsive-records td.record-actions,.data-panel .responsive-records td.record-actions{border-top:1px solid #edf1ee;flex-wrap:wrap;gap:8px;padding-top:10px;display:flex}.product-records tbody tr{gap:8px;padding:10px 12px}.product-records .product-cell{align-items:center}.product-records .product-icon,.product-records .product-photo{flex:0 0 32px;width:32px;height:32px}.inventory-records tbody tr{grid-template-columns:repeat(4,minmax(0,1fr))}.catalog-records tbody tr{grid-template-columns:repeat(3,minmax(0,1fr))}.detail-records tbody tr,.receive-records tbody tr{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:14px 0}.detail-records td:first-child strong,.receive-records td:first-child strong{font-size:16px}.receive-records td:first-child{grid-column:auto}.receive-records .receive-quantity-cell{grid-column:1}.receive-records .quantity-input,.detail-records .quantity-input{width:100%;min-width:0;max-width:160px}.account-toolbar>p{flex-basis:100%}.record-actions .text-button{border:1px solid var(--border);border-radius:8px;justify-content:center;margin:0;padding:8px 16px;font-size:14px}.record-actions .text-button:first-child{background:#edf5f1;border-color:#d4e7dd}.responsive-records .row-link{white-space:normal;overflow-wrap:anywhere;min-height:44px;font-size:14px}.responsive-records .log-summary{white-space:normal;max-width:none;font-size:13px}}@media screen and (max-width:700px){.main{padding:20px 14px}.sidebar{padding-top:max(12px, env(safe-area-inset-top))}.sidebar .nav-item{min-height:44px;font-size:13px}.sidebar nav{scrollbar-width:thin;scrollbar-color:#527b6b transparent}.topbar{gap:0;padding:8px 14px 4px}.topbar>div:first-child{font-size:12px}.topbar .sync-actions{flex-wrap:wrap;gap:2px;width:100%;margin:0;display:flex}.sync-actions .text-button{flex:1;justify-content:center;min-height:44px;padding:8px 2px;font-size:13px}.topbar time{display:none}.page-heading h1{font-size:24px}.page-heading p{max-width:none;font-size:12px}.heading-actions{flex-wrap:wrap}.heading-actions .button{white-space:normal}.metric span{color:var(--muted);font-size:12px}.toolbar{gap:12px;padding:16px}.toolbar .tabs,.toolbar .search{width:100%;min-width:0}.toolbar .tabs{gap:4px}.tabs>button{padding-inline:10px}input:not([type=checkbox]):not([type=radio]),select,textarea,.search input,.product-picker input,.product-picker select{min-height:44px;font-size:16px}.search input{min-height:42px;padding-block:6px}.button.small,.text-button{min-height:44px}.button.small{font-size:13px}.panel-heading{padding:16px}.table-footer{flex-wrap:wrap;gap:10px;padding:12px 16px}.modal,.modal.wide{border-radius:14px;width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.modal-header{padding:12px 16px}.modal-body{padding:18px 16px}.modal-footer,.modal .product-form .modal-footer{padding:12px 16px max(12px, env(safe-area-inset-bottom))}.modal-footer .button{flex:auto}.modal .product-form .form-grid{gap:16px 12px;padding:16px}.form-grid{gap:16px}.audit-values{grid-template-columns:minmax(0,1fr)}.chef-workspace{padding:14px}.chef-header{grid-template-columns:1fr auto;gap:0 8px;margin-bottom:12px;display:grid}.chef-header h1{font-size:20px}.chef-header>div{grid-column:1/-1;justify-content:flex-end}.chef-header>div .text-button{color:var(--muted)}.chef-navigation .button{padding:8px;font-size:15px}.simple-product{padding-inline:4px}.simple-product strong{font-size:16px}.simple-quantity{gap:6px}.simple-quantity input{width:78px;font-size:18px!important}.simple-quantity>span{max-width:4em}.simple-categories .button{padding:8px 10px}.simple-order-footer{padding:12px 0 max(12px, env(safe-area-inset-bottom))}.login-shell{padding:20px 16px}.login-card{padding:26px 22px}.login-card h1{font-size:26px}.error-banner,.info-strip{overflow-wrap:anywhere}.order-card .row-link{white-space:normal}}@media screen and (max-width:360px){.sync-actions .text-button{font-size:12px}.chef-workspace{padding-inline:12px}.simple-quantity input{width:70px}.modal .product-form .form-grid{grid-template-columns:minmax(0,1fr)}}@media screen and (min-width:1051px){.record-actions .stock-action{margin-top:0;display:inline-flex}.record-actions{white-space:nowrap}.product-records .product-cell strong{white-space:normal;max-width:28em;display:block}}.product-batch{border-bottom:1px solid var(--border);padding:12px 16px}.supplier-batch-form .modal-body{gap:14px;display:grid}.supplier-category-list{flex-wrap:wrap;gap:8px;max-height:140px;display:flex;overflow-y:auto}.supplier-category-list button{border:1px solid var(--border);color:var(--ink);background:#fff;border-radius:8px;align-items:center;gap:6px;padding:8px 12px;display:inline-flex}.supplier-category-list button span{color:var(--muted);font-size:12px}.supplier-category-list button.selected{color:#187b60;background:#eaf5ef;border-color:#187b60}.supplier-product-search{box-sizing:border-box;width:100%;min-width:0}.supplier-selection-bar{flex-wrap:wrap;align-items:center;gap:8px 16px;font-size:14px;display:flex}.supplier-selection-bar .text-button{margin:0;padding:4px 0}.supplier-batch-form .supplier-selection-bar label,.supplier-batch-form .supplier-clear,.supplier-product-list label{flex-direction:row;align-items:center;gap:10px;display:flex}.supplier-batch-form input[type=checkbox]{flex:0 0 18px;width:18px;min-width:18px;height:18px;min-height:18px;margin:0;padding:0}.supplier-product-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:290px;padding:2px;display:grid;overflow-y:auto}.supplier-product-list label{border:1px solid var(--border);cursor:pointer;border-radius:10px;padding:12px}.supplier-product-list label.selected{background:#eef7f2;border-color:#82b8a7}.supplier-product-list span{overflow-wrap:anywhere;min-width:0}.supplier-product-list strong{font-size:14px}.supplier-product-list small{color:var(--muted);margin-top:4px;font-size:12px;display:block}.supplier-batch-form .supplier-target{gap:8px;display:grid}.supplier-target input{box-sizing:border-box;width:100%;min-width:0}.supplier-clear{color:var(--muted);font-size:13px}.supplier-no-results{text-align:center;color:var(--muted);grid-column:1/-1;padding:24px}.supplier-batch-form .modal-footer{flex-wrap:wrap}.supplier-batch-form .modal-footer>span{margin-right:auto;font-size:14px}@media (max-width:540px){.supplier-product-list{grid-template-columns:minmax(0,1fr);max-height:230px}.supplier-category-list{max-height:110px}.supplier-batch-form .modal-footer>span{width:100%}.supplier-batch-form .modal-body{padding:16px}}.supplier-field{gap:12px;min-width:0;display:grid}.supplier-field input{box-sizing:border-box;width:100%;min-width:0}.supplier-quick-options{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:12px;padding:2px;display:grid}.supplier-quick-options button{overflow-wrap:anywhere;text-align:left;border:1px solid var(--border);min-width:0;max-width:100%;color:var(--ink);background:#f4f8f6;border-radius:8px;min-height:48px;padding:12px 14px;font-size:14px;line-height:1.5}@media (max-width:360px){.supplier-quick-options{grid-template-columns:minmax(0,1fr)}}.supplier-quick-options button[aria-pressed=true]{color:#14775c;background:#e5f3ec;border-color:#14775c}.supplier-batch-form .supplier-field{grid-column:1/-1}.toolbar.product-toolbar{flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:12px;padding:16px;display:flex}.product-toolbar .tabs{flex:0 180px;min-width:0}.product-toolbar select{width:180px;min-width:0;max-width:100%;height:44px}.product-toolbar .tabs select{width:100%}.product-toolbar .search{flex:240px;width:auto;min-width:0;max-width:420px;margin-left:auto}.product-toolbar .product-batch{border:0;flex:none;padding:0}.product-toolbar .product-batch .button{min-height:44px}@media (max-width:600px){.toolbar.product-toolbar{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px;display:grid}.product-toolbar .tabs,.product-toolbar select{width:100%}.product-toolbar .search{box-sizing:border-box;grid-column:1/-1;width:100%;max-width:none;margin:0}.product-toolbar .product-batch{grid-column:1/-1}.product-toolbar .product-batch .button{width:100%}}.order-display-choice{padding:12px 16px 0}.order-display-choice label{flex-direction:row;align-items:center;gap:12px;display:flex}.order-display-choice select{width:auto;min-width:160px;max-width:100%}.receive-display-choice{margin:0 0 16px}.receive-display-choice label{flex-direction:row;align-items:center;gap:12px;display:flex}.receive-display-choice select{width:auto;min-width:160px;max-width:100%}.receive-records .receive-group-heading th{color:#176f57;text-align:left;background:#eaf4ef;padding:12px 14px;font-size:15px}.receive-group-heading th span{color:var(--muted);margin-left:12px;font-size:12px;font-weight:400}@media (max-width:1050px){.receive-records tbody tr.receive-group-heading{border:0;padding:0;display:block}.receive-records .receive-group-heading th{border-radius:8px;display:block}}.receive-group-summary{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 16px;display:flex}.receive-group-summary>div{overflow-wrap:anywhere;min-width:0}.receive-group-total{white-space:nowrap;font-variant-numeric:tabular-nums;margin-left:auto;font-size:15px}.receive-drag-product{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;display:grid}.receive-product-name{overflow-wrap:anywhere;white-space:normal;flex:1;min-width:0;line-height:1.5}.receive-records .receive-product-name strong{white-space:normal;overflow-wrap:anywhere;display:block}.receive-product-name .receive-row-status{margin-top:4px;margin-left:0}.receive-shortage-button{color:#93422d;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #d7b5aa;border-radius:6px;flex-shrink:0;width:28px;height:28px;min-height:28px;padding:0;font-size:13px;font-weight:700;line-height:1}.receive-shortage-button:hover:not(:disabled){background:#fff0e9}.receive-shortage-button[aria-pressed=true]{color:#85432e;opacity:1;cursor:default;background:#f2e3dc;border-color:#0000}.receive-shortage-button:focus-visible{outline-offset:2px;outline:2px solid #93422d}.receive-edit-button{color:#17765e;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #cbded5;border-radius:6px;flex-shrink:0;min-width:28px;min-height:28px;padding:3px 6px;font-size:12px;font-weight:700}.receive-edit-button:focus-visible{outline-offset:2px;outline:2px solid #17765e}.receive-summary-line{font-variant-numeric:tabular-nums;align-items:center;gap:14px;width:100%;min-width:0;font-size:14px;display:flex}.receive-summary-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.receive-summary-values{white-space:nowrap;align-items:baseline;gap:14px;display:flex}.receive-summary-order,.receive-summary-shortage{white-space:nowrap;color:var(--muted)}.receive-summary-shortage{color:#93422d}.receive-records .receive-section-heading th{color:#244e40;text-align:left;background:#fff;padding:16px 14px 10px;font-size:14px}.receive-section-heading span{color:var(--muted);margin-left:8px;font-size:12px;font-weight:400}.receive-records tbody tr.receive-row-shortage,.receive-records tbody tr.receive-row-shortage td{background:#f6f2ef}.receive-drag-handle{width:26px;min-height:40px;color:var(--muted);cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;background:0 0;border:0;border-radius:6px;flex:0 0 26px;padding:0;font-size:23px}.receive-drag-handle:active{cursor:grabbing;background:#dceddf}.receive-records tr.receive-drop-target{outline-offset:-2px;background:#eaf5ef;outline:2px solid #29886b}.receive-group-heading th .receive-incomplete{color:#9a610e;background:#fff3dc;border-radius:5px;margin-left:8px;padding:2px 6px;display:inline-block}.receive-records tr[hidden]{display:none!important}.receive-group-toggle{cursor:pointer;min-height:32px}.receive-group-toggle:focus-visible{outline-offset:4px;outline:2px solid #19775c}.receive-records tbody tr.receive-row-incomplete,.receive-records tbody tr.receive-row-incomplete td{background:#fff8e9}.receive-row-status{color:#89540a;white-space:nowrap;background:#ffedc6;border-radius:4px;margin-left:6px;padding:1px 5px;font-size:11px;font-weight:500;display:inline-block}.receive-records tbody tr.receive-row-incomplete.receive-drop-target,.receive-records tbody tr.receive-row-incomplete.receive-drop-target td{background:#eaf5ef}.receive-price-unit{color:var(--muted,#617971);margin-bottom:4px;font-size:12px;display:block}.receive-pricing-mode{margin-top:6px;font-size:12px}.receive-pricing-mode summary{color:#177961;cursor:pointer}.receive-pricing-mode label{margin-top:8px;display:block}.receive-pricing-mode select,.receive-pricing-mode input{width:100%;min-width:0;margin-top:4px}.order-print-preview td.merged-order-date,#order-print-root td.merged-order-date{vertical-align:middle;text-align:center;white-space:nowrap;background:#edf4f1}.order-print-preview .category-column-table th:first-child,#order-print-root .category-column-table th:first-child{width:18%}.order-print-preview .category-column-table th:nth-child(2),#order-print-root .category-column-table th:nth-child(2){width:8%}.order-print-preview .category-column-table th:nth-child(3),#order-print-root .category-column-table th:nth-child(3){width:18%}.order-print-preview .category-column-table th:nth-child(4),#order-print-root .category-column-table th:nth-child(4){width:36%}.order-print-preview .category-column-table th:nth-child(5),#order-print-root .category-column-table th:nth-child(5){width:20%}.receive-records table{table-layout:fixed;width:100%}.receive-records thead th:first-child{width:30%}.receive-records thead th:nth-child(2){width:12%}.receive-records td{vertical-align:bottom}.receive-records .quantity-input{width:100%;min-width:0;max-width:none}.receive-records tr[data-receive-product]>td{border-bottom:0;padding-bottom:8px}.receive-records tr.receive-row-readonly>td{vertical-align:middle;border-bottom:1px solid var(--border);font-variant-numeric:tabular-nums;padding-top:12px;padding-bottom:12px}.receive-summary-billing{color:var(--muted);margin-top:4px;font-size:12px;display:block}.receive-summary-total{justify-content:space-between;align-items:center;gap:8px;display:flex}.receive-records .receive-pricing-row>td{padding:0 18px 16px}.receive-form .receive-pricing-mode{margin:0;font-size:12px}.receive-pricing-mode summary{width:fit-content;min-height:32px;padding:6px 0}.receive-pricing-fields{background:#fff9;border:1px solid #dce7e1;border-radius:10px;grid-template-columns:repeat(2,minmax(0,220px));gap:12px;margin-top:4px;padding:12px;display:grid}.receive-form .receive-pricing-fields label{flex-direction:column;align-items:stretch;gap:6px;min-width:0;margin:0;font-size:12px;display:flex}.receive-form .receive-pricing-fields input,.receive-form .receive-pricing-fields select{width:100%;min-width:0;margin:0}@media (max-width:1050px){.receive-records tbody tr[data-receive-product]{border-bottom:0;gap:10px 8px;padding:14px 12px 8px}.receive-records tr[data-receive-product]>td{padding:0}.receive-records tr[data-receive-product]>td:first-child{grid-column:1/-1}.receive-records tr[data-receive-product]>td:nth-child(2){grid-column:1/-1;align-items:baseline;gap:5px;display:flex}.receive-records tbody tr.receive-pricing-row{padding:0 12px 14px;display:block}.receive-records .receive-pricing-row>td{padding:0;display:block}.receive-records .quantity-input{max-width:none;height:44px;padding:10px}.receive-pricing-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:10px}.receive-form .receive-pricing-fields input,.receive-form .receive-pricing-fields select{height:44px;padding:10px}.receive-group-summary{gap:6px}.receive-group-total{font-size:14px}.receive-records .receive-price-unit{display:none}.receive-records tbody tr.receive-row-readonly,.receive-records tbody tr.receive-section-heading{padding:0;display:block}.receive-records tbody tr.receive-row-readonly{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:10px 8px;display:grid}.receive-records tr.receive-row-readonly>td{border:0;width:auto;padding:0;font-size:12px;display:block}.receive-records tr.receive-row-readonly>td:nth-child(2),.receive-records tr.receive-row-readonly>td:nth-child(3){grid-column:auto;display:block}.receive-records tr.receive-row-readonly>td:last-child{grid-column:2/4}.receive-records tr.receive-row-readonly>td:before{color:var(--muted);margin-bottom:3px;font-size:11px;display:block}.receive-records .receive-section-heading th{width:100%;padding:14px 8px 8px;display:block}.receive-summary-line{gap:8px;font-size:12px}.receive-summary-values{gap:8px;font-size:11px}.receive-summary-values>strong{font-size:12px}.receive-summary-line .receive-edit-button{min-height:28px}}@media (max-width:380px){.receive-summary-line,.receive-summary-values{gap:5px}}.order-product-search{margin-bottom:20px}.order-product-search>label{margin-bottom:8px;display:block}.order-product-search>input{width:100%}.order-product-results{border:1px solid var(--border);border-radius:10px;max-height:240px;margin-top:8px;overflow-y:auto}.order-product-results:empty{display:none}.order-product-results button{border:0;border-bottom:1px solid var(--border);width:100%;color:var(--text);text-align:left;cursor:pointer;background:#fff;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;display:flex}.order-product-results button:last-child{border-bottom:0}.order-product-results button:hover:not(:disabled),.order-product-results button:focus-visible{background:#edf5f1}.order-product-results button:disabled{color:#718078;cursor:default;background:#f5f7f6}.order-product-results small{color:var(--muted);margin-top:3px;font-size:12px;display:block}.order-product-results button>span:last-child{color:#19775c;flex-shrink:0;font-size:12px}@media screen and (max-width:700px){.chef-workspace{padding:8px 12px}.chef-header{gap:0 6px;margin-bottom:6px}.chef-header h1{font-size:18px;line-height:1.3}.chef-header button{min-height:36px;padding:6px}.chef-header>div{gap:2px}.chef-navigation{border-radius:9px;margin-bottom:8px;padding:3px}.chef-navigation .button{min-height:44px;padding:6px;font-size:14px}.chef-workspace .simple-categories{min-width:0;margin-bottom:0;padding-bottom:4px;display:block}.chef-workspace .simple-category-list{overscroll-behavior-x:contain;grid-template-rows:repeat(2,44px);grid-auto-columns:max-content;grid-auto-flow:column;gap:4px;padding:2px 0 4px;display:grid;overflow-x:auto}.chef-workspace .simple-category-list .button{white-space:nowrap;min-height:44px;padding:6px 10px;font-size:13px}.chef-workspace .simple-category-tools{justify-content:space-between;align-items:center;gap:8px;margin-top:2px;display:flex}.chef-workspace .simple-category-hint{color:var(--muted);font-size:12px;display:block}.chef-workspace .simple-category-tools .button{min-height:36px;padding:4px 8px;font-size:13px}.chef-workspace .simple-product{border-radius:4px;gap:8px;min-height:44px;padding:3px 2px}.chef-workspace .simple-product strong{font-size:15px;line-height:1.4}.chef-workspace .simple-quantity{gap:5px}.chef-workspace .simple-quantity input{border-radius:5px;width:64px;height:36px;min-height:36px;padding:4px;font-size:16px!important}.chef-workspace .simple-quantity>span{min-width:1.5em;font-size:13px}.chef-workspace .simple-order-footer{padding:6px 0 max(6px, env(safe-area-inset-bottom));gap:8px}.chef-workspace .simple-order-footer .button{min-height:44px;padding:8px;font-size:15px}}.total-adjustment{flex-wrap:wrap;align-items:end;gap:8px;font-weight:400;display:flex}.total-adjustment label{gap:5px;font-size:14px;display:grid}.total-adjustment input{width:180px;max-width:100%}.total-adjustment label:nth-child(2) input{width:300px}.receive-group-summary{flex-wrap:wrap}.supplier-total-adjustment{flex-wrap:wrap;align-items:center;gap:12px;margin:16px 0;display:flex}.compact-standard-receive .receive-price-heading{justify-content:space-between;align-items:center;gap:6px;min-height:28px;margin-bottom:3px;display:flex}.compact-standard-receive .receive-price-heading .receive-price-unit{white-space:nowrap;margin:0}.receive-unit-trigger{color:#177961;white-space:nowrap;cursor:pointer;background:0 0;border:0;border-radius:6px;min-height:28px;padding:4px 6px;font-size:12px}.receive-unit-trigger:hover{background:#e8f3ed}.receive-unit-trigger:focus-visible,.receive-unit-dismiss:focus-visible{outline-offset:2px;outline:2px solid #177961}.receive-unit-dialog{width:min(320px,100vw - 32px);max-width:none;max-height:calc(100dvh - 32px);color:var(--ink);text-align:left;background:#fff;border:1px solid #dce7e1;border-radius:12px;margin:auto;padding:14px;overflow:auto;box-shadow:0 16px 60px #10292233}.receive-unit-dialog::backdrop{background:#10292266}.feishu-row-amount{color:var(--muted);flex-wrap:wrap;align-items:baseline;gap:6px;font-size:12px;display:flex}.feishu-row-amount b{color:#17765e;font-variant-numeric:tabular-nums;font-size:15px}.receive-unit-dialog-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.receive-unit-dialog-header strong{overflow-wrap:anywhere;font-size:14px;line-height:1.4}.receive-unit-dismiss{width:28px;height:28px;color:var(--muted);cursor:pointer;background:#f3f6f5;border:0;border-radius:6px;flex:0 0 28px;padding:0;font-size:20px}.receive-unit-help{color:var(--muted);margin:6px 0 10px;font-size:12px;line-height:1.5}.compact-standard-receive .receive-unit-dialog .receive-pricing-fields{background:0 0;border:0;grid-template-columns:minmax(0,1fr);gap:10px;margin:0;padding:0}.compact-standard-receive .receive-unit-dialog .receive-pricing-fields label{gap:4px;font-size:12px}.compact-standard-receive .receive-unit-dialog .receive-pricing-fields input,.compact-standard-receive .receive-unit-dialog .receive-pricing-fields select{width:100%;height:36px;min-height:36px;padding:6px 8px;font-size:14px}.receive-unit-dialog-footer{justify-content:flex-end;margin-top:12px;display:flex}.compact-standard-receive .receive-unit-dialog-footer .button{min-height:34px;padding:6px 16px;font-size:13px}@media (max-width:1050px){.compact-standard-receive .receive-records td:nth-child(4):before{display:none}.compact-standard-receive .receive-price-heading .receive-price-unit{font-size:12px;display:inline}.compact-standard-receive .receive-price-heading{min-height:32px;margin-bottom:4px}.compact-standard-receive .receive-unit-trigger{min-height:32px;padding:4px}.compact-standard-receive .receive-records tr[data-receive-product]>td:nth-child(3):before,.compact-standard-receive .receive-records tr[data-receive-product]>td:nth-child(5):before{align-items:center;min-height:32px;margin-bottom:4px;display:flex}.compact-standard-receive .receive-records tr[data-receive-product]>td{min-width:0}.compact-standard-receive .receive-records input{height:44px;min-height:44px;padding:8px;font-size:16px}}@media (max-width:480px){.receive-unit-dialog{padding:14px}.compact-standard-receive .receive-unit-dialog-footer .button{width:auto;min-height:36px}.compact-standard-receive .receive-price-heading{gap:2px}}.modal:has(>.compact-standard-receive)>.modal-header{gap:12px;padding:12px 24px}.modal:has(>.compact-standard-receive)>.modal-header>div{flex-wrap:wrap;align-items:baseline;gap:4px 16px;display:flex}.modal:has(>.compact-standard-receive)>.modal-header h2{font-size:20px;line-height:1.4}.modal:has(>.compact-standard-receive)>.modal-header p{margin:0;font-size:12px}.compact-standard-receive .modal-body{padding-top:10px}.compact-standard-receive .modal-body>.info-strip{gap:8px;margin-bottom:8px;padding:7px 10px;font-size:12px;line-height:1.5}.compact-standard-receive .receive-entry-toolbar{gap:8px 16px;margin-bottom:10px;padding:10px 12px}.compact-standard-receive .receive-entry-toolbar label,.compact-standard-receive .receive-entry-toolbar .detail-summary>div{gap:3px}.compact-standard-receive .receive-entry-toolbar small,.compact-standard-receive .receive-entry-toolbar label{font-size:12px}@media (max-width:700px){.modal:has(>.compact-standard-receive)>.modal-header{padding:10px 12px}.modal:has(>.compact-standard-receive)>.modal-header>div{gap:2px 10px}.compact-standard-receive .receive-entry-toolbar{gap:8px;padding:8px}.compact-standard-receive .receive-entry-toolbar>.button{padding:6px;font-size:12px}.compact-standard-receive .receive-entry-toolbar input,.compact-standard-receive .receive-entry-toolbar select{font-size:16px}}.compact-standard-receive .receive-price-control{position:relative}.compact-standard-receive .receive-price-control>.receive-price-heading{min-height:28px;margin:0;position:absolute;top:50%;right:4px;transform:translateY(-50%)}.compact-standard-receive .receive-price-control>input{padding-right:94px}@media (max-width:1050px){.compact-standard-receive .receive-price-control{flex-direction:column;display:flex}.compact-standard-receive .receive-price-control>.receive-price-heading{order:-1;min-height:32px;margin-bottom:4px;position:static;transform:none}.compact-standard-receive .receive-price-control>input{padding:8px}}.compact-standard-receive .receive-unit-trigger{text-overflow:ellipsis;max-width:100%;overflow:hidden}.compact-standard-receive .receive-records tr[data-receive-product]>td{vertical-align:middle;border-bottom:1px solid #e6ece9}.compact-standard-receive .receive-records tr.receive-row-incomplete>td{background:#fff}.compact-standard-receive .receive-records tr.receive-row-incomplete>td:first-child{box-shadow:inset 3px 0 #eac779}.compact-standard-receive .receive-product-name{flex-wrap:wrap;align-items:center;gap:6px;line-height:1.35;display:flex}.compact-standard-receive .receive-product-name .receive-row-status{white-space:nowrap;margin:0}.compact-standard-receive .receive-drag-product{gap:6px}.compact-standard-receive .receive-shortage-button{color:#ad5b50;background:#fff;border-color:#e7cec9;font-size:12px;font-weight:500}.compact-standard-receive .receive-records input{background:#fafcfb}.compact-standard-receive .receive-records input:focus{background:#fff}@media (min-width:1051px){.compact-standard-receive .receive-records thead th:first-child{width:28%}.compact-standard-receive .receive-records thead th:nth-child(2){width:12%}.compact-standard-receive .receive-records thead th:nth-child(3){width:18%}.compact-standard-receive .receive-records thead th:nth-child(4){width:24%}.compact-standard-receive .receive-records thead th:nth-child(5){width:18%}.compact-standard-receive .receive-records tr[data-receive-product]>td{height:52px;padding:8px 10px}.compact-standard-receive .receive-records input{height:36px;min-height:36px}}@media (max-width:1050px){.compact-standard-receive .receive-price-heading{justify-content:flex-start}.compact-standard-receive .receive-unit-trigger{padding-left:0;font-size:12px}.compact-standard-receive .receive-price-heading .receive-price-unit{display:none}.compact-standard-receive .receive-unit-trigger{color:#105e48;background:#edf7f2;border:1px solid #acd1c1;border-radius:6px;width:100%;min-height:32px;padding:4px 6px;font-weight:600}}.purchase-journey{background:#f8fbf9;border:1px solid #dce6e1;border-radius:10px;margin:12px 0 20px;padding:14px}.purchase-task-panel{margin-bottom:12px;padding:16px}.purchase-task-heading{flex-wrap:wrap;align-items:baseline;gap:12px;display:flex}.purchase-task-heading h3{margin:0}.purchase-task-counts{flex-wrap:wrap;align-items:center;gap:10px 18px;margin:12px 0;display:flex}.purchase-task-panel summary{cursor:pointer;padding:8px 0}.purchase-task-row{border-top:1px solid var(--line,#e1e8e5);justify-content:space-between;align-items:center;gap:12px;padding:10px 0;display:flex}.purchase-task-row small,.purchase-choice small{color:var(--muted,#667c76);margin-top:4px;display:block}.purchase-task-actions{flex-wrap:wrap;gap:8px;display:flex}.manual-purchase-matches{border:1px solid var(--line,#e1e8e5);border-radius:12px;margin-bottom:12px;padding:12px}.purchase-choice{align-items:center;gap:8px;padding:6px 0;display:flex!important}.purchase-choice input{flex:none;height:18px;width:18px!important}.purchase-correction{background:#f4f8f6;border-radius:10px;padding:12px}.purchase-correction label{gap:6px;margin:8px 0;display:grid}.purchase-correction select,.purchase-correction input{width:100%;min-width:0;min-height:42px}@media (max-width:600px){.purchase-task-row{flex-direction:column;align-items:stretch}.purchase-task-heading .form-note{margin:0}.purchase-task-counts{gap:8px}}.purchase-journey h3{margin-bottom:10px;font-size:16px}.purchase-journey-totals{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px;display:grid}.purchase-journey-totals span{color:#52685e;font-size:12px}.purchase-journey-totals strong{color:#135d48;margin-top:4px;font-size:16px;display:block}.purchase-journey summary{cursor:pointer;padding:9px 0;font-size:13px}.purchase-journey-record{overflow-wrap:anywhere;border-top:1px solid #e1ebe5;padding:8px 0;font-size:13px}.purchase-journey-record p{margin:4px 0;line-height:1.5}@media (max-width:600px){.purchase-journey-totals{grid-template-columns:repeat(2,minmax(0,1fr))}}.direct-receive-fields{border:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0;padding:0;display:grid}.direct-receive-fields label{gap:6px;font-size:13px;display:grid}.direct-receive-search,.direct-receive-row{grid-column:1/-1}.direct-receive-row{border:1px solid #dce6e1;border-radius:8px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;padding:12px;display:grid}.direct-receive-row>strong{grid-column:1/-1}.direct-receive-fields input,.direct-receive-fields select{width:100%;min-width:0}
