/* Notifications bell. (The command-palette markup was removed in the
   header-cleanup pass; the file name stays for now to avoid touching
   main.css's import list — to be renamed _bell.css in a follow-up.) */

/* Anchor (5.29.x) — was a `<button>` with no click handler pre-tick.
   `inline-flex` keeps the SVG glyph + badge stacked correctly.
   `color: inherit` so the inline SVG, which uses `currentColor`,
   picks up the surrounding header text colour rather than the
   default link blue. */
.bell {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--color-text-muted);
    text-decoration: none;
    border-radius: var(--radius);
    transition: background 120ms ease;
}
.bell:hover  { background: var(--color-surface-hi); }
.bell:hover, .bell:focus-visible { color: var(--color-text); }
.bell:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* Inline SVG bell glyph — was an emoji 🔔 styled with font-size.
   The new shape inherits stroke colour from the parent `.bell`
   so dark/light theme toggles flow through automatically. */
.bell__icon {
    width: 20px;
    height: 20px;
    display: block;
}

.bell__count {
    position: absolute;
    top: calc(-1 * var(--sp-quarter));
    right: calc(-1 * var(--sp-quarter));
    min-width: 16px;
    height: 16px;
    padding: 0 var(--sp-half);
    background: var(--color-danger);
    color: #fff;
    font-size: var(--fs-xxs);
    font-weight: 600;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
