/* Topbar is a flex sibling of page content; without z-index
   overflowing dropdowns paint under dashboard widgets. */
.filament-main-topbar {
    position: relative;
    z-index: 10;
}

.fi-topbar-nav-groups .fi-dropdown-panel {
    max-height: min(70vh, 32rem);
    overflow-y: auto;
}

.fi-topbar-nav-groups {
    flex-wrap: nowrap;
    gap: 0.15rem;
    margin-inline: 0.5rem;
}

.fi-topbar-item-btn {
    padding-inline: 0.55rem;
    white-space: nowrap;
}
