html {
  min-height: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  background: var(--color-surface-muted);
  color: var(--color-text);
  font-family: var(--font-primary);
  font-size: var(--font-size-md);
  line-height: var(--line-height-base);
  text-rendering: optimizeLegibility;
}

body.ui-body {
  display: flex;
  flex-direction: column;
}

button {
  cursor: pointer;
}

button:disabled,
[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.58;
}

:focus-visible {
  outline: 0;
  box-shadow: var(--focus-ring);
}

@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;
  }
}
