/* Our additions to css-zero's sidebar menu, from CAR-486's rebuild of the sidebar's structure.
   Nothing stock is restyled. */

/* Placeholder destinations render recessed but stay clickable, so a reviewer can walk the full
   navigation. */
.sidebar-menu__button--muted {
  opacity: var(--opacity-50);

  &:hover,
  &:focus-visible {
    opacity: 1;
  }
}

/* The user menu popover sizes itself to the sidebar width (moved here from an inline style
   attribute — CAR-464). */
.sidebar-menu__user-menu {
  --popover-size: calc(var(--sidebar-width, 16rem) - var(--sidebar-padding, 0.5rem) * 2);
}
