/* MOB365 Café/Restaurant shared primitives — extracted unchanged from V38. */
:root{--m38-navy:#0d3555;--m38-teal:#138c84;--m38-bg:#f5f8f9;--m38-line:#dce6e8;--m38-text:#142b33;--m38-muted:#6c7d83}
html:has(.mob365-order-only),body:has(.mob365-order-only){margin:0!important;width:100%!important;height:100%!important;overflow:hidden!important;background:var(--m38-bg)!important}
.mob365-order-only{box-sizing:border-box!important;display:grid!important;grid-template-rows:auto auto minmax(0,1fr) auto!important;width:100vw!important;height:100dvh!important;min-height:0!important;margin:0!important;padding:0!important;overflow:hidden!important;background:var(--m38-bg)!important;color:var(--m38-text)!important}
.mob365-order-only *{box-sizing:border-box}

/* MOB365 command bar remains available; only its visual density changes. */
.mob365-order-only>.restaurant-commandbar,.mob365-order-only>.cafe-commandbar{position:relative!important;inset:auto!important;display:flex!important;align-items:center!important;justify-content:space-between!important;width:100%!important;min-height:68px!important;height:auto!important;margin:0!important;padding:8px 14px!important;border:0!important;border-radius:0!important;background:linear-gradient(110deg,#0d3555,#0b6265)!important;color:#fff!important;z-index:20!important}
.mob365-order-only .m3-brand,.mob365-order-only .cafe-brand{display:flex!important;align-items:center!important;gap:10px!important;min-width:190px!important}
.mob365-order-only .m3-logo,.mob365-order-only .cafe-brand-mark{width:42px!important;height:42px!important;flex:0 0 42px!important;border-radius:12px!important}
.mob365-order-only .m3-logo img,.mob365-order-only .cafe-brand-mark img{width:100%!important;height:100%!important;object-fit:contain!important}
.mob365-order-only .m3-brand h1,.mob365-order-only .cafe-brand h1{margin:2px 0 0!important;font-size:17px!important;color:#fff!important}.mob365-order-only .m3-brand small,.mob365-order-only .cafe-brand-suite{font-size:8px!important;letter-spacing:.13em!important;color:#85e7df!important;font-weight:900!important}
.mob365-order-only .restaurant-command-center,.mob365-order-only .cafe-command-center{display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important}
.mob365-order-only .restaurant-kpi-compact,.mob365-order-only .cafe-kpi-compact{display:flex!important;align-items:center!important;gap:5px!important}
.mob365-order-only .restaurant-kpi-compact>div,.mob365-order-only .cafe-mini-stat{min-width:62px!important;height:40px!important;padding:5px 8px!important;border:1px solid #ffffff25!important;border-radius:10px!important;background:#ffffff0d!important;color:#fff!important}
.mob365-order-only .restaurant-kpi-compact span,.mob365-order-only .cafe-mini-stat span{display:block!important;font-size:7px!important}.mob365-order-only .restaurant-kpi-compact strong,.mob365-order-only .cafe-mini-stat strong{font-size:11px!important}
.mob365-order-only .m3-actions,.mob365-order-only .cafe-command-status{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:6px!important;min-width:0!important}
.mob365-order-only .m3-actions .m3-btn,.mob365-order-only .cafe-command-btn{min-height:36px!important;height:36px!important;padding:6px 10px!important;border:0!important;border-radius:10px!important;background:#fff!important;color:#173248!important;font-size:9px!important;font-weight:850!important;white-space:nowrap!important}
.mob365-order-only .cafe-status-badge{display:none!important}
.mob365-order-only>.m3-alert,.mob365-order-only>.cafe-alert{margin:7px 14px 0!important;min-height:38px!important;padding:8px 12px!important;border-radius:10px!important;z-index:5!important}

/* The order canvas is a strict two-column grid; obsolete left/floor panels cannot occupy space. */
html body #restaurantWorkspace.mob37-order-canvas,html body #cafeWorkspace.mob37-order-canvas{position:relative!important;inset:auto!important;display:grid!important;grid-template-columns:minmax(0,1fr) clamp(430px,30vw,510px)!important;grid-template-rows:48px minmax(0,1fr)!important;grid-template-areas:"nav nav" "catalog checkout"!important;width:100%!important;max-width:none!important;height:100%!important;min-height:0!important;margin:0!important;padding:10px 14px 12px!important;gap:10px!important;overflow:hidden!important;background:var(--m38-bg)!important}
html body #restaurantWorkspace.mob37-order-canvas>[data-mob-panel="left"],html body #cafeWorkspace.mob37-order-canvas>[data-mob-panel="left"],html body #cafeWorkspace.mob37-order-canvas>.cafe-panel-splitter{display:none!important;width:0!important;min-width:0!important}
html body #restaurantWorkspace.mob37-order-canvas>.mob365-order-nav,html body #cafeWorkspace.mob37-order-canvas>.mob365-order-nav{grid-area:nav!important;position:relative!important;inset:auto!important;display:flex!important;align-items:center!important;gap:12px!important;width:100%!important;min-height:48px!important;height:48px!important;margin:0!important;padding:4px 2px!important;border:0!important;background:transparent!important;box-shadow:none!important}
.mob365-order-nav>div{display:flex!important;align-items:center!important;gap:8px!important;min-width:0!important}.mob365-order-nav small{font-size:8px!important;letter-spacing:.12em!important;color:#7b8b90!important;font-weight:900!important}.mob365-order-nav strong{font-size:14px!important;color:var(--m38-text)!important}.mob365-order-nav .m3-badge{margin-left:auto!important}.mob365-tables-back{height:38px!important;padding:7px 15px!important;border:1px solid var(--m38-line)!important;border-radius:11px!important;background:#fff!important;color:#183745!important;font-weight:850!important}
html body #restaurantWorkspace.mob37-order-canvas>.mob37-catalog,html body #cafeWorkspace.mob37-order-canvas>.mob37-catalog{grid-area:catalog!important;position:relative!important;inset:auto!important;display:flex!important;flex-direction:column!important;width:100%!important;max-width:none!important;height:100%!important;min-height:0!important;margin:0!important;border:1px solid var(--m38-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:0 10px 30px #16343d0c!important;overflow:hidden!important}
html body #restaurantWorkspace.mob37-order-canvas>.mob37-checkout,html body #cafeWorkspace.mob37-order-canvas>.mob37-checkout{grid-area:checkout!important;position:relative!important;inset:auto!important;display:flex!important;flex-direction:column!important;width:100%!important;min-width:0!important;max-width:none!important;height:100%!important;min-height:0!important;margin:0!important;border:1px solid var(--m38-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:0 10px 30px #16343d10!important;overflow:hidden!important}

/* Catalog heading, search and category rail. */
.mob37-catalog>.m3-panel-head,.mob37-catalog>.cafe-panel-header{display:flex!important;align-items:center!important;justify-content:space-between!important;min-height:56px!important;height:56px!important;padding:9px 16px!important;border-bottom:1px solid #edf1f2!important;background:#fff!important}.mob37-catalog h2{margin:2px 0 0!important;font-size:17px!important}.mob37-catalog small,.mob37-catalog .cafe-eyebrow{font-size:8px!important;letter-spacing:.12em!important;color:var(--m38-teal)!important;font-weight:900!important}
.mob37-catalog .m3-search,.mob37-catalog .cafe-search-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:9px!important;min-height:66px!important;padding:9px 14px!important;border-bottom:1px solid #edf1f2!important;background:#fff!important}.mob37-catalog .m3-search input,.mob37-catalog .cafe-search-box{width:100%!important;height:46px!important;min-height:46px!important;padding:0 14px!important;border:1px solid #d6e1e4!important;border-radius:13px!important;background:#fff!important;font-size:13px!important;outline:0!important}.mob37-catalog .m3-search button,.mob37-catalog .cafe-btn.search{height:46px!important;padding:0 18px!important;border:0!important;border-radius:13px!important;background:var(--m38-teal)!important;color:#fff!important;font-weight:900!important}
.mob37-catalog .category-tabs,.mob37-catalog .cafe-category-strip{display:flex!important;flex:0 0 58px!important;flex-wrap:nowrap!important;align-items:center!important;gap:7px!important;width:100%!important;height:58px!important;min-height:58px!important;max-height:58px!important;padding:7px 14px!important;border-bottom:1px solid #edf1f2!important;background:#fff!important;overflow-x:auto!important;overflow-y:hidden!important}.mob37-catalog .category-tabs>button,.mob37-catalog .cafe-category-chip{display:flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;flex:0 0 auto!important;min-width:104px!important;height:40px!important;padding:7px 13px!important;border:1px solid #dfe7e9!important;border-radius:999px!important;background:#fff!important;color:#506269!important;font-size:11px!important;font-weight:850!important;white-space:nowrap!important}.mob37-catalog .category-tabs>button.active,.mob37-catalog .cafe-category-chip.active{border-color:#b9d9d6!important;background:#e9f5f3!important;color:#0d716b!important}.mob37-catalog .cafe-category-chip small{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:18px!important;height:18px!important;border-radius:50%!important;background:#edf2f3!important;color:#697b81!important;font-size:8px!important}

/* Product cards with real image support. */
.mob37-catalog .m3-products,.mob37-catalog .cafe-product-grid{display:grid!important;grid-template-columns:repeat(4,minmax(165px,1fr))!important;grid-auto-rows:104px!important;align-content:start!important;gap:9px!important;flex:1 1 auto!important;width:100%!important;min-height:0!important;margin:0!important;padding:12px 14px 16px!important;background:#fafcfc!important;overflow-y:auto!important}
.mob37-catalog .m3-product.mob365-product-card,.mob37-catalog .cafe-product-tile.mob365-product-card{position:relative!important;display:grid!important;grid-template-columns:58px minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr) auto!important;align-items:center!important;width:100%!important;height:104px!important;min-height:104px!important;max-height:104px!important;margin:0!important;padding:9px 10px!important;gap:4px 10px!important;border:1px solid #dce6e8!important;border-radius:13px!important;background:#fff!important;color:var(--m38-text)!important;text-align:left!important;box-shadow:0 3px 10px #15343e0a!important;overflow:hidden!important}
.mob37-catalog .m3-product.mob365-product-card:hover,.mob37-catalog .cafe-product-tile.mob365-product-card:hover{border-color:#88c9c3!important;box-shadow:0 7px 18px #15343e16!important;transform:translateY(-1px)!important}
.mob37-catalog .mob365-product-media{position:relative!important;grid-column:1!important;grid-row:1/3!important;display:grid!important;place-items:center!important;width:58px!important;height:58px!important;border-radius:11px!important;background:#eaf7f6!important;color:#087c75!important;overflow:hidden!important;font-weight:900!important}.mob37-catalog .mob365-product-image{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important}.mob37-catalog .mob365-product-fallback{display:grid!important;place-items:center!important;width:100%!important;height:100%!important}
.mob37-catalog .m3-product strong,.mob37-catalog .cafe-product-copy strong{display:-webkit-box!important;grid-column:2!important;align-self:end!important;margin:0!important;color:var(--m38-text)!important;font-size:12px!important;line-height:1.18!important;font-weight:850!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;white-space:normal!important}.mob37-catalog .m3-product small,.mob37-catalog .cafe-product-copy small{font-size:8px!important;color:#809096!important}.mob37-catalog .m3-product b,.mob37-catalog .cafe-product-price{grid-column:2!important;align-self:start!important;color:#087d76!important;font-size:14px!important;line-height:1!important;font-weight:950!important}.mob37-catalog .m3-product .station{position:absolute!important;left:78px!important;bottom:8px!important;padding:2px 6px!important;border-radius:5px!important;background:#e5f6f4!important;color:#087d76!important;font-size:7px!important}.mob37-catalog .m3-product i{position:absolute!important;right:9px!important;bottom:9px!important;display:grid!important;place-items:center!important;width:28px!important;height:28px!important;border-radius:50%!important;background:var(--m38-teal)!important;color:#fff!important;font-size:17px!important;font-style:normal!important}.mob37-catalog .cafe-auto-discount,.mob37-catalog .cafe-price-warning{font-size:7px!important}

/* Checkout keeps every MOB365 operation and fiscal payment event. */
.mob37-checkout>.m3-panel-head,.mob37-checkout>.cafe-panel-header{display:flex!important;align-items:center!important;justify-content:space-between!important;flex:0 0 58px!important;height:58px!important;padding:10px 14px!important;border-bottom:1px solid #e9eff1!important;background:#fff!important}.mob37-checkout h2{margin:2px 0 0!important;font-size:18px!important}.mob37-checkout .m3-order-meta{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important;padding:9px 10px!important}.mob37-checkout .m3-stat{min-height:54px!important;padding:8px!important;border:1px solid #dde7e9!important;border-radius:11px!important;background:#f8fafb!important;text-align:left!important}.mob37-checkout .m3-stat span{font-size:8px!important}.mob37-checkout .m3-progress-wrap{padding:5px 10px!important}.mob37-checkout .m3-lines,.mob37-checkout .cafe-cart-list{flex:1 1 auto!important;min-height:100px!important;padding:3px 10px!important;background:#fff!important;overflow-y:auto!important}.mob37-checkout .m3-line-item,.mob37-checkout .cafe-cart-line{display:grid!important;align-items:center!important;min-height:68px!important;padding:9px 2px!important;border-bottom:1px solid #edf1f2!important;background:#fff!important}.mob37-checkout .m3-line-item strong,.mob37-checkout .cafe-cart-line strong{font-size:11px!important}.mob37-checkout .m3-line-item small,.mob37-checkout .cafe-cart-line small{font-size:8px!important;color:#77898f!important}
.mob37-checkout .m3-total,.mob37-checkout .cafe-cart-summary{flex:0 0 auto!important;padding:12px 14px!important;background:var(--m38-navy)!important;color:#fff!important}.mob37-checkout .m3-total>div,.mob37-checkout .cafe-total{display:flex!important;align-items:center!important;justify-content:space-between!important}.mob37-checkout .m3-total strong,.mob37-checkout .cafe-total strong{font-size:23px!important;color:#fff!important}.mob37-checkout .m3-order-buttons,.mob37-checkout .cafe-payment-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important;flex:0 0 auto!important;padding:10px!important;background:#fff!important}.mob37-checkout .m3-order-buttons>button,.mob37-checkout .cafe-payment-grid>button{min-height:42px!important;height:auto!important;padding:8px!important;border-radius:11px!important;font-size:11px!important;font-weight:900!important}.mob37-checkout .m3-order-buttons>.wide,.mob37-checkout .cafe-payment-grid>.mixed{grid-column:1/-1!important}.mob37-checkout .cafe-integration-note{padding:5px 10px!important;font-size:7px!important}.mob37-checkout .cafe-cart-footer{margin-top:auto!important}
.mob365-order-only>.restaurant-statusbar,.mob365-order-only>.cafe-statusbar{position:relative!important;inset:auto!important;display:flex!important;align-items:center!important;min-height:26px!important;height:26px!important;margin:0!important;padding:4px 10px!important;background:#fff!important;border-top:1px solid var(--m38-line)!important;font-size:8px!important}

/* Preserve the accepted full-screen table workspace. */
html:has(.mob365-floor-only),body:has(.mob365-floor-only){margin:0!important;width:100%!important;height:100%!important;overflow:hidden!important;background:#f5f8f9!important}.mob365-floor-only{display:block!important;width:100vw!important;height:100dvh!important;overflow:hidden!important}.mob365-floor-only>.restaurant-commandbar,.mob365-floor-only>.cafe-commandbar,.mob365-floor-only>.restaurant-statusbar,.mob365-floor-only>.cafe-statusbar{display:none!important}.mob365-floor-only>.mob365-tables-view{display:block!important;width:100%!important;height:100dvh!important;margin:0!important;padding:0!important}.mob365-floor-only .m3-floor-panel,.mob365-floor-only .cafe-tables-panel{display:grid!important;grid-template-rows:auto auto minmax(0,1fr) auto auto!important;width:100%!important;height:100dvh!important;margin:0!important;border:0!important;border-radius:0!important;overflow:hidden!important}.mob365-floor-only .m3-floor,.mob365-floor-only .cafe-floor-map{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(150px,180px))!important;grid-auto-rows:180px!important;justify-content:center!important;align-content:start!important;gap:26px 32px!important;padding:28px!important;overflow:auto!important;background-color:#f7fafb!important;background-image:linear-gradient(#dce8e9 1px,transparent 1px),linear-gradient(90deg,#dce8e9 1px,transparent 1px)!important;background-size:44px 44px!important}.mob365-floor-only button.mob34-table-card{position:relative!important;inset:auto!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;width:166px!important;height:166px!important;margin:auto!important;padding:20px 14px!important;border:2px solid #b9d2d3!important;border-radius:50%!important;background:#fff!important;box-shadow:0 10px 25px #16343e12!important;transform:none!important}.mob365-floor-only button.mob34-table-card.rectangle{border-radius:25px!important}.mob365-floor-only button.mob34-table-card.busy,.mob365-floor-only button.mob34-table-card.occupied{border-color:#eda12c!important;background:#fffaf2!important}.mob365-floor-only button.mob34-table-card.reserved{border-color:#27bfc3!important;background:#f5ffff!important}.mob34-table-state{position:absolute!important;top:10px!important;right:10px!important;padding:4px 7px!important;border-radius:999px!important;background:#e9f8f2!important;color:#087d58!important;font-size:8px!important;font-weight:900!important}.mob34-table-name{margin:8px 0 5px!important;font-size:23px!important;color:#102c34!important}.mob34-table-capacity{font-size:10px!important;color:#63777d!important}.mob34-table-total{margin-top:7px!important;font-size:17px!important;color:#078e87!important}.mob34-table-note{margin-top:5px!important;font-size:8px!important;color:#718287!important}

@media(max-width:1450px){.mob37-catalog .m3-products,.mob37-catalog .cafe-product-grid{grid-template-columns:repeat(3,minmax(165px,1fr))!important}html body #restaurantWorkspace.mob37-order-canvas,html body #cafeWorkspace.mob37-order-canvas{grid-template-columns:minmax(0,1fr) 430px!important}.mob365-order-only .restaurant-kpi-compact,.mob365-order-only .cafe-kpi-compact{display:none!important}}
@media(max-width:1050px){html body #restaurantWorkspace.mob37-order-canvas,html body #cafeWorkspace.mob37-order-canvas{grid-template-columns:1fr!important;grid-template-rows:auto minmax(520px,1fr) minmax(520px,auto)!important;grid-template-areas:"nav" "catalog" "checkout"!important;overflow-y:auto!important}.mob37-catalog .m3-products,.mob37-catalog .cafe-product-grid{grid-template-columns:repeat(2,minmax(150px,1fr))!important}.mob365-order-only{overflow-y:auto!important}.mob365-order-only .m3-actions,.mob365-order-only .cafe-command-status{overflow-x:auto!important}}

/* V41 premium layout — presentation only; loaded after every legacy stylesheet. */
html body #restaurantWorkspace.mob37-order-canvas,html body #cafeWorkspace.mob37-order-canvas{display:grid!important;grid-template-columns:minmax(0,1fr) clamp(390px,28vw,470px)!important;grid-template-rows:minmax(0,1fr)!important;grid-template-areas:"catalog checkout"!important;width:100%!important;max-width:none!important;height:100%!important;min-height:0!important;margin:0!important;padding:12px!important;gap:12px!important;overflow:hidden!important;background:#f4f8f8!important}
html body #restaurantWorkspace.mob37-order-canvas>.mob365-order-nav,html body #cafeWorkspace.mob37-order-canvas>.mob365-order-nav{position:absolute!important;top:25px!important;left:28px!important;z-index:30!important;display:block!important;width:auto!important;height:auto!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important}.mob365-order-nav>div,.mob365-order-nav>.m3-badge,.mob365-order-nav>.cafe-status-badge{display:none!important}.mob365-tables-back{height:38px!important;padding:0 15px!important;border:1px solid #dce7e7!important;border-radius:12px!important;background:#fff!important;color:#17363a!important;box-shadow:0 4px 12px #153b3b12!important}
html body #restaurantWorkspace.mob37-order-canvas>.mob37-catalog,html body #cafeWorkspace.mob37-order-canvas>.mob37-catalog{grid-area:catalog!important;position:relative!important;inset:auto!important;display:grid!important;grid-template-rows:62px 62px 54px minmax(0,1fr)!important;grid-template-columns:1fr!important;width:100%!important;max-width:none!important;height:100%!important;min-height:0!important;margin:0!important;border:1px solid #dce7e7!important;border-radius:20px!important;background:#fff!important;overflow:hidden!important;box-shadow:0 12px 32px #143c3c0d!important}.mob37-catalog>.m3-panel-head,.mob37-catalog>.cafe-panel-header{height:62px!important;min-height:62px!important;padding:9px 16px 9px 148px!important;border-bottom:1px solid #edf2f2!important;background:#fff!important}.mob37-catalog h2{font-size:17px!important}
.mob37-catalog .m3-search{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:10px!important;width:100%!important;height:62px!important;margin:0!important;padding:8px 14px!important;border-bottom:1px solid #edf2f2!important;background:#fff!important}.mob37-catalog .m3-search input{height:44px!important;padding:0 13px!important;border:1px solid #d8e4e4!important;border-radius:13px!important;font-size:13px!important}.mob37-catalog .m3-search button{height:44px!important;padding:0 18px!important;border-radius:13px!important}.mob37-catalog>.cafe-catalog-tools{display:contents!important}.mob37-catalog .cafe-searchbar{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:10px!important;width:100%!important;height:62px!important;margin:0!important;padding:8px 14px!important;border-bottom:1px solid #edf2f2!important;background:#fff!important}.mob37-catalog .cafe-search-input{display:grid!important;grid-template-columns:44px minmax(0,1fr)!important;align-items:center!important;height:44px!important;border:1px solid #d8e4e4!important;border-radius:13px!important;overflow:hidden!important;background:#fff!important}.mob37-catalog .cafe-search-input>span{display:grid!important;place-items:center!important;height:100%!important;border-right:1px solid #e7eded!important}.mob37-catalog .cafe-search-input input{width:100%!important;height:42px!important;margin:0!important;padding:0 12px!important;border:0!important;outline:0!important;font-size:13px!important}
.mob37-catalog .category-tabs,.mob37-catalog .cafe-category-strip{display:flex!important;flex-direction:row!important;align-items:center!important;gap:8px!important;width:100%!important;height:54px!important;min-height:54px!important;max-height:54px!important;margin:0!important;padding:7px 14px!important;border-bottom:1px solid #edf2f2!important;background:#fbfdfd!important;overflow-x:auto!important;overflow-y:hidden!important}.mob37-catalog .category-tabs>button,.mob37-catalog .cafe-category-chip{display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;flex:0 0 auto!important;min-width:112px!important;height:38px!important;padding:6px 12px!important;border:1px solid #dce7e7!important;border-radius:999px!important;background:#fff!important;color:#516669!important;font-size:11px!important;font-weight:850!important;white-space:nowrap!important}.mob37-catalog .category-tabs>button.active,.mob37-catalog .cafe-category-chip.active{border-color:#82ccc6!important;background:#e9f6f4!important;color:#087a73!important}.mob37-catalog .cafe-category-icon{display:grid!important;place-items:center!important;width:23px!important;height:23px!important;border-radius:50%!important;background:#edf6f5!important}.mob37-catalog .cafe-category-chip small{display:grid!important;place-items:center!important;min-width:19px!important;height:19px!important;border-radius:50%!important;background:#edf1f2!important;font-size:8px!important}
.mob37-catalog .m3-products,.mob37-catalog .cafe-product-grid{position:relative!important;inset:auto!important;display:grid!important;grid-template-columns:repeat(4,minmax(155px,1fr))!important;grid-auto-rows:94px!important;align-content:start!important;gap:9px!important;width:100%!important;height:100%!important;min-height:0!important;margin:0!important;padding:12px 14px 16px!important;overflow-y:auto!important;background:#fafcfc!important}.mob37-catalog .m3-product.mob365-product-card,.mob37-catalog .cafe-product-tile.mob365-product-card{position:relative!important;display:grid!important;grid-template-columns:58px minmax(0,1fr)!important;grid-template-rows:1fr auto!important;align-items:center!important;width:100%!important;height:94px!important;min-height:94px!important;max-height:94px!important;margin:0!important;padding:9px 10px!important;gap:4px 10px!important;border:1px solid #dce7e7!important;border-radius:14px!important;background:#fff!important;text-align:left!important;overflow:hidden!important;box-shadow:0 3px 10px #153c3c0a!important}.mob37-catalog .mob365-product-media{position:relative!important;grid-column:1!important;grid-row:1/3!important;display:grid!important;place-items:center!important;width:58px!important;height:58px!important;border-radius:12px!important;overflow:hidden!important;background:#e9f6f4!important}.mob37-catalog .mob365-product-image{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important}.mob37-catalog .m3-product strong,.mob37-catalog .cafe-product-copy strong{display:-webkit-box!important;margin:0!important;font-size:12px!important;line-height:1.18!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}.mob37-catalog .m3-product small,.mob37-catalog .cafe-product-copy small{font-size:8px!important;color:#829294!important}.mob37-catalog .m3-product b,.mob37-catalog .cafe-product-price{grid-column:2!important;color:#087c75!important;font-size:14px!important;font-weight:950!important}.mob37-catalog .m3-product .station{display:none!important}
html body #restaurantWorkspace.mob37-order-canvas>.mob37-checkout,html body #cafeWorkspace.mob37-order-canvas>.mob37-checkout{grid-area:checkout!important;position:relative!important;inset:auto!important;display:flex!important;flex-direction:column!important;width:100%!important;height:100%!important;min-height:0!important;margin:0!important;border:1px solid #dce7e7!important;border-radius:20px!important;overflow:hidden!important;background:#fff!important;box-shadow:0 12px 32px #143c3c10!important}
html body .mob365-floor-only>.mob365-tables-view{display:block!important;width:100vw!important;height:100dvh!important;margin:0!important;padding:0!important}.mob365-floor-only .m3-floor-panel,.mob365-floor-only .cafe-tables-panel{display:grid!important;grid-template-rows:74px 56px minmax(0,1fr) 60px 26px!important;width:100%!important;height:100%!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;overflow:hidden!important}.mob365-floor-only .m3-floor,.mob365-floor-only .cafe-floor-map{position:relative!important;inset:auto!important;display:grid!important;grid-template-columns:repeat(auto-fit,minmax(152px,170px))!important;grid-auto-rows:170px!important;justify-content:center!important;align-content:start!important;gap:30px 50px!important;width:100%!important;height:100%!important;min-height:0!important;margin:0!important;padding:30px 42px!important;overflow:auto!important;background-color:#f6f9f9!important;background-image:linear-gradient(#dfeaea 1px,transparent 1px),linear-gradient(90deg,#dfeaea 1px,transparent 1px)!important;background-size:42px 42px!important}.mob365-floor-only button.mob34-table-card{position:relative!important;inset:auto!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;width:152px!important;height:152px!important;min-width:152px!important;min-height:152px!important;max-width:152px!important;max-height:152px!important;margin:auto!important;padding:18px 12px!important;border:2px solid #bfd7d7!important;border-radius:50%!important;background:#fff!important;box-shadow:0 8px 22px #173f3f12!important;transform:none!important}.mob365-floor-only button.mob34-table-card.rectangle{border-radius:28px!important}.mob365-floor-only button.mob34-table-card.busy,.mob365-floor-only button.mob34-table-card.occupied{border-color:#efa734!important;background:#fffaf2!important}.mob365-floor-only button.mob34-table-card.reserved{border-color:#32cbd0!important;background:#f6ffff!important}.mob365-floor-only .mob34-table-name{font-size:22px!important}.mob365-floor-only .restaurant-table-commandbar,.mob365-floor-only .cafe-table-actions{min-height:60px!important;max-height:60px!important;margin:0!important;padding:8px 16px!important}.mob365-floor-only .m3-floor-legend,.mob365-floor-only .cafe-floor-legend{min-height:26px!important;max-height:26px!important;margin:0!important;padding:4px 16px!important}
@media(max-width:1450px){.mob37-catalog .m3-products,.mob37-catalog .cafe-product-grid{grid-template-columns:repeat(3,minmax(150px,1fr))!important}html body #restaurantWorkspace.mob37-order-canvas,html body #cafeWorkspace.mob37-order-canvas{grid-template-columns:minmax(0,1fr) 410px!important}}
@media(max-width:1050px){html body #restaurantWorkspace.mob37-order-canvas,html body #cafeWorkspace.mob37-order-canvas{grid-template-columns:1fr!important;grid-template-rows:minmax(600px,1fr) minmax(560px,auto)!important;grid-template-areas:"catalog" "checkout"!important;overflow-y:auto!important}.mob37-catalog .m3-products,.mob37-catalog .cafe-product-grid{grid-template-columns:repeat(2,minmax(145px,1fr))!important}}

/* V42: one authoritative order layout: categories | products | checkout. */
html body #restaurantWorkspace.mob365-order-view.mob37-order-canvas,
html body #cafeWorkspace.mob365-order-view.mob37-order-canvas{
    display:grid!important;
    grid-template-columns:210px minmax(0,1fr) clamp(390px,28vw,470px)!important;
    grid-template-rows:minmax(0,1fr)!important;
    grid-template-areas:none!important;
    column-gap:12px!important;
    padding:12px!important;
}
html body #restaurantWorkspace.mob37-order-canvas>.mob365-category-rail,
html body #cafeWorkspace.mob37-order-canvas>.mob365-category-rail{
    grid-column:1!important;grid-row:1!important;
    position:relative!important;inset:auto!important;
    display:flex!important;flex-direction:column!important;
    width:210px!important;min-width:210px!important;max-width:210px!important;
    height:100%!important;min-height:0!important;margin:0!important;
    border:1px solid #dce7e7!important;border-radius:20px!important;
    background:#fff!important;overflow:hidden!important;
    box-shadow:0 12px 32px #143c3c0d!important;
}
.mob365-category-rail-head{display:flex!important;flex-direction:column!important;justify-content:center!important;flex:0 0 76px!important;padding:18px 16px 12px!important;border-bottom:1px solid #edf2f2!important}
.mob365-category-rail-head small{color:#118d84!important;font-size:8px!important;font-weight:900!important;letter-spacing:.14em!important}
.mob365-category-rail-head strong{margin-top:3px!important;color:#142f35!important;font-size:19px!important}
html body #restaurantWorkspace.mob37-order-canvas>.mob365-category-rail>.category-tabs,
html body #cafeWorkspace.mob37-order-canvas>.mob365-category-rail>.cafe-category-strip{
    display:flex!important;flex:1 1 auto!important;flex-direction:column!important;align-items:stretch!important;
    gap:9px!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;
    margin:0!important;padding:12px!important;border:0!important;background:#f8fbfb!important;
    overflow-x:hidden!important;overflow-y:auto!important;
}
html body #restaurantWorkspace.mob37-order-canvas>.mob365-category-rail>.category-tabs>button,
html body #cafeWorkspace.mob37-order-canvas>.mob365-category-rail>.cafe-category-strip>.cafe-category-chip{
    display:grid!important;grid-template-columns:38px minmax(0,1fr) auto!important;align-items:center!important;justify-content:stretch!important;
    gap:10px!important;flex:0 0 62px!important;width:100%!important;min-width:0!important;height:62px!important;
    margin:0!important;padding:9px 11px!important;border:1px solid #dce7e7!important;border-radius:14px!important;
    background:#fff!important;color:#254349!important;text-align:left!important;font-size:13px!important;font-weight:850!important;
    box-shadow:0 3px 9px #143c3c08!important;white-space:normal!important;
}
html body #restaurantWorkspace.mob37-order-canvas>.mob365-category-rail>.category-tabs>button>span:first-child,
html body #cafeWorkspace.mob37-order-canvas>.mob365-category-rail .cafe-category-icon{
    display:grid!important;place-items:center!important;width:38px!important;height:38px!important;border-radius:11px!important;background:#eaf6f5!important;font-size:17px!important;
}
html body #restaurantWorkspace.mob37-order-canvas>.mob365-category-rail>.category-tabs>button.active,
html body #cafeWorkspace.mob37-order-canvas>.mob365-category-rail>.cafe-category-strip>.cafe-category-chip.active{
    border-color:#33aaa1!important;background:#e9f7f5!important;color:#087970!important;box-shadow:inset 4px 0 0 #11988e!important;
}
html body #restaurantWorkspace.mob37-order-canvas>.mob365-category-rail>.category-tabs>button strong{font-size:13px!important;text-align:left!important}
html body #cafeWorkspace.mob37-order-canvas>.mob365-category-rail>.cafe-category-strip>.cafe-category-chip>span:nth-child(2){min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important}
html body #cafeWorkspace.mob37-order-canvas>.mob365-category-rail>.cafe-category-strip>.cafe-category-chip>small{display:grid!important;place-items:center!important;min-width:25px!important;height:25px!important;border-radius:50%!important;background:#edf2f2!important;color:#546b70!important;font-size:9px!important}
html body #restaurantWorkspace.mob37-order-canvas>.mob37-catalog,
html body #cafeWorkspace.mob37-order-canvas>.mob37-catalog{grid-column:2!important;grid-row:1!important;grid-area:auto!important;grid-template-rows:62px 62px minmax(0,1fr)!important}
html body #restaurantWorkspace.mob37-order-canvas>.mob37-checkout,
html body #cafeWorkspace.mob37-order-canvas>.mob37-checkout{grid-column:3!important;grid-row:1!important;grid-area:auto!important}
html body #restaurantWorkspace.mob37-order-canvas>.mob365-order-nav,
html body #cafeWorkspace.mob37-order-canvas>.mob365-order-nav{grid-column:1!important;grid-row:1!important;grid-area:auto!important;top:18px!important;left:22px!important;z-index:40!important}
html body #restaurantWorkspace.mob37-order-canvas>.mob365-category-rail .mob365-category-rail-head,
html body #cafeWorkspace.mob37-order-canvas>.mob365-category-rail .mob365-category-rail-head{padding-left:112px!important}
html body #cafeWorkspace.mob37-order-canvas>.cafe-panel-splitter,
html body #restaurantWorkspace.mob37-order-canvas>[role="separator"]{display:none!important;width:0!important;border:0!important}
html body #restaurantWorkspace.mob37-order-canvas>.mob37-catalog:before,
html body #cafeWorkspace.mob37-order-canvas>.mob37-catalog:before,
html body #restaurantWorkspace.mob37-order-canvas>.mob37-checkout:before,
html body #cafeWorkspace.mob37-order-canvas>.mob37-checkout:before{display:none!important;content:none!important}
@media(max-width:1450px){
 html body #restaurantWorkspace.mob365-order-view.mob37-order-canvas,html body #cafeWorkspace.mob365-order-view.mob37-order-canvas{grid-template-columns:190px minmax(0,1fr) 390px!important}
 html body #restaurantWorkspace.mob37-order-canvas>.mob365-category-rail,html body #cafeWorkspace.mob37-order-canvas>.mob365-category-rail{width:190px!important;min-width:190px!important;max-width:190px!important}
}
@media(max-width:1050px){
 html body #restaurantWorkspace.mob365-order-view.mob37-order-canvas,html body #cafeWorkspace.mob365-order-view.mob37-order-canvas{grid-template-columns:1fr!important;grid-template-rows:120px minmax(600px,1fr) minmax(560px,auto)!important;overflow-y:auto!important}
 html body #restaurantWorkspace.mob37-order-canvas>.mob365-category-rail,html body #cafeWorkspace.mob37-order-canvas>.mob365-category-rail{grid-column:1!important;grid-row:1!important;width:100%!important;min-width:0!important;max-width:none!important;height:120px!important}
 .mob365-category-rail-head{display:none!important}
 html body #restaurantWorkspace.mob37-order-canvas>.mob365-category-rail>.category-tabs,html body #cafeWorkspace.mob37-order-canvas>.mob365-category-rail>.cafe-category-strip{flex-direction:row!important;overflow-x:auto!important;overflow-y:hidden!important;padding:48px 8px 8px!important}
 html body #restaurantWorkspace.mob37-order-canvas>.mob365-category-rail>.category-tabs>button,html body #cafeWorkspace.mob37-order-canvas>.mob365-category-rail>.cafe-category-strip>.cafe-category-chip{flex:0 0 160px!important;height:58px!important}
 html body #restaurantWorkspace.mob37-order-canvas>.mob37-catalog,html body #cafeWorkspace.mob37-order-canvas>.mob37-catalog{grid-column:1!important;grid-row:2!important}
 html body #restaurantWorkspace.mob37-order-canvas>.mob37-checkout,html body #cafeWorkspace.mob37-order-canvas>.mob37-checkout{grid-column:1!important;grid-row:3!important}
}

/* V50: unified discounts. */
.mob365-discount-dialog{width:min(560px,calc(100vw - 32px))!important;padding:24px!important;border:1px solid #d8e6e6!important;border-radius:20px!important;background:#fff!important;color:#16363d!important;box-shadow:0 28px 75px #071e2c42!important;overflow:hidden!important}
.mob365-discount-dialog h2{margin:3px 0 8px!important;font-size:25px!important;line-height:1.15!important;color:#12323a!important}
.mob365-discount-dialog p{margin:0 0 18px!important;color:#60747a!important;font-size:13px!important;line-height:1.45!important}
.mob365-discount-dialog .cafe-dialog-heading{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:16px!important}
.mob365-discount-dialog .cafe-dialog-x{display:grid!important;place-items:center!important;width:36px!important;height:36px!important;min-width:36px!important;border:1px solid #d8e3e4!important;border-radius:10px!important;background:#f7fafa!important;color:#4c656a!important;font-size:20px!important;cursor:pointer!important}
.mob365-discount-dialog .suite-mixed-grid,.mob365-discount-dialog .cafe-discount-grid{display:grid!important;grid-template-columns:1fr 42px 1fr!important;align-items:end!important;gap:10px!important;margin:14px 0!important}
.mob365-discount-dialog .suite-mixed-grid{grid-template-columns:1fr 1fr!important}
.mob365-discount-dialog .suite-mixed-field{display:block!important;color:#526a70!important;font-size:11px!important;font-weight:900!important;letter-spacing:.04em!important}
.mob365-discount-dialog .suite-mixed-field input{display:block!important;width:100%!important;height:48px!important;margin-top:6px!important;padding:0 12px!important;border:1px solid #bfd2d4!important;border-radius:11px!important;background:#fbfdfd!important;color:#12363d!important;font-size:17px!important;font-weight:850!important;outline:0!important}
.mob365-discount-dialog .suite-mixed-field input:focus{border-color:#12958b!important;box-shadow:0 0 0 3px #19a89c20!important}
.mob365-discount-dialog .cafe-discount-or{display:grid!important;place-items:center!important;height:48px!important;color:#75898e!important;font-size:10px!important;font-weight:900!important}
.mob365-discount-dialog .cafe-discount-before,.mob365-discount-dialog .cafe-discount-result,.mob365-discount-dialog .suite-mixed-check{padding:12px 14px!important;border:1px solid #d7e6e5!important;border-radius:12px!important;background:#f3faf8!important}
.mob365-discount-dialog .cafe-discount-result>div,.mob365-discount-dialog .suite-mixed-check{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important}
.mob365-discount-dialog .new-total strong,.mob365-discount-dialog .suite-mixed-check strong{color:#078176!important;font-size:22px!important}
.mob365-discount-dialog .cafe-print-actions,.mob365-discount-dialog .m3-dialog-actions{display:flex!important;justify-content:flex-end!important;gap:10px!important;margin-top:18px!important;padding:0!important;border:0!important}
.mob365-discount-dialog .cafe-print-actions button,.mob365-discount-dialog .m3-dialog-actions button{min-width:118px!important;min-height:46px!important;border-radius:11px!important;font-size:12px!important;font-weight:900!important}
@media(max-width:620px){.mob365-discount-dialog{padding:18px!important}.mob365-discount-dialog .cafe-discount-grid,.mob365-discount-dialog .suite-mixed-grid{grid-template-columns:1fr!important}.mob365-discount-dialog .cafe-discount-or{height:auto!important}}

/* V44: remove the false divider and give the Tables action an isolated hit target. */
html body #restaurantWorkspace.mob37-order-canvas>.mob365-category-rail,
html body #cafeWorkspace.mob37-order-canvas>.mob365-category-rail{
    border:0!important;
    outline:0!important;
    box-shadow:0 8px 24px #143c3c0b!important;
}
html body #restaurantWorkspace.mob37-order-canvas>.mob365-category-rail:before,
html body #restaurantWorkspace.mob37-order-canvas>.mob365-category-rail:after,
html body #cafeWorkspace.mob37-order-canvas>.mob365-category-rail:before,
html body #cafeWorkspace.mob37-order-canvas>.mob365-category-rail:after{display:none!important;content:none!important;border:0!important}
html body #restaurantWorkspace.mob37-order-canvas>.mob365-category-rail .mob365-category-rail-head,
html body #cafeWorkspace.mob37-order-canvas>.mob365-category-rail .mob365-category-rail-head{
    flex-basis:112px!important;
    justify-content:flex-end!important;
    padding:58px 14px 12px!important;
}
html body #restaurantWorkspace.mob37-order-canvas>.mob365-order-nav,
html body #cafeWorkspace.mob37-order-canvas>.mob365-order-nav{
    position:absolute!important;
    top:22px!important;left:24px!important;
    display:block!important;
    width:138px!important;height:42px!important;
    margin:0!important;padding:0!important;
    z-index:100!important;
    pointer-events:auto!important;
}
html body #restaurantWorkspace.mob37-order-canvas>.mob365-order-nav>.mob365-tables-back,
html body #cafeWorkspace.mob37-order-canvas>.mob365-order-nav>.mob365-tables-back{
    position:relative!important;inset:auto!important;
    display:flex!important;align-items:center!important;justify-content:center!important;
    width:138px!important;height:42px!important;min-width:138px!important;
    margin:0!important;padding:0 14px!important;
    border:1px solid #bfcfd2!important;border-radius:12px!important;
    background:#fff!important;color:#12363d!important;
    box-shadow:0 5px 14px #16393d1a!important;
    font-size:13px!important;font-weight:900!important;
    cursor:pointer!important;pointer-events:auto!important;
    touch-action:manipulation!important;
}
html body #restaurantWorkspace.mob37-order-canvas>.mob365-order-nav>.mob365-tables-back:hover,
html body #cafeWorkspace.mob37-order-canvas>.mob365-order-nav>.mob365-tables-back:hover{border-color:#15978e!important;background:#eaf7f5!important;color:#08766f!important}

/* V45: product photos in catalog and checkout. */
.mob37-checkout .mob365-cart-media{position:relative!important;display:grid!important;place-items:center!important;width:46px!important;height:46px!important;min-width:46px!important;border-radius:10px!important;background:#e9f6f4!important;color:#087b73!important;overflow:hidden!important;font-size:11px!important;font-weight:900!important}
.mob37-checkout .mob365-cart-media>img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;background:#e9f6f4!important}
.mob37-checkout .m3-line-item{grid-template-columns:46px minmax(0,1fr) auto auto auto auto auto!important;gap:8px!important}
.mob37-checkout .cafe-cart-line{grid-template-columns:46px minmax(0,1fr) auto!important;gap:9px!important}
.mob37-checkout .cafe-cart-actions{min-width:0!important}

/* V47: table operations live with the active order, where OrderId/TabId exists. */
.mob37-checkout .m3-order-buttons>.table-operation,.mob37-checkout .cafe-payment-grid>.table-operation{min-height:40px!important;background:#f4f8f8!important;border:1px solid #cfdedf!important;color:#24464c!important}
.mob37-checkout .m3-order-buttons>.table-operation.danger-soft,.mob37-checkout .cafe-payment-grid>.table-operation.danger{border-color:#efb6b0!important;background:#fff4f3!important;color:#b13e34!important}
.mob37-checkout .cafe-payment-grid>.table-operation{display:flex!important;align-items:center!important;justify-content:center!important}

/* V43: compact non-overlapping tables and a two-column category rail without scrolling. */
html body #restaurantWorkspace.mob37-order-canvas,
html body #cafeWorkspace.mob37-order-canvas{
    grid-template-columns:330px minmax(0,1fr) clamp(390px,27vw,460px)!important;
}
html body #restaurantWorkspace.mob37-order-canvas>.mob365-category-rail,
html body #cafeWorkspace.mob37-order-canvas>.mob365-category-rail{
    width:330px!important;min-width:330px!important;max-width:330px!important;
}
html body #restaurantWorkspace.mob37-order-canvas>.mob365-category-rail>.category-tabs,
html body #cafeWorkspace.mob37-order-canvas>.mob365-category-rail>.cafe-category-strip{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-auto-rows:minmax(48px,1fr)!important;
    align-content:stretch!important;
    gap:8px!important;
    padding:10px!important;
    overflow:hidden!important;
    scrollbar-width:none!important;
}
html body #restaurantWorkspace.mob37-order-canvas>.mob365-category-rail>.category-tabs>button,
html body #cafeWorkspace.mob37-order-canvas>.mob365-category-rail>.cafe-category-strip>.cafe-category-chip{
    grid-template-columns:32px minmax(0,1fr) auto!important;
    gap:7px!important;
    width:100%!important;min-width:0!important;
    height:100%!important;min-height:48px!important;max-height:64px!important;
    padding:7px 8px!important;
    font-size:11px!important;
}
html body #restaurantWorkspace.mob37-order-canvas>.mob365-category-rail>.category-tabs>button>span:first-child,
html body #cafeWorkspace.mob37-order-canvas>.mob365-category-rail .cafe-category-icon{
    width:32px!important;height:32px!important;font-size:14px!important;
}
html body #restaurantWorkspace.mob37-order-canvas>.mob365-category-rail>.category-tabs>button strong{font-size:11px!important;overflow:hidden!important;text-overflow:ellipsis!important}

/* Normal floor view ignores saved absolute coordinates; edit mode still owns them. */
.mob365-floor-only .restaurant-floor-grid:not(.is-layout-editing),
.mob365-floor-only .cafe-floor-map:not(.is-layout-editing){
    display:grid!important;
    grid-template-columns:repeat(auto-fit,minmax(122px,142px))!important;
    grid-auto-rows:142px!important;
    justify-content:space-evenly!important;
    align-content:start!important;
    gap:16px 24px!important;
    padding:22px 28px!important;
}
.mob365-floor-only .restaurant-floor-grid:not(.is-layout-editing)>button.mob34-table-card,
.mob365-floor-only .cafe-floor-map:not(.is-layout-editing)>button.mob34-table-card{
    position:relative!important;
    inset:auto!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;
    grid-column:auto!important;grid-row:auto!important;
    place-self:center!important;
    width:126px!important;height:126px!important;
    min-width:126px!important;min-height:126px!important;
    max-width:126px!important;max-height:126px!important;
    margin:0!important;padding:15px 9px!important;
    transform:none!important;
}
.mob365-floor-only .restaurant-floor-grid:not(.is-layout-editing)>button.mob34-table-card.rectangle,
.mob365-floor-only .cafe-floor-map:not(.is-layout-editing)>button.mob34-table-card.rectangle{border-radius:23px!important}
.mob365-floor-only .restaurant-floor-grid:not(.is-layout-editing) .mob34-table-name,
.mob365-floor-only .cafe-floor-map:not(.is-layout-editing) .mob34-table-name{margin:6px 0 3px!important;font-size:18px!important}
.mob365-floor-only .restaurant-floor-grid:not(.is-layout-editing) .mob34-table-capacity,
.mob365-floor-only .cafe-floor-map:not(.is-layout-editing) .mob34-table-capacity{font-size:8px!important}
.mob365-floor-only .restaurant-floor-grid:not(.is-layout-editing) .mob34-table-total,
.mob365-floor-only .cafe-floor-map:not(.is-layout-editing) .mob34-table-total{margin-top:4px!important;font-size:14px!important}
.mob365-floor-only .restaurant-floor-grid:not(.is-layout-editing) .mob34-table-note,
.mob365-floor-only .cafe-floor-map:not(.is-layout-editing) .mob34-table-note{margin-top:3px!important;font-size:7px!important}
.mob365-floor-only .restaurant-floor-grid:not(.is-layout-editing) .mob34-table-state,
.mob365-floor-only .cafe-floor-map:not(.is-layout-editing) .mob34-table-state{top:7px!important;right:7px!important;padding:3px 5px!important;font-size:7px!important}
@media(max-width:1450px){
 html body #restaurantWorkspace.mob37-order-canvas,html body #cafeWorkspace.mob37-order-canvas{grid-template-columns:290px minmax(0,1fr) 390px!important}
 html body #restaurantWorkspace.mob37-order-canvas>.mob365-category-rail,html body #cafeWorkspace.mob37-order-canvas>.mob365-category-rail{width:290px!important;min-width:290px!important;max-width:290px!important}
}
@media(max-width:1050px){
 html body #restaurantWorkspace.mob37-order-canvas,html body #cafeWorkspace.mob37-order-canvas{grid-template-columns:1fr!important}
 html body #restaurantWorkspace.mob37-order-canvas>.mob365-category-rail>.category-tabs,html body #cafeWorkspace.mob37-order-canvas>.mob365-category-rail>.cafe-category-strip{grid-template-columns:repeat(2,minmax(145px,1fr))!important;grid-auto-flow:column!important;grid-template-rows:58px!important;overflow-x:auto!important;overflow-y:hidden!important}
}

/* V50 final precedence: do not let the former fixed 126px rules disable controls. */
.mob365-floor-only .restaurant-floor-grid:not(.is-layout-editing){grid-template-columns:repeat(auto-fit,minmax(var(--restaurant-table-cell,148px),1fr))!important;grid-auto-rows:var(--restaurant-table-cell,148px)!important}
.mob365-floor-only .cafe-floor-map:not(.is-layout-editing){grid-template-columns:repeat(auto-fit,minmax(var(--cafe-table-cell,148px),1fr))!important;grid-auto-rows:var(--cafe-table-cell,148px)!important}
.mob365-floor-only .restaurant-floor-grid:not(.is-layout-editing)>button.mob34-table-card{width:clamp(88px,var(--m3-table-w,126px),200px)!important;height:clamp(88px,var(--m3-table-h,126px),200px)!important;min-width:88px!important;min-height:88px!important;max-width:200px!important;max-height:200px!important;transform:none!important}
.mob365-floor-only .cafe-floor-map:not(.is-layout-editing)>button.mob34-table-card{width:var(--cafe-table-size,126px)!important;height:var(--cafe-table-size,126px)!important;min-width:90px!important;min-height:90px!important;max-width:180px!important;max-height:180px!important;transform:translate(var(--cafe-dx,0px),var(--cafe-dy,0px)) scale(var(--cafe-local-scale,1))!important}
.mob365-floor-only .restaurant-floor-grid:not(.is-layout-editing) .mob34-table-name,.mob365-floor-only .cafe-floor-map:not(.is-layout-editing) .mob34-table-name{font-size:20px!important;line-height:1.1!important}
.mob365-floor-only .restaurant-floor-grid:not(.is-layout-editing) .mob34-table-capacity,.mob365-floor-only .cafe-floor-map:not(.is-layout-editing) .mob34-table-capacity{font-size:10px!important;line-height:1.25!important}
.mob365-floor-only .restaurant-floor-grid:not(.is-layout-editing) .mob34-table-total,.mob365-floor-only .cafe-floor-map:not(.is-layout-editing) .mob34-table-total{font-size:16px!important;line-height:1.15!important}
.mob365-floor-only .restaurant-floor-grid:not(.is-layout-editing) .mob34-table-note,.mob365-floor-only .cafe-floor-map:not(.is-layout-editing) .mob34-table-note{margin-top:4px!important;font-size:9px!important;line-height:1.2!important}
.mob365-floor-only .restaurant-floor-grid:not(.is-layout-editing) .mob34-table-state,.mob365-floor-only .cafe-floor-map:not(.is-layout-editing) .mob34-table-state{padding:4px 6px!important;font-size:8px!important}
