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

html {
  min-height: 100%;
  background: var(--color-surface-soft);
  color: var(--color-text);
  font-family: var(--font-sans);
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--color-surface-soft);
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

:focus-visible {
  outline: 0.1875rem solid var(--color-focus);
  outline-offset: 0.125rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

a {
  color: inherit;
}

.app-root {
  min-height: 100vh;
}

.sr-only {
  position: absolute;
  width: 0.0625rem;
  height: 0.0625rem;
  padding: 0;
  margin: -0.0625rem;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Écran d'attente de l'ouverture (écrit dans index.html) : logo et « Ouverture… » dès le premier affichage ; remplacé par le premier vrai écran. */
.boot-splash { display: grid; justify-items: center; align-content: center; gap: .75rem; min-height: 100vh; min-height: 100dvh; padding: 1rem; text-align: center; }
.boot-splash__logo { width: 4.5rem; height: 4.5rem; }
.boot-splash p { margin: 0; color: var(--color-text-muted); }
