/* ==========================================================================
   mcp-ticket · tk-pages.css — pages piliers habillées par le thème (lot « pages »)
   FICHIER ASSEMBLÉ : ne pas modifier ici. Sources : theme/pages-css/*.css, assemblées par
   sh theme/build-pages-css.sh. Imprimée seulement sur les pages piliers, lot « pages » coché
   (inc/assets.php, tk_page_pilier()) : leurs feuilles d'extraits ne sont alors plus envoyées.
   Règle de Kevinoo (20/10/2026) : aucune règle n'écrase un ancien style (aucune priorité forcée, aucun
   sélecteur renforcé contre un extrait) ; couleurs : jetons du thème uniquement.
   ========================================================================== */

/* ---------- 0. Socle commun des pages piliers ----------
   Une seule colonne de 960 px ; le titre de la page (page.php) et le contenu partagent le même bord gauche.
   Texte courant 16 px, titres en casse normale et graisse modérée (jetons --fw-title 650, --fw-strong 600),
   cartes blanches (surface) bordées d'un filet, questions fréquentes comme sur l'accueil et les fiches.
   Chaque page a ensuite son morceau (10-… à 90-…), qui réutilise ces réglages :
     carte .......... background: var(--tkp-carte-bg); border: 1px solid var(--tkp-carte-filet);
                      border-radius: var(--tkp-carte-r); padding: var(--tkp-carte-pad);
     pastille ....... min-height 28-32 px ; border: 1px solid var(--line-2) ; border-radius: var(--r-pill) ;
                      background: var(--surface) ; color: var(--ink) ; font-size: var(--fs-xs|sm) ; 600
     pastille active  background: var(--sel-bg) ; color: var(--sel-ink) ; border-color: var(--sel-bg)
     bouton d'offre . « Profitez de l'offre » : comme .ca-top-go (10-meilleures-offres.css)
     bouton principal background: var(--sel-bg) ; color: var(--sel-ink) ; border: 1.5px solid var(--sel-bg)
     bouton d'appoint border: 1.5px solid var(--line-strong) ; background: var(--surface) ; color: var(--ink)
     chiffres ....... jamais de gros chiffres gras hors montants des tickets : --fs-xl au plus, --fw-title,
                      encre (pas d'accent)
   Aucune majuscule forcée (text-transform), aucune lettre étirée, aucune couleur en dur. */
body.tk-lot-pages {
  --tkp-col: 60rem;      /* colonne : 960 px */
  --tkp-texte: 46rem;    /* texte courant : 736 px au plus */
  --tkp-carte-bg: var(--surface);
  --tkp-carte-filet: var(--line);
  --tkp-carte-r: var(--r-lg);
  --tkp-carte-pad: var(--sp-5);
}
@media (min-width: 768px) { body.tk-lot-pages { --tkp-carte-pad: var(--sp-6); } }

/* Colonne */
body.tk-lot-pages .tk-page__head { max-width: calc(var(--tkp-col) + 2 * var(--gutter)); padding-top: var(--sp-8); padding-bottom: var(--sp-3); }
body.tk-lot-pages .tk-content { max-width: calc(var(--tkp-col) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
body.tk-lot-pages .tk-content > * { max-width: none; margin-inline: 0; padding-inline: 0; }
body.tk-lot-pages .tk-content > :is(p, ul, ol, dl, blockquote, h2, h3, h4) { max-width: var(--tkp-texte); }

/* Chapeau (premier paragraphe) et texte courant */
body.tk-lot-pages .tk-content > p:first-child { margin-block: 0 var(--sp-6); font-size: clamp(1rem, .95rem + .3vw, var(--fs-md)); line-height: 1.55; color: var(--ink-2); }
body.tk-lot-pages .tk-content :where(p, li, dd) { line-height: 1.6; }
body.tk-lot-pages .tk-content > :where(h2) { margin: var(--sp-10) 0 var(--sp-3); font-size: var(--fs-xl); font-weight: var(--fw-title); line-height: 1.2; letter-spacing: var(--tr-title); }
body.tk-lot-pages .tk-content > :where(h3) { margin: var(--sp-6) 0 var(--sp-2); font-size: var(--fs-lg); font-weight: var(--fw-title); line-height: 1.25; letter-spacing: var(--tr-title); }
body.tk-lot-pages .tk-content :where(strong, b) { font-weight: var(--fw-strong); }

/* Questions fréquentes (<details>) : comme sur l'accueil et les fiches. Le bloc qui les contient pose son filet du haut. */
body.tk-lot-pages .tk-content details { margin: 0; padding: 0; border: 0; border-bottom: 1px dashed var(--line-2); border-radius: 0; background: none; box-shadow: none; }
body.tk-lot-pages .tk-content details > summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); min-height: 56px; padding: 14px 0;
  list-style: none; cursor: pointer; color: var(--ink); font-size: var(--fs-base); font-weight: var(--fw-strong); line-height: 1.35;
}
body.tk-lot-pages .tk-content details > summary::-webkit-details-marker { display: none; }
body.tk-lot-pages .tk-content details > summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px;
  border: 1.5px solid var(--line-strong); color: var(--ink); font-size: 20px; font-weight: 500; line-height: 1;
}
body.tk-lot-pages .tk-content details[open] > summary::after { content: "−"; background: var(--accent-fill, var(--accent)); border-color: var(--accent-line, var(--accent)); color: var(--on-accent); }
body.tk-lot-pages .tk-content details > summary :is(h2, h3, h4) { margin: 0; padding: 0; border: 0; font-size: inherit; font-weight: inherit; line-height: inherit; letter-spacing: 0; }
body.tk-lot-pages .tk-content details > summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
body.tk-lot-pages .tk-content details > :not(summary) { padding-bottom: var(--sp-4); color: var(--ink-2); }
body.tk-lot-pages .tk-content details > :not(summary) :where(p) { margin: 0 0 var(--sp-2); }
body.tk-lot-pages .tk-content details > :not(summary) :where(p):last-child { margin-bottom: 0; }

/* Focus clavier visible partout (les survols ne soulignent ni ne surlignent rien : décision du 20/10). */
body.tk-lot-pages .tk-content :where(a, button):focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  body.tk-lot-pages .tk-content *, body.tk-lot-pages .tk-content *::before, body.tk-lot-pages .tk-content *::after { transition: none; animation: none; }
}

/* Fil d'Ariane du thème (inc/fil.php) : même colonne que le titre et le texte des pages piliers. */
body.tk-lot-pages .tk-fil { max-width: calc(var(--tkp-col) + 2 * var(--gutter)); }

/* ---------- 1. Meilleures offres (/meilleures-offres-parrainage/, extraits 414, 415 et 463) ----------
   Remplace les feuilles ca-top-page-css (415) et ca-top-bref-css (463), qui ne sont plus envoyées quand le lot
   « pages » est coché (lignes de garde des deux extraits). Plus de bleu ni de violet : pastille du mois neutre (étoile
   à l'accent), « En bref » en carte blanche, montant en encre sur fond doux, offres en cartes comme les tickets
   (rang en pastille encre pour le podium), « Profitez de l'offre » comme sur les fiches et les tickets. */

/* Barre du mois */
body.tk-lot-pages .ca-top { margin: 0 0 var(--sp-12); }
body.tk-lot-pages .ca-top-bar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2) var(--sp-3); margin: 0 0 var(--sp-5); }
body.tk-lot-pages .ca-top-ed {
  display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--r-pill);
  background: var(--surface); color: var(--ink); font-size: var(--fs-sm); font-weight: var(--fw-strong); line-height: 1.2;
}
body.tk-lot-pages .ca-top-ed svg { width: 14px; height: 14px; flex: none; fill: currentColor; color: var(--tk-accent-ico, var(--accent)); }
body.tk-lot-pages .ca-top-meta { font-size: var(--fs-sm); line-height: 1.5; color: var(--muted); }
body.tk-lot-pages .ca-top-sep { margin: 0 6px; }

/* En bref (463) */
body.tk-lot-pages .ca-top-bref {
  margin: 0 0 var(--sp-10); padding: var(--tkp-carte-pad); border: 1px solid var(--tkp-carte-filet); border-radius: var(--tkp-carte-r);
  background: var(--tkp-carte-bg); color: var(--ink); font-size: var(--fs-base); line-height: 1.6;
}
body.tk-lot-pages .ca-top-bref p { margin: 0 0 var(--sp-3); }
body.tk-lot-pages .ca-top-bref ul { display: grid; gap: 4px; margin: 0; padding-left: 1.2em; }
body.tk-lot-pages .ca-top-bref li::marker { color: var(--muted); }
body.tk-lot-pages .ca-top-bref a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }

/* Titres de section */
body.tk-lot-pages .ca-top-h2 { display: flex; align-items: center; gap: 10px; margin: var(--sp-10) 0 var(--sp-2); font-size: var(--fs-xl); font-weight: var(--fw-title); line-height: 1.2; letter-spacing: var(--tr-title); color: var(--ink); }
body.tk-lot-pages .ca-top-reco-h2 svg { width: 24px; height: 24px; flex: none; fill: currentColor; color: var(--tk-accent-ico, var(--accent)); }
body.tk-lot-pages .ca-top-reco { margin: 0 0 var(--sp-6); }
body.tk-lot-pages .ca-top-reco-sub { margin: 0 0 var(--sp-6); font-size: var(--fs-base); line-height: 1.55; color: var(--muted); }
body.tk-lot-pages .ca-top > .ca-top-h2:not(.ca-top-reco-h2) { margin-bottom: var(--sp-5); }

/* Liste des offres */
body.tk-lot-pages .ca-top-list { display: grid; gap: var(--sp-4); margin: 0 0 var(--sp-8); padding: 0; list-style: none; }
body.tk-lot-pages .ca-top-item {
  position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: var(--sp-4); margin: 0; padding: var(--tkp-carte-pad);
  border: 1px solid var(--tkp-carte-filet); border-radius: var(--tkp-carte-r); background: var(--tkp-carte-bg); box-shadow: var(--shadow-1); scroll-margin-top: 96px;
}
body.tk-lot-pages .ca-top-rank {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-md); background: var(--surface-2); color: var(--ink);
  font-size: var(--fs-md); font-weight: var(--fw-strong); font-variant-numeric: tabular-nums; line-height: 1;
}
body.tk-lot-pages .ca-top-item.is-podium .ca-top-rank { background: var(--sel-bg); color: var(--sel-ink); }
body.tk-lot-pages .ca-top-body { min-width: 0; }

/* Recommandations du moment : deux cartes côte à côte, cadre à l'encre et ruban « Top 1 » */
body.tk-lot-pages ol.ca-top-reco-grid { grid-template-columns: minmax(0, 1fr); gap: var(--sp-8) var(--sp-5); margin: 0; padding: 14px 0 0; }
@media (min-width: 900px) { body.tk-lot-pages ol.ca-top-reco-grid:has(> li + li) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
body.tk-lot-pages .ca-top-item.is-reco { grid-template-columns: minmax(0, 1fr); padding-top: calc(var(--tkp-carte-pad) + 10px); border: 1.5px solid var(--line-strong); box-shadow: var(--shadow-2); }
body.tk-lot-pages .ca-top-ribbon {
  position: absolute; top: -14px; left: var(--sp-5); z-index: 1; display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 12px 0 10px;
  border: 1.5px solid var(--line-strong); border-radius: var(--r-pill); background: var(--ribbon-bg, var(--accent)); color: var(--ribbon-ink, var(--on-accent));
  font-size: var(--fs-sm); font-weight: var(--fw-strong); line-height: 1; letter-spacing: 0;
}
body.tk-lot-pages .ca-top-ribbon svg { width: 15px; height: 15px; flex: none; fill: currentColor; }

/* Tête de carte : logo, nom, secteur, montant */
body.tk-lot-pages .ca-top-head { display: flex; align-items: flex-start; gap: var(--sp-3); margin: 0 0 var(--sp-4); }
body.tk-lot-pages .ca-top-logo { flex: none; width: 48px; height: 48px; margin: 0; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--tk-logo-bg, var(--surface-2)); object-fit: contain; }
body.tk-lot-pages .ca-top-logo--mono { display: grid; place-items: center; color: var(--ink); font-size: var(--fs-lg); font-weight: var(--fw-strong); line-height: 1; }
body.tk-lot-pages .ca-top-idt { flex: 1 1 auto; min-width: 0; }
body.tk-lot-pages .ca-top-name { margin: 2px 0 6px; padding: 0; border: 0; font-size: var(--fs-lg); font-weight: var(--fw-title); line-height: 1.2; letter-spacing: var(--tr-title); }
body.tk-lot-pages .ca-top-name a { color: var(--ink); text-decoration: none; }
body.tk-lot-pages .ca-top-tags { display: flex; flex-wrap: wrap; gap: 6px; }
body.tk-lot-pages :is(.ca-top-cat, .ca-top-fin, .ca-top-avant) {
  display: inline-flex; align-items: center; gap: 5px; min-height: 24px; padding: 0 9px; border: 1px solid var(--line-2); border-radius: var(--r-pill);
  background: transparent; color: var(--ink-2); font-size: var(--fs-xs); font-weight: 600; line-height: 1.2;
}
body.tk-lot-pages :is(.ca-top-fin, .ca-top-avant) svg { width: 12px; height: 12px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; }
body.tk-lot-pages .ca-top-val {
  flex: none; align-self: flex-start; max-width: 42%; margin-left: auto; padding: 6px 12px; border-radius: var(--r-md); background: var(--surface-2);
  color: var(--ink); font-size: var(--fs-base); font-weight: var(--fw-strong); line-height: 1.3; text-align: right;
}

/* Gains, raison du choix */
body.tk-lot-pages .ca-top-gains { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); margin: 0 0 var(--sp-4); padding: 0; }
body.tk-lot-pages .ca-top-gain { margin: 0; padding: var(--sp-3) var(--sp-4); border: 1px solid var(--line); border-radius: var(--r-md); background: transparent; }
body.tk-lot-pages .ca-top-gain.is-filleul { border-color: var(--line-2); background: var(--surface-2); }
body.tk-lot-pages .ca-top-gain dt { margin: 0 0 4px; font-size: var(--fs-xs); font-weight: 600; line-height: 1.3; letter-spacing: 0; text-transform: none; color: var(--muted); }
body.tk-lot-pages .ca-top-gain dd { margin: 0; font-size: var(--fs-sm); line-height: 1.5; color: var(--ink); }
body.tk-lot-pages .ca-top-why { margin: 0 0 var(--sp-4); font-size: var(--fs-sm); line-height: 1.55; color: var(--ink-2); }
body.tk-lot-pages .ca-top-why strong { color: var(--ink); }

/* Pied de carte : vérification, code à copier, « Profitez de l'offre », « Conditions et avis » */
body.tk-lot-pages .ca-top-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-3); padding-top: var(--sp-4); border-top: 1px dashed var(--line-2); }
body.tk-lot-pages .ca-top-verif { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-xs); font-weight: 600; color: var(--ok); }
body.tk-lot-pages .ca-top-verif svg { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.4; }
body.tk-lot-pages .ca-top-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2) var(--sp-3); }
body.tk-lot-pages .ca-top-code {
  display: inline-flex; align-items: center; gap: 8px; max-width: 100%; min-height: var(--tap); padding: 3px 3px 3px 12px;
  border: 1.5px dashed var(--line-input); border-radius: var(--r-md); background: var(--surface);
}
body.tk-lot-pages .ca-top-code-l { flex: none; font-size: var(--fs-xs); font-weight: 600; color: var(--muted); }
body.tk-lot-pages .ca-top-code code { min-width: 0; padding: 0; background: none; color: var(--ink); font-size: var(--fs-base); overflow-wrap: anywhere; }
body.tk-lot-pages button.ca-top-copy { flex: none; min-height: 36px; padding: 0 14px; border-radius: 9px; }
body.tk-lot-pages a.ca-top-go {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--tap); padding: 0 18px;
  border: 1.5px solid var(--tk-ink, var(--ink)); border-radius: var(--r-md); background: var(--accent-fill, var(--accent)); background-origin: border-box;
  color: var(--on-accent); font-size: var(--fs-sm); font-weight: var(--fw-strong); line-height: 1.2; text-decoration: none; box-shadow: none;
}
body.tk-lot-pages a.ca-top-go svg { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; }
body.tk-lot-pages a.ca-top-more { display: inline-flex; align-items: center; min-height: var(--tap); font-size: var(--fs-sm); font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }

/* Encadrés de fin : entrées et sorties, méthode, questions fréquentes */
body.tk-lot-pages .ca-top-box { margin: var(--sp-8) 0 0; padding: var(--tkp-carte-pad); border: 1px solid var(--tkp-carte-filet); border-radius: var(--tkp-carte-r); background: var(--tkp-carte-bg); }
body.tk-lot-pages .ca-top-box h2 { margin: 0 0 var(--sp-3); font-size: var(--fs-lg); font-weight: var(--fw-title); line-height: 1.25; letter-spacing: var(--tr-title); color: var(--ink); }
body.tk-lot-pages .ca-top-box :is(p, li) { font-size: var(--fs-base); line-height: 1.6; color: var(--ink); }
body.tk-lot-pages .ca-top-box p { margin: 0 0 var(--sp-3); }
body.tk-lot-pages .ca-top-box ul { margin: 0 0 var(--sp-4); padding-left: 1.2em; }
body.tk-lot-pages .ca-top-box li::marker { color: var(--muted); }
body.tk-lot-pages .ca-top-box > :last-child { margin-bottom: 0; }
body.tk-lot-pages .ca-top-box p.ca-top-transp { font-size: var(--fs-sm); color: var(--muted); }
body.tk-lot-pages .ca-top-box a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
body.tk-lot-pages .ca-top-faq h2 { margin-bottom: var(--sp-2); }
body.tk-lot-pages .ca-top-faq .ca-top-qa:first-of-type { border-top: 1.5px solid var(--line-strong); }
body.tk-lot-pages .ca-top-faq .ca-top-qa:last-of-type { border-bottom: 0; }
body.tk-lot-pages .ca-top-faq .ca-top-qa-a { padding-bottom: var(--sp-4); }
body.tk-lot-pages p.ca-top-vide { color: var(--ink); }

/* Téléphone : une colonne, rang en haut à droite, actions empilées et pleine largeur */
@media (max-width: 720px) {
  body.tk-lot-pages .ca-top-item { grid-template-columns: minmax(0, 1fr); }
  body.tk-lot-pages .ca-top-rank { position: absolute; top: var(--tkp-carte-pad); right: var(--tkp-carte-pad); width: 34px; height: 34px; font-size: var(--fs-base); }
  body.tk-lot-pages .ca-top-item:not(.is-reco) .ca-top-head { padding-right: 44px; }
  body.tk-lot-pages .ca-top-val { display: none; }
  body.tk-lot-pages .ca-top-gains { grid-template-columns: minmax(0, 1fr); }
  body.tk-lot-pages .ca-top-foot { flex-direction: column; align-items: stretch; }
  body.tk-lot-pages .ca-top-actions { flex-direction: column; align-items: stretch; }
  body.tk-lot-pages .ca-top-code { justify-content: space-between; }
  body.tk-lot-pages button.ca-top-copy { min-height: 40px; }
  body.tk-lot-pages a.ca-top-go { min-height: 48px; }
  body.tk-lot-pages a.ca-top-more { justify-content: center; }
}

/* ---------- Le Top dès l'arrivée (Kevinoo, 23/10/2026) ----------
   Le code garde son ordre (barre du mois, « En bref », recommandations, autres offres) : « En bref » reste juste après
   le H1, réponse directe lue par Google et les IA. Seule la mise en page change :
   - ordinateur : recommandations et Top dans la colonne principale, juste sous le titre ; « En bref » en colonne de
     droite, collant ; la page s'élargit pour les deux colonnes ;
   - téléphone et tablette : barre du mois, recommandations, puis « En bref », puis les autres offres.
   La barre « Sélection du mois · N offres retenues… » devient une ligne discrète. */
body.tk-lot-pages:has(.ca-top) { --tkp-col: 76rem; }
body.tk-lot-pages .ca-top-bar { margin: 0 0 var(--sp-4); }
body.tk-lot-pages .ca-top-ed { min-height: 0; padding: 0; border: 0; background: none; color: var(--muted); font-size: var(--fs-sm); font-weight: 400; }
body.tk-lot-pages .ca-top-reco { margin: 0 0 var(--sp-6); }
body.tk-lot-pages .ca-top-reco > .ca-top-reco-h2 { margin-top: 0; }
@media (max-width: 1099px) {
  body.tk-lot-pages .ca-top { display: flex; flex-direction: column; }
  body.tk-lot-pages .ca-top > * { order: 4; }
  body.tk-lot-pages .ca-top > .ca-top-bar { order: 1; }
  body.tk-lot-pages .ca-top > .ca-top-reco { order: 2; }
  body.tk-lot-pages .ca-top > .ca-top-bref { order: 3; margin-bottom: var(--sp-6); }
}
@media (min-width: 1100px) {
  body.tk-lot-pages .ca-top { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; column-gap: var(--sp-8); row-gap: 0; align-items: start; }
  body.tk-lot-pages .ca-top > * { grid-column: 1; }
  body.tk-lot-pages .ca-top > .ca-top-bar { grid-row: 1; }
  body.tk-lot-pages .ca-top > .ca-top-reco { grid-row: 2; }
  body.tk-lot-pages .ca-top > .ca-top-bref {
    grid-column: 2; grid-row: 1 / span 40; position: sticky; top: calc(var(--hdr-h, 72px) + var(--sp-4)); margin: 0;
    font-size: var(--fs-sm);
  }
}

/* ---------- 2. Classements (/classement/ et ses vues : les plus utilisés, consultés, recherchés, les mieux notés,
   les nouveautés /classement/nouveaux-codes/, les membres ; extraits 145, 146 et 147) ----------
   Remplace la feuille ca-classement (146), retirée quand le lot « pages » est coché. Plus de bleu : onglets et filtres
   en pastilles (l'onglet en cours à l'encre), tableaux du sommaire en cartes, lignes classées comme les offres de
   « Meilleures offres » (rang en pastille, podium à l'encre), valeur en encre et jamais en gros chiffre, logos sur la
   tuile neutre des tickets (jamais la couleur de la marque en fond), « Voir le code » en bouton d'appoint. */

body.tk-lot-pages .ca-cl-wrap { margin: 0; }

/* Onglets des classements : plusieurs lignes sur ordinateur, une ligne qui défile sur téléphone */
body.tk-lot-pages .ca-cl-wrap .ca-cl-tabs { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin: 0 0 var(--sp-6); }
body.tk-lot-pages .ca-cl-wrap .ca-cl-tab {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line-input); border-radius: var(--r-pill);
  background: var(--surface); color: var(--ink); font-size: var(--fs-sm); font-weight: 600; line-height: 1.1; text-decoration: none; white-space: nowrap;
}
body.tk-lot-pages .ca-cl-wrap .ca-cl-tab.est-actif { border-color: var(--sel-bg); background: var(--sel-bg); color: var(--sel-ink); }
@media (max-width: 767px) {
  body.tk-lot-pages .ca-cl-wrap .ca-cl-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)) var(--sp-5); padding: 2px var(--gutter) 6px; }
  body.tk-lot-pages .ca-cl-wrap .ca-cl-tabs::-webkit-scrollbar { display: none; }
  body.tk-lot-pages .ca-cl-wrap .ca-cl-tab { flex: none; min-height: var(--tap); }
}

/* Tri, période, catégorie (vues complètes) et date de mise à jour */
body.tk-lot-pages .ca-cl-wrap .ca-cl-fl { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2); margin: 0 0 var(--sp-3); }
body.tk-lot-pages .ca-cl-wrap .ca-cl-fllb { margin-right: 4px; color: var(--muted); font-size: var(--fs-sm); font-weight: 600; letter-spacing: 0; text-transform: none; }
@media (min-width: 768px) { body.tk-lot-pages .ca-cl-wrap .ca-cl-chip { min-height: 36px; padding: 0 12px; } }
body.tk-lot-pages .ca-cl-wrap .ca-cl-maj { margin: var(--sp-4) 0 var(--sp-3); color: var(--muted); font-size: var(--fs-sm); }
body.tk-lot-pages .ca-cl-wrap .ca-cl-sep { padding: 0 2px; }

/* Sommaire : un tableau par carte */
body.tk-lot-pages .ca-cl-wrap .ca-cl-hub { display: grid; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); gap: var(--sp-4); margin: 0; }
body.tk-lot-pages .ca-cl-wrap .ca-cl-card {
  display: flex; flex-direction: column; min-width: 0; padding: var(--sp-5); border: 1px solid var(--tkp-carte-filet); border-radius: var(--tkp-carte-r); background: var(--tkp-carte-bg);
}
body.tk-lot-pages .ca-cl-wrap .ca-cl-ct { margin: 0 0 6px; font-size: var(--fs-md); font-weight: var(--fw-title); line-height: 1.3; letter-spacing: var(--tr-title); }
body.tk-lot-pages .ca-cl-wrap .ca-cl-ct a { color: var(--ink); text-decoration: none; }
body.tk-lot-pages .ca-cl-wrap .ca-cl-ci { margin: 0 0 var(--sp-3); color: var(--muted); font-size: var(--fs-sm); line-height: 1.5; }
body.tk-lot-pages .ca-cl-wrap .ca-cl-cm { margin: auto 0 0; padding-top: var(--sp-4); }

/* Lignes classées */
body.tk-lot-pages .ca-cl-wrap .ca-cl-list { display: flex; flex-direction: column; gap: var(--sp-2); margin: 0; padding: 0; list-style: none; }
body.tk-lot-pages .ca-cl-wrap .ca-cl-it {
  display: grid; grid-template-columns: 34px 42px minmax(0, 1fr) auto auto; align-items: center; gap: var(--sp-3); margin: 0; padding: var(--sp-3) var(--sp-4);
  border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface);
}
body.tk-lot-pages .ca-cl-wrap .ca-cl-rk {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--surface-2); color: var(--ink);
  font-size: var(--fs-sm); font-weight: var(--fw-strong); font-variant-numeric: tabular-nums; line-height: 1;
}
body.tk-lot-pages .ca-cl-wrap .ca-cl-rk.est-podium { background: var(--sel-bg); color: var(--sel-ink); }
body.tk-lot-pages .ca-cl-wrap .ca-cl-lg { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
/* Logo (ca_code_logo_html) : tuile neutre ; initiale à l'encre si l'image manque */
body.tk-lot-pages .ca-cl-wrap .ca-cl-lg .ca-logo {
  position: relative; display: grid; place-items: center; width: 40px; height: 40px; overflow: hidden;
  border: 1px solid var(--line); border-radius: 10px; background: var(--tk-logo-bg, var(--surface-2));
}
body.tk-lot-pages .ca-cl-wrap .ca-cl-lg .ca-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
body.tk-lot-pages .ca-cl-wrap .ca-cl-lg .ca-logo-ini[hidden] { display: none; }
body.tk-lot-pages .ca-cl-wrap .ca-cl-lg .ca-logo-mono .ca-logo-ini::before { content: attr(data-ini); color: var(--ink); font-size: var(--fs-md); font-weight: var(--fw-title); line-height: 1; }
/* Avatar des membres (vue « Les membres ») */
body.tk-lot-pages .ca-cl-wrap .ca-cl-av { display: block; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--surface-3); }
body.tk-lot-pages .ca-cl-wrap .ca-cl-md { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
body.tk-lot-pages .ca-cl-wrap .ca-cl-nm {
  overflow: hidden; color: var(--ink); font-size: var(--fs-base); font-weight: var(--fw-strong); line-height: 1.3; text-decoration: none; text-overflow: ellipsis; white-space: nowrap;
}
body.tk-lot-pages .ca-cl-wrap .ca-cl-sb { overflow: hidden; color: var(--muted); font-size: var(--fs-sm); line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
/* Pastille de niveau dans la vue « Les membres » (131) */
body.tk-lot-pages .ca-cl-wrap .ca-lvt {
  display: inline-flex; align-items: center; gap: 5px; min-height: 22px; padding: 1px 8px; border-radius: var(--r-pill);
  background: var(--surface-3); color: var(--ink); font-size: var(--fs-xs); font-weight: 600; line-height: 1.2; white-space: nowrap;
}
body.tk-lot-pages .ca-cl-wrap .ca-lvt :is(i, em) { font-style: normal; }
body.tk-lot-pages .ca-cl-wrap .ca-lvt.ca-lvt--amb { background: var(--accent-fill, var(--accent)); color: var(--on-accent); }
body.tk-lot-pages .ca-cl-wrap .ca-cl-vl { display: flex; flex-direction: column; align-items: flex-end; min-width: 5.5rem; line-height: 1.2; text-align: right; }
body.tk-lot-pages .ca-cl-wrap .ca-cl-v1 { color: var(--ink); font-size: var(--fs-md); font-weight: var(--fw-strong); font-variant-numeric: tabular-nums; white-space: nowrap; }
body.tk-lot-pages .ca-cl-wrap .ca-cl-v1.est-date { font-size: var(--fs-sm); }
body.tk-lot-pages .ca-cl-wrap .ca-cl-v5 { margin-left: 2px; color: var(--muted); font-size: var(--fs-xs); font-weight: 600; }
body.tk-lot-pages .ca-cl-wrap .ca-cl-v2 { margin-top: 2px; color: var(--muted); font-size: var(--fs-xs); white-space: nowrap; }
body.tk-lot-pages .ca-cl-wrap .ca-cl-go {
  display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line-input); border-radius: var(--r-md);
  background: var(--surface); color: var(--ink); font-size: var(--fs-sm); font-weight: var(--fw-strong); line-height: 1.1; text-decoration: none; white-space: nowrap;
}

/* Lignes du sommaire : plus serrées, séparées d'un pointillé comme un ticket ; ni sous-titre, ni unité, ni bouton */
body.tk-lot-pages .ca-cl-wrap .ca-cl-list.est-mini { gap: 0; }
body.tk-lot-pages .ca-cl-wrap .ca-cl-list.est-mini .ca-cl-it {
  grid-template-columns: 26px 34px minmax(0, 1fr) auto; gap: 10px; padding: 10px 0; border: 0; border-top: 1px dashed var(--line-2); border-radius: 0; background: none;
}
body.tk-lot-pages .ca-cl-wrap .ca-cl-list.est-mini .ca-cl-it:first-child { border-top: 0; padding-top: 4px; }
body.tk-lot-pages .ca-cl-wrap .ca-cl-list.est-mini .ca-cl-rk { width: 26px; height: 26px; border-radius: 8px; font-size: var(--fs-xs); }
body.tk-lot-pages .ca-cl-wrap .ca-cl-list.est-mini .ca-cl-lg .ca-logo { width: 34px; height: 34px; border-radius: 9px; }
body.tk-lot-pages .ca-cl-wrap .ca-cl-list.est-mini .ca-cl-av { width: 34px; height: 34px; }
body.tk-lot-pages .ca-cl-wrap .ca-cl-list.est-mini .ca-cl-nm { font-size: var(--fs-sm); }
body.tk-lot-pages .ca-cl-wrap .ca-cl-list.est-mini :is(.ca-cl-sb, .ca-cl-v2, .ca-cl-go) { display: none; }
body.tk-lot-pages .ca-cl-wrap .ca-cl-list.est-mini .ca-cl-vl { min-width: 0; }
body.tk-lot-pages .ca-cl-wrap .ca-cl-list.est-mini .ca-cl-v1 { font-size: var(--fs-sm); }

/* Ligne du membre connecté et sa position (147) */
body.tk-lot-pages .ca-cl-wrap .ca-cl-it.est-moi { border-color: var(--line-strong); background: var(--surface-2); box-shadow: inset 4px 0 0 var(--tk-accent-ico, var(--accent)); }
body.tk-lot-pages .ca-cl-wrap .ca-clp {
  display: flex; align-items: flex-start; gap: var(--sp-3); margin: 0 0 var(--sp-5); padding: var(--sp-4) var(--sp-5);
  border: 1px solid var(--line); border-left: 4px solid var(--tk-accent-ico, var(--accent)); border-radius: var(--r-md); background: var(--surface);
}
body.tk-lot-pages .ca-cl-wrap .ca-clp-ico { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--surface-2); color: var(--ink); }
body.tk-lot-pages .ca-cl-wrap .ca-clp-ico svg { width: 18px; height: 18px; }
body.tk-lot-pages .ca-cl-wrap .ca-clp-c { flex: 1 1 auto; min-width: 0; }
body.tk-lot-pages .ca-cl-wrap .ca-clp p { margin: 0; }
body.tk-lot-pages .ca-cl-wrap .ca-clp-l1 { color: var(--ink); font-size: var(--fs-base); font-weight: var(--fw-strong); line-height: 1.35; }
body.tk-lot-pages .ca-cl-wrap .ca-clp .ca-clp-rk {
  display: inline-block; padding: 1px 9px; border-radius: 8px; background: var(--sel-bg); color: var(--sel-ink);
  font-size: var(--fs-base); font-weight: var(--fw-strong); line-height: 1.45;
}
body.tk-lot-pages .ca-cl-wrap .ca-clp .ca-clp-rk-sm { padding: 0 7px; font-size: var(--fs-sm); }
body.tk-lot-pages .ca-cl-wrap .ca-clp-sur { color: var(--muted); font-size: var(--fs-sm); font-weight: 600; }
body.tk-lot-pages .ca-cl-wrap .ca-clp .ca-clp-l2 { margin-top: 3px; color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.5; }
body.tk-lot-pages .ca-cl-wrap .ca-clp-l2 strong { color: var(--ink); }
body.tk-lot-pages .ca-cl-wrap .ca-clp-sep { padding: 0 2px; color: var(--muted); }
body.tk-lot-pages .ca-cl-wrap .ca-clp a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }

/* Classement vide, méthode de calcul */
body.tk-lot-pages .ca-cl-wrap .ca-cl-vide {
  margin: var(--sp-4) 0; padding: var(--sp-4) var(--sp-5); border: 1px dashed var(--line-2); border-radius: var(--r-md); background: var(--surface);
  color: var(--ink-2); font-size: var(--fs-base); line-height: 1.55;
}
body.tk-lot-pages .ca-cl-wrap .ca-cl-meth { margin: var(--sp-8) 0 0; padding: var(--tkp-carte-pad); border: 1px solid var(--tkp-carte-filet); border-radius: var(--tkp-carte-r); background: var(--tkp-carte-bg); }
body.tk-lot-pages .ca-cl-wrap .ca-cl-meth h2 { margin: 0 0 var(--sp-2); font-size: var(--fs-lg); font-weight: var(--fw-title); line-height: 1.25; }
body.tk-lot-pages .ca-cl-wrap .ca-cl-meth p { margin: 0 0 var(--sp-2); color: var(--ink-2); font-size: var(--fs-base); line-height: 1.6; }
body.tk-lot-pages .ca-cl-wrap .ca-cl-meth .ca-cl-meth2 { margin: 0; color: var(--muted); font-size: var(--fs-sm); }

/* Téléphone : rang, logo et nom sur une ligne ; valeur et « Voir le code » dessous */
@media (max-width: 781px) {
  body.tk-lot-pages .ca-cl-wrap .ca-cl-it {
    grid-template-columns: 30px 40px minmax(0, 1fr) auto; grid-template-areas: "rk lg md md" ". . vl go"; row-gap: var(--sp-2); column-gap: 10px; padding: var(--sp-3);
  }
  body.tk-lot-pages .ca-cl-wrap .ca-cl-rk { grid-area: rk; width: 30px; height: 30px; }
  body.tk-lot-pages .ca-cl-wrap .ca-cl-lg { grid-area: lg; }
  body.tk-lot-pages .ca-cl-wrap .ca-cl-md { grid-area: md; }
  body.tk-lot-pages .ca-cl-wrap .ca-cl-vl { grid-area: vl; align-items: flex-start; min-width: 0; text-align: left; }
  body.tk-lot-pages .ca-cl-wrap .ca-cl-go { grid-area: go; justify-self: end; min-height: var(--tap); }
  body.tk-lot-pages .ca-cl-wrap .ca-cl-sb { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; white-space: normal; }
  body.tk-lot-pages .ca-cl-wrap .ca-cl-list.est-mini .ca-cl-it { grid-template-columns: 26px 34px minmax(0, 1fr) auto; grid-template-areas: none; row-gap: 0; padding: 10px 0; }
  body.tk-lot-pages .ca-cl-wrap .ca-cl-list.est-mini .ca-cl-it:first-child { padding-top: 4px; }
  body.tk-lot-pages .ca-cl-wrap .ca-cl-list.est-mini :is(.ca-cl-rk, .ca-cl-lg, .ca-cl-md, .ca-cl-vl) { grid-area: auto; }
  body.tk-lot-pages .ca-cl-wrap .ca-cl-list.est-mini .ca-cl-rk { width: 26px; height: 26px; }
  body.tk-lot-pages .ca-cl-wrap .ca-cl-list.est-mini .ca-cl-vl { align-items: flex-end; text-align: right; }
  body.tk-lot-pages .ca-cl-wrap .ca-cl-card { padding: var(--sp-4); }
  body.tk-lot-pages .ca-cl-wrap .ca-clp { padding: var(--sp-3) var(--sp-4); gap: 10px; }
}

/* ---------- 3. Méthode de vérification (/methode-verification/, extrait 051) ----------
   Remplace la feuille cam-css (051), qui n'est plus envoyée quand le lot « pages » est coché. Plus de bleu : « En bref »
   en carte blanche (titre en casse normale, plus de petites majuscules bleues), étapes numérotées à l'encre (comme le
   podium des meilleures offres), tableau des rythmes de contrôle sobre, deux cartes « code du site » (cadre plein) et
   « codes des membres » (cadre pointillé, comme les annonces de membres), encadré « Publiez votre code » à fond doux
   avec les boutons du thème. Toute la page tient dans la colonne de lecture (736 px). */
body.tk-lot-pages .cam-wrap { max-width: var(--tkp-texte); font-size: var(--fs-base); line-height: 1.6; }
body.tk-lot-pages .cam-wrap p { margin: 0 0 var(--sp-3); }
body.tk-lot-pages .cam-wrap h2 { margin: var(--sp-10) 0 var(--sp-3); font-size: var(--fs-xl); font-weight: var(--fw-title); line-height: 1.2; letter-spacing: var(--tr-title); color: var(--ink); }
body.tk-lot-pages .cam-wrap h3 { margin: 0 0 2px; font-size: var(--fs-base); font-weight: var(--fw-title); line-height: 1.35; letter-spacing: 0; color: var(--ink); }
body.tk-lot-pages .cam-wrap .cam-lead { margin: 0 0 var(--sp-6); font-size: clamp(1rem, .95rem + .3vw, var(--fs-md)); line-height: 1.55; color: var(--ink-2); }

/* En bref */
body.tk-lot-pages .cam-tldr { margin: 0 0 var(--sp-6); padding: var(--tkp-carte-pad); border: 1px solid var(--tkp-carte-filet); border-radius: var(--tkp-carte-r); background: var(--tkp-carte-bg); }
body.tk-lot-pages .cam-wrap .cam-tldr-h { margin: 0 0 var(--sp-2); font-size: var(--fs-base); font-weight: var(--fw-title); line-height: 1.3; letter-spacing: 0; color: var(--ink); }
body.tk-lot-pages .cam-tldr ul { display: grid; gap: 6px; margin: 0; padding-left: 1.2em; }
body.tk-lot-pages .cam-tldr li { font-size: var(--fs-base); line-height: 1.55; }
body.tk-lot-pages .cam-tldr li::marker { color: var(--muted); }

/* Ce que nous vérifions : étapes numérotées */
body.tk-lot-pages .cam-steps { display: grid; gap: var(--sp-3); margin: 0 0 var(--sp-4); padding: 0; list-style: none; counter-reset: cam; }
body.tk-lot-pages .cam-steps > li {
  position: relative; counter-increment: cam; margin: 0; padding: var(--sp-4) var(--sp-5) var(--sp-4) calc(var(--sp-5) + 32px + var(--sp-4));
  border: 1px solid var(--tkp-carte-filet); border-radius: var(--tkp-carte-r); background: var(--tkp-carte-bg);
}
body.tk-lot-pages .cam-steps > li::before {
  content: counter(cam); position: absolute; left: var(--sp-5); top: var(--sp-4); display: grid; place-items: center; width: 32px; height: 32px;
  border-radius: var(--r-sm); background: var(--sel-bg); color: var(--sel-ink); font-size: var(--fs-sm); font-weight: var(--fw-strong); line-height: 1; font-variant-numeric: tabular-nums;
}
body.tk-lot-pages .cam-steps h3 { display: flex; align-items: center; min-height: 32px; }
body.tk-lot-pages .cam-wrap .cam-steps p { margin: 0; color: var(--ink-2); }
body.tk-lot-pages .cam-no { display: grid; gap: 6px; margin: 0 0 var(--sp-4); padding-left: 1.2em; }

/* Rythme de contrôle : tableau (défile dans son cadre sur téléphone, la page ne déborde jamais) */
body.tk-lot-pages .cam-tablewrap { overflow-x: auto; margin: var(--sp-4) 0 var(--sp-2); border: 1px solid var(--tkp-carte-filet); border-radius: var(--tkp-carte-r); background: var(--tkp-carte-bg); }
body.tk-lot-pages .cam-table { width: 100%; min-width: 34rem; margin: 0; border-collapse: collapse; font-size: var(--fs-sm); line-height: 1.5; }
body.tk-lot-pages .cam-table :is(th, td) { padding: 12px 16px; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; vertical-align: top; }
body.tk-lot-pages .cam-table thead th { background: var(--surface-2); color: var(--muted); font-size: var(--fs-xs); font-weight: var(--fw-strong); letter-spacing: 0; white-space: nowrap; }
body.tk-lot-pages .cam-table tbody th { color: var(--ink); font-weight: var(--fw-strong); white-space: nowrap; }
body.tk-lot-pages .cam-table td { color: var(--ink-2); }
body.tk-lot-pages .cam-table td:first-of-type { color: var(--ink); white-space: nowrap; }
body.tk-lot-pages .cam-table tbody tr:last-child :is(th, td) { border-bottom: 0; }
body.tk-lot-pages .cam-wrap .cam-note { font-size: var(--fs-sm); line-height: 1.55; color: var(--muted); }

/* Le code du site et les codes des membres */
body.tk-lot-pages .cam-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); margin: 0 0 var(--sp-2); }
body.tk-lot-pages .cam-duo-card { padding: var(--tkp-carte-pad); border: 1.5px solid var(--line-strong); border-radius: var(--tkp-carte-r); background: var(--tkp-carte-bg); }
body.tk-lot-pages .cam-duo-card + .cam-duo-card { border-style: dashed; }
body.tk-lot-pages .cam-wrap .cam-duo-t { margin: 0 0 var(--sp-2); font-size: var(--fs-base); font-weight: var(--fw-title); line-height: 1.35; color: var(--ink); }
body.tk-lot-pages .cam-wrap .cam-duo-card p:last-child { margin: 0; color: var(--ink-2); }
@media (max-width: 720px) { body.tk-lot-pages .cam-duo { grid-template-columns: minmax(0, 1fr); } }

/* Publiez votre code : encadré à fond doux, bouton « Publier » à l'accent (comme partout), compte en bouton d'appoint */
body.tk-lot-pages .cam-cta { margin: var(--sp-8) 0; padding: var(--tkp-carte-pad); border: 1px solid var(--line-2); border-radius: var(--tkp-carte-r); background: var(--surface-2); }
body.tk-lot-pages .cam-wrap .cam-cta .cam-cta-t { margin: 0 0 var(--sp-2); font-size: var(--fs-lg); font-weight: var(--fw-title); line-height: 1.25; letter-spacing: var(--tr-title); color: var(--ink); }
body.tk-lot-pages .cam-wrap .cam-cta :where(p) { color: var(--ink-2); }
body.tk-lot-pages .cam-wrap .cam-cta-btns { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin: var(--sp-4) 0 0; }
body.tk-lot-pages .cam-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: var(--r-md);
  font-size: var(--fs-sm); font-weight: var(--fw-strong); line-height: 1.2; text-align: center; text-decoration: none;
}
body.tk-lot-pages .cam-btn-primary { border: 1.5px solid var(--accent-line, var(--accent)); background: var(--accent-fill, var(--accent)); background-origin: border-box; color: var(--on-accent); }
body.tk-lot-pages .cam-btn-ghost { border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--ink); }
@media (max-width: 520px) { body.tk-lot-pages .cam-btn { flex: 1 1 100%; } }

/* Pied de section : pour en savoir plus */
body.tk-lot-pages .cam-wrap .cam-who { margin: var(--sp-8) 0 0; padding-top: var(--sp-5); border-top: 1px solid var(--line); font-size: var(--fs-sm); line-height: 1.6; color: var(--muted); }

/* ---------- 4. À propos (/a-propos/, extrait 052) ----------
   Remplace la feuille cap-css (052), qui n'est plus envoyée quand le lot « pages » est coché. Chiffres clés en petites
   cartes (chiffre à l'encre, taille raisonnable, légende en casse normale), cercle vertueux en trois cartes avec une
   icône à l'accent du thème (plus de vert, de violet ni de gris bleuté par rôle), encadré « Le site s'enrichit avec ses
   membres » à fond doux et boutons du thème, mentions en pied. Toute la page tient dans la colonne de lecture (736 px). */
body.tk-lot-pages .cap-wrap { max-width: var(--tkp-texte); font-size: var(--fs-base); line-height: 1.6; }
body.tk-lot-pages .cap-wrap p { margin: 0 0 var(--sp-3); }
body.tk-lot-pages .cap-wrap h2 { margin: var(--sp-10) 0 var(--sp-3); font-size: var(--fs-xl); font-weight: var(--fw-title); line-height: 1.2; letter-spacing: var(--tr-title); color: var(--ink); }
body.tk-lot-pages .cap-wrap .cap-lead { margin: 0 0 var(--sp-6); font-size: clamp(1rem, .95rem + .3vw, var(--fs-md)); line-height: 1.55; color: var(--ink-2); }

/* Chiffres clés */
body.tk-lot-pages .cap-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-3); margin: 0 0 var(--sp-6); }
body.tk-lot-pages .cap-fact { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: var(--sp-4); border: 1px solid var(--tkp-carte-filet); border-radius: var(--tkp-carte-r); background: var(--tkp-carte-bg); }
body.tk-lot-pages .cap-fact-n { display: block; font-size: var(--fs-xl); font-weight: var(--fw-title); line-height: 1.15; letter-spacing: var(--tr-title); color: var(--ink); font-variant-numeric: tabular-nums; }
body.tk-lot-pages .cap-fact-l { display: block; font-size: var(--fs-sm); line-height: 1.35; color: var(--muted); }
@media (max-width: 600px) {
  body.tk-lot-pages .cap-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.tk-lot-pages .cap-fact:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* Le cercle vertueux du parrainage */
body.tk-lot-pages .cap-wrap ol.cap-cycle { display: grid; gap: var(--sp-3); margin: var(--sp-5) 0 var(--sp-4); padding: 0; list-style: none; }
body.tk-lot-pages .cap-cycle > li { display: flex; align-items: flex-start; gap: var(--sp-3); margin: 0; padding: var(--sp-4); border: 1px solid var(--tkp-carte-filet); border-radius: var(--tkp-carte-r); background: var(--tkp-carte-bg); }
body.tk-lot-pages .cap-cy-i { flex: none; display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: var(--r-md); background: var(--surface-2); color: var(--accent-text, var(--ink)); line-height: 0; }
body.tk-lot-pages .cap-cy-i svg { width: 20px; height: 20px; }
body.tk-lot-pages .cap-cy-b { display: block; min-width: 0; font-size: var(--fs-base); line-height: 1.55; color: var(--ink-2); }
body.tk-lot-pages .cap-cy-b strong { display: block; margin-bottom: 2px; font-weight: var(--fw-title); color: var(--ink); }
body.tk-lot-pages .cap-no li { line-height: 1.6; }

/* Le site s'enrichit avec ses membres : encadré à fond doux, bouton « Publier » à l'accent, compte en bouton d'appoint */
body.tk-lot-pages .cap-cta { margin: var(--sp-8) 0; padding: var(--tkp-carte-pad); border: 1px solid var(--line-2); border-radius: var(--tkp-carte-r); background: var(--surface-2); }
body.tk-lot-pages .cap-wrap .cap-cta .cap-cta-t { margin: 0 0 var(--sp-2); font-size: var(--fs-lg); font-weight: var(--fw-title); line-height: 1.25; letter-spacing: var(--tr-title); color: var(--ink); }
body.tk-lot-pages .cap-wrap .cap-cta :where(p) { color: var(--ink-2); }
body.tk-lot-pages .cap-wrap .cap-cta-btns { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin: var(--sp-4) 0 0; }
body.tk-lot-pages .cap-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: var(--r-md);
  font-size: var(--fs-sm); font-weight: var(--fw-strong); line-height: 1.2; text-align: center; text-decoration: none;
}
body.tk-lot-pages .cap-btn-primary { border: 1.5px solid var(--accent-line, var(--accent)); background: var(--accent-fill, var(--accent)); background-origin: border-box; color: var(--on-accent); }
body.tk-lot-pages .cap-btn-ghost { border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--ink); }
@media (max-width: 520px) { body.tk-lot-pages .cap-btn { flex: 1 1 100%; } }

/* Notes et mentions */
body.tk-lot-pages .cap-wrap .cap-note { font-size: var(--fs-sm); line-height: 1.6; color: var(--muted); }
body.tk-lot-pages .cap-wrap .cap-legal { margin: var(--sp-8) 0 0; padding-top: var(--sp-5); border-top: 1px solid var(--line); font-size: var(--fs-sm); line-height: 1.6; color: var(--muted); }

/* ---------- 5. Baromètre du parrainage (/barometre/, extrait 482) ----------
   Remplace la feuille écrite dans le contenu par 482 (retirée par sa ligne de garde quand le lot « pages » est coché).
   Le contenu porte son propre H1 (la tête de page du thème n'est pas imprimée) : il prend la taille et la place du
   titre des autres pages piliers. Chiffres clés en cartes, sans gros chiffres gras ; tableaux sobres qui défilent dans
   leur cadre sur téléphone ; citation en pointillés comme un ticket ; dernier lien en bouton principal. */

body.tk-lot-pages .cb2 { margin: 0; padding: var(--sp-8) 0 var(--sp-12); }
body.tk-lot-pages .cb2 .cb2-h1 { margin: 0 0 var(--sp-4); font-size: var(--fs-2xl); font-weight: var(--fw-title); line-height: var(--lh-title); letter-spacing: var(--tr-display); text-wrap: balance; }
body.tk-lot-pages .cb2 .cb2-lead { max-width: var(--tkp-texte); margin: 0 0 var(--sp-3); color: var(--ink-2); font-size: clamp(1rem, .95rem + .3vw, var(--fs-md)); line-height: 1.55; }
body.tk-lot-pages .cb2 .cb2-stamp { max-width: var(--tkp-texte); margin: 0 0 var(--sp-6); color: var(--muted); font-size: var(--fs-sm); line-height: 1.5; }
body.tk-lot-pages .cb2 > h2 { margin: var(--sp-10) 0 var(--sp-3); font-size: var(--fs-xl); font-weight: var(--fw-title); line-height: 1.2; letter-spacing: var(--tr-title); }
body.tk-lot-pages .cb2 > h3 { margin: var(--sp-6) 0 var(--sp-2); font-size: var(--fs-lg); font-weight: var(--fw-title); line-height: 1.25; letter-spacing: var(--tr-title); }
body.tk-lot-pages .cb2 > p { max-width: var(--tkp-texte); margin: 0 0 var(--sp-3); color: var(--ink); font-size: var(--fs-base); line-height: 1.6; }
body.tk-lot-pages .cb2 a:not([class]) { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }

/* L'essentiel : chiffres clés */
body.tk-lot-pages .cb2 .cb2-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr)); gap: var(--sp-3); margin: var(--sp-4) 0 var(--sp-2); }
body.tk-lot-pages .cb2 .cb2-tile { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: var(--sp-4); border: 1px solid var(--tkp-carte-filet); border-radius: var(--tkp-carte-r); background: var(--tkp-carte-bg); }
body.tk-lot-pages .cb2 .cb2-num { color: var(--ink); font-size: var(--fs-xl); font-weight: var(--fw-title); line-height: 1.15; letter-spacing: var(--tr-title); font-variant-numeric: tabular-nums; }
body.tk-lot-pages .cb2 .cb2-lbl { color: var(--ink); font-size: var(--fs-sm); font-weight: 600; line-height: 1.4; }
body.tk-lot-pages .cb2 .cb2-sub { color: var(--muted); font-size: var(--fs-sm); line-height: 1.45; }

/* Tableaux : cadre arrondi qui défile seul sur téléphone */
body.tk-lot-pages .cb2 .cb2-tablewrap { overflow-x: auto; margin: var(--sp-4) 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
body.tk-lot-pages .cb2 .cb2-tablewrap:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
body.tk-lot-pages .cb2 .cb2-table { width: 100%; margin: 0; border-collapse: collapse; font-size: var(--fs-sm); }
body.tk-lot-pages .cb2 .cb2-table caption { padding: 12px 16px 6px; caption-side: top; color: var(--muted); font-size: var(--fs-sm); text-align: left; }
body.tk-lot-pages .cb2 .cb2-table :is(th, td) { padding: 10px 16px; border-top: 1px solid var(--line); color: var(--ink); line-height: 1.45; text-align: left; vertical-align: top; }
body.tk-lot-pages .cb2 .cb2-table thead th { border-top: 0; color: var(--muted); font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0; text-transform: none; }
body.tk-lot-pages .cb2 .cb2-table td:nth-child(n+2) { font-variant-numeric: tabular-nums; white-space: nowrap; }
body.tk-lot-pages .cb2 .cb2-table td:last-child { min-width: 4.5em; white-space: normal; } /* « 34 % » jamais coupé avant « % » */
body.tk-lot-pages .cb2 .cb2-table a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }

/* Listes, encadré « à noter », méthode, citation */
body.tk-lot-pages .cb2 .cb2-list { max-width: var(--tkp-texte); margin: var(--sp-2) 0 0; padding-left: 1.4em; }
body.tk-lot-pages .cb2 .cb2-list li { margin: 6px 0; color: var(--ink); font-size: var(--fs-base); line-height: 1.55; }
body.tk-lot-pages .cb2 .cb2-list li::marker { color: var(--muted); font-variant-numeric: tabular-nums; }
body.tk-lot-pages .cb2 .cb2-list a { font-weight: 600; }
body.tk-lot-pages .cb2 .cb2-tip { max-width: var(--tkp-texte); margin: var(--sp-4) 0; padding: 6px 0 6px 14px; border-left: 3px solid var(--line-2); color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.55; }
body.tk-lot-pages .cb2 .cb2-method { max-width: var(--tkp-texte); margin: 0 0 var(--sp-3); padding-left: 1.2em; }
body.tk-lot-pages .cb2 .cb2-method li { margin: 6px 0; color: var(--ink); font-size: var(--fs-base); line-height: 1.55; }
body.tk-lot-pages .cb2 .cb2-method li::marker { color: var(--muted); }
body.tk-lot-pages .cb2 .cb2-cite {
  max-width: var(--tkp-texte); padding: 10px 14px; border: 1.5px dashed var(--line-input); border-radius: var(--r-md); background: var(--surface);
  color: var(--ink); font-family: var(--font-mono); font-size: var(--fs-sm); line-height: 1.5; overflow-wrap: anywhere;
}

/* Questions fréquentes (le socle dessine chaque question) et lien de fin */
body.tk-lot-pages .cb2 .cb2-faq { max-width: var(--tkp-texte); border-top: 1.5px solid var(--line-strong); }
body.tk-lot-pages .cb2 .cb2-faq details > p { margin: 0; line-height: 1.6; }
body.tk-lot-pages .cb2 .cb2-cta { margin: var(--sp-8) 0 0; }
body.tk-lot-pages .cb2 .cb2-cta a {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border: 1.5px solid var(--sel-bg); border-radius: var(--r-md);
  background: var(--sel-bg); color: var(--sel-ink); font-size: var(--fs-sm); font-weight: var(--fw-strong); line-height: 1.2; text-decoration: none; text-align: center;
}

@media (max-width: 600px) {
  body.tk-lot-pages .cb2 { padding-top: var(--sp-6); }
  body.tk-lot-pages .cb2 .cb2-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.tk-lot-pages .cb2 .cb2-tile { padding: var(--sp-3); }
  body.tk-lot-pages .cb2 .cb2-table :is(th, td) { padding: 8px 12px; }
  body.tk-lot-pages .cb2 .cb2-cta a { width: 100%; }
}

/* ---------- 6. Toutes les marques (/toutes-les-marques/, extrait 194) ----------
   Remplace la feuille ca-annu-css (imprimée par 194 dans le contenu), qui n'est plus envoyée quand le lot « pages » est
   coché, ni la palette de 150 (lot « base »). Barre de lettres en pastilles neutres (une seule ligne sur ordinateur),
   groupes par lettre sous un filet d'encre, marques en cartes blanches : logo, nom, puis l'avantage annoncé en petite
   pastille neutre (plus de vert ni de bleu, aucune couleur par marque). */

body.tk-lot-pages .ca-annu { margin: 0 0 var(--sp-10); }
body.tk-lot-pages .ca-annu-intro { max-width: var(--tkp-texte); margin: 0 0 var(--sp-4); font-size: var(--fs-base); line-height: 1.6; color: var(--ink-2); }
body.tk-lot-pages .ca-annu-intro strong { color: var(--ink); }

/* Barre de lettres : A à Z puis 0-9 (27 cases, celles sans marque en gris, sans lien) */
body.tk-lot-pages .ca-annu-nav {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 4px; margin: 0 0 var(--sp-8); padding: var(--sp-2);
  border: 1px solid var(--tkp-carte-filet); border-radius: var(--tkp-carte-r); background: var(--tkp-carte-bg);
}
@media (min-width: 1024px) {
  body.tk-lot-pages .ca-annu-nav { grid-template-columns: repeat(27, minmax(0, 1fr)); padding: var(--sp-3); }
}
body.tk-lot-pages .ca-annu-nav :is(a, span) {
  display: inline-grid; place-items: center; min-width: 0; height: 44px; margin: 0; padding: 0 2px; border-radius: var(--r-sm);
  font-size: var(--fs-sm); font-weight: var(--fw-strong); line-height: 1; text-decoration: none; white-space: nowrap;
}
@media (min-width: 1024px) { body.tk-lot-pages .ca-annu-nav :is(a, span) { height: 38px; } }
body.tk-lot-pages .ca-annu-nav a { border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); }
body.tk-lot-pages .ca-annu-nav span.off { border: 1px solid transparent; background: transparent; color: var(--muted); }
@media (hover: hover) and (pointer: fine) { body.tk-lot-pages .ca-annu-nav a:hover { border-color: var(--line-strong); } }

/* Groupes par lettre */
body.tk-lot-pages .ca-annu-bloc { margin: 0 0 var(--sp-8); scroll-margin-top: 96px; }
body.tk-lot-pages .ca-annu-bloc > h2 {
  margin: 0 0 var(--sp-3); padding: 0 0 var(--sp-2); border-bottom: 1.5px solid var(--line-strong);
  font-size: var(--fs-xl); font-weight: var(--fw-title); line-height: 1.2; letter-spacing: var(--tr-title); color: var(--ink);
}

/* Marques : logo à gauche, nom puis avantage annoncé */
body.tk-lot-pages .ca-annu-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: var(--sp-2); margin: 0; padding: 0; list-style: none; }
body.tk-lot-pages .ca-annu-liste li { margin: 0; min-width: 0; }
body.tk-lot-pages .ca-annu-liste a {
  display: grid; grid-template-columns: 32px minmax(0, 1fr); align-items: center; gap: 4px 12px; height: 100%; min-height: 56px; box-sizing: border-box;
  padding: 10px 12px; border: 1px solid var(--tkp-carte-filet); border-radius: var(--r-md); background: var(--tkp-carte-bg); color: var(--ink); text-decoration: none;
}
@media (hover: hover) and (pointer: fine) { body.tk-lot-pages .ca-annu-liste a:hover { border-color: var(--line-strong); } }
body.tk-lot-pages .ca-annu-liste .ca-annu-logo {
  grid-row: 1 / span 2; display: grid; place-items: center; width: 32px; height: 32px; overflow: hidden; margin: 0; padding: 0;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--tk-logo-bg, var(--surface-2));
}
body.tk-lot-pages .ca-annu-liste .ca-annu-logo .ca-logo-img { display: block; width: 100%; height: 100%; margin: 0; object-fit: contain; }
body.tk-lot-pages .ca-annu-liste .ca-annu-logo.ca-logo-mono { background: var(--surface-2); }
body.tk-lot-pages .ca-annu-liste .ca-annu-logo .ca-logo-ini[hidden] { display: none; }
body.tk-lot-pages .ca-annu-liste .ca-annu-logo .ca-logo-ini:not([hidden])::before { content: attr(data-ini); color: var(--ink); font-size: var(--fs-xs); font-weight: var(--fw-strong); line-height: 1; }
body.tk-lot-pages .ca-annu-liste .m { grid-column: 2; min-width: 0; font-size: var(--fs-base); font-weight: var(--fw-strong); line-height: 1.25; overflow-wrap: break-word; }
body.tk-lot-pages .ca-annu-liste .b {
  grid-column: 2; justify-self: start; max-width: 100%; padding: 2px 8px; border-radius: var(--r-sm); background: var(--surface-2);
  color: var(--ink-2); font-size: var(--fs-xs); font-weight: 600; line-height: 1.4;
}

/* ---------- 7. Points et niveaux (/points-et-niveaux/, extrait 133) ----------
   Remplace la feuille ca-prog-css (133) sur cette page : le lot « pages » la retire ici seulement (« partages ») ; sur
   l'espace membre, la barre de niveau reste habillée par tk-membres.css. Plus de bleu ni de violet : bandeau en carte,
   « Créer mon compte » en bouton principal, missions en cartes rayées de pointillés, points XP à l'encre, médailles
   à l'encre (dégradé du thème pour Ambassadeur, sans animation), rangs jamais estompés, tableau sobre, règles cochées. */

body.tk-lot-pages .ca-niv { margin: 0; }
body.tk-lot-pages .ca-niv .ca-niv-h2 { margin: var(--sp-10) 0 var(--sp-2); font-size: var(--fs-xl); font-weight: var(--fw-title); line-height: 1.2; letter-spacing: var(--tr-title); }
body.tk-lot-pages .ca-niv .ca-niv-intro { max-width: var(--tkp-texte); margin: 0 0 var(--sp-5); color: var(--muted); font-size: var(--fs-base); line-height: 1.55; }

/* Bandeau : invité (inscription) ou membre (anneau, jauge, repères, plafond du mois) */
body.tk-lot-pages .ca-niv .ca-niv-hero {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-5); padding: var(--tkp-carte-pad);
  border: 1px solid var(--tkp-carte-filet); border-radius: var(--tkp-carte-r); background: var(--tkp-carte-bg);
}
body.tk-lot-pages .ca-niv .ca-niv-hero--guest { justify-content: space-between; }
body.tk-lot-pages .ca-niv .ca-niv-hero-txt { flex: 1 1 16rem; min-width: 0; }
body.tk-lot-pages .ca-niv .ca-niv-hero--guest h2 { margin: 0 0 6px; font-size: var(--fs-lg); font-weight: var(--fw-title); line-height: 1.25; }
body.tk-lot-pages .ca-niv .ca-niv-hero--guest p { margin: 0; color: var(--ink-2); font-size: var(--fs-base); line-height: 1.55; }
body.tk-lot-pages .ca-niv .ca-niv-cta {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border: 1.5px solid var(--sel-bg); border-radius: var(--r-md);
  background: var(--sel-bg); color: var(--sel-ink); font-size: var(--fs-sm); font-weight: var(--fw-strong); line-height: 1.1; text-decoration: none; white-space: nowrap;
}
body.tk-lot-pages .ca-niv .ca-niv-ring {
  --p: 0; flex: none; display: grid; place-items: center; width: 104px; height: 104px; border-radius: 50%;
  background: conic-gradient(var(--accent) calc(var(--p) * 1%), var(--surface-3) 0);
}
body.tk-lot-pages .ca-niv .ca-niv-ring[data-amb] { background: var(--accent-fill, var(--accent)); }
body.tk-lot-pages .ca-niv .ca-niv-ring-in { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 86px; height: 86px; border-radius: 50%; background: var(--surface); }
body.tk-lot-pages .ca-niv .ca-niv-ring-in b { color: var(--ink); font-size: var(--fs-xl); font-weight: var(--fw-title); line-height: 1; font-variant-numeric: tabular-nums; }
body.tk-lot-pages .ca-niv .ca-niv-ring-in i { color: var(--muted); font-size: var(--fs-xs); font-style: normal; letter-spacing: 0; text-transform: none; }
body.tk-lot-pages .ca-niv .ca-niv-hero-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 10px; }
body.tk-lot-pages .ca-niv .ca-niv-rank {
  display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--r-pill);
  background: var(--surface-2); color: var(--ink); font-size: var(--fs-sm); font-weight: 600;
}
body.tk-lot-pages .ca-niv .ca-niv-rank svg { width: 16px; height: 16px; }
body.tk-lot-pages .ca-niv .ca-niv-rank[data-lvl="ambassadeur"] { border-color: transparent; background: var(--accent-fill, var(--accent)); color: var(--on-accent); }
body.tk-lot-pages .ca-niv .ca-niv-xp { margin-left: auto; color: var(--muted); font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }
body.tk-lot-pages .ca-niv .ca-niv-bar { height: 10px; overflow: hidden; border-radius: var(--r-pill); background: var(--surface-3); }
body.tk-lot-pages .ca-niv .ca-niv-bar > i { display: block; height: 100%; border-radius: inherit; background: var(--accent-fill, var(--accent)); }
body.tk-lot-pages .ca-niv .ca-niv-line { margin: 10px 0 0; color: var(--ink); font-size: var(--fs-base); }
body.tk-lot-pages .ca-niv .ca-niv-facts { display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-6); margin: var(--sp-4) 0 0; padding: 0; list-style: none; }
body.tk-lot-pages .ca-niv .ca-niv-facts li { display: flex; flex-direction: column; gap: 2px; }
body.tk-lot-pages .ca-niv .ca-niv-facts b { color: var(--ink); font-size: var(--fs-md); font-weight: var(--fw-strong); font-variant-numeric: tabular-nums; }
body.tk-lot-pages .ca-niv .ca-niv-facts span { color: var(--muted); font-size: var(--fs-xs); letter-spacing: 0; text-transform: none; }
body.tk-lot-pages .ca-niv .ca-niv-quota { margin: var(--sp-4) 0 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface-2); }
body.tk-lot-pages .ca-niv .ca-niv-quota-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-bottom: 8px; }
body.tk-lot-pages .ca-niv .ca-niv-quota-h > b { color: var(--ink); font-size: var(--fs-sm); font-weight: var(--fw-strong); }
body.tk-lot-pages .ca-niv .ca-niv-quota-h > i { margin-left: auto; color: var(--muted); font-size: var(--fs-xs); font-style: normal; font-variant-numeric: tabular-nums; }
body.tk-lot-pages .ca-niv .ca-niv-quota-t { display: block; height: 6px; overflow: hidden; border-radius: var(--r-pill); background: var(--surface-3); }
body.tk-lot-pages .ca-niv .ca-niv-quota-t > i { display: block; height: 100%; border-radius: inherit; background: var(--accent-fill, var(--accent)); }
body.tk-lot-pages .ca-niv .ca-niv-quota.is-full { border-color: var(--warn-line); background: var(--warn-bg); }
body.tk-lot-pages .ca-niv .ca-niv-quota.is-full .ca-niv-quota-h > i { color: var(--warn); }
body.tk-lot-pages .ca-niv .ca-niv-quota.is-full .ca-niv-quota-t > i { background: var(--warn); }

/* Missions : une carte par famille, une ligne par action */
body.tk-lot-pages .ca-niv .ca-miss { margin: 0 0 var(--sp-4); padding: var(--sp-4) var(--sp-5); border: 1px solid var(--tkp-carte-filet); border-radius: var(--tkp-carte-r); background: var(--tkp-carte-bg); }
body.tk-lot-pages .ca-niv .ca-miss-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin: 0 0 var(--sp-1); }
body.tk-lot-pages .ca-niv .ca-miss-head h3 { margin: 0; font-size: var(--fs-md); font-weight: var(--fw-title); line-height: 1.3; }
body.tk-lot-pages .ca-niv .ca-miss-head span { color: var(--muted); font-size: var(--fs-sm); }
body.tk-lot-pages .ca-niv .ca-miss ul { display: grid; margin: 0; padding: 0; list-style: none; }
body.tk-lot-pages .ca-niv .ca-miss-i { display: flex; align-items: center; gap: var(--sp-3); margin: 0; padding: 12px 0; border-top: 1px dashed var(--line-2); }
body.tk-lot-pages .ca-niv .ca-miss-i:first-child { border-top: 0; }
body.tk-lot-pages .ca-niv .ca-miss-ico { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--surface-2); color: var(--ink); }
body.tk-lot-pages .ca-niv .ca-miss-ico svg { width: 18px; height: 18px; }
body.tk-lot-pages .ca-niv .ca-miss-txt { display: flex; flex: 1 1 auto; flex-direction: column; gap: 2px; min-width: 0; }
body.tk-lot-pages .ca-niv .ca-miss-txt strong { color: var(--ink); font-size: var(--fs-base); font-weight: var(--fw-strong); line-height: 1.35; }
body.tk-lot-pages .ca-niv .ca-miss-txt span { color: var(--muted); font-size: var(--fs-sm); line-height: 1.45; }
body.tk-lot-pages .ca-niv .ca-miss-pts {
  display: flex; flex: none; flex-direction: column; align-items: flex-end; gap: 2px; color: var(--ink);
  font-size: var(--fs-sm); font-weight: var(--fw-strong); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap;
}
body.tk-lot-pages .ca-niv .ca-miss-pts em { color: var(--muted); font-size: var(--fs-xs); font-style: normal; font-weight: 500; }
body.tk-lot-pages .ca-niv .ca-miss-i.is-done .ca-miss-pts em { color: var(--ok); font-weight: 600; }

/* Médailles de niveau : encre et chiffre clair ; Ambassadeur au dégradé du thème, immobile */
body.tk-lot-pages .ca-niv .ca-med {
  position: relative; display: inline-grid; flex: none; place-items: center; width: var(--m, 34px); height: var(--m, 34px); border-radius: 50%;
  background: var(--sel-bg); color: var(--sel-ink); font-variant-numeric: tabular-nums; line-height: 1;
}
body.tk-lot-pages .ca-niv .ca-med > b { font-size: calc(var(--m, 34px) * .4); font-weight: var(--fw-strong); }
body.tk-lot-pages .ca-niv .ca-med.ca-med--amb { background: var(--accent-fill, var(--accent)); color: var(--on-accent); }

/* Les six rangs */
body.tk-lot-pages .ca-niv .ca-niv-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); margin: 0 0 var(--sp-5); }
@media (min-width: 640px) { body.tk-lot-pages .ca-niv .ca-niv-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
body.tk-lot-pages .ca-niv .ca-niv-card { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: var(--sp-4); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
body.tk-lot-pages .ca-niv .ca-niv-card.is-on { border-color: var(--line-strong); box-shadow: inset 0 3px 0 var(--tk-accent-ico, var(--accent)); }
body.tk-lot-pages .ca-niv .ca-niv-card > strong { display: flex; align-items: center; gap: 6px; margin-top: 4px; color: var(--ink); font-size: var(--fs-base); font-weight: var(--fw-strong); }
body.tk-lot-pages .ca-niv .ca-niv-card > strong svg { width: 17px; height: 17px; flex: none; }
body.tk-lot-pages .ca-niv .ca-niv-card > em { color: var(--muted); font-size: var(--fs-sm); font-style: normal; }
body.tk-lot-pages .ca-niv .ca-niv-card-xp { color: var(--ink); font-size: var(--fs-sm); font-weight: var(--fw-strong); font-variant-numeric: tabular-nums; }
body.tk-lot-pages .ca-niv .ca-niv-card > p { margin: 2px 0 0; color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.45; }

/* Tableau des jalons */
body.tk-lot-pages .ca-niv .ca-niv-tab { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
body.tk-lot-pages .ca-niv .ca-niv-tab table { width: 100%; margin: 0; border-collapse: collapse; font-size: var(--fs-sm); }
body.tk-lot-pages .ca-niv .ca-niv-tab caption { padding: 12px 16px 8px; caption-side: top; color: var(--muted); font-size: var(--fs-sm); text-align: left; }
body.tk-lot-pages .ca-niv .ca-niv-tab :is(th, td) { padding: 10px 16px; border-top: 1px solid var(--line); color: var(--ink); text-align: left; vertical-align: middle; }
body.tk-lot-pages .ca-niv .ca-niv-tab thead th { border-top: 0; color: var(--muted); font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0; text-transform: none; }
body.tk-lot-pages .ca-niv .ca-niv-tab tbody th { font-weight: 600; white-space: nowrap; }
body.tk-lot-pages .ca-niv .ca-niv-tab td { font-variant-numeric: tabular-nums; }
body.tk-lot-pages .ca-niv .ca-niv-tab td svg { width: 16px; height: 16px; margin-right: 4px; vertical-align: -3px; }
body.tk-lot-pages .ca-niv .ca-niv-tab tbody tr.is-on { background: var(--surface-2); }

/* Ambassadeur, le rang ultime */
body.tk-lot-pages .ca-niv .ca-niv-amb {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-5); margin: var(--sp-5) 0 0; padding: var(--tkp-carte-pad);
  border: 1.5px solid var(--line-strong); border-radius: var(--tkp-carte-r); background: var(--tkp-carte-bg);
}
body.tk-lot-pages .ca-niv .ca-niv-amb > div { flex: 1 1 18rem; min-width: 0; }
body.tk-lot-pages .ca-niv .ca-niv-amb h3 { margin: 0 0 6px; font-size: var(--fs-lg); font-weight: var(--fw-title); line-height: 1.25; }
body.tk-lot-pages .ca-niv .ca-niv-amb p { margin: 0; color: var(--ink-2); font-size: var(--fs-base); line-height: 1.6; }
body.tk-lot-pages .ca-niv .ca-niv-amb .ca-niv-amb-demo { margin: var(--sp-3) 0 0; }
/* Pastille de niveau (131), exemple de l'Ambassadeur */
body.tk-lot-pages .ca-niv .ca-lvt {
  display: inline-flex; align-items: center; gap: 5px; min-height: 26px; padding: 2px 10px; border-radius: var(--r-pill);
  background: var(--surface-3); color: var(--ink); font-size: var(--fs-xs); font-weight: 700; line-height: 1.2; text-decoration: none; white-space: nowrap;
}
body.tk-lot-pages .ca-niv .ca-lvt i { color: inherit; font-style: normal; }
body.tk-lot-pages .ca-niv .ca-lvt b { font-weight: var(--fw-strong); }
body.tk-lot-pages .ca-niv .ca-lvt em { padding-left: 6px; border-left: 1px solid currentColor; font-style: normal; }
body.tk-lot-pages .ca-niv .ca-lvt.ca-lvt--amb { background: var(--accent-fill, var(--accent)); color: var(--on-accent); }

/* Derniers gains du membre */
body.tk-lot-pages .ca-niv .ca-hist { margin: 0; padding: 4px var(--sp-4); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); list-style: none; }
body.tk-lot-pages .ca-niv .ca-hist li { display: flex; align-items: center; gap: 10px; margin: 0; padding: 10px 0; color: var(--ink); font-size: var(--fs-sm); }
body.tk-lot-pages .ca-niv .ca-hist li + li { border-top: 1px dashed var(--line-2); }
body.tk-lot-pages .ca-niv .ca-hist-ico { display: inline-grid; flex: none; place-items: center; color: var(--ink); }
body.tk-lot-pages .ca-niv .ca-hist-ico svg { width: 16px; height: 16px; }
body.tk-lot-pages .ca-niv .ca-hist-l { flex: 1 1 auto; min-width: 0; }
body.tk-lot-pages .ca-niv .ca-hist-d { color: var(--muted); font-size: var(--fs-xs); white-space: nowrap; }
body.tk-lot-pages .ca-niv .ca-hist-p { min-width: 42px; color: var(--ok); font-weight: var(--fw-strong); font-variant-numeric: tabular-nums; text-align: right; }

/* Les membres les plus avancés */
body.tk-lot-pages .ca-niv .ca-niv-top { display: grid; margin: 0; padding: 4px var(--sp-4); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); list-style: none; }
body.tk-lot-pages .ca-niv .ca-niv-top li { display: flex; align-items: center; gap: var(--sp-3); margin: 0; padding: 10px 0; border-top: 1px dashed var(--line-2); }
body.tk-lot-pages .ca-niv .ca-niv-top li:first-child { border-top: 0; }
body.tk-lot-pages .ca-niv .ca-niv-top li.is-me { box-shadow: inset 4px 0 0 var(--tk-accent-ico, var(--accent)); padding-left: 10px; }
body.tk-lot-pages .ca-niv .ca-niv-topn { flex: 0 0 24px; color: var(--muted); font-size: var(--fs-sm); font-weight: var(--fw-strong); font-variant-numeric: tabular-nums; }
body.tk-lot-pages .ca-niv .ca-niv-topid { position: relative; display: block; flex: 0 0 32px; width: 32px; height: 32px; line-height: 0; }
body.tk-lot-pages .ca-niv .ca-niv-topav { display: block; width: 32px; height: 32px; border-radius: 50%; object-fit: cover; background: var(--surface-3); }
body.tk-lot-pages .ca-niv .ca-med.ca-niv-topb {
  position: absolute; right: -6px; bottom: -4px; width: auto; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; box-shadow: 0 0 0 2px var(--surface);
}
body.tk-lot-pages .ca-niv .ca-med.ca-niv-topb > b { font-size: 10px; }
body.tk-lot-pages .ca-niv .ca-niv-topu {
  flex: 1 1 auto; min-width: 0; overflow: hidden; color: var(--ink); font-size: var(--fs-base); font-weight: var(--fw-strong); text-decoration: none; text-overflow: ellipsis; white-space: nowrap;
}
body.tk-lot-pages .ca-niv .ca-niv-topl { color: var(--muted); font-size: var(--fs-sm); white-space: nowrap; }
body.tk-lot-pages .ca-niv .ca-niv-topp { color: var(--ink); font-size: var(--fs-sm); font-weight: var(--fw-strong); font-variant-numeric: tabular-nums; white-space: nowrap; }
body.tk-lot-pages .ca-niv .ca-niv-topmore { margin: var(--sp-4) 0 0; }
body.tk-lot-pages .ca-niv .ca-niv-topmore a {
  display: inline-flex; align-items: center; justify-content: center; min-height: var(--tap); padding: 0 16px; border: 1.5px solid var(--line-strong); border-radius: var(--r-md);
  background: var(--surface); color: var(--ink); font-size: var(--fs-sm); font-weight: var(--fw-strong); text-decoration: none;
}

/* Les règles : une liste cochée, rayée de pointillés */
body.tk-lot-pages .ca-niv .ca-niv-rules { display: grid; max-width: var(--tkp-texte); margin: 0; padding: 0; list-style: none; }
body.tk-lot-pages .ca-niv .ca-niv-rules li { position: relative; margin: 0; padding: 12px 0 12px 30px; border-top: 1px dashed var(--line-2); color: var(--ink); font-size: var(--fs-base); line-height: 1.55; }
body.tk-lot-pages .ca-niv .ca-niv-rules li:first-child { border-top: 0; }
body.tk-lot-pages .ca-niv .ca-niv-rules li::before { content: "\2713"; position: absolute; top: 12px; left: 4px; color: var(--ok); font-weight: 700; }

/* Questions fréquentes (le socle dessine chaque question) */
body.tk-lot-pages .ca-niv .ca-niv-faq { max-width: var(--tkp-texte); border-top: 1.5px solid var(--line-strong); }
body.tk-lot-pages .ca-niv .ca-niv-faq details > p { margin: 0; line-height: 1.6; }

/* Téléphone */
@media (max-width: 600px) {
  body.tk-lot-pages .ca-niv .ca-niv-hero { gap: var(--sp-4); }
  body.tk-lot-pages .ca-niv .ca-niv-cta { width: 100%; }
  body.tk-lot-pages .ca-niv .ca-niv-ring { width: 88px; height: 88px; }
  body.tk-lot-pages .ca-niv .ca-niv-ring-in { width: 72px; height: 72px; }
  body.tk-lot-pages .ca-niv .ca-miss { padding: var(--sp-3) var(--sp-4); }
  body.tk-lot-pages .ca-niv .ca-miss-i { align-items: flex-start; }
  body.tk-lot-pages .ca-niv .ca-niv-card { padding: var(--sp-3); }
  body.tk-lot-pages .ca-niv .ca-niv-top li { flex-wrap: wrap; row-gap: 2px; }
  body.tk-lot-pages .ca-niv .ca-niv-topl { display: none; }
}

/* ---------- 8. Page Kevinoo (/kevinoo/, extraits 249 et 368) ----------
   Remplace les feuilles ca-kev-css (249) et ca-kev-liens (368), retirées sur cette page quand le lot « pages » est coché.
   Carte d'identité comme les profils de membres (photo cerclée d'un liseré, plus de fond bleu), lien « Voir mon profil
   et m'envoyer un message » en bouton d'appoint, pastille « Parrain vérifié » en vert de validation, chiffres clés en
   petites cartes à l'encre (plus de cyan, d'or, de vert ni de bleu), sommaire à fond doux, étapes numérotées comme sur
   la page Méthode, questions fréquentes séparées en pointillés, « Voir les codes vérifiés » en bouton principal.
   Toute la page tient dans la colonne de lecture (736 px). */
body.tk-lot-pages .ca-kev { max-width: var(--tkp-texte); font-size: var(--fs-base); line-height: 1.6; }
body.tk-lot-pages .ca-kev p { margin: 0 0 var(--sp-3); }
body.tk-lot-pages .ca-kev h2 { margin: var(--sp-10) 0 var(--sp-3); font-size: var(--fs-xl); font-weight: var(--fw-title); line-height: 1.2; letter-spacing: var(--tr-title); color: var(--ink); }
body.tk-lot-pages .ca-kev h3 { margin: 0 0 2px; font-size: var(--fs-base); font-weight: var(--fw-title); line-height: 1.35; letter-spacing: 0; color: var(--ink); }

/* Carte d'identité */
body.tk-lot-pages .ca-kev-card {
  display: flex; flex-wrap: wrap; align-items: flex-start; gap: var(--sp-5); margin: 0 0 var(--sp-5); padding: var(--tkp-carte-pad);
  border: 1px solid var(--tkp-carte-filet); border-radius: var(--r-xl); background: var(--tkp-carte-bg); box-shadow: var(--shadow-1);
}
body.tk-lot-pages .ca-kev-avl { display: inline-block; flex: none; line-height: 0; border-radius: 50%; text-decoration: none; }
body.tk-lot-pages .ca-kev-av { display: block; width: 96px; height: 96px; border-radius: 50%; object-fit: cover; background: var(--surface-3); box-shadow: 0 0 0 2px var(--surface), 0 0 0 3.5px var(--line-2); }
body.tk-lot-pages .ca-kev-avl:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
body.tk-lot-pages .ca-kev-id { flex: 1 1 260px; min-width: 0; }
body.tk-lot-pages .ca-kev .ca-kev-name { margin: 0; font-size: var(--fs-lg); font-weight: var(--fw-title); line-height: 1.2; letter-spacing: var(--tr-title); }
body.tk-lot-pages a.ca-kev-nl { color: var(--ink); text-decoration: none; }
body.tk-lot-pages .ca-kev .ca-kev-role { margin: 2px 0 var(--sp-3); color: var(--ink-2); }
body.tk-lot-pages .ca-kev .ca-kev-contact { margin: 0 0 var(--sp-3); }
body.tk-lot-pages a.ca-kev-msg {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--tap); padding: 0 16px; border: 1.5px solid var(--line-strong);
  border-radius: var(--r-md); background: var(--surface); color: var(--ink); font-size: var(--fs-sm); font-weight: var(--fw-strong); line-height: 1.25; text-align: center; text-decoration: none;
}
body.tk-lot-pages a.ca-kev-msg svg { width: 16px; height: 16px; flex: none; }
/* Libellé court du lien sur téléphone : règle de fonctionnement de 368, reprise telle quelle */
body.tk-lot-pages .ca-kev-lbl-court { display: none; }
@media (max-width: 640px) {
  body.tk-lot-pages .ca-kev-lbl-long { display: none; }
  body.tk-lot-pages .ca-kev-lbl-court { display: inline; }
}
@media (max-width: 600px) { body.tk-lot-pages a.ca-kev-msg { width: 100%; } }
body.tk-lot-pages .ca-kev .ca-kev-badge { margin: 0 0 var(--sp-3); font-size: var(--fs-sm); line-height: 1.55; color: var(--ink-2); }
body.tk-lot-pages .ca-kev-pill {
  display: inline-flex; align-items: center; min-height: 24px; margin-right: 6px; padding: 0 10px; border: 1px solid var(--ok-line, var(--ok)); border-radius: var(--r-pill);
  background: var(--ok-bg); color: var(--ok); font-size: var(--fs-xs); font-weight: var(--fw-strong); line-height: 1.2; vertical-align: 1px;
}
body.tk-lot-pages .ca-kev-facts { display: grid; gap: 4px; margin: 0; padding-left: 1.2em; font-size: var(--fs-sm); line-height: 1.55; color: var(--ink); }
body.tk-lot-pages .ca-kev-facts li::marker { color: var(--muted); }

/* Chiffres clés */
body.tk-lot-pages .ca-kev-kpi { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-3); margin: 0 0 var(--sp-6); }
body.tk-lot-pages .ca-kev-kpi > div { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; padding: var(--sp-4); border: 1px solid var(--tkp-carte-filet); border-radius: var(--tkp-carte-r); background: var(--tkp-carte-bg); }
body.tk-lot-pages .ca-kev-kic { display: inline-grid; place-items: center; width: 32px; height: 32px; margin: 0 0 4px; border-radius: var(--r-sm); background: var(--surface-2); color: var(--accent-text, var(--ink)); }
body.tk-lot-pages .ca-kev-kic svg { display: block; width: 18px; height: 18px; }
body.tk-lot-pages .ca-kev-kpi b { display: block; font-size: var(--fs-lg); font-weight: var(--fw-title); line-height: 1.2; color: var(--ink); }
body.tk-lot-pages .ca-kev-kpi > div > span:not(.ca-kev-kic) { display: block; font-size: var(--fs-sm); line-height: 1.4; color: var(--muted); }
@media (max-width: 640px) { body.tk-lot-pages .ca-kev-kpi { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Sommaire */
body.tk-lot-pages .ca-kev-som { margin: 0 0 var(--sp-8); padding: var(--sp-4) var(--sp-5); border: 1px solid var(--line-2); border-radius: var(--tkp-carte-r); background: var(--surface-2); }
body.tk-lot-pages .ca-kev .ca-kev-som-t { margin: 0 0 var(--sp-2); font-size: var(--fs-sm); font-weight: var(--fw-strong); line-height: 1.4; color: var(--ink); }
body.tk-lot-pages .ca-kev-som ol { display: grid; gap: 2px; margin: 0; padding-left: 1.4em; font-size: var(--fs-base); line-height: 1.6; }
body.tk-lot-pages .ca-kev-som li::marker { color: var(--muted); }
body.tk-lot-pages .ca-kev-som a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }

/* Ce que je vérifie : étapes numérotées (comme la page Méthode) */
body.tk-lot-pages .ca-kev-steps { display: grid; gap: var(--sp-3); margin: 0 0 var(--sp-4); padding: 0; list-style: none; counter-reset: cakev; }
body.tk-lot-pages .ca-kev-steps > li {
  position: relative; counter-increment: cakev; margin: 0; padding: var(--sp-4) var(--sp-5) var(--sp-4) calc(var(--sp-5) + 32px + var(--sp-4));
  border: 1px solid var(--tkp-carte-filet); border-radius: var(--tkp-carte-r); background: var(--tkp-carte-bg);
}
body.tk-lot-pages .ca-kev-steps > li::before {
  content: counter(cakev); position: absolute; left: var(--sp-5); top: var(--sp-4); display: grid; place-items: center; width: 32px; height: 32px;
  border-radius: var(--r-sm); background: var(--sel-bg); color: var(--sel-ink); font-size: var(--fs-sm); font-weight: var(--fw-strong); line-height: 1; font-variant-numeric: tabular-nums;
}
body.tk-lot-pages .ca-kev-steps h3 { display: flex; align-items: center; min-height: 32px; }
body.tk-lot-pages .ca-kev .ca-kev-steps p { margin: 0; color: var(--ink-2); }

/* Où me retrouver */
body.tk-lot-pages .ca-kev-liens { display: grid; gap: 2px; margin: 0 0 var(--sp-3); padding-left: 1.2em; line-height: 1.6; }
body.tk-lot-pages .ca-kev-liens li::marker { color: var(--muted); }

/* Questions fréquentes : questions en titres, séparées en pointillés (comme les listes de questions du site) */
body.tk-lot-pages .ca-kev-faq { margin: 0 0 var(--sp-6); border-top: 1.5px solid var(--line-strong); }
body.tk-lot-pages .ca-kev .ca-kev-faq h3 { margin: 0; padding: var(--sp-4) 0 var(--sp-1); border-top: 1px dashed var(--line-2); line-height: 1.4; }
body.tk-lot-pages .ca-kev .ca-kev-faq h3:first-child { border-top: 0; }
body.tk-lot-pages .ca-kev .ca-kev-faq p { margin: 0 0 var(--sp-4); color: var(--ink-2); }

/* Voir les codes vérifiés du moment : bouton principal */
body.tk-lot-pages a.ca-kev-cta {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border: 1.5px solid var(--sel-bg); border-radius: var(--r-md);
  background: var(--sel-bg); color: var(--sel-ink); font-size: var(--fs-sm); font-weight: var(--fw-strong); line-height: 1.2; text-align: center; text-decoration: none;
}
body.tk-lot-pages .ca-kev .ca-kev-maj { margin: var(--sp-6) 0 0; font-size: var(--fs-sm); line-height: 1.6; color: var(--muted); }

/* Téléphone : liens du sommaire et des profils assez hauts pour le doigt, bouton principal pleine largeur */
@media (max-width: 640px) {
  body.tk-lot-pages :is(.ca-kev-som, .ca-kev-liens) a { display: block; padding-block: 9px; }
  body.tk-lot-pages .ca-kev-som ol, body.tk-lot-pages .ca-kev-liens { gap: 0; }
  body.tk-lot-pages a.ca-kev-cta { width: 100%; }
}

/* ---------- 9. Résultats de recherche (/?s=…, extrait 154) ----------
   Remplace la feuille ca-src-css (154), qui n'est plus envoyée quand le lot « pages » est coché. La page n'a ni
   .tk-content ni titre du thème : 154 imprime tout dans <main class="tk-main--search">. Même colonne que les autres
   pages piliers ; titre en casse normale (taille des titres de page) ; l'étiquette « Recherche » en capitales, purement
   décorative, n'est plus affichée ; champ comme la recherche de l'accueil, bouton « Rechercher » à l'encre ; résultats en
   cartes blanches, secteur en pastille neutre (plus de bleu ni de couleur par secteur). */

body.tk-lot-pages .ca-src { max-width: calc(var(--tkp-col) + 2 * var(--gutter)); margin: 0 auto; padding: var(--sp-8) var(--gutter) var(--sp-12); box-sizing: border-box; }

/* Tête : titre, nombre de résultats, champ */
body.tk-lot-pages .ca-src-head { margin: 0 0 var(--sp-8); }
body.tk-lot-pages .ca-src-kick { display: none; }
body.tk-lot-pages .ca-src-h1 { margin: 0 0 var(--sp-2); font-size: var(--fs-2xl); font-weight: var(--fw-title); line-height: 1.15; letter-spacing: var(--tr-display); color: var(--ink); text-wrap: balance; }
body.tk-lot-pages .ca-src-sub { margin: 0 0 var(--sp-5); font-size: var(--fs-base); line-height: 1.55; color: var(--muted); }
body.tk-lot-pages .ca-src-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
body.tk-lot-pages .ca-src-form { display: flex; gap: var(--sp-2); max-width: 40rem; margin: 0; }
body.tk-lot-pages .ca-src-form input {
  flex: 1 1 auto; min-width: 0; height: 52px; margin: 0; padding: 0 16px; box-sizing: border-box;
  border: 1.5px solid var(--line-input); border-radius: var(--r-lg); background: var(--surface); color: var(--ink);
  font-family: var(--font-sans); font-size: max(16px, var(--fs-base)); font-weight: 500; box-shadow: var(--shadow-1);
  -webkit-appearance: none; appearance: none;
}
body.tk-lot-pages .ca-src-form input::placeholder { color: var(--muted); opacity: 1; }
body.tk-lot-pages .ca-src-form input:focus { outline: 3px solid var(--focus); outline-offset: 2px; border-color: var(--line-strong); }
body.tk-lot-pages .ca-src-form button {
  flex: none; height: 52px; margin: 0; padding: 0 20px; border: 1.5px solid var(--sel-bg); border-radius: var(--r-md);
  background: var(--sel-bg); color: var(--sel-ink); font-family: var(--font-sans); font-size: var(--fs-sm); font-weight: var(--fw-strong);
  letter-spacing: 0; text-transform: none; cursor: pointer; box-shadow: none;
}
body.tk-lot-pages .ca-src-form button:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

/* Sections de résultats */
body.tk-lot-pages .ca-src-sec { margin: 0 0 var(--sp-8); }
body.tk-lot-pages .ca-src-h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 var(--sp-4); font-size: var(--fs-lg); font-weight: var(--fw-title); line-height: 1.25; letter-spacing: var(--tr-title); color: var(--ink); }
body.tk-lot-pages .ca-src-h2 span {
  display: inline-grid; place-items: center; min-width: 26px; height: 24px; padding: 0 8px; box-sizing: border-box; border-radius: var(--r-pill);
  background: var(--surface-2); color: var(--ink-2); font-size: var(--fs-xs); font-weight: var(--fw-strong); line-height: 1;
}

/* Fiches : cartes (logo, nom, secteur, avantage, extrait, « Voir la fiche ») */
body.tk-lot-pages .ca-src-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: var(--sp-3); }
body.tk-lot-pages .ca-src-card {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: start; gap: 6px 12px; padding: var(--sp-4);
  border: 1px solid var(--tkp-carte-filet); border-radius: var(--tkp-carte-r); background: var(--tkp-carte-bg); box-shadow: var(--shadow-1);
  color: var(--ink); text-decoration: none;
}
@media (hover: hover) and (pointer: fine) { body.tk-lot-pages .ca-src-card:hover { border-color: var(--line-strong); } }
body.tk-lot-pages .ca-src-card:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
body.tk-lot-pages .ca-src-logo { display: grid; place-items: center; width: 44px; height: 44px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--tk-logo-bg, var(--surface-2)); }
body.tk-lot-pages .ca-src-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
/* Sans logo : l'initiale sur un carré doux (le fond clair des logos ne convient pas à l'encre du mode sombre) */
body.tk-lot-pages .ca-src-ini { display: grid; place-items: center; width: 100%; height: 100%; background: var(--surface-2); color: var(--ink); font-size: var(--fs-lg); font-weight: var(--fw-strong); line-height: 1; }
body.tk-lot-pages .ca-src-b { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
body.tk-lot-pages .ca-src-t { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
body.tk-lot-pages .ca-src-nom { font-size: var(--fs-base); font-weight: var(--fw-title); line-height: 1.25; color: var(--ink); }
body.tk-lot-pages .ca-src-chip {
  display: inline-flex; align-items: center; min-height: 22px; padding: 0 8px; border: 1px solid var(--line-2); border-radius: var(--r-pill);
  background: transparent; color: var(--ink-2); font-size: var(--fs-xs); font-weight: 600; line-height: 1.2;
}
body.tk-lot-pages .ca-src-av { font-size: var(--fs-sm); font-weight: var(--fw-strong); line-height: 1.45; color: var(--ink); }
body.tk-lot-pages .ca-src-x { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: var(--fs-sm); line-height: 1.5; color: var(--muted); }
body.tk-lot-pages .ca-src-go { grid-column: 2; justify-self: end; font-size: var(--fs-sm); font-weight: var(--fw-strong); line-height: 1.3; color: var(--ink); white-space: nowrap; }
body.tk-lot-pages .ca-src-go::after { content: " →"; }

/* Articles du blog : lignes (titre, date, extrait) */
body.tk-lot-pages .ca-src-list { display: flex; flex-direction: column; gap: var(--sp-2); }
body.tk-lot-pages .ca-src-row {
  display: block; padding: var(--sp-4); border: 1px solid var(--tkp-carte-filet); border-radius: var(--tkp-carte-r); background: var(--tkp-carte-bg);
  color: var(--ink); text-decoration: none;
}
@media (hover: hover) and (pointer: fine) { body.tk-lot-pages .ca-src-row:hover { border-color: var(--line-strong); } }
body.tk-lot-pages .ca-src-row:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
body.tk-lot-pages .ca-src-rh { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-3); }
body.tk-lot-pages .ca-src-rt { min-width: 0; font-size: var(--fs-base); font-weight: var(--fw-title); line-height: 1.3; color: var(--ink); }
body.tk-lot-pages .ca-src-rd { flex: none; font-size: var(--fs-xs); font-weight: 600; color: var(--muted); white-space: nowrap; }
body.tk-lot-pages .ca-src-rx { display: block; margin-top: 4px; font-size: var(--fs-sm); line-height: 1.55; color: var(--ink-2); }

/* Pages du site : pastilles */
body.tk-lot-pages .ca-src-tags { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
body.tk-lot-pages .ca-src-tag {
  display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 14px; border: 1px solid var(--line-input); border-radius: var(--r-pill);
  background: var(--surface); color: var(--ink); font-size: var(--fs-sm); font-weight: 600; line-height: 1.2; text-decoration: none;
}
@media (hover: hover) and (pointer: fine) { body.tk-lot-pages .ca-src-tag:hover { border-color: var(--line-strong); } }
body.tk-lot-pages .ca-src-tag:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

/* Aucun résultat : encadré pointillé, « Voir tous les codes » (principal) et « Proposer une entreprise » */
body.tk-lot-pages .ca-src-vide { padding: var(--tkp-carte-pad); border: 1.5px dashed var(--line-2); border-radius: var(--tkp-carte-r); background: var(--tkp-carte-bg); }
body.tk-lot-pages .ca-src-vide-t { margin: 0 0 var(--sp-2); font-size: var(--fs-lg); font-weight: var(--fw-title); line-height: 1.3; color: var(--ink); }
body.tk-lot-pages .ca-src-vide-p { max-width: 60ch; margin: 0 0 var(--sp-4); font-size: var(--fs-base); line-height: 1.6; color: var(--ink-2); }
body.tk-lot-pages .ca-src-vide-a { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-3); margin: 0; }
body.tk-lot-pages :is(.ca-src-btn, .ca-src-btn2) {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; box-sizing: border-box; border-radius: var(--r-md);
  font-size: var(--fs-sm); font-weight: var(--fw-strong); line-height: 1.2; text-decoration: none;
}
body.tk-lot-pages .ca-src-btn { border: 1.5px solid var(--sel-bg); background: var(--sel-bg); color: var(--sel-ink); }
body.tk-lot-pages .ca-src-btn2 { border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--ink); }
body.tk-lot-pages :is(.ca-src-btn, .ca-src-btn2):focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

/* Téléphone : le bouton « Rechercher » garde son texte ; « Voir la fiche » sous la carte, à droite */
@media (max-width: 520px) {
  body.tk-lot-pages .ca-src { padding-top: var(--sp-6); }
  body.tk-lot-pages .ca-src-form button { padding: 0 14px; }
  body.tk-lot-pages .ca-src-rh { flex-direction: column; gap: 2px; }
  body.tk-lot-pages :is(.ca-src-btn, .ca-src-btn2) { flex: 1 1 100%; }
}
