/* Minimal modern reset. Wrapped in @layer so anything in style.css
   (unlayered) always wins regardless of selector specificity or order. */
@layer reset {
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  /* Margins only, not padding: zeroing padding globally strips native
     list-bullet indentation and form-control spacing. */
  *:not(dialog) {
    margin: 0;
  }

  body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
  }

  img,
  picture,
  video,
  canvas,
  svg {
    display: block;
    max-width: 100%;
  }

  input,
  button,
  textarea,
  select {
    font: inherit;
  }
}
