.template-group-help {
  margin: 0 0 13px;
  color: var(--muted);
  font-style: italic;
  white-space: pre-wrap;
}

.template-group-help-input {
  font-style: italic;
}

.template-point-help {
  margin: -6px 0 13px;
  color: var(--muted);
  font-style: italic;
  white-space: pre-wrap;
}

.template-point-help-input {
  font-style: italic;
}

.template-folder-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.template-folder-picker > div {
  min-width: 0;
}

.template-folder-section {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  transition: background-color .15s ease, box-shadow .15s ease;
}

.template-folder-section + .template-folder-section {
  margin-top: 24px;
}

.template-folder-section > h2 {
  margin: 0 0 12px;
}

.template-folder-create-panel {
  margin-bottom: 18px;
}

.template-folder-section.is-drag-over {
  background: #e9f8f6;
  box-shadow: inset 0 0 0 2px #15918e;
  border-radius: 12px;
  padding: 16px;
}

.template-folder-drop-hint {
  margin: -5px 0 12px;
  color: var(--muted);
  font-size: .85rem;
}

.template-drag-card {
  cursor: grab;
}

.template-drag-card.is-dragging {
  opacity: .45;
}

.template-drag-handle {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 700;
  user-select: none;
}

.template-move-label {
  display: block;
  font-size: .82rem;
}

.template-move-label select {
  width: 100%;
  margin-top: 4px;
}

@media (max-width: 620px) {
  .section-head > .actions {
    width: 100%;
  }

  .section-head > .actions > button {
    flex: 1 1 160px;
  }
}

@media (max-width: 620px) {
  .template-folder-picker {
    grid-template-columns: 1fr;
  }
}
