.lib-section-divider {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: var(--lib-space-4);
  background-color: var(--lib-section-divider-bg, transparent);
}

/* Semantic Retrofit Group A Batch 5, 2026-09-08: migrated to
   --lib-surface-brand-primary (the real, existing Color Role Contract
   role for exactly this case -- a background/fill intentionally tinted
   with brand primary, same value as --lib-color-primary). Real intent
   confirmed against the family's own sibling primitives: Wave Divider
   and Diagonal Cut (also Dividers & Separators) both default their own
   section-transition fill to primary too -- a small colored ornament is
   this family's own established real pattern, not a neutral-gray rule
   like a plain <hr>. Zero real production consumers exist for this
   primitive to confirm otherwise either way (a real, disclosed finding,
   not assumed). */
.lib-section-divider__line {
  flex: 1 1 auto;
  max-width: 14rem;
  height: 2px;
  background: var(--lib-surface-brand-primary);
}

.lib-section-divider__diamond {
  width: 0.75rem;
  height: 0.75rem;
  flex-shrink: 0;
  transform: rotate(45deg);
  background: var(--lib-surface-brand-primary);
}

.lib-section-divider--space-sm { padding-block: var(--lib-space-2); }
.lib-section-divider--space-md { padding-block: var(--lib-space-4); }
.lib-section-divider--space-lg { padding-block: var(--lib-space-6); }

