/* Compteurs de messages BudgetClair - min 14px, sans mouvement au survol. */
.bc-message-nav-link{display:inline-flex;align-items:center;gap:8px;position:relative}
.bc-unread-badge:not([hidden]){display:inline-flex;align-items:center;justify-content:center;min-width:25px;height:25px;padding:0 6px;border-radius:999px;background:#cf2339;color:#fff;font-size:14px;font-weight:700;line-height:1;white-space:nowrap;box-sizing:border-box}
.bc-unread-badge[hidden]{display:none!important}
.bc-unread-label{display:inline-block;padding:3px 8px;margin-left:7px;background:#cf2339;color:white;border-radius:999px;font-size:14px;font-weight:700}
.bc-ticket-row[data-bc-unread-ticket="true"]{border-left:3px solid #cf2339}
@media(max-width:768px){.bc-message-nav-link{gap:8px}.bc-unread-badge:not([hidden]){min-width:25px}}

/* Enveloppe unique dans les outils d'en-tete, ordinateur et mobile. */
.bc-header-tools .bc-header-mail{position:relative;display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;width:42px;min-width:42px;height:42px;min-height:42px;padding:0;border-radius:12px;color:inherit;text-decoration:none;line-height:1;box-sizing:border-box;transition:background-color .15s,color .15s}
.bc-header-tools .bc-header-mail:hover,.bc-header-tools .bc-header-mail:focus-visible,.bc-header-tools .bc-header-mail.is-active{background:rgba(119,151,200,.16)}
.bc-header-tools .bc-header-mail:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.bc-header-tools .bc-header-mail svg{display:block;flex-shrink:0;width:23px;height:23px}
.bc-header-tools .bc-header-mail .bc-unread-badge:not([hidden]){position:absolute;top:-4px;right:-6px;min-width:23px;height:23px;padding:0 5px;border:2px solid transparent;font-size:14px;box-shadow:0 1px 5px rgba(0,0,0,.25)}
@media(max-width:768px){.bc-header-tools .bc-header-mail{width:40px;min-width:40px;height:40px;min-height:40px}.bc-header-tools .bc-header-mail .bc-unread-badge:not([hidden]){top:-3px;right:-5px}}

.bc-header-nav a{position:relative}.bc-header-nav .bc-profile-invite-badge:not([hidden]){position:absolute;top:-7px;right:-9px;display:inline-flex;align-items:center;justify-content:center;min-width:23px;height:23px;padding:0 5px;border:2px solid #092a3a;border-radius:999px;background:#cf2339;color:white;font-size:14px;font-weight:800;line-height:1;box-sizing:border-box;box-shadow:0 2px 6px #0004}
