, placed against the whole window, and some sit at z-index 40 (the model selector's Ariakit menu); the bar's own z-index 50 hid the part of a menu that reached the top of the window. Here the bar is in the flow above #root and overlaps nothing, so it needs no z-index: anything floating, later in the page, draws over it. */ body:has(#ki-nav) > #ki-nav { z-index: auto; }