/* SPDX-License-Identifier: Apache-2.0
   The reset every look stands on: box sizing, the focus ring, the screen-reader-only class,
   reduced motion. Colours and type come from the look's tokens. */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
#face { min-height: 100%; height: 100%; }
body {
  background: var(--ground, Canvas);
  color: var(--ink, CanvasText);
  font-family: var(--font, system-ui, sans-serif);
  font-size: var(--text-base, 13px);
  line-height: var(--leading, 1.4);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
[hidden] { display: none !important; }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--focus, Highlight);
  outline-offset: 2px;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.icon { width: 1em; height: 1em; flex: none; display: block; }

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