@layer elements {
  /* Reset and element defaults only. Route and component rules live in scoped files. */

  :root {
    color-scheme: light;
  }
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  html {
    min-width: 0;
    scroll-behavior: smooth;
  }
  body {
    min-width: 0;
    margin: 0;
  }
  img,
  picture,
  svg,
  canvas,
  video {
    display: block;
    max-width: 100%;
  }
  img,
  video {
    height: auto;
  }
  button,
  input,
  select,
  textarea {
    margin: 0;
    font: inherit;
  }
  button,
  select {
    cursor: pointer;
  }
  button:disabled,
  input:disabled,
  select:disabled,
  textarea:disabled {
    cursor: not-allowed;
  }
  textarea {
    resize: vertical;
  }
  table {
    border-collapse: collapse;
    border-spacing: 0;
  }
  th {
    text-align: inherit;
  }
  a {
    color: inherit;
  }
  ul,
  ol {
    padding-left: 1.25rem;
  }
  h1,
  h2,
  h3,
  h4,
  p,
  figure,
  blockquote {
    margin-top: 0;
  }
  [hidden] {
    display: none !important;
  }

  .sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }
  .skip-link {
    position: fixed;
    z-index: var(--z-skip);
    top: 10px;
    left: 10px;
    transform: translateY(-160%);
    padding: 10px 14px;
    border-radius: 8px;
    background: var(--foreground, var(--color-ink));
    color: var(--color-paper);
    font-weight: 700;
    transition: transform var(--dur-micro, 0.15s);
  }
  .skip-link:focus {
    transform: none;
  }

  @media (prefers-reduced-motion: reduce) {
    html {
      scroll-behavior: auto;
    }
    .skip-link {
      transition: none;
    }
  }
}
