/*
 * Legacy accordion roots sometimes hold one heading directly, rather than
 * nesting items below a wrapper. Give both structures the same divider.
 */
.accordion:has(> h2.section-heading + .details),
.accordion :is(section, div):has(> h2.section-heading + .details) {
  border-bottom: 1px solid var(--accordion-border, #d5d6e2) !important;
}
