/* ActionMenu — compact square trigger with a teleported, viewport-safe menu.
   Surface and rows come from .mint-popover / .mint-menu-item (popover.css, 2d);
   __panel and __item stay as aliases and own only placement. */

.mint-action-menu {
  display: inline-flex;
  flex-shrink: 0;
}

.mint-action-menu__trigger-icon {
  width: 1rem;
  height: 1rem;
}

.mint-action-menu__panel {
  position: fixed;
  z-index: 1000;
  min-width: 10rem;
  max-width: min(18rem, calc(100vw - 1rem));
}

.mint-action-menu__check {
  flex-shrink: 0;
  color: var(--color-primary);
}

/* Unchecked radio rows keep the check's width so labels stay aligned. */
.mint-action-menu__check--off {
  visibility: hidden;
}
