.pceditor-tree-item {
  padding: 8px;
  margin-bottom: 0;
  cursor: pointer;
}
.pceditor-tree-item_selected.g-card:not(.pceditor-tree-item_drag-over.g-card) {
  border: 1.5px var(--g-color-line-brand) solid;
}
.pceditor-tree-item_dragging.g-card {
  opacity: 0.85;
}
.pceditor-tree-item_drag-over.g-card {
  outline: 1.5px dashed var(--g-color-line-brand);
  outline-offset: -1px;
}
.pceditor-tree-item_overlay.g-card {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 220px;
  max-width: min(100vw - 32px, 420px);
  cursor: grabbing;
  background-color: var(--g-color-base-background);
  opacity: 1;
  box-shadow: 0 4px 12px var(--g-color-private-black-150);
}
.pceditor-tree-item__main {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex: 1;
  min-width: 0;
  min-height: 20px;
}
.pceditor-tree-item__main:hover .pceditor-tree-item__buttons {
  display: flex;
}
.pceditor-tree-item__text {
  flex: 1 1 auto;
  min-width: 1px;
}
.pceditor-tree-item__buttons {
  flex: 0 0 auto;
  flex-direction: row;
  gap: 4px;
  display: none;
}
.pceditor-tree-item__type {
  color: var(--g-color-text-secondary);
}
.pceditor-tree-item__title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
  display: inherit;
}
.pceditor-tree-item__title * {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
  display: inherit;
}
.pceditor-tree-item__badge {
  position: absolute;
  top: -8px;
  right: -8px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 50%;
  background-color: var(--g-color-base-brand);
  font-size: 12px;
  font-weight: 500;
  color: var(--g-color-text-brand-contrast);
}