/* =========================================================
   Reportería SSOMA · R.BUDGE — base (tokens, reset, utilidades)
   Valores tomados de la maqueta de Figma (app_ssoma)
   ========================================================= */

:root {
  /* Marca */
  --azul-900: #0E2150;
  --azul-800: #12285A;   /* azul BUDGE */
  --azul-700: #1E3B78;
  --azul-600: #2A4785;
  --azul-500: #3B5590;
  --azul-300: #B9C6E4;   /* texto sobre azul */
  --amarillo: #F7B500;   /* amarillo seguridad */

  /* Neutros */
  --tinta:   #18233D;
  --texto-2: #5B6780;
  --texto-3: #8792A8;
  --borde:   #D5DBE5;
  --borde-2: #E3E8F0;
  --fondo:   #EEF1F5;
  --blanco:  #FFFFFF;

  /* Alertas */
  --rojo:     #B3261E;   /* emergencia / vencido */
  --rojo-500: #C8372D;
  --rojo-100: #FBE7E5;

  /* Estados del reporte */
  --est-pendiente:    #2C63C9;  --est-pendiente-bg:  #E3ECFB;
  --est-planificado:  #C2417A;  --est-planificado-bg: #FBEFF4;
  --est-ejecucion:    #B07400;  --est-ejecucion-bg:  #FFF6E3;
  --est-levantado:    #1E8A5A;  --est-levantado-bg:  #E2F3EA;
  --est-abierto:      #C8372D;  --est-abierto-bg:    #FBE7E5;

  /* Tipografía */
  --f-display: "Archivo Black", "Archivo", system-ui, sans-serif;
  --f-titulo:  "Archivo", system-ui, sans-serif;
  --f-texto:   "Barlow", system-ui, sans-serif;

  /* Radios */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 16px;
  --r-xl: 18px;

  /* Layout */
  --ancho: 1200px;
  --margen: 20px;

  /* Movimiento */
  --dur: 150ms;
  --ease: cubic-bezier(.2, .7, .3, 1);
}

/* ---------- Reset mínimo ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--f-texto);
  font-size: 16px;
  line-height: 1.4;
  color: var(--tinta);
  background: var(--fondo);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p { margin: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--amarillo);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Utilidades ---------- */
.contenedor {
  width: 100%;
  max-width: calc(var(--ancho) + var(--margen) * 2);
  margin-inline: auto;
  padding-inline: var(--margen);
}

.solo-movil { display: none; }

.visualmente-oculto {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 768px) {
  .solo-escritorio { display: none; }
  .solo-movil { display: revert; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0ms !important;
    animation-duration: 0ms !important;
  }
}
/* ---------- Ajustes generales ---------- */
[hidden] { display: none !important; }

fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
button { font: inherit; }