/* reset.css — Box model, body base */

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

html {
  font-size: 14px;
  height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-sys);
  font-size: 14px;
  font-weight: 400;
  color: var(--text-primary);
  background: var(--surface-sunken);
  line-height: 1.5;
  height: 100%;
  overflow: hidden; /* App handles its own scroll */
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

ul, ol {
  list-style: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

/* Prevent user select on UI elements */
.no-select {
  user-select: none;
}
