/* Base global da WebApp.
   Este módulo é importado por /css/app.css e concentra reset, tokens e
   utilitários fundamentais.

   Sprint 2026-05-11 wave-560-files-over-500: split em 2 arquivos para
   manter cada um < 500 LOC sem fragmentar Tailwind preflight upstream:
   - `base-tailwind-preflight.css` (556 LOC): Tailwind v3.4.17 preflight
     verbatim (https://tailwindcss.com — MIT License). NÃO modificar
     manualmente; arquivo é regenerável via `npx tailwindcss base`.
   - `base.css` (este arquivo): adições project-authored sobre o preflight
     (hidden hardening + body theme via tenant tokens + footer height).

   Cascade order preserved: preflight importado primeiro, project additions
   ficam no final (mesma ordem do arquivo monolítico original). */

@import url("./base-tailwind-preflight.css");

/* A fonte principal é carregada pelo layout para permitir fallback local
   em sessões automatizadas. */

/* Make elements with the HTML hidden attribute stay hidden by default */

[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}

[hidden] {
  display: none !important;
}

body {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--color-background-rgb) / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(var(--color-secondary-rgb) / var(--tw-text-opacity, 1));
}

@media (min-width: 768px) {
  :root {
    --app-footer-height: 2.75rem;
  }
}
