/* Scoped numerical badges: no navigation dimensions/routes/visibility changes. */
[data-built-badge-host="true"] { position:relative; }
[data-built-badge-host="true"] > .built-unread-badge {
 position:absolute!important;display:flex!important;align-items:center!important;justify-content:center!important;
 top:5px!important;right:5px!important;left:auto!important;bottom:auto!important;min-width:18px!important;width:auto!important;
 height:18px!important;max-width:34px!important;padding:1px 4px!important;border:2px solid #121212!important;
 border-radius:24px!important;background:#ff7a26!important;color:#fff!important;font:750 10px/1 Inter,system-ui,sans-serif!important;
 box-sizing:border-box!important;transform:none!important;pointer-events:none!important;z-index:3!important;
}
.bottom-nav .nav-item[data-built-badge-host="true"] > .built-unread-badge {
 top:1px!important;left:calc(50% + 4px)!important;right:auto!important;height:17px!important;min-width:17px!important;font-size:9px!important;
}
/* Business navigation: counts never become a third grid/flex child or cover labels.
   Approval-only counts remain visible even when the unread snapshot is unavailable. */
body[data-built-client="business"] :is(.v2-side-link,.bottom-nav .nav-item) > :is(.built-unread-badge,.ra-count-badge) {
 position:absolute!important;display:flex!important;align-items:center!important;justify-content:center!important;
 width:auto!important;min-width:18px!important;max-width:34px!important;height:18px!important;min-height:18px!important;
 padding:1px 4px!important;margin:0!important;border:2px solid #121212!important;border-radius:24px!important;
 background:#ff7a26!important;color:#fff!important;font:750 10px/1 Inter,system-ui,sans-serif!important;
 box-sizing:border-box!important;pointer-events:none!important;z-index:3!important;bottom:auto!important;
}
body[data-built-client="business"] .v2-side-link:has(> :is(.built-unread-badge,.ra-count-badge)) {
 position:relative!important;padding-right:46px!important;
}
body[data-built-client="business"] .v2-side-link > :is(.built-unread-badge,.ra-count-badge) {
 top:50%!important;right:10px!important;left:auto!important;transform:translateY(-50%)!important;
}
body[data-built-client="business"] .bottom-nav .nav-item > :is(.built-unread-badge,.ra-count-badge) {
 top:1px!important;left:min(calc(50% + 4px),calc(100% - 35px))!important;right:auto!important;transform:none!important;
 height:17px!important;min-height:17px!important;min-width:17px!important;font-size:9px!important;
}
/* The unread renderer combines feedback and pending decisions into one menu count. */
body[data-built-client="business"] [data-route="support"]:has(> .built-unread-badge) > .ra-count-badge {
 display:none!important;
}
