<!DOCTYPE html>
<html lang="es">
<head>
  <meta charset="UTF-8">
  <title>Reporte B - Constantes</title>
  <style>
    body { font-family: Arial; margin: 25px; color: #333; }
    h1 { color: #388e3c; border-bottom: 2px solid #388e3c; }
    table { width: 100%; border-collapse: collapse; margin-top: 10px; }
    th, td { border: 1px solid #ccc; padding: 6px; }
    th { background-color: #f5f5f5; }
  </style>
</head>
<body>
  <h1>Constantes Vitales (Reporte B)</h1>
  <table>
    <thead>
      <tr><th>Tipo</th><th>Valor</th><th>Fecha</th></tr>
    </thead>
    <tbody>
      {{#each constantes}}
      <tr>
        <td>{{this.tipo}}</td>
        <td>{{this.valor}}</td>
        <td>{{formatearFecha this.fecha}}</td>
      </tr>
      {{/each}}
    </tbody>
  </table>
</body>
</html>
