/* Content stays still; a single composited rounded surface follows the choice. */
.menu-glide-surface{isolation:isolate;--menu-glide-fill:var(--theme-hover,color-mix(in srgb,var(--theme-accent,#246397) 12%,var(--select-menu,#eef4f8)))}
.menu-glide-relative{position:relative}
.menu-glide-origin{display:block!important;position:absolute!important;left:0!important;top:0!important;width:0!important;height:0!important;margin:0!important;padding:0!important;border:0!important;pointer-events:none!important;z-index:0!important}
.menu-glide-highlight{display:block!important;position:absolute!important;left:0;top:0;pointer-events:none!important;transform-origin:0 0;opacity:0;background:var(--menu-glide-fill)!important;box-shadow:inset 0 1px 0 #ffffff4d;will-change:transform,opacity;transition:opacity 80ms linear}
.menu-glide-highlight[data-tone="danger"]{background:color-mix(in srgb,#cb6471 16%,var(--select-menu,#fcfbf8))!important}
.menu-glide-surface .menu-glide-item{position:relative;z-index:1;transition:color 100ms linear!important}
.menu-glide-surface .menu-glide-item:not(:is(.on,.active,.selected,.sel,.archived,.dup-row,[aria-selected="true"],[aria-checked="true"],:checked)),
.menu-glide-surface .menu-glide-item.menu-glide-current{background:transparent!important;box-shadow:none!important}
.menu-glide-surface .menu-glide-item:is(:hover,:focus-visible){transform:none!important}
/* Beat legacy theme/selected-row shadows, so only the moving surface paints hover. */
:is(html[data-theme],:host([data-theme]),html,:host) .menu-glide-surface .menu-glide-item.menu-glide-current{
 background:transparent!important;box-shadow:none!important;border-color:transparent!important;filter:none!important
}
.management-class-list.menu-glide-surface .menu-glide-item::before{display:none!important;animation:none!important}
:is(html[data-theme],:host([data-theme]),html,:host) .management-class-list.menu-glide-surface button[data-management-class]{box-shadow:none!important}
:is(html[data-theme],:host([data-theme]),html,:host) .management-class-list.menu-glide-surface button[data-management-class].menu-glide-current:is(.on,:hover,:focus-visible){background:transparent!important}
/* Keep one capsule through selection changes and the return from hover. */
:is(html[data-theme],:host([data-theme]),html,:host) .management-class-list.menu-glide-surface[data-menu-motion-rest="selected"]>button.menu-glide-item{background:transparent!important;box-shadow:none!important;border-color:transparent!important;filter:none!important}
.management-class-list[data-menu-motion-rest="selected"] .menu-glide-highlight{background:var(--theme-soft,#dbeaf4)!important;box-shadow:none}
.management-class-list[data-menu-motion-rest="selected"] .menu-glide-highlight[data-selected="true"]{background:color-mix(in srgb,var(--theme-accent,#246397) 24%,var(--theme-soft,#dbeaf4))!important}
.rainbow-sidebar .menu-glide-surface{--menu-glide-fill:var(--side-hover)}
.rainbow-sidebar .menu-glide-surface .menu-glide-highlight{box-shadow:inset 0 1px 0 #ffffff26}
.rainbow-sidebar .menu-glide-surface .menu-glide-highlight[data-selected="true"]{
 background:linear-gradient(145deg,#ffffff20,#ffffff05 48%,#d7ecff13),var(--side-selected)!important;
 box-shadow:inset 1px 1px 1px -.5px #ffffff99,inset -1px -1px 1px -.5px #ffffff73
}
.rainbow-sidebar .menu-glide-surface .menu-glide-item:not(.active)::before,
.rainbow-sidebar .menu-glide-surface .menu-glide-item.menu-glide-current::before{background:transparent!important;box-shadow:none!important}
select.menu-glide-surface::picker(select){isolation:isolate}
@media(prefers-reduced-motion:reduce){.menu-glide-highlight,.menu-glide-item{transition:none!important}}
@media print{.menu-glide-origin{display:none!important}}
