/* ─────────────────────────────────────────────────────────────────────────
   COPIA LITERAL de obras-gestion/plugin/app-src/src/styles/reset.css (20/09/2026).
   Es el sistema de diseño de la app de obras. NO se edita aquí: si hay que
   cambiar algo, se cambia allí y se vuelve a copiar, o las dos apps se separan.
   ───────────────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html, body { height: 100%; }
/* a11y: cualquier elemento traído a la vista por foco de teclado o scrollIntoView()
   (incluido el que hace el propio navegador al restaurar foco) debe quedar por
   encima de la BottomNav fija (70px + el círculo del FAB que sobresale) y por
   debajo de la AppHeader sticky — si no, el navegador lo "revela" justo detrás
   de una de las dos barras y el usuario no ve en qué campo quedó el foco.
   Mismos tokens/patrón que StickyBar.module.css y FianzasSection.module.css. */
html {
  scroll-padding-bottom: calc(var(--qw-bottomnav-clear, 92px) + env(safe-area-inset-bottom, 0px));
  scroll-padding-top: calc(var(--qw-appheader-h, 68px) + env(safe-area-inset-top, 0px));
}
body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: var(--qw-lh-base);
  font-family: var(--qw-font-sans);
  color: var(--qw-text);
  background: var(--qw-bg);
  font-size: var(--qw-fs-base);
}
img, picture, video, canvas, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
button:disabled { cursor: not-allowed; }
p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }
a { color: var(--qw-celeste-deep); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }
:focus-visible {
  outline: 2px solid var(--qw-green);
  outline-offset: 2px;
  border-radius: 2px;
}
::selection { background: var(--qw-green-soft); color: var(--qw-text); }
