#mmPosType[hidden]{display:none!important}#mmPosBuyerSearchPanel .mm-pos-buyer-search-box{max-width:850px;margin:auto}#mmPosBuyerSearch{font-size:16px}#mmPosProductGrid .mm-pos-product-img{height:110px}#mmPosProductGrid .mm-pos-product-img img{object-fit:contain}#mmPosProductGrid .mm-pos-product-card{border-radius:12px}#mmPosSearch{font-size:16px;min-width:160px}#sinScanOpen{white-space:nowrap;font-size:12px}#wb2112OfflineNote{margin:12px 24px}#mmPosCartItems input[type=number]{min-width:60px;min-height:42px;font-size:16px}#mmPosCartItems .mm-pos-qty button{min-width:36px;min-height:42px}#mmPosProductGrid .mm-pos-type-badge{display:none}.mm-pos-buyer-card span{overflow-wrap:anywhere}@media(max-width:650px){#mmPosProductGrid{grid-template-columns:repeat(2,minmax(0,1fr))}#mmPosOverlay .mm-pos-searchbar{display:flex;flex-wrap:wrap}#mmPosSearch{width:100%}#wb2112OfflineNote{margin:10px 14px;font-size:12px}}

/* V22.6: remove obsolete balance rows even when legacy flex rules override hidden. */
#mmPosOverlay .mm-pos-deposit,#mmPosOverlay div:has(> #mmPosBalanceBefore),#mmPosOverlay div:has(> #mmPosBalanceAfter){display:none!important}

/* V22.14.1: two aligned entry routes, mobile first controls. */
#mmPosOverlay{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;color:#172b46}
#mmPosOverlay #mmPosBuyerSearchPanel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;align-content:start;gap:24px;max-width:1120px;width:100%;min-height:0;margin:0 auto;padding:32px 24px;box-sizing:border-box}
#mmPosBuyerSearchPanel.hidden{display:none!important}
#mmPosOverlay #mmPosBuyerSearchPanel>.mm-pos-buyer-search-box,#mmPosOverlay #mmSelfCartPanel{box-sizing:border-box;width:100%;max-width:none;min-width:0;margin:0;padding:28px;background:#fff;border:1px solid #dce5f0;border-radius:18px;box-shadow:0 6px 24px rgba(24,48,80,.05)}
#mmPosBuyerSearchPanel .mm-pos-kicker{display:block;color:#2467b6;font-size:11px;font-weight:750;letter-spacing:.1em;margin:0 0 10px}
#mmPosBuyerSearchPanel h3{font-family:inherit;font-size:23px;line-height:1.3;letter-spacing:-.02em;margin:0 0 12px;color:#172b46}
#mmPosBuyerSearchPanel p{font-size:14px;line-height:1.65;color:#607086;margin:0 0 22px}
#mmPosBuyerSearchPanel label{display:block;font-size:13px;font-weight:650;color:#344863;margin-bottom:14px}
#mmPosBuyerSearchPanel .form-control{box-sizing:border-box;width:100%;min-width:0;min-height:48px;border:1px solid #cad7e6;border-radius:10px;background:#fff;padding:12px 14px;font-family:inherit;font-size:16px;line-height:1.4}
#mmSelfCartCode{margin-top:8px}
#mmPosBuyerSearchPanel .form-control:focus{outline:3px solid #dcecff;outline-offset:1px;border-color:#387ac6}
#mmPosBuyerSearchPanel .mm-pos-buyer-search-row{display:flex;align-items:stretch;gap:10px;margin:0 0 16px}
#mmPosBuyerSearchPanel .mm-pos-buyer-search-row input{flex:1;width:0}
#mmPosBuyerSearchPanel .btn{display:inline-flex;justify-content:center;align-items:center;min-height:46px;padding:11px 17px;border-radius:10px;font:650 14px/1.4 Inter,system-ui,sans-serif;white-space:nowrap;cursor:pointer}
#mmPosBuyerSearchPanel .btn-primary{background:#2169b5;color:#fff;border:1px solid #2169b5}
#mmPosBuyerSearchPanel .btn-outline{background:#fff;color:#2467b6;border:1px solid #bad0e8}
#mmPosBuyerSearchPanel .btn:hover{filter:brightness(.96)}
#mmPosBuyerSearchPanel .btn:focus-visible{outline:3px solid #9cc9fb;outline-offset:2px}
#mmPosBuyerSearchPanel .mm-self-cart-actions{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:16px}
#mmPosBuyerSearchPanel #mmSelfCartMessage,#mmPosBuyerSearchPanel #mmPosBuyerSearchMessage{margin:0;padding:12px 14px;background:#f3f7fc;border:1px solid #e3ebf5;border-radius:10px;font-size:13px;line-height:1.6;color:#536a84;overflow-wrap:anywhere}
#mmPosBuyerResults:empty{display:none}
#mmPosBuyerResults{margin-top:16px}
@media(max-width:800px){#mmPosOverlay #mmPosBuyerSearchPanel{grid-template-columns:minmax(0,1fr);gap:18px;max-width:620px;padding:22px 16px}#mmPosOverlay #mmPosBuyerSearchPanel>.mm-pos-buyer-search-box,#mmPosOverlay #mmSelfCartPanel{padding:22px}#mmPosBuyerSearchPanel h3{font-size:21px}}
@media(max-width:420px){#mmPosBuyerSearchPanel .mm-pos-buyer-search-row{flex-direction:column}#mmPosBuyerSearchPanel .mm-pos-buyer-search-row input{width:100%;flex:auto}#mmPosBuyerSearchPanel .mm-self-cart-actions .btn{flex:1 1 100%}#mmPosOverlay .mm-pos-header{align-items:flex-start;gap:12px;flex-wrap:wrap}#mmPosOverlay .mm-pos-header h2{font-size:22px}}

/* V22.14.2: imported buyer carts open directly in the checkout list. */
#mmPosMain.mm-self-checkout{display:grid;grid-template-columns:minmax(0,1fr);max-width:1100px;width:100%;box-sizing:border-box;margin:0 auto;gap:18px}
#mmPosMain.mm-self-checkout:not(.mm-self-add-products)>.mm-pos-products{display:none!important}
#mmPosMain.mm-self-checkout>.mm-pos-cart{width:100%;min-width:0;max-width:none;box-sizing:border-box;position:static;max-height:none;scroll-margin-top:110px}
#mmPosMain.mm-self-checkout .mm-pos-cart-items{max-height:none;overflow:visible}
#mmPosMain.mm-self-checkout .mm-pos-cart-heading{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
#mmSelfAddProducts.hidden{display:none!important}
#mmPosMain.mm-self-checkout .mm-pos-cart-row{padding-top:18px;padding-bottom:18px;gap:14px}
#mmPosMain.mm-self-checkout .mm-pos-cart-name strong{font-size:16px;line-height:1.45;overflow-wrap:anywhere}
#mmPosMain.mm-self-checkout .mm-pos-summary{margin-top:18px}
#mmPosMain.mm-self-checkout .mm-pos-checkout{min-height:54px;white-space:normal;line-height:1.5}
@media(max-width:650px){#mmPosMain.mm-self-checkout{padding:14px}#mmPosMain.mm-self-checkout .mm-pos-cart-row{display:grid;grid-template-columns:minmax(0,1fr) auto}#mmPosMain.mm-self-checkout .mm-pos-cart-name{grid-column:1/-1}#mmPosMain.mm-self-checkout .mm-pos-line-total{grid-column:1;grid-row:3}#mmPosMain.mm-self-checkout .mm-pos-remove{grid-column:2;grid-row:2/4;min-width:40px;min-height:44px}#mmPosMain.mm-self-checkout .mm-pos-cart-heading .btn{min-height:44px;font-size:13px}#mmPosMain.mm-self-checkout .mm-pos-cart-heading>div{flex:1 0 100%}}
