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

html {
  min-width: 20rem;
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

/* Trackpads and mice: no elastic bounce past the top or bottom of the page.
   Touch screens keep their native overscroll, including pull-to-refresh. */
@media (hover: hover) and (pointer: fine) {
  html { overscroll-behavior-y: none; }
}

body { margin: 0; }
body.nav-open, body.admin-nav-open { overflow: hidden; }

h1, h2, h3, p { overflow-wrap: anywhere; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }

[hidden] { display: none !important; }
