/* Unlayered, and the only rule in the app that is.

   `hidden` is a fact about an element, not a suggestion, but the UA sheet says
   it in the weakest voice there is — so any `display` a component or a utility
   sets wins, and an element with the attribute stays on screen. It cost an
   afternoon in the palette, where the section tiles carry `flex-column` and so
   ignored the filter that had just hidden them, while the plain <li> rows
   beside them obeyed it.

   Unlayered declarations beat every layered one, which is the only way to say
   this once for the whole app rather than per component. */
[hidden] {
  display: none;
}

@layer reset {
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  * {
    margin: 0;
  }

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

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

  fieldset {
    border: none;
    padding: 0;
  }

  p,
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    overflow-wrap: break-word;
  }

  ul[role="list"],
  ol[role="list"] {
    list-style: none;
    padding: 0;
  }
}
