.handleGutter {
  position: relative;
  margin-left: -1.5rem;
  padding-left: 1.5rem;
}

.controls {
  position: absolute;
  bottom: calc(100% + 4px);
  right: 0;
  z-index: 20;
  opacity: 0;
  pointer-events: none;
  transition: opacity 120ms ease;
}

.controls::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 8px;
}

.handleGutter:hover .controls,
.handleGutter[data-menu-open="true"] .controls {
  opacity: 1;
  pointer-events: auto;
}

@media print {
  .controls {
    display: none !important;
  }
}

@media (max-width: 48em) {
  .handleGutter {
    margin-left: -1rem;
    padding-left: 1rem;
  }
}

.dragPreview {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 260px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  background-color: light-dark(
    var(--mantine-color-white),
    var(--mantine-color-dark-6)
  );
  color: light-dark(var(--mantine-color-gray-9), var(--mantine-color-dark-0));
  border: 1px solid
    light-dark(var(--mantine-color-gray-3), var(--mantine-color-dark-4));
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

.dragPreview[hidden] {
  display: none;
}

.dragPreview svg {
  flex-shrink: 0;
}

.dragPreview span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
