.container-editor {
  max-width: 680px;
  margin: 0 auto;
  padding: 28px 20px 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (max-width: 480px) {
  .container-editor {
    padding: 18px 12px 36px;
    gap: 18px;
  }
}

.setup-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.type-select {
  position: relative;
}

.type-select__value {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-start;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 13px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.type-select__chevron {
  color: var(--text-muted);
  margin-left: auto;
}

.type-picker {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 360px;
  margin: 10vh auto 0;
  overflow: hidden;
}

.type-picker__row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-start;
  background: none;
  border: none;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 15px;
  padding: 14px 18px;
  cursor: pointer;
}

.type-picker__row:hover {
  background: var(--bg-surface-3);
}

.type-picker__row-label {
  flex: 1;
  text-align: left;
}

.type-picker__radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  flex-shrink: 0;
}

.type-picker__radio--checked {
  border-color: var(--accent-teal-bright);
  background: radial-gradient(var(--accent-teal-bright) 40%, transparent 44%);
}

/* Feature 2: grid section scrolls horizontally on very narrow screens
   instead of squishing the slot grid below minimum size */
.grid-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-x: auto;
}

.grid-section__header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.grid-section__type-label {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
}

.export-section {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.export-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.export-note {
  font-size: 11.5px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}
