@layer reset {
  :where([data-rs-theme], [data-rs-theme] *) {
    box-sizing: border-box;
  }

  :where([data-rs-theme]) {
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    text-rendering: optimizelegibility;
    touch-action: manipulation;
  }

  :where([data-rs-theme] body),
  :where([data-rs-theme])
    :is(h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote, dl, dd) {
    margin: 0;
  }

  :where([data-rs-theme]) :is(button, input, textarea, select) {
    font: inherit;
  }

  :where([data-rs-theme]) :is(button, select, summary, label) {
    cursor: pointer;
  }

  :where([data-rs-theme]) :is(img, svg) {
    display: block;
    max-width: 100%;
  }

  :where([data-rs-theme]) :is(fieldset) {
    border: 0;
    margin: 0;
    padding: 0;
  }
}
