/* Elements stay content-box (only html is border-box); the legacy layout depends on it. */
*:where(:not(select, option)) {
  margin: 0;
  padding: 0;
}

/* The legacy reset never touched <hr>; keep the browser default margin (used in post content). */
:where(hr) {
  margin: .5em auto;
}

:where(h1, h2, h3, h4, h5, h6, table, input, textarea, select, option, button) {
  font-size: 100%;
}

:where(ol, ul) {
  list-style: none;
}

:where(blockquote, q) {
  quotes: none;
}

:where(table) {
  border-collapse: collapse;
  border-spacing: 0;
}

:where(caption, th) {
  text-align: left;
}

:where(a) {
  cursor: pointer;
}

input:not([type='checkbox']) {
  appearance: none;
}
