/* FoodOS V10 deterministic layout bundle.
 * layout: public
 * generated by scripts/build_v10_assets.py; do not hand-edit.
 */
/* source: static/v8.css */
/* FoodOS V9 — customers, online menu, invoices and mobile-first commerce */
:root{--v8-green:#0f9f6e;--v8-green-soft:#e8f8f2;--v8-danger:#e5484d;--v8-blue:#2563eb;--v8-amber:#d97706}
.v8-page-head{align-items:center}.v8-pos-heading{align-items:center}.v8-product-image{position:relative;height:112px;display:block;overflow:hidden;border-radius:16px;background:var(--panel-2)}.v8-product-image img{width:100%;height:100%;display:block;object-fit:cover}.v8-product-image i{position:absolute;left:9px;bottom:9px;width:34px;height:34px;display:grid;place-items:center;border-radius:12px;background:var(--primary);color:#d8cec5;font-style:normal;font-size:22px;box-shadow:0 8px 18px rgba(0,0,0,.18)}
.v8-menu-admin-grid{display:grid;grid-template-columns:minmax(280px,370px) minmax(0,1fr);gap:18px;align-items:start}.v8-sticky-form{position:sticky;top:92px}.v8-products-list{min-width:0}.v8-category-panel{grid-column:1/-1}.v8-upload-box{padding:12px;border:1.5px dashed var(--line-strong);border-radius:16px;background:var(--panel-2)}.v8-upload-box input{padding:8px;background:var(--panel)}.v8-upload-box small{display:block;margin-top:5px}.v8-upload-box img{width:100%;max-height:220px;margin-top:10px;object-fit:cover;border-radius:14px}.v8-admin-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.v8-admin-product{position:relative;padding:10px;display:grid;grid-template-columns:105px minmax(0,1fr);gap:12px;border:1px solid var(--line);border-radius:18px;background:var(--panel-2)}.v8-admin-product-image{height:105px;display:grid;place-items:center;overflow:hidden;border-radius:14px;background:var(--primary-soft);color:var(--primary);font-size:28px;font-weight:900}.v8-admin-product-image img{width:100%;height:100%;object-fit:cover}.v8-admin-product-copy{min-width:0}.v8-admin-product-copy>div:first-child{display:flex;flex-direction:column}.v8-admin-product-copy strong{font-size:14px}.v8-admin-product-copy small,.v8-admin-product-copy p{color:var(--muted);font-size:10px}.v8-admin-product-copy>b{display:block;margin:6px 0;color:var(--primary);font-size:13px}.v8-admin-product-copy p{margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.v8-admin-product>.table-action{position:absolute;left:10px;bottom:10px}.v8-admin-tags{margin-top:8px;display:flex;gap:5px;flex-wrap:wrap}.v8-admin-tags span,.v8-admin-tags a{padding:4px 8px;border-radius:999px;background:var(--panel);color:var(--text-2);font-size:9px}.v8-admin-tags .ok{background:var(--v8-green-soft);color:var(--v8-green)}.v8-admin-tags .off{background:#feecee;color:var(--v8-danger)}.v8-category-list{margin-top:12px;display:flex;gap:8px;flex-wrap:wrap}.v8-category-list button{min-height:44px;padding:7px 12px;display:flex;flex-direction:column;border:1px solid var(--line);border-radius:13px;background:var(--panel-2);color:var(--text);font:inherit}.v8-category-list button small{color:var(--muted);font-size:9px}
.v8-inline-search{display:flex;gap:7px}.v8-inline-search input{min-width:230px}.v8-customer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.v8-customer-card{padding:14px;border:1px solid var(--line);border-radius:18px;background:var(--panel-2)}.v8-customer-main{display:flex;align-items:center;gap:10px;color:inherit;text-decoration:none}.v8-customer-main .avatar{width:44px;height:44px;display:grid;place-items:center;border-radius:15px;background:var(--primary-soft);color:var(--primary);font-weight:900}.v8-customer-main div{min-width:0;display:flex;flex-direction:column}.v8-customer-main strong{font-size:13px}.v8-customer-main small{color:var(--muted);font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.v8-balance{margin-top:12px;padding:10px 12px;display:flex;align-items:baseline;gap:4px;border-radius:14px}.v8-balance small{margin-left:auto}.v8-balance strong{font-size:18px}.v8-balance span{font-size:9px}.v8-balance.ok{background:var(--v8-green-soft);color:var(--v8-green)}.v8-balance.danger{background:#fff0f1;color:var(--v8-danger)}.v8-customer-actions{margin-top:10px;display:flex;justify-content:space-between}.v8-customer-actions a,.v8-customer-actions button{border:0;background:transparent;color:var(--primary);font:inherit;font-size:10px;font-weight:800;cursor:pointer}
.v8-customer-hero{margin-bottom:16px;display:grid;grid-template-columns:320px minmax(0,1fr);gap:14px}.v8-balance-hero{padding:24px;display:flex;flex-direction:column;border-radius:24px;background:linear-gradient(145deg,#111827,#243143);color:#d8cec5}.v8-balance-hero small{color:#c4cad4}.v8-balance-hero strong{margin-top:5px;font-size:36px}.v8-balance-hero span{font-size:11px}.v8-balance-hero em{margin-top:auto;padding-top:20px;color:#aeb8c7;font-style:normal;font-size:10px}.v8-share-box{padding:20px;border:1px solid var(--line);border-radius:24px;background:var(--panel)}.v8-share-box h2{margin:0 0 4px}.v8-share-box p{margin:0 0 12px;color:var(--muted);font-size:11px}.v8-copy-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;margin-top:7px}.v8-copy-row input{direction:ltr;text-align:left}.v8-copy-row button{padding:0 14px;border:0;border-radius:12px;background:var(--primary);color:#d8cec5;font:inherit;font-size:10px;font-weight:800}.v8-share-actions{margin-top:10px;display:flex;gap:7px;flex-wrap:wrap}.v8-share-actions a,.v8-share-actions button{min-height:40px;padding:0 12px;display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:12px;background:var(--panel-2);color:var(--text);font:inherit;font-size:10px;text-decoration:none}.v8-share-actions form{display:inline}.v8-detail-grid{display:grid;grid-template-columns:330px minmax(0,1fr) minmax(0,1fr);gap:14px}.span-3{grid-column:1/-1}.v8-ledger-list{display:grid;gap:7px}.v8-ledger-list article{padding:10px 12px;display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:14px}.v8-ledger-list article>span{min-width:105px;font-size:13px;font-weight:900;direction:ltr;text-align:left}.v8-ledger-list .debit{color:var(--v8-danger)}.v8-ledger-list .credit{color:var(--v8-green)}.v8-ledger-list article div{display:flex;flex-direction:column}.v8-ledger-list small{color:var(--muted);font-size:9px}.v8-settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.v8-security-note{padding:12px;border-radius:14px;background:var(--v8-green-soft);color:#0a6d4d;font-size:10px;line-height:1.9}
/* Layer fix from V7 */
@media(max-width:980px){.v4-sidebar,.v4-sidebar.open{z-index:120;filter:none;opacity:1}.sidebar-scrim{z-index:110}.mobile-bottom-nav{z-index:100}body.menu-open .v4-sidebar{pointer-events:auto}}
/* Public commerce */
.public-body{margin:0;min-height:100vh;background:#f4f5f7;color:#131722;font-family:Vazirmatn,Tahoma,sans-serif}.public-body *{box-sizing:border-box}.public-body button,.public-body input,.public-body select,.public-body textarea{font:inherit}.public-body a{text-decoration:none}.public-flashes{position:fixed;z-index:500;top:12px;right:12px;left:12px;display:grid;gap:7px}.public-flash{max-width:650px;margin:auto;padding:12px 16px;border-radius:14px;background:#fff;box-shadow:0 12px 32px rgba(0,0,0,.14);font-size:12px}.public-flash.error{border-right:4px solid var(--v8-danger)}.public-flash.success{border-right:4px solid var(--v8-green)}.public-store-head{position:sticky;z-index:50;top:0;min-height:74px;padding:10px max(16px,env(safe-area-inset-left));display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e6e8ec;background:rgba(255,255,255,.94);backdrop-filter:blur(18px)}.public-store-brand{display:flex;align-items:center;gap:10px}.public-store-brand>span{width:46px;height:46px;display:grid;place-items:center;border-radius:15px;background:#111827;color:#d8cec5;font-size:21px;font-weight:900}.public-store-brand div{display:flex;flex-direction:column}.public-store-brand strong{font-size:14px}.public-store-brand small{color:var(--v8-green);font-size:9px}.public-store-head>a{min-height:42px;padding:0 14px;display:grid;place-items:center;border-radius:13px;background:#eef1f5;color:#202735;font-size:10px;font-weight:800}.public-menu-shell{width:min(1040px,100%);margin:auto;padding:18px 16px 120px}.public-welcome{margin-bottom:16px}.public-welcome p{margin:0;color:var(--v8-green);font-size:11px;font-weight:800}.public-welcome h1{margin:3px 0;font-size:27px}.public-welcome>span{color:#727987;font-size:11px}.public-credit-alert{margin-top:10px;padding:10px 12px;border-radius:13px;background:#fff3dd;color:#9a5700;font-size:10px}.public-menu-toolbar{position:sticky;z-index:35;top:74px;margin:0 -16px 15px;padding:10px 16px;background:rgba(244,245,247,.95);backdrop-filter:blur(15px)}.public-search input{width:100%;height:50px;padding:0 15px;border:1px solid #e0e3e8;border-radius:16px;background:#fff;font-size:16px;outline:none}.public-categories{margin:8px -16px 0;padding:0 16px;display:flex;gap:7px;overflow:auto;scrollbar-width:none}.public-categories::-webkit-scrollbar{display:none}.public-categories button{flex:0 0 auto;min-height:40px;padding:0 15px;border:1px solid #e0e3e8;border-radius:999px;background:#fff;color:#555e6e;font-size:10px;font-weight:800}.public-categories button.active{border-color:#111827;background:#111827;color:#d8cec5}.public-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.public-product{padding:0;overflow:hidden;border:1px solid #e4e6ea;border-radius:20px;background:#fff;color:inherit;text-align:right;box-shadow:0 6px 18px rgba(20,25,35,.04);cursor:pointer}.public-product:active{transform:scale(.98)}.public-product-image{position:relative;height:160px;display:grid;place-items:center;background:#edf0f4;color:#7a8391;font-size:34px;font-weight:900}.public-product-image img{width:100%;height:100%;object-fit:cover}.public-product-image i{position:absolute;top:9px;right:9px;padding:5px 8px;border-radius:999px;background:#fff1d6;color:#a65d00;font-style:normal;font-size:8px;font-weight:900}.public-product-copy{padding:12px}.public-product-copy strong{font-size:13px}.public-product-copy p{height:36px;margin:4px 0;color:#7a8190;font-size:9px;line-height:1.9;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.public-product-copy>div{display:flex;align-items:center;justify-content:space-between}.public-product-copy b{font-size:12px}.public-product-copy em{width:34px;height:34px;display:grid;place-items:center;border-radius:12px;background:#111827;color:#d8cec5;font-style:normal;font-size:20px}.hp{position:absolute;left:-9999px}.public-checkout{position:fixed;z-index:202;right:0;left:0;bottom:0;max-height:90dvh;padding:9px 16px calc(16px + env(safe-area-inset-bottom));display:flex;flex-direction:column;border-radius:28px 28px 0 0;background:#fff;box-shadow:0 -24px 60px rgba(0,0,0,.24);transform:translateY(110%);transition:transform .28s ease}.public-cart-open .public-checkout{transform:translateY(0)}.public-sheet-handle{width:48px;height:5px;margin:0 auto 8px;border-radius:10px;background:#d8dbe1}.public-checkout>header{display:flex;align-items:center;justify-content:space-between}.public-checkout>header div{display:flex;flex-direction:column}.public-checkout>header strong{font-size:16px}.public-checkout>header small{color:#7d8491;font-size:9px}.public-checkout>header button{width:42px;height:42px;border:0;border-radius:13px;background:#f0f2f5;font-size:23px}.public-cart-items{flex:1;min-height:70px;max-height:28dvh;margin:10px 0;display:grid;gap:7px;overflow:auto}.public-cart-item{padding:9px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;border:1px solid #e6e8ec;border-radius:14px}.public-cart-item>div:first-child{display:flex;flex-direction:column}.public-cart-item small{color:#7d8491;font-size:9px}.public-qty{display:flex;align-items:center;gap:7px}.public-qty button{width:36px;height:36px;border:0;border-radius:11px;background:#f0f2f5;font-size:18px}.public-fields{display:grid;gap:8px;max-height:34dvh;overflow:auto}.public-fields label{display:flex;flex-direction:column;gap:4px;color:#505866;font-size:9px;font-weight:800}.public-fields input,.public-fields select,.public-fields textarea{width:100%;min-height:48px;padding:9px 12px;border:1px solid #dde1e6;border-radius:13px;background:#fff;font-size:16px;outline:none}.public-two{display:grid;grid-template-columns:1fr 1fr;gap:8px}.public-total{margin-top:10px;padding:11px 0;display:flex;align-items:center;justify-content:space-between;border-top:1px solid #e8eaee}.public-total span{color:#656d7b;font-size:10px}.public-total strong{font-size:18px}.public-submit{min-height:56px;border:0;border-radius:17px;background:#111827;color:#d8cec5;font-weight:900}.public-submit:disabled{opacity:.45}.public-cart-dock{position:fixed;z-index:90;right:12px;left:12px;bottom:calc(12px + env(safe-area-inset-bottom));height:64px;padding:0 14px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;border:0;border-radius:20px;background:#111827;color:#d8cec5;box-shadow:0 14px 35px rgba(0,0,0,.23)}.public-cart-dock>span{font-size:10px}.public-cart-dock>strong{text-align:right}.public-cart-dock>em{font-style:normal;font-size:10px}.public-backdrop{position:fixed;z-index:201;inset:0;background:rgba(8,13,22,.55);opacity:0;pointer-events:none;transition:.2s}.public-cart-open .public-backdrop{opacity:1;pointer-events:auto}.public-cart-open .public-cart-dock{opacity:0}.portal-shell,.status-shell,.payment-result{width:min(720px,100%);margin:auto;padding:20px 16px 60px}.portal-profile{padding:18px;display:flex;align-items:center;gap:12px;border-radius:22px;background:#fff}.portal-profile>span{width:54px;height:54px;display:grid;place-items:center;border-radius:18px;background:#111827;color:#d8cec5;font-size:22px;font-weight:900}.portal-profile p,.portal-profile h1{margin:0}.portal-profile p{color:#818895;font-size:9px}.portal-profile h1{font-size:18px}.portal-profile small{color:#707887}.portal-balance{margin-top:12px;padding:22px;display:flex;flex-direction:column;border-radius:24px;background:linear-gradient(145deg,#111827,#273548);color:#d8cec5}.portal-balance>small{color:#bdc5d1}.portal-balance>strong{font-size:38px}.portal-balance>span{font-size:10px}.portal-balance form{margin-top:15px;display:grid;grid-template-columns:1fr auto;gap:7px}.portal-balance input{min-width:0;height:48px;padding:0 12px;border:0;border-radius:13px;font-size:16px}.portal-balance button{padding:0 16px;border:0;border-radius:13px;background:var(--v8-green);color:#d8cec5;font-weight:900}.portal-section{margin-top:14px;padding:15px;border-radius:20px;background:#fff}.portal-section h2{margin:0 0 10px;font-size:15px}.portal-orders{display:grid;gap:9px}.portal-orders article{padding:12px;border:1px solid #e5e7eb;border-radius:15px}.portal-orders article>div:first-child{display:flex;flex-direction:column}.portal-orders article>div:first-child small{color:#7b8290;font-size:9px}.portal-orders article>b{display:block;margin-top:6px;color:#111827}.portal-orders form button{width:100%;min-height:42px;margin-top:8px;border:0;border-radius:12px;background:#eef2ff;color:#3348a5;font-weight:800}.portal-order-progress{margin-top:11px;display:grid;grid-template-columns:repeat(4,1fr);gap:3px}.portal-order-progress span{padding:6px 2px;border-radius:8px;background:#eff1f4;color:#89909c;text-align:center;font-size:7px}.portal-order-progress span.done{background:var(--v8-green-soft);color:var(--v8-green)}.portal-payment{padding:10px 0;display:flex;justify-content:space-between;border-bottom:1px solid #eceef1}.portal-payment div{display:flex;flex-direction:column}.portal-payment small,.portal-payment>span{color:#7a8290;font-size:9px}.status-shell,.payment-result{text-align:center}.status-success,.payment-result>div{width:74px;height:74px;margin:32px auto 12px;display:grid;place-items:center;border-radius:24px;background:var(--v8-green-soft);color:var(--v8-green);font-size:38px;font-weight:900}.payment-result>div.failed{background:#fff0f1;color:var(--v8-danger)}.status-shell>p,.status-shell>h1{margin:3px}.status-live,.payment-result section{margin:18px 0;padding:18px;display:flex;flex-direction:column;border-radius:20px;background:#fff}.status-live small{color:#7d8592}.status-live strong{font-size:22px}.status-live span{color:var(--v8-green)}.status-items{padding:14px;border-radius:20px;background:#fff}.status-items div{padding:8px 0;display:flex;justify-content:space-between;border-bottom:1px solid #eceef1}.status-total{padding:16px;display:flex;justify-content:space-between}.status-note{color:#7a8290;font-size:10px;line-height:2}.payment-result>a,.public-primary-link{min-height:50px;padding:0 18px;display:inline-flex;align-items:center;border-radius:15px;background:#111827;color:#d8cec5;font-weight:800}.invoice-body{margin:0;background:#edf0f3;color:#151923;font-family:Vazirmatn,Tahoma,sans-serif}.invoice-sheet{width:min(780px,calc(100% - 24px));margin:20px auto;padding:30px;border-radius:10px;background:#fff;box-shadow:0 15px 40px rgba(0,0,0,.08)}.invoice-sheet header{display:flex;justify-content:space-between;border-bottom:2px solid #151923;padding-bottom:16px}.invoice-sheet h1{margin:0}.invoice-sheet header>div{display:flex;flex-direction:column}.invoice-customer{margin:15px 0;display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.invoice-customer div{padding:10px;border-radius:10px;background:#f4f5f7}.invoice-customer small{display:block;color:#7b8290}.invoice-sheet table{width:100%;border-collapse:collapse}.invoice-sheet th,.invoice-sheet td{padding:11px;border-bottom:1px solid #e5e7eb;text-align:right}.invoice-sheet td small{display:block}.invoice-totals{width:min(330px,100%);margin:18px 0 0 auto}.invoice-totals div{padding:6px;display:flex;justify-content:space-between}.invoice-totals .total{padding:12px;border-radius:10px;background:#111827;color:#d8cec5}.invoice-sheet footer{margin-top:25px;text-align:center}.invoice-sheet footer button{min-height:46px;padding:0 20px;border:0;border-radius:12px;background:#111827;color:#d8cec5;font-family:inherit}
@media(max-width:980px){.v8-menu-admin-grid{grid-template-columns:1fr}.v8-sticky-form{position:static}.v8-admin-product-grid{grid-template-columns:1fr}.v8-customer-hero,.v8-detail-grid,.v8-settings-grid{grid-template-columns:1fr}.v8-share-box,.v8-balance-hero{min-height:0}.span-2,.span-3{grid-column:auto}.public-products{grid-template-columns:repeat(2,minmax(0,1fr))}.public-product-image{height:130px}.invoice-customer{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.v8-pos-heading>a{display:none}.v8-inline-search{width:100%;margin-top:8px}.v8-inline-search input{min-width:0}.v8-customer-grid{grid-template-columns:1fr}.v8-admin-product{grid-template-columns:88px minmax(0,1fr)}.v8-admin-product-image{height:88px}.v8-customer-hero{gap:9px}.v8-balance-hero{padding:20px}.v8-balance-hero strong{font-size:31px}.v8-share-box{padding:14px}.v8-copy-row{grid-template-columns:1fr}.v8-copy-row button{min-height:44px}.public-menu-shell{padding-inline:10px}.public-menu-toolbar{margin-inline:-10px;padding-inline:10px}.public-products{gap:8px}.public-product{border-radius:17px}.public-product-image{height:106px}.public-product-copy{padding:9px}.public-product-copy strong{font-size:11px}.public-product-copy p{height:32px;font-size:8px}.public-product-copy b{font-size:10px}.public-two{grid-template-columns:1fr}.invoice-sheet{padding:16px}.invoice-sheet header{display:block}.invoice-customer{grid-template-columns:1fr 1fr}.invoice-sheet th,.invoice-sheet td{padding:8px;font-size:10px}}
@media print{.invoice-body{background:#fff}.invoice-sheet{width:100%;margin:0;padding:0;box-shadow:none}.invoice-sheet footer button{display:none}}

/* V8 final usability additions */
.three-col{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.portal-order-actions{margin-top:9px;display:grid;grid-template-columns:1fr 1fr;gap:7px}.portal-order-actions a{min-height:40px;display:grid;place-items:center;border-radius:11px;background:#f1f4f8;color:#243047;font-size:10px;font-weight:900}.status-actions{display:flex;justify-content:center;margin:8px 0 18px}.invoice-actions{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}.invoice-actions a{min-height:46px;padding:0 20px;display:inline-flex;align-items:center;border-radius:12px;background:#edf0f4;color:#111827;font-weight:800}
@media(max-width:640px){.three-col{grid-template-columns:1fr}.portal-order-actions a{font-size:11px}}
@media print{.invoice-actions{display:none}}
.v8-business-strip{margin:0 0 16px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.v8-business-strip>a{min-height:84px;padding:14px;display:flex;align-items:center;gap:11px;border:1px solid #e3e6eb;border-radius:18px;background:#fff;color:#172033;box-shadow:0 8px 24px rgba(19,27,39,.04)}.v8-business-strip>a>span{width:44px;height:44px;display:grid;place-items:center;border-radius:14px;background:#edf2ff;color:#3848a6}.v8-business-strip svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8}.v8-business-strip div{display:flex;flex-direction:column}.v8-business-strip small{color:#7b8491;font-size:9px}.v8-business-strip strong{font-size:14px}
@media(max-width:720px){.v8-business-strip{grid-template-columns:1fr}.v8-business-strip>a{min-height:70px}}

/* Stable chart sizing */
.v4-chart-wrap canvas,.v4-donut canvas{display:block;width:100%;height:100%;max-width:100%}.v4-chart-wrap,.v4-donut{position:relative;overflow:hidden}
/* Mobile more-menu must stay above the dimmed scrim */
@media(max-width:980px){.v4-sidebar,.v4-sidebar.open{z-index:80;filter:none;opacity:1}.sidebar-scrim{z-index:65}.mobile-bottom-nav{z-index:70}body.menu-open .v4-sidebar{pointer-events:auto}}

/* FoodOS V9.1 — rebuilt mobile checkout and usable credit sale */
.v81-checkout{min-width:0}
.v81-stepper{display:none}
.v81-checkout-scroll{min-height:0}
.v81-step-panel{display:block}
.v81-section-title{margin:4px 0 10px;display:flex;align-items:center;justify-content:space-between}
.v81-section-title>div{display:flex;flex-direction:column;gap:2px}
.v81-section-title strong{font-size:13px;color:var(--text)}
.v81-section-title small{font-size:9px;color:var(--muted)}
.v81-field-card,.v81-adjustment-card,.v81-credit-panel{padding:12px;border:1px solid var(--line);border-radius:16px;background:var(--panel-2)}
.v81-field-card{display:grid;gap:10px}
.v81-payment-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.v81-payment-grid label{cursor:pointer}
.v81-payment-grid input{position:absolute;opacity:0;pointer-events:none}
.v81-payment-grid span{min-height:58px;padding:8px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:14px;background:var(--panel-2);text-align:center;transition:.18s}
.v81-payment-grid b{font-size:12px}.v81-payment-grid small{font-size:8px;color:var(--muted)}
.v81-payment-grid input:checked+span{border-color:var(--primary);background:var(--primary-soft);color:var(--primary);box-shadow:0 0 0 2px color-mix(in srgb,var(--primary) 10%,transparent)}
.v81-credit-panel{margin-top:10px;display:grid;gap:10px;border-color:color-mix(in srgb,var(--v8-amber) 35%,var(--line));background:color-mix(in srgb,#fff8e8 65%,var(--panel))}
.v81-credit-panel.hidden{display:none}
.v81-credit-status{padding:11px 12px;border-radius:13px;background:var(--panel);color:var(--text)}
.v81-credit-status strong{font-size:12px}.v81-credit-status p{margin:3px 0 0;color:var(--muted);font-size:9px;line-height:1.8}
.v81-credit-status.active{background:var(--v8-green-soft);color:var(--v8-green)}
.v81-credit-status.warning{background:#fff1dd;color:#a55a00}
.v81-credit-enable{min-height:54px;padding:8px 10px;display:flex;flex-direction:row;align-items:center;gap:10px;border:1px dashed #e5ad59;border-radius:13px;background:rgba(255,255,255,.58);cursor:pointer}
.v81-credit-enable input{width:22px;min-height:22px;flex:0 0 auto;accent-color:var(--primary)}
.v81-credit-enable span{display:flex;flex-direction:column}.v81-credit-enable b{font-size:11px}.v81-credit-enable small{font-size:8px;color:var(--muted)}
.v81-credit-summary{min-height:48px;padding:0 12px;display:flex;align-items:center;justify-content:space-between;border-radius:13px;background:#222b3a;color:#d8cec5}
.v81-credit-summary span{font-size:10px}.v81-credit-summary strong{font-size:13px}.v81-credit-summary b{font-size:18px}
.v81-adjustment-card{margin-top:10px}
.v81-totals{margin-bottom:0}
.v81-checkout-footer{margin-top:8px;padding-top:10px;display:grid;grid-template-columns:auto 1fr;gap:8px;align-items:center;border-top:1px solid var(--line)}
.v81-checkout-footer .v81-back,.v81-checkout-footer .v81-next{display:none}
.v81-footer-total{display:none}
.v81-submit{grid-column:1/-1;min-height:54px}
.v81-inline-error{position:fixed;z-index:130;right:14px;left:14px;bottom:100px;padding:12px 14px;border-radius:14px;background:#b4232c;color:#d8cec5;text-align:center;font-size:11px;font-weight:800;box-shadow:0 12px 32px rgba(0,0,0,.24);opacity:0;transform:translateY(15px);pointer-events:none;transition:.2s}
.v81-inline-error.show{opacity:1;transform:none}

@media(max-width:980px){
  body.cart-open{overflow:hidden;overscroll-behavior:none}
  .v81-pos-page .v4-cart-panel{top:0;right:0;left:0;bottom:0;width:100%;height:100dvh;max-height:none;padding:0;border:0;border-radius:0;display:flex;overflow:hidden;background:var(--panel)}
  .v81-pos-page .mobile-sheet-handle{display:none}
  .v81-checkout-head{min-height:72px;padding:calc(8px + env(safe-area-inset-top)) 14px 9px;flex:0 0 auto;background:var(--panel);border-bottom:1px solid var(--line)}
  .v81-checkout-head h2{font-size:17px}.v81-checkout-head p{font-size:10px}
  .v81-stepper{height:60px;padding:7px 16px;display:grid;grid-template-columns:auto 1fr auto 1fr auto;align-items:center;gap:8px;flex:0 0 auto;background:var(--panel);border-bottom:1px solid var(--line)}
  .v81-stepper button{min-width:58px;padding:0;border:0;background:transparent;color:var(--muted);font:inherit;display:flex;align-items:center;gap:6px}
  .v81-stepper button b{width:30px;height:30px;display:grid;place-items:center;border-radius:11px;background:var(--panel-2);font-size:11px}
  .v81-stepper button span{font-size:9px;font-weight:800}
  .v81-stepper button.active{color:var(--primary)}.v81-stepper button.active b{background:var(--primary);color:#d8cec5}
  .v81-stepper button.done b{background:var(--v8-green-soft);color:var(--v8-green)}
  .v81-stepper i{height:2px;border-radius:2px;background:var(--line)}
  .v81-checkout-scroll{flex:1 1 auto;min-height:0;padding:12px 12px 24px;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y}
  .v81-step-panel{display:none}.v81-step-panel.active{display:block}
  .v81-step-panel>.v81-section-title:first-child{margin-top:0}
  .v81-pos-page .v4-cart-items{max-height:none;min-height:0;overflow:visible}
  .v81-pos-page .cart-empty{min-height:145px}
  .v81-order-type-block{margin-top:12px;padding:12px;border:1px solid var(--line);border-radius:17px;background:var(--panel-2)}
  .v81-order-type{background:var(--panel)}
  .v81-field-card{padding:12px;gap:12px;border-radius:18px;background:var(--panel)}
  .v81-field-card label,.v81-credit-panel label,.v81-adjustment-card label{font-size:11px}
  .v81-field-card input,.v81-field-card select,.v81-field-card textarea,.v81-credit-panel input,.v81-credit-panel select,.v81-adjustment-card input{min-height:52px;border-radius:15px;background:var(--panel-2);font-size:16px}
  .v81-field-card textarea{min-height:92px}
  .v81-name-phone,.v81-credit-panel .two-col{grid-template-columns:1fr}
  .v81-payment-grid{grid-template-columns:1fr 1fr;gap:9px}
  .v81-payment-grid span{min-height:68px;border-radius:17px}.v81-payment-grid b{font-size:14px}.v81-payment-grid small{font-size:9px}
  .v81-credit-panel{padding:12px;border-radius:18px}
  .v81-adjustment-card{padding:12px;border-radius:18px;background:var(--panel)}
  .v81-adjustment-card .two-col{grid-template-columns:1fr 1fr}
  .v81-totals{padding:12px;border:1px solid var(--line);border-radius:18px;background:var(--panel)}
  .v81-checkout-footer{min-height:82px;margin:0;padding:10px 12px calc(10px + env(safe-area-inset-bottom));display:grid;grid-template-columns:auto 1fr auto;gap:8px;flex:0 0 auto;border-top:1px solid var(--line);background:var(--panel);box-shadow:0 -12px 30px rgba(15,23,42,.09)}
  .v81-checkout-footer .v81-back{min-width:76px;height:50px;padding:0 10px;display:block;border:1px solid var(--line);border-radius:15px;background:var(--panel-2);color:var(--text);font:inherit;font-size:10px;font-weight:800}
  .v81-footer-total{min-width:0;display:flex;flex-direction:column}.v81-footer-total small{color:var(--muted);font-size:8px}.v81-footer-total strong{white-space:nowrap;font-size:10px}.v81-footer-total b{font-size:17px;color:var(--text)}
  .v81-checkout-footer .v81-next,.v81-checkout-footer .v81-submit{min-width:112px;height:50px;padding:0 13px;display:block;grid-column:auto;border-radius:15px;font-size:11px;font-weight:900}
  .v81-checkout-footer [hidden]{display:none}
  .v81-inline-error{bottom:calc(92px + env(safe-area-inset-bottom))}
  .v81-pos-page .mobile-cart-backdrop{z-index:100}.v81-pos-page .v4-cart-panel{z-index:110}
}

@media(max-width:390px){
  .v81-stepper{padding-inline:10px;gap:4px}.v81-stepper button{min-width:50px}.v81-stepper button span{display:none}
  .v81-adjustment-card .two-col{grid-template-columns:1fr}
  .v81-checkout-footer{grid-template-columns:auto minmax(0,1fr) auto;padding-inline:8px}.v81-checkout-footer .v81-back{min-width:64px}.v81-checkout-footer .v81-next,.v81-checkout-footer .v81-submit{min-width:98px;padding-inline:8px}
}

/* A table QR forces dine-in fulfilment, so its address control must stay out of
   both the visual layout and keyboard flow even though generic field rules use
   display:flex on labels. The id selector intentionally outranks that rule. */
#publicAddressWrap[hidden]{display:none}

/* source: static/v9.css */
/* FoodOS V9 — premium mobile-first operational UX */
:root{
  --v9-accent:#f45135;--v9-accent-2:#ff735d;--v9-accent-soft:#fff1ed;
  --v9-ink:#0f172a;--v9-ink-2:#334155;--v9-muted:#64748b;--v9-soft:#f7f8fa;
  --v9-border:#e6e9ef;--v9-success:#0b9f6f;--v9-warning:#d97706;--v9-danger:#dc3545;
  --v9-radius:18px;--v9-radius-lg:24px;--v9-shadow:0 12px 35px rgba(15,23,42,.08);
}
[data-theme="dark"]{--v9-ink:#f8fafc;--v9-ink-2:#d5deea;--v9-muted:#9aa8ba;--v9-soft:#111b2a;--v9-border:#28364a;--v9-accent-soft:#3b211d}
html{scroll-behavior:smooth}.v9-lock-scroll,html.v9-lock-scroll body{overflow:hidden;overscroll-behavior:none}
body{font-size:14px}.hidden{display:none}.v9-mobile-back{display:none}.v9-mobile-back.hidden{display:none}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid color-mix(in srgb,var(--v9-accent) 26%,transparent);outline-offset:2px}
input,select,textarea{font-size:16px}.button{border-radius:13px}.panel{border-radius:22px;box-shadow:0 2px 14px rgba(15,23,42,.035)}

/* Page language */
.v9-page-hero{margin-bottom:18px;display:flex;align-items:flex-end;justify-content:space-between;gap:18px}.v9-page-hero h1{margin:3px 0 4px;font-size:27px;line-height:1.35;font-weight:900;letter-spacing:-.025em}.v9-page-hero p{margin:0;color:var(--v9-muted);font-size:11px}
.v9-empty-state{min-height:260px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;color:var(--v9-muted)}.v9-empty-state svg{width:46px;height:46px;margin-bottom:12px;color:var(--v9-accent)}.v9-empty-state strong{color:var(--v9-ink);font-size:16px}.v9-empty-state p{max-width:330px;margin:5px 0 14px}

/* POS hero */
.v9-pos-hero{margin-bottom:18px;display:flex;align-items:center;justify-content:space-between;gap:18px}.v9-pos-hero h1{margin:5px 0 3px;font-size:28px;font-weight:900;letter-spacing:-.03em}.v9-pos-hero p{margin:0;color:var(--v9-muted);font-size:11px}.v9-live-badge{display:inline-flex;align-items:center;gap:7px;color:var(--v9-success);font-size:10px;font-weight:850}.v9-live-badge i{width:8px;height:8px;border-radius:50%;background:var(--v9-success);box-shadow:0 0 0 5px color-mix(in srgb,var(--v9-success) 12%,transparent)}.v9-pos-hero-actions{display:flex;gap:8px}.v9-pos-hero-actions a{min-height:44px;padding:0 14px;display:flex;align-items:center;gap:7px;border:1px solid var(--v9-border);border-radius:14px;background:var(--panel);color:var(--v9-ink-2);font-size:11px;font-weight:800}.v9-pos-hero-actions svg{width:17px;height:17px}

/* POS desktop layout */
.v9-pos-layout{display:grid;grid-template-columns:minmax(0,1fr) 430px;gap:18px;align-items:start}.v9-menu-panel{min-width:0}.v9-pos-toolbar{position:sticky;z-index:22;top:82px;padding:10px;border:1px solid var(--v9-border);border-radius:19px;background:color-mix(in srgb,var(--panel) 93%,transparent);backdrop-filter:blur(18px);box-shadow:0 10px 30px rgba(15,23,42,.05)}
.v9-search-box{height:52px;padding:0 9px 0 5px;display:flex;align-items:center;gap:9px;border:1px solid var(--v9-border);border-radius:15px;background:var(--panel)}.v9-search-box svg{width:20px;color:var(--v9-muted)}.v9-search-box input{min-width:0;flex:1;border:0;background:transparent;box-shadow:none;outline:0}.v9-search-box>button{width:36px;height:36px;border:0;border-radius:11px;background:var(--v9-soft);color:var(--v9-muted);font-size:21px;opacity:0;pointer-events:none}.v9-search-box>button.show{opacity:1;pointer-events:auto}.v9-search-box.compact{width:min(420px,100%)}.v9-search-box.compact button{width:auto;padding:0 11px;opacity:1;pointer-events:auto;background:var(--v9-ink);color:#d8cec5;font-size:10px;font-weight:850}
.v9-category-chips{margin-top:9px;display:flex;gap:7px;overflow-x:auto;scrollbar-width:none}.v9-category-chips::-webkit-scrollbar{display:none}.v9-category-chips button{min-height:38px;padding:0 13px;white-space:nowrap;border:1px solid var(--v9-border);border-radius:999px;background:var(--panel);color:var(--v9-muted);font-size:10px;font-weight:800}.v9-category-chips button.active{border-color:var(--v9-ink);background:var(--v9-ink);color:#d8cec5;box-shadow:0 7px 17px rgba(15,23,42,.12)}
.v9-menu-meta{margin:13px 2px 10px;display:flex;align-items:center;justify-content:space-between}.v9-menu-meta>div{display:flex;align-items:center;gap:5px}.v9-menu-meta strong{font-size:16px}.v9-menu-meta span,.v9-menu-meta p{margin:0;color:var(--v9-muted);font-size:9px}
.v9-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.v9-product-card{position:relative;min-width:0;padding:8px;display:grid;grid-template-columns:92px minmax(0,1fr);gap:10px;text-align:right;border:1px solid var(--v9-border);border-radius:20px;background:var(--panel);color:var(--v9-ink);box-shadow:0 4px 16px rgba(15,23,42,.035);transition:.18s ease}.v9-product-card:hover{border-color:color-mix(in srgb,var(--v9-accent) 45%,var(--v9-border));box-shadow:var(--v9-shadow);transform:translateY(-2px)}.v9-product-card:active{transform:scale(.985)}.v9-product-card.just-added{animation:v9Added .3s ease}.v9-product-card.in-cart{border-color:color-mix(in srgb,var(--v9-accent) 40%,var(--v9-border));background:linear-gradient(145deg,var(--panel),color-mix(in srgb,var(--v9-accent-soft) 52%,var(--panel)))}
@keyframes v9Added{50%{transform:scale(.965);box-shadow:0 0 0 5px color-mix(in srgb,var(--v9-accent) 15%,transparent)}}
.v9-product-media{position:relative;height:92px;overflow:hidden;border-radius:15px;background:linear-gradient(145deg,#f1f4f8,#e8edf4)}.v9-product-media img{width:100%;height:100%;display:block;object-fit:cover}.v9-product-placeholder{width:100%;height:100%;display:grid;place-items:center;color:var(--v9-accent);font-size:30px;font-weight:900}.v9-product-media em{position:absolute;top:6px;right:6px;padding:4px 7px;border-radius:999px;background:rgba(15,23,42,.78);color:#d8cec5;font-size:7px;font-style:normal}.v9-product-count{position:absolute;left:7px;bottom:7px;min-width:28px;height:28px;padding:0 7px;display:grid;place-items:center;border:2px solid #fff;border-radius:11px;background:var(--v9-accent);color:#d8cec5;font-size:11px;box-shadow:0 7px 16px rgba(244,81,53,.28)}
.v9-product-info{min-width:0;display:flex;flex-direction:column;padding:5px 0}.v9-product-info>strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.v9-product-info>small{margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--v9-muted);font-size:8.5px}.v9-product-info>span{margin-top:auto;display:flex;align-items:baseline;gap:3px;color:var(--v9-accent)}.v9-product-info>span b{font-size:13px}.v9-product-info>span small{font-size:8px}.v9-add-product{position:absolute;left:9px;bottom:9px;width:30px;height:30px;display:grid;place-items:center;border-radius:11px;background:var(--v9-soft);color:var(--v9-ink);font-size:20px;font-style:normal;font-weight:500}.v9-product-card.in-cart .v9-add-product{background:var(--v9-accent);color:#d8cec5}.v9-empty-menu{grid-column:1/-1;min-height:350px;display:flex;align-items:center;justify-content:center;flex-direction:column;color:var(--v9-muted)}.v9-empty-menu svg{width:42px;height:42px;margin-bottom:10px}.v9-empty-menu strong{color:var(--v9-ink)}.v9-empty-menu p{margin:4px}

/* Checkout */
.v9-checkout{position:sticky;top:90px;max-height:calc(100vh - 112px);display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--v9-border);border-radius:24px;background:var(--panel);box-shadow:0 18px 55px rgba(15,23,42,.09)}.v9-checkout-header{min-height:70px;padding:12px 15px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;border-bottom:1px solid var(--v9-border)}.v9-checkout-header>div small{color:var(--v9-accent);font-size:8px;font-weight:850}.v9-checkout-header h2{margin:1px 0 0;font-size:17px}.v9-icon-button{display:none;width:42px;height:42px;border:0;border-radius:14px;background:var(--v9-soft);color:var(--v9-ink);font-size:24px}.v9-clear-order{min-height:38px;padding:0 10px;border:0;border-radius:11px;background:#fff1f1;color:var(--v9-danger);font-size:9px;font-weight:850}
.v9-stepper{padding:10px 14px;display:grid;grid-template-columns:repeat(3,1fr);gap:7px;border-bottom:1px solid var(--v9-border);background:var(--v9-soft)}.v9-stepper button{height:40px;padding:0 8px;display:flex;align-items:center;justify-content:center;gap:6px;border:1px solid var(--v9-border);border-radius:12px;background:var(--panel);color:var(--v9-muted);font:inherit;font-size:9px;font-weight:850}.v9-stepper b{width:22px;height:22px;display:grid;place-items:center;border-radius:8px;background:var(--v9-soft)}.v9-stepper button.active{border-color:var(--v9-accent);background:var(--v9-accent-soft);color:var(--v9-accent)}.v9-stepper button.done b{background:var(--v9-success);color:#d8cec5}
.v9-checkout-body{flex:1;min-height:0;padding:15px;overflow:auto;overscroll-behavior:contain}.v9-checkout-step{display:block;margin-bottom:18px}.v9-section-heading{margin-bottom:10px;display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.v9-section-heading>div{display:flex;flex-direction:column}.v9-section-heading strong{font-size:13px}.v9-section-heading small,.v9-section-heading>span{color:var(--v9-muted);font-size:8.5px}.v9-section-heading.compact{margin-top:16px}.v9-cart-items{display:grid;gap:8px}.v9-cart-empty{min-height:150px;display:flex;align-items:center;justify-content:center;flex-direction:column;border:1px dashed var(--v9-border);border-radius:18px;background:var(--v9-soft);text-align:center;color:var(--v9-muted)}.v9-cart-empty svg{width:34px;height:34px;margin-bottom:7px}.v9-cart-empty strong{color:var(--v9-ink)}.v9-cart-empty p{margin:3px;font-size:9px}.v9-cart-item{position:relative;padding:9px 40px 9px 9px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;align-items:center;border:1px solid var(--v9-border);border-radius:17px;background:var(--panel)}.v9-cart-item-main{min-width:0;display:flex;align-items:center;gap:9px}.v9-cart-item-main>span{width:42px;height:42px;flex:0 0 auto;display:grid;place-items:center;border-radius:13px;background:var(--v9-accent-soft);color:var(--v9-accent);font-weight:900}.v9-cart-item-main>div{min-width:0;display:flex;flex-direction:column}.v9-cart-item-main strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.v9-cart-item-main small{color:var(--v9-muted);font-size:8px}.v9-cart-item-actions{display:flex;align-items:center;gap:5px}.v9-cart-item-actions button{width:34px;height:34px;border:1px solid var(--v9-border);border-radius:11px;background:var(--v9-soft);color:var(--v9-ink);font-size:17px}.v9-cart-item-actions b{min-width:22px;text-align:center}.v9-cart-line-total{grid-column:1/-1;color:var(--v9-accent);font-size:11px}.v9-cart-line-total small{font-size:7px}.v9-cart-remove{position:absolute;top:10px;right:8px;width:25px;height:25px;border:0;border-radius:8px;background:#fff1f1;color:var(--v9-danger);font-size:15px}
.v9-choice-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.v9-choice-grid label,.v9-payment-methods label{min-width:0}.v9-choice-grid input,.v9-payment-methods input{position:absolute;opacity:0;pointer-events:none}.v9-choice-grid span{min-height:84px;padding:10px 6px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;border:1px solid var(--v9-border);border-radius:16px;background:var(--panel);text-align:center}.v9-choice-grid svg{width:21px;height:21px;color:var(--v9-muted)}.v9-choice-grid b{font-size:10px}.v9-choice-grid small{color:var(--v9-muted);font-size:7.5px}.v9-choice-grid input:checked+span{border-color:var(--v9-accent);background:var(--v9-accent-soft);color:var(--v9-accent);box-shadow:inset 0 0 0 1px var(--v9-accent)}.v9-choice-grid input:checked+span svg{color:var(--v9-accent)}
.v9-customer-picker{padding:12px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end;border:1px solid var(--v9-border);border-radius:18px;background:var(--v9-soft)}.v9-customer-picker label{display:flex;flex-direction:column;gap:5px;color:var(--v9-ink-2);font-size:9px;font-weight:800}.v9-customer-picker select{min-height:50px;padding:0 12px;border:1px solid var(--v9-border);border-radius:14px;background:var(--panel);color:var(--v9-ink)}.v9-customer-picker>a{min-height:50px;padding:0 10px;display:grid;place-items:center;border-radius:14px;background:var(--v9-ink);color:#d8cec5;font-size:8.5px;font-weight:850}.v9-form-card{margin-top:10px;padding:12px;display:grid;gap:11px;border:1px solid var(--v9-border);border-radius:18px;background:var(--panel)}.v9-form-card label,.v9-credit-panel label,.v9-adjustments label,.v9-modal-form label{display:flex;flex-direction:column;gap:5px;color:var(--v9-ink-2);font-size:9px;font-weight:800}.v9-form-card input,.v9-form-card select,.v9-form-card textarea,.v9-credit-panel input,.v9-credit-panel select,.v9-adjustments input,.v9-modal-form input,.v9-modal-form select,.v9-modal-form textarea{width:100%;min-height:52px;padding:10px 12px;border:1px solid var(--v9-border);border-radius:14px;background:var(--panel);color:var(--v9-ink);outline:0}.v9-form-card textarea,.v9-modal-form textarea{min-height:78px;resize:vertical}.v9-two-col{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.v9-payment-methods{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.v9-payment-methods span{position:relative;min-height:86px;padding:11px;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto auto;align-items:center;gap:2px 9px;border:1px solid var(--v9-border);border-radius:18px;background:var(--panel)}.v9-payment-methods svg{grid-row:1/3;width:24px;height:24px;color:var(--v9-muted)}.v9-payment-methods b{font-size:11px}.v9-payment-methods small{color:var(--v9-muted);font-size:8px}.v9-payment-methods i{grid-row:1/3;width:24px;height:24px;display:grid;place-items:center;border-radius:9px;background:var(--v9-soft);color:transparent;font-style:normal}.v9-payment-methods input:checked+span{border-color:var(--v9-accent);background:var(--v9-accent-soft);box-shadow:inset 0 0 0 1px var(--v9-accent)}.v9-payment-methods input:checked+span svg,.v9-payment-methods input:checked+span b{color:var(--v9-accent)}.v9-payment-methods input:checked+span i{background:var(--v9-accent);color:#d8cec5}.v9-credit-choice span{background:linear-gradient(145deg,var(--panel),#fff8e8)}[data-theme="dark"] .v9-credit-choice span{background:var(--panel)}
.v9-credit-panel{margin-top:10px;padding:12px;display:grid;gap:10px;border:1px solid #f2d59c;border-radius:19px;background:#fffaf0}.v9-credit-panel.hidden{display:none}[data-theme="dark"] .v9-credit-panel{border-color:#5b4926;background:#282419}.v9-credit-status{padding:11px;border-radius:14px;background:var(--panel);color:var(--v9-ink-2)}.v9-credit-status strong{font-size:11px}.v9-credit-status p{margin:2px 0 0;color:var(--v9-muted);font-size:8.5px}.v9-credit-status.active{background:#eaf8f2;color:var(--v9-success)}.v9-credit-status.warning{background:#fff1d8;color:var(--v9-warning)}.v9-switch-row{min-height:56px;padding:9px;display:grid;grid-template-columns:auto 43px 1fr;align-items:center;gap:8px;border:1px solid var(--v9-border);border-radius:15px;background:var(--panel)}.v9-switch-row>input{position:absolute;opacity:0}.v9-switch-row>span{position:relative;width:43px;height:25px;border-radius:999px;background:#dce1e8;transition:.2s}.v9-switch-row>span:after{content:"";position:absolute;top:3px;right:3px;width:19px;height:19px;border-radius:50%;background:#fff;box-shadow:0 2px 5px rgba(0,0,0,.18);transition:.2s}.v9-switch-row>input:checked+span{background:var(--v9-success)}.v9-switch-row>input:checked+span:after{transform:translateX(-18px)}.v9-switch-row>div{display:flex;flex-direction:column}.v9-switch-row b{font-size:10px}.v9-switch-row small{color:var(--v9-muted);font-size:8px}.v9-credit-summary{min-height:58px;padding:10px 12px;display:flex;align-items:center;justify-content:space-between;border-radius:15px;background:var(--v9-ink);color:#d8cec5}.v9-credit-summary span{font-size:9px}.v9-credit-summary strong b{font-size:18px}.v9-adjustments{margin-top:10px;display:grid;grid-template-columns:1fr 1fr;gap:8px}.v9-adjustments label{padding:10px;border:1px solid var(--v9-border);border-radius:16px;background:var(--v9-soft)}.v9-adjustments input{min-height:46px;margin-top:4px;background:var(--panel)}.v9-order-summary{margin-top:10px;padding:12px;border:1px solid var(--v9-border);border-radius:18px;background:var(--panel)}.v9-order-summary>div{min-height:34px;display:flex;align-items:center;justify-content:space-between;color:var(--v9-muted);font-size:9px}.v9-order-summary b{color:var(--v9-ink)}.v9-order-summary .total{margin-top:7px;padding-top:11px;border-top:1px solid var(--v9-border);color:var(--v9-ink);font-size:11px}.v9-order-summary .total strong{color:var(--v9-accent);font-size:20px}
.v9-checkout-footer{min-height:76px;padding:10px 13px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:9px;border-top:1px solid var(--v9-border);background:color-mix(in srgb,var(--panel) 95%,transparent);backdrop-filter:blur(18px)}.v9-footer-back{min-height:48px;padding:0 13px;border:1px solid var(--v9-border);border-radius:14px;background:var(--v9-soft);color:var(--v9-ink);font-size:9px;font-weight:850}.v9-footer-total{display:flex;flex-direction:column}.v9-footer-total small{color:var(--v9-muted);font-size:7.5px}.v9-footer-total strong b{font-size:16px}.v9-footer-next,.v9-footer-submit{min-height:50px;padding:0 16px;border:0;border-radius:15px;background:var(--v9-accent);color:#d8cec5;font-size:10px;font-weight:900;box-shadow:0 10px 22px rgba(244,81,53,.24)}.v9-footer-submit:disabled{opacity:.45;box-shadow:none}.v9-checkout-backdrop,.v9-cart-dock{display:none}.v9-inline-error{position:absolute;z-index:180;right:14px;left:14px;bottom:88px;padding:12px 14px;border-radius:14px;background:#b42318;color:#d8cec5;text-align:center;font-size:10px;font-weight:850;box-shadow:0 15px 35px rgba(180,35,24,.3);opacity:0;transform:translateY(12px);pointer-events:none;transition:.2s}.v9-inline-error.show{opacity:1;transform:none}

/* Customer management */
.v9-customer-summary{margin-bottom:14px;display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.v9-customer-summary article{min-height:88px;padding:13px;display:flex;align-items:center;gap:11px;border:1px solid var(--v9-border);border-radius:19px;background:var(--panel)}.v9-customer-summary article>span{width:46px;height:46px;display:grid;place-items:center;border-radius:15px;background:var(--v9-accent-soft);color:var(--v9-accent)}.v9-customer-summary article>span.success{background:#eaf8f2;color:var(--v9-success)}.v9-customer-summary article>span.danger{background:#fff1f1;color:var(--v9-danger)}.v9-customer-summary svg{width:21px;height:21px}.v9-customer-summary div{display:flex;flex-direction:column}.v9-customer-summary small{color:var(--v9-muted);font-size:8px}.v9-customer-summary strong{font-size:17px}.v9-customer-summary em{font-size:8px;font-style:normal}.v9-customers-panel{padding:16px}.v9-customers-toolbar{align-items:center}.v9-customer-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.v9-customer-card{padding:13px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px 12px;border:1px solid var(--v9-border);border-radius:19px;background:var(--panel);transition:.18s}.v9-customer-card:hover{box-shadow:var(--v9-shadow);transform:translateY(-1px)}.v9-customer-identity{min-width:0;display:flex;align-items:center;gap:9px}.v9-customer-identity>span{width:44px;height:44px;flex:0 0 auto;display:grid;place-items:center;border-radius:14px;background:var(--v9-ink);color:#d8cec5;font-weight:900}.v9-customer-identity>div{min-width:0;display:flex;flex-direction:column}.v9-customer-identity strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.v9-customer-identity small{color:var(--v9-muted);font-size:8px}.v9-customer-balance{display:flex;align-items:flex-end;flex-direction:column}.v9-customer-balance small{color:var(--v9-muted);font-size:7.5px}.v9-customer-balance strong{font-size:15px}.v9-customer-balance span{color:var(--v9-muted);font-size:7px}.v9-customer-balance.debt strong{color:var(--v9-danger)}.v9-customer-balance.clear strong{color:var(--v9-success)}.v9-customer-flags{grid-column:1/-1;display:flex;gap:6px;flex-wrap:wrap}.v9-customer-flags span{padding:4px 8px;border-radius:999px;background:var(--v9-soft);color:var(--v9-muted);font-size:7px}.v9-customer-flags span.active{background:#eaf8f2;color:var(--v9-success)}.v9-customer-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr auto;gap:6px}.v9-customer-actions a,.v9-customer-actions button{min-height:39px;padding:0 9px;display:grid;place-items:center;border:1px solid var(--v9-border);border-radius:12px;background:var(--v9-soft);color:var(--v9-ink-2);font:inherit;font-size:8px;font-weight:850}.v9-customer-actions .primary{border-color:var(--v9-accent);background:var(--v9-accent);color:#d8cec5}

/* Modal */
.v9-modal{position:fixed;z-index:200;inset:0;display:flex;align-items:center;justify-content:center;padding:18px;opacity:0;pointer-events:none;transition:.2s}.v9-modal.open{opacity:1;pointer-events:auto}.v9-modal-backdrop{position:absolute;inset:0;border:0;background:rgba(8,15,28,.58);backdrop-filter:blur(5px)}.v9-modal-card{position:relative;width:min(620px,100%);max-height:min(90dvh,780px);display:flex;flex-direction:column;overflow:hidden;border:1px solid rgba(255,255,255,.15);border-radius:26px;background:var(--panel);box-shadow:0 30px 90px rgba(8,15,28,.35);transform:translateY(18px) scale(.98);transition:.25s}.v9-modal.open .v9-modal-card{transform:none}.v9-modal-card>header{min-height:72px;padding:12px 16px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--v9-border)}.v9-modal-card>header small{color:var(--v9-accent);font-size:8px;font-weight:850}.v9-modal-card>header h2{margin:1px 0;font-size:17px}.v9-modal-card>header>button{width:42px;height:42px;border:0;border-radius:14px;background:var(--v9-soft);color:var(--v9-ink);font-size:24px}.v9-modal-form{padding:15px;overflow:auto}.v9-modal-form footer{position:sticky;bottom:-15px;margin:5px -15px -15px;padding:11px 15px;display:grid;grid-template-columns:1fr 1fr;gap:8px;border-top:1px solid var(--v9-border);background:var(--panel)}

/* Existing business screens, polished */
.filter-tabs{position:sticky;z-index:24;top:80px;padding:7px;border:1px solid var(--v9-border);border-radius:16px;background:color-mix(in srgb,var(--panel) 94%,transparent);backdrop-filter:blur(16px);overflow-x:auto;scrollbar-width:none}.filter-tabs a{min-height:38px;display:inline-grid;place-items:center;border-radius:11px;font-size:9px}.filter-tabs a.active{background:var(--v9-ink);color:#d8cec5}.table-action{border-radius:11px}.status{border-radius:999px}
.v8-admin-product{border-radius:20px}.v8-admin-product-image{border-radius:16px}.v8-upload-box{border-radius:18px}.v8-copy-row input{font-size:12px}.v8-share-actions a,.v8-share-actions button{border-radius:12px}.v8-balance-hero{border-radius:24px}
.v4-ticket{box-shadow:0 7px 22px rgba(15,23,42,.05)}.v4-ticket-action{border-radius:14px}

/* Public ordering: full and calm */
.public-store-head{backdrop-filter:blur(18px)}.public-product{border:1px solid #e7eaf0;box-shadow:0 5px 18px rgba(15,23,42,.045)}.public-product:active{transform:scale(.98)}.public-cart-dock{border-radius:20px;background:#111827;box-shadow:0 18px 40px rgba(15,23,42,.27)}

@media(min-width:981px){
  .v9-checkout-step{display:block}.v9-stepper{display:none}.v9-checkout-body{padding-top:18px}.v9-checkout-footer{grid-template-columns:1fr auto}.v9-footer-back,.v9-footer-next{display:none}.v9-footer-submit{grid-column:2}.v9-footer-total{grid-column:1}.v9-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(min-width:1350px){.v9-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

@media(max-width:980px){
  :root{--mobile-nav-h:72px}.workspace{margin-right:0}.v4-topbar{height:60px;padding:0 10px;box-shadow:none}.topbar-start{min-width:0;gap:7px}.v9-mobile-back{width:40px;height:40px;display:grid;place-items:center;border:1px solid var(--v9-border);border-radius:13px;background:var(--panel);color:var(--v9-ink)}.v9-mobile-back svg{width:18px;transform:rotate(180deg)}.mobile-menu{display:grid;width:40px;height:40px;border-radius:13px}.topbar-title{min-width:0}.topbar-title strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.topbar-title small{display:none}.topbar-actions .topbar-date,.topbar-actions .notification-button,.topbar-actions .quick-sale{display:none}.topbar-actions{margin-right:auto}.topbar-actions .icon-button{width:40px;height:40px;border-radius:13px}.main-content{padding:12px 10px calc(var(--mobile-nav-h) + env(safe-area-inset-bottom) + 28px)}
  .v9-bottom-nav{right:8px;left:8px;bottom:calc(7px + env(safe-area-inset-bottom));height:66px;padding:5px;border:1px solid rgba(15,23,42,.08);border-radius:22px;background:color-mix(in srgb,var(--panel) 95%,transparent);backdrop-filter:blur(20px);box-shadow:0 16px 45px rgba(15,23,42,.18)}.v9-bottom-nav>a,.v9-bottom-nav>button{border-radius:16px;font-size:8px}.v9-bottom-nav .active{background:var(--v9-accent-soft);color:var(--v9-accent)}.v9-bottom-nav .sale-tab{background:transparent}.v9-bottom-nav .sale-tab-icon{width:48px;height:48px;margin-top:-23px;border:4px solid var(--panel);border-radius:17px;background:linear-gradient(145deg,var(--v9-accent-2),var(--v9-accent));box-shadow:0 12px 24px rgba(244,81,53,.3)}.v9-bottom-nav .sale-tab.active .sale-tab-icon{transform:translateY(-2px)}
  .v4-sidebar{z-index:150}.sidebar-scrim{z-index:140}

  .v9-page-hero{margin-bottom:12px;align-items:center}.v9-page-hero h1{font-size:21px}.v9-page-hero p{display:none}.v9-page-hero .button{min-height:43px;padding:0 11px;font-size:9px}.page-head{margin-bottom:12px;align-items:center}.page-head h1{font-size:21px}.page-head p{display:none}
  .v9-pos-page .main-content{padding-bottom:calc(var(--mobile-nav-h) + env(safe-area-inset-bottom) + 104px)}.v9-pos-hero{margin:0 0 9px}.v9-pos-hero h1{font-size:21px}.v9-pos-hero p{display:none}.v9-live-badge{font-size:8px}.v9-pos-hero-actions{display:none}.v9-pos-layout{display:block}.v9-pos-toolbar{top:60px;margin:0 -10px;padding:8px 10px;border-width:0 0 1px;border-radius:0;box-shadow:none}.v9-search-box{height:50px;border-radius:16px;box-shadow:0 6px 20px rgba(15,23,42,.05)}.v9-category-chips{margin-right:-10px;margin-left:-10px;padding:0 10px}.v9-category-chips button{min-height:39px}.v9-menu-meta{margin-top:9px}.v9-menu-meta p{display:none}.v9-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.v9-product-card{min-height:172px;padding:8px;display:flex;flex-direction:column;gap:6px;border-radius:19px}.v9-product-media{width:100%;height:96px}.v9-product-info{padding:1px 2px}.v9-product-info>strong{font-size:12px}.v9-product-info>small{font-size:8px}.v9-product-info>span{margin-top:5px}.v9-add-product{width:32px;height:32px;bottom:8px}.v9-product-count{left:7px;bottom:7px}

  .v9-checkout{position:fixed;z-index:180;inset:0;top:0;max-height:none;border:0;border-radius:0;background:var(--panel);box-shadow:none;transform:translateY(102%);opacity:.98;transition:transform .3s cubic-bezier(.2,.8,.2,1),opacity .2s}.v9-checkout-open .v9-checkout{transform:none;opacity:1}.v9-checkout-header{min-height:calc(64px + env(safe-area-inset-top));padding:calc(8px + env(safe-area-inset-top)) 12px 8px}.v9-icon-button{display:grid}.v9-checkout-header h2{font-size:17px}.v9-stepper{min-height:59px;padding:8px 10px}.v9-stepper button{height:42px;border-radius:13px}.v9-checkout-body{padding:12px 10px calc(92px + env(safe-area-inset-bottom))}.v9-checkout-step{display:none;margin:0}.v9-checkout-step.active{display:block;animation:v9StepIn .2s ease}.v9-section-heading{margin-bottom:9px}.v9-section-heading strong{font-size:14px}.v9-section-heading>span{max-width:42%;text-align:left}.v9-cart-item{padding:10px 38px 10px 9px}.v9-choice-grid span{min-height:87px}.v9-customer-picker{grid-template-columns:1fr}.v9-customer-picker>a{min-height:42px}.v9-two-col{grid-template-columns:1fr}.v9-payment-methods{grid-template-columns:1fr 1fr}.v9-payment-methods span{min-height:88px}.v9-adjustments{grid-template-columns:1fr 1fr}.v9-checkout-footer{position:absolute;right:0;left:0;bottom:0;min-height:calc(76px + env(safe-area-inset-bottom));padding:9px 10px calc(9px + env(safe-area-inset-bottom));box-shadow:0 -12px 35px rgba(15,23,42,.08)}.v9-footer-back{min-width:64px}.v9-footer-next,.v9-footer-submit{min-width:104px}.v9-inline-error{bottom:calc(90px + env(safe-area-inset-bottom))}.v9-checkout-backdrop{position:fixed;z-index:170;inset:0;display:block;background:rgba(8,15,28,.55);opacity:0;pointer-events:none;transition:.2s}.v9-checkout-open .v9-checkout-backdrop{opacity:1;pointer-events:auto}.v9-cart-dock{position:fixed;z-index:80;right:10px;left:10px;bottom:calc(var(--mobile-nav-h) + env(safe-area-inset-bottom) + 15px);height:68px;padding:8px 11px;display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:9px;border:0;border-radius:21px;background:linear-gradient(145deg,#172033,#0f172a);color:#d8cec5;box-shadow:0 18px 42px rgba(15,23,42,.28);text-align:right;transition:.2s}.v9-cart-dock:active{transform:scale(.985)}.v9-cart-dock.empty{opacity:.86}.v9-cart-dock-icon{position:relative;width:46px;height:46px;display:grid;place-items:center;border-radius:15px;background:var(--v9-accent)}.v9-cart-dock-icon svg{width:21px}.v9-cart-dock-icon b{position:absolute;top:-5px;left:-5px;min-width:20px;height:20px;padding:0 4px;display:grid;place-items:center;border:2px solid #172033;border-radius:999px;background:#fff;color:#172033;font-size:8px}.v9-cart-dock>span:nth-child(2){min-width:0;display:flex;flex-direction:column}.v9-cart-dock>span:nth-child(2) strong{font-size:12px}.v9-cart-dock>span:nth-child(2) small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#aeb9c8;font-size:8px}.v9-cart-dock>b{display:flex;align-items:baseline;gap:3px;white-space:nowrap}.v9-cart-dock>b strong{font-size:15px}.v9-cart-dock>b small{font-size:7px}.v9-cart-dock>i{font-size:23px;font-style:normal}.v9-checkout-open .v9-cart-dock,.v9-checkout-open .v9-bottom-nav,.v9-checkout-open .v4-topbar{opacity:0;pointer-events:none}
  @keyframes v9StepIn{from{opacity:0;transform:translateX(-10px)}to{opacity:1;transform:none}}

  .v9-customer-summary{grid-template-columns:1fr 1fr;gap:8px}.v9-customer-summary article{min-height:76px;padding:10px}.v9-customer-summary article:last-child{grid-column:1/-1}.v9-customer-summary article>span{width:40px;height:40px}.v9-customer-summary strong{font-size:14px}.v9-customers-panel{padding:10px;border:0;background:transparent;box-shadow:none}.v9-customers-toolbar{display:block}.v9-customers-toolbar>div{margin-bottom:9px}.v9-search-box.compact{width:100%}.v9-customer-list{grid-template-columns:1fr}.v9-customer-card{padding:12px;border-radius:19px}.v9-customer-actions{grid-template-columns:1fr 1fr}.v9-customer-actions button{grid-column:1/-1}.v9-modal{padding:0;align-items:flex-end}.v9-modal-card{width:100%;max-height:94dvh;border-radius:28px 28px 0 0;transform:translateY(100%)}.v9-modal.open .v9-modal-card{transform:none}.v9-modal-card>header{min-height:calc(68px + env(safe-area-inset-top));padding-top:calc(8px + env(safe-area-inset-top))}.v9-modal-form{padding-bottom:calc(90px + env(safe-area-inset-bottom))}.v9-modal-form footer{position:fixed;right:0;left:0;bottom:0;margin:0;padding:10px 12px calc(10px + env(safe-area-inset-bottom));z-index:2}

  .filter-tabs{top:60px;margin:0 -10px 10px;padding:7px 10px;border-width:0 0 1px;border-radius:0}.mobile-card-table tr{border-radius:19px;box-shadow:0 5px 18px rgba(15,23,42,.04)}.mobile-card-table .mobile-card-action a{min-height:45px;border-radius:13px;background:var(--v9-ink);color:#d8cec5}.v8-menu-admin-grid{gap:10px}.v8-sticky-form{position:static}.v8-admin-product-grid{grid-template-columns:1fr}.v8-admin-product{padding:9px}.v8-customer-hero,.v8-detail-grid{gap:10px}.v8-share-box{padding:14px}.v8-copy-row{grid-template-columns:1fr}.v8-copy-row input{min-height:48px}

  .public-checkout{position:fixed;z-index:210;inset:0;max-height:none;padding:calc(10px + env(safe-area-inset-top)) 12px calc(12px + env(safe-area-inset-bottom));border-radius:0;transform:translateY(102%)}.public-cart-open .public-checkout{transform:none}.public-fields{max-height:none;flex:1;overflow:auto}.public-cart-items{max-height:32dvh}.public-submit{min-height:58px}.public-cart-dock{bottom:calc(12px + env(safe-area-inset-bottom))}
}

@media(max-width:420px){
  .v9-product-grid{gap:7px}.v9-product-card{min-height:160px;padding:7px}.v9-product-media{height:86px}.v9-product-info>strong{font-size:11px}.v9-payment-methods span{padding:9px 7px}.v9-footer-total strong b{font-size:14px}.v9-footer-next,.v9-footer-submit{padding:0 11px;min-width:95px;font-size:9px}.v9-customer-summary article{gap:7px}.v9-customer-summary article>span{width:36px;height:36px}.v9-customer-summary strong{font-size:12px}
}

/* V9 public ordering components */
.v9-public-head{border-bottom:1px solid #eaedf2;background:rgba(255,255,255,.94)}.v9-public-head .public-store-brand small{display:flex;align-items:center;gap:6px}.v9-public-head .public-store-brand small i{width:7px;height:7px;border-radius:50%;background:#10b981;box-shadow:0 0 0 4px rgba(16,185,129,.1)}.v9-public-shell{padding-bottom:110px}.v9-public-welcome{border-radius:24px;background:linear-gradient(145deg,#111827,#263449);color:#d8cec5}.v9-public-welcome p,.v9-public-welcome span{color:#c7d0de}.v9-public-toolbar{top:0;border-bottom:1px solid #e7eaf0;background:rgba(245,247,250,.94);backdrop-filter:blur(18px)}.v9-public-products{gap:10px}.v9-public-product{overflow:hidden;border-radius:20px}.v9-public-product .public-product-image{position:relative}.v9-public-product .public-product-image>b{position:absolute;left:8px;bottom:8px;min-width:27px;height:27px;padding:0 7px;display:grid;place-items:center;border:2px solid #fff;border-radius:10px;background:var(--v9-accent);color:#d8cec5;font-size:10px}.v9-public-product.in-cart{border-color:var(--v9-accent);background:var(--v9-accent-soft)}.v9-public-checkout{display:flex;flex-direction:column;overflow:hidden}.v9-public-checkout-head{min-height:66px;padding:10px 12px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:9px;border-bottom:1px solid #e7eaf0}.v9-public-checkout-head>button{width:42px;height:42px;border:0;border-radius:14px;background:#f2f4f7;font-size:23px}.v9-public-checkout-head>div{display:flex;flex-direction:column}.v9-public-checkout-head small{color:var(--v9-accent);font-size:8px;font-weight:850}.v9-public-checkout-head strong{font-size:15px}.v9-public-checkout-head>span{color:#667085;font-size:9px}.v9-public-stepper{padding:8px 10px;display:grid;grid-template-columns:1fr 1fr;gap:7px;border-bottom:1px solid #e7eaf0;background:#f7f8fa}.v9-public-stepper button{min-height:42px;border:1px solid #e1e5eb;border-radius:13px;background:#fff;color:#667085;font:inherit;font-size:9px;font-weight:850}.v9-public-stepper b{margin-left:4px}.v9-public-stepper button.active{border-color:var(--v9-accent);background:var(--v9-accent-soft);color:var(--v9-accent)}.v9-public-checkout-body{flex:1;min-height:0;padding:12px;overflow:auto}.v9-public-panel{display:none}.v9-public-panel.active{display:block}.v9-public-cart-items{max-height:none}.v9-public-cart-item{padding:10px;display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #e7eaf0;border-radius:16px;background:#fff}.v9-public-cart-item+ .v9-public-cart-item{margin-top:8px}.v9-public-cart-item>div:first-child{min-width:0;display:flex;align-items:center;gap:8px}.v9-public-cart-item>div:first-child>span{width:42px;height:42px;flex:0 0 auto;display:grid;place-items:center;border-radius:13px;background:var(--v9-accent-soft);color:var(--v9-accent);font-weight:900}.v9-public-cart-item p{min-width:0;margin:0;display:flex;flex-direction:column}.v9-public-cart-item p strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.v9-public-cart-item p small{color:#667085;font-size:8px}.v9-public-cart-item>div:last-child{display:flex;align-items:center;gap:5px}.v9-public-cart-item button{width:36px;height:36px;border:1px solid #e3e7ed;border-radius:11px;background:#f6f7f9;font-size:17px}.v9-public-fields{max-height:none;overflow:visible}.v9-public-total{margin-top:10px;padding:13px;border-radius:16px;background:#111827;color:#d8cec5}.v9-public-total span{color:#c8d0dd}.v9-public-footer{min-height:74px;padding:9px 11px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;border-top:1px solid #e7eaf0;background:rgba(255,255,255,.96);backdrop-filter:blur(15px)}.v9-public-footer>button{min-height:50px;padding:0 14px;border:0;border-radius:14px;background:#f2f4f7;color:#111827;font:inherit;font-size:9px;font-weight:900}.v9-public-footer>div{display:flex;flex-direction:column}.v9-public-footer small{color:#667085;font-size:7px}.v9-public-footer strong b{font-size:15px}.v9-public-footer #publicNext,.v9-public-footer .public-submit{background:var(--v9-accent);color:#d8cec5}.v9-public-footer .public-submit{margin:0;min-height:50px}.v9-public-dock{grid-template-columns:auto 1fr auto}
@media(max-width:980px){.v9-public-checkout-head{padding-top:calc(9px + env(safe-area-inset-top));min-height:calc(66px + env(safe-area-inset-top))}.v9-public-checkout-body{padding-bottom:calc(86px + env(safe-area-inset-bottom))}.v9-public-footer{position:absolute;right:0;left:0;bottom:0;padding-bottom:calc(9px + env(safe-area-inset-bottom));min-height:calc(74px + env(safe-area-inset-bottom))}.v9-public-panel{animation:v9StepIn .2s ease}.v9-public-fields input,.v9-public-fields select,.v9-public-fields textarea{min-height:52px;border-radius:15px}.v9-public-product .public-product-image{height:118px}.v9-public-welcome{padding:18px}.v9-public-welcome h1{font-size:24px}}
/* final V9 switch alignment */
.v9-switch-row{grid-template-columns:43px minmax(0,1fr)}.v9-switch-row>span{grid-column:1}.v9-switch-row>div{grid-column:2;min-width:0}.v9-switch-row>div b,.v9-switch-row>div small{white-space:normal}

/* V9 menu administration */
.v9-page-actions{display:flex;gap:8px}.v9-menu-summary{margin-bottom:14px;display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.v9-menu-summary article{min-height:82px;padding:12px;display:flex;align-items:center;gap:10px;border:1px solid var(--v9-border);border-radius:19px;background:var(--panel)}.v9-menu-summary article>span{width:44px;height:44px;display:grid;place-items:center;border-radius:14px;background:var(--v9-accent-soft);color:var(--v9-accent)}.v9-menu-summary article>span.success{background:#eaf8f2;color:var(--v9-success)}.v9-menu-summary svg{width:20px;height:20px}.v9-menu-summary div{display:flex;flex-direction:column}.v9-menu-summary small{color:var(--v9-muted);font-size:8px}.v9-menu-summary strong{font-size:17px}.v9-products-panel{padding:16px}.v9-admin-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.v9-admin-product{position:relative;min-width:0;padding:9px;display:grid;grid-template-columns:96px minmax(0,1fr);gap:10px;border:1px solid var(--v9-border);border-radius:20px;background:var(--panel);transition:.18s}.v9-admin-product:hover{box-shadow:var(--v9-shadow);transform:translateY(-1px)}.v9-admin-product-image{position:relative;height:96px;overflow:hidden;border-radius:15px;background:linear-gradient(145deg,#eef2f6,#e5ebf2)}.v9-admin-product-image img{width:100%;height:100%;object-fit:cover}.v9-admin-product-image>span{width:100%;height:100%;display:grid;place-items:center;color:var(--v9-accent);font-size:28px;font-weight:900}.v9-admin-product-image i{position:absolute;top:6px;right:6px;padding:3px 6px;border-radius:999px;background:#111827;color:#d8cec5;font-size:7px;font-style:normal}.v9-admin-product-copy{min-width:0;display:flex;flex-direction:column}.v9-admin-product-copy>div:first-child{min-width:0;display:flex;flex-direction:column}.v9-admin-product-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.v9-admin-product-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--v9-muted);font-size:8px}.v9-admin-product-copy>b{margin-top:5px;color:var(--v9-accent);font-size:12px}.v9-admin-product-copy>b em{font-size:7px;font-style:normal}.v9-admin-product-copy>p{height:29px;margin:4px 0;color:var(--v9-muted);font-size:8px;line-height:1.8;overflow:hidden}.v9-admin-product-copy>div:last-child{margin-top:auto;display:flex;gap:5px}.v9-admin-product-copy>div:last-child span,.v9-admin-product-copy>div:last-child a{padding:4px 7px;border-radius:999px;background:var(--v9-soft);color:var(--v9-muted);font-size:7px}.v9-admin-product-copy>div:last-child span.active{background:#eaf8f2;color:var(--v9-success)}.v9-admin-product-copy>div:last-child span.off{background:#fff1f1;color:var(--v9-danger)}.v9-admin-product>button{position:absolute;left:9px;bottom:9px;min-height:32px;padding:0 8px;border:1px solid var(--v9-border);border-radius:10px;background:var(--panel);color:var(--v9-ink);font:inherit;font-size:7px;font-weight:850}.v9-category-admin{margin-top:14px}.v9-category-form{display:grid;grid-template-columns:1.3fr .6fr 1fr 1.5fr auto;gap:8px;align-items:end}.v9-category-form label{display:flex;flex-direction:column;gap:5px;color:var(--v9-ink-2);font-size:9px;font-weight:800}.v9-category-form input{min-height:48px;padding:0 11px;border:1px solid var(--v9-border);border-radius:13px;background:var(--panel);color:var(--v9-ink)}.v9-category-form .v9-switch-row{min-height:48px}.v9-category-list{margin-top:11px;display:flex;gap:7px;flex-wrap:wrap}.v9-category-list button{min-height:46px;padding:6px 12px;display:flex;align-items:flex-start;justify-content:center;flex-direction:column;border:1px solid var(--v9-border);border-radius:13px;background:var(--v9-soft);color:var(--v9-ink);font:inherit}.v9-category-list strong{font-size:9px}.v9-category-list small{color:var(--v9-muted);font-size:7px}.v9-three-col{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.v9-image-upload{position:relative;min-height:150px;padding:10px;display:grid;place-items:center;border:1.5px dashed var(--v9-border);border-radius:18px;background:var(--v9-soft);overflow:hidden}.v9-image-upload>input{position:absolute;inset:0;opacity:0;cursor:pointer}.v9-image-upload>span{display:flex;align-items:center;justify-content:center;flex-direction:column;pointer-events:none}.v9-image-upload svg{width:24px;height:24px;margin-bottom:6px;color:var(--v9-accent)}.v9-image-upload b{font-size:10px}.v9-image-upload small{color:var(--v9-muted);font-size:8px}.v9-image-upload img{position:absolute;inset:8px;width:calc(100% - 16px);height:calc(100% - 16px);object-fit:cover;border-radius:14px;background:var(--panel)}
@media(max-width:1200px){.v9-admin-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.v9-category-form{grid-template-columns:1fr 1fr 1fr}.v9-category-form .wide{grid-column:1/3}.v9-category-form>button{min-height:48px}}
@media(max-width:980px){.v9-page-actions .ghost{display:none}.v9-menu-summary{grid-template-columns:1fr 1fr;gap:8px}.v9-menu-summary article{min-height:72px;padding:9px}.v9-menu-summary article:last-child{grid-column:1/-1}.v9-products-panel{padding:10px;border:0;background:transparent;box-shadow:none}.v9-admin-product-grid{grid-template-columns:1fr}.v9-admin-product{grid-template-columns:88px minmax(0,1fr);padding:8px}.v9-admin-product-image{height:88px}.v9-category-admin{padding:12px}.v9-category-form{grid-template-columns:1fr 1fr}.v9-category-form .wide{grid-column:1/-1}.v9-category-form .v9-switch-row{grid-column:1/-1}.v9-category-form>button{grid-column:1/-1}.v9-three-col{grid-template-columns:1fr}.v9-product-modal{max-height:96dvh}.v9-image-upload{min-height:170px}}

/* FoodOS V9.0.1 — Android/WebView More Menu compositing hotfix */
@media (max-width:980px){
  /* Android WebView can incorrectly blur sibling layers when backdrop-filter is used here. */
  .sidebar-scrim{
    z-index:10000;
    background:rgba(6,10,18,.62);
    -webkit-backdrop-filter:none;
    backdrop-filter:none;
    -webkit-filter:none;
    filter:none;
  }
  .v4-sidebar,
  .v4-sidebar.open{
    z-index:10020;
    opacity:1;
    visibility:visible;
    -webkit-filter:none;
    filter:none;
    -webkit-backdrop-filter:none;
    backdrop-filter:none;
    isolation:isolate;
    transform:translateZ(0);
    -webkit-transform:translateZ(0);
    background:linear-gradient(180deg,#101a2b 0%,#0b1321 100%);
  }
  .v4-sidebar *{
    -webkit-filter:none;
    filter:none;
  }
  body.menu-open .v4-sidebar{
    opacity:1;
    pointer-events:auto;
  }
  .v9-bottom-nav,.mobile-bottom-nav{z-index:9990}
}


/* FoodOS V9.1 — customer intelligence & exact purchase history */
.v91-customer-command{display:grid;grid-template-columns:minmax(250px,310px) minmax(0,1fr);gap:12px;margin-bottom:12px}.v91-debt-card{padding:20px;border-radius:24px;background:linear-gradient(145deg,#172033,#0f172a);color:#d8cec5;box-shadow:0 18px 50px rgba(15,23,42,.16)}.v91-debt-card.clear{background:linear-gradient(145deg,#0c7a59,#075b43)}.v91-debt-card>span{color:#bac5d4;font-size:10px}.v91-debt-card>strong{display:block;margin-top:6px;font-size:31px;line-height:1.15}.v91-debt-card>small{color:#cbd5e1}.v91-debt-card p{margin:14px 0 0;color:#d6deea;font-size:9px;line-height:1.9}.v91-credit-limit{margin-top:14px;padding:9px 10px;border:1px solid rgba(255,255,255,.1);border-radius:12px;background:rgba(255,255,255,.06);font-size:8px}.v91-customer-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.v91-customer-kpis article{min-height:96px;padding:13px;display:flex;flex-direction:column;justify-content:center;border:1px solid var(--v9-border);border-radius:18px;background:var(--panel)}.v91-customer-kpis span{color:var(--v9-muted);font-size:8px}.v91-customer-kpis strong{margin-top:5px;font-size:17px;color:var(--v9-ink)}.v91-customer-kpis small{color:var(--v9-muted);font-size:7px}.v91-favorite-strip{margin-bottom:12px;padding:10px 14px;display:grid;grid-template-columns:1.4fr .7fr 1fr 1fr;gap:8px;border:1px solid #fed7aa;border-radius:18px;background:#fff7ed}.v91-favorite-strip div{display:flex;flex-direction:column;gap:2px}.v91-favorite-strip span{color:#9a5723;font-size:7px}.v91-favorite-strip strong{font-size:10px;color:#7c3514}.v91-customer-layout{display:grid;grid-template-columns:330px minmax(0,1fr);gap:12px;margin-bottom:12px}.v91-product-table-head,.v91-product-list article{display:grid;grid-template-columns:minmax(190px,1.6fr) .55fr .7fr .9fr;gap:8px;align-items:center}.v91-product-table-head{padding:0 10px 7px;color:var(--v9-muted);font-size:7px}.v91-product-list{display:grid;gap:6px}.v91-product-list article{padding:10px;border:1px solid var(--v9-border);border-radius:14px;background:var(--v9-soft)}.v91-product-list article>div{display:flex;flex-direction:column;min-width:0}.v91-product-list strong{font-size:10px}.v91-product-list small{color:var(--v9-muted);font-size:7px}.v91-product-list article>b{font-size:10px}.v91-product-list article>b small{display:block;font-weight:500}.v91-invoices-panel{margin-bottom:12px}.v91-invoice-list{display:grid;gap:7px}.v91-invoice{border:1px solid var(--v9-border);border-radius:16px;background:var(--panel);overflow:hidden}.v91-invoice summary{padding:11px 12px;display:grid;grid-template-columns:minmax(140px,1fr) auto 20px;gap:10px;align-items:center;cursor:pointer;list-style:none}.v91-invoice summary::-webkit-details-marker{display:none}.v91-invoice summary>div:first-child{display:flex;flex-direction:column}.v91-invoice summary strong{font-size:10px}.v91-invoice summary small{color:var(--v9-muted);font-size:7px}.v91-invoice-money{display:flex;gap:12px}.v91-invoice-money span{display:flex;flex-direction:column;color:var(--v9-muted);font-size:7px}.v91-invoice-money b{color:var(--v9-ink);font-size:9px}.v91-invoice-money .due b{color:#d04a39}.v91-invoice-money .paid b{color:#0b8b62}.v91-invoice summary>i{font-size:15px;font-style:normal;transition:.2s}.v91-invoice[open] summary>i{transform:rotate(180deg)}.v91-invoice-items{padding:0 12px 9px;display:grid;gap:5px}.v91-invoice-items article{padding:8px 9px;display:flex;align-items:center;justify-content:space-between;border-radius:11px;background:var(--v9-soft)}.v91-invoice-items article>div{display:flex;flex-direction:column}.v91-invoice-items strong{font-size:9px}.v91-invoice-items small{color:var(--v9-muted);font-size:7px}.v91-invoice-items>b{font-size:9px}.v91-invoice footer{padding:0 12px 10px}.v91-invoice footer a{font-size:8px;font-weight:800;color:var(--v9-accent)}.v91-bottom-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(300px,.6fr);gap:12px}.v91-share-box{height:max-content}.v91-customer-history{margin:10px 0;padding:12px;border:1px solid #d9e5f0;border-radius:18px;background:linear-gradient(180deg,#f8fbff,#fff)}.v91-customer-history-head{display:flex;justify-content:space-between;align-items:center}.v91-customer-history-head>div{display:flex;flex-direction:column}.v91-customer-history-head small{color:var(--v9-muted);font-size:7px}.v91-customer-history-head strong{font-size:11px}.v91-customer-history-head>a{padding:7px 10px;border-radius:10px;background:#eff4fa;color:#34465d;font-size:7px;font-weight:850}.v91-history-kpis{margin-top:9px;display:grid;grid-template-columns:repeat(4,1fr);gap:5px}.v91-history-kpis span{padding:8px;display:flex;flex-direction:column;border-radius:11px;background:#fff;border:1px solid #edf1f5}.v91-history-kpis small{color:var(--v9-muted);font-size:6px}.v91-history-kpis b{margin-top:2px;font-size:10px}.v91-history-kpis em{color:var(--v9-muted);font-size:6px;font-style:normal}.v91-history-kpis .debt{background:#fff6f3;border-color:#ffdcd4}.v91-history-kpis .debt b{color:#d04a39}.v91-history-products{margin-top:7px;display:flex;gap:5px;overflow:auto;padding-bottom:1px}.v91-history-products>span{min-width:max-content;padding:6px 8px;display:flex;flex-direction:column;border-radius:10px;background:#eff4fa}.v91-history-products>span.favorite{background:#fff0e9}.v91-history-products b{font-size:7px}.v91-history-products em{color:var(--v9-muted);font-size:6px;font-style:normal}.v91-history-products>small{color:var(--v9-muted);font-size:7px}.v91-credit-projection{margin-top:9px;display:grid;grid-template-columns:1fr 1fr;gap:6px}.v91-credit-projection>div{padding:9px 10px;display:flex;justify-content:space-between;align-items:center;border:1px solid var(--v9-border);border-radius:12px;background:var(--panel)}.v91-credit-projection span{color:var(--v9-muted);font-size:7px}.v91-credit-projection strong{font-size:9px}.v91-credit-projection .total{grid-column:1/-1;padding:12px;background:#fff4ef;border-color:#ffd9cd}.v91-credit-projection .total span{color:#9b4b32}.v91-credit-projection .total strong{color:#d04a39;font-size:12px}
@media(max-width:980px){.v91-customer-command,.v91-customer-layout,.v91-bottom-grid{grid-template-columns:1fr}.v91-customer-kpis{grid-template-columns:repeat(2,1fr)}.v91-favorite-strip{grid-template-columns:1fr 1fr}.v91-product-table-head{display:none}.v91-product-list article{grid-template-columns:minmax(0,1fr) auto auto}.v91-product-list article>b:last-child{grid-column:1/-1;padding-top:6px;border-top:1px dashed var(--v9-border)}.v91-invoice summary{grid-template-columns:1fr 20px}.v91-invoice-money{grid-column:1/-1;grid-row:2;justify-content:space-between;padding-top:7px;border-top:1px dashed var(--v9-border)}.v91-invoice summary>i{grid-column:2;grid-row:1}.v91-history-kpis{grid-template-columns:1fr 1fr}.v91-customer-history{margin:9px 0}.v91-credit-projection{grid-template-columns:1fr}.v91-credit-projection .total{grid-column:auto}.v91-customer-head .button{width:100%;justify-content:center}}
@media(max-width:520px){.v91-customer-kpis{gap:6px}.v91-customer-kpis article{min-height:82px;padding:10px}.v91-customer-kpis strong{font-size:14px}.v91-favorite-strip{grid-template-columns:1fr}.v91-product-list article{grid-template-columns:1fr 1fr}.v91-product-list article>div{grid-column:1/-1}.v91-product-list article>b:last-child{grid-column:1/-1}.v91-invoice summary{padding:10px}.v91-invoice-money{gap:4px}.v91-history-kpis span{padding:7px}.v91-history-products{margin-left:-4px;margin-right:-4px;padding-inline:4px}.v91-debt-card>strong{font-size:27px}}

.v91-public-history{margin:10px 0;display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.v91-public-history>div{padding:12px;display:flex;flex-direction:column;border:1px solid #e7ebf0;border-radius:16px;background:#fff}.v91-public-history small{color:#7b8796;font-size:8px}.v91-public-history strong{margin-top:4px;font-size:17px}.v91-public-history span{color:#7b8796;font-size:7px}.v91-public-products{display:grid;gap:7px}.v91-public-products article{padding:10px 11px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 10px;align-items:center;border:1px solid #e7ebf0;border-radius:14px;background:#fff}.v91-public-products article>div{display:flex;flex-direction:column}.v91-public-products strong{font-size:10px}.v91-public-products small{color:#7b8796;font-size:7px}.v91-public-products b{font-size:10px}.v91-public-products span{grid-column:1/-1;color:#7b8796;font-size:7px}@media(max-width:520px){.v91-public-history{grid-template-columns:1fr 1fr}.v91-public-history>div:first-child{grid-column:1/-1}}

/* FoodOS V9.2 — Loyalty Club */
.v92-level{display:inline-flex;align-items:center;justify-content:center;gap:4px;font-weight:900}.v92-wallet-chip{background:#ecfdf5;color:#047857;border-color:#bbf7d0}.v9-customer-summary .loyalty{background:#fff7ed;color:#c2670c}
.v92-loyalty-hero{position:relative;margin-bottom:14px;padding:23px 25px;display:flex;align-items:center;justify-content:space-between;gap:20px;overflow:hidden;border:1px solid #dfe4ec;border-radius:26px;background:radial-gradient(circle at 12% 20%,rgba(251,191,36,.15),transparent 32%),linear-gradient(135deg,#101827,#18243a);color:#d8cec5;box-shadow:0 18px 45px rgba(15,23,42,.13)}.v92-loyalty-hero:after{content:'★';position:absolute;left:30px;top:-42px;font-size:170px;color:rgba(255,255,255,.035);transform:rotate(-12deg)}.v92-loyalty-kicker{display:inline-flex;align-items:center;gap:7px;color:#f7c76e;font-size:9px;font-weight:850}.v92-loyalty-kicker i{width:8px;height:8px;border-radius:50%;background:#fbbf24;box-shadow:0 0 0 5px rgba(251,191,36,.1)}.v92-loyalty-hero h1{margin:5px 0 3px;font-size:29px;font-weight:950}.v92-loyalty-hero p{margin:0;color:#b7c2d2;font-size:10px}.v92-loyalty-status{min-width:150px;padding:12px 14px;display:flex;align-items:center;gap:10px;border:1px solid rgba(255,255,255,.1);border-radius:17px;background:rgba(255,255,255,.06)}.v92-loyalty-status>span{width:13px;height:13px;border-radius:50%}.v92-loyalty-status.on>span{background:#34d399;box-shadow:0 0 0 6px rgba(52,211,153,.12)}.v92-loyalty-status.off>span{background:#f87171}.v92-loyalty-status div{display:flex;flex-direction:column}.v92-loyalty-status small{color:#9eadc0;font-size:7px}.v92-loyalty-status strong{font-size:12px}
.v92-loyalty-kpis{margin-bottom:12px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.v92-loyalty-kpis article{min-width:0;padding:13px;display:flex;align-items:center;gap:9px;border:1px solid var(--v9-border);border-radius:18px;background:var(--panel)}.v92-loyalty-kpis article>span{width:36px;height:36px;display:grid;place-items:center;border-radius:12px;background:#fff7ed;font-size:17px}.v92-loyalty-kpis article>div{min-width:0;display:flex;flex-direction:column}.v92-loyalty-kpis small{color:var(--v9-muted);font-size:7px;white-space:nowrap}.v92-loyalty-kpis strong{margin-top:2px;font-size:15px;overflow:hidden;text-overflow:ellipsis}.v92-loyalty-kpis em{color:var(--v9-muted);font-size:6px;font-style:normal}
.v92-loyalty-grid{display:grid;grid-template-columns:minmax(320px,.8fr) minmax(0,1.2fr);gap:12px;margin-bottom:12px}.v92-loyalty-settings,.v92-reward-manager{min-width:0}.v92-level-settings{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.v92-level-settings label{padding:8px;border:1px solid var(--v9-border);border-radius:13px;background:var(--v9-soft)}.v92-level-settings label>span{display:block;margin-bottom:5px;font-size:8px;font-weight:900}.v92-level-settings .bronze{color:#a76532}.v92-level-settings .silver{color:#64748b}.v92-level-settings .gold{color:#b7791f}.v92-level-settings .vip{color:#7c3aed}.v92-reward-form{padding:11px;border:1px solid var(--v9-border);border-radius:17px;background:var(--v9-soft);display:grid;gap:8px}.v92-reward-list{margin-top:9px;display:grid;gap:6px;max-height:430px;overflow:auto}.v92-reward-item{border:1px solid var(--v9-border);border-radius:14px;background:var(--panel);overflow:hidden}.v92-reward-item.disabled{opacity:.58}.v92-reward-item summary{padding:10px;display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;gap:8px;align-items:center;list-style:none;cursor:pointer}.v92-reward-item summary::-webkit-details-marker{display:none}.v92-reward-item summary>div{display:flex;flex-direction:column}.v92-reward-item summary strong{font-size:9px}.v92-reward-item summary small{color:var(--v9-muted);font-size:6px}.v92-reward-item summary>span{font-size:8px;font-weight:850}.v92-reward-item summary>b{color:#0b8b62;font-size:8px}.v92-reward-item summary>i{padding:4px 6px;border-radius:7px;background:var(--v9-soft);font-size:6px;font-style:normal}.v92-reward-edit{padding:10px;border-top:1px solid var(--v9-border);display:grid;gap:7px}
.v92-top-members,.v92-club-activity{margin-bottom:12px}.v92-members-head,.v92-members-list>a{display:grid;grid-template-columns:minmax(170px,1.4fr) .55fr .55fr .8fr .9fr .9fr;gap:8px;align-items:center}.v92-members-head{padding:0 10px 7px;color:var(--v9-muted);font-size:7px}.v92-members-list{display:grid;gap:5px}.v92-members-list>a{padding:9px 10px;border:1px solid var(--v9-border);border-radius:13px;background:var(--v9-soft);color:var(--v9-ink)}.v92-members-list .member{display:grid;grid-template-columns:25px 1fr;gap:7px;align-items:center}.v92-members-list .member>span{width:25px;height:25px;display:grid;place-items:center;border-radius:9px;background:var(--panel);font-size:7px;font-weight:900}.v92-members-list .member>div{display:flex;flex-direction:column}.v92-members-list strong{font-size:9px}.v92-members-list small{color:var(--v9-muted);font-size:6px}.v92-members-list>a>b{font-size:9px}.v92-level{padding:5px 7px;border-radius:9px;background:#fff7ed;color:#9a5c28;font-size:7px}.v92-activity-summary{display:flex;gap:5px}.v92-activity-summary span{padding:6px 8px;border-radius:9px;background:var(--v9-soft);color:var(--v9-muted);font-size:7px}.v92-activity-list{display:grid;gap:5px}.v92-activity-list article{padding:8px 10px;display:grid;grid-template-columns:31px minmax(0,1fr) auto;gap:8px;align-items:center;border:1px solid var(--v9-border);border-radius:13px}.v92-activity-list .avatar{width:31px;height:31px;display:grid;place-items:center;border-radius:11px;background:#fff1e8;color:#b64c22;font-size:11px;font-weight:900}.v92-activity-list article>div:nth-child(2){display:flex;flex-direction:column}.v92-activity-list strong{font-size:9px}.v92-activity-list small{color:var(--v9-muted);font-size:6px}.v92-activity-list article>span{display:flex;flex-direction:column;text-align:left;font-size:7px}.v92-activity-list .plus{color:#087f5b}.v92-activity-list .minus{color:#c24136}.v92-activity-list em{font-style:normal}
/* Customer profile loyalty card */
.v92-loyalty-profile{margin-bottom:12px;padding:16px;display:grid;grid-template-columns:minmax(310px,.75fr) minmax(0,1.25fr);gap:14px;border:1px solid #e8dfc9;border-radius:24px;background:linear-gradient(140deg,#fffdfa,#fff);box-shadow:0 8px 26px rgba(95,70,25,.045)}.v92-loyalty-main{min-width:0}.v92-loyalty-badge{display:flex;align-items:center;gap:10px}.v92-loyalty-badge>span{width:45px;height:45px;display:grid;place-items:center;border-radius:16px;background:linear-gradient(145deg,#f7b84a,#d58a1e);color:#d8cec5;font-size:21px;box-shadow:0 9px 20px rgba(213,138,30,.22)}.v92-loyalty-badge>div{display:flex;flex-direction:column}.v92-loyalty-badge small{color:#8c7653;font-size:7px}.v92-loyalty-badge strong{font-size:15px}.v92-loyalty-numbers{margin-top:12px;display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.v92-loyalty-numbers article{padding:10px;border:1px solid #eee6d7;border-radius:14px;background:rgba(255,255,255,.8);display:flex;flex-direction:column}.v92-loyalty-numbers small{color:#897a62;font-size:6px}.v92-loyalty-numbers strong{margin-top:3px;font-size:13px}.v92-loyalty-numbers span{color:#9d8f79;font-size:6px}.v92-loyalty-numbers .wallet{background:#f2fbf6;border-color:#d8efe2}.v92-loyalty-numbers .wallet strong{color:#087f5b}.v92-level-progress{margin-top:10px}.v92-level-progress>div:first-child{display:flex;justify-content:space-between;gap:10px;color:#8b7a5d;font-size:7px}.v92-level-progress b{color:#5d513f}.v92-progress-track{margin-top:6px;height:7px;overflow:hidden;border-radius:999px;background:#eee8dc}.v92-progress-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#d69025,#f4bf61)}.v92-loyalty-actions{min-width:0}.v92-rewards-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.v92-rewards-title>div{display:flex;flex-direction:column}.v92-rewards-title small{color:#8c7653;font-size:7px}.v92-rewards-title strong{font-size:10px}.v92-rewards-title>a{font-size:7px;color:#9a5c28;font-weight:850}.v92-reward-strip{margin-top:8px;display:flex;gap:7px;overflow:auto;padding-bottom:2px}.v92-reward-strip article{min-width:170px;padding:10px;display:flex;flex-direction:column;border:1px solid #ede6da;border-radius:15px;background:#fff;opacity:.65}.v92-reward-strip article.available{opacity:1;border-color:#e4c98f;box-shadow:0 6px 18px rgba(153,105,23,.07)}.v92-reward-strip article>div{display:flex;flex-direction:column}.v92-reward-strip strong{font-size:9px}.v92-reward-strip small{color:#8e826f;font-size:6px}.v92-reward-strip article>span{margin-top:7px;color:#9a5c28;font-size:7px}.v92-reward-strip article>em{font-size:8px;color:#087f5b;font-style:normal;font-weight:850}.v92-reward-strip button{margin-top:8px;width:100%;height:31px;border:0;border-radius:9px;background:#172033;color:#d8cec5;font-size:7px;font-weight:850}.v92-reward-strip button:disabled{background:#e7e4df;color:#9c958c}.v92-loyalty-admin-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:12px;margin-bottom:12px}.v92-loyalty-tx-list{display:grid;gap:5px;max-height:280px;overflow:auto}.v92-loyalty-tx-list article{padding:8px 9px;display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center;border:1px solid var(--v9-border);border-radius:12px}.v92-loyalty-tx-list article>div{display:flex;flex-direction:column}.v92-loyalty-tx-list strong{font-size:8px}.v92-loyalty-tx-list small{color:var(--v9-muted);font-size:6px}.v92-loyalty-tx-list article>span{display:flex;flex-direction:column;font-size:7px;text-align:left}.v92-loyalty-tx-list .plus{color:#087f5b}.v92-loyalty-tx-list .minus{color:#c24136}
/* POS loyalty checkout */
.v92-pos-loyalty{margin:10px 0;padding:11px;border:1px solid #ead9b8;border-radius:17px;background:linear-gradient(145deg,#fffaf1,#fff)}.v92-pos-loyalty-head{display:grid;grid-template-columns:36px 1fr auto;gap:8px;align-items:center}.v92-pos-loyalty-head>span{width:36px;height:36px;display:grid;place-items:center;border-radius:12px;background:#172033;color:#f4bf61;font-size:16px}.v92-pos-loyalty-head>div{display:flex;flex-direction:column}.v92-pos-loyalty-head small{color:#8b7a5d;font-size:6px}.v92-pos-loyalty-head strong{font-size:10px}.v92-pos-loyalty-head>div:last-child{text-align:left}.v92-pos-loyalty-head>div:last-child b{color:#9a5c28;font-size:11px}.v92-pos-loyalty-wallet{margin-top:8px;padding:8px 9px;display:flex;align-items:center;justify-content:space-between;gap:8px;border-radius:12px;background:#f3faf6}.v92-pos-loyalty-wallet>div{display:flex;flex-direction:column}.v92-pos-loyalty-wallet small{color:#638072;font-size:6px}.v92-pos-loyalty-wallet strong{color:#087f5b;font-size:9px}.v92-pos-loyalty-wallet button{height:30px;padding:0 9px;border:0;border-radius:9px;background:#087f5b;color:#d8cec5;font-size:7px;font-weight:850}.v92-pos-loyalty-wallet button:disabled{opacity:.45}.v92-pos-loyalty>label{margin-top:8px}.v92-pos-loyalty>label small{display:block;margin-top:4px;color:#8b7a5d;font-size:6px}
/* Public customer club */
.v92-public-loyalty{margin:10px 0;padding:14px;border:1px solid #eadfca;border-radius:21px;background:linear-gradient(145deg,#fffaf1,#fff);box-shadow:0 8px 22px rgba(92,67,22,.05)}.v92-public-level{display:flex;align-items:center;gap:9px}.v92-public-level>span{width:40px;height:40px;display:grid;place-items:center;border-radius:14px;background:#172033;color:#f2bc5a;font-size:18px}.v92-public-level>div{display:flex;flex-direction:column}.v92-public-level small{color:#8a7758;font-size:7px}.v92-public-level strong{font-size:13px}.v92-public-loyalty-kpis{margin-top:10px;display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.v92-public-loyalty-kpis article{padding:9px;display:flex;flex-direction:column;border:1px solid #eee5d5;border-radius:13px;background:#fff}.v92-public-loyalty-kpis small{color:#8a7c66;font-size:6px}.v92-public-loyalty-kpis strong{margin-top:3px;font-size:12px}.v92-public-loyalty-kpis span{color:#948774;font-size:6px}.v92-public-progress{margin-top:9px}.v92-public-progress>div:first-child{display:flex;justify-content:space-between;color:#8a7c66;font-size:6px}.v92-public-progress>div:last-child{margin-top:5px;height:6px;border-radius:999px;background:#eee5d5;overflow:hidden}.v92-public-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#d58b20,#f3bf61)}.v92-public-rewards{display:grid;gap:6px}.v92-public-rewards article{position:relative;padding:10px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 8px;border:1px solid #e8e2d7;border-radius:14px;background:#fff}.v92-public-rewards article.available{border-color:#d9b879;background:#fffaf0}.v92-public-rewards article>div{display:flex;flex-direction:column}.v92-public-rewards strong{font-size:9px}.v92-public-rewards small{color:#8a7c66;font-size:6px}.v92-public-rewards span{font-size:7px;font-weight:850}.v92-public-rewards b{grid-column:1/-1;color:#087f5b;font-size:8px}.v92-public-rewards em{position:absolute;left:9px;bottom:9px;color:#9a5c28;font-size:6px;font-style:normal}.v92-public-loyalty-tx{display:grid;gap:5px}.v92-public-loyalty-tx article{padding:8px 9px;display:flex;align-items:center;justify-content:space-between;border:1px solid #e8ebef;border-radius:12px;background:#fff}.v92-public-loyalty-tx article>div{display:flex;flex-direction:column}.v92-public-loyalty-tx strong{font-size:8px}.v92-public-loyalty-tx small{color:#7e8996;font-size:6px}.v92-public-loyalty-tx article>span{display:flex;flex-direction:column;text-align:left;font-size:7px}.v92-public-loyalty-tx article>span b{color:#087f5b}
@media(max-width:1180px){.v92-loyalty-kpis{grid-template-columns:repeat(3,1fr)}.v92-loyalty-grid{grid-template-columns:1fr}.v92-members-head,.v92-members-list>a{grid-template-columns:minmax(160px,1.5fr) .6fr .6fr .9fr}.v92-members-head span:nth-child(5),.v92-members-head span:nth-child(6),.v92-members-list>a>b:nth-child(5),.v92-members-list>a>span:last-child{display:none}}
@media(max-width:980px){.v92-loyalty-hero{padding:18px}.v92-loyalty-profile,.v92-loyalty-admin-grid{grid-template-columns:1fr}.v92-members-head{display:none}.v92-members-list>a{grid-template-columns:1fr auto auto;padding:10px}.v92-members-list>a>b:nth-child(4){display:none}.v92-level-settings{grid-template-columns:1fr 1fr}.v92-loyalty-kpis{grid-template-columns:1fr 1fr 1fr}.v92-reward-item summary{grid-template-columns:1fr auto}.v92-reward-item summary>b,.v92-reward-item summary>i{grid-row:2}.v92-loyalty-profile{padding:13px}.v92-reward-strip article{min-width:160px}}
@media(max-width:600px){.v92-loyalty-hero{align-items:flex-start;flex-direction:column}.v92-loyalty-status{width:100%}.v92-loyalty-kpis{grid-template-columns:1fr 1fr}.v92-loyalty-kpis article{padding:10px}.v92-level-settings{grid-template-columns:1fr 1fr}.v92-loyalty-numbers{grid-template-columns:1fr 1fr}.v92-loyalty-numbers .wallet{grid-column:1/-1}.v92-public-loyalty-kpis{grid-template-columns:1fr 1fr}.v92-public-loyalty-kpis article:last-child{grid-column:1/-1}.v92-members-list>a{grid-template-columns:1fr auto}.v92-members-list>a>b:nth-child(3){display:none}.v92-activity-list article{grid-template-columns:30px 1fr}.v92-activity-list article>span{grid-column:2}.v92-reward-strip{margin-inline:-4px;padding-inline:4px}.v92-loyalty-hero h1{font-size:25px}}

/* =========================================================
   FoodOS V9.2.1 — crystal-clear Product / Recipe / Inventory UX
   ========================================================= */
.v921-product-flow,.v921-inventory-guide,.v921-how-it-works{display:flex;align-items:stretch;gap:10px;margin:0 0 18px}.v921-product-flow article,.v921-inventory-guide>div,.v921-how-it-works article{flex:1;display:flex;align-items:center;gap:12px;padding:14px 16px;border:1px solid rgba(148,163,184,.18);background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.025));border-radius:18px}.v921-product-flow span,.v921-inventory-guide span,.v921-how-it-works article>span{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border-radius:12px;background:rgba(99,102,241,.16);font-weight:900;font-size:15px}.v921-product-flow strong,.v921-inventory-guide strong,.v921-how-it-works strong{display:block;font-size:14px}.v921-product-flow small,.v921-inventory-guide small,.v921-how-it-works small{display:block;margin-top:3px;opacity:.7;line-height:1.6}.v921-product-flow>i,.v921-inventory-guide>i,.v921-how-it-works>i{align-self:center;font-style:normal;opacity:.35;font-size:22px}.v921-product-flow .done span,.v921-inventory-guide .active span{background:rgba(16,185,129,.18)}
.v921-material-link{display:inline-flex;align-items:center;gap:5px;padding:7px 10px;border-radius:10px;background:rgba(99,102,241,.14);border:1px solid rgba(129,140,248,.22);font-weight:800;text-decoration:none}.v921-material-link:hover{background:rgba(99,102,241,.22)}.v921-next-step-note,.v921-form-note{padding:12px 14px;border-radius:14px;background:rgba(14,165,233,.09);border:1px solid rgba(56,189,248,.2);font-size:13px;line-height:1.8}.v9-product-modal .v9-modal-form label>small,.v921-clear-form label>small{display:block;margin:4px 0 7px;opacity:.67;font-size:11px;line-height:1.55}.v9-product-modal .v9-modal-form label>span,.v921-clear-form label>span{font-weight:800}

.v921-recipe-hero,.v921-inventory-hero{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:16px}.v921-recipe-title h1,.v921-inventory-hero h1{margin:5px 0 6px}.v921-recipe-title p:last-child,.v921-inventory-hero p:last-child{max-width:760px;line-height:1.9;opacity:.76}.v921-step-badge,.v921-card-step{display:inline-flex;padding:5px 9px;border-radius:999px;background:rgba(16,185,129,.13);border:1px solid rgba(52,211,153,.22);font-size:11px;font-weight:900}.v921-card-step.muted{background:rgba(148,163,184,.1);border-color:rgba(148,163,184,.16)}
.v921-recipe-panel{overflow:visible}.v921-recipe-panel-head{display:flex;justify-content:space-between;align-items:center;gap:20px;padding-bottom:18px;border-bottom:1px solid rgba(148,163,184,.14)}.v921-recipe-panel-head h2{margin:0 0 5px}.v921-recipe-panel-head p{margin:0;opacity:.7;line-height:1.8}.v921-recipe-kpi{min-width:180px;padding:12px 14px;border-radius:15px;background:rgba(16,185,129,.08);text-align:center}.v921-recipe-kpi small,.v921-line-cost small,.v921-recipe-summary small{display:block;opacity:.65;margin-bottom:4px}.v921-recipe-kpi strong{font-size:18px}.v921-recipe-kpi em{font-size:11px;font-style:normal;opacity:.65}
.v921-recipe-table-head{display:grid;grid-template-columns:minmax(230px,1.35fr) minmax(250px,1fr) minmax(140px,.6fr);gap:14px;padding:18px 16px 9px;font-size:11px;font-weight:900;opacity:.58}.v921-recipe-list{display:grid;gap:9px}.v921-recipe-row{display:grid;grid-template-columns:minmax(230px,1.35fr) minmax(250px,1fr) minmax(140px,.6fr);align-items:center;gap:14px;padding:14px 16px;border:1px solid rgba(148,163,184,.16);border-radius:16px;background:rgba(255,255,255,.025);transition:.18s ease}.v921-recipe-row:focus-within,.v921-recipe-row.has-value{border-color:rgba(99,102,241,.38);background:rgba(99,102,241,.055);box-shadow:0 0 0 3px rgba(99,102,241,.055)}.v921-ingredient-info{display:flex;align-items:center;gap:11px}.v921-ingredient-dot{width:9px;height:9px;border-radius:50%;background:#94a3b8;box-shadow:0 0 0 5px rgba(148,163,184,.08)}.v921-recipe-row.has-value .v921-ingredient-dot{background:#22c55e;box-shadow:0 0 0 5px rgba(34,197,94,.09)}.v921-ingredient-info strong{display:block;font-size:14px}.v921-ingredient-info small{display:block;margin-top:5px;opacity:.65}.v921-consumption-input{display:grid;grid-template-columns:auto minmax(130px,1fr);align-items:center;gap:5px 10px}.v921-input-label{font-size:11px;font-weight:800;opacity:.66}.v921-input-unit{display:flex;align-items:stretch;border:1px solid rgba(148,163,184,.22);border-radius:12px;overflow:hidden;background:rgba(2,6,23,.2)}.v921-input-unit:focus-within{border-color:rgba(99,102,241,.65);box-shadow:0 0 0 3px rgba(99,102,241,.09)}.v921-input-unit input{min-width:0;width:100%;border:0;box-shadow:none;background:transparent;padding:10px 11px;font-size:16px;font-weight:900}.v921-input-unit span{display:grid;place-items:center;min-width:56px;padding:0 9px;background:rgba(148,163,184,.09);border-right:1px solid rgba(148,163,184,.15);font-size:12px;font-weight:800}.v921-consumption-input>small{grid-column:2;font-size:10px;opacity:.55}.v921-line-cost{text-align:center}.v921-line-cost strong{font-size:13px}
.v921-recipe-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:16px;padding:13px;border-radius:17px;background:rgba(15,23,42,.32);border:1px solid rgba(148,163,184,.13)}.v921-recipe-summary>div{padding:10px 12px;border-left:1px solid rgba(148,163,184,.1)}.v921-recipe-summary>div:last-child{border-left:0}.v921-recipe-summary strong{font-size:14px}.v921-recipe-summary .accent{border-radius:12px;background:rgba(16,185,129,.08)}.v921-stock-example{display:flex;align-items:flex-start;gap:10px;margin-top:14px;padding:12px 14px;border-radius:14px;background:rgba(245,158,11,.075);border:1px solid rgba(245,158,11,.17)}.v921-stock-example>span{padding:3px 8px;border-radius:8px;background:rgba(245,158,11,.14);font-size:10px;font-weight:900}.v921-stock-example p{margin:0;font-size:12px;line-height:1.8}.v921-sticky-save{position:sticky;bottom:calc(var(--mobile-nav-h,0px) + 8px);z-index:20;display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:18px;padding:13px 14px;border:1px solid rgba(99,102,241,.25);border-radius:17px;background:rgba(12,19,33,.94);box-shadow:0 15px 38px rgba(0,0,0,.25);backdrop-filter:blur(16px)}.v921-sticky-save strong,.v921-sticky-save small{display:block}.v921-sticky-save small{margin-top:3px;opacity:.65;font-size:11px}.v921-no-ingredients{text-align:center;padding:42px 20px}.v921-no-ingredients>span{display:grid;place-items:center;width:52px;height:52px;margin:0 auto 12px;border-radius:16px;background:rgba(245,158,11,.12);font-size:24px;font-weight:900}.v921-no-ingredients p{max-width:650px;margin:8px auto 18px;line-height:1.9;opacity:.72}
.v921-inventory-grid{align-items:start}.v921-material-card .panel-head{margin-bottom:8px}.v921-material-card .panel-head h2{margin:7px 0 2px}.v921-material-card .panel-head p{margin:0;opacity:.65}.v921-clear-form input,.v921-clear-form select,.v921-clear-form textarea{font-size:14px}.v921-empty-inline{padding:24px;text-align:center;opacity:.6}

@media(max-width:980px){.v921-product-flow,.v921-inventory-guide,.v921-how-it-works{display:grid;grid-template-columns:1fr}.v921-product-flow>i,.v921-inventory-guide>i,.v921-how-it-works>i{display:none}.v921-recipe-hero,.v921-inventory-hero,.v921-recipe-panel-head{display:block}.v921-recipe-hero .button,.v921-inventory-hero .button{margin-top:12px;width:100%}.v921-recipe-kpi{margin-top:12px}.v921-recipe-table-head{display:none}.v921-recipe-row{grid-template-columns:1fr;gap:12px;padding:14px}.v921-ingredient-info{padding-bottom:10px;border-bottom:1px solid rgba(148,163,184,.11)}.v921-consumption-input{grid-template-columns:1fr}.v921-consumption-input>small{grid-column:1}.v921-input-label{font-size:12px}.v921-line-cost{text-align:right;display:flex;justify-content:space-between;align-items:center;padding-top:4px}.v921-line-cost small{margin:0}.v921-recipe-summary{grid-template-columns:1fr 1fr}.v921-recipe-summary>div{border-left:0;border-bottom:1px solid rgba(148,163,184,.08)}.v921-sticky-save{display:block;bottom:calc(var(--mobile-nav-h,68px) + 8px)}.v921-sticky-save .button{width:100%;margin-top:10px;white-space:normal;line-height:1.6}.v921-material-link{width:100%;justify-content:center;margin-top:5px}.v9-product-modal .v921-next-step-note{font-size:12px}}
@media(max-width:520px){.v921-recipe-summary{grid-template-columns:1fr}.v921-product-flow article,.v921-inventory-guide>div,.v921-how-it-works article{padding:12px}.v921-recipe-title h1,.v921-inventory-hero h1{font-size:22px}.v921-recipe-row{border-radius:14px}.v921-input-unit input{font-size:18px}}

/* FoodOS V9.2.2 — radically simplified product / recipe / inventory UX */
.v922-page-head,.v922-products-head,.v922-inventory-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.v922-page-head>div:nth-child(2),.v922-products-head>div,.v922-inventory-head>div{min-width:0}.v922-page-head h1,.v922-products-head h1,.v922-inventory-head h1{margin:2px 0 3px;font-size:28px}.v922-page-head p,.v922-products-head p,.v922-inventory-head p{margin:0;opacity:.68}.v922-page-head small{opacity:.62}.v922-back{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:rgba(148,163,184,.1);font-size:22px;text-decoration:none}.v922-price-pill{margin-right:auto;padding:9px 13px;border-radius:14px;background:rgba(16,185,129,.1);font-weight:900;white-space:nowrap}.v922-price-pill small{font-size:10px}.v922-recipe-app{padding-bottom:96px}.v922-recipe-main,.v922-live-summary,.v922-new-material,.v922-stock-section,.v922-stock-tools,.v922-categories-box{border:1px solid rgba(148,163,184,.14);border-radius:22px;background:rgba(255,255,255,.025)}.v922-recipe-main{padding:18px}.v922-section-title{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}.v922-section-title h2{margin:0 0 3px;font-size:18px}.v922-section-title p{margin:0;opacity:.62;font-size:12px}.v922-section-title>span{padding:6px 10px;border-radius:999px;background:rgba(99,102,241,.1);font-size:11px;font-weight:900}.v922-selected-list{display:grid;gap:10px}.v922-selected-card{display:grid;grid-template-columns:42px minmax(0,1fr) auto 34px;gap:10px;align-items:center;padding:12px;border:1px solid rgba(148,163,184,.14);border-radius:17px;background:rgba(15,23,42,.2)}.v922-material-avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:linear-gradient(135deg,rgba(99,102,241,.2),rgba(16,185,129,.15));font-size:16px;font-weight:950}.v922-selected-copy strong,.v922-selected-copy small{display:block}.v922-selected-copy strong{font-size:14px}.v922-selected-copy small{margin-top:4px;opacity:.58;font-size:10px}.v922-qty-button{min-width:112px;padding:8px 10px;border:1px solid rgba(99,102,241,.24);border-radius:13px;background:rgba(99,102,241,.08);text-align:center}.v922-qty-button b,.v922-qty-button small{display:block}.v922-qty-button b{font-size:16px}.v922-qty-button small{font-size:9px;opacity:.7}.v922-remove-material{width:30px;height:30px;border:0;border-radius:10px;background:rgba(239,68,68,.09);font-size:18px}.v922-card-cost{grid-column:2/5;padding-top:8px;border-top:1px dashed rgba(148,163,184,.12);font-size:10px;opacity:.62}.v922-add-material{display:flex;align-items:center;gap:12px;width:100%;margin-top:12px;padding:14px;border:1.5px dashed rgba(99,102,241,.35);border-radius:17px;background:rgba(99,102,241,.045);text-align:right}.v922-add-material .v922-add-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:13px;background:rgba(99,102,241,.14);font-size:23px}.v922-add-material b,.v922-add-material small{display:block}.v922-add-material small{margin-top:3px;opacity:.6}.v922-empty-recipe{text-align:center;padding:28px 10px 8px}.v922-empty-recipe>span{font-size:36px}.v922-empty-recipe b,.v922-empty-recipe small{display:block}.v922-empty-recipe small{margin-top:5px;opacity:.6}.v922-live-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;overflow:hidden;margin-top:12px}.v922-live-summary>div{padding:13px 14px;background:rgba(15,23,42,.18)}.v922-live-summary small,.v922-live-summary strong{display:block}.v922-live-summary small{font-size:10px;opacity:.6}.v922-live-summary strong{margin-top:5px;font-size:14px}.v922-save-bar{position:fixed;z-index:65;right:calc(var(--sidebar-w,250px) + 18px);left:18px;bottom:16px;display:flex;justify-content:flex-end;pointer-events:none}.v922-save-bar .button{pointer-events:auto;min-width:260px;box-shadow:0 12px 32px rgba(0,0,0,.28)}
.v922-sheet{position:fixed;z-index:10050;inset:0;pointer-events:none;visibility:hidden}.v922-sheet.open{pointer-events:auto;visibility:visible}.v922-sheet-backdrop{position:absolute;inset:0;border:0;background:rgba(2,6,23,.68)}.v922-sheet-card{position:absolute;right:50%;transform:translate(50%,110%);bottom:0;width:min(580px,100%);max-height:min(82vh,760px);overflow:auto;padding:10px 16px calc(18px + env(safe-area-inset-bottom));border-radius:26px 26px 0 0;background:#101827;box-shadow:0 -20px 60px rgba(0,0,0,.38);transition:transform .24s ease}.v922-sheet.open .v922-sheet-card{transform:translate(50%,0)}.v922-sheet-handle{width:44px;height:4px;margin:0 auto 12px;border-radius:999px;background:rgba(148,163,184,.28)}.v922-sheet-card header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.v922-sheet-card header h2{margin:2px 0 0;font-size:20px}.v922-sheet-card header small{opacity:.55}.v922-sheet-close{width:38px;height:38px;border:0;border-radius:12px;background:rgba(148,163,184,.1);font-size:24px}.v922-search-box{display:flex;align-items:center;gap:8px;padding:0 12px;border:1px solid rgba(148,163,184,.16);border-radius:14px;background:rgba(2,6,23,.18)}.v922-search-box input{width:100%;border:0;background:transparent;box-shadow:none;padding:12px 2px}.v922-material-list{display:grid;gap:8px;margin-top:10px}.v922-material-option{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:10px;align-items:center;width:100%;padding:10px;border:1px solid rgba(148,163,184,.13);border-radius:15px;background:rgba(255,255,255,.025);text-align:right}.v922-material-option b,.v922-material-option small{display:block}.v922-material-option small{margin-top:3px;opacity:.58;font-size:10px}.v922-material-option i{font-style:normal;font-size:11px;font-weight:900;opacity:.7}.v922-material-option.is-used{border-color:rgba(16,185,129,.26);background:rgba(16,185,129,.04)}.v922-change-material{border:0;background:transparent;padding:4px 0 10px;font-size:11px;opacity:.7}.v922-picked-material{display:flex;align-items:center;gap:12px;padding:12px;border-radius:17px;background:rgba(99,102,241,.07)}.v922-picked-material h3{margin:0}.v922-picked-material p{margin:4px 0 0;font-size:11px;opacity:.62}.v922-big-amount{display:block;margin:18px 0 10px}.v922-big-amount>span{display:block;margin-bottom:8px;font-size:12px;font-weight:800}.v922-big-amount>div{display:flex;align-items:stretch;border:1px solid rgba(99,102,241,.32);border-radius:16px;overflow:hidden;background:rgba(2,6,23,.22)}.v922-big-amount input{min-width:0;width:100%;border:0;background:transparent;box-shadow:none;padding:14px;font-size:26px;font-weight:950;text-align:center}.v922-big-amount b{display:grid;place-items:center;min-width:72px;padding:0 10px;background:rgba(99,102,241,.09)}.v922-quick-amounts{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-bottom:14px}.v922-quick-amounts button{padding:9px 5px;border:1px solid rgba(148,163,184,.14);border-radius:11px;background:rgba(148,163,184,.06);font-size:10px}.v922-picker-empty{padding:30px;text-align:center;opacity:.6}.v922-no-materials{padding:40px 20px;text-align:center;border:1px solid rgba(148,163,184,.14);border-radius:22px}.v922-no-materials>span{font-size:38px}.v922-no-materials h2{margin:10px 0 4px}.v922-no-materials p{margin:0 0 16px;opacity:.65}
.v922-products-head .button,.v922-inventory-head .button{white-space:nowrap}.v922-mini-stats{display:grid;grid-template-columns:120px 120px 1fr;gap:9px;margin-bottom:12px}.v922-mini-stats>div,.v922-mini-stats>a{padding:11px 13px;border:1px solid rgba(148,163,184,.13);border-radius:15px;background:rgba(255,255,255,.025);text-decoration:none}.v922-mini-stats strong,.v922-mini-stats small{display:block}.v922-mini-stats small{opacity:.58}.v922-mini-stats>a{display:grid;place-items:center;text-align:center;font-size:12px}.v922-product-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.v922-product-card{display:grid;grid-template-columns:74px minmax(0,1fr);gap:12px;padding:12px;border:1px solid rgba(148,163,184,.13);border-radius:19px;background:rgba(255,255,255,.025)}.v922-product-image{width:74px;height:74px;border-radius:15px;overflow:hidden;background:rgba(99,102,241,.09)}.v922-product-image img{width:100%;height:100%;object-fit:cover}.v922-product-image span{display:grid;place-items:center;width:100%;height:100%;font-size:26px;font-weight:950}.v922-product-main{min-width:0}.v922-product-name{display:flex;align-items:center;gap:7px}.v922-product-name strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v922-product-name span{padding:2px 6px;border-radius:999px;font-size:8px;font-weight:900}.v922-product-name span.on{background:rgba(16,185,129,.12)}.v922-product-name span.off{background:rgba(148,163,184,.1);opacity:.65}.v922-product-main>small,.v922-product-main>b{display:block}.v922-product-main>small{margin-top:4px;opacity:.55}.v922-product-main>b{margin-top:8px}.v922-product-actions{grid-column:1/3;display:grid;grid-template-columns:1fr auto;gap:8px}.v922-material-btn{display:flex;align-items:center;gap:8px;padding:9px 11px;border-radius:13px;background:rgba(16,185,129,.08);text-decoration:none}.v922-material-btn b,.v922-material-btn small{display:block}.v922-material-btn small{font-size:9px;opacity:.6}.v922-edit-btn{padding:9px 13px;border:1px solid rgba(148,163,184,.14);border-radius:13px;background:rgba(148,163,184,.05)}.v922-empty-products{grid-column:1/-1;padding:44px 20px;text-align:center;border:1px dashed rgba(148,163,184,.18);border-radius:20px}.v922-empty-products>span{font-size:40px}.v922-empty-products h2{margin:8px 0 3px}.v922-empty-products p{margin:0 0 14px;opacity:.62}.v922-categories-box{margin-top:12px;overflow:hidden}.v922-categories-box>summary,.v922-stock-tools>summary{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:14px 16px;cursor:pointer;list-style:none}.v922-categories-box>summary::-webkit-details-marker,.v922-stock-tools>summary::-webkit-details-marker{display:none}.v922-categories-box>summary span,.v922-stock-tools>summary span{font-weight:900}.v922-categories-box>summary small,.v922-stock-tools>summary small{opacity:.55}.v922-category-body,.v922-stock-tools-body{padding:0 14px 14px}.v922-category-form{display:grid;grid-template-columns:1fr 100px 130px auto;gap:8px;align-items:end}.v922-product-modal{max-width:520px}.v922-product-form{padding:4px 16px 16px}.v922-primary-field{display:block;margin-bottom:12px}.v922-primary-field>span{display:block;margin-bottom:6px;font-size:12px;font-weight:900}.v922-primary-field input,.v922-primary-field select{font-size:16px}.v922-money-input{display:flex;align-items:stretch;border:1px solid rgba(148,163,184,.18);border-radius:13px;overflow:hidden}.v922-money-input input{width:100%;border:0;background:transparent;box-shadow:none}.v922-money-input b{display:grid;place-items:center;padding:0 12px;background:rgba(148,163,184,.07);font-size:11px}.v922-simple-image{display:flex;align-items:center;gap:9px;margin:2px 0 12px;padding:10px;border:1px dashed rgba(148,163,184,.2);border-radius:14px;cursor:pointer}.v922-simple-image input{display:none}.v922-simple-image b,.v922-simple-image small{display:block}.v922-simple-image small{opacity:.55}.v922-simple-image img{margin-right:auto;width:46px;height:46px;border-radius:10px;object-fit:cover}.v922-advanced-fields{margin:10px 0;border:1px solid rgba(148,163,184,.12);border-radius:14px;overflow:hidden}.v922-advanced-fields>summary{padding:11px 12px;cursor:pointer;font-size:11px;font-weight:900;list-style:none}.v922-advanced-fields>summary small{float:left;opacity:.5}.v922-advanced-fields>div{padding:0 12px 12px}.v922-product-form footer{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}
.v922-new-material{padding:16px;margin-bottom:12px}.v922-new-material-title{display:flex;align-items:center;gap:10px;margin-bottom:14px}.v922-new-material-title>span{font-size:27px}.v922-new-material-title h2{margin:0 0 2px;font-size:18px}.v922-new-material-title p{margin:0;opacity:.6}.v922-material-form{max-width:700px}.v922-material-row{display:grid;grid-template-columns:1fr 1fr;gap:9px}.v922-material-form label{display:block;margin-bottom:10px}.v922-material-form label>span{display:block;margin-bottom:5px;font-size:11px;font-weight:850}.v922-stock-section{padding:16px}.v922-stock-section .v922-section-title>a{font-size:11px;text-decoration:none}.v922-stock-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.v922-stock-card{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:9px;padding:11px;border:1px solid rgba(148,163,184,.12);border-radius:15px;background:rgba(15,23,42,.17)}.v922-stock-card strong,.v922-stock-card small{display:block}.v922-stock-card small{margin-top:3px;opacity:.56;font-size:9px}.v922-stock-card>b{white-space:nowrap}.v922-stock-card>b em{font-style:normal;font-size:9px;opacity:.6}.v922-stock-card.low{border-color:rgba(239,68,68,.22);background:rgba(239,68,68,.035)}.v922-stock-tools{margin-top:10px;overflow:hidden}.v922-stock-tools .table-wrap{border-top:1px solid rgba(148,163,184,.1)}
@media(max-width:980px){.v922-save-bar{right:10px;left:10px;bottom:calc(var(--mobile-nav-h,68px) + 8px)}.v922-save-bar .button{width:100%;min-width:0}.v922-product-list{grid-template-columns:1fr}.v922-stock-grid{grid-template-columns:1fr 1fr}.v922-category-form{grid-template-columns:1fr 90px}.v922-category-form .v9-switch-row,.v922-category-form .button{grid-column:auto}.v922-products-head,.v922-inventory-head{align-items:flex-end}}
@media(max-width:620px){.v922-page-head{display:grid;grid-template-columns:42px 1fr auto;align-items:start}.v922-page-head h1,.v922-products-head h1,.v922-inventory-head h1{font-size:23px}.v922-page-head p{font-size:11px}.v922-live-summary{grid-template-columns:1fr 1fr}.v922-live-summary>div:last-child{grid-column:1/-1}.v922-selected-card{grid-template-columns:38px minmax(0,1fr) auto 30px}.v922-material-avatar{width:38px;height:38px}.v922-qty-button{min-width:96px;padding:7px}.v922-card-cost{grid-column:2/5}.v922-mini-stats{grid-template-columns:1fr 1fr}.v922-mini-stats>a{grid-column:1/-1}.v922-stock-grid{grid-template-columns:1fr}.v922-material-row{grid-template-columns:1fr 1fr}.v922-products-head,.v922-inventory-head{display:block}.v922-products-head .button,.v922-inventory-head .button{width:100%;margin-top:10px}.v922-quick-amounts{grid-template-columns:1fr 1fr}.v922-category-form{grid-template-columns:1fr}.v922-product-form footer{position:sticky;bottom:0;padding-top:10px;background:#101827}.v922-product-form footer .button{flex:1}.v922-sheet-card{max-height:88vh}}

/* =============================================================
   FoodOS V9.3.0 — clear recipe costing + purchase-unit inventory
   ============================================================= */
.v930-page-head,.v930-inventory-head{display:flex;align-items:flex-start;gap:14px;margin-bottom:16px}.v930-page-head h1,.v930-inventory-head h1{margin:2px 0 4px;font-size:28px}.v930-page-head p,.v930-inventory-head p{margin:0;opacity:.68;max-width:760px}.v930-kicker{display:inline-block;font-size:10px;font-weight:950;letter-spacing:.03em;color:#6366f1}.v930-back{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;border:1px solid rgba(148,163,184,.18);text-decoration:none;font-size:20px}.v930-inventory-head{justify-content:space-between}.v930-inventory-head .button{white-space:nowrap}

.v930-recipe-page{padding-bottom:96px}.v930-cost-dashboard{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:10px;margin-bottom:12px}.v930-cost-dashboard>div{padding:17px;border-radius:20px;border:1px solid rgba(148,163,184,.14);background:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.018))}.v930-cost-dashboard span,.v930-cost-dashboard small{display:block}.v930-cost-dashboard span{font-size:11px;font-weight:850;opacity:.68}.v930-cost-dashboard strong{display:block;margin:6px 0 3px;font-size:23px;font-weight:950}.v930-cost-main{border-color:rgba(99,102,241,.32);background:linear-gradient(145deg,rgba(99,102,241,.14),rgba(99,102,241,.04))}.v930-cost-main strong{font-size:29px}.v930-profit-card strong{color:#10b981}.v930-profit-card strong.negative,.v930-breakdown-row.profit b.negative{color:#ef4444}.v930-breakeven-card strong{font-size:20px}

.v930-pricing-panel,.v930-material-panel,.v930-extra-panel,.v930-breakdown-panel,.v930-new-material,.v930-stock-section{padding:16px;margin-bottom:12px;border:1px solid rgba(148,163,184,.14);border-radius:21px;background:rgba(255,255,255,.025)}.v930-panel-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.v930-panel-title>div{display:flex;align-items:center;gap:10px}.v930-panel-title>div>span{display:grid;place-items:center;flex:0 0 auto;width:34px;height:34px;border-radius:11px;background:rgba(99,102,241,.12);color:#818cf8;font-size:14px;font-weight:950}.v930-panel-title h2{margin:0;font-size:17px}.v930-panel-title p{margin:3px 0 0;font-size:10px;opacity:.58}.v930-panel-title>a{text-decoration:none;font-size:11px}.v930-panel-title.compact{margin-bottom:9px}

.v930-price-input,.v930-extra-input,.v930-suffix-input{display:flex;align-items:stretch;border:1px solid rgba(99,102,241,.28);border-radius:15px;overflow:hidden;background:rgba(2,6,23,.14)}.v930-price-input{max-width:460px}.v930-price-input input,.v930-extra-input input,.v930-suffix-input input{width:100%;min-width:0;border:0;background:transparent;box-shadow:none}.v930-price-input input{font-size:24px;font-weight:950;padding:13px 14px}.v930-price-input b,.v930-extra-input b,.v930-suffix-input b{display:grid;place-items:center;padding:0 14px;background:rgba(99,102,241,.08);white-space:nowrap;font-size:11px}.v930-price-suggestions{margin-top:12px}.v930-price-suggestions>span{display:block;margin-bottom:7px;font-size:10px;opacity:.62}.v930-price-suggestions>div{display:flex;flex-wrap:wrap;gap:7px}.v930-price-suggestions button{display:flex;align-items:center;gap:7px;padding:8px 10px;border:1px solid rgba(16,185,129,.18);border-radius:12px;background:rgba(16,185,129,.055);font-size:10px}.v930-price-suggestions button span{opacity:.65}.v930-price-suggestions button b{font-size:11px}

.v930-selected-list{display:grid;gap:8px}.v930-selected-card{display:grid;grid-template-columns:42px minmax(0,1fr) auto 36px;gap:10px;align-items:center;padding:11px;border:1px solid rgba(148,163,184,.13);border-radius:17px;background:rgba(15,23,42,.18)}.v930-material-avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:rgba(99,102,241,.1);font-size:18px;font-weight:950}.v930-selected-copy{min-width:0}.v930-selected-copy strong,.v930-selected-copy small{display:block}.v930-selected-copy small{margin-top:4px;font-size:9px;opacity:.58}.v930-qty-button{padding:8px 10px;border:1px solid rgba(99,102,241,.2);border-radius:12px;background:rgba(99,102,241,.06)}.v930-qty-button b,.v930-qty-button small{display:block}.v930-qty-button small{margin-top:2px;font-size:8px;opacity:.55}.v930-remove-material{width:34px;height:34px;border:0;border-radius:10px;background:rgba(239,68,68,.08);color:#ef4444;font-size:20px}.v930-card-cost{grid-column:2/5;display:flex;justify-content:space-between;align-items:center;padding-top:8px;border-top:1px dashed rgba(148,163,184,.12);font-size:10px}.v930-card-cost span{opacity:.6}.v930-card-cost b{font-size:12px;color:#10b981}.v930-add-material{display:flex;align-items:center;gap:11px;width:100%;margin-top:10px;padding:13px;border:1px dashed rgba(99,102,241,.3);border-radius:16px;background:rgba(99,102,241,.045);text-align:right}.v930-add-material>span{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#6366f1;color:#d8cec5;font-size:22px}.v930-add-material b,.v930-add-material small{display:block}.v930-add-material small{margin-top:3px;font-size:9px;opacity:.58}.v930-empty-recipe{padding:25px 12px;text-align:center}.v930-empty-recipe span,.v930-empty-recipe b,.v930-empty-recipe small{display:block}.v930-empty-recipe span{font-size:30px}.v930-empty-recipe small{opacity:.55;margin-top:3px}

.v930-extra-input{max-width:360px}.v930-extra-input input{font-size:18px;font-weight:900;padding:11px 12px}.v930-breakdown-panel h2{margin:0 0 12px;font-size:16px}.v930-breakdown-row{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px dashed rgba(148,163,184,.11);font-size:11px}.v930-breakdown-row.total{margin-top:2px;font-size:13px;font-weight:950}.v930-breakdown-row.sale b{color:#818cf8}.v930-breakdown-row.profit{font-size:14px;font-weight:950;border-bottom:0}.v930-breakdown-row.profit b{color:#10b981}.v930-profit-note{margin:7px 0 0;font-size:9px;opacity:.48}.v930-save-bar{position:fixed;right:calc(var(--sidebar-w,240px) + 18px);left:18px;bottom:12px;z-index:90;display:flex;justify-content:center;pointer-events:none}.v930-save-bar .button{min-width:280px;padding:13px 18px;box-shadow:0 15px 40px rgba(0,0,0,.22);pointer-events:auto}

.v930-sheet{position:fixed;inset:0;z-index:300;display:none}.v930-sheet.open{display:block}.v930-sheet-backdrop{position:absolute;inset:0;border:0;background:rgba(2,6,23,.55);-webkit-backdrop-filter:none;backdrop-filter:none}.v930-sheet-card{position:absolute;right:50%;bottom:14px;transform:translateX(50%);width:min(600px,calc(100% - 22px));max-height:84vh;overflow:auto;padding:14px;border:1px solid #dbe3ee;border-radius:24px;background:#fff;color:#0f172a;box-shadow:0 30px 90px rgba(2,6,23,.38);direction:rtl;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.v930-sheet-card input,.v930-sheet-card textarea{-webkit-user-select:text;user-select:text}.v930-sheet-handle{width:52px;height:4px;margin:0 auto 10px;border-radius:999px;background:#cbd5e1}.v930-sheet-card header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.v930-sheet-card header small{color:#64748b}.v930-sheet-card header h2{margin:2px 0 0;font-size:20px}.v930-sheet-close{width:40px;height:40px;border:0;border-radius:12px;background:#f1f5f9;color:#334155;font-size:23px}.v930-search-box{display:flex;align-items:center;gap:8px;padding:0 12px;border:1px solid #dbe3ee;border-radius:14px;background:#f8fafc}.v930-search-box input{width:100%;border:0;background:transparent;box-shadow:none;padding:12px 0;color:#0f172a}.v930-material-list{display:grid;gap:8px;margin-top:10px}.v930-material-option{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:10px;align-items:center;width:100%;padding:11px;border:1px solid #e2e8f0;border-radius:15px;background:#fff;color:#0f172a;text-align:right}.v930-material-option:hover{background:#f8fafc}.v930-material-option.is-used{border-color:#a7f3d0;background:#f0fdf4}.v930-option-copy b,.v930-option-copy small{display:block}.v930-option-copy small{margin-top:4px;color:#64748b;font-size:9px}.v930-material-option i{font-style:normal;font-size:10px;font-weight:950;color:#4f46e5}.v930-change-material{border:0;background:transparent;color:#475569;padding:3px 0 10px}.v930-picked-material{display:flex;gap:11px;align-items:center;padding:12px;border-radius:16px;background:#f8fafc}.v930-picked-copy h3{margin:0;font-size:18px}.v930-picked-copy p{margin:4px 0 2px;color:#4f46e5;font-size:11px;font-weight:850}.v930-picked-copy small{color:#64748b}.v930-amount-question{margin:16px 0 10px}.v930-amount-question>span{display:block;margin-bottom:7px;font-size:12px;font-weight:850}.v930-amount-question label{display:flex;border:2px solid #c7d2fe;border-radius:16px;overflow:hidden;background:#fff}.v930-amount-question input{width:100%;border:0;background:#fff;color:#0f172a;box-shadow:none;padding:13px;font-size:26px;font-weight:950;text-align:center}.v930-amount-question b{display:grid;place-items:center;min-width:78px;padding:0 11px;background:#eef2ff;color:#3730a3}.v930-line-cost-preview{padding:13px;border-radius:16px;background:#ecfdf5;border:1px solid #a7f3d0}.v930-line-cost-preview span,.v930-line-cost-preview small{display:block}.v930-line-cost-preview span{font-size:10px;color:#047857}.v930-line-cost-preview strong{display:block;margin:4px 0;font-size:24px;color:#065f46}.v930-line-cost-preview small{color:#64748b;font-size:9px}.v930-quick-amounts{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 14px}.v930-quick-amounts button{padding:7px 10px;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc;color:#334155;font-size:9px}.v930-picker-empty{padding:28px;text-align:center;color:#64748b}.v930-no-materials{padding:45px 20px;text-align:center;border:1px dashed rgba(148,163,184,.2);border-radius:22px}.v930-no-materials>span{font-size:40px}.v930-no-materials h2{margin:8px 0 4px}.v930-no-materials p{margin:0 0 14px;opacity:.6}

.v930-material-form{max-width:820px}.v930-field{display:block;margin-bottom:10px}.v930-field>span{display:block;margin-bottom:5px;font-size:11px;font-weight:850}.v930-field.full{width:100%}.v930-measure-picks{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:10px 0 12px}.v930-measure-picks label{position:relative;display:block;cursor:pointer}.v930-measure-picks input{position:absolute;opacity:0;pointer-events:none}.v930-measure-picks label>span,.v930-measure-picks label>b,.v930-measure-picks label>small{display:block}.v930-measure-picks label{padding:12px;border:1px solid rgba(148,163,184,.14);border-radius:15px;background:rgba(148,163,184,.035)}.v930-measure-picks label>span{font-size:22px}.v930-measure-picks label>b{margin-top:4px}.v930-measure-picks label>small{margin-top:2px;font-size:9px;opacity:.55}.v930-measure-picks label:has(input:checked){border-color:rgba(99,102,241,.42);background:rgba(99,102,241,.08);box-shadow:inset 0 0 0 1px rgba(99,102,241,.08)}.v930-stock-price-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.v930-suffix-input input{padding:11px;font-size:16px;font-weight:850}.v930-optional{margin:4px 0 11px;border:1px solid rgba(148,163,184,.12);border-radius:14px;overflow:hidden}.v930-optional summary{padding:10px 12px;cursor:pointer;font-size:10px;font-weight:850}.v930-optional summary small{float:left;opacity:.5}.v930-optional .v930-field{padding:0 12px 10px;margin:0}.v930-material-example{margin:8px 0 12px;padding:11px 12px;border-radius:13px;background:rgba(16,185,129,.07);border:1px solid rgba(16,185,129,.14);font-size:10px;line-height:1.9}.v930-stock-section .v930-panel-title{margin-bottom:11px}.v930-stock-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.v930-stock-card{display:grid;grid-template-columns:1.1fr .8fr 1.15fr;gap:10px;align-items:center;padding:12px;border:1px solid rgba(148,163,184,.12);border-radius:16px;background:rgba(15,23,42,.16)}.v930-stock-card.low{border-color:rgba(239,68,68,.24)}.v930-stock-name{display:flex;align-items:center;gap:9px}.v930-stock-name strong,.v930-stock-name small,.v930-stock-number span,.v930-stock-number b{display:block}.v930-stock-name small,.v930-stock-number span{font-size:9px;opacity:.55}.v930-stock-number b{margin-top:3px;font-size:11px}.v930-stock-number.price b{color:#10b981}.v930-empty-stock{grid-column:1/-1;padding:35px;text-align:center}.v930-stock-tools{margin-top:10px;border:1px solid rgba(148,163,184,.12);border-radius:16px;overflow:hidden}.v930-stock-tools>summary{display:flex;justify-content:space-between;gap:10px;padding:13px 15px;cursor:pointer;list-style:none}.v930-stock-tools>summary small{opacity:.55}.v930-stock-tools-body{padding:0 14px 14px}

@media(max-width:980px){.v930-save-bar{right:10px;left:10px;bottom:calc(var(--mobile-nav-h,68px) + 8px)}.v930-save-bar .button{width:100%;min-width:0}.v930-stock-grid{grid-template-columns:1fr}.v930-cost-dashboard{grid-template-columns:1fr 1fr}.v930-cost-main{grid-column:1/-1}.v930-inventory-head{align-items:flex-end}}
@media(max-width:620px){.v930-page-head{display:grid;grid-template-columns:42px 1fr}.v930-page-head h1,.v930-inventory-head h1{font-size:23px}.v930-page-head p,.v930-inventory-head p{font-size:10px}.v930-inventory-head{display:block}.v930-inventory-head .button{width:100%;margin-top:10px}.v930-cost-dashboard{grid-template-columns:1fr}.v930-cost-main{grid-column:auto}.v930-cost-dashboard strong{font-size:20px}.v930-cost-main strong{font-size:26px}.v930-selected-card{grid-template-columns:38px minmax(0,1fr) auto 32px;gap:7px}.v930-material-avatar{width:38px;height:38px}.v930-selected-copy small{white-space:normal}.v930-qty-button{padding:7px}.v930-card-cost{grid-column:2/5}.v930-measure-picks{grid-template-columns:1fr 1fr 1fr}.v930-measure-picks label{padding:9px}.v930-measure-picks label>small{display:none}.v930-stock-price-grid{grid-template-columns:1fr}.v930-stock-card{grid-template-columns:1fr 1fr}.v930-stock-name{grid-column:1/-1}.v930-stock-number.price{text-align:left}.v930-sheet-card{bottom:0;width:100%;max-height:91vh;border-radius:24px 24px 0 0}.v930-price-input{max-width:none}.v930-price-suggestions>div{display:grid;grid-template-columns:1fr 1fr}.v930-price-suggestions button{justify-content:space-between}.v930-pricing-panel,.v930-material-panel,.v930-extra-panel,.v930-breakdown-panel,.v930-new-material,.v930-stock-section{padding:13px;border-radius:17px}}
.v930-inline-cost-edit{grid-column:1/-1;border-top:1px dashed rgba(148,163,184,.11);padding-top:7px}.v930-inline-cost-edit summary{cursor:pointer;font-size:9px;opacity:.62;list-style:none}.v930-inline-cost-edit form{display:grid;grid-template-columns:1fr auto;gap:7px;margin-top:7px}.v930-inline-cost-edit .button{padding:8px 11px;font-size:9px}.v930-inline-cost-edit .v930-suffix-input input{padding:8px;font-size:12px}.v930-inline-cost-edit .v930-suffix-input b{font-size:8px}
@media(max-width:620px){.v930-inline-cost-edit form{grid-template-columns:1fr}.v930-inline-cost-edit .button{width:100%}}

/* FoodOS V9.3.1 — obvious, safe editing everywhere it matters */
.v931-stock-facts{display:grid;grid-template-columns:1fr 1fr;gap:8px}.v931-stock-actions{grid-column:1/-1;display:flex;gap:7px;padding-top:9px;border-top:1px dashed rgba(148,163,184,.14)}.v931-stock-actions button,.v931-stock-actions a{min-height:38px;padding:0 12px;display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(148,163,184,.18);border-radius:11px;background:rgba(148,163,184,.06);color:inherit;font:inherit;font-size:10px;font-weight:900;text-decoration:none}.v931-stock-actions .v931-edit-ingredient{background:#eef2ff;border-color:#c7d2fe;color:#3730a3}.v931-quick-move{margin-inline-start:auto}
.v930-stock-card{grid-template-columns:minmax(0,1fr)}.v930-stock-name{grid-column:auto}.v930-stock-number.price{text-align:inherit}

.v931-edit-sheet{position:fixed;inset:0;z-index:340;display:none}.v931-edit-sheet.open{display:block}.v931-edit-backdrop{position:absolute;inset:0;border:0;background:rgba(2,6,23,.58);-webkit-backdrop-filter:none;backdrop-filter:none}.v931-edit-card{position:absolute;right:50%;bottom:14px;transform:translateX(50%);width:min(560px,calc(100% - 22px));max-height:88vh;overflow:auto;padding:14px;border:1px solid #dbe3ee;border-radius:24px;background:#fff;color:#0f172a;box-shadow:0 30px 90px rgba(2,6,23,.38);direction:rtl}.v931-edit-card header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}.v931-edit-card header small{color:#64748b}.v931-edit-card header h2{margin:2px 0 0;font-size:20px}.v931-edit-card header>button{width:40px;height:40px;border:0;border-radius:12px;background:#f1f5f9;color:#334155;font-size:23px}.v931-edit-field{display:block;margin:11px 0}.v931-edit-field>span{display:block;margin-bottom:6px;font-size:11px;font-weight:900}.v931-edit-field>div{display:flex;align-items:stretch;overflow:hidden;border:1px solid #dbe3ee;border-radius:14px;background:#fff}.v931-edit-field>div input{min-width:0;flex:1;border:0;box-shadow:none;background:#fff;color:#0f172a;padding:12px;font-size:18px;font-weight:900}.v931-edit-field>div b{min-width:90px;display:grid;place-items:center;padding:0 10px;background:#f1f5f9;color:#475569;font-size:10px}.v931-edit-field>input{width:100%;padding:12px;border-radius:14px;background:#fff;color:#0f172a}.v931-edit-field>small{display:block;margin-top:5px;color:#64748b;font-size:9px;line-height:1.75}.v931-edit-field.important{padding:11px;border:1px solid #e2e8f0;border-radius:16px;background:#f8fafc}.v931-edit-type{padding:11px;border-radius:14px;background:#f8fafc}.v931-edit-type span,.v931-edit-type b,.v931-edit-type small{display:block}.v931-edit-type span{font-size:9px;color:#64748b}.v931-edit-type b{margin:3px 0;font-size:13px}.v931-edit-type small{font-size:8px;color:#94a3b8}.v931-edit-optional{margin:10px 0;border:1px solid #e2e8f0;border-radius:14px}.v931-edit-optional summary{padding:10px 12px;cursor:pointer;font-weight:850}.v931-edit-optional .v931-edit-field{padding:0 12px 10px;margin:0}.v931-edit-note{margin:11px 0;padding:10px 11px;border-radius:13px;background:#ecfdf5;border:1px solid #a7f3d0;color:#065f46;font-size:9px;line-height:1.85}.v931-edit-card footer{position:sticky;bottom:-14px;margin:14px -14px -14px;padding:10px 14px;display:grid;grid-template-columns:1fr 1.4fr;gap:8px;border-top:1px solid #e2e8f0;background:#fff}

.v931-recipe-qty{min-width:95px;padding:8px 10px;border-radius:12px;background:rgba(99,102,241,.08);text-align:center}.v931-recipe-qty b,.v931-recipe-qty small{display:block}.v931-recipe-qty b{font-size:12px}.v931-recipe-qty small{margin-top:2px;font-size:8px;opacity:.55}.v931-recipe-actions{grid-column:1/-1;display:flex;gap:6px;padding-top:8px;border-top:1px dashed rgba(148,163,184,.12)}.v931-recipe-actions button,.v931-recipe-actions a{min-height:34px;padding:0 10px;display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(148,163,184,.16);border-radius:10px;background:rgba(148,163,184,.05);color:inherit;font:inherit;font-size:9px;font-weight:900;text-decoration:none}.v931-recipe-actions button:first-child{background:rgba(99,102,241,.09);border-color:rgba(99,102,241,.2);color:#818cf8}.v931-recipe-actions .danger{margin-inline-start:auto;color:#ef4444;background:rgba(239,68,68,.06)}
.v931-product-costs{margin-top:8px;display:flex;flex-wrap:wrap;gap:6px}.v931-product-costs span{padding:5px 7px;border-radius:9px;background:rgba(148,163,184,.07);font-size:8px;color:var(--v9-muted)}.v931-product-costs b{display:inline;margin:0 3px;color:var(--v9-ink);font-size:9px}
body.v931-edit-open{overflow:hidden}

@media(max-width:620px){.v931-stock-facts{grid-template-columns:1fr 1fr}.v931-stock-actions{display:grid;grid-template-columns:1fr 1fr}.v931-quick-move{margin:0}.v931-edit-card{bottom:0;width:100%;max-height:94vh;border-radius:24px 24px 0 0}.v931-recipe-qty{min-width:0}.v931-recipe-actions{display:grid;grid-template-columns:1fr 1fr}.v931-recipe-actions .danger{margin:0;grid-column:1/-1}.v931-product-costs{display:grid;grid-template-columns:1fr 1fr}.v931-product-costs span{text-align:center}}

/* FoodOS V9.4.0 — Financial Intelligence + non-jumping live KDS */
.finance-pro-page .main-content{overflow-x:hidden}.finance-pro-intro{align-items:end}.finance-pro-intro>div:first-child{max-width:720px}.finance-pro-intro h1{letter-spacing:-.8px}.finance-preset-row{position:sticky;top:0;z-index:8;padding-block:8px;background:color-mix(in srgb,var(--bg) 93%,transparent);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.finance-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:12px 0}.finance-kpi{min-width:0;padding:16px;border:1px solid var(--v9-border);border-radius:21px;background:var(--panel);box-shadow:0 8px 28px rgba(15,23,42,.045)}.finance-kpi.hero{background:linear-gradient(145deg,#111827,#1f2937);border-color:#263244;color:#d8cec5}.finance-kpi-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.finance-kpi-head>span:first-child{font-size:10px;font-weight:850;opacity:.72}.finance-kpi>strong{display:block;margin:12px 0 13px;font-size:25px;line-height:1.2;letter-spacing:-.4px}.finance-kpi>strong small{font-size:9px;font-weight:700;opacity:.55}.finance-kpi footer{display:flex;justify-content:space-between;gap:8px;padding-top:10px;border-top:1px solid color-mix(in srgb,var(--v9-border) 70%,transparent);font-size:8px;opacity:.68}.finance-kpi.hero footer{border-color:rgba(255,255,255,.1)}.soft-metric{padding:4px 7px;border-radius:9px;background:rgba(99,102,241,.09);color:#6366f1;font-size:8px;font-weight:900;opacity:1}
.finance-snapshot-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-bottom:12px}.finance-snapshot-grid article{min-width:0;padding:12px 13px;border:1px solid var(--v9-border);border-radius:17px;background:var(--v9-soft)}.finance-snapshot-grid article.danger{border-color:rgba(239,68,68,.22);background:rgba(239,68,68,.045)}.finance-snapshot-grid span{display:block;color:var(--v9-muted);font-size:8px}.finance-snapshot-grid strong{display:block;margin:5px 0 3px;font-size:15px}.finance-snapshot-grid strong small{font-size:7px;color:var(--v9-muted)}.finance-snapshot-grid p{margin:0;color:var(--v9-muted);font-size:7px;line-height:1.6}
.finance-grid{margin-top:0}.finance-chart-card{overflow:visible}.finance-chart-note{max-width:230px;padding:7px 9px;border:1px solid var(--v9-border);border-radius:11px;background:var(--v9-soft);color:var(--v9-muted);font-size:8px;line-height:1.55}.finance-profit-quality{display:flex;flex-direction:column}.finance-ratio-list{display:grid;gap:11px}.finance-ratio-list>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 10px;align-items:center}.finance-ratio-list span{font-size:9px;color:var(--v9-muted)}.finance-ratio-list b{font-size:10px}.finance-ratio-list em{grid-column:1/-1;height:7px;overflow:hidden;border-radius:99px;background:var(--v9-soft)}.finance-ratio-list i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#6366f1,#22c55e)}.finance-decision-box{margin-top:auto;padding:12px;border:1px solid rgba(99,102,241,.15);border-radius:15px;background:rgba(99,102,241,.055)}.finance-decision-box b{font-size:10px}.finance-decision-box p{margin:4px 0 0;color:var(--v9-muted);font-size:8px;line-height:1.7}.finance-summary-notes{display:grid;grid-template-columns:1fr}.finance-summary-notes>div{padding-block:8px}.finance-empty-note{margin-top:-12px;text-align:center}
.menu-engineering-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.menu-engineering-card{min-width:0;padding:13px;border:1px solid var(--v9-border);border-radius:17px;background:var(--v9-soft)}.menu-engineering-card header{display:flex;align-items:center;justify-content:space-between;gap:7px}.menu-engineering-card header>div{display:flex;align-items:center;gap:7px}.menu-engineering-card header span{width:9px;height:9px;border-radius:50%;background:#64748b}.menu-engineering-card.star header span{background:#16a34a}.menu-engineering-card.workhorse header span{background:#f59e0b}.menu-engineering-card.puzzle header span{background:#6366f1}.menu-engineering-card.review header span{background:#ef4444}.menu-engineering-card h3{margin:0;font-size:11px}.menu-engineering-card header>b{min-width:25px;height:25px;display:grid;place-items:center;border-radius:9px;background:var(--panel);font-size:9px}.menu-engineering-card>p{margin:5px 0 10px;color:var(--v9-muted);font-size:7px}.menu-engineering-items{display:grid;gap:5px}.menu-engineering-items>div{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:6px;align-items:center;padding:7px 8px;border-radius:10px;background:var(--panel)}.menu-engineering-items strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px}.menu-engineering-items span{color:var(--v9-muted);font-size:7px}.menu-engineering-items b{font-size:8px}.menu-engineering-items .empty{display:block;color:var(--v9-muted);font-size:8px;text-align:center}

.v940-kds-head{align-items:flex-end}.v940-live-controls{display:grid;gap:8px;justify-items:end}.v940-live-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.v940-live-actions button{min-height:36px;padding:0 11px;border:1px solid var(--v9-border);border-radius:11px;background:var(--panel);color:var(--v9-ink);font:inherit;font-size:9px;font-weight:850;cursor:pointer}.v940-live-actions button.active{border-color:rgba(16,185,129,.24);background:rgba(16,185,129,.08);color:#059669}.v4-kds-live.offline span{background:#ef4444;box-shadow:none}.v4-kds-live.syncing span{animation:v940Pulse 1s infinite}.v940-ticket-enter{animation:v940TicketIn .22s ease-out}.v4-ticket-action:disabled{opacity:.62;cursor:wait}.v4-kds-stack{overflow-anchor:none}.v4-ticket{overflow-anchor:none}
@keyframes v940Pulse{50%{opacity:.28}}@keyframes v940TicketIn{from{opacity:.15;transform:translateY(5px)}to{opacity:1;transform:none}}

@media(max-width:1180px){.finance-snapshot-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.menu-engineering-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:980px){.finance-kpi-grid{grid-template-columns:1fr 1fr}.finance-pro-intro{align-items:stretch}.finance-chart-note{display:none}.v940-kds-head{align-items:stretch}.v940-live-controls{justify-items:stretch}.v940-live-actions{justify-content:stretch}.v940-live-actions button{flex:1}}
@media(max-width:620px){.finance-pro-intro h1{font-size:24px}.finance-kpi-grid{grid-template-columns:1fr}.finance-kpi{padding:14px;border-radius:18px}.finance-kpi>strong{font-size:23px}.finance-snapshot-grid{grid-template-columns:1fr 1fr}.finance-snapshot-grid article{padding:10px}.menu-engineering-grid{grid-template-columns:1fr}.finance-grid .chart-wrap.x-tall{height:250px}.finance-grid .chart-wrap.medium{height:220px}.finance-preset-row{position:static}.v940-live-actions{display:grid;grid-template-columns:1fr 1fr}.v940-live-actions button{width:100%}}

/* FoodOS V9.5 Smart Operations */
.v95-hero{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;padding:24px 26px;border:1px solid var(--border);border-radius:24px;background:linear-gradient(135deg,rgba(99,102,241,.08),rgba(14,165,233,.04));margin-bottom:16px}.v95-hero>div>span{font-size:11px;letter-spacing:.16em;color:var(--primary);font-weight:800}.v95-hero h1{margin:5px 0 6px;font-size:27px}.v95-hero p{margin:0;color:var(--muted)}.v95-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:6px;background:var(--card);border:1px solid var(--border);border-radius:18px;margin-bottom:16px}.v95-tabs a{padding:12px;border-radius:13px;text-align:center;font-weight:800;color:var(--muted)}.v95-tabs a.active{background:var(--primary);color:#d8cec5}.v95-kpi-row{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:16px}.v95-kpi-row article{background:var(--card);border:1px solid var(--border);border-radius:18px;padding:17px;display:flex;flex-direction:column;gap:5px}.v95-kpi-row span{font-size:12px;color:var(--muted)}.v95-kpi-row strong{font-size:24px}.v95-kpi-row small{color:var(--muted)}.v95-panel{background:var(--card);border:1px solid var(--border);border-radius:22px;padding:18px;margin-bottom:16px}.v95-panel>header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:15px}.v95-panel>header span{font-size:11px;color:var(--primary);font-weight:800}.v95-panel>header h2{margin:3px 0;font-size:19px}.v95-panel>header p{margin:0;color:var(--muted);font-size:12px}.v95-shopping-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.v95-shopping-grid article{border:1px solid var(--border);border-radius:17px;padding:14px}.v95-shopping-grid article>div:first-child{display:flex;gap:8px;align-items:center}.v95-shopping-grid .dot,.v95-stock-table .name i{width:9px;height:9px;border-radius:50%;background:#22c55e}.v95-shopping-grid article.warn .dot,.v95-stock-table article.warn .name i{background:#f59e0b}.v95-shopping-grid article.danger .dot,.v95-stock-table article.danger .name i{background:#ef4444}.v95-shopping-grid p{margin:7px 0;color:var(--muted);font-size:12px}.v95-shopping-grid .buy{margin-top:10px;padding-top:10px;border-top:1px solid var(--border);display:grid;grid-template-columns:1fr auto;gap:3px}.v95-shopping-grid .buy strong{font-size:17px}.v95-shopping-grid .buy small{grid-column:1/-1;color:var(--muted)}.v95-stock-table{display:flex;flex-direction:column;gap:7px}.v95-stock-table article{display:grid;grid-template-columns:1.4fr repeat(4,1fr);gap:10px;align-items:center;border:1px solid var(--border);border-radius:14px;padding:11px 13px}.v95-stock-table .name{display:flex;align-items:center;gap:8px}.v95-stock-table .name em{font-size:10px;background:rgba(245,158,11,.12);padding:3px 6px;border-radius:99px}.v95-stock-table article>div:not(.name){display:flex;flex-direction:column;gap:2px}.v95-stock-table span{font-size:10px;color:var(--muted)}.v95-stock-table b{font-size:12px}.v95-waste-layout{display:grid;grid-template-columns:1.1fr .9fr;gap:16px}.v95-form{display:flex;flex-direction:column;gap:12px}.v95-form label{display:flex;flex-direction:column;gap:6px}.v95-form label>span{font-size:12px;font-weight:700}.v95-form input,.v95-form select{width:100%;min-height:46px;border:1px solid var(--border);border-radius:12px;background:var(--input-bg,var(--card));padding:0 12px;color:inherit;font-size:16px}.v95-form-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.v95-suffix{display:flex;border:1px solid var(--border);border-radius:12px;overflow:hidden}.v95-suffix input{border:0;border-radius:0}.v95-suffix b{min-width:72px;display:grid;place-items:center;background:rgba(127,127,127,.08);font-size:12px}.v95-stock-hint{padding:10px 12px;border-radius:12px;background:rgba(14,165,233,.08);font-size:12px}.v95-reason-list,.v95-history{display:flex;flex-direction:column;gap:8px}.v95-reason-list>div,.v95-history article{display:grid;grid-template-columns:1fr auto;gap:3px;padding:11px;border-radius:13px;background:rgba(127,127,127,.06)}.v95-reason-list small,.v95-history small{grid-column:1/-1;color:var(--muted)}.v95-history article>div{display:flex;gap:8px}.v95-history article>div span{color:var(--muted)}.v95-price-alerts{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-bottom:16px}.v95-price-alerts article{border:1px solid var(--border);border-radius:14px;padding:11px;display:flex;flex-direction:column;gap:3px}.v95-price-alerts article.up strong{color:#ef4444}.v95-price-alerts article.down strong{color:#22c55e}.v95-price-alerts small{font-size:10px;color:var(--muted)}.v95-product-pricing{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.v95-product-pricing article{border:1px solid var(--border);border-radius:17px;padding:14px}.v95-product-pricing article.danger{border-color:rgba(239,68,68,.38)}.v95-product-pricing article.warn{border-color:rgba(245,158,11,.38)}.v95-product-title{display:flex;justify-content:space-between;gap:10px}.v95-product-title>div{display:flex;flex-direction:column}.v95-product-title small{color:var(--muted)}.v95-product-title em{font-size:11px;padding:5px 8px;border-radius:99px;background:rgba(127,127,127,.08);height:max-content}.v95-price-facts{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin:12px 0}.v95-price-facts div{padding:9px;border-radius:11px;background:rgba(127,127,127,.055);display:flex;flex-direction:column}.v95-price-facts span{font-size:10px;color:var(--muted)}.v95-price-facts b{font-size:13px}.v95-price-facts .suggest{background:rgba(99,102,241,.09)}.v95-product-pricing footer{display:flex;justify-content:space-between;gap:8px;align-items:center;border-top:1px solid var(--border);padding-top:10px}.v95-product-pricing footer a{font-size:11px}.v95-product-pricing footer button{border:0;background:var(--primary);color:#d8cec5;border-radius:10px;padding:8px 10px;font-weight:700}.v95-product-pricing footer .ok{font-size:11px;color:#22c55e;font-weight:800}.v95-modal[hidden]{display:none}.v95-modal{position:fixed;inset:0;z-index:12000;display:grid;place-items:center;padding:16px}.v95-backdrop{position:absolute;inset:0;border:0;background:rgba(2,6,23,.65)}.v95-modal>section{position:relative;z-index:1;width:min(520px,100%);background:var(--card);border:1px solid var(--border);border-radius:22px;padding:18px}.v95-modal>section>header{display:flex;justify-content:space-between;margin-bottom:14px}.v95-modal>section>header h2{margin:2px 0}.v95-modal>section>header button{border:0;background:transparent;color:inherit;font-size:28px}.v95-empty{color:var(--muted);padding:18px;text-align:center}.wide{width:100%}
@media(max-width:980px){.v95-hero{padding:18px;flex-direction:column}.v95-hero .button{width:100%}.v95-tabs{grid-template-columns:1fr;position:static}.v95-tabs a{padding:11px}.v95-kpi-row{grid-template-columns:1fr 1fr}.v95-shopping-grid{grid-template-columns:1fr}.v95-stock-table article{grid-template-columns:1fr 1fr}.v95-stock-table .name{grid-column:1/-1}.v95-waste-layout{grid-template-columns:1fr}.v95-price-alerts{grid-template-columns:1fr 1fr}.v95-product-pricing{grid-template-columns:1fr}.v95-price-facts{grid-template-columns:1fr 1fr}}@media(max-width:520px){.v95-kpi-row{grid-template-columns:1fr 1fr}.v95-kpi-row strong{font-size:19px}.v95-form-row{grid-template-columns:1fr}.v95-price-alerts{grid-template-columns:1fr}.v95-stock-table article{grid-template-columns:1fr}.v95-stock-table .name{grid-column:auto}.v95-price-facts{grid-template-columns:1fr 1fr}}

/* FoodOS V9.6 — Store Intelligence / AI News */
.v96-intel-strip{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.4fr);gap:14px;margin:0 0 16px}.v96-forecast-card,.v96-news-card{border:1px solid var(--border);border-radius:24px;background:var(--card);min-width:0}.v96-forecast-card{padding:20px;background:linear-gradient(145deg,rgba(20,184,166,.08),rgba(59,130,246,.035) 55%,var(--card));position:relative;overflow:hidden}.v96-forecast-card:after{content:"";position:absolute;width:220px;height:220px;border-radius:50%;background:radial-gradient(circle,rgba(20,184,166,.11),transparent 66%);left:-75px;top:-85px;pointer-events:none}.v96-intel-eyebrow{position:relative;z-index:1;display:flex;align-items:center;gap:7px;font-size:10px;font-weight:900;color:var(--muted);letter-spacing:.04em}.v96-intel-eyebrow>b{padding:3px 7px;border-radius:999px;background:rgba(239,68,68,.1);color:#ef4444;font-size:9px}.v96-pulse{width:8px;height:8px;border-radius:50%;background:#10b981;box-shadow:0 0 0 5px rgba(16,185,129,.09)}.v96-pulse.orange{background:#f97316;box-shadow:0 0 0 5px rgba(249,115,22,.09)}.v96-forecast-main{position:relative;z-index:1;display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin:14px 0 13px}.v96-forecast-main>div:first-child{display:grid;grid-template-columns:auto auto auto;gap:5px 8px;align-items:end}.v96-forecast-main small{grid-column:1/-1;color:var(--muted);font-size:11px}.v96-forecast-main strong{font-size:23px;letter-spacing:-.04em}.v96-forecast-main strong em{font-size:10px;color:var(--muted);font-style:normal;margin:0 3px}.v96-forecast-main>div:first-child>span{font-size:10px;color:var(--muted);padding-bottom:4px}.v96-confidence{display:flex;flex-direction:column;align-items:flex-end;padding:8px 10px;border-radius:13px;background:rgba(16,185,129,.08);border:1px solid rgba(16,185,129,.14)}.v96-confidence b{font-size:12px;color:#10b981}.v96-confidence small{font-size:9px}.v96-forecast-facts{display:flex;gap:7px;flex-wrap:wrap;position:relative;z-index:1}.v96-forecast-facts span{padding:7px 9px;border-radius:10px;background:rgba(127,127,127,.055);font-size:9px;color:var(--muted)}.v96-forecast-facts b{color:var(--text);font-size:10px}.v96-material-forecast{position:relative;z-index:1;margin-top:11px;padding-top:11px;border-top:1px solid var(--border);display:flex;align-items:center;gap:6px;flex-wrap:wrap}.v96-material-forecast>small{color:var(--muted);font-size:9px}.v96-material-forecast>span{padding:5px 7px;border-radius:8px;background:rgba(16,185,129,.065);font-size:9px}.v96-material-forecast>span.risk{background:rgba(239,68,68,.09);color:#ef4444}.v96-news-card{padding:17px 18px}.v96-news-card>header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:11px}.v96-news-card>header h2{font-size:15px;margin:5px 0 0}.v96-news-card>header>a{font-size:10px;display:flex;align-items:center;gap:4px;white-space:nowrap}.v96-news-card>header>a svg{width:12px;height:12px}.v96-news-mini-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.v96-news-mini-list>a{position:relative;display:flex;flex-direction:column;min-height:118px;padding:11px;border:1px solid var(--border);border-radius:15px;background:rgba(127,127,127,.025);color:inherit;text-decoration:none;overflow:hidden}.v96-news-mini-list>a:before{content:"";position:absolute;right:0;top:0;bottom:0;width:3px;background:#64748b}.v96-news-mini-list>a.severity-good:before{background:#10b981}.v96-news-mini-list>a.severity-warning:before{background:#f59e0b}.v96-news-mini-list>a.severity-danger:before{background:#ef4444}.v96-news-kind{font-size:8px;font-weight:900;color:var(--primary);margin-bottom:5px}.v96-news-mini-list strong{font-size:11px;line-height:1.65}.v96-news-mini-list small{font-size:9px;line-height:1.7;color:var(--muted);margin-top:3px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.v96-news-mini-list em{margin-top:auto;padding-top:7px;font-size:8px;color:var(--muted);font-style:normal}.v96-news-mini-list em b{font-size:10px;color:var(--text)}.v96-news-card>footer{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-top:9px;padding-top:9px;border-top:1px solid var(--border);font-size:8px;color:var(--muted)}.v96-empty-intel{display:flex;flex-direction:column;justify-content:center;gap:5px;min-height:90px;color:var(--muted)}.v96-empty-intel strong{color:var(--text);font-size:11px}.v96-empty-intel span{font-size:9px}.v96-empty-intel a{font-size:9px;margin-top:4px}

.v96-news-page-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:15px}.v96-overline{font-size:10px;color:#f97316;font-weight:900;display:flex;align-items:center;gap:7px}.v96-overline i{width:20px;height:2px;background:#f97316;border-radius:99px}.v96-news-page-head h1{font-size:28px;margin:6px 0 6px;letter-spacing:-.035em}.v96-news-page-head p{margin:0;color:var(--muted);max-width:760px;line-height:1.85;font-size:11px}.v96-news-head-actions{display:flex;gap:8px;flex-wrap:wrap}.v96-refresh-form button{display:flex;align-items:center;gap:7px}.v96-refresh-form button:disabled{opacity:.7;cursor:wait}.v96-news-status-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px}.v96-news-status-row article{padding:13px 14px;border-radius:16px;border:1px solid var(--border);background:var(--card);display:flex;flex-direction:column;gap:3px;min-width:0}.v96-news-status-row span{font-size:9px;color:var(--muted)}.v96-news-status-row strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.v96-news-status-row strong.ok{color:#10b981}.v96-news-status-row strong.warn{color:#f59e0b}.v96-news-status-row strong.muted{color:var(--muted)}.v96-news-status-row small{font-size:8px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.v96-forecast-stage{display:grid;grid-template-columns:1.45fr .55fr;gap:10px;padding:21px;border-radius:24px;background:linear-gradient(135deg,#101b31,#182a4a);color:#f8fafc;margin-bottom:14px;overflow:hidden;position:relative}.v96-forecast-stage:before{content:"";position:absolute;width:420px;height:420px;border-radius:50%;border:60px solid rgba(255,255,255,.025);right:-190px;top:-150px}.v96-forecast-copy,.v96-forecast-side{position:relative;z-index:1}.v96-forecast-copy>span{font-size:9px;color:#93c5fd}.v96-forecast-copy h2{font-size:20px;margin:5px 0}.v96-forecast-copy>p{color:#cbd5e1;font-size:10px;line-height:1.8;margin:0 0 12px}.v96-forecast-amount{display:flex;align-items:end;gap:8px;flex-wrap:wrap}.v96-forecast-amount strong{font-size:27px;letter-spacing:-.04em}.v96-forecast-amount em{font-size:10px;color:#94a3b8;font-style:normal;padding-bottom:5px}.v96-forecast-amount>span{font-size:9px;color:#94a3b8;padding-bottom:5px}.v96-forecast-chips{display:flex;gap:6px;flex-wrap:wrap;margin-top:13px}.v96-forecast-chips span{padding:6px 8px;border-radius:9px;background:rgba(255,255,255,.06);font-size:8px;color:#cbd5e1}.v96-forecast-chips b{color:#d8cec5}.v96-forecast-side{padding:13px;border-radius:16px;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.07)}.v96-forecast-side>div:first-child{display:flex;flex-direction:column;gap:4px;padding-bottom:10px;border-bottom:1px solid rgba(255,255,255,.08)}.v96-forecast-side span{font-size:8px;color:#94a3b8}.v96-forecast-side strong{font-size:11px}.v96-need-list{margin-top:10px}.v96-need-list>span{display:block;margin-bottom:5px}.v96-need-list p{display:grid;grid-template-columns:1fr auto;gap:2px 6px;margin:0;padding:6px 0;border-bottom:1px solid rgba(255,255,255,.06)}.v96-need-list p:last-child{border:0}.v96-need-list p b,.v96-need-list p em{font-size:9px}.v96-need-list p em{font-style:normal}.v96-need-list p small{grid-column:1/-1;font-size:7px;color:#86efac}.v96-need-list p.risk small{color:#fca5a5}.v96-news-filters{display:flex;gap:6px;overflow:auto;padding:2px 0 10px;scrollbar-width:none}.v96-news-filters::-webkit-scrollbar{display:none}.v96-news-filters a{flex:0 0 auto;padding:8px 11px;border-radius:10px;border:1px solid var(--border);background:var(--card);font-size:9px;font-weight:800;color:var(--muted)}.v96-news-filters a.active{background:var(--text);color:var(--card);border-color:var(--text)}.v96-news-filters a b{font-size:8px;margin-right:3px;opacity:.6}.v96-news-layout{display:grid;grid-template-columns:minmax(0,1fr) 275px;gap:13px;align-items:start}.v96-news-feed{display:flex;flex-direction:column;gap:10px}.v96-story{position:relative;border:1px solid var(--border);border-radius:20px;background:var(--card);padding:17px 18px;overflow:hidden}.v96-story:before{content:"";position:absolute;right:0;top:0;bottom:0;width:4px;background:#64748b}.v96-story.severity-good:before{background:#10b981}.v96-story.severity-warning:before{background:#f59e0b}.v96-story.severity-danger:before{background:#ef4444}.v96-story.unread{box-shadow:inset 0 0 0 1px rgba(59,130,246,.12)}.v96-story>header{display:flex;justify-content:space-between;gap:10px}.v96-story-meta{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.v96-story-meta span{padding:4px 7px;border-radius:7px;background:rgba(59,130,246,.08);color:#3b82f6;font-size:8px;font-weight:900}.v96-story-meta b{padding:3px 6px;border-radius:99px;background:rgba(239,68,68,.09);color:#ef4444;font-size:7px}.v96-story-meta time{font-size:8px;color:var(--muted)}.v96-story-metric{text-align:left;display:flex;flex-direction:column}.v96-story-metric strong{font-size:14px}.v96-story-metric small{font-size:7px;color:var(--muted)}.v96-story h2{font-size:18px;margin:11px 0 5px}.v96-story-summary{font-size:11px;font-weight:700;line-height:1.85;margin:0}.v96-story-detail{font-size:10px;line-height:1.9;color:var(--muted);margin:8px 0 0}.v96-recommend{margin-top:12px;padding:10px 12px;border-radius:12px;background:rgba(16,185,129,.06);border:1px solid rgba(16,185,129,.1)}.v96-recommend span,.v96-manager-question span,.v96-story-sources>span{display:block;font-size:8px;font-weight:900;color:#10b981;margin-bottom:3px}.v96-recommend p{margin:0;font-size:10px;line-height:1.8}.v96-manager-question{margin-top:8px;padding:10px 12px;border-radius:12px;background:rgba(99,102,241,.065);border:1px solid rgba(99,102,241,.1)}.v96-manager-question span{color:#6366f1}.v96-manager-question strong{font-size:10px;line-height:1.85}.v96-story-sources{margin-top:10px;padding-top:9px;border-top:1px solid var(--border)}.v96-story-sources>span{color:var(--muted)}.v96-story-sources a{display:flex;justify-content:space-between;gap:10px;font-size:8px;padding:4px 0}.v96-story-sources a small{color:var(--muted)}.v96-no-news{text-align:center;padding:45px 20px;border:1px dashed var(--border);border-radius:20px;background:var(--card)}.v96-no-news>span{font-size:30px}.v96-no-news h2{font-size:17px}.v96-no-news p{font-size:10px;color:var(--muted);max-width:530px;margin:auto;line-height:1.9}.v96-news-sidebar{display:flex;flex-direction:column;gap:10px;position:sticky;top:80px}.v96-side-panel{padding:15px;border:1px solid var(--border);border-radius:18px;background:var(--card)}.v96-panel-overline{font-size:8px;color:#f97316;font-weight:900}.v96-side-panel h3{margin:4px 0 12px;font-size:14px}.v96-ai-settings{display:flex;flex-direction:column;gap:10px}.v96-ai-settings>label:not(.v96-switch-row){display:flex;flex-direction:column;gap:4px}.v96-ai-settings>label>span{font-size:9px;font-weight:800}.v96-ai-settings input[type=text],.v96-ai-settings input:not([type]),.v96-ai-settings select{width:100%;min-height:40px;border:1px solid var(--border);border-radius:10px;background:var(--input-bg,var(--card));color:inherit;padding:0 9px;font-size:11px}.v96-switch-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 0}.v96-switch-row>span{display:flex;flex-direction:column;gap:2px}.v96-switch-row b{font-size:9px}.v96-switch-row small{font-size:7px;color:var(--muted)}.v96-switch-row input{width:38px;height:20px;accent-color:var(--primary)}.v96-run-list{display:flex;flex-direction:column;gap:6px}.v96-run-list>div{display:grid;grid-template-columns:1fr auto;gap:2px 5px;padding:7px 8px;border-radius:9px;background:rgba(127,127,127,.045)}.v96-run-list span,.v96-run-list small{font-size:7px;color:var(--muted)}.v96-run-list b{font-size:8px}.v96-run-list small{grid-column:1/-1}.v96-run-list>div.error{border-right:2px solid #ef4444}.v96-run-list>div.ok{border-right:2px solid #10b981}

@media(max-width:1100px){.v96-intel-strip{grid-template-columns:1fr}.v96-news-layout{grid-template-columns:1fr}.v96-news-sidebar{position:static;display:grid;grid-template-columns:1fr 1fr}.v96-forecast-stage{grid-template-columns:1fr .7fr}.v96-news-status-row{grid-template-columns:1fr 1fr}}
@media(max-width:720px){.v96-news-page-head{display:block}.v96-news-head-actions{margin-top:12px}.v96-news-head-actions form{flex:1}.v96-news-head-actions button{width:100%;justify-content:center}.v96-news-page-head h1{font-size:23px}.v96-news-mini-list{display:flex;overflow:auto;scroll-snap-type:x mandatory;padding-bottom:2px}.v96-news-mini-list>a{min-width:82%;scroll-snap-align:start}.v96-forecast-stage{grid-template-columns:1fr;padding:16px}.v96-forecast-amount strong{font-size:22px}.v96-news-sidebar{display:block}.v96-side-panel{margin-bottom:10px}.v96-news-status-row{grid-template-columns:1fr 1fr}.v96-story{padding:14px}.v96-story h2{font-size:16px}.v96-intel-strip{margin-top:2px}.v96-forecast-main{display:block}.v96-confidence{align-items:flex-start;margin-top:9px;width:max-content}.v96-forecast-main>div:first-child{display:flex;align-items:end;flex-wrap:wrap}.v96-forecast-main small{width:100%}.v96-material-forecast{align-items:flex-start}.v96-news-card>header h2{font-size:13px}}
@media(max-width:430px){.v96-news-status-row{grid-template-columns:1fr}.v96-news-status-row article{padding:11px}.v96-story>header{display:block}.v96-story-metric{text-align:right;margin-top:7px}.v96-forecast-facts span{flex:1 1 45%}.v96-news-card{padding:14px}.v96-forecast-card{padding:15px}.v96-news-page-head p{font-size:10px}}

/* FoodOS V9.9.0 — profit-safe public menu customization */
.v99-custom-panel{margin-top:12px;padding:17px;border:1px solid rgba(99,102,241,.22);border-radius:22px;background:linear-gradient(145deg,rgba(99,102,241,.075),rgba(255,255,255,.018))}.v99-custom-master{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,.65fr);gap:10px;align-items:stretch}.v99-switch,.v99-margin-floor{display:flex;align-items:center;gap:10px;padding:13px;border:1px solid rgba(148,163,184,.14);border-radius:16px;background:rgba(15,23,42,.16)}.v99-switch input{width:20px;height:20px}.v99-switch b{font-size:12px}.v99-margin-floor{justify-content:space-between}.v99-margin-floor>span{font-size:10px;font-weight:850;opacity:.72}.v99-margin-floor>div{display:flex;align-items:center;gap:6px}.v99-margin-floor input{width:84px;min-height:42px;text-align:center;font-size:16px;font-weight:900}.v99-profit-safety-note{display:flex;gap:8px;margin:10px 0 13px;padding:11px 13px;border-radius:14px;background:rgba(16,185,129,.09);border:1px solid rgba(16,185,129,.18);font-size:10px;line-height:1.85}.v99-profit-safety-note b{white-space:nowrap;color:#10b981}.v99-custom-rules{display:grid;gap:9px}.v99-custom-rule{padding:13px;border:1px solid rgba(148,163,184,.13);border-radius:17px;background:rgba(15,23,42,.17)}.v99-custom-rule>header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:11px}.v99-custom-rule>header strong,.v99-custom-rule>header small{display:block}.v99-custom-rule>header small{margin-top:3px;font-size:9px;opacity:.58}.v99-rule-toggle{display:flex;align-items:center;gap:7px;font-size:10px;font-weight:850}.v99-rule-toggle input{width:18px;height:18px}.v99-rule-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.v99-rule-fields>label{display:block;padding:9px;border-radius:13px;background:rgba(148,163,184,.045)}.v99-rule-fields>label>span,.v99-rule-fields>label>small{display:block}.v99-rule-fields>label>span{font-size:9px;font-weight:850;opacity:.68;margin-bottom:6px}.v99-rule-fields>label>small{font-size:8px;line-height:1.6;opacity:.52;margin-top:5px}.v99-rule-fields>label>div{display:flex;align-items:center;gap:5px}.v99-rule-fields input{min-width:0;width:100%;min-height:40px;padding:7px 8px;border-radius:10px;font-weight:900}.v99-rule-fields b{font-size:9px;white-space:nowrap;opacity:.68}.v99-custom-empty{padding:18px;border:1px dashed rgba(148,163,184,.2);border-radius:15px;text-align:center;font-size:10px;opacity:.65}

.v99-custom-badge{display:inline-flex;width:max-content;margin-top:5px;padding:4px 7px;border-radius:999px;background:rgba(99,102,241,.12);color:#6366f1;font-size:9px;font-weight:900;opacity:1}.v99-has-custom .public-product-image:after{content:'✦';position:absolute;left:8px;bottom:8px;display:grid;place-items:center;width:27px;height:27px;border-radius:10px;background:rgba(17,24,39,.82);color:#d8cec5;font-size:13px}.v99-customizer{position:fixed;z-index:240;inset:0;display:none;align-items:flex-end;justify-content:center}.v99-customizer-open .v99-customizer{display:flex}.v99-customizer-backdrop{position:absolute;inset:0;border:0;background:rgba(2,6,23,.62);backdrop-filter:blur(3px)}.v99-customizer-card{position:relative;z-index:1;display:flex;flex-direction:column;width:min(680px,100%);max-height:min(88dvh,760px);max-height:min(88vh,760px);border-radius:26px 26px 0 0;background:#fff;color:#111827;box-shadow:0 -22px 70px rgba(0,0,0,.25);overflow:hidden;padding-bottom:env(safe-area-inset-bottom)}.v99-customizer-handle{width:42px;height:5px;margin:8px auto 3px;border-radius:99px;background:#d1d5db}.v99-customizer-card>header{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:10px;align-items:center;padding:9px 15px 11px;border-bottom:1px solid #eef2f7}.v99-customizer-card>header>button{width:38px;height:38px;border:0;border-radius:12px;background:#f3f4f6;font-size:24px}.v99-customizer-card>header small,.v99-customizer-card>header strong{display:block}.v99-customizer-card>header small{font-size:9px;color:#6b7280}.v99-customizer-card>header strong{font-size:16px}.v99-customizer-card>header>b{font-size:14px;color:#4f46e5;white-space:nowrap}.v99-customizer-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:13px 15px 18px}.v99-customizer-intro{padding:11px 12px;margin-bottom:10px;border-radius:14px;background:#f5f7ff}.v99-customizer-intro b,.v99-customizer-intro span{display:block}.v99-customizer-intro b{font-size:12px}.v99-customizer-intro span{margin-top:3px;font-size:9px;line-height:1.7;color:#6b7280}.v99-customizer-rules{display:grid;gap:9px}.v99-public-rule{padding:12px;border:1px solid #e5e7eb;border-radius:17px;background:#fff}.v99-public-rule-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.v99-public-rule-head strong,.v99-public-rule-head small{display:block}.v99-public-rule-head strong{font-size:13px}.v99-public-rule-head small{margin-top:2px;font-size:8px;color:#9ca3af}.v99-public-rule-head>b{font-size:10px;color:#6b7280}.v99-public-rule-head>b.plus{color:#dc2626}.v99-public-rule-head>b.minus{color:#059669}.v99-public-rule-control{display:grid;grid-template-columns:48px minmax(0,1fr) 48px;gap:8px;align-items:center;margin:10px 0 7px}.v99-public-rule-control>button{height:46px;border:1px solid #dbe0e8;border-radius:14px;background:#f8fafc;color:#111827;font-size:25px;font-weight:800;touch-action:manipulation}.v99-public-rule-control>button:disabled{opacity:.32}.v99-public-rule-control>div{text-align:center}.v99-public-rule-control strong,.v99-public-rule-control small{display:block}.v99-public-rule-control strong{font-size:17px}.v99-public-rule-control small{margin-top:2px;font-size:8px;color:#6b7280}.v99-public-rule-range{display:flex;justify-content:space-between;gap:8px;font-size:8px;color:#9ca3af}.v99-customizer-pricebox{display:grid;gap:6px;margin-top:12px;padding:12px;border-radius:17px;background:#f8fafc}.v99-customizer-pricebox>div{display:flex;justify-content:space-between;gap:10px;font-size:10px}.v99-customizer-pricebox>div.total{padding-top:8px;border-top:1px dashed #d1d5db;align-items:center}.v99-customizer-pricebox>div.total strong{font-size:18px;color:#4f46e5}.v99-customizer-pricebox .plus{color:#dc2626}.v99-customizer-pricebox .minus{color:#059669}.v99-customizer-pricebox>small{padding:7px 9px;border-radius:10px;background:#fff7ed;color:#9a3412;font-size:8px;line-height:1.6}.v99-customizer-card>footer{display:grid;grid-template-columns:.75fr 1.4fr;gap:8px;padding:10px 15px calc(10px + env(safe-area-inset-bottom));border-top:1px solid #eef2f7;background:#fff}.v99-customizer-card>footer button{min-height:48px;border-radius:14px;font:inherit;font-weight:900}.v99-customizer-reset{border:1px solid #d1d5db;background:#fff;color:#374151}.v99-customizer-add{border:0;background:#111827;color:#d8cec5}.v99-public-cart-item{grid-template-columns:minmax(0,1fr) auto;align-items:center}.v99-cart-item-main{min-width:0}.v99-cart-custom-summary{display:block;margin:3px 0;color:#6366f1;opacity:1;line-height:1.55}.v99-cart-qty{display:flex;align-items:center;gap:6px}.v99-cart-qty button{width:35px;height:35px}.v99-cart-edit{grid-column:1/-1;width:100%;min-height:36px;border:1px solid rgba(99,102,241,.18);border-radius:11px;background:rgba(99,102,241,.06);color:#4f46e5;font:inherit;font-size:9px;font-weight:900}

@media(max-width:760px){.v99-custom-master{grid-template-columns:1fr}.v99-rule-fields{grid-template-columns:1fr 1fr}.v99-margin-field{grid-column:1/-1}.v99-customizer-card{width:100%;max-height:92dvh;max-height:92vh}.v99-customizer-card>header{padding-inline:12px}.v99-customizer-body{padding-inline:12px}.v99-customizer-card>footer{padding-inline:12px}.v99-public-rule-control{grid-template-columns:52px minmax(0,1fr) 52px}.v99-public-rule-control>button{height:50px}}
@media(max-width:430px){.v99-rule-fields{grid-template-columns:1fr}.v99-margin-field{grid-column:auto}.v99-custom-rule>header{align-items:flex-start;flex-direction:column}.v99-public-rule-range{font-size:7px}.v99-customizer-card>header>b{font-size:12px}.v99-customizer-pricebox>div.total strong{font-size:16px}}

/* source: static/stable-mobile-v992.css */
/* FoodOS V9.9.2 — conservative mobile safety layer.
   Keeps the proven V9.7.1 layouts and only prevents actions from leaving the visible viewport. */
html,body{max-width:100%;overflow-x:hidden}
button,input,select,textarea{max-width:100%;box-sizing:border-box}
@media (max-width:760px){
  .v9-modal{padding:8px max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));align-items:flex-end}
  .v9-modal-card{width:100%;max-height:calc(100vh - 16px);max-height:calc(100dvh - 16px);display:flex;flex-direction:column;overflow:hidden}
  .v9-modal-card>form,.v9-modal-form{flex:1 1 auto;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain;scroll-padding-bottom:84px}
  .v9-modal-card>form>footer,.v9-modal-form>footer{position:sticky;bottom:0;z-index:30;margin-bottom:0;padding-bottom:calc(10px + env(safe-area-inset-bottom));background:var(--panel)}
  .v931-edit-card,.v922-sheet-card,.v930-sheet-card{max-height:calc(100vh - 8px);max-height:calc(100dvh - 8px);overflow:hidden;display:flex;flex-direction:column}
  .v931-edit-card form,.v922-sheet-card form,.v930-sheet-card form{min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain;scroll-padding-bottom:84px}
  .v931-edit-card footer,.v922-product-form footer{position:sticky;bottom:0;z-index:30;background:var(--panel);padding-bottom:calc(10px + env(safe-area-inset-bottom))}
  .v930-material-form .button.wide,.v930-material-form>button.wide{min-height:48px;width:100%}
  input,select,textarea{font-size:16px}
  .v99-customizer-card{max-height:calc(100vh - 4px);max-height:calc(100dvh - 4px)}
  .v99-customizer-body{overscroll-behavior-y:contain}
  .v99-customizer-card>footer{position:sticky;bottom:0;z-index:20;padding-bottom:calc(10px + env(safe-area-inset-bottom))}
}
@media (max-width:380px){
  .v9-modal-card>form>footer,.v9-modal-form>footer,.v931-edit-card footer,.v99-customizer-card>footer{grid-template-columns:1fr}
  .button,button{min-height:44px}
}

/* source: static/v994-customization.css */
/* FoodOS V9.9.4 — professional ingredient customization + bold invoice visibility */
.v994-profit-rule{border:1px solid rgba(15,23,42,.1);box-shadow:0 10px 24px rgba(15,23,42,.04)}
.v994-profit-mode-field select{width:100%;min-height:44px;border:1px solid rgba(100,116,139,.28);border-radius:12px;background:var(--surface,#fff);color:inherit;padding:0 12px;font:inherit;font-weight:700}
.v994-profit-preview{margin:14px 0 2px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:12px;border-radius:16px;background:linear-gradient(135deg,rgba(14,165,233,.07),rgba(16,185,129,.07));border:1px solid rgba(14,165,233,.15)}
.v994-profit-preview>div{padding:10px 12px;border-radius:12px;background:rgba(255,255,255,.78);display:flex;flex-direction:column;gap:5px;min-width:0}
.v994-profit-preview span{font-size:11px;color:#64748b;line-height:1.6}.v994-profit-preview b,.v994-profit-preview strong{font-size:14px;color:#0f172a;white-space:nowrap}
.v994-profit-preview .profit b{color:#047857}.v994-profit-preview .charge b{color:#0369a1}.v994-profit-preview .final{background:#0f172a}.v994-profit-preview .final span{color:#cbd5e1}.v994-profit-preview .final strong{color:#d8cec5;font-size:16px}

.v994-customized-item{position:relative;border:2px solid #f59e0b;background:linear-gradient(135deg,#fff7ed,#fffbeb);border-radius:16px;padding:14px;margin:8px 0;box-shadow:0 10px 30px rgba(245,158,11,.12)}
.v994-customized-head{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.v994-customized-badge{display:inline-flex;align-items:center;gap:5px;background:#b45309;color:#d8cec5;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:900;letter-spacing:-.1px}
.v994-custom-list{margin-top:9px;display:flex;flex-direction:column;gap:6px}.v994-custom-line{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;border-radius:10px;background:#fff;border:1px solid rgba(245,158,11,.25);font-size:12px}
.v994-custom-line strong{font-size:13px}.v994-custom-line.plus strong{color:#047857}.v994-custom-line.minus strong{color:#be123c}.v994-custom-line em{font-style:normal;color:#475569;font-weight:700}
.v994-profit-internal{margin-top:8px;padding:8px 10px;border-radius:10px;background:#ecfdf5;border:1px solid #a7f3d0;color:#065f46;font-size:12px;font-weight:800}.v994-profit-internal b{font-size:14px}
.v994-order-profit-summary{margin-top:14px;padding:14px 16px;border-radius:16px;background:linear-gradient(135deg,#052e16,#064e3b);color:#d8cec5;display:grid;grid-template-columns:1fr auto;gap:8px 16px;align-items:center}.v994-order-profit-summary span{color:#bbf7d0;font-size:12px}.v994-order-profit-summary strong{font-size:20px}.v994-order-profit-summary small{grid-column:1/-1;color:#d1fae5}

.v994-invoice-custom{margin-top:7px;border:2px solid #f59e0b;border-radius:9px;padding:7px 9px;background:#fffbeb;display:flex;flex-direction:column;gap:4px}.v994-invoice-custom>b{font-size:12px;color:#92400e}.v994-invoice-custom span{font-size:11px;font-weight:800;color:#111827}.v994-invoice-custom span.plus{color:#065f46}.v994-invoice-custom span.minus{color:#9f1239}

@media(max-width:720px){.v994-profit-preview{grid-template-columns:1fr 1fr}.v994-profit-preview .final{grid-column:1/-1}.v994-custom-line{align-items:flex-start;flex-direction:column}.v994-order-profit-summary{grid-template-columns:1fr}.v994-order-profit-summary strong{font-size:18px}}
@media(max-width:380px){.v994-profit-preview{grid-template-columns:1fr}.v994-profit-preview .final{grid-column:auto}}
@media print{.v994-invoice-custom{break-inside:avoid;border:2px solid #000;background:#fff}.v994-invoice-custom>b,.v994-invoice-custom span{color:#000;font-weight:900}}

.v994-ingredient-profit-default{margin:14px 0;display:grid;grid-template-columns:minmax(220px,1.4fr) minmax(180px,1fr) minmax(140px,.7fr);gap:10px;align-items:end;padding:14px;border:1px solid rgba(5,150,105,.18);border-radius:16px;background:linear-gradient(135deg,rgba(16,185,129,.06),rgba(14,165,233,.05))}.v994-ingredient-profit-default>div:first-child{align-self:center}.v994-ingredient-profit-default b{display:block;color:#065f46}.v994-ingredient-profit-default small{display:block;margin-top:4px;color:#64748b;line-height:1.7}.v994-ingredient-profit-default label{display:flex;flex-direction:column;gap:6px}.v994-ingredient-profit-default label>span{font-size:12px;font-weight:800;color:#334155}.v994-ingredient-profit-default select{min-height:44px;border:1px solid rgba(100,116,139,.28);border-radius:12px;padding:0 10px;background:#fff;font:inherit;font-weight:700}
.v994-stock-profit b{color:#047857}.v994-edit-profit-box{margin:4px 0 10px;padding:12px;border-radius:14px;background:#ecfdf5;border:1px solid #a7f3d0}.v994-edit-profit-box>b{display:block;color:#065f46;margin-bottom:4px}.v994-edit-profit-box>small{display:block;color:#475569;line-height:1.7;margin-bottom:10px}.v994-edit-profit-box>div{display:grid;grid-template-columns:1fr 140px;gap:8px}.v994-edit-profit-box label{display:flex;flex-direction:column;gap:5px}.v994-edit-profit-box label>span{font-size:11px;font-weight:800}.v994-edit-profit-box select,.v994-edit-profit-box input{min-height:42px;border:1px solid rgba(100,116,139,.28);border-radius:10px;background:#fff;padding:0 10px;font:inherit}.v994-edit-profit-box label>div{display:flex;align-items:center;gap:6px}.v994-edit-profit-box label>div input{min-width:0;width:100%}
.v994-profit-source-field select{width:100%;min-height:44px;border:1px solid rgba(100,116,139,.28);border-radius:12px;background:var(--surface,#fff);color:inherit;padding:0 12px;font:inherit;font-weight:700}
@media(max-width:720px){.v994-ingredient-profit-default{grid-template-columns:1fr}.v994-edit-profit-box>div{grid-template-columns:1fr}}

/* Customer-facing customization emphasis */
.v994-customer-rule-changed{border:2px solid rgba(245,158,11,.65);background:linear-gradient(135deg,#fff7ed,#fffbeb);box-shadow:0 10px 24px rgba(245,158,11,.10)}
.v994-customer-change-badge{display:inline-flex;width:max-content;margin-top:4px;padding:3px 7px;border-radius:999px;background:#b45309;color:#d8cec5;font-size:10px;font-weight:900}
.v99-cart-custom-summary{display:block;margin-top:5px;padding:7px 9px;border-radius:9px;background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;font-weight:900;line-height:1.8}
.v99-customizer-pricebox .total{border:2px solid rgba(14,116,144,.16);box-shadow:0 8px 20px rgba(14,116,144,.06)}

/* Financial report: profitability of customer-added ingredients */
.v994-modifier-report{margin:18px 0;padding:18px;border:1px solid rgba(5,150,105,.18);background:linear-gradient(135deg,rgba(236,253,245,.8),rgba(240,249,255,.72))}
.v994-modifier-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0 16px}.v994-modifier-kpis article{padding:14px;border-radius:15px;background:#fff;border:1px solid rgba(100,116,139,.14);display:flex;flex-direction:column;gap:6px}.v994-modifier-kpis span{font-size:12px;color:#64748b;font-weight:800}.v994-modifier-kpis strong{font-size:20px;color:#0f172a}.v994-modifier-kpis strong small{font-size:11px;color:#64748b}.v994-modifier-kpis p{margin:0;color:#64748b;font-size:11px;line-height:1.7}.v994-modifier-kpis .profit{background:linear-gradient(135deg,#052e16,#065f46);border-color:#065f46}.v994-modifier-kpis .profit span,.v994-modifier-kpis .profit p{color:#bbf7d0}.v994-modifier-kpis .profit strong,.v994-modifier-kpis .profit strong small{color:#d8cec5}.v994-modifier-table strong{color:#065f46}
@media(max-width:720px){.v994-modifier-kpis{grid-template-columns:1fr}.v994-modifier-report{padding:13px}.v994-modifier-table{overflow-x:auto}}

/* source: static/v995-ux-fixes.css */
/* FoodOS V9.9.5 — customer undo/cancel + recipe picker scroll/footer + inline category creation */

/* --- Public customer menu: clear undo and cancel controls --- */
.v995-customizer-footer{display:grid;grid-template-columns:auto auto minmax(150px,1fr);gap:8px;align-items:center}
.v995-customizer-cancel{min-height:46px;border:1px solid #fecaca;border-radius:13px;background:#fff1f2;color:#be123c;font:inherit;font-weight:900;padding:0 12px}
.v995-rule-reset{width:100%;margin-top:8px;min-height:38px;border:1px dashed #fdba74;border-radius:10px;background:#fff7ed;color:#9a3412;font:inherit;font-size:11px;font-weight:900}
.v995-cart-head-actions{display:flex;flex-direction:row;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.v995-cart-head-actions>span{color:#667085;font-size:9px;font-weight:800}.v995-cart-head-actions>button{min-height:34px;padding:0 9px;border:1px solid #fecaca;border-radius:9px;background:#fff1f2;color:#be123c;font:inherit;font-size:10px;font-weight:900}.v995-cart-head-actions>span{white-space:nowrap}
.v995-cart-line-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.v995-cart-remove{min-height:36px;padding:0 10px;border:1px solid #fecaca;border-radius:10px;background:#fff1f2;color:#be123c;font:inherit;font-size:10px;font-weight:900}.v995-cart-remove:active,.v995-customizer-cancel:active,.v995-rule-reset:active{transform:scale(.98)}

/* --- Recipe picker: one real scroll container + persistent action footer --- */
.v930-sheet.open{touch-action:pan-y}
.v930-sheet-card{overflow:hidden;display:flex;flex-direction:column;padding-bottom:0;max-height:min(90dvh,760px)}
.v930-sheet-card>header{flex:0 0 auto;padding:0 2px 10px;margin-bottom:0}
.v995-sheet-scroll{min-height:0;flex:1 1 auto;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain;touch-action:pan-y;padding:4px 2px 18px;scroll-padding-bottom:24px}
.v995-sheet-scroll *{touch-action:auto}.v995-sheet-scroll .v930-material-list,.v995-sheet-scroll .v930-material-option{touch-action:pan-y}
.v995-picker-tip{margin:9px 0 2px;padding:8px 10px;border-radius:10px;background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;font-size:10px;font-weight:800;line-height:1.7}
.v995-material-footer{flex:0 0 auto;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(120px,.65fr);gap:8px;padding:10px 2px calc(10px + env(safe-area-inset-bottom));border-top:1px solid #e2e8f0;background:rgba(255,255,255,.98);box-shadow:0 -12px 24px rgba(15,23,42,.07);z-index:80}
.v995-material-footer[hidden]{display:none}
.v995-confirm-material,.v995-confirm-close{min-height:50px;border-radius:14px;font:inherit;font-weight:950;padding:0 12px}.v995-confirm-material{border:1px solid #ea580c;background:linear-gradient(135deg,#f97316,#ea580c);color:#d8cec5;box-shadow:0 8px 20px rgba(234,88,12,.24)}.v995-confirm-close{border:1px solid #cbd5e1;background:#f8fafc;color:#334155}.v995-confirm-material:active,.v995-confirm-close:active{transform:scale(.985)}
#v930PickerStep,#v930AmountStep{min-height:0}.v930-material-list{padding-bottom:12px}.v930-material-option{min-height:64px}

/* Older mobile CSS made the confirm button itself sticky; V9.9.5 uses a dedicated footer instead. */
#v930ConfirmMaterial{position:static;bottom:auto;padding-bottom:0}

/* --- Product category can be created without leaving the product modal --- */
.v995-category-inline{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end}.v995-category-inline>.v922-primary-field{margin:0}.v995-add-category{min-height:48px;padding:0 12px;border:1px solid #fdba74;border-radius:13px;background:#fff7ed;color:#c2410c;font:inherit;font-weight:900;white-space:nowrap}
.v995-quick-category{margin-top:-2px;padding:10px;border:1px solid #fed7aa;border-radius:14px;background:#fffaf5;display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:7px;align-items:center}.v995-quick-category[hidden]{display:none}.v995-quick-category input{min-width:0;min-height:44px;border:1px solid #fdba74;border-radius:11px;background:#fff;padding:0 11px;font:inherit}.v995-quick-category button{min-height:42px;padding:0 10px;border-radius:10px;font:inherit;font-size:11px;font-weight:900}.v995-quick-category button#v995QuickCategorySave{border:1px solid #ea580c;background:#f97316;color:#d8cec5}.v995-quick-category button#v995QuickCategoryCancel{border:1px solid #cbd5e1;background:#fff;color:#475569}.v995-quick-category small{grid-column:1/-1;min-height:16px;color:#9a3412;font-weight:800}

@media(max-width:720px){
  .v995-customizer-footer{grid-template-columns:1fr 1fr}.v995-customizer-footer .v99-customizer-add{grid-column:1/-1;order:-1}.v995-customizer-footer button{min-height:48px}
  .v930-sheet-card{width:100%;height:100dvh;max-height:100dvh;bottom:0;border-radius:20px 20px 0 0;padding:10px 12px 0}
  .v995-sheet-scroll{padding-bottom:20px}
  .v995-material-footer{margin:0 -2px;grid-template-columns:1fr;gap:7px}.v995-confirm-material{order:1}.v995-confirm-close{order:2;min-height:44px}
  .v995-category-inline{grid-template-columns:1fr}.v995-add-category{width:100%}.v995-quick-category{grid-template-columns:1fr 1fr}.v995-quick-category input{grid-column:1/-1}
  .v995-cart-head-actions{justify-content:flex-end}.v995-cart-head-actions>button{min-height:36px}
}

@media(max-width:380px){.v995-customizer-footer{grid-template-columns:1fr}.v995-customizer-footer .v99-customizer-add{grid-column:auto}.v995-quick-category{grid-template-columns:1fr}.v995-quick-category input{grid-column:auto}}

/* source: static/v996-ux-polish.css */
/* FoodOS V9.9.6 — mobile recipe viewport fix + customer menu polish + uniform media */

/* ---------- Global horizontal stability ---------- */
body.public-body{width:100%;max-width:100%;overflow-x:hidden;overscroll-behavior-x:none;background:#f6f7f9}
.public-menu-page,.public-menu-page .public-menu-shell,.public-menu-page #publicOrderForm,.public-menu-page .public-products{min-width:0;max-width:100%}
.public-menu-page .public-menu-shell{overflow:visible}
.public-menu-page .public-categories{max-width:100vw;overscroll-behavior-x:contain;touch-action:pan-x}

/* ---------- Customer menu visual refresh ---------- */
.v996-public-menu .public-store-head{min-height:76px;padding:11px clamp(14px,3vw,24px);border-bottom:1px solid rgba(15,23,42,.06);background:rgba(255,255,255,.96);box-shadow:0 7px 28px rgba(15,23,42,.045)}
.v996-public-menu .public-store-brand>span{background:linear-gradient(145deg,#111827,#30394a);box-shadow:0 8px 20px rgba(15,23,42,.16)}
.v996-public-menu .public-store-brand small{display:flex;align-items:center;gap:5px;color:#11845b}
.v996-public-menu .public-store-brand small i{width:7px;height:7px;border-radius:50%;background:#16a36f;box-shadow:0 0 0 4px rgba(22,163,111,.10)}
.v996-public-menu .public-store-head>a{border:1px solid #e9ebef;background:#fff;box-shadow:0 5px 15px rgba(15,23,42,.05)}
.v996-public-menu .public-menu-shell{width:min(1120px,100%);padding:18px clamp(12px,3vw,22px) 130px}
.v996-public-menu .public-welcome{position:relative;overflow:hidden;margin:0 0 15px;padding:24px 24px 22px;border:1px solid #eceff3;border-radius:26px;background:linear-gradient(135deg,#fff 0%,#fff9f6 58%,#fff1eb 100%);box-shadow:0 15px 38px rgba(15,23,42,.055)}
.v996-public-menu .public-welcome:after{content:"";position:absolute;left:-52px;top:-74px;width:185px;height:185px;border-radius:50%;background:radial-gradient(circle,rgba(249,115,22,.15),rgba(249,115,22,0) 68%);pointer-events:none}
.v996-public-menu .public-welcome p{color:#e6532f;font-size:11px}
.v996-public-menu .public-welcome h1{max-width:760px;margin:5px 0 5px;font-size:clamp(23px,4vw,32px);line-height:1.45;letter-spacing:-.35px}
.v996-public-menu .public-welcome>span{display:block;max-width:760px;color:#697386;font-size:11px;line-height:1.9}
.v996-public-menu .public-menu-toolbar{top:76px;margin:0 calc(-1 * clamp(12px,3vw,22px)) 14px;padding:10px clamp(12px,3vw,22px) 9px;background:rgba(246,247,249,.94);backdrop-filter:blur(18px);border-bottom:1px solid rgba(15,23,42,.035)}
.v996-public-menu .public-search input{height:52px;border:1px solid #e3e7ed;border-radius:17px;background:#fff;box-shadow:0 7px 22px rgba(15,23,42,.035);padding-inline:16px}
.v996-public-menu .public-categories{margin-top:9px}
.v996-public-menu .public-categories button{min-height:39px;border-color:#e2e6ec;background:#fff;box-shadow:0 3px 10px rgba(15,23,42,.025)}
.v996-public-menu .public-categories button.active{border-color:#111827;background:#111827;color:#d8cec5;box-shadow:0 7px 16px rgba(15,23,42,.13)}
.v996-public-menu .public-products{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:stretch}
.v996-public-menu .v996-product-card{display:flex;min-width:0;height:100%;flex-direction:column;overflow:hidden;border:1px solid #e7e9ed;border-radius:22px;background:#fff;color:#141821;text-align:right;box-shadow:0 9px 25px rgba(15,23,42,.055);cursor:default;transform:none;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}
.v996-public-menu .v996-product-card.in-cart{border-color:#fed7aa;box-shadow:0 11px 28px rgba(234,88,12,.09)}
.v996-public-menu .v996-product-card .public-product-image{position:relative;width:100%;height:auto;aspect-ratio:4/3;flex:0 0 auto;overflow:hidden;background:linear-gradient(145deg,#eef1f4,#e5e8ed)}
.v996-public-menu .v996-product-card .public-product-image img{width:100%;height:100%;display:block;object-fit:cover;object-position:center;transform:translateZ(0)}
.v996-public-menu .v996-product-card .public-product-image>span{display:grid;width:100%;height:100%;place-items:center;font-size:42px;color:#808897}
.v996-public-menu .v996-product-card .public-product-image i{top:9px;right:9px;background:rgba(255,255,255,.94);box-shadow:0 5px 14px rgba(15,23,42,.08)}
.v996-public-menu .v996-product-card [data-public-count]{position:absolute;left:9px;top:9px;min-width:27px;height:27px;padding:0 7px;display:grid;place-items:center;border:2px solid rgba(255,255,255,.95);border-radius:999px;background:#111827;color:#d8cec5;font-size:10px;box-shadow:0 5px 14px rgba(15,23,42,.16)}
.v996-public-menu .v996-product-card [data-public-count][hidden]{display:none}
.v996-public-menu .v996-product-card .public-product-copy{display:flex;flex:1;min-width:0;flex-direction:column;padding:12px 12px 8px}
.v996-public-menu .v996-product-card .public-product-copy>strong{font-size:13px;line-height:1.7}
.v996-public-menu .v996-product-card .public-product-copy>p{height:auto;min-height:36px;margin:4px 0;color:#768091;font-size:9px;line-height:1.9}
.v996-public-menu .v996-product-card .v99-custom-badge{margin-top:auto;margin-bottom:7px}
.v996-public-menu .v996-product-price{margin-top:auto;padding-top:6px;border-top:1px dashed #eef0f3}
.v996-public-menu .v996-product-price b{font-size:11px;color:#161b26}
.v996-product-actions{display:grid;gap:7px;padding:0 10px 10px}
.v996-product-add{width:100%;min-height:44px;border:0;border-radius:13px;background:linear-gradient(135deg,#f97316,#ea580c);color:#d8cec5;font:inherit;font-size:10px;font-weight:950;box-shadow:0 8px 17px rgba(234,88,12,.17);touch-action:manipulation}
.v996-product-add:active{transform:scale(.985)}
.v996-product-add[hidden]{display:none}
.v996-product-qty{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:7px;min-height:44px}
.v996-product-qty[hidden]{display:none}
.v996-product-qty button{width:44px;height:44px;border:1px solid #e2e6ec;border-radius:13px;background:#f8fafc;color:#111827;font:inherit;font-size:22px;font-weight:850;touch-action:manipulation}
.v996-product-qty button:first-child{border-color:#fecaca;background:#fff6f6;color:#c73737}
.v996-product-qty b{height:44px;display:grid;place-items:center;border-radius:13px;background:#fff7ed;color:#c2410c;font-size:14px}
.v996-public-menu .public-cart-dock{height:66px;border:1px solid rgba(255,255,255,.08);background:linear-gradient(145deg,#172033,#0d1421);box-shadow:0 17px 42px rgba(15,23,42,.28)}

/* Immediate undo after a mistaken remove/cancel. */
.v996-undo-toast{position:fixed;z-index:520;right:50%;bottom:calc(88px + env(safe-area-inset-bottom));transform:translate(50%,18px);width:min(420px,calc(100% - 24px));min-height:54px;padding:8px 10px 8px 13px;display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid rgba(255,255,255,.10);border-radius:17px;background:rgba(17,24,39,.96);color:#d8cec5;box-shadow:0 18px 48px rgba(15,23,42,.30);opacity:0;transition:.18s ease;pointer-events:none}
.v996-undo-toast[hidden]{display:none}.v996-undo-toast.show{opacity:1;transform:translate(50%,0);pointer-events:auto}
.v996-undo-toast span{font-size:11px;font-weight:800}.v996-undo-toast button{flex:0 0 auto;min-height:38px;padding:0 12px;border:0;border-radius:11px;background:#fff;color:#111827;font:inherit;font-size:10px;font-weight:950}

/* Checkout actions: keep delete/decrement obvious on phone. */
.v996-public-menu .v9-public-cart-item{align-items:flex-start;flex-wrap:wrap}
.v996-public-menu .v995-cart-line-actions{width:100%;justify-content:flex-end}
.v996-public-menu .v995-cart-remove{border-color:#fecaca;background:#fff7f7}

/* ---------- Recipe material picker: guaranteed visible footer + real scroll ---------- */
.v930-sheet{z-index:20050}
body.v930-sheet-open{overflow:hidden;overscroll-behavior:none}
body.v930-sheet-open .v9-bottom-nav,body.v930-sheet-open .mobile-bottom-nav,body.v930-sheet-open .v4-topbar{opacity:0;visibility:hidden;pointer-events:none;transform:translateY(110%)}
.v930-sheet.open{display:block;overflow:hidden;touch-action:pan-y}
.v930-sheet.open .v930-sheet-backdrop{z-index:0}
.v930-sheet.open .v930-sheet-card{z-index:1;overflow:hidden;display:flex;flex-direction:column}
.v930-sheet.open .v995-sheet-scroll{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain;touch-action:pan-y;scrollbar-gutter:stable}
.v930-sheet.open .v995-material-footer{position:relative;right:auto;left:auto;bottom:auto;flex:0 0 auto;z-index:100;margin:0;padding:10px 2px calc(10px + env(safe-area-inset-bottom));background:#fff;box-shadow:0 -12px 28px rgba(15,23,42,.10)}
.v930-sheet.open #v930ConfirmMaterial{position:static;bottom:auto;z-index:auto}
.v930-sheet.open.v996-amount-mode .v995-sheet-scroll{scroll-padding-bottom:18px}
.v930-sheet.open.v996-amount-mode .v995-material-footer{display:grid}

/* ---------- Inline category creation is visually part of product creation ---------- */
.v995-category-inline{padding:9px;border:1px solid #eef0f3;border-radius:15px;background:#fafbfc}
.v995-add-category{min-height:48px;border-style:dashed;box-shadow:none}
.v995-quick-category{margin-top:7px;box-shadow:0 8px 22px rgba(234,88,12,.07)}

@media(max-width:980px){
  .v996-public-menu .public-products{grid-template-columns:repeat(3,minmax(0,1fr))}
}

@media(max-width:720px){
  body.public-body{max-width:100vw;overflow-x:hidden}
  .v996-public-menu .public-store-head{min-height:70px;padding:9px 12px}
  .v996-public-menu .public-store-brand>span{width:43px;height:43px;border-radius:14px}
  .v996-public-menu .public-menu-shell{padding:12px 10px 118px}
  .v996-public-menu .public-welcome{padding:18px 15px 17px;border-radius:21px}
  .v996-public-menu .public-welcome h1{font-size:22px}
  .v996-public-menu .public-menu-toolbar{top:70px;margin:0 -10px 11px;padding:8px 10px;background:rgba(246,247,249,.96)}
  .v996-public-menu .public-search input{height:48px;border-radius:15px}
  .v996-public-menu .public-categories{margin-right:-10px;margin-left:-10px;padding-right:10px;padding-left:10px}
  .v996-public-menu .public-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .v996-public-menu .v996-product-card{border-radius:18px;box-shadow:0 7px 20px rgba(15,23,42,.05)}
  .v996-public-menu .v996-product-card .public-product-image{height:auto;aspect-ratio:1/1}
  .v996-public-menu .v996-product-card .public-product-copy{padding:9px 9px 6px}
  .v996-public-menu .v996-product-card .public-product-copy>strong{font-size:11px}
  .v996-public-menu .v996-product-card .public-product-copy>p{min-height:31px;font-size:8px;line-height:1.8;-webkit-line-clamp:2}
  .v996-public-menu .v996-product-card .v99-custom-badge{font-size:7px;padding:3px 5px}
  .v996-public-menu .v996-product-price b{font-size:9px}
  .v996-product-actions{padding:0 7px 8px;gap:6px}
  .v996-product-add{min-height:42px;border-radius:12px;font-size:9px}
  .v996-product-qty{grid-template-columns:40px minmax(0,1fr) 40px;min-height:40px;gap:5px}
  .v996-product-qty button,.v996-product-qty b{width:auto;height:40px;border-radius:11px}
  .v996-undo-toast{bottom:calc(82px + env(safe-area-inset-bottom))}

  /* The sheet uses the *visual* viewport set by recipe-v930.js, not the layout viewport. */
  .v930-sheet.open .v930-sheet-card{
    position:fixed;
    top:var(--v996-sheet-top,0px);
    right:0;left:0;bottom:auto;
    transform:none;
    width:100%;max-width:none;
    height:var(--v996-sheet-height,100dvh);
    max-height:var(--v996-sheet-height,100dvh);
    padding:8px 11px 0;
    border-radius:20px 20px 0 0;
  }
  .v930-sheet.open .v930-sheet-card>header{min-height:58px;padding:0 1px 8px}
  .v930-sheet.open .v995-sheet-scroll{padding:4px 1px 14px;scroll-padding-bottom:18px}
  .v930-sheet.open .v995-material-footer{grid-template-columns:minmax(0,1.35fr) minmax(112px,.65fr);gap:7px;padding:8px 1px calc(8px + env(safe-area-inset-bottom))}
  .v930-sheet.open .v995-confirm-material,.v930-sheet.open .v995-confirm-close{min-height:50px;padding:0 8px;font-size:10px;border-radius:13px}
  .v930-sheet.open .v995-confirm-material{order:initial}
  .v930-sheet.open .v995-confirm-close{order:initial}
  .v930-sheet.open .v930-quick-amounts{margin-bottom:8px}
}

@media(max-width:390px){
  .v996-public-menu .public-products{gap:7px}
  .v996-public-menu .v996-product-card .public-product-copy{padding:8px 8px 5px}
  .v996-product-actions{padding:0 6px 7px}
  .v930-sheet.open .v995-material-footer{grid-template-columns:minmax(0,1.2fr) minmax(102px,.8fr)}
  .v930-sheet.open .v995-confirm-material,.v930-sheet.open .v995-confirm-close{font-size:9px}
}

/* source: static/v997-mobile-horizontal-scroll.css */
/* FoodOS V9.9.7 — mobile horizontal navigation layer.
   Keep the document itself locked to the viewport (no blank-page drift),
   but make every genuinely wide data rail independently swipeable. */

@media (max-width: 980px) {
  /* Charts: real two-axis touch handling. Previous pan-y rules blocked sideways drag. */
  .v4-chart-wrap,
  .chart-wrap {
    overflow-x: auto ;
    overflow-y: hidden ;
    -webkit-overflow-scrolling: touch ;
    overscroll-behavior-x: contain ;
    touch-action: pan-x pan-y ;
    scrollbar-width: thin;
    scroll-behavior: smooth;
  }

  .v4-chart-wrap canvas,
  .chart-wrap canvas {
    max-width: none ;
    touch-action: pan-x pan-y ;
  }

  /* Give dense charts enough logical width to be useful instead of squeezing labels. */
  #weeklyPerformanceChart {
    width: 640px ;
    min-width: 640px ;
  }
  #hourlySalesChart,
  #reportHourlyChart {
    width: 920px ;
    min-width: 920px ;
  }
  #financePnlChart,
  #financeCashflowChart {
    width: 820px ;
    min-width: 820px ;
  }
  #financeMonthlyChart,
  #expenseCategoryChart,
  #weekdaySalesChart,
  #productProfitChart,
  #orderTypeChart {
    width: 700px ;
    min-width: 700px ;
  }

  /* Horizontal control rails / chips / date presets. */
  .filter-tabs,
  .preset-row,
  .category-chips,
  .v9-category-chips,
  .public-categories,
  .finance-preset-row,
  .v4-range-tabs {
    overflow-x: auto ;
    overflow-y: hidden ;
    flex-wrap: nowrap ;
    -webkit-overflow-scrolling: touch ;
    overscroll-behavior-x: contain ;
    touch-action: pan-x ;
    scrollbar-width: none;
  }
  .filter-tabs::-webkit-scrollbar,
  .preset-row::-webkit-scrollbar,
  .category-chips::-webkit-scrollbar,
  .v9-category-chips::-webkit-scrollbar,
  .public-categories::-webkit-scrollbar,
  .finance-preset-row::-webkit-scrollbar,
  .v4-range-tabs::-webkit-scrollbar { display: none; }

  /* Wide tables remain inside their cards and can be dragged sideways. */
  .table-wrap,
  .smart-table {
    max-width: 100% ;
    overflow-x: auto ;
    overflow-y: hidden ;
    -webkit-overflow-scrolling: touch ;
    overscroll-behavior-x: contain ;
    touch-action: pan-x pan-y ;
  }

  /* Never unlock the whole document: this prevents the white empty gutter bug. */
  html,
  body,
  .workspace,
  .main-content {
    max-width: 100% ;
  }
}

@media (max-width: 420px) {
  #weeklyPerformanceChart { width: 660px ; min-width: 660px ; }
  #hourlySalesChart,
  #reportHourlyChart { width: 960px ; min-width: 960px ; }
}

/* source: static/v998-mobile-public-repair.css */
/* FoodOS V9.9.8 — customer menu + material picker repair.
   1) customer document can never drift/zoom out into a blank horizontal gutter
   2) category filtering can truly hide cards even though cards use display:flex
   3) customer-facing text uses explicit dark ink on light surfaces
   4) recipe material confirmation is an unmistakable, readable button */

:root{
  --v998-ink:#172033;
  --v998-ink-soft:#475569;
  --v998-orange:#f97316;
  --v998-orange-dark:#9a3412;
  --v998-orange-soft:#fff3e8;
  --v998-orange-soft-2:#ffedd5;
}

/* ---------- Customer viewport containment ---------- */
html:has(body.public-body){
  width:100%;
  max-width:100%;
  overflow-x:clip;
  background:#f6f7f9;
}
body.public-body{
  width:100%;
  min-width:100%;
  max-width:100%;
  margin:0;
  overflow-x:clip;
  overscroll-behavior-x:none;
  color:var(--v998-ink);
}
body.public-body.public-menu-page,
body.public-body.public-menu-page>header,
body.public-body.public-menu-page>main,
.v998-public-menu .public-menu-shell,
.v998-public-menu #publicOrderForm,
.v998-public-menu .public-menu-toolbar,
.v998-public-menu .public-products{
  width:100%;
  min-width:0;
  max-width:100%;
}
.v998-public-menu .public-menu-shell{margin-inline:auto;overflow-x:clip}
.v998-public-menu #publicOrderForm{overflow:visible}
.v998-public-menu .public-products{overflow:visible}

/* The author display:flex on product cards can override native [hidden] in Chromium.
   This rule is what makes Pizza/Burger/etc actually switch content. */
.v998-public-menu .public-product[hidden],
.v998-public-menu .v996-product-card[hidden]{display:none}

/* Category rail scrolls by itself; tapping a chip remains a normal click. */
.v998-public-menu .public-categories{
  width:auto;
  max-width:calc(100vw - 0px);
  overflow-x:auto;
  overflow-y:hidden;
  flex-wrap:nowrap;
  touch-action:pan-x pan-y;
  overscroll-behavior-inline:contain;
  -webkit-overflow-scrolling:touch;
}

/* ---------- Explicit dark customer-menu typography ---------- */
.v998-public-menu .public-store-head,
.v998-public-menu .public-store-head *,
.v998-public-menu .public-welcome,
.v998-public-menu .public-welcome *,
.v998-public-menu .public-menu-toolbar,
.v998-public-menu .public-product,
.v998-public-menu .public-product *,
.v998-public-menu .public-checkout,
.v998-public-menu .public-checkout *,
.v998-public-menu .v99-customizer-card,
.v998-public-menu .v99-customizer-card *{
  color:var(--v998-ink);
}
.v998-public-menu .public-welcome h1{
  color:var(--v998-ink);
  text-shadow:none;
  opacity:1;
}
.v998-public-menu .public-welcome p{color:#c2410c}
.v998-public-menu .public-welcome>span{color:#596579}
.v998-public-menu .public-store-brand>span{
  background:var(--v998-orange-soft-2);
  color:var(--v998-orange-dark);
  border:1px solid #fdba74;
}
.v998-public-menu .public-categories button{
  color:#475569;
  background:#fff;
}
.v998-public-menu .public-categories button.active{
  color:var(--v998-orange-dark);
  background:var(--v998-orange-soft);
  border-color:#fb923c;
  box-shadow:0 6px 16px rgba(249,115,22,.10);
}
.v998-public-menu .v996-product-add,
.v998-public-menu .v99-customizer-add,
.v998-public-menu .v9-public-footer #publicNext,
.v998-public-menu .v9-public-footer .public-submit{
  background:linear-gradient(135deg,#ffedd5,#fed7aa);
  color:#7c2d12;
  border:1px solid #fb923c;
  box-shadow:0 7px 17px rgba(249,115,22,.13);
}
.v998-public-menu .v996-product-card [data-public-count]{
  background:#fff7ed;
  color:#9a3412;
  border-color:#fb923c;
}
.v998-public-menu .public-cart-dock{
  background:#fffaf5;
  color:var(--v998-ink);
  border:1px solid #fdba74;
  box-shadow:0 16px 38px rgba(15,23,42,.17);
}
.v998-public-menu .public-cart-dock *{color:var(--v998-ink)}
.v998-public-menu .v9-public-total{
  background:#fff7ed;
  border:1px solid #fed7aa;
  color:var(--v998-ink);
}
.v998-public-menu .v9-public-total span{color:#7c2d12}
.v998-public-menu .v996-undo-toast{
  background:#fffaf5;
  color:var(--v998-ink);
  border-color:#fdba74;
}
.v998-public-menu .v996-undo-toast *{color:var(--v998-ink)}

/* ---------- Material picker: the orange area is a real, readable button ---------- */
.v930-sheet.open #v930ConfirmMaterial,
#v930ConfirmMaterial.v995-confirm-material{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-height:52px;
  padding:0 12px;
  border:2px solid var(--v998-orange);
  border-radius:14px;
  background:#fff3e8;
  color:#7c2d12;
  opacity:1;
  visibility:visible;
  text-indent:0;
  font-size:11px;
  font-weight:950;
  line-height:1.4;
  white-space:normal;
  text-align:center;
  box-shadow:0 7px 18px rgba(249,115,22,.13);
}
.v930-sheet.open #v930ConfirmMaterial:active{background:#ffedd5;transform:scale(.99)}
.v930-sheet.open #v995ConfirmAndClose{
  color:#334155;
  background:#f8fafc;
}

/* No white inherited heading in the pale recipe/customer surfaces. */
.v930-sheet-card,.v930-sheet-card *{text-shadow:none}

/* Keep the management shell legible without using pure-white text on its dark rail. */
.sidebar .brand,
.sidebar .sidebar-nav a.active,
.sidebar .sidebar-nav a:hover,
.sidebar .sidebar-collapse:hover{color:#d8cfc7}
.brand-mark{color:#2b211c}
.quick-sale,.button.primary,.button.success,.button.warning{color:#2b211c}

@media(max-width:720px){
  .v998-public-menu .public-menu-shell{padding-inline:10px}
  .v998-public-menu .public-menu-toolbar{margin-inline:-10px;padding-inline:10px}
  .v998-public-menu .public-products{grid-template-columns:repeat(2,minmax(0,1fr))}
  .v998-public-menu .public-categories{margin-inline:-10px;padding-inline:10px}
  .v930-sheet.open .v995-material-footer{
    grid-template-columns:minmax(0,1.35fr) minmax(120px,.65fr);
    gap:8px;
  }
}

@media(max-width:380px){
  .v930-sheet.open .v995-material-footer{grid-template-columns:1fr}
  .v930-sheet.open #v930ConfirmMaterial,
  .v930-sheet.open #v995ConfirmAndClose{width:100%}
}

/* source: static/v10-mobile-commerce.css */
/* FoodOS V10 mobile commerce repair.
   The public menu is a 320--430px first layout; management orders and category
   controls become compact cards without turning the document into a horizontal rail. */

/* ---------- Public menu: viewport and category/product containment ---------- */
html.public-root,
html.public-root body.public-body{
  width:100%;
  min-width:0;
  max-width:100%;
  overflow-x:clip;
}
html.public-root body.public-body{position:relative}
.v998-public-menu,
.v998-public-menu .public-store-head,
.v998-public-menu .public-menu-shell,
.v998-public-menu #publicOrderForm,
.v998-public-menu .public-menu-toolbar,
.v998-public-menu .public-search,
.v998-public-menu .public-categories,
.v998-public-menu .public-products,
.v998-public-menu .public-product{
  min-width:0;
  max-width:100%;
  box-sizing:border-box;
}
.v998-public-menu .public-menu-shell,
.v998-public-menu #publicOrderForm{overflow-x:clip}
.v998-public-menu .hp{
  left:auto;
  right:0;
  width:1px;
  height:1px;
  padding:0;
  overflow:hidden;
  clip-path:inset(50%);
  white-space:nowrap;
}
.v998-public-menu .public-menu-toolbar{
  width:100%;
  margin-inline:0;
  padding-inline:0;
}
.v998-public-menu .public-categories{
  width:100%;
  margin-inline:0;
  padding:1px 1px 3px;
  scroll-padding-inline:10px;
}
.v998-public-menu .public-categories button{white-space:nowrap}
.v998-public-menu .public-products{width:100%}
.v998-public-menu .public-empty-state{
  margin:10px 0 0;
  padding:30px 18px;
  border:1px dashed #d8dee8;
  border-radius:20px;
  background:#fff;
  color:#475569;
  text-align:center;
}
.v998-public-menu .public-empty-state[hidden]{display:none}
.v998-public-menu .public-empty-state span{
  display:grid;
  place-items:center;
  width:48px;
  height:48px;
  margin:0 auto 9px;
  border-radius:16px;
  background:#fff7ed;
  color:#c2410c;
  font-size:23px;
  font-weight:950;
}
.v998-public-menu .public-empty-state strong,
.v998-public-menu .public-empty-state small{display:block}
.v998-public-menu .public-empty-state small{margin-top:4px;font-size:10px;line-height:1.8}

/* The fixed cart control must stay inside both the layout and safe viewport. */
.v998-public-menu .public-cart-dock{
  right:max(10px,env(safe-area-inset-right));
  left:max(10px,env(safe-area-inset-left));
  width:auto;
  min-width:0;
  max-width:none;
  grid-template-columns:auto minmax(0,1fr) auto;
  overflow:hidden;
}
.v998-public-menu .public-cart-dock>span,
.v998-public-menu .public-cart-dock>strong,
.v998-public-menu .public-cart-dock>em{min-width:0}
.v998-public-menu .public-cart-dock>strong{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.v998-public-menu .public-cart-dock>em{white-space:nowrap}

/* ---------- Public checkout: one scroll region, stable header/footer ---------- */
.v998-public-menu .v9-public-checkout{box-sizing:border-box}
.v998-public-menu .v9-public-checkout-head>div{min-width:0}
.v998-public-menu .v9-public-checkout-head strong{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.v998-public-menu .v9-public-stepper button{
  min-width:0;
  padding-inline:8px;
  white-space:nowrap;
}
.v998-public-menu .v9-public-cart-item{
  width:100%;
  min-width:0;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:9px;
  overflow:hidden;
}
.v998-public-menu .v99-cart-item-main{
  min-width:0;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  align-items:center;
  gap:8px;
}
.v998-public-menu .v99-cart-item-main>span{
  width:42px;
  height:42px;
  flex:none;
}
.v998-public-menu .v99-cart-item-main>p{min-width:0}
.v998-public-menu .v99-cart-item-main>p>strong{
  display:-webkit-box;
  overflow:hidden;
  white-space:normal;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}
.v998-public-menu .v99-cart-item-main>p>small{overflow-wrap:anywhere}
.v998-public-menu .v99-cart-qty{
  flex:0 0 auto;
  display:grid;
  grid-template-columns:38px minmax(18px,auto) 38px;
  align-items:center;
  gap:5px;
}
.v998-public-menu .v99-cart-qty button{
  width:38px;
  height:38px;
  padding:0;
}
.v998-public-menu .v99-cart-qty b{text-align:center}
.v998-public-menu .v995-cart-line-actions{
  grid-column:1/-1;
  width:100%;
  min-width:0;
  display:flex;
  justify-content:flex-end;
  gap:7px;
}
.v998-public-menu .v995-cart-line-actions button{
  width:auto;
  max-width:100%;
  height:auto;
  min-height:38px;
  padding:7px 11px;
  line-height:1.5;
  white-space:normal;
}
.v998-public-menu .v995-cart-remove{margin-inline-start:auto}
.v998-public-menu .v9-cart-empty{
  min-height:150px;
  display:grid;
  place-content:center;
  padding:18px;
  border:1px dashed #dbe1e9;
  border-radius:18px;
  background:#f8fafc;
  text-align:center;
}
.v998-public-menu .v9-cart-empty strong,
.v998-public-menu .v9-cart-empty p{margin:0}
.v998-public-menu .v9-cart-empty p{margin-top:4px;color:#64748b;font-size:10px}

/* ---------- Admin: current-order cards and explicit category actions ---------- */
.v10-order-scope{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  margin-bottom:10px;
  padding:6px;
  border:1px solid var(--line,#e5e7eb);
  border-radius:16px;
  background:var(--panel,#fff);
}
.v10-order-scope a{
  min-width:0;
  min-height:46px;
  padding:7px 10px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  border-radius:12px;
  color:var(--muted,#64748b);
  text-align:center;
  text-decoration:none;
  font-size:11px;
  font-weight:900;
}
.v10-order-scope a.active{background:var(--text,#111827);color:#fff}
.v10-order-scope b{
  min-width:23px;
  height:23px;
  padding-inline:5px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:rgba(148,163,184,.16);
  font-size:9px;
}
.v10-order-scope a.active b{background:rgba(255,255,255,.16)}
.v10-current-note{
  margin:0 0 10px;
  padding:10px 12px;
  border:1px solid rgba(16,185,129,.16);
  border-radius:14px;
  background:rgba(16,185,129,.06);
  color:var(--text,#111827);
  font-size:10px;
  line-height:1.8;
}
.v10-orders-page .panel-head p{margin-top:3px}
.v10-order-action{font-weight:900}
.v10-category-form-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.v10-category-new{
  min-height:42px;
  padding-inline:12px;
  border:1px solid var(--line,#e5e7eb);
  border-radius:12px;
  background:transparent;
  color:inherit;
  font:inherit;
  font-size:10px;
  font-weight:900;
}
.v10-category-copy{min-width:0;display:flex;flex-direction:column;align-items:flex-start}
.v10-category-edit-label{margin-inline-start:auto;color:var(--primary,#4f46e5);font-size:10px;font-weight:900}
.v9-switch-row>input[type="checkbox"]{
  right:0;
  left:auto;
  width:1px;
  min-width:0;
  height:1px;
  min-height:0;
  margin:0;
  padding:0;
  overflow:hidden;
  clip-path:inset(50%);
}
.v922-categories-box .v97-category-row>.edit-category{
  min-width:0;
  min-height:50px;
  padding:8px 11px;
  display:flex;
  align-items:center;
  gap:8px;
  border:1px solid var(--line,rgba(148,163,184,.14));
  border-radius:13px;
  background:var(--panel-2,rgba(148,163,184,.05));
  color:inherit;
  text-align:right;
}

@media(max-width:720px){
  .v998-public-menu .public-menu-shell{padding-inline:10px}
  .v998-public-menu .public-products{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:9px;
  }
  .v998-public-menu .public-product{width:100%}
  .v998-public-menu .v996-product-card .public-product-image{aspect-ratio:4/3}
  .v998-public-menu .v996-product-card .public-product-copy>strong,
  .v998-public-menu .v996-product-card .public-product-copy>p,
  .v998-public-menu .v996-product-price b{overflow-wrap:anywhere}

  .v998-public-menu .v9-public-checkout{
    inset:0;
    width:100%;
    height:100dvh;
    min-height:100dvh;
    max-height:100dvh;
    padding:0;
    border-radius:0;
  }
  .v998-public-menu .v9-public-checkout-head{
    flex:0 0 auto;
    min-height:0;
    padding:calc(8px + env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) 8px max(10px,env(safe-area-inset-left));
    display:grid;
    grid-template-columns:44px minmax(0,1fr);
    gap:7px 9px;
  }
  .v998-public-menu .v9-public-checkout-head>button{
    grid-column:1;
    grid-row:1;
    width:42px;
    height:42px;
  }
  .v998-public-menu .v9-public-checkout-head>div:not(.v995-cart-head-actions){grid-column:2;grid-row:1}
  .v998-public-menu .v995-cart-head-actions{
    grid-column:1/-1;
    grid-row:2;
    width:100%;
    padding-top:7px;
    display:flex;
    flex-direction:row;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    border-top:1px solid #eef1f5;
  }
  .v998-public-menu .v995-cart-head-actions>button{
    width:auto;
    max-width:70%;
    min-height:36px;
    padding:0 10px;
    white-space:nowrap;
  }
  .v998-public-menu .v9-public-stepper{
    flex:0 0 auto;
    padding:7px 10px;
  }
  .v998-public-menu .v9-public-stepper button{min-height:40px}
  .v998-public-menu .v9-public-checkout-body{
    flex:1 1 auto;
    min-height:0;
    padding:10px;
    overflow-y:auto;
    overflow-x:hidden;
    overscroll-behavior-y:contain;
    -webkit-overflow-scrolling:touch;
  }
  .v998-public-menu .v9-public-cart-items{
    max-height:none;
    margin:0;
    overflow:visible;
  }
  .v998-public-menu .v9-public-footer{
    position:static;
    right:auto;
    left:auto;
    bottom:auto;
    flex:0 0 auto;
    min-height:0;
    padding:8px max(10px,env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));
    grid-template-columns:auto minmax(0,1fr) auto;
    gap:7px;
  }
  .v998-public-menu .v9-public-footer>button{
    min-width:72px;
    min-height:48px;
    padding-inline:10px;
    white-space:nowrap;
  }
  .v998-public-menu .v9-public-footer>div{min-width:0}
  .v998-public-menu .v9-public-footer>div strong{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  .v998-public-menu .v9-public-footer strong b{font-size:13px}
  .v998-public-menu .v9-public-fields{gap:7px;overflow:visible}
  .v998-public-menu .public-two{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px;
  }
  .v998-public-menu .v9-public-fields input,
  .v998-public-menu .v9-public-fields select,
  .v998-public-menu .v9-public-fields textarea{
    min-width:0;
    min-height:46px;
    padding:8px 10px;
    border-radius:13px;
    font-size:14px;
  }
  .v998-public-menu .v9-public-fields textarea{
    height:68px;
    resize:vertical;
  }
  .v998-public-menu .v9-public-total{
    margin-top:8px;
    padding:10px 11px;
    border-radius:14px;
  }

  .v10-orders-page .orders-panel{padding:0;border:0;background:transparent;box-shadow:none}
  .v10-orders-page .mobile-card-table{width:100%;max-width:100%;overflow:visible}
  .v10-orders-page .mobile-card-table table{
    width:100%;
    min-width:0;
    max-width:100%;
    display:block;
  }
  .v10-orders-page .mobile-card-table thead{display:none}
  .v10-orders-page .mobile-card-table tbody{width:100%;display:grid;gap:9px}
  .v10-orders-page .mobile-card-table tr.v10-order-row{
    width:100%;
    min-width:0;
    padding:12px;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:9px 12px;
    border:1px solid var(--line,#e5e7eb);
    border-radius:18px;
    background:var(--panel,#fff);
  }
  .v10-orders-page .mobile-card-table td{
    min-width:0;
    max-width:100%;
    padding:0;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    border:0;
    white-space:normal;
    overflow-wrap:anywhere;
  }
  .v10-orders-page .mobile-card-table td:before{
    content:attr(data-label);
    margin-bottom:2px;
    color:var(--muted,#64748b);
    font-size:8px;
    font-weight:800;
  }
  .v10-orders-page .v10-order-id{grid-column:1;grid-row:1}
  .v10-orders-page .v10-order-status{grid-column:2;grid-row:1;align-items:flex-end}
  .v10-orders-page .v10-order-status:before{align-self:flex-end}
  .v10-orders-page .v10-order-customer{grid-column:1/-1;grid-row:2}
  .v10-orders-page .v10-order-amount{grid-column:1;grid-row:3}
  .v10-orders-page .v10-order-payment{grid-column:2;grid-row:3;align-items:flex-end;text-align:left}
  .v10-orders-page .v10-order-payment:before{align-self:flex-end}
  .v10-orders-page .v10-order-source{grid-column:1;grid-row:4}
  .v10-orders-page .v10-order-time{grid-column:2;grid-row:4;align-items:flex-end;text-align:left}
  .v10-orders-page .v10-order-time:before{align-self:flex-end}
  .v10-orders-page .v97-row-actions{
    grid-column:1/-1;
    grid-row:5;
    width:100%;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:7px;
    padding-top:9px;
    border-top:1px solid var(--line,#e5e7eb);
  }
  .v10-orders-page .v97-row-actions:before{display:none}
  .v10-orders-page .v97-row-actions>*{width:auto;min-width:0}
  .v10-orders-page .v97-row-actions>a{
    width:100%;
    min-height:44px;
    display:grid;
    place-items:center;
    border-radius:12px;
    background:var(--text,#111827);
    color:#fff;
  }
  .v10-orders-page .v97-row-actions form button{min-height:44px}
  .v10-orders-page .mobile-card-table tr>.empty{grid-column:1/-1;min-height:130px;justify-content:center;align-items:center;text-align:center}

  .v922-categories-box{overflow:visible}
  .v922-categories-box>summary{align-items:flex-start}
  .v922-category-body{padding-inline:10px}
  .v922-category-form{grid-template-columns:minmax(0,1fr) 86px}
  .v922-category-form .v9-switch-row{grid-column:1}
  .v922-category-form .v10-category-form-actions{grid-column:1/-1}
  .v922-category-form .v10-category-form-actions .button{flex:1}
  .v922-categories-box .v97-category-row{
    width:100%;
    min-width:0;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:7px;
  }
  .v922-categories-box .v97-category-row form{margin:0}
  .v922-categories-box .v97-category-row .v97-delete-button{min-height:50px}
}

@media(max-width:430px){
  .v998-public-menu .public-store-head{padding-inline:10px}
  .v998-public-menu .public-store-brand{min-width:0}
  .v998-public-menu .public-store-brand>span{width:40px;height:40px;flex:0 0 auto}
  .v998-public-menu .public-store-brand>div{min-width:0}
  .v998-public-menu .public-store-brand strong{
    display:block;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  .v998-public-menu .public-welcome{padding:16px 14px}
  .v998-public-menu .public-welcome h1{font-size:20px;line-height:1.55}
  .v998-public-menu .public-categories button{min-height:38px;padding-inline:13px}
  .v998-public-menu .v996-product-card .public-product-copy{padding:9px 9px 6px}
  .v998-public-menu .v996-product-actions{padding:0 8px 8px}
  .v998-public-menu .v996-product-add{min-height:42px}
  .v998-public-menu .public-cart-dock{height:62px;padding-inline:11px;gap:7px}
  .v998-public-menu .public-cart-dock>strong{font-size:12px}
  .v998-public-menu .public-cart-dock>em{font-size:9px}
}

@media(max-width:350px){
  .v998-public-menu .public-products{gap:7px}
  .v998-public-menu .v996-product-card .public-product-copy{padding:8px 7px 5px}
  .v998-public-menu .v996-product-actions{padding:0 6px 7px}
  .v998-public-menu .v996-product-qty{grid-template-columns:38px minmax(0,1fr) 38px;gap:4px}
  .v998-public-menu .v996-product-qty button,
  .v998-public-menu .v996-product-qty b{height:38px}
  .v998-public-menu .v99-public-cart-item{grid-template-columns:1fr}
  .v998-public-menu .v99-cart-qty{grid-column:1;justify-self:end}
  .v998-public-menu .v995-cart-line-actions{grid-column:1}
  .v998-public-menu .public-customer-fields{grid-template-columns:1fr}
  .v998-public-menu .v9-public-footer>button{min-width:64px;padding-inline:8px;font-size:8px}
  .v998-public-menu .v9-public-footer strong b{font-size:11px}
  .v10-order-scope a{font-size:10px}
  .v922-category-form{grid-template-columns:1fr}
  .v922-category-form>*{grid-column:1}
  .v922-category-form .v10-category-form-actions{display:grid;grid-template-columns:1fr}
}

@supports not (overflow:clip){
  html.public-root,
  html.public-root body.public-body,
  .v998-public-menu .public-menu-shell,
  .v998-public-menu #publicOrderForm{overflow-x:hidden}
}

/* Current orders: one visible action per stage, queue ETA, and touch-safe cards. */
.v10-workflow-guide{
  display:grid;grid-template-columns:1fr auto 1fr auto 1fr;align-items:center;gap:10px;
  margin:12px 0 16px;padding:12px;border:1px solid var(--line);border-radius:18px;
  background:var(--panel)
}
.v10-live-status{width:max-content;max-width:100%;display:flex;align-items:center;gap:7px;margin:8px 0;color:var(--muted);font-size:10px}.v10-live-status>span{width:8px;height:8px;border-radius:50%;background:var(--green);box-shadow:0 0 0 4px var(--green-soft)}.v10-live-status.has-update{color:var(--green)}
.v10-workflow-guide>div{display:flex;align-items:center;gap:9px;min-width:0}
.v10-workflow-guide>div>span{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;border-radius:11px;background:var(--primary-soft);color:var(--primary);font-weight:900}
.v10-workflow-guide p{display:grid;gap:1px;margin:0;min-width:0}.v10-workflow-guide b{font-size:12px}.v10-workflow-guide small{color:var(--muted);font-size:10px}.v10-workflow-guide>i{color:var(--muted);font-style:normal}
.v10-order-time{gap:5px}.v10-order-time>span{display:block}.v10-eta-chip,.v10-no-sms{display:block;width:max-content;max-width:100%;padding:4px 8px;border-radius:999px;background:var(--blue-soft);color:var(--blue);font-size:10px;font-weight:800}
.v10-no-sms{background:var(--yellow-soft);color:var(--yellow)}
.v10-primary-action{margin:0}.v10-primary-action button{min-height:42px;padding:8px 13px;border:0;border-radius:11px;background:var(--navy);color:#fff;font:inherit;font-size:11px;font-weight:900;white-space:nowrap}
.v10-primary-action.is-ready button{background:var(--green)}.v10-primary-action.is-delivered button{background:var(--blue)}
.v10-order-details{min-height:42px;padding:8px 11px;display:inline-grid;place-items:center;border:1px solid var(--line);border-radius:11px;background:var(--panel);color:var(--text-2);font-size:10px;font-weight:800}

@media(max-width:760px){
  .v10-workflow-guide{grid-template-columns:1fr;gap:7px}.v10-workflow-guide>i{display:none}.v10-workflow-guide>div{padding:3px}
  .v10-orders-page .v97-row-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
  .v10-orders-page .v97-row-actions:before{display:none}
  .v10-orders-page .v10-primary-action{width:100%}.v10-orders-page .v10-primary-action button{width:100%;min-height:48px;font-size:12px}
  .v10-orders-page .v10-order-details{min-height:48px}
  .v10-orders-page .v10-order-time{align-items:flex-start;text-align:right}
  .v10-orders-page .v10-order-time:before{align-self:flex-start}
}

/* source: static/v11-engagement-public.css */
/* FoodOS V11 public table and tic-tac-toe experience. */
.v11-table-badge{display:flex;align-items:center;gap:8px;border:1px solid #a7f3d0;background:#ecfdf5;color:#065f46;border-radius:14px;padding:10px 12px;margin:12px 0;font-size:13px}
.v11-table-badge:before{content:"⌖";font-size:19px}
.v11-game-promo{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0;border:1px solid #fed7aa;background:linear-gradient(135deg,#fff7ed,#fff);border-radius:18px;padding:14px;min-width:0;color:#172033}
.v11-game-promo>div{min-width:0}
.v11-game-promo strong{display:block;color:#9a3412}
.v11-game-promo span{display:block;color:#7c2d12;font-size:12px;margin-top:3px}
.v11-game-promo button{min-height:44px;border:0;border-radius:12px;background:#ea580c;color:#20100a;padding:10px 14px;font:inherit;font-weight:900;white-space:nowrap}
.v11-game-modal[hidden]{display:none}
.v11-game-modal{position:fixed;inset:0;z-index:1100;display:grid;place-items:center;padding:16px}
.v11-game-backdrop{position:absolute;inset:0;border:0;background:rgba(15,23,42,.66)}
.v11-game-dialog{position:relative;width:min(100%,440px);max-height:min(92dvh,720px);overflow:auto;overscroll-behavior:contain;border-radius:24px;background:#fff;color:#172033;box-shadow:0 24px 80px rgba(15,23,42,.35);padding:18px}
.v11-game-dialog>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.v11-game-dialog>header h2{margin:2px 0 4px;font-size:21px}
.v11-game-dialog>header p{margin:0;color:#64748b;font-size:12px}
.v11-game-close{width:44px;height:44px;border:0;border-radius:13px;background:#f1f5f9;color:#172033;font-size:24px}
.v11-game-setup{display:grid;gap:10px;margin-top:14px}
.v11-game-setup label{display:grid;gap:6px;font-size:13px;font-weight:700}
.v11-game-setup input,.v11-game-setup select{width:100%;min-width:0;min-height:46px;border:1px solid #cbd5e1;border-radius:13px;padding:12px;font:inherit;background:#fff;color:#172033}
.v11-reward-copy{border-radius:13px;background:#fff7ed;color:#9a3412;padding:10px;font-size:12px;line-height:1.8}
.v11-game-start{min-height:46px;border:0;border-radius:13px;background:#ea580c;color:#20100a;padding:12px;font:inherit;font-weight:900}
.v11-game-status{min-height:44px;display:grid;place-items:center;text-align:center;margin:13px 0 9px;border-radius:13px;background:#f8fafc;color:#475569;padding:8px;font-size:13px}
.v11-game-status.is-win{background:#dcfce7;color:#166534}
.v11-game-status.is-error{background:#fee2e2;color:#991b1b}
.v11-game-board{direction:ltr;width:min(100%,330px);aspect-ratio:1;margin:auto;display:grid;grid-template-columns:repeat(3,1fr);gap:7px}
.v11-game-cell{display:grid;place-items:center;min-width:0;min-height:0;border:2px solid #e2e8f0;border-radius:16px;background:#fff;color:#ea580c;font:900 clamp(32px,13vw,58px)/1 system-ui;touch-action:manipulation}
.v11-game-cell.is-ai{color:#334155}
.v11-game-cell:disabled:not(.is-empty){opacity:1}
.v11-game-cell:focus-visible{outline:3px solid #fb923c;outline-offset:2px}
.v11-game-note{display:block;text-align:center;color:#64748b;font-size:11px;margin-top:10px;line-height:1.8}
.v11-reward-applied{margin-top:10px;border-radius:13px;padding:11px;background:#dcfce7;color:#166534;font-size:12px;font-weight:700}

@media(max-width:430px){
  .v11-game-promo{align-items:flex-start}
  .v11-game-promo button{padding:9px 11px}
  .v11-game-dialog{padding:14px;border-radius:20px}
  .v11-game-modal{padding:8px;padding-bottom:max(8px,env(safe-area-inset-bottom))}
}

/* Cascade replay for declarations promoted from legacy priority rules. */
@media(max-width:980px){
.v4-sidebar,.v4-sidebar.open{
  z-index:120;
  filter:none;
  opacity:1;
}
.sidebar-scrim{
  z-index:110;
}
.mobile-bottom-nav{
  z-index:100;
}
body.menu-open .v4-sidebar{
  pointer-events:auto;
}
}
.hp{
  position:absolute;
  left:-9999px;
}
.v4-chart-wrap canvas,.v4-donut canvas{
  width:100%;
  height:100%;
}
@media(max-width:980px){
.v4-sidebar,.v4-sidebar.open{
  z-index:80;
  filter:none;
  opacity:1;
}
.sidebar-scrim{
  z-index:65;
}
.mobile-bottom-nav{
  z-index:70;
}
body.menu-open .v4-sidebar{
  pointer-events:auto;
}
}
.v81-credit-enable{
  padding:8px 10px;
  display:flex;
  flex-direction:row;
  gap:10px;
}
@media(max-width:980px){
.v81-pos-page .v4-cart-panel{
  top:0;
  right:0;
  left:0;
  bottom:0;
  width:100%;
  height:100dvh;
  max-height:none;
  padding:0;
  border:0;
  border-radius:0;
  display:flex;
  overflow:hidden;
}
.v81-checkout-head{
  padding:calc(8px + env(safe-area-inset-top)) 14px 9px;
}
.v81-checkout-scroll{
  overflow-y:auto;
}
.v81-pos-page .v4-cart-items{
  max-height:none;
  min-height:0;
  overflow:visible;
}
.v81-field-card label,.v81-credit-panel label,.v81-adjustment-card label{
  font-size:11px;
}
.v81-field-card input,.v81-field-card select,.v81-field-card textarea,.v81-credit-panel input,.v81-credit-panel select,.v81-adjustment-card input{
  min-height:52px;
  border-radius:15px;
  background:var(--panel-2);
  font-size:16px;
}
.v81-field-card textarea{
  min-height:92px;
}
.v81-name-phone,.v81-credit-panel .two-col{
  grid-template-columns:1fr;
}
.v81-adjustment-card .two-col{
  grid-template-columns:1fr 1fr;
}
.v81-checkout-footer [hidden]{
  display:none;
}
}
@media(max-width:390px){
.v81-adjustment-card .two-col{
  grid-template-columns:1fr;
}
}
.v9-lock-scroll,html.v9-lock-scroll body{
  overflow:hidden;
}
.hidden{
  display:none;
}
.v9-mobile-back.hidden{
  display:none;
}
input,select,textarea{
  font-size:16px;
}
.v9-search-box input{
  border:0;
  background:transparent;
  box-shadow:none;
  outline:0;
}
.v9-switch-row{
  padding:9px;
  display:grid;
}
.v9-adjustments input{
  min-height:46px;
  background:var(--panel);
}
.table-action{
  border-radius:11px;
}
.status{
  border-radius:999px;
}
.v8-admin-product{
  border-radius:20px;
}
.v8-admin-product-image{
  border-radius:16px;
}
.v8-upload-box{
  border-radius:18px;
}
.v8-copy-row input{
  font-size:12px;
}
.v8-share-actions a,.v8-share-actions button{
  border-radius:12px;
}
.v8-balance-hero{
  border-radius:24px;
}
.v4-ticket{
  box-shadow:0 7px 22px rgba(15,23,42,.05);
}
.v4-ticket-action{
  border-radius:14px;
}
.public-product{
  border:1px solid #e7eaf0;
  box-shadow:0 5px 18px rgba(15,23,42,.045);
}
.public-cart-dock{
  border-radius:20px;
  background:#111827;
  box-shadow:0 18px 40px rgba(15,23,42,.27);
}
@media(min-width:981px){
.v9-checkout-step{
  display:block;
}
.v9-footer-back,.v9-footer-next{
  display:none;
}
}
@media(max-width:980px){
.v9-bottom-nav{
  right:8px;
  left:8px;
  bottom:calc(7px + env(safe-area-inset-bottom));
  height:66px;
  padding:5px;
  border:1px solid rgba(15,23,42,.08);
  border-radius:22px;
  background:color-mix(in srgb,var(--panel) 95%,transparent);
  backdrop-filter:blur(20px);
  box-shadow:0 16px 45px rgba(15,23,42,.18);
}
.v9-bottom-nav>a,.v9-bottom-nav>button{
  border-radius:16px;
  font-size:8px;
}
.v9-bottom-nav .active{
  background:var(--v9-accent-soft);
  color:var(--v9-accent);
}
.v9-bottom-nav .sale-tab{
  background:transparent;
}
.v9-bottom-nav .sale-tab-icon{
  width:48px;
  height:48px;
  margin-top:-23px;
  border:4px solid var(--panel);
  border-radius:17px;
  background:linear-gradient(145deg,var(--v9-accent-2),var(--v9-accent));
  box-shadow:0 12px 24px rgba(244,81,53,.3);
}
.v4-sidebar{
  z-index:150;
}
.sidebar-scrim{
  z-index:140;
}
.mobile-card-table tr{
  border-radius:19px;
  box-shadow:0 5px 18px rgba(15,23,42,.04);
}
.mobile-card-table .mobile-card-action a{
  border-radius:13px;
  background:var(--v9-ink);
  color:#d8cec5;
}
.v8-admin-product{
  padding:9px;
}
.v8-share-box{
  padding:14px;
}
.v8-copy-row{
  grid-template-columns:1fr;
}
.v8-copy-row input{
  min-height:48px;
}
.public-checkout{
  position:fixed;
  z-index:210;
  inset:0;
  max-height:none;
  padding:calc(10px + env(safe-area-inset-top)) 12px calc(12px + env(safe-area-inset-bottom));
  border-radius:0;
  transform:translateY(102%);
}
.public-cart-open .public-checkout{
  transform:none;
}
.public-fields{
  max-height:none;
}
.public-cart-items{
  max-height:32dvh;
}
.public-submit{
  min-height:58px;
}
.public-cart-dock{
  bottom:calc(12px + env(safe-area-inset-bottom));
}
}
.v9-public-product{
  border-radius:20px;
}
.v9-public-product.in-cart{
  border-color:var(--v9-accent);
}
.v9-public-dock{
  grid-template-columns:auto 1fr auto;
}
@media(max-width:980px){
.v9-public-fields input,.v9-public-fields select,.v9-public-fields textarea{
  min-height:52px;
  border-radius:15px;
}
}
.v9-switch-row{
  grid-template-columns:43px minmax(0,1fr);
}
.v9-category-form .v9-switch-row{
  min-height:48px;
}
.v9-image-upload{
  display:grid;
}
@media (max-width:980px){
.sidebar-scrim{
  z-index:10000;
  background:rgba(6,10,18,.62);
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
  -webkit-filter:none;
  filter:none;
}
.v4-sidebar,
  .v4-sidebar.open{
  z-index:10020;
  opacity:1;
  visibility:visible;
  -webkit-filter:none;
  filter:none;
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
  isolation:isolate;
  background:linear-gradient(180deg,#101a2b 0%,#0b1321 100%);
}
.v4-sidebar *{
  -webkit-filter:none;
  filter:none;
}
body.menu-open .v4-sidebar{
  opacity:1;
  pointer-events:auto;
}
.v9-bottom-nav,.mobile-bottom-nav{
  z-index:9990;
}
}
.v92-level{
  display:inline-flex;
  font-weight:900;
}
.v92-wallet-chip{
  background:#ecfdf5;
  color:#047857;
  border-color:#bbf7d0;
}
.v9-customer-summary .loyalty{
  background:#fff7ed;
  color:#c2670c;
}
.v921-material-link{
  display:inline-flex;
  gap:5px;
  padding:7px 10px;
  border-radius:10px;
  background:rgba(99,102,241,.14);
  border:1px solid rgba(129,140,248,.22);
  font-weight:800;
  text-decoration:none;
}
.v921-material-link:hover{
  background:rgba(99,102,241,.22);
}
.v921-input-unit input{
  border:0;
  box-shadow:none;
  background:transparent;
  padding:10px 11px;
  font-size:16px;
}
@media(max-width:520px){
.v921-input-unit input{
  font-size:18px;
}
}
.v922-search-box input{
  border:0;
  background:transparent;
  box-shadow:none;
  padding:12px 2px;
}
.v922-big-amount input{
  border:0;
  background:transparent;
  box-shadow:none;
  padding:14px;
  font-size:26px;
}
.v922-primary-field input,.v922-primary-field select{
  font-size:16px;
}
.v922-money-input input{
  border:0;
  background:transparent;
  box-shadow:none;
}
.v930-cost-main{
  border-color:rgba(99,102,241,.32);
  background:linear-gradient(145deg,rgba(99,102,241,.14),rgba(99,102,241,.04));
}
.v930-price-input input,.v930-extra-input input,.v930-suffix-input input{
  border:0;
  background:transparent;
  box-shadow:none;
}
.v930-price-input input{
  font-size:24px;
  padding:13px 14px;
}
.v930-extra-input input{
  font-size:18px;
  padding:11px 12px;
}
.v930-sheet-backdrop{
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
}
.v930-search-box input{
  border:0;
  background:transparent;
  box-shadow:none;
  padding:12px 0;
  color:#0f172a;
}
.v930-amount-question input{
  border:0;
  background:#fff;
  color:#0f172a;
  box-shadow:none;
  padding:13px;
  font-size:26px;
}
.v930-suffix-input input{
  padding:11px;
  font-size:16px;
}
.v930-inline-cost-edit .v930-suffix-input input{
  padding:8px;
  font-size:12px;
}
.v930-stock-card{
  grid-template-columns:minmax(0,1fr);
}
.v930-stock-name{
  grid-column:auto;
}
.v930-stock-number.price{
  text-align:inherit;
}
.v931-edit-backdrop{
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
}
.v931-edit-field>div input{
  border:0;
  box-shadow:none;
  background:#fff;
  color:#0f172a;
  padding:12px;
  font-size:18px;
}
.v931-edit-field>input{
  padding:12px;
  border-radius:14px;
  background:#fff;
  color:#0f172a;
}
.v931-product-costs b{
  display:inline;
  color:var(--v9-ink);
  font-size:9px;
}
body.v931-edit-open{
  overflow:hidden;
}
.soft-metric{
  font-size:8px;
  opacity:1;
}
.finance-summary-notes{
  display:grid;
  grid-template-columns:1fr;
}
.finance-summary-notes>div{
  padding-block:8px;
}
.v4-kds-live.offline span{
  background:#ef4444;
  box-shadow:none;
}
.v95-suffix input{
  border:0;
  border-radius:0;
}
.v95-modal[hidden]{
  display:none;
}
.v99-custom-badge{
  display:inline-flex;
  margin-top:5px;
  font-size:9px;
  font-weight:900;
  opacity:1;
}
.v99-public-cart-item{
  grid-template-columns:minmax(0,1fr) auto;
}
.v99-cart-custom-summary{
  display:block;
  margin:3px 0;
  color:#6366f1;
  opacity:1;
  line-height:1.55;
}
.v99-cart-qty button{
  width:35px;
  height:35px;
}
@media (max-width:760px){
.v9-modal{
  padding:8px max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));
  align-items:flex-end;
}
.v9-modal-card{
  width:100%;
  max-height:calc(100vh - 16px);
  max-height:calc(100dvh - 16px);
  display:flex;
  flex-direction:column;
  overflow:hidden;
}
.v9-modal-card>form,.v9-modal-form{
  flex:1 1 auto;
  min-height:0;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior-y:contain;
  scroll-padding-bottom:84px;
}
.v9-modal-card>form>footer,.v9-modal-form>footer{
  position:sticky;
  bottom:0;
  z-index:30;
  margin-bottom:0;
  padding-bottom:calc(10px + env(safe-area-inset-bottom));
  background:var(--panel);
}
.v931-edit-card,.v922-sheet-card,.v930-sheet-card{
  max-height:calc(100vh - 8px);
  max-height:calc(100dvh - 8px);
  overflow:hidden;
  display:flex;
  flex-direction:column;
}
.v931-edit-card form,.v922-sheet-card form,.v930-sheet-card form{
  min-height:0;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior-y:contain;
  scroll-padding-bottom:84px;
}
.v931-edit-card footer,.v922-product-form footer{
  position:sticky;
  bottom:0;
  z-index:30;
  background:var(--panel);
  padding-bottom:calc(10px + env(safe-area-inset-bottom));
}
.v930-material-form .button.wide,.v930-material-form>button.wide{
  min-height:48px;
  width:100%;
}
input,select,textarea{
  font-size:16px;
}
.v99-customizer-card{
  max-height:calc(100vh - 4px);
  max-height:calc(100dvh - 4px);
}
.v99-customizer-body{
  overscroll-behavior-y:contain;
}
.v99-customizer-card>footer{
  position:sticky;
  bottom:0;
  z-index:20;
  padding-bottom:calc(10px + env(safe-area-inset-bottom));
}
}
@media (max-width:380px){
.v9-modal-card>form>footer,.v9-modal-form>footer,.v931-edit-card footer,.v99-customizer-card>footer{
  grid-template-columns:1fr;
}
}
.v994-customized-item{
  border:2px solid #f59e0b;
  background:linear-gradient(135deg,#fff7ed,#fffbeb);
  border-radius:16px;
  padding:14px;
  margin:8px 0;
}
@media print{
.v994-invoice-custom{
  border:2px solid #000;
  background:#fff;
}
.v994-invoice-custom>b,.v994-invoice-custom span{
  color:#000;
  font-weight:900;
}
}
.v994-stock-profit b{
  color:#047857;
}
.v994-customer-rule-changed{
  border:2px solid rgba(245,158,11,.65);
  background:linear-gradient(135deg,#fff7ed,#fffbeb);
}
.v99-cart-custom-summary{
  display:block;
  margin-top:5px;
  padding:7px 9px;
  border-radius:9px;
  background:#fff7ed;
  border:1px solid #fed7aa;
  color:#9a3412;
  font-weight:900;
  line-height:1.8;
}
.v995-customizer-footer{
  display:grid;
  grid-template-columns:auto auto minmax(150px,1fr);
  gap:8px;
  align-items:center;
}
.v995-cart-head-actions{
  display:flex;
  flex-direction:row;
}
.v930-sheet.open{
  touch-action:pan-y;
}
.v930-sheet-card{
  overflow:hidden;
  display:flex;
  flex-direction:column;
  padding-bottom:0;
  max-height:min(90dvh,760px);
}
.v930-sheet-card>header{
  margin-bottom:0;
}
.v995-sheet-scroll{
  overflow-y:auto;
  overflow-x:hidden;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior-y:contain;
  touch-action:pan-y;
}
.v995-sheet-scroll .v930-material-list,.v995-sheet-scroll .v930-material-option{
  touch-action:pan-y;
}
.v995-material-footer[hidden]{
  display:none;
}
#v930ConfirmMaterial{
  position:static;
  bottom:auto;
  padding-bottom:0;
}
.v995-quick-category[hidden]{
  display:none;
}
.v995-quick-category input{
  border:1px solid #fdba74;
  border-radius:11px;
  background:#fff;
  padding:0 11px;
  font:inherit;
}
@media(max-width:720px){
.v995-customizer-footer{
  grid-template-columns:1fr 1fr;
}
.v995-customizer-footer button{
  min-height:48px;
}
.v930-sheet-card{
  width:100%;
  height:100dvh;
  max-height:100dvh;
  bottom:0;
  border-radius:20px 20px 0 0;
  padding:10px 12px 0;
}
.v995-sheet-scroll{
  padding-bottom:20px;
}
}
@media(max-width:380px){
.v995-customizer-footer{
  grid-template-columns:1fr;
}
}
.v996-public-menu .v996-product-card{
  transform:none;
}
.v996-public-menu .v996-product-card .public-product-image{
  height:auto;
}
.v996-public-menu .v996-product-card [data-public-count][hidden]{
  display:none;
}
.v996-public-menu .v996-product-card .v99-custom-badge{
  margin-top:auto;
  margin-bottom:7px;
}
.v996-public-menu .v996-product-price{
  margin-top:auto;
}
.v996-product-add[hidden]{
  display:none;
}
.v996-product-qty[hidden]{
  display:none;
}
.v996-undo-toast[hidden]{
  display:none;
}
.v996-public-menu .v9-public-cart-item{
  align-items:flex-start;
}
.v930-sheet{
  z-index:20050;
}
body.v930-sheet-open{
  overflow:hidden;
  overscroll-behavior:none;
}
body.v930-sheet-open .v9-bottom-nav,body.v930-sheet-open .mobile-bottom-nav,body.v930-sheet-open .v4-topbar{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(110%);
}
.v930-sheet.open{
  display:block;
  overflow:hidden;
  touch-action:pan-y;
}
.v930-sheet.open .v930-sheet-backdrop{
  z-index:0;
}
.v930-sheet.open .v930-sheet-card{
  z-index:1;
  overflow:hidden;
  display:flex;
  flex-direction:column;
}
.v930-sheet.open .v995-sheet-scroll{
  flex:1 1 auto;
  min-height:0;
  overflow-y:auto;
  overflow-x:hidden;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior-y:contain;
  touch-action:pan-y;
}
.v930-sheet.open .v995-material-footer{
  position:relative;
  right:auto;
  left:auto;
  bottom:auto;
  flex:0 0 auto;
  z-index:100;
  margin:0;
  padding:10px 2px calc(10px + env(safe-area-inset-bottom));
  background:#fff;
  box-shadow:0 -12px 28px rgba(15,23,42,.10);
}
.v930-sheet.open #v930ConfirmMaterial{
  position:static;
  bottom:auto;
  z-index:auto;
}
.v930-sheet.open.v996-amount-mode .v995-sheet-scroll{
  scroll-padding-bottom:18px;
}
.v995-quick-category{
  margin-top:7px;
}
@media(max-width:720px){
body.public-body{
  max-width:100vw;
  overflow-x:hidden;
}
.v996-public-menu .v996-product-card .public-product-image{
  height:auto;
}
.v996-public-menu .v996-product-card .v99-custom-badge{
  font-size:7px;
  padding:3px 5px;
}
.v930-sheet.open .v930-sheet-card{
  position:fixed;
  top:var(--v996-sheet-top,0px);
  right:0;
  left:0;
  bottom:auto;
  transform:none;
  width:100%;
  max-width:none;
  height:var(--v996-sheet-height,100dvh);
  max-height:var(--v996-sheet-height,100dvh);
  padding:8px 11px 0;
  border-radius:20px 20px 0 0;
}
.v930-sheet.open .v930-sheet-card>header{
  padding:0 1px 8px;
}
.v930-sheet.open .v995-sheet-scroll{
  padding:4px 1px 14px;
  scroll-padding-bottom:18px;
}
.v930-sheet.open .v995-material-footer{
  grid-template-columns:minmax(0,1.35fr) minmax(112px,.65fr);
  gap:7px;
  padding:8px 1px calc(8px + env(safe-area-inset-bottom));
}
.v930-sheet.open .v995-confirm-material,.v930-sheet.open .v995-confirm-close{
  min-height:50px;
  padding:0 8px;
  font-size:10px;
  border-radius:13px;
}
.v930-sheet.open .v995-confirm-material{
  order:initial;
}
.v930-sheet.open .v995-confirm-close{
  order:initial;
}
.v930-sheet.open .v930-quick-amounts{
  margin-bottom:8px;
}
}
@media(max-width:390px){
.v930-sheet.open .v995-material-footer{
  grid-template-columns:minmax(0,1.2fr) minmax(102px,.8fr);
}
.v930-sheet.open .v995-confirm-material,.v930-sheet.open .v995-confirm-close{
  font-size:9px;
}
}
@media (max-width: 980px){
.v4-chart-wrap,
  .chart-wrap{
  overflow-x: auto ;
  overflow-y: hidden ;
  -webkit-overflow-scrolling: touch ;
  overscroll-behavior-x: contain ;
  touch-action: pan-x pan-y ;
}
.v4-chart-wrap canvas,
  .chart-wrap canvas{
  max-width: none ;
  touch-action: pan-x pan-y ;
}
#weeklyPerformanceChart{
  width: 640px ;
  min-width: 640px ;
}
#hourlySalesChart,
  #reportHourlyChart{
  width: 920px ;
  min-width: 920px ;
}
#financePnlChart,
  #financeCashflowChart{
  width: 820px ;
  min-width: 820px ;
}
#financeMonthlyChart,
  #expenseCategoryChart,
  #weekdaySalesChart,
  #productProfitChart,
  #orderTypeChart{
  width: 700px ;
  min-width: 700px ;
}
.filter-tabs,
  .preset-row,
  .category-chips,
  .v9-category-chips,
  .public-categories,
  .finance-preset-row,
  .v4-range-tabs{
  overflow-x: auto ;
  overflow-y: hidden ;
  flex-wrap: nowrap ;
  -webkit-overflow-scrolling: touch ;
  overscroll-behavior-x: contain ;
  touch-action: pan-x ;
}
.table-wrap,
  .smart-table{
  max-width: 100% ;
  overflow-x: auto ;
  overflow-y: hidden ;
  -webkit-overflow-scrolling: touch ;
  overscroll-behavior-x: contain ;
  touch-action: pan-x pan-y ;
}
html,
  body,
  .workspace,
  .main-content{
  max-width: 100% ;
}
}
@media (max-width: 420px){
#weeklyPerformanceChart{
  width: 660px ;
  min-width: 660px ;
}
#hourlySalesChart,
  #reportHourlyChart{
  width: 960px ;
  min-width: 960px ;
}
}
html:has(body.public-body){
  overflow-x:clip;
}
body.public-body{
  width:100%;
  min-width:100%;
  max-width:100%;
  margin:0;
  overflow-x:clip;
  overscroll-behavior-x:none;
  color:var(--v998-ink);
}
body.public-body.public-menu-page,
body.public-body.public-menu-page>header,
body.public-body.public-menu-page>main,
.v998-public-menu .public-menu-shell,
.v998-public-menu #publicOrderForm,
.v998-public-menu .public-menu-toolbar,
.v998-public-menu .public-products{
  width:100%;
  min-width:0;
  max-width:100%;
}
.v998-public-menu .public-menu-shell{
  margin-inline:auto;
  overflow-x:clip;
}
.v998-public-menu #publicOrderForm{
  overflow:visible;
}
.v998-public-menu .public-products{
  overflow:visible;
}
.v998-public-menu .public-product[hidden],
.v998-public-menu .v996-product-card[hidden]{
  display:none;
}
.v998-public-menu .public-categories{
  width:auto;
  max-width:calc(100vw - 0px);
  overflow-x:auto;
  overflow-y:hidden;
  flex-wrap:nowrap;
  touch-action:pan-x pan-y;
  overscroll-behavior-inline:contain;
  -webkit-overflow-scrolling:touch;
}
.v998-public-menu .public-welcome h1{
  color:var(--v998-ink);
  text-shadow:none;
  opacity:1;
}
.v998-public-menu .public-welcome p{
  color:#c2410c;
}
.v998-public-menu .public-welcome>span{
  color:#596579;
}
.v998-public-menu .public-store-brand>span{
  background:var(--v998-orange-soft-2);
  color:var(--v998-orange-dark);
}
.v998-public-menu .public-categories button{
  color:#475569;
  background:#fff;
}
.v998-public-menu .public-categories button.active{
  color:var(--v998-orange-dark);
  background:var(--v998-orange-soft);
  border-color:#fb923c;
  box-shadow:0 6px 16px rgba(249,115,22,.10);
}
.v998-public-menu .v996-product-add,
.v998-public-menu .v99-customizer-add,
.v998-public-menu .v9-public-footer #publicNext,
.v998-public-menu .v9-public-footer .public-submit{
  background:linear-gradient(135deg,#ffedd5,#fed7aa);
  color:#7c2d12;
  border:1px solid #fb923c;
  box-shadow:0 7px 17px rgba(249,115,22,.13);
}
.v998-public-menu .v996-product-card [data-public-count]{
  background:#fff7ed;
  color:#9a3412;
  border-color:#fb923c;
}
.v998-public-menu .public-cart-dock{
  background:#fffaf5;
  color:var(--v998-ink);
  border:1px solid #fdba74;
  box-shadow:0 16px 38px rgba(15,23,42,.17);
}
.v998-public-menu .public-cart-dock *{
  color:var(--v998-ink);
}
.v998-public-menu .v9-public-total{
  background:#fff7ed;
  border:1px solid #fed7aa;
  color:var(--v998-ink);
}
.v998-public-menu .v9-public-total span{
  color:#7c2d12;
}
.v998-public-menu .v996-undo-toast{
  background:#fffaf5;
  color:var(--v998-ink);
  border-color:#fdba74;
}
.v998-public-menu .v996-undo-toast *{
  color:var(--v998-ink);
}
.v930-sheet.open #v930ConfirmMaterial,
#v930ConfirmMaterial.v995-confirm-material{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-height:52px;
  padding:0 12px;
  border:2px solid var(--v998-orange);
  border-radius:14px;
  background:#fff3e8;
  color:#7c2d12;
  opacity:1;
  visibility:visible;
  text-indent:0;
  font-size:11px;
  font-weight:950;
  line-height:1.4;
  white-space:normal;
  text-align:center;
  box-shadow:0 7px 18px rgba(249,115,22,.13);
}
.v930-sheet.open #v930ConfirmMaterial:active{
  background:#ffedd5;
}
.v930-sheet.open #v995ConfirmAndClose{
  color:#334155;
  background:#f8fafc;
}
.sidebar .brand,
.sidebar .sidebar-nav a.active,
.sidebar .sidebar-nav a:hover,
.sidebar .sidebar-collapse:hover{
  color:#d8cfc7;
}
.brand-mark{
  color:#2b211c;
}
.quick-sale,.button.primary,.button.success,.button.warning{
  color:#2b211c;
}
@media(max-width:720px){
.v998-public-menu .public-menu-shell{
  padding-inline:10px;
}
.v998-public-menu .public-menu-toolbar{
  margin-inline:-10px;
  padding-inline:10px;
}
.v998-public-menu .public-products{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.v998-public-menu .public-categories{
  margin-inline:-10px;
  padding-inline:10px;
}
.v930-sheet.open .v995-material-footer{
  grid-template-columns:minmax(0,1.35fr) minmax(120px,.65fr);
  gap:8px;
}
}
@media(max-width:380px){
.v930-sheet.open .v995-material-footer{
  grid-template-columns:1fr;
}
.v930-sheet.open #v930ConfirmMaterial,
  .v930-sheet.open #v995ConfirmAndClose{
  width:100%;
}
}
html.public-root,
html.public-root body.public-body{
  overflow-x:clip;
}
.v998-public-menu,
.v998-public-menu .public-store-head,
.v998-public-menu .public-menu-shell,
.v998-public-menu #publicOrderForm,
.v998-public-menu .public-menu-toolbar,
.v998-public-menu .public-search,
.v998-public-menu .public-categories,
.v998-public-menu .public-products,
.v998-public-menu .public-product{
  min-width:0;
  max-width:100%;
  box-sizing:border-box;
}
.v998-public-menu .public-menu-shell,
.v998-public-menu #publicOrderForm{
  overflow-x:clip;
}
.v998-public-menu .hp{
  left:auto;
  right:0;
  width:1px;
  height:1px;
  padding:0;
  overflow:hidden;
  clip-path:inset(50%);
  white-space:nowrap;
}
.v998-public-menu .public-menu-toolbar{
  width:100%;
  margin-inline:0;
  padding-inline:0;
}
.v998-public-menu .public-categories{
  width:100%;
  margin-inline:0;
  padding:1px 1px 3px;
}
.v998-public-menu .public-products{
  width:100%;
}
.v998-public-menu .public-empty-state[hidden]{
  display:none;
}
.v998-public-menu .public-cart-dock{
  right:max(10px,env(safe-area-inset-right));
  left:max(10px,env(safe-area-inset-left));
  width:auto;
  min-width:0;
  max-width:none;
  grid-template-columns:auto minmax(0,1fr) auto;
}
.v998-public-menu .v9-public-checkout{
  box-sizing:border-box;
}
.v998-public-menu .v9-public-cart-item{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:9px;
}
.v998-public-menu .v99-cart-item-main{
  display:grid;
}
.v998-public-menu .v99-cart-item-main>span{
  width:42px;
  height:42px;
  flex:none;
}
.v998-public-menu .v99-cart-item-main>p{
  min-width:0;
}
.v998-public-menu .v99-cart-item-main>p>strong{
  white-space:normal;
}
.v998-public-menu .v99-cart-qty{
  display:grid;
  gap:5px;
}
.v998-public-menu .v99-cart-qty button{
  width:38px;
  height:38px;
  padding:0;
}
.v998-public-menu .v995-cart-line-actions{
  display:flex;
  justify-content:flex-end;
  gap:7px;
}
.v998-public-menu .v995-cart-line-actions button{
  width:auto;
  height:auto;
  min-height:38px;
  padding:7px 11px;
  line-height:1.5;
}
.v9-switch-row>input[type="checkbox"]{
  right:0;
  left:auto;
  width:1px;
  min-width:0;
  height:1px;
  min-height:0;
  margin:0;
  padding:0;
  overflow:hidden;
  clip-path:inset(50%);
}
@media(max-width:720px){
.v998-public-menu .public-menu-shell{
  padding-inline:10px;
}
.v998-public-menu .public-products{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
}
.v998-public-menu .public-product{
  width:100%;
}
.v998-public-menu .v996-product-card .public-product-image{
  aspect-ratio:4/3;
}
.v998-public-menu .v9-public-checkout{
  inset:0;
  width:100%;
  height:100dvh;
  min-height:100dvh;
  max-height:100dvh;
  padding:0;
  border-radius:0;
}
.v998-public-menu .v9-public-checkout-head{
  min-height:0;
  padding:calc(8px + env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) 8px max(10px,env(safe-area-inset-left));
  display:grid;
  grid-template-columns:44px minmax(0,1fr);
  gap:7px 9px;
}
.v998-public-menu .v9-public-checkout-head>button{
  width:42px;
  height:42px;
}
.v998-public-menu .v995-cart-head-actions{
  display:flex;
  flex-direction:row;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}
.v998-public-menu .v995-cart-head-actions>button{
  width:auto;
  min-height:36px;
  padding:0 10px;
}
.v998-public-menu .v9-public-stepper{
  padding:7px 10px;
}
.v998-public-menu .v9-public-stepper button{
  min-height:40px;
}
.v998-public-menu .v9-public-checkout-body{
  padding:10px;
  overflow-y:auto;
  overflow-x:hidden;
}
.v998-public-menu .v9-public-cart-items{
  max-height:none;
  margin:0;
  overflow:visible;
}
.v998-public-menu .v9-public-footer{
  position:static;
  right:auto;
  left:auto;
  bottom:auto;
  min-height:0;
  padding:8px max(10px,env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:7px;
}
.v998-public-menu .v9-public-footer>button{
  min-height:48px;
  padding-inline:10px;
}
.v998-public-menu .v9-public-footer strong b{
  font-size:13px;
}
.v998-public-menu .v9-public-fields{
  gap:7px;
  overflow:visible;
}
.v998-public-menu .public-two{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:7px;
}
.v998-public-menu .v9-public-fields input,
  .v998-public-menu .v9-public-fields select,
  .v998-public-menu .v9-public-fields textarea{
  min-width:0;
  min-height:46px;
  padding:8px 10px;
  border-radius:13px;
  font-size:14px;
}
.v998-public-menu .v9-public-fields textarea{
  height:68px;
}
.v998-public-menu .v9-public-total{
  margin-top:8px;
  padding:10px 11px;
  border-radius:14px;
}
.v10-orders-page .orders-panel{
  padding:0;
  border:0;
  background:transparent;
  box-shadow:none;
}
.v10-orders-page .mobile-card-table{
  width:100%;
  max-width:100%;
  overflow:visible;
}
.v10-orders-page .mobile-card-table table{
  width:100%;
  min-width:0;
  max-width:100%;
  display:block;
}
.v10-orders-page .mobile-card-table thead{
  display:none;
}
.v10-orders-page .mobile-card-table tbody{
  display:grid;
}
.v10-orders-page .mobile-card-table tr.v10-order-row{
  padding:12px;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:9px 12px;
  border:1px solid var(--line,#e5e7eb);
  border-radius:18px;
  background:var(--panel,#fff);
}
.v10-orders-page .mobile-card-table td{
  padding:0;
  display:flex;
  align-items:flex-start;
  border:0;
  white-space:normal;
}
.v10-orders-page .v10-order-status{
  align-items:flex-end;
}
.v10-orders-page .v10-order-payment{
  align-items:flex-end;
}
.v10-orders-page .v10-order-time{
  align-items:flex-end;
}
.v10-orders-page .v97-row-actions{
  grid-column:1/-1;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:7px;
  padding-top:9px;
  border-top:1px solid var(--line,#e5e7eb);
}
.v10-orders-page .v97-row-actions:before{
  display:none;
}
.v10-orders-page .v97-row-actions>*{
  width:auto;
}
.v10-orders-page .v97-row-actions>a{
  width:100%;
}
.v10-orders-page .v97-row-actions form button{
  min-height:44px;
}
.v10-orders-page .mobile-card-table tr>.empty{
  grid-column:1/-1;
  align-items:center;
}
.v922-categories-box{
  overflow:visible;
}
.v922-categories-box>summary{
  align-items:flex-start;
}
.v922-category-body{
  padding-inline:10px;
}
.v922-category-form{
  grid-template-columns:minmax(0,1fr) 86px;
}
.v922-categories-box .v97-category-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:7px;
}
}
@media(max-width:430px){
.v998-public-menu .public-store-head{
  padding-inline:10px;
}
.v998-public-menu .public-store-brand>span{
  width:40px;
  height:40px;
}
.v998-public-menu .public-welcome{
  padding:16px 14px;
}
.v998-public-menu .public-welcome h1{
  font-size:20px;
  line-height:1.55;
}
.v998-public-menu .public-categories button{
  min-height:38px;
  padding-inline:13px;
}
.v998-public-menu .v996-product-card .public-product-copy{
  padding:9px 9px 6px;
}
.v998-public-menu .v996-product-actions{
  padding:0 8px 8px;
}
.v998-public-menu .v996-product-add{
  min-height:42px;
}
.v998-public-menu .public-cart-dock{
  height:62px;
  padding-inline:11px;
  gap:7px;
}
}
@media(max-width:350px){
.v998-public-menu .public-products{
  gap:7px;
}
.v998-public-menu .v996-product-card .public-product-copy{
  padding:8px 7px 5px;
}
.v998-public-menu .v996-product-actions{
  padding:0 6px 7px;
}
.v998-public-menu .v996-product-qty{
  grid-template-columns:38px minmax(0,1fr) 38px;
  gap:4px;
}
.v998-public-menu .v996-product-qty button,
  .v998-public-menu .v996-product-qty b{
  height:38px;
}
.v998-public-menu .v99-public-cart-item{
  grid-template-columns:1fr;
}
.v998-public-menu .public-customer-fields{
  grid-template-columns:1fr;
}
.v998-public-menu .v9-public-footer>button{
  padding-inline:8px;
  font-size:8px;
}
.v998-public-menu .v9-public-footer strong b{
  font-size:11px;
}
.v922-category-form{
  grid-template-columns:1fr;
}
.v922-category-form>*{
  grid-column:1;
}
}
@supports not (overflow:clip){
html.public-root,
  html.public-root body.public-body,
  .v998-public-menu .public-menu-shell,
  .v998-public-menu #publicOrderForm{
  overflow-x:hidden;
}
}
.v10-primary-action{
  margin:0;
}
@media(max-width:760px){
.v10-orders-page .v97-row-actions{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:8px;
}
.v10-orders-page .v97-row-actions:before{
  display:none;
}
.v10-orders-page .v10-primary-action{
  width:100%;
}
.v10-orders-page .v10-primary-action button{
  width:100%;
  min-height:48px;
}
.v10-orders-page .v10-order-time{
  align-items:flex-start;
  text-align:right;
}
.v10-orders-page .v10-order-time:before{
  align-self:flex-start;
}
}
.v11-game-modal[hidden]{
  display:none;
}
