/* Skip link (SYS-544, WCAG 2.4.1), on every page: the first Tab stop. Off the screen until
 * it has focus, then at the top left, 18 px text and a 44 px target. Loaded by base.html,
 * np_base.html, admin_base.html and record_base.html. The focus ring is each page's own.
 */
.skip-link {
  position: absolute; left: 8px; top: 8px; z-index: 1000;
  transform: translateY(-300%);
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px;
  background: #FFFFFF; color: #222A4C; border: 2px solid #222A4C;
  font: 600 18px/1.3 system-ui, -apple-system, "Segoe UI", sans-serif; text-decoration: underline;
}
.skip-link:focus, .skip-link:focus-visible { transform: none; }
/* main is the skip target (tabindex="-1"), never a Tab stop. A mouse or script focus draws
   no frame around the whole page; keyboard focus (:focus-visible) keeps the ring (Nectar). */
main:focus:not(:focus-visible) { outline: none; }
