/* Base da console. Consome exclusivamente os tokens de `tokens.css`. */

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

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--fundo-aplicacao);
  color: var(--texto);
  font-family: var(--fonte-base);
  font-size: var(--texto-14);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1 {
  color: var(--texto);
  font-size: var(--texto-22);
  font-weight: var(--peso-forte);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h2 {
  color: var(--texto);
  font-size: var(--texto-15);
  font-weight: var(--peso-semi);
  letter-spacing: -0.01em;
}

a {
  color: var(--marca-texto);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button,
input,
select {
  font-family: inherit;
}

:focus-visible {
  outline: none;
  box-shadow: var(--anel-foco);
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--borda-forte) transparent;
}

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

.mono {
  font-family: var(--fonte-mono);
  font-weight: var(--peso-medio);
  letter-spacing: 0.02em;
}

.texto-secundario {
  color: var(--texto-secundario);
}

.oculto {
  display: none !important;
}

.apenas-leitor-de-tela {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  margin: -1px;
  clip-path: inset(50%);
  white-space: nowrap;
}
