/* Applied only to the existing Niel staff ordering mode. */
body.order-menu.staff-mode{height:100dvh;overflow:hidden;background:#edf0f5;color:#15263c}.order-menu.staff-mode>main{height:100%;padding:10px!important;max-width:none!important;display:flex;flex-direction:column;gap:0;overflow:hidden}.order-menu.staff-mode .intro{display:none!important}.order-menu.staff-mode .workspace{flex:1;min-height:0;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(335px,36%)!important;gap:12px;align-items:stretch!important;overflow:hidden}.order-menu.staff-mode .catalog{min-width:0;min-height:0;overflow:auto;padding-right:3px}.order-menu.staff-mode #cats{position:sticky;top:0;z-index:4;background:#1b2a40;border-radius:12px;padding:8px;display:block!important}.order-menu.staff-mode #cats .brand-category-row{background:transparent;border:0}.order-menu.staff-mode #cats button{min-height:44px;border-radius:8px;background:#30425a;color:#fff;border:1px solid #435571;padding:9px 12px;font-size:14px}.order-menu.staff-mode #cats button.selected{background:#f1b740;color:#17263c;border-color:#f1b740}.order-menu.staff-mode #cats .category-brand-label,.order-menu.staff-mode #cats .brand-label{color:#dbe5f3}.order-menu.staff-mode #search{background:white;border:1px solid #c5d0df;border-radius:10px;min-height:46px;font-size:16px}.order-menu.staff-mode .search-label{font-size:13px;color:#41556f}.order-menu.staff-mode #products{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(112px,1fr))!important;gap:8px;padding-top:10px;align-content:start}.order-menu.staff-mode .product{min-height:82px!important;display:flex!important;align-items:center;justify-content:center;background:#fff;border:1px solid #d4dce7;border-radius:12px;box-shadow:0 2px 3px #17263c08;padding:12px 8px!important}.order-menu.staff-mode .product h3{font-size:15px!important;line-height:1.3;text-align:center;font-weight:750}.order-menu.staff-mode .basket{position:static!important;height:100%!important;max-height:none!important;overflow:auto!important;min-height:0;border-radius:14px;background:white;padding:12px!important}.order-menu.staff-mode .basket .staff-customer-strip{display:grid!important;grid-template-columns:1fr 1fr!important}.order-menu.staff-mode .basket .staff-customer-strip label{font-size:13px}.order-menu.staff-mode .basket .staff-customer-strip input{min-height:44px}.order-menu.staff-mode .basket .order-type{display:flex!important;gap:4px;margin:8px 0}.order-menu.staff-mode .basket .order-type button{min-height:44px;padding:8px 4px;font-size:12px;flex:1}.order-menu.staff-mode .basket .order-type span{display:none}.order-menu.staff-mode #basket-lines{min-height:80px!important}.order-menu.staff-mode .basket-grid-head{display:none!important}.order-menu.staff-mode .basket-grid-row{grid-template-columns:minmax(0,1fr) 45px 60px 24px!important}.order-menu.staff-mode .basket-grid-row>[data-row-total]{grid-column:2/4}.order-menu.staff-mode .basket-grid-row>button{grid-column:4;grid-row:1}.order-menu.staff-mode .basket-grid-row input{min-height:42px!important}.order-menu.staff-mode #review{background:#156b55;color:white;font-weight:800;min-height:54px;position:sticky;bottom:0;box-shadow:0 -5px 10px white}.order-menu.staff-mode .basket-new{min-height:42px;background:#e9eff8;border:1px solid #b8cae2}.order-menu.staff-mode>footer,.order-menu.staff-mode>.modulo-credit{display:none}
@media(max-width:767px){body.order-menu.staff-mode{overflow:auto;height:auto;min-height:100dvh}.order-menu.staff-mode>main{height:auto;overflow:visible;padding:8px!important}.order-menu.staff-mode .workspace{display:block!important;overflow:visible}.order-menu.staff-mode .catalog{overflow:visible}.order-menu.staff-mode #products{grid-template-columns:repeat(auto-fill,minmax(100px,1fr))!important}.order-menu.staff-mode .product{min-height:75px!important}.order-menu.staff-mode .mobile-order-sheet .basket{height:auto!important;max-height:none!important;overflow:visible!important}.order-menu.staff-mode .staff-order-dock{min-height:54px}.order-menu.staff-mode .basket .staff-customer-strip{grid-template-columns:1fr!important}}
.cloud-basket-tools{display:flex;gap:6px;margin:10px 0}.cloud-basket-tools button{flex:1;min-height:44px;border:1px solid #c5d0df;background:#f0f4fa;border-radius:8px;font-size:13px}.order-menu.staff-mode #cats strong{color:#dce6f5}.order-menu.staff-mode #cats [class*=brand]{background:transparent}
.order-menu.staff-mode #products{display:block!important}.order-menu.staff-mode .products-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(112px,1fr))!important;gap:8px}.order-menu.staff-mode #cats .menu-brand-row{background:transparent;border:0;padding:3px;display:flex;gap:8px;align-items:center}.order-menu.staff-mode #cats .menu-brand-label{color:#cbd9eb;font-size:10px;min-width:62px}.order-menu.staff-mode #cats .menu-category-strip{display:flex;gap:6px;overflow-x:auto;min-width:0}.order-menu.staff-mode #cats .menu-category-strip button{flex:none}.order-menu.staff-mode .section-title{font-size:17px;margin:14px 0 8px}@media(max-width:767px){.order-menu.staff-mode .products-grid{grid-template-columns:repeat(auto-fill,minmax(100px,1fr))!important}}
.order-menu.staff-mode #cats{background:#1b2a40!important}.order-menu.staff-mode #cats .menu-brand-row{background:transparent!important;border:0!important}.order-menu.staff-mode #cats button{background:#30425a!important;color:white!important;border-color:#435571!important}.order-menu.staff-mode #cats button.selected{background:#f1b740!important;color:#17263c!important;border-color:#f1b740!important}.order-menu.staff-mode #cats .menu-brand-label{color:#dce6f5!important}

.order-menu.staff-mode .cloud-printbar{position:sticky;bottom:-12px;background:#fff;padding:10px 0 12px;z-index:3;box-shadow:0 -7px 12px #fff}.order-menu.staff-mode .cloud-printbar #review{position:static;box-shadow:none;margin:0}.order-menu.staff-mode #review:disabled{opacity:1;background:#90b3aa;color:#fff}
/* Hide the customer credit wrapper as well, so focusing a receipt action cannot scroll the staff document. */
.order-menu.staff-mode>div:has(>.modulo-credit){display:none!important}

/* Only overflow changes: fitting concept rows retain their existing alignment. */
.order-menu.staff-mode #cats{overflow:visible!important;white-space:normal!important;max-height:none!important}
.order-menu.staff-mode #cats .menu-brand-row{min-width:0!important;width:100%!important;overflow:visible!important;align-items:flex-start!important}
.order-menu.staff-mode #cats .menu-brand-label{flex:0 0 62px!important;white-space:normal!important;padding-top:11px}
.order-menu.staff-mode #cats .menu-category-strip{flex:1 1 0!important;flex-wrap:wrap!important;overflow:visible!important;white-space:normal!important;min-width:0!important}
.order-menu.staff-mode #cats .menu-category-strip button{flex:0 1 auto!important;max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere;min-height:44px!important}
.order-menu.staff-mode #cats.has-wrapped-categories{position:static!important}

@media(max-width:480px){.order-menu.staff-mode #cats .menu-brand-row{display:block!important}.order-menu.staff-mode #cats .menu-brand-label{padding-top:0;margin:3px 0 6px}.order-menu.staff-mode #cats .menu-category-strip{width:100%!important}}
