/* Scoped floating action menus: top-layer popover retains the original row/form. */
.tt-action-overflow-menu.tt-compact-action-menu {
  position: fixed !important;
  inset: auto;
  margin: 0 !important;
  width: max-content !important;
  min-width: 0 !important;
  max-width: calc(100vw - 12px);
  max-height: calc(100dvh - 12px);
  overflow: auto;
  padding: .35rem !important;
  gap: .2rem;
  justify-items: start;
  background: #fff;
  color: #142d4e;
  z-index: 1080;
}
.tt-action-overflow-menu.tt-compact-action-menu[popover]:not(:popover-open) { display: none !important; }
.tt-action-overflow-menu.tt-compact-action-menu form { width: auto !important; margin: 0; }
.tt-action-overflow-menu.tt-compact-action-menu .btn {
  width: auto !important;
  min-width: 0 !important;
  min-height: 30px !important;
  height: auto !important;
  padding: .25rem .55rem !important;
  font-size: .875rem !important;
  line-height: 1.35 !important;
  border-radius: .4rem !important;
  justify-content: flex-start;
  white-space: nowrap;
}
.table-responsive.tt-action-menu-fallback { overflow: visible !important; }
@media (pointer: coarse) {
  .tt-action-overflow-menu.tt-compact-action-menu .btn { min-height: 34px !important; }
}
