/* === Drag reorder (long-press) === */
.tool-item.long-press-pending,
.doc-item.long-press-pending {
  transform: scale(0.98);
  transition: transform 0.12s ease;
}
.tool-item.dragging,
.doc-item.dragging {
  opacity: 0.9;
  transform: scale(1.03);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  border-radius: 6px;
  background: var(--color-surface);
  transition: none;
  cursor: grabbing;
}
.tool-item.drag-placeholder,
.doc-item.drag-placeholder {
  background: transparent !important;
  border: 1px dashed var(--color-border) !important;
  border-radius: 4px;
  box-sizing: border-box;
  cursor: default;
  opacity: 0.6;
}
.tool-item:not(.tool-item--locked),
.doc-item {
  touch-action: none;
}
.tool-item--locked {
  cursor: pointer;
}

.tool-item__icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-on-surface-secondary);
}

.tool-item__icon svg {
  width: 100%;
  height: 100%;
}

.tool-item--active .tool-item__icon {
  color: var(--color-primary);
}

.tool-item__info {
  flex: 1;
  min-width: 0;
}

.tool-item__title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-on-surface);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tool-item__subtitle {
  font-size: 11px;
  color: var(--color-on-surface-secondary);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

