@layer unset {
  .unset:where(body, blockquote, dl, dd, figure, p) {
    margin: 0;
  }

  .unset:where(address, b, cite, code, dfn, em, i, kbd, q, samp, small, strong, var) {
    font: unset;
  }

  .unset:where(h1, h2, h3, h4, h5, h6) {
    font: unset;
    margin: 0;
  }

  .unset:where(a) {
    all: unset;
    -webkit-tap-highlight-color: transparent;
  }

  .unset:where(button, select, [type="button"], [type="image"], [type="reset"], [type="submit"], [type="checkbox"], [type="color"], [type="radio"], [type="range"]) {
    all: unset;
    text-indent: initial;
    -webkit-tap-highlight-color: transparent;
    font-style: normal;
    font-weight: normal;
    display: inline-block;
  }

  .unset:where(label) {
    -webkit-tap-highlight-color: transparent;
  }

  .unset:where(dialog, [popover]) {
    box-sizing: border-box;
    background: none;
    border: 0;
    outline: none;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    position: fixed;
    inset: auto;
    overflow: visible;
  }

  .unset:where(select) {
    text-align: start;
    font-style: normal;
    font-weight: normal;
  }

  .unset:where(textarea, input:not([type="button"], [type="image"], [type="reset"], [type="submit"], [type="checkbox"], [type="color"], [type="radio"], [type="range"])) {
    all: unset;
    text-align: start;
    width: -webkit-fill-available;
    width: -moz-available;
    width: stretch;
    text-indent: initial;
    -webkit-tap-highlight-color: transparent;
    cursor: text;
    white-space: pre-wrap;
    font-style: normal;
    font-weight: normal;
    display: block;
  }

  .unset:where(:focus) {
    outline: none;
  }

  .unset::placeholder {
    color: unset;
    opacity: unset;
    -webkit-user-select: none;
    user-select: none;
  }

  .unset:where(table) {
    all: unset;
    text-indent: initial;
    display: table;
  }

  .unset:where(caption) {
    text-align: inherit;
  }

  .unset:where(td) {
    padding: 0;
  }

  .unset:where(th) {
    font-weight: unset;
    text-align: inherit;
    padding: 0;
  }

  .unset:where(abbr, acronym) {
    text-decoration: none;
  }

  .unset:where(canvas, object, picture, summary) {
    display: block;
  }

  .unset:where(del, s) {
    -webkit-text-decoration: unset;
    text-decoration: unset;
  }

  .unset:where(fieldset, hr) {
    all: unset;
    display: block;
  }

  .unset:where(legend) {
    cursor: default;
    border: none;
    padding: 0;
  }

  .unset:where(li) {
    text-align: unset;
    display: block;
  }

  .unset:where(ol, ul) {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .unset:where(iframe) {
    width: -webkit-fill-available;
    width: -moz-available;
    border: none;
    width: stretch;
    display: block;
  }

  .unset:where(ins, u) {
    text-decoration: none;
  }

  .unset:where(img) {
    max-width: 100%;
    display: block;
  }

  .unset:where(svg) {
    flex-shrink: 0;
    max-width: 100%;
    display: block;
  }

  .unset:where(mark) {
    all: unset;
  }

  .unset:where(pre) {
    font: unset;
    margin: unset;
  }

  .unset:where(q):before, .unset:where(q):after {
    content: "";
  }

  .unset:where(sub, sup) {
    font: unset;
    vertical-align: unset;
  }

  .unset:where(details) ::marker {
    content: none;
  }

  .unset:where(summary)::marker {
    content: none;
  }

  .unset:where(video) {
    width: -webkit-fill-available;
    width: -moz-available;
    width: stretch;
    display: block;
  }

  .unset:where(:any-link) {
    cursor: var(--cursor-link);
  }

  .unset:where(button) {
    cursor: var(--cursor-button);
  }

  .unset:where(:disabled, [data-disabled]) {
    cursor: var(--cursor-disabled);
  }

  .unset:where(input[type="checkbox"]) {
    cursor: var(--cursor-checkbox);
  }

  .unset:where(input[type="radio"]) {
    cursor: var(--cursor-radio);
  }

  .unset, .unset:before, .unset:after {
    box-sizing: border-box;
  }
}
