/* Sanctioned small utility layer: isolated, single-purpose helpers (a rule, a spacing tweak)
   used on pages that are otherwise BEM (see base.css for the text-style counterparts).
   Not a parallel component system — buttons/cards/badges/etc. stay BEM-only in their own
   per-block CSS file. Don't grow this file into a second component library. */
@layer components {
  .u-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .divider {
    height: 1px;
    background-color: #e5e7eb;
    margin: 1.5rem 0;

    [data-theme="dark"] & { background-color: #1f2937; }

    @media (prefers-color-scheme: dark) {
      :root:not([data-theme="light"]) & { background-color: #1f2937; }
    }
  }
}
