/* Shared command menu. Geometry is the only runtime style value. */
.gaip-dropdown-menu {
  --gaip-dropdown-edge: 12px;
  --gaip-dropdown-gap: 6px;
  position: fixed;
  z-index: 1100;
  inset: auto;
  left: var(--gaip-dropdown-x, 12px);
  top: var(--gaip-dropdown-y, 12px);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
  width: max-content;
  min-width: 144px;
  max-width: calc(100vw - 24px);
  max-height: calc(100dvh - 24px);
  overflow: auto;
  box-sizing: border-box;
  margin: 0;
  padding: 6px;
  border: 1px solid #eceeed;
  border-radius: 8px;
  background: #fff;
  color: #2f3640;
  font: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  text-align: left;
  box-shadow: 0 6px 24px rgba(47,54,64,.12);
}
.gaip-dropdown-menu[hidden], .gaip-dropdown-menu [hidden] { display: none !important; }
.gaip-dropdown-menu::backdrop { background: transparent; pointer-events: none; }
.gaip-dropdown-menu .gaip-dropdown-menu__item {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  box-sizing: border-box;
  width: 100%;
  height: 36px;
  min-height: 36px;
  margin: 0;
  padding: 7px 12px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
}
.gaip-dropdown-menu .gaip-dropdown-menu__item:hover:not(:disabled):not([aria-disabled="true"]) { background: #f5f5f5; }
.gaip-dropdown-menu .gaip-dropdown-menu__item:focus-visible { outline: 2px solid #00887b; outline-offset: -2px; background: #f5f5f5; }
.gaip-dropdown-menu .gaip-dropdown-menu__item.is-danger { color: #D14343; }
.gaip-dropdown-menu .gaip-dropdown-menu__item:disabled,
.gaip-dropdown-menu .gaip-dropdown-menu__item[aria-disabled="true"] { color: #a8afac; background: transparent; cursor: not-allowed; }
.gaip-dropdown-menu__label { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.gaip-dropdown-menu__icon { display: inline-flex; flex: 0 0 16px; align-items: center; justify-content: center; width: 16px; height: 16px; color: inherit; }
.gaip-dropdown-menu__icon > *, .gaip-dropdown-menu__icon :is(svg,img) { display: block; width: 16px; height: 16px; flex: 0 0 16px; }
.gaip-dropdown-menu__icon svg[fill]:not([fill="none"]),
.gaip-dropdown-menu__icon svg [fill]:not([fill="none"]) { fill: currentColor; }
.gaip-dropdown-menu__icon svg[stroke]:not([stroke="none"]),
.gaip-dropdown-menu__icon svg [stroke]:not([stroke="none"]) { stroke: currentColor; }
.gaip-dropdown-menu__hint { margin: 4px 8px; color: #747c80; font-size: 12px; line-height: 18px; white-space: normal; }
.gaip-dropdown-menu__hint[hidden] { display: none; }
