/* RetoPRO · Hoja de estilos del plugin */
.an7449-reto {
  --reto-color: #2563eb;
  max-width: 650px;
  margin: 1.5rem auto;
  padding: 1.5rem;
  border: 1px solid #dbe3ee;
  border-radius: 16px;
  color: #172033;
  background: #fff;
  font-family: system-ui, sans-serif;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.an7449-reto__titulo { margin: 0 0 1rem; color: inherit; font-size: 1.35rem; }
.an7449-reto__datos { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .5rem; margin-bottom: 1rem; }
.an7449-reto__datos p { min-width: 0; margin: 0; padding: .75rem; border-radius: 10px; background: #f1f5f9; font-size: .9rem; }
.an7449-reto__datos strong { display: block; margin-top: .35rem; font-size: 1.3rem; }
.an7449-reto__progreso { height: 18px; overflow: hidden; background: #e2e8f0; border-radius: 999px; }
.an7449-reto__barra { height: 100%; background: var(--reto-color); border-radius: inherit; }
.an7449-reto__estado { margin-top: 1rem; font-weight: 700; }
.an7449-reto--progreso { --reto-color: #2563eb; }
.an7449-reto--casi { --reto-color: #d97706; }
.an7449-reto--completado { --reto-color: #15803d; }
.an7449-reto-error { padding: 1rem; border-left: 4px solid #b91c1c; color: #7f1d1d; background: #fef2f2; }
@media (max-width: 480px) {
  .an7449-reto__datos { grid-template-columns: 1fr; }
  .an7449-reto { padding: 1rem; }
}
