html {
  color: var(--ds-color-ink);
  background: var(--ds-color-surface);
  font-family: var(--ds-font-sans);
  line-height: var(--ds-line-height-base);
  text-rendering: optimizeLegibility;
}

body {
  color: var(--ds-color-ink);
  background: var(--ds-color-surface);
}

body.has-ui-overlay {
  overflow: hidden;
}

button,
input,
select,
textarea,
h1,
h2,
h3,
h4,
h5,
h6,
small,
strong,
span,
p {
  letter-spacing: 0 !important;
}

button,
input,
select,
textarea {
  border-color: var(--ds-color-border-strong);
  border-radius: var(--ds-radius-md);
}

button:hover {
  transform: none;
}

button:disabled,
input:disabled,
select:disabled,
textarea:disabled {
  cursor: not-allowed;
  opacity: 0.56;
}

:where(button, a, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--ds-color-link);
  outline-offset: 2px;
  box-shadow: var(--ds-focus-ring);
}

::selection {
  color: var(--ds-color-ink);
  background: #cceef1;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
