/* Caniguide V2 — les parcours des gens : recherche, Mon carnet, communauté, Mon compte, Espace pro. Chargée sur ces pages seules (v2/parcours.php). Jetons de v2.css uniquement. */

/* ══ RECHERCHE ══ Une réponse, puis des résultats qui disent ce qui les distingue. */
.v2-recherche-page__tete { margin: 6px 0 16px; }
.v2-recherche-page__tete .v2-recherche-page__form { position: relative; top: auto; z-index: 30; margin: 0; padding: 8px; }
.v2-recherche-page__titre { margin: 0 0 16px; }
.v2-recherche-page__titre h1 { margin: 0 0 4px; font-size: var(--v2-h1-liste); overflow-wrap: anywhere; }
.v2-rr-urgence.v2-bloc { margin: 0 0 18px; background: var(--v2-peche); }
.v2-rr-urgence .v2-bloc__titre { margin-top: 0; }
.v2-recherche-page .v2-trouveur__compte { color: var(--v2-noisette); font-weight: 500; font-size: 15px; }
.v2-recherche-page__familles { position: sticky; top: 64px; z-index: 6; margin: 0 calc(var(--v2-gouttiere) * -1) 18px; padding: 8px var(--v2-gouttiere); background: var(--v2-creme); }
.cg-v2 .v2-recherche-page__racc { margin: 0 0 20px; }
.v2-recherche-page__repli { padding: 14px 18px; border-radius: var(--v2-r-carte); background: var(--v2-miel); color: var(--v2-sur-miel); font-weight: 500; }
.v2-recherche-page__repli a { color: inherit; font-weight: 600; }

/* La réponse : un panneau, comme à l'entrée d'un bois. */
.v2-rr { margin: 0 0 14px; padding: clamp(20px, 3vw, 32px); border-radius: var(--v2-r-galet); background: var(--v2-encre); color: var(--v2-papier); }
.v2-rr h1 { margin: 0 0 8px; color: inherit; font-size: var(--v2-h1-liste); overflow-wrap: anywhere; }
.v2-rr p { margin: 0 0 14px; font-size: 17px; line-height: 1.5; color: inherit; }
.v2-rr .v2-boutons { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.cg-v2 .v2-rr a.v2-bouton--plein { background: var(--v2-abricot-doux); color: var(--v2-encre) !important; box-shadow: none; }
.cg-v2 .v2-rr a.v2-bouton--plein:hover { background: var(--v2-peche); }
.cg-v2 .v2-rr a.v2-bouton--teinte { background: transparent; color: var(--v2-papier) !important; box-shadow: inset 0 0 0 1.5px var(--v2-noisette); }
.cg-v2 .v2-rr a.v2-bouton--teinte:hover { background: var(--v2-brun); }
.v2-rr__race { --v2-reperes-dt: #CDBBA6; --v2-reperes-trait: rgba(239, 229, 214, .2); display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: center; }
.v2-rr__race--sans-image { grid-template-columns: minmax(0, 1fr); }
/* Au téléphone, à côté de l'image : les faits l'un sous l'autre, à leur place ; large, en rangée. */
.v2-rr__race .v2-reperes--tuiles { flex-direction: column; gap: 8px; }
.v2-rr__race--sans-image .v2-reperes--tuiles { flex-direction: row; }
.v2-rr__race .v2-reperes--tuiles > div { flex: none; padding: 0; box-shadow: none; }
.v2-rr__race-image { width: 100%; aspect-ratio: 1; height: auto; object-fit: cover; border-radius: var(--v2-r-carte); background: var(--v2-creme); }
.v2-rr__faits { font-weight: 600; }
.v2-rr__traits { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 4px; font-size: 15px; }
.v2-rr__traits li { display: flex; justify-content: space-between; align-items: center; gap: 10px; max-width: 280px; }
.v2-rr__points { display: inline-flex; gap: 4px; }
.v2-rr__points i { width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--v2-abricot-doux); }
.v2-rr__points i.est-plein { background: var(--v2-abricot-doux); }
.v2-rr__comptes { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 16px; padding: 0; font-size: 16px; }
.v2-rr__comptes b { font-family: var(--v2-titre); font-weight: 500; font-size: 26px; color: var(--v2-abricot-doux); }
.v2-rr__race .v2-boutons { grid-column: 1 / -1; }
.v2-rr__comptes a { color: inherit; text-decoration: none; display: inline-flex; align-items: baseline; gap: 6px; min-height: 44px; }
.v2-rr__comptes a:hover { text-decoration: underline; }
.v2-rr__filtre { margin: 0 0 14px; }
.cg-v2 .v2-rr p.v2-rr__filtre-t { margin: 12px 0 6px; font-size: 14px; font-weight: 600; color: var(--v2-abricot-doux); }
.v2-rr__pastilles { list-style: none; display: flex; gap: 6px; margin: 0 -4px 0 0; padding: 0 0 2px; overflow-x: auto; scrollbar-width: none; }
.v2-rr__pastilles a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 6px 14px; border-radius: var(--v2-r-pastille); background: var(--v2-brun); color: var(--v2-papier); text-decoration: none; font-size: 15px; white-space: nowrap; }
.v2-rr__pastilles a:hover { background: var(--v2-noisette); }
.v2-rr__pastilles span { font-weight: 700; color: var(--v2-abricot-doux); }
.v2-rr__portes { list-style: none; display: grid; gap: 8px; margin: 0 0 8px; padding: 0; }
.v2-rr__portes a { display: grid; gap: 2px; min-height: 52px; padding: 10px 14px; border-radius: var(--v2-r-carte); background: var(--v2-brun); color: var(--v2-papier); text-decoration: none; }
.v2-rr__portes a:hover { background: var(--v2-noisette); }
.v2-rr__portes strong { font-weight: 600; overflow-wrap: anywhere; }
.v2-rr__portes span { font-size: 14px; color: var(--v2-sable); }
.v2-rr--portes h1 { font-size: clamp(26px, 3.2vw, 36px); }
@media (min-width: 760px) { .v2-rr__portes { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } .v2-rr__pastilles { flex-wrap: wrap; overflow: visible; margin-right: 0; } }
.v2-rr__geste { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 12px; }
.v2-rr__geste label { font-weight: 600; }
.v2-rr__kg { display: inline-flex; align-items: center; gap: 6px; }
.v2-rr__kg input { width: 84px; min-height: 44px; padding: 6px 10px; font: inherit; border: 0; border-radius: var(--v2-r-champ); background: var(--v2-papier); color: var(--v2-encre); }
.v2-recherche-page:has(.v2-rr) form.v2-rr__geste .v2-bouton--plein { background: var(--v2-abricot-doux); box-shadow: none; }
.v2-rr__etat { display: flex; flex-wrap: wrap; gap: 6px; }
.v2-rr__race .v2-rr__traits { margin-bottom: 0; }
@media (min-width: 760px) {
	.v2-rr__race { grid-template-columns: 156px minmax(0, 1fr); grid-template-rows: 1fr auto; gap: 18px 32px; align-items: start; }
	.v2-rr__race-image { grid-row: 1 / 3; }
	.v2-rr__race .v2-boutons { grid-column: 2; }
	.v2-rr__race--sans-image { grid-template-columns: minmax(0, 1fr); }
	.v2-rr__race--sans-image .v2-boutons { grid-column: 1; }
	.v2-rr__race .v2-reperes--tuiles { flex-direction: row; gap: 12px 44px; }
	.v2-rr__race .v2-reperes--tuiles > div { flex: 0 1 auto; }
	.v2-rr__race .v2-reperes--tuiles dd { font-family: var(--v2-titre); font-variation-settings: "SOFT" 100; font-weight: 400; font-size: 28px; line-height: 1.2; }
}
.v2-rr--guide h1 { font-size: clamp(26px, 3.2vw, 36px); }

/* Les résultats */
.v2-recherche-page__groupe { margin-bottom: 32px; }
.v2-recherche-page__groupe > h2 { font-size: var(--v2-h2-bloc); }
.v2-recherche-page .v2-trouves { gap: 10px; }
.v2-trouve { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; border-radius: var(--v2-r-carte); background: var(--v2-papier); }
.v2-trouve a.v2-trouve__lien { align-items: flex-start; min-height: 0; padding: 14px 16px; border-radius: var(--v2-r-carte); background: transparent; }
.v2-trouve a.v2-trouve__lien:hover, .v2-trouve a.v2-trouve__lien:focus-visible { outline-offset: -2px; }
.v2-trouve__lien:only-child { grid-column: 1 / -1; }
.v2-trouve__geste { padding: 12px 12px 0 0; }
.v2-trouve__pied { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 0 16px 14px; margin-top: -6px; }
.v2-trouve__pied:has([data-v2-statut][hidden]:only-child) { display: none; }
.v2-trouve .v2-trouve__geste a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 6px; border-radius: var(--v2-r-pastille); background: var(--v2-peche); color: var(--v2-encre); font-size: 0; font-weight: 500; white-space: nowrap; }
@media (min-width: 1100px) { .v2-trouve .v2-trouve__geste a { padding: 6px 14px; font-size: 15px; } }
.v2-trouve .v2-trouve__geste a::before { content: ""; width: 15px; height: 15px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15 15 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15 15 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center / contain no-repeat; }
.v2-trouve .v2-trouve__geste a:hover { background: var(--v2-abricot-doux); }
.v2-trouve__type { font-size: 15px; }
.v2-trouve__extrait { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 4px; font-size: 15px; line-height: 1.45; color: var(--v2-noisette); }
.v2-trouve__date { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 58px; height: 62px; border-radius: var(--v2-r-bloc); background: var(--v2-sauge); color: var(--v2-sur-sauge); font-size: 13px; line-height: 1.2; text-align: center; } /* R2-232 (14/11) : « janv. 2027 » passe à la ligne dans 58 px ; ses deux lignes se centrent comme le jour */
.v2-trouve__date b { font-family: var(--v2-titre); font-weight: 500; font-size: 26px; line-height: 1; }
.v2-trouve--editorial .v2-trouve__vignette { width: 72px; height: 72px; }
@media (min-width: 900px) { .v2-recherche-page .v2-trouves { grid-template-columns: repeat(2, minmax(0, 1fr)); } } /* la règle des tuiles vient d'elle-même après, pour ne pas écraser ses 4 colonnes */
.v2-recherche-page .v2-trouves--tuiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .v2-recherche-page .v2-trouves--tuiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.v2-trouve--tuile { overflow: hidden; grid-template-columns: minmax(0, 1fr); }
.v2-trouve--tuile a.v2-trouve__lien { display: block; padding: 0 0 12px; }
.v2-trouve__image { display: block; aspect-ratio: 1; margin-bottom: 10px; background: var(--v2-sable); }
.v2-trouve__image img { width: 100%; height: 100%; object-fit: cover; }
.v2-trouve--tuile .v2-trouve__texte { padding: 0 12px; }
.v2-recherche-page .v2-geo__suite { margin: 12px 0 0; }
.cg-v2 .v2-recherche-proches { padding: 0; background: transparent; box-shadow: none; }
.v2-recherche-proches .v2-trouves { margin-top: 10px; }

/* Rien trouvé : des sorties, pas un mur */
.v2-recherche-page__vide { margin: 0 0 18px; font-size: 18px; }
.v2-recherche-page__aide { display: grid; gap: 12px; }
.v2-rr-sortie { padding: 18px 20px; border-radius: var(--v2-r-carte); background: var(--v2-papier); }
.v2-rr-sortie h2 { margin: 0 0 10px; font-family: var(--v2-titre); font-size: var(--v2-h2-bloc); font-weight: 500; }
.v2-rr-sortie .v2-geo__voisins { margin: 0; }
.v2-rr-sortie--fin p { margin: 0 0 10px; }
.v2-rr-sortie--fin p:last-child { margin-bottom: 0; }
@media (min-width: 900px) { .v2-recherche-page__aide { grid-template-columns: 1fr 1fr; } .v2-rr-sortie--fin { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; } .v2-rr-sortie--fin p { margin: 0; } }

/* ══ MON CARNET ══ Une page qu'on a envie de rouvrir : ce qui approche d'abord, les adresses à portée, sa commune en marge. */
.v2-cn { padding-bottom: 40px; }
.v2-cn-tete { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 0 16px; margin: 14px 0 20px; }
.v2-cn-tete__date { grid-column: 1 / -1; margin: 0 0 2px; color: var(--v2-rouille); font-size: 15px; font-weight: 500; }
.v2-cn-tete__date::first-letter { text-transform: uppercase; }
.v2-cn-tete h1 { grid-column: 1; margin: 0; }
.v2-cn-tete__nb { grid-column: 1; grid-row: 3; margin: 2px 0 0; color: var(--v2-noisette); }
.v2-cn-tete__moi { grid-column: 2; grid-row: 2 / 4; align-self: center; margin: 0; }
.v2-cn-tete__moi a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; }
.v2-cn-tete__moi:has(.v2-cn-tete__sans) { grid-column: 1 / -1; grid-row: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 10px; }
.v2-cn-tete__sans { flex: 1 1 100%; font-size: 15px; color: var(--v2-noisette); }
/* 14/11 (parcours UX de 74, mesuré à 390) : le MEMBRE. « Mon compte » et « Mes chiens : … » en 2e colonne écrasaient la première sous 760 px :
   le titre passait sous les liens, et « 3 fiches gardées » tenait sur trois lignes. Mobile d'abord : une ligne à part, comme le visiteur (l. 126) ;
   la 2e colonne à partir de 760 px, comme avant. Les deux liens ne se touchent plus (« Mon compte Mes chiens » se lisait d'un trait). */
.v2-cn-tete__moi:not(:has(.v2-cn-tete__sans)) { grid-column: 1 / -1; grid-row: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 0 16px; margin-top: 6px; }
@media (min-width: 760px) { .v2-cn-tete__moi:not(:has(.v2-cn-tete__sans)) { grid-column: 2; grid-row: 2 / 4; margin-top: 0; } }
.v2-cn-import { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 0 0 16px; padding: 16px 20px; border-radius: var(--v2-r-carte); background: var(--v2-miel); color: var(--v2-sur-miel); }
.v2-cn-import[hidden] { display: none; }
.v2-cn-import p { margin: 0; }
.v2-cn .v2-nouveautes { margin: 0 0 22px; }
.v2-cn .v2-nouveautes .v2-bloc__titre { font-size: var(--v2-h2-bloc); }
/* Les intercalaires d'un carnet : on saute à la page, sans redérouler. */
html:has(.v2-cn-onglets:not([hidden])) { --v2-rangee: 56px; }
.v2-cn-onglets { position: sticky; top: 64px; z-index: 6; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--v2-gouttiere) * -1) 14px; padding: 8px var(--v2-gouttiere); background: var(--v2-creme); }
.v2-cn-onglets[hidden], .v2-cn-onglet[hidden] { display: none; }
.cg-v2 a.v2-cn-onglet { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 4px 14px; border-radius: var(--v2-r-champ) var(--v2-r-champ) 4px 4px; background: var(--v2-sable); color: var(--v2-encre); font-size: 15px; font-weight: 500; text-decoration: none; }
.cg-v2 a.v2-cn-onglet span { color: var(--v2-noisette); font-weight: 600; }
.cg-v2 a.v2-cn-onglet--agenda, .cg-v2 a.v2-cn-onglet--sorties { background: var(--v2-sauge); }
.cg-v2 a.v2-cn-onglet--adresses { background: var(--v2-peche); }
.cg-v2 a.v2-cn-onglet--races { background: var(--v2-miel); }
.v2-cn .v2-trouve[data-v2-garde-ligne] { grid-template-columns: minmax(0, 1fr); }
.v2-cn .v2-trouve[data-v2-garde-ligne]:has(.v2-trouve__geste) { grid-template-columns: minmax(0, 1fr) auto; }
.v2-cn-corps { display: grid; gap: 22px; }
.v2-cn-pages { display: grid; gap: 16px; min-width: 0; }
.v2-cn-pages > [hidden] { display: none; }
@media (min-width: 960px) { .v2-cn-corps { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; } .v2-cn-marge { position: sticky; top: 128px; } }

/* Les rayons */
.v2-cn-rayon { position: relative; padding: clamp(14px, 2vw, 22px); border-radius: var(--v2-r-galet); background: var(--v2-sable); }
.v2-cn-rayon--agenda, .v2-cn-rayon--sorties { background: var(--v2-sauge); }
.v2-cn-rayon--adresses { background: var(--v2-peche); }
.v2-cn-rayon--races { background: var(--v2-miel); }
.v2-cn-rayon > h2 { margin: 0 0 12px; font-size: var(--v2-h2-bloc); }
.v2-cn-rayon .v2-trouves { display: grid; gap: 10px; }
@media (min-width: 1180px) { .v2-cn-rayon--adresses .v2-trouves, .v2-cn-rayon--sorties .v2-trouves, .v2-cn-rayon--lire .v2-trouves, .v2-cn-rayon--achats .v2-trouves { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Le signet : discret dans le carnet, on n'y garde que ce qu'on a déjà choisi. */
.v2-cn .v2-trouve[data-v2-garde-ligne] { position: relative; }
.v2-cn .v2-trouve[data-v2-garde-ligne] > .v2-trouve__lien, .v2-cn-page .v2-trouve > .v2-trouve__lien { padding-right: 62px; }
.v2-cn .v2-trouve[data-v2-garde-ligne]:has(.v2-trouve__geste) > .v2-trouve__lien { padding-right: 8px; }
.v2-cn .v2-trouve[data-v2-garde-ligne] .v2-trouve__geste { padding-right: 62px; }
.v2-cn .v2-trouve .v2-garder { position: absolute; top: 10px; right: 10px; justify-content: center; width: 44px; min-width: 44px; min-height: 44px; padding: 0; border: 0; background: var(--v2-creme); color: var(--v2-rouille); font-size: 0; }
.v2-cn .v2-trouve .v2-garder[aria-pressed="true"] { background: var(--v2-peche); color: var(--v2-rouille-fonce); }
.v2-cn .v2-trouve .v2-garder svg { flex: none; }
.v2-cn .v2-trouve.est-retire { opacity: .5; }
.v2-cn .v2-trouve__pied { padding-top: 2px; }
.v2-cn .v2-trouve__pied:empty, .v2-cn .v2-trouve__pied:has(> .v2-garder:only-child) { padding: 0; margin: 0; }
.cg-v2 .v2-cn .v2-trouve--tuile > a.v2-trouve__lien { padding: 0 0 12px; }
.v2-cn .v2-cn-pres a.v2-trouve__lien { padding-right: 62px; }
/* Une seule race gardée : une ligne avec son image, pas une vignette perdue dans la page. */
.cg-v2 .v2-cn .v2-trouves--tuiles:has(> li:only-child) { grid-template-columns: minmax(0, 1fr); }
.cg-v2 .v2-cn .v2-trouves--tuiles:has(> li:only-child) a.v2-trouve__lien { display: flex; align-items: center; gap: 14px; padding: 0 62px 0 0; }
.v2-cn .v2-trouves--tuiles:has(> li:only-child) .v2-trouve__image { flex: none; width: 112px; margin: 0; }
.v2-cn .v2-trouves--tuiles:has(> li:only-child) .v2-trouve__texte { padding: 0; }
.v2-cn .v2-trouves--tuiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .v2-cn .v2-trouves--tuiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.v2-cn-dans { display: inline-flex; align-items: center; min-height: 44px; padding: 4px 14px; border-radius: var(--v2-r-pastille); background: var(--v2-miel); color: var(--v2-sur-miel); font-size: 15px; font-weight: 500; }
/* À venir : le fil de promenade entre deux dates */
.v2-cn-fil > li + li::before { content: ""; position: absolute; left: 44px; top: -11px; height: 12px; border-left: 2.5px dotted var(--v2-sauge-fonce); }
.v2-cn-passes { margin-top: 12px; }
.v2-cn-rayon__suite { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin-top: 12px; }
.v2-cn-rayon__suite:empty { display: none; }
.v2-cn-chemins { margin: 0; font-size: 15px; color: var(--v2-noisette); }
.v2-cn-chemins a { display: inline-flex; align-items: center; min-height: 44px; margin-right: 10px; font-weight: 500; }
.v2-cn-vider { margin: -14px 0 0; }

/* La première page : des pages déjà ouvertes */
.v2-cn-amorce > h2 { margin: 0 0 6px; font-size: var(--v2-h2); }
.cg-v2 .v2-cn-amorce__dit { margin: 0 0 18px; color: var(--v2-noisette); }
.v2-cn-amorces { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.v2-cn-page { --v2-teinte: var(--v2-papier); display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: var(--v2-r-carte); background: var(--v2-sable); }
.v2-cn-page h3 { margin: 0 0 2px; font-size: var(--v2-h3); font-weight: 500; }
.v2-cn-page .v2-trouves { display: grid; }
.v2-cn-page__dit { margin: 0; }
.v2-cn-page__suite { margin: 0; font-size: 15px; }
.v2-cn-page__suite a:not(.v2-bouton) { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; }
.v2-cn-page__geste { margin: 0; }
.v2-cn-page--race .v2-trouve--tuile .v2-trouve__image { aspect-ratio: 16 / 10; }
@media (min-width: 720px) { .v2-cn-amorces { grid-template-columns: repeat(2, minmax(0, 1fr)); } .v2-cn-page--race { grid-row: span 2; } }

/* La marge */
.v2-cn-marge { display: grid; gap: 14px; min-width: 0; }
.v2-cn-commune, .v2-cn-ou { padding: 18px 20px; border-radius: var(--v2-r-carte); background: var(--v2-papier); }
.v2-cn-commune { background: var(--v2-sauge); color: var(--v2-sur-sauge); }
.v2-cn-commune h2, .v2-cn-ou h2 { margin: 0 0 8px; font-size: var(--v2-h2-bloc); font-weight: 500; }
.v2-cn-commune p { margin: 0 0 12px; }
.v2-cn-commune__nom { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; font-family: var(--v2-titre); font-size: 28px; line-height: 1.15; }
.v2-cn-commune__nom .v2-bouton--lien { font-family: var(--v2-texte); min-height: 44px; }
.v2-cn-commune__liens { list-style: none; margin: 0; padding: 0; display: grid; }
.v2-cn-commune__liens a { display: flex; align-items: center; justify-content: space-between; min-height: 44px; color: inherit; font-weight: 500; text-decoration: none; border-top: 1px solid var(--v2-creme); }
.v2-cn-commune__liens a::after { content: "→"; color: var(--v2-sauge-fonce); }
.v2-cn-pres { margin-top: 12px; }
.v2-cn-pres[hidden] { display: none; }
.v2-cn-pres h3 { margin: 0 0 8px; font-size: var(--v2-h3); font-weight: 500; }
.v2-cn-ou__ligne { display: grid; gap: 2px; min-height: 44px; padding: 8px 0; color: inherit; text-decoration: none; }
.v2-cn-ou__ligne[hidden] { display: none; }
.v2-cn-ou__ligne strong { font-weight: 600; }
.v2-cn-ou__ligne span { font-size: 15px; color: var(--v2-noisette); }
.v2-cn-ou-est { margin: 0; }

/* ══ COMMUNAUTÉ ══ Une question d'abord, ce qu'on y trouve ensuite, ce qui répond déjà. */
.v2-fa { padding-bottom: 32px; }
.v2-fa-tete { display: grid; gap: 14px; margin: 8px 0 28px; }
.cg-v2 .v2-fa-tete h1 { margin: 0; font-size: var(--v2-h1-porte); font-weight: 380; }
.cg-v2 .v2-fa-chapo { margin: 0; max-width: 62ch; font-size: 18px; line-height: 1.5; color: var(--v2-brun); }
.v2-fa-question { display: grid; gap: 10px; padding: clamp(18px, 3vw, 28px); border-radius: var(--v2-r-galet); background: var(--v2-sauge); color: var(--v2-encre); } /* 03/11 : le bloc brun est réservé à la réponse */
.v2-fa-question label { font-family: var(--v2-titre); font-size: clamp(22px, 2.6vw, 28px); line-height: 1.2; }
.v2-fa-question__ligne { display: grid; gap: 8px; }
.v2-fa-question input { box-sizing: border-box; width: 100%; min-height: 54px; padding: 10px 18px; border: 0; border-radius: var(--v2-r-champ); background: var(--v2-papier); color: var(--v2-encre); font: inherit; font-size: 17px; }
 
.cg-v2 .v2-fa-question .v2-bouton--plein:hover { background: var(--v2-brun); }
.cg-v2 .v2-fa-vierge { margin: 2px 0 0; font-size: 16px; color: var(--v2-encre); }
.v2-fa-deja[hidden] { display: none; }
.cg-v2 .v2-fa-deja p { margin: 4px 0; font-size: 15px; color: var(--v2-encre); }
.v2-fa-deja ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.cg-v2 .v2-fa-deja a { display: flex; align-items: center; min-height: 44px; padding: 8px 14px; border-radius: var(--v2-r-champ); background: var(--v2-brun); color: var(--v2-papier); text-decoration: none; }
@media (min-width: 760px) { .v2-fa-question__ligne { grid-template-columns: minmax(0, 1fr) auto; } }
.v2-fa-usages { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.v2-fa-usages li { padding: 12px 16px; border-radius: var(--v2-r-champ); background: var(--v2-papier); line-height: 1.4; }
.v2-fa-usages strong { font-family: var(--v2-titre); font-size: 18px; font-weight: 500; margin-right: 6px; }
.v2-fa-usages span { font-size: 15px; color: var(--v2-noisette); }
.v2-fa-usages .est-non { background: var(--v2-peche); }
.v2-fa-usages .est-non span { color: var(--v2-brun); }
@media (min-width: 760px) { .v2-fa-usages { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } .v2-fa-usages li { padding: 14px 18px; border-radius: var(--v2-r-carte); } .v2-fa-usages strong { display: block; margin: 0 0 2px; font-size: 19px; } .v2-fa-usages span { font-size: 16px; } }
.v2-fa-carnets > h2, .v2-fa-vif > h2, .v2-fa-comment > h2 { margin: 0 0 14px; font-size: var(--v2-h2); }
.v2-fa-grille { display: grid; gap: 14px; }
@media (min-width: 760px) { .v2-fa-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } .v2-fa-carnet:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; align-items: start; } .v2-fa-carnet:first-child > :not(.v2-fa-carnet__deja) { grid-column: 1; } .v2-fa-carnet:first-child > .v2-fa-carnet__deja { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; padding-top: 0; border-top: 0; padding-left: 28px; border-left: 2.5px dotted var(--v2-papier); } }
.v2-fa-carnet { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: var(--v2-r-galet); background: var(--v2-sable); }
.v2-fa-carnet--miel { background: var(--v2-miel); }
.v2-fa-carnet--peche { background: var(--v2-peche); }
.v2-fa-carnet--sauge { background: var(--v2-sauge); }
.v2-fa-carnet--miel-clair { background: var(--v2-lin); }
.v2-fa-carnet__tete { display: flex; gap: 12px; align-items: flex-start; }
.cg-v2 .v2-fa-carnet__icone { flex: none; width: 56px; height: 56px; border-radius: var(--v2-r-bloc); object-fit: cover; }
.v2-fa-carnet h3 { margin: 0 0 2px; font-size: var(--v2-h3); font-weight: 500; }
.cg-v2 .v2-fa-carnet__tete p { margin: 0; font-size: 15px; line-height: 1.4; color: var(--v2-brun); }
.cg-v2 .v2-fa-carnet__cats, .cg-v2 .v2-fa-reste { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; }
.cg-v2 a.v2-fa-cat { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 4px 14px; border-radius: var(--v2-r-pastille); background: var(--v2-papier); color: var(--v2-encre); font-size: 15px; font-weight: 500; text-decoration: none; }
.cg-v2 a.v2-fa-cat:hover { background: var(--v2-creme); }
.v2-fa-cat span { font-weight: 600; color: var(--v2-rouille); }
.v2-fa-carnet__deja { margin-top: 2px; padding-top: 10px; border-top: 2.5px dotted var(--v2-papier); }
.v2-fa-carnet__deja h4 { margin: 0 0 4px; font-family: var(--v2-texte); font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--v2-brun); }
.v2-fa-carnet__deja ul { list-style: none; margin: 0; padding: 0; }
.v2-fa-carnet__deja li { display: grid; padding: 5px 0; }
.cg-v2 .v2-fa-carnet__deja a { display: flex; align-items: center; min-height: 28px; color: var(--v2-encre); font-weight: 600; line-height: 1.3; text-decoration-color: var(--v2-abricot); }
.v2-fa-carnet__deja span { font-size: 14px; color: var(--v2-brun); }
.v2-fa-reste { margin-top: 14px !important; }
.v2-fa-reste > span { font-weight: 500; }
.v2-fa-vif { margin: 0 0 28px; }
.v2-fa-sujets { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.v2-fa-sujets li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 14px 18px; border-radius: var(--v2-r-carte); background: var(--v2-papier); }
.cg-v2 .v2-fa-sujets a { font-family: var(--v2-titre); font-size: 20px; color: var(--v2-encre); text-decoration: none; overflow-wrap: anywhere; }
.v2-fa-sujets span { font-size: 15px; color: var(--v2-noisette); }
.v2-fa-comment { margin: 28px 0 0; padding: clamp(18px, 3vw, 28px); border-radius: var(--v2-r-galet); background: var(--v2-papier); }
.v2-fa-comment > h2 { font-size: var(--v2-h2-bloc); margin-bottom: 10px; }
.v2-fa-comment ul { margin: 0 0 8px; padding-left: 20px; display: grid; gap: 6px; }
.v2-fa-comment li { line-height: 1.45; }

/* ══ MON COMPTE ══ Ce que je dois faire, ce qui a changé, puis tout le reste. */
.v2-mc-tete { margin-bottom: 18px; }
.v2-mc-sortie { margin: 2px 0 0; font-size: 15px; }
.v2-mc-sortie a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--v2-noisette); }
.v2-mc-messages { display: grid; gap: 10px; margin: 0 0 14px; }
.v2-mc-messages .cg-callout { margin: 0; font-size: 17px; }
.v2-mc-faire { margin: 0 0 14px; padding: clamp(18px, 3vw, 28px); border-radius: var(--v2-r-galet); background: var(--v2-encre); color: var(--v2-papier); }
.v2-mc-faire h2 { margin: 0 0 12px; font-size: var(--v2-h2); color: inherit; }
.v2-mc-faire ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.v2-mc-faire li { display: grid; gap: 10px; }
.v2-mc-faire li + li { padding-top: 14px; border-top: 1px solid var(--v2-brun); }
.v2-mc-faire li div { display: grid; gap: 2px; }
.v2-mc-faire strong { font-size: 18px; font-weight: 600; }
.v2-mc-faire span { font-size: 15px; color: var(--v2-sable); line-height: 1.45; }
.cg-v2 .v2-mc-faire :is(a, button).v2-bouton--plein { justify-self: start; background: var(--v2-abricot-doux); color: var(--v2-encre) !important; }
.cg-v2 .v2-mc-faire :is(a, button).v2-bouton--teinte { justify-self: start; background: transparent; color: var(--v2-papier) !important; box-shadow: inset 0 0 0 1.5px var(--v2-noisette); }
@media (min-width: 760px) { .v2-mc-faire li { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px; } }
.v2-compte .v2-nouveautes { margin: 0 0 14px; }
.v2-mc-portes { display: grid; gap: 10px; margin: 0 0 34px; }
@media (min-width: 620px) { .v2-mc-portes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .v2-mc-portes { grid-template-columns: repeat(3, minmax(0, 1fr)); } .v2-mc-porte--carnet { grid-column: span 2; } }
/* Décision 1 B de Jordan sur Mon compte (22/11) : aucune case vide. « Mon carnet » ouvre toujours la grille ; la dernière porte prend la largeur qui reste sur sa rangée.
   620-999 px (2 colonnes, Mon carnet sur une case) : seule si son rang est impair. 1000 px et plus (3 colonnes, Mon carnet sur deux) : seule si son rang est un multiple de 3,
   deux cases libres si son rang vaut 3n+1. Le téléphone suit plus bas. */
@media (min-width: 620px) and (max-width: 999px) { .v2-mc-portes > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .v2-mc-portes > :last-child:nth-child(3n) { grid-column: 1 / -1; } .v2-mc-portes > :last-child:nth-child(3n+1) { grid-column: span 2; } }
.cg-v2 .v2-compte a.v2-mc-porte { display: flex; flex-direction: column; gap: 4px; min-height: 96px; padding: 16px 18px; margin: 0; border: 0; border-radius: var(--v2-r-carte); background: var(--v2-papier); color: var(--v2-encre); text-decoration: none; }
.cg-v2 .v2-compte a.v2-mc-porte:hover { box-shadow: inset 0 0 0 2px var(--v2-abricot-doux); }
.v2-mc-portes > * { min-width: 0; }
.v2-mc-porte strong { font-family: var(--v2-titre); font-size: 22px; font-weight: 500; }
.v2-mc-porte span { font-size: 15px; line-height: 1.4; color: var(--v2-noisette); }
.v2-mc-porte small { font-size: 14px; color: var(--v2-noisette); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cg-v2 .v2-compte a.v2-mc-porte--carnet { background: var(--v2-miel); color: var(--v2-sur-miel); }
.v2-mc-porte--carnet span, .v2-mc-porte--carnet small { color: var(--v2-sur-miel); }
.cg-v2 .v2-compte a.v2-mc-porte--pro { background: var(--v2-peche); }
.v2-mc-porte--pro span { color: var(--v2-brun); }
.v2-mc-reglages > h2 { margin: 0 0 12px; font-size: var(--v2-h2); }
/* Réglages : une seule feuille, une rangée par sujet, le titre à gauche au bureau. Les blocs du corps V1 gardent leur contenu : ils perdent leur carte. */
.v2-mc-vie { margin: 0 0 34px; }
.v2-mc-vie:not(:has(.cg-compte-grille > *)) .cg-compte-grille { display: none; }
.v2-mc-feuille { border-radius: var(--v2-r-carte); background: var(--v2-papier); border: 1px solid var(--v2-lin); }
.v2-mc-feuille > * { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 28px; padding: 20px clamp(16px, 3vw, 28px); border: 0; border-radius: 0; background: none; margin: 0; }
.v2-mc-feuille > * + * { border-top: 1px solid var(--v2-lin); }
.v2-mc-feuille .cg-panel__titre, .v2-mc-feuille .v2-compte__sous-titre { display: block; margin: 0 0 12px; font-family: var(--v2-titre); font-weight: 500; font-size: 22px; }
.v2-mc-feuille .cg-compte-carte__entete { display: block; }
.v2-mc-feuille .v2-ma-commune { display: block; margin: 0; }
.v2-mc-feuille .cg-compte-carte__tete { justify-content: flex-start; flex-wrap: nowrap; gap: 14px; }
.v2-mc-feuille .cg-compte-carte__vignette { width: 64px; height: 64px; }
.v2-mc-feuille .cg-compte-carte__ident { display: grid; gap: 4px; justify-items: start; min-width: 0; }
.v2-mc-feuille .cg-id-actions:empty { display: none; }
.v2-mc-feuille .cg-compte-figure { margin-top: 10px; padding-top: 0; border-top: 0; }
.v2-mc-feuille .cg-compte-figure > summary { font-family: var(--v2-texte); font-size: 16px; font-weight: 600; }
.v2-mc-feuille .cg-id-list { margin: 4px 0 0; }
.v2-mc-feuille .cg-id-row:last-child { border-bottom: 0; }
.v2-mc-feuille .v2-boutons { margin-top: 10px; }
.v2-mc-feuille .v2-note { margin: 12px 0 0; }
.v2-mc-feuille .cg-danger-zone > :not(h3) { max-width: none; }
.v2-mc-feuille details.cg-danger-card { margin: 0 0 8px; }
.v2-mc-feuille details.cg-danger-card:last-child { margin-bottom: 0; }
/* MON-COMPTE-1B (25/11) : sous « Notifications », la case « une réponse dans un de mes sujets » (form.cg-form sans .cg-compte-bloc, venue de la carte « Communauté »)
   se sépare de la case d'avant comme les deux autres (.cg-compte-bloc, v2.css : 18 px, un filet, 16 px) : « Enregistrer ce choix » ne colle plus à la case suivante. */
.cg-v2 .v2-mc-notif > form.cg-form:not(.cg-compte-bloc) { margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--v2-lin); }
/* Retour de Jordan (essai Google 2, 30/11) : « Envoyer le lien de confirmation » (le bloc « Changer d'adresse e-mail ») collait à « Supprimer mon compte ».
   Le bloc se ferme par le même filet que celui qui l'ouvre (.cg-compte-bloc, v2.css : 18 px, un filet, 16 px) avant la carte de suppression. */
.v2-mc-feuille .cg-compte-bloc:has(+ details.cg-danger-card) { margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--v2-lin); }
.v2-mc-feuille details.cg-danger-card > summary { font-weight: 600; }
.v2-mc-feuille details.v2-mc-acces { background: var(--v2-creme); }
.v2-mc-feuille .cg-form { max-width: 480px; }
.v2-mc-feuille .cg-form--courriel { max-width: none; }
.v2-mc-feuille .v2-mc-notif form { margin: 0; border: 0; padding: 0; }
.v2-mc-feuille details > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; cursor: pointer; list-style: none; }
.v2-mc-feuille details > summary::-webkit-details-marker { display: none; }
.v2-mc-feuille details > summary::after { content: ""; flex: none; width: 9px; height: 9px; margin-right: 4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.v2-mc-feuille details[open] > summary::after { transform: rotate(-135deg); }
.v2-mc-vie .cg-panel__titre + .cg-compte-bloc { margin-top: 0; padding-top: 0; border-top: 0; }
/* Communauté : « Le forum » sous son titre, sans s'y coller ; un bouton teinte (le plein reste à l'action du premier écran) ; le dernier sujet n'est pas répété juste au-dessus de la liste des sujets. */
.v2-mc-vie .cg-compte-bloc__titre { margin: 4px 0 6px; font-family: var(--v2-texte); font-size: 14px; font-weight: 600; letter-spacing: .01em; color: var(--v2-noisette); }
.cg-v2 .v2-mc-vie .cg-button { background: var(--v2-peche); color: var(--v2-sur-peche, var(--v2-encre)) !important; box-shadow: none; }
.v2-mc-vie .cg-compte-bloc:has(+ .cg-compte-bloc .cg-activite-sujets) > .cg-fiche-list { display: none; }
@media (min-width: 860px) {
	.v2-mc-feuille > * { grid-template-columns: 190px minmax(0, 1fr); }
	.v2-mc-feuille > * > * { grid-column: 2; }
	.v2-mc-feuille > * > .cg-compte-carte__entete, .v2-mc-feuille > * > .cg-panel__titre, .v2-mc-feuille .v2-ma-commune > .v2-compte__sous-titre { grid-column: 1; grid-row: 1 / span 12; margin: 0; }
	.v2-mc-feuille .v2-compte__carnet > .v2-ma-commune { grid-column: 1 / -1; display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 0 28px; align-items: start; }
	.v2-mc-feuille .v2-ma-commune > * { grid-column: 2; }
	.v2-mc-feuille .cg-panel__titre, .v2-mc-feuille .v2-compte__sous-titre { font-size: 20px; }
}
@media (max-width: 619px) {
	.v2-mc-portes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.v2-mc-porte--carnet, .v2-mc-portes > :last-child:nth-child(even) { grid-column: 1 / -1; } /* Décision 1 B (22/11) : Mon carnet, puis les portes par deux ; la dernière seule prend la rangée. Plus de largeur forcée pour l'Espace pro. */
	.cg-v2 .v2-compte a.v2-mc-porte { min-height: 0; padding: 14px; }
	.v2-mc-porte strong { font-size: 19px; }
	.v2-mc-porte span { font-size: 14px; }
}
.v2-mc-reglages .v2-compte__carnet { margin: 0; }
.v2-mc-reglages .v2-compte__sous-titre { margin-top: 0; font-family: var(--v2-titre); font-weight: 500; font-size: 22px; }

/* ══ ESPACE PRO ══ Toujours la même mécanique ; plus agréable à tenir. */
/* Au téléphone, les rubriques à vue et au pouce, plutôt qu'un sélecteur à ouvrir pour savoir ce qu'il y a dedans. */
@media (max-width: 899px) {
	.v2-espace__nav ul.cg-ep-nav__liste--bureau { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--v2-gouttiere) * -1); padding: 2px var(--v2-gouttiere); }
	.v2-espace__nav ul.cg-ep-nav__liste--bureau a { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 4px 14px; border-radius: var(--v2-r-pastille); background: var(--v2-papier); white-space: nowrap; font-size: 15px; }
	.v2-espace__nav ul.cg-ep-nav__liste--bureau a[aria-current] { background: var(--v2-encre); color: var(--v2-papier) !important; }
	.v2-espace__nav details { display: none !important; }
	.v2-espace__cadre { gap: 14px; }
	.v2-espace__cadre > * { min-width: 0; }
}
/* La prochaine étape : chaque manque est un geste, pas une phrase à relire. */
.v2-prochaine__v1 strong:first-child { display: none; }
.v2-prochaine .v2-prochaine__v1 > li { min-width: 0; }
.v2-prochaine .v2-prochaine__v1 ul { flex-basis: 100%; min-width: 0; list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 6px; }
.v2-prochaine .v2-prochaine__v1 ul li { display: grid; gap: 2px; padding: 10px 14px; border-radius: var(--v2-r-bloc); background: var(--v2-papier); font-size: 15px; line-height: 1.4; }
.v2-prochaine .v2-prochaine__v1 ul li a { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; font-weight: 600; }
.v2-espace__main > * { min-width: 0; }
/* La tête du tableau : la fiche et son geste du quotidien. */
.v2-ep-tete { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 14px clamp(16px, 3vw, 24px); border-radius: var(--v2-r-carte); background: var(--v2-papier); }
.v2-ep-tete__qui { display: grid; gap: 2px; min-width: 0; }
.cg-v2 a.v2-ep-tete__nom { font-family: var(--v2-titre); font-size: 22px; line-height: 1.2; color: var(--v2-encre) !important; overflow-wrap: anywhere; }
.v2-ep-tete .v2-note { margin: 0; }
/* Ce qu'il reste à compléter : des rangées qu'on touche, côte à côte au bureau. */
@media (min-width: 760px) { .v2-prochaine .v2-prochaine__v1 ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.v2-prochaine .v2-prochaine__v1 ul li:not(:has(form)) { position: relative; }
.v2-prochaine .v2-prochaine__v1 ul li:not(:has(form)) a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
/* La rubrique À faire : mêmes rangées que la prochaine étape, sur la carte blanche. */
.v2-espace .cg-espace-pro__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.v2-espace .cg-espace-pro__liste > li { min-width: 0; }
.v2-espace .cg-espace-pro__liste ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.v2-espace .cg-espace-pro__liste ul li:not(:has(form)) { position: relative; display: grid; gap: 2px; padding: 10px 14px; border-radius: var(--v2-r-bloc); background: var(--v2-creme); font-size: 15px; line-height: 1.4; }
.v2-espace .cg-espace-pro__liste ul li:not(:has(form)) a { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; font-weight: 600; }
.v2-espace .cg-espace-pro__liste ul li:not(:has(form)) a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
@media (min-width: 760px) { .v2-espace .cg-espace-pro__liste ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Les quatre gestes d'une fiche : même poids, même grille. */
.v2-ep-gestes-grille { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; min-width: 0; }
/* 14/11 (parcours UX du pro, -74) : « Retirer cette fiche » se plaçait dans la 1re colonne (auto) de la carte : elle s'élargissait à 120 px pour un logo de 40,
   et le nom de la fiche tenait en 145 px à 390 (4 lignes). Comme la grille des gestes, il prend la ligne entière. */
.v2-espace .cg-fiche-card > .v2-ep-retirer { grid-column: 1 / -1; justify-self: start; }
@media (min-width: 1000px) { .v2-ep-gestes-grille { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.v2-ep-gestes-grille > .v2-ep-gestes, .v2-ep-gestes-grille > .cg-fiche-card__action { display: contents; }
.cg-v2 .v2-ep-gestes-grille .cg-button { background: var(--v2-peche); color: var(--v2-encre) !important; box-shadow: none; }
.cg-v2 .v2-ep-gestes-grille a { display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 48px; padding: 8px 12px; text-align: center; white-space: normal; }
.v2-espace .cg-ep-section__tete .cg-button[data-cg-appel-fiche] { background: var(--v2-peche); color: var(--v2-encre) !important; box-shadow: none; }
/* Deux regards sur la fiche. */
.v2-ep-regard { display: grid; gap: 20px; min-width: 0; }
.v2-ep-regard > * { min-width: 0; margin: 0; }
@media (min-width: 1000px) { .v2-ep-regard { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }
.v2-ep-vitrine { display: grid; gap: 12px; padding: clamp(16px, 3vw, 24px); border-radius: var(--v2-r-carte); background: var(--v2-sable); }
.v2-ep-vitrine__tete h2 { margin: 0 0 2px; font-size: var(--v2-h2-bloc); }
.cg-v2 .v2-ep-vitrine__tete p { margin: 0; }
.v2-ep-vitrine__carte { list-style: none; margin: 0; padding: 0; }
.v2-ep-vitrine__carte > li { margin: 0; }
.v2-espace [data-v2-ep-questions] ul { list-style: none; margin: 8px 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.v2-espace [data-v2-ep-questions] li { padding: 6px 14px; border-radius: var(--v2-r-pastille); background: var(--v2-creme); font-size: 15px; }

/* 04/11 (connecte-0411) : parcours de revendication et Espace pro, messages joués au téléphone. */
.v2-parcours .cg-callout > p, .v2-espace .cg-callout > p { margin: 0; }
.v2-parcours .quiz-step > .cg-callout { margin: 0 0 14px; }
.v2-parcours .quiz-progress-wrapper + .cg-callout, .v2-parcours .cg-callout + .quiz-progress-wrapper { margin-top: 14px; }
/* « Confirmez votre adresse », redit à chaque étape : une ligne et son geste, pas un bloc au-dessus de la question. */
.v2-parcours [data-cg-j4] { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 14px; line-height: 1.4; margin: 0 0 14px; }
.v2-parcours [data-cg-j4] > p { flex: 1 1 100%; margin: 0; overflow-wrap: anywhere; }
.v2-parcours [data-cg-j4] > form { margin: 0; }
.v2-parcours [data-cg-j4] .cg-button { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 0; border-radius: var(--v2-r-pastille); background: var(--v2-peche); color: var(--v2-sur-peche); font: inherit; font-weight: 600; cursor: pointer; }
.v2-mc-renvoi { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.v2-mc-renvoi form { margin: 0; }
.cg-v2 .v2-mc-faire .v2-mc-renvoi > a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: underline; }
/* La prochaine étape, au bureau : un bouton, pas une barre de 700 px. */
@media (min-width: 760px) { .v2-prochaine > .v2-bouton { justify-self: start; width: auto; min-width: 220px; } }

/* La rubrique « Statistiques » de l'Espace pro (14/11, dd, décision de V2) : la page est servie par la V2, qui retire toute feuille « caniguide-* »
   (couche.php, cg_v2_ressources) ; la feuille V1 assets/css/espace-pro-stats.css ne se chargeait donc plus depuis la bascule et la rubrique tombait
   en liste brute. Ses règles, ici, mêmes sélecteurs, aux jetons de v2.css (les valeurs que body.cg-v2 donne à ses alias --cg-*). */
.cg-ep-stats__intro { margin: 0 0 12px; font-size: 1.0625rem; color: var(--v2-encre); }
.cg-ep-stats__note { margin: 0; font-size: 0.9375rem; color: var(--v2-noisette); }
.cg-ep-stats__note + .cg-ep-stats__note { margin-top: 8px; }
.cg-ep-stats__series { display: grid; gap: 20px; }
@media (min-width: 900px) { .cg-ep-stats__series { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
.cg-ep-stats__serie { min-width: 0; padding: 16px; border: 1px solid var(--v2-lin); border-radius: var(--v2-r-champ); background: var(--v2-papier); }
.cg-dashboard .cg-ep-stats__serie-titre { margin: 0 0 12px; font-size: 1rem; line-height: 1.3; color: var(--v2-encre); }
.cg-ep-stats__mois { margin: 0; padding: 0; list-style: none; }
.cg-ep-stats__ligne { display: grid; grid-template-columns: minmax(7.5em, auto) minmax(0, 1fr) auto; align-items: center; column-gap: 12px; row-gap: 4px; margin: 0; padding: 8px 0; border-top: 1px solid var(--v2-lin); }
.cg-ep-stats__ligne:first-child { border-top: 0; padding-top: 0; }
.cg-ep-stats__libelle { font-size: 0.9375rem; color: var(--v2-encre); }
.cg-ep-stats__barre { display: block; height: 8px; border-radius: var(--v2-r-pastille); background: var(--v2-creme); overflow: hidden; }
.cg-ep-stats__remplissage { display: block; height: 100%; border-radius: var(--v2-r-pastille); background: var(--v2-abricot); }
.cg-ep-stats__valeur { min-width: 2.5ch; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--v2-encre); }
.cg-ep-stats__etat, .cg-ep-stats__non-mesure { grid-column: 1 / -1; font-size: 0.8125rem; color: var(--v2-noisette); }
.cg-ep-stats__non-mesure { grid-column: 2 / -1; font-style: italic; }
.cg-ep-stats__aide { margin: 12px 0 0; font-size: 0.8125rem; color: var(--v2-noisette); }
.cg-ep-stats__hors { margin: 24px 0 0; font-size: 0.9375rem; color: var(--v2-noisette); }
@media (max-width: 559px) { .cg-ep-stats__non-mesure { grid-column: 1 / -1; } }
/* ESPACEMENT-V2 (L3, 22/11, retour de Jordan 2 ; accord de secod-b5 ; v2 après l'ORANGE d'ee de 19:00 : chaque règle ANCRÉE par des enfants directs) :
   les blocs « fiches gérées » de Mon compte (club, refuge, restaurant : section.cg-compte-carte > ul.cg-fiche-list, inc/famille-club.php,
   inc/familles-gerables.php, inc/famille-restaurant.php). Leur balisage V1 n'avait aucune règle en V2 (cg-comptes.css est retirée, v2/couche.php
   l. 296-297) : une puce, le nom collé au statut, les boutons sans écart. Les cartes de « Mes fiches » (section.cg-compte-carte > div.cg-compte-bloc
   > ul.cg-fiche-list, inc/comptes-cartes.php) ne sont PAS visées : aucun sélecteur descendant. Le style du composant V2 de .v2-porte (v2.css
   l. 680-684), et la règle commune : l'espace appartient au CONTENEUR (12 px, 16 px à partir de 760) ; 8 px entre deux boutons.
   (MON-COMPTE-1B, 25/11 : la part « carte Communauté » d'ESPACEMENT-V2-B ne s'applique plus, la carte est retirée de Mon compte.) */
.cg-v2 .cg-compte-carte > .cg-fiche-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cg-v2 .cg-compte-carte > .cg-fiche-list > .cg-fiche-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; margin: 0; }
.cg-v2 .cg-compte-carte > .cg-fiche-list > .cg-fiche-card > .cg-fiche-card__body { display: grid; gap: 2px; min-width: 0; }
.cg-v2 .cg-compte-carte > .cg-fiche-list > .cg-fiche-card > .cg-fiche-card__body > .cg-fiche-card__name { font-family: var(--v2-titre); font-variation-settings: "SOFT" 100; font-size: 20px; color: var(--v2-encre); text-decoration: none; }
.cg-v2 .cg-compte-carte > .cg-fiche-list > .cg-fiche-card > .cg-fiche-card__body > .cg-fiche-card__meta { font-size: 15px; color: var(--v2-noisette); }
.cg-v2 .cg-compte-carte > .cg-fiche-list > .cg-fiche-card > .cg-fiche-card__action { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 559px) {
	.cg-v2 .cg-compte-carte > .cg-fiche-list > .cg-fiche-card > .cg-fiche-card__action { display: grid; width: 100%; }
	.cg-v2 .cg-compte-carte > .cg-fiche-list > .cg-fiche-card > .cg-fiche-card__action > .cg-button { width: 100%; }
}
@media (min-width: 760px) { .cg-v2 .cg-compte-carte > .cg-fiche-list { gap: 16px; } }
/* STATS 1A (L3 de JUJU BT, 22/11 ; directive de Jordan § 7) : la bascule « Mois / Semaine » (des liens, la vue courante pleine), le pli « Comment c'est
   compté », le bandeau « Données fictives », « Moins de 10 » (ni nombre ni barre, plus discret qu'un chiffre). Les MÊMES règles que la feuille V1
   assets/css/espace-pro-stats.css, aux jetons de v2.css ; cibles tactiles de 44 px ; le clair et le sombre suivent les jetons. */
.cg-ep-stats__vues { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.cg-ep-stats__vue { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--v2-lin); border-radius: var(--v2-r-pastille); background: var(--v2-papier); color: var(--v2-encre); font-size: 0.9375rem; text-decoration: none; }
.cg-ep-stats__vue[aria-current="page"] { border-color: var(--v2-encre); background: var(--v2-encre); color: var(--v2-papier); font-weight: 600; }
.cg-ep-stats__vue:focus-visible { outline: 2.5px solid var(--v2-encre); outline-offset: 2px; }
.cg-ep-stats__comment { margin: 12px 0 0; }
.cg-ep-stats__comment summary { display: list-item; min-height: 44px; padding: 12px 0; box-sizing: border-box; cursor: pointer; font-size: 0.9375rem; font-weight: 600; color: var(--v2-encre); }   /* list-item : le triangle natif reste (un display flex l'efface) */
.cg-ep-stats__comment summary:focus-visible { outline: 2.5px solid var(--v2-encre); outline-offset: 2px; }
.cg-ep-stats__comment[open] summary { margin-bottom: 8px; }
.cg-ep-stats__fictives { display: inline-block; margin: 0 0 12px; padding: 4px 12px; border: 1px solid var(--v2-lin); border-radius: var(--v2-r-pastille); background: var(--v2-creme); color: var(--v2-encre); font-size: 0.875rem; font-weight: 600; }
.cg-ep-stats__valeur.cg-ep-stats__moins10 { font-size: 0.875rem; font-weight: 400; color: var(--v2-noisette); white-space: nowrap; }
/* STATS 1A, V9-11 (01/12, carte blanche UX de Jordan) : au téléphone, un libellé de semaine long (« 26 octobre – 1er novembre ») prenait toute la
   ligne et écrasait la barre en un point. Les 3 colonnes ont désormais une part fixe : le libellé passe à la ligne, la barre garde sa place et les
   barres s'alignent d'une ligne à l'autre. */
@media (max-width: 559px) { .cg-ep-stats__ligne { grid-template-columns: minmax(0, 11fr) minmax(0, 8fr) auto; } }
