@layer utilities {
  /* The hidden attribute wins over component display rules such as .field { display: grid }. */
  [hidden] { display: none; }

  .sr-only {
    block-size: 1px;
    clip-path: inset(50%);
    inline-size: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
  }

  .txt-muted { color: var(--color-ink-muted); }
  .txt-small { font-size: var(--text-small); }
  .txt-negative { color: var(--color-negative); }
  .txt-positive { color: var(--color-positive); }
  .txt-nowrap { white-space: nowrap; }

  .flex { display: flex; }
  .flex-wrap { flex-wrap: wrap; }
  .gap { gap: var(--inline-space); }
  .stack { display: flex; flex-direction: column; gap: var(--block-space); }
  .cluster { align-items: center; display: flex; flex-wrap: wrap; gap: var(--inline-space); }
}

@layer utilities {
  .list-plain { list-style: none; padding: 0; }
}
