html {
  font-size: 16px;
}

body {
  font-family: var(--app-font-family);
  font-size: var(--app-font-size-base);
  line-height: var(--app-line-height-base);
  color: var(--app-color-text);
  background: var(--app-color-bg);
  user-select: none;
  -webkit-user-select: none;
}

input, textarea {
  user-select: text;
  -webkit-user-select: text;
}

h1 {
  font-size: var(--app-font-size-3xl);
  line-height: var(--app-line-height-tight);
  font-weight: 700;
}

h2 {
  font-size: var(--app-font-size-2xl);
  line-height: var(--app-line-height-tight);
  font-weight: 700;
}

h3 {
  font-size: var(--app-font-size-xl);
  line-height: var(--app-line-height-tight);
  font-weight: 600;
}

h4 {
  font-size: var(--app-font-size-lg);
  font-weight: 600;
}

p {
  margin: 0;
}

a {
  color: var(--app-color-primary);
}

a:active {
  color: var(--app-color-primary-dark);
}

code, pre {
  font-family: var(--app-font-family-mono);
  font-size: 0.9em;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-thumb {
  background: var(--app-color-border-strong);
  border-radius: var(--app-radius-full);
}

:focus-visible {
  outline: 2px solid var(--app-color-primary);
  outline-offset: 2px;
}
