/* experience_editor/delivery_methods.css – DM panel + breadcrumb.
   Channel toggle bar and side-by-side layout were removed in Solution A —
   replaced by the DM tab strip in dm_tabs.css. */

/* ── DM Section wrapper (now hosts a single active DM panel) ── */
.ee-dm { padding: var(--space-4) var(--space-5); border-top: 1px solid var(--ee-border-subtle); }

/* ── DM Panel ── */
.ee-dm__panel {
  background: var(--surface-base);
}

/* ── Breadcrumb ── */
.ee-dm__breadcrumb {
  display: flex; align-items: center; gap: var(--space-1);
  padding: var(--space-2) var(--space-3);
  margin: 0 0 var(--space-2) 0;
  border-bottom: 1px solid var(--ee-border-subtle);
  font-size: var(--text-xs);
}
.ee-dm__breadcrumb-link {
  color: var(--text-tertiary); text-decoration: none;
  transition: color var(--duration-fast);
}
.ee-dm__breadcrumb-link:hover { color: var(--accent-primary); }
.ee-dm__breadcrumb-sep { font-size: 14px; color: var(--text-quaternary); }
.ee-dm__breadcrumb-current { font-weight: 600; color: var(--text-primary); }

/* ── Email Subject ── */
.ee-dm__subject {
  padding: var(--space-3);
  border-bottom: 1px solid var(--ee-border-subtle);
}
.ee-dm__subject .form-group { margin-bottom: 0; }

/* ── Back / Next Navigation ──
   Top line removed. Vertical separator + bottom line use --border-subtle
   so they match the panel divider style (matches `.ee-divider`). */
.ee-dm__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.ee-dm__nav-field {
  padding: 8px 12px;
  background: var(--surface-base);
}
.ee-dm__nav-input {
  width: 100%;
  border: none;
  background: none;
  padding: 0;
  font-size: var(--text-xs);
  color: var(--text-primary);
  outline: none;
}
.ee-dm__nav-input::placeholder {
  color: var(--text-tertiary);
}
.ee-dm__nav-input:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.ee-dm__nav-field:first-of-type .ee-dm__nav-input {
  text-align: right;
}

/* ── Element Editor Frame (standalone, from tree click) ── */
.ee-element-frame {
  background: var(--surface-base);
}
/* Let the turbo-frame grow to content so the editor panel scrolls */
.experience-editor__editor > turbo-frame:has(.ee-element-frame) {
  min-height: min-content;
}
.ee-element-frame .ee-element-editor__form {
  padding: var(--space-3);
}

/* ── Question Editor (inside ee-element-frame) ── */
.ee-question-editor { padding: var(--space-3); }
/* ── Option position badge (inside ee-assoc-card) ── */
.ee-option-pos {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 22px; height: 22px;
  border-radius: var(--radius-full);
  background: var(--accent-subtle, rgba(0,0,0,0.04));
  font-size: 11px; font-weight: 700;
  color: var(--accent-primary);
  flex-shrink: 0;
}

/* ── Element placeholder ── */
.ee-dm__elements { padding: var(--space-3); }
.ee-dm__elements .empty-state { padding: var(--space-4); }
.ee-dm__elements .empty-state__description { font-size: var(--text-xs); }

