/* Note count on the envelope's top-right corner, matching the header bell badge. */
.note-count-anchor {
    position: relative;
    display: inline-block;
}

.note-count-badge {
    position: absolute;
    top: -6px;
    left: calc(100% - 7px);
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    background: var(--tone-err-solid, #C0303F);
    color: var(--fg-on-accent, #fff);
    border-radius: 999px;
    border: 1.5px solid var(--bg-surface, #fff);
    font-size: 11px;
    font-weight: 700;
    line-height: 14px;
    text-align: center;
    box-sizing: border-box;
    pointer-events: none;
}
