.lib-section-closing {
  width: 100%;
  margin-inline: auto;
  /* A closing line always follows content; it needs its own separation
     (it sat flush under the last process step, 2026-10-09). */
  margin-block-start: var(--lib-space-8);
  text-align: center;
}

.lib-section-closing--width-md { max-width: 42rem; }
.lib-section-closing--width-lg { max-width: 54rem; }
.lib-section-closing--width-xl { max-width: 68rem; }

.lib-section-closing__text {
  margin: 0;
  color: var(--lib-text-primary);
}

/* --lib-color-inverse deliberately NOT migrated: the same real,
   Canvas-independent fixed-dark-context modifier already established
   for .lib-section-heading--dark's title/description -- a manually
   dark-styled composition an author opts into, not the Lab's ambient
   Canvas simulation. */
.lib-section-closing--dark .lib-section-closing__text {
  color: var(--lib-color-inverse);
}

