/* Readable, quiet badges across the current web workspace. Printed receipts are excluded. */
@media screen {
body.oys-fresh-solid.oys-milk-workspace{--badge-ink:#24232b;--badge-fill:#efedf6;--badge-line:#dcd7e8;--badge-accent:#8c7bb5}
body.oys-fresh-solid.oys-milk-workspace :is(.badge,.fresh-stock-badge,.stock-badge,.marketplace-promo,.milk-status,.milk-variant-badge,.milk-category,.catalog-category,.product-brand,.directory-count,.ms-result,.ms-id,.ms-role,.sales-pro-status,.reminder-pill,.reminder-status,.whatsapp-count,.whatsapp-due-badge,.whatsapp-log-status,.quote-badge,.section-count,.simulation-pill,.login-pill,.customer-mode,.fresh-ready-state,.gross-active,.profit-modern-count,.profit-modern-day-count,.milk-branch){
 --badge-fill:#efedf6;--badge-line:#dcd7e8;--badge-accent:#8c7bb5;
 display:inline-flex!important;align-items:center;justify-content:center;gap:6px;box-sizing:border-box;
 min-height:25px;max-width:100%;padding:4px 10px!important;border:1px solid var(--badge-line)!important;border-radius:12px!important;
 background:var(--badge-fill)!important;background-image:none!important;color:var(--badge-ink)!important;
 font-family:inherit;font-size:11px!important;font-weight:650!important;line-height:1.4!important;letter-spacing:0!important;text-transform:none!important;
 opacity:1!important;text-shadow:none!important;box-shadow:0 1px 3px #49386505,inset 0 1px 0 #ffffff8c!important;filter:none!important;
 white-space:normal;overflow-wrap:anywhere;text-align:center;vertical-align:middle;
 transition:background-color 180ms ease,border-color 180ms ease,box-shadow 180ms ease;
}
body.oys-fresh-solid.oys-milk-workspace :is(.badge,.fresh-stock-badge,.stock-badge,.marketplace-promo,.milk-status,.milk-variant-badge,.milk-category,.catalog-category,.product-brand,.directory-count,.ms-result,.ms-id,.sales-pro-status,.reminder-pill,.reminder-status,.whatsapp-count,.whatsapp-due-badge,.whatsapp-log-status,.quote-badge,.section-count,.simulation-pill,.login-pill,.customer-mode,.fresh-ready-state,.gross-active,.profit-modern-count,.profit-modern-day-count,.milk-branch) :is(span,b,strong,small){color:var(--badge-ink)!important;font-size:inherit!important;line-height:inherit!important;opacity:1!important}
/* Semantic colours remain distinguishable without relying on a pale text colour. */
body.oys-fresh-solid.oys-milk-workspace :is(.badge.green,.badge.success,.fresh-stock-badge.is-available,.milk-status.is-available,.fresh-ready-state.is-ready,.gross-active,.reminder-status.sent,.whatsapp-log-status.sent,.whatsapp-due-badge:not(.danger):not(.warning):not(.neutral)){
 --badge-fill:#e7f5ed;--badge-line:#c7e2d2;--badge-accent:#4d9872;
}
body.oys-fresh-solid.oys-milk-workspace :is(.badge.amber,.badge.warning,.badge.orange,.stock-badge.low,.fresh-stock-badge.is-low,.milk-status.is-low,.fresh-ready-state.needs-shift,.marketplace-promo,.whatsapp-due-badge.warning,.whatsapp-log-status.uncertain){
 --badge-fill:#fff3df;--badge-line:#ecd7ae;--badge-accent:#b38b43;
}
body.oys-fresh-solid.oys-milk-workspace :is(.badge.red,.badge.danger,.badge.error,.fresh-stock-badge.is-empty,.milk-status.is-empty,.whatsapp-due-badge.danger,.whatsapp-log-status.failed,.marketplace-card.out-of-stock .stock-badge){
 --badge-fill:#fcecee;--badge-line:#eccbd1;--badge-accent:#bf7686;
}
body.oys-fresh-solid.oys-milk-workspace :is(.badge.blue,.badge.info,.badge.teal,.badge.cyan){--badge-fill:#eaf2fc;--badge-line:#cdddF0;--badge-accent:#6b96c4}
body.oys-fresh-solid.oys-milk-workspace :is(.badge.purple,.milk-variant-badge,.directory-count,.ms-result,.customer-mode,.login-pill){--badge-fill:#efebfc;--badge-line:#dcd3f4;--badge-accent:#8b78bc}
body.oys-fresh-solid.oys-milk-workspace :is(.badge.gray,.badge.grey,.badge.neutral,.badge.muted,.fresh-stock-badge.is-untracked,.milk-status.is-untracked,.milk-category,.catalog-category,.product-brand,.whatsapp-due-badge.neutral,.ms-role){--badge-fill:#f0efed;--badge-line:#e0ddd7;--badge-accent:#91918d}
body.oys-fresh-solid.oys-milk-workspace :is(.sales-pro-status,.milk-branch){--badge-fill:#edf6f1;--badge-line:#d2e5da;--badge-accent:#6a9b81}
body.oys-fresh-solid.oys-milk-workspace :is(.badge.green,.badge.red,.badge.danger,.badge.amber,.badge.warning,.badge.success)::before{content:"";width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:var(--badge-accent);box-shadow:none}
body.oys-fresh-solid.oys-milk-workspace :is(.milk-status,.sales-pro-status,.fresh-ready-state,.milk-branch,.whatsapp-log-status)>i{display:block;width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:var(--badge-accent)!important;box-shadow:none!important;animation:none!important}
body.oys-fresh-solid.oys-milk-workspace :is(.badge,.fresh-ready-state,.sales-pro-status,.whatsapp-log-status,.simulation-pill)>.icon{width:13px;height:13px;flex:none;color:var(--badge-accent)!important}
/* Product-photo badges have a solid fill so they stay readable on busy packaging. */
body.oys-fresh-solid.oys-milk-workspace .stock-badge:not(.low){--badge-fill:#e7f5ed;--badge-line:#c7e2d2;--badge-accent:#4d9872}
body.oys-fresh-solid.oys-milk-workspace :is(.stock-badge,.fresh-stock-badge,.marketplace-promo){min-height:25px;padding:4px 8px!important;font-size:10.5px!important;border-radius:10px!important;box-shadow:0 2px 5px #3023300d!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;white-space:nowrap;max-width:calc(100% - 16px)}
body.oys-fresh-solid.oys-milk-workspace .marketplace-promo{--badge-fill:#fff3df;--badge-line:#ecd7ae;--badge-accent:#b38b43}
body.oys-fresh-solid.oys-milk-workspace .milk-status{margin-top:4px;justify-content:flex-start}
body.oys-fresh-solid.oys-milk-workspace .milk-variant-badge,body.oys-fresh-solid.oys-milk-workspace .milk-category{padding:3px 8px!important;min-height:23px;font-size:10.5px!important;margin-bottom:3px}
body.oys-fresh-solid.oys-milk-workspace .milk-product-copy .milk-category,body.oys-fresh-solid.oys-milk-workspace .milk-product-copy .milk-variant-badge{vertical-align:middle}
/* Compact counters: stable size, centred digits and no flashing animation. */
body.oys-fresh-solid.oys-milk-workspace :is(.support-count,.directory-count,.whatsapp-count,.profit-modern-count,.profit-modern-day-count,.milk-filter-tab>b,.support-filters span){font-variant-numeric:tabular-nums;font-weight:700!important}
body.oys-fresh-solid.oys-milk-workspace .support-count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;min-height:22px;height:auto;width:auto;max-width:60px;padding:2px 6px!important;border:1px solid #e6beca!important;border-radius:10px!important;background:#f9e7ed!important;color:#29212a!important;font-size:11px!important;line-height:1.35!important;box-shadow:0 1px 3px #47303b0b!important;opacity:1!important;letter-spacing:0;white-space:nowrap;animation:none!important}
body.oys-fresh-solid.oys-milk-workspace .support-shortcut>.support-count{top:-5px;right:-5px;border:2px solid #fffdf9!important;min-width:22px;min-height:22px;padding:2px 5px!important}
body.oys-fresh-solid.oys-milk-workspace .support-nav-count{position:static!important;margin-left:auto;flex:none;inset:auto!important}
body.oys-fresh-solid.oys-milk-workspace :is(.milk-filter-tab>b,.support-filters span){display:inline-flex;align-items:center;justify-content:center;min-width:22px;min-height:22px;padding:2px 5px!important;background:#eeeaf7!important;border:1px solid #e1d9ef!important;border-radius:9px!important;color:#24232b!important;font-size:11px!important;line-height:1.3!important}
body.oys-fresh-solid.oys-milk-workspace .milk-filter-tab.active>b{background:#fffdfd!important;border-color:#dfd6f2!important}
body.oys-fresh-solid.oys-milk-workspace .sidebar .nav-link>.badge{flex:none;min-height:22px;padding:3px 7px!important;font-size:10.5px!important;border-radius:9px!important;white-space:nowrap;max-width:78px}
body.oys-fresh-solid.oys-milk-workspace .sidebar .nav-link>.badge::before{display:none}
body.oys-fresh-solid.oys-milk-workspace .cart-header>.badge{margin-left:auto;min-height:25px;flex:none;white-space:nowrap}
body.oys-fresh-solid.oys-milk-workspace .customer-mode{font-size:10px!important;min-height:22px;padding:3px 8px!important;white-space:nowrap}
body.oys-fresh-solid.oys-milk-workspace .ms-member-card .member-card-head>.badge{max-width:100%;white-space:normal;flex-shrink:1}
body.oys-fresh-solid.oys-milk-workspace :is(.unit-equation-chip,.milk-equation){font-size:11px!important;line-height:1.55!important}
body.oys-fresh-solid.oys-milk-workspace .unit-equation-chip{padding:7px 10px!important;border-radius:10px!important;background:#f5f2fb!important;border:1px solid #e4ddec!important;color:#24232b!important}
/* Keep explicit visibility rules: unread counts and collapsed navigation must not reappear. */
body.oys-fresh-solid.oys-milk-workspace :is(.badge,.support-count,.fresh-stock-badge,.milk-status)[hidden]{display:none!important}
body.oys-fresh-solid.oys-milk-workspace .collapsed .sidebar .nav-link>:is(.badge,.support-count),body.oys-fresh-solid.oys-milk-workspace.collapsed .sidebar .nav-link>:is(.badge,.support-count){display:none!important}
@media(max-width:760px){body.oys-fresh-solid.oys-milk-workspace :is(.fresh-ready-state,.sales-pro-status,.reminder-pill,.directory-count,.ms-result){min-height:25px;font-size:10.5px!important;padding:4px 8px!important}body.oys-fresh-solid.oys-milk-workspace .topbar .fresh-ready-state{min-width:92px;max-width:110px;flex-shrink:0;text-align:left;justify-content:flex-start}body.oys-fresh-solid.oys-milk-workspace .login-pill{font-size:10.5px!important}body.oys-fresh-solid.oys-milk-workspace .milk-status{font-size:10.5px!important}body.oys-fresh-solid.oys-milk-workspace .milk-list-title>span{line-height:1.5}}
@media(prefers-reduced-motion:reduce){body.oys-fresh-solid.oys-milk-workspace :is(.badge,.milk-status,.stock-badge,.fresh-ready-state,.sales-pro-status,.support-count){transition:none!important;animation:none!important}}
}
