/* ─────────────────────────────────────────────────────────────────────────
   VISUALLY HIDDEN — text for screen readers only.

   Extra context for icon controls and external links that would be noise on
   screen but is needed by assistive technology, and the invitation form's
   honeypot (never display:none: some bots treat that as a signal to skip the
   field, and it must be hidden under every template pack).

   One rule, loaded on every surface through shell/_tokens_css.html: the shell,
   the public pages, the invitation pages and the staff audit pages. It was
   three copies (crm/css/base.css, common/css/audits.css, invite/css/shared.css),
   and the public pages loaded none of them (METIS-pub#759).

   @layer components, so it beats the base-layer rules of whatever it hides.
   It names no page's own classes: a shared component cannot depend on the
   surfaces above it.
   ───────────────────────────────────────────────────────────────────────── */

@layer components {
  .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }
}
