/*
 * Inscription en assistant pas à pas (portail, 06/11/2026) : complément de assets/connexion/connexion.css (cadre auth.cadre, classes
 * cx-*) pour la vue auth.inscription — avancement (texte « Étape n sur 7 » et barre), écrans et panneaux, question de l'écran,
 * zones de texte, récapitulatif compact, question de vérification dans la page. Mobile d'abord ; aucune classe utilitaire nouvelle
 * de la feuille Tailwind figée (app.css).
 */
.cx-as-progression { margin-top: 20px; }
.cx-as-etape { margin: 0 0 6px; font-size: .86rem; font-weight: 600; color: #475569; }
.cx-as-barre { height: 6px; border-radius: 999px; background: #e2e8f0; overflow: hidden; }
.cx-as-barre__remplie { height: 100%; width: 14%; border-radius: inherit; background: rgb(var(--color-primary)); transition: width .3s ease; }
@media (prefers-reduced-motion: reduce) { .cx-as-barre__remplie { transition: none; } }

.cx-as { margin-top: 18px; }
.cx-as-ecran[hidden], .cx-as [data-panneau][hidden], .cx-as .cx-champ[hidden], .cx-as .ai-erreur[hidden] { display: none; }
.cx-as-question { margin: 0; font-size: 1.3rem; line-height: 1.3; font-weight: 700; color: #0f172a; }
.cx-as-question:focus { outline: none; }
.cx-as-aide { margin: 6px 0 16px; font-size: .95rem; line-height: 1.5; color: #475569; }
.cx-as-note { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; background: #fff7ed; color: #9a3412; border: 1px solid #fed7aa; }
.cx-as .cx-champ:first-of-type { margin-top: 0; }
/* Zones de texte (activité, description) : hauteur libre, contrairement aux champs d'une ligne. */
.cx .cx-as-texte { height: auto; min-height: 104px; padding: 12px 14px; line-height: 1.45; resize: vertical; }
/* Choix Oui / Non : la légende au-dessus des deux boutons. */
.cx-as .cx-choix { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cx-as .cx-choix legend { margin-bottom: 6px; }
.cx-as .cx-choix legend + label { grid-column: 1; }
/* Boutons : « Continuer » puis « Retour » dessous sur téléphone ; côte à côte (Retour à gauche, plus étroit) à partir de 480 px. */
.cx-as-actions { margin-top: 22px; }
@media (min-width: 480px) {
    .cx-as-actions { grid-template-columns: 1fr 2fr; }
    .cx-as-actions .cx-bouton--principal { grid-column: 2; grid-row: 1; }
    .cx-as-actions .cx-bouton--secondaire { grid-column: 1; grid-row: 1; }
    .cx-as-actions .cx-bouton--principal:only-child { grid-column: 1 / -1; }
}

/* Récapitulatif compact : libellé, valeur, « Modifier ». */
.cx-as-recap { margin: 0 0 4px; display: grid; gap: 0; border: 1.5px solid #e2e8f0; border-radius: 14px; overflow: hidden; }
.cx-as-recap > div { display: grid; grid-template-columns: 1fr auto; gap: 1px 10px; padding: 10px 14px; border-top: 1px solid #e2e8f0; }
.cx-as-recap > div:first-child { border-top: 0; }
.cx-as-recap dt { grid-column: 1; font-size: .78rem; font-weight: 600; color: #64748b; }
.cx-as-recap dd { grid-column: 1; margin: 0; font-size: .98rem; color: #0f172a; overflow-wrap: anywhere; }
.cx .cx-as-modifier { grid-column: 2; grid-row: 1 / span 2; align-self: center; min-height: 40px; padding: 6px 10px; border: 0; border-radius: 10px;
    background: transparent; color: rgb(var(--color-primary)); font-weight: 600; font-size: .9rem; text-decoration: underline; cursor: pointer; }
.cx .cx-as-modifier:hover { background: #eff6ff; }
.cx .cx-as-modifier:focus-visible { outline: 3px solid rgb(var(--color-primary) / .4); outline-offset: 1px; }

/* Question de vérification dans la page (même service que la fenêtre d'avant : classes cx-verif__*). */
.cx-as-verif { margin-top: 18px; padding: 16px 14px; border: 1.5px solid #e2e8f0; border-radius: 14px; background: #f8fafc; }
.cx-as-verif__titre { margin: 0 0 4px; font-size: 1.05rem; font-weight: 700; color: #0f172a; }
.cx-as-verif .cx-aide { margin: 0 0 12px; }
.cx-as-verif .cx-verif__image { background: #fff; }
.cx-as-verif .cx-etiquette { margin-top: 10px; }
.cx .cx-as-verif .cx-verif__reponse { max-width: 10rem; font-size: 1.3rem; letter-spacing: .08em; }
.cx-as-envoi { margin: 10px 0 0; min-height: 1.2em; text-align: center; font-size: .92rem; color: rgb(var(--color-primary)); }
