/**
 * ╔══════════════════════════════════════════════════════════════════════════╗
 * ║  ⚠️  DO NOT MODIFY THIS FILE DIRECTLY!  ⚠️                                ║
 * ╠══════════════════════════════════════════════════════════════════════════╣
 * ║  This file is part of the techdoc npm package.                          ║
 * ║  Changes here will be OVERWRITTEN when techdoc is updated.              ║
 * ║                                                                          ║
 * ║  TO ADD UTILITIES: Create them in YOUR site's styles.css                ║
 * ╚══════════════════════════════════════════════════════════════════════════╝
 *
 * techdoc utilities.css
 * Accessibility helpers - NO colors, NO decorative styles
 */

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip link - visible on focus */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  padding: var(--space-2, 0.5rem) var(--space-4, 1rem);
}

.skip-link:focus {
  top: var(--space-2, 0.5rem);
}

/* Focus visible */
:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
