/* Blocurile în editorul vizual al temei (E-C): lista îmbricată din arbore, sub secțiunea aleasă, și notele din setări. */
.te .te-tree-blocks { flex: 0 0 auto; box-sizing: border-box; width: calc(100% - 1.25rem); min-width: 0; margin: 0.25rem 0 0.25rem 1.25rem; padding-left: 0.5rem; border-left: 2px solid var(--te-border); font-weight: 400; }
.te .te-block-tree { list-style: none; margin: 0; padding: 0; }
.te .te-tree-block {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  min-width: 0;
  margin: 2px 0;
  padding: 0 4px 0 2px;
  border-left: 3px solid transparent;
  border-radius: 6px;
}
.te .te-tree-block:hover { background: var(--te-hover); }
.te .te-tree-block.is-selected { background: var(--te-accent-soft); border-left-color: var(--te-accent); font-weight: 700; }
.te .te-tree-block.is-dragging { opacity: 0.5; }
.te .te-tree-block.te-drop-before::before, .te .te-tree-block.te-drop-after::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 3px;
  background: var(--te-accent);
  border-radius: 2px;
}
.te .te-tree-block.te-drop-before::before { top: -3px; }
.te .te-tree-block.te-drop-after::after { bottom: -3px; }
.te .te-tree-block .te-handle { width: 2rem; height: 2rem; flex: none; }
.te .te-tree-block .te-select { padding: 0.375rem 0.25rem; font-size: 0.875rem; }
.te .te-tree-blocks :is(.te-select, .te-handle, .te-add-block-tree):focus-visible { outline: 2px solid var(--te-accent); outline-offset: 2px; }
.te .te-add-block-tree { max-width: 100%; margin-top: 0.25rem; white-space: normal; overflow-wrap: anywhere; }
.te .te-add-block-tree:disabled { color: var(--te-muted); }
.te .te-block-count { margin: 0 0 0.5rem; }
.te .te-block-max { margin: 0; padding: 0.5rem 0.75rem; border: 1px solid var(--te-border-strong); border-radius: 8px; background: var(--te-surface-2); color: var(--te-text); }
.te .te-block-view-actions { margin-top: 0.5rem; }
