/* ── Step Definition Editor (split panel) ── */

.step-editor {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  min-height: calc(100vh - 120px);
  margin: calc(-1 * var(--space-6));
}

.step-editor__tree {
  background: var(--surface-raised);
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.step-editor__tree-header {
  padding: var(--space-4);
  border-bottom: 1px solid var(--border-subtle);
}

.step-editor__tree-body {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-2) 0;
}

.step-editor__main {
  padding: var(--space-6);
  overflow-y: auto;
}

.step-editor__detail {
  max-width: 900px;
}

.step-editor__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.step-editor__title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
}
