/* Hub updates in the top bar (loaded by the layout): the row in the Help and Resources menu, and the dot that says
   there is an update you have not opened yet. The dot is amber, so it is never read as the red alert count; it is
   3:1 or more against the top bar in both modes, and the words go to screen readers through the buttons' labels. */

.hu-dot {
    display: inline-block;
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d97706;
    box-shadow: 0 0 0 2px #ffffff;
}

.hu-dot[hidden] {
    display: none;
}

/* on the Help and Resources button and on the narrow-screen menu button */
#header-more-menu-btn,
#headerHamburger {
    position: relative;
}

.hu-dot--icon {
    position: absolute;
    top: 2px;
    right: 0;
}

.hu-dot--burger {
    position: absolute;
    top: 6px;
    right: 4px;
}

/* the row: the dot sits at the end of it */
.hu-menu-item .hu-dot {
    margin-left: auto;
}

.hu-menu-item[aria-current="page"] {
    font-weight: 700;
}

[data-theme="dark"] .hu-dot {
    background: #fbbf24;
    box-shadow: 0 0 0 2px #0f0f1e;
}

@media (forced-colors: active) {
    .hu-dot {
        background: Highlight;
        box-shadow: none;
        forced-color-adjust: none;
    }
}
