body {
  margin: 0;
  padding: 2.5rem 4rem 4rem;
  font-family: "Segoe UI", system-ui, Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.5;
  color: #16264a;
  background-color: #f4f7fa;
  /* Azul semitransparente + cuadrícula */
  background-image:
    linear-gradient(rgba(39, 84, 214, 0.22), rgba(39, 84, 214, 0.22)),
    linear-gradient(#dbe4ee 1px, transparent 1px),
    linear-gradient(90deg, #dbe4ee 1px, transparent 1px);
  background-size: 100% 100%, 28px 28px, 28px 28px;
  background-attachment: fixed, scroll, scroll;
}
/* ---------- H1 ---------- */
h1 {
  max-width: 1400px;
  margin: 2.5rem auto 1rem;
  padding-left: 0.9rem;
  border-left: 6px solid #2754d6;
  font-family: Rockwell, "Roboto Slab", "Rockwell Nova", Georgia, serif;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h1:first-of-type {
  margin-top: 0;
}
/* ---------- Tabla ---------- */
table {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 0;
  background: #ffffff;
  border: 2px solid #16264a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 6px 6px 0 #2754d6;
}
th,
td {
  padding: 0.8rem 1.25rem;
  border: 0;
  border-bottom: 1px solid #d3dce8;
  text-align: left;
  vertical-align: middle;
}
th {
  background: #16264a;
  color: #ffffff;
  font-weight: 600;
}
tr:last-child td {
  border-bottom: 0;
}
/* Resaltador al pasar el cursor */
tr:not(:first-child):hover td {
  background: #fff0a6;
}
/* Fila vacía: se oculta */
tr:has(> td:first-child:empty) {
  display: none;
}
/* ---------- Enlaces e iconos ---------- */
a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem;
  border-radius: 8px;
}
a:hover {
  background: #2754d6;
}
td img {
  width: 34px;
  height: auto;
  display: block;
}