/* ============================================================================
   EVALIA — Base
   Reset, tipografía base, body, scrollbars, helpers utilitarios.
   ============================================================================ */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: var(--fs-14);
  line-height: 1.6;
  color: var(--on-surface);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
button { background: transparent; border: 0; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
a { color: var(--primary); }
a:hover { color: var(--primary-alt); }

::selection { background: var(--accent-soft); color: var(--on-surface); }
::-webkit-scrollbar { width: 7px; height: 7px; }
::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: var(--r-xs); }
::-webkit-scrollbar-track { background: transparent; }

h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -.02em; color: var(--on-surface); }
h1 { font-size: var(--fs-32); font-weight: 800; letter-spacing: -.04em; }
h2 { font-size: var(--fs-24); font-weight: 700; letter-spacing: -.03em; }
h3 { font-size: var(--fs-18); font-weight: 700; }
h4 { font-size: var(--fs-15); font-weight: 700; }
p  { margin: 0; }

/* utilidades reutilizables */
.mono   { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0; }
.muted  { color: var(--on-surface-muted); font-size: var(--fs-13); }
.center { text-align: center; }
.hidden { display: none !important; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--on-surface-muted);
  font-weight: 700;
}

.ico {
  display: inline-flex;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  flex-shrink: 0;
}
.ico svg { width: 100%; height: 100%; }

/* accesibilidad */
:focus-visible {
  outline: none;
  box-shadow: var(--sh-focus);
  border-radius: var(--r-sm);
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* print */
@media print {
  body { background: #fff; color: #000; }
  header.topbar, footer.site, .wiz-side, .wiz-actions, .topbar .nav, .row-actions { display: none !important; }
}
