/* =============================================================
   SEO, styles communs aux écrans « Idées d'articles », éditeur et onglets SEO :
   suivi d'une tâche de fond (src/ui/seo-taches.js). Variables de app.css.
   ============================================================= */

.seo-tache { display: grid; gap: 10px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.seo-tache-titre { font-weight: 700; color: var(--ink); }
.seo-tache-barre { height: 8px; border-radius: 999px; background: var(--line-2); overflow: hidden; }
.seo-tache-barre span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--navy), var(--violet)); transition: width .5s ease; }
.seo-tache-etape { margin: 0; color: var(--text); font-weight: 600; }
.seo-tache-erreur { margin: 0; display: flex; gap: 8px; align-items: flex-start; color: var(--t-rouge); font-weight: 600; }
.seo-tache-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.seo-tache-liste li { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: .9rem; }
.seo-tache-liste li.fait { color: var(--t-vert); }
.seo-tache-liste li.actif { color: var(--ink); font-weight: 600; }
.seo-tache-liste li.actif svg { animation: seo-tache-tourne 1.6s linear infinite; }
.seo-tache-liste li.arret { color: var(--t-rouge); font-weight: 600; }
@keyframes seo-tache-tourne { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .seo-tache-barre span { transition: none; }
  .seo-tache-liste li.actif svg { animation: none; }
}
