/* Páginas del sistema de calidad (/calidad/*): misma identidad que la propuesta, más densas. */
main {
  max-width: 960px;
  margin: 0 auto;
  padding: 10px 16px 72px;
}
/* Barra en píldora, como la de la propuesta: las 6 secciones con la actual resaltada */
.migas {
  position: sticky;
  top: 10px;
  z-index: 20;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 6px;
  border-radius: 999px;
  margin-bottom: 44px;
}
.migas::-webkit-scrollbar {
  display: none;
}
.migas a {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}
.migas a:hover {
  color: var(--ink);
}
.migas a[aria-current="page"] {
  background: var(--ink);
  color: var(--surface);
}
.kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-texto);
  margin: 0 0 14px;
}
h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.035em;
  max-width: 14em;
  text-wrap: balance;
}
h1 .l {
  font-weight: 300;
  letter-spacing: -0.03em;
}
.lead {
  font-size: 1.1rem;
  font-weight: 300;
  max-width: 60ch;
}
.ficticio {
  font-size: 0.85rem;
  color: var(--muted);
}
.panel {
  margin-top: 24px;
  padding: 24px 26px;
  border-radius: 24px;
  background: linear-gradient(160deg, rgb(255 252 247 / 0.9), rgb(255 252 247 / 0.78) 45%);
  border: 1px solid rgb(40 30 20 / 0.1);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.8),
    0 24px 50px -40px rgb(80 55 30 / 0.45);
}
.estado {
  display: inline-block;
  padding: 1px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}
.estado.ok {
  background: var(--accent-soft);
  color: oklch(0.38 0.08 125);
}
.estado.falla {
  background: oklch(0.92 0.05 40);
  color: oklch(0.42 0.12 35);
}
.estado.pendiente {
  background: var(--line);
  color: var(--ink);
}
.cifras {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 12px;
  margin: 24px 0;
}
.cifra {
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.cifra b {
  display: block;
  font-size: clamp(1.4rem, 5vw, 2rem);
  font-weight: 800;
  line-height: 1.1;
}
.cifra span {
  font-size: 0.85rem;
  color: var(--muted);
}
.pie {
  margin-top: 48px;
  font-size: 0.85rem;
  color: var(--muted);
}
