/* ============================================================
   base.css - Reset, tipografia, variables de layout (~80 lin)
   Todos los colores usan var(--brand-*) de theme.ts
   ============================================================ */

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

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-family);
  background: var(--brand-bg);
  color: var(--brand-text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--brand-text-muted); border-radius: 3px; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: var(--font-family); }

/* === Skeletons === */
.skeleton {
  background: var(--brand-border);
  border-radius: 4px;
  animation: pulse 1.5s ease-in-out infinite;
}
.sk-label { width: 80px; height: 12px; }
.sk-value { width: 120px; height: 28px; margin-top: 12px; }
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* === Utilidades === */
.text-muted { color: var(--brand-text-muted); }
.text-accent { color: var(--brand-accent); }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.font-bold { font-weight: 700; }
.mt-4 { margin-top: 16px; }
.mb-4 { margin-bottom: 16px; }
.icon-accent { margin-right: 8px; color: var(--brand-accent); }
