@layer shwt-reset {

  /* Rationale for the non-obvious rules: docs/css-reset-notes.md */
  :root {
    font-weight: 400;
    line-height: 1;
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
    text-rendering: optimizeLegibility;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
  }

  *,
  *::before,
  *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  a,
  button {
    cursor: revert;
  }

  ol,
  ul,
  menu {
    list-style: none;
  }

  img {
    max-inline-size: 100%;
    max-block-size: 100%;
    display: block;
  }

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

  html:focus-within {
    scroll-behavior: smooth;
  }

  body {
    text-rendering: optimizeSpeed;
  }

  a,
  a:active,
  a:focus,
  a:link,
  a:visited {
    color: inherit;
    text-decoration: none;
    background-color: transparent;
    text-decoration-skip-ink: auto;
  }

  a:hover {
    text-decoration: none;
  }

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

  input,
  button,
  textarea,
  select {
    font: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
  }

  textarea {
    border: none;
    outline: none;
    resize: none;
    overflow: auto;
    background: transparent;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
  }

  button {
    border: none;
    outline: none;
    background: transparent;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
  }

  input {
    border: none;
    outline: none;
    background: transparent;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
  }

  select {
    border: none;
    outline: none;
    background: transparent;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
  }

  .shwt-element-content > form[role="search"] input {
    color: inherit;
  }

  ::placeholder {
    color: inherit;
    opacity: 0.5;
  }

  b,
  strong {
    font-weight: 700;
  }

  em,
  i {
    font-style: italic;
  }
}