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

html, body { margin: 0; }
html { scrollbar-gutter: stable; } /* no layout jump when the page grows or shrinks (feedback 17) */

body {
  background: var(--ds-palette-background-secondary);
  color: var(--ds-palette-content-primary);
  font-family: var(--ds-ref-font-family-body);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p { margin: 0; }

button { font: inherit; color: inherit; }

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

.icon { flex: none; fill: currentColor; display: block; }

/* Every disabled control shows it can't be used */
button:disabled,
select:disabled,
input:disabled,
textarea:disabled,
[aria-disabled="true"] { cursor: not-allowed; }

/* Focus ring — gap: no focus-ring token in Figma; uses border-brand + border width (DESIGN_SYSTEM.md gap #4) */
:focus-visible {
  outline: var(--ds-border-width-xs) solid var(--ds-palette-border-brand);
  outline-offset: var(--ds-spacing-xxs);
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
