/*
 * Purpose: Define global element defaults, focus styling, and motion preferences.
 * Loaded by: the public static pages and app shell.
 * Security: Presentation only; do not use CSS as an access-control boundary.
 */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.6 var(--font-sans);
}
a {
  color: var(--blue);
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
img {
  max-width: 100%;
  height: auto;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--surface-raised);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 1000;
}
.skip-link:focus {
  left: 8px;
}
:focus-visible {
  outline: 3px solid #005fcc;
  outline-offset: 2px;
}
@media (prefers-color-scheme: dark) {
  :focus-visible {
    outline-color: #8cc8ff;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
