/* =========================================================================================================
   V5 DA (c-da-pages) : habillage des pages fiche (feuille de route), debrief et fin de demo sur la direction artistique de
   l'accueil V5 (css/accueil.css, body.accueil-v5). Chargee APRES les feuilles de chaque page par fiche.html, debrief.html et
   demo-fin.html SEULEMENT (ni l'accueil, ni le brief, ni la visio, ni la page ecole ne la chargent).
   - Chaque regle est sous une classe de page : body.fiche-page, body.debrief-page, body.df-page (alias P ci-dessous : :is(...)).
   - Ecran seulement (@media screen) : l'impression (fiche PDF, resume pour la direction) reste exactement celle d'avant.
   - Jetons : on remappe les jetons existants (v2.css --bg-*, --text-*, --brand-*, --ecole-*, --r-* ; fiche.css --fr-* ;
     debrief.css --dk-*) sur ceux de l'accueil (--a5-*), poses sur les enfants directs du body SAUF le guide de demo
     (.dg-essais, .dg-reaction : classes dg-*), qui garde son apparence partagee avec la visio.
   - Une seule couleur d'accent : l'indigo de la marque. La sarcelle « Cote ecole » passe a l'indigo + papier creme ; le vert
     du gain passe a l'indigo ; les couleurs d'etat (tenue / a travailler / manquee) restent : elles portent un sens.
   - Jour par defaut ; nuit sous html[data-theme="dark"] (palette nuit de l'accueil).
   ========================================================================================================= */
@media screen{

/* ---------- 1. jetons (jour) ---------- */
:is(body.fiche-page,body.debrief-page,body.df-page){background:#F8F5EE}
:is(body.fiche-page,body.debrief-page,body.df-page) > :not([class*="dg-"]){
  /* accueil V5 */
  --a5-bg:#F8F5EE; --a5-bg-2:#F0EBDF; --a5-surface:#fff; --a5-ink:#141318; --a5-ink-2:#4F4E57; --a5-ink-3:#6E6C76;
  --a5-line:#DCD6C8; --a5-accent:#4347B8; --a5-accent-d:#363A9E; --a5-accent-txt:#4347B8; --a5-sur-accent:#fff;
  --a5-encre:#3A3EB0; --a5-lavis:#F7D56E; --a5-haut:rgba(248,245,238,.92);
  --a5-ombre:0 16px 34px -26px rgba(20,20,60,.45);
  --a5-font:"Helvetica Neue",Helvetica,"Nimbus Sans","Nimbus Sans L","Liberation Sans",Roboto,"Segoe UI",Arial,sans-serif;
  /* v2.css */
  --font:var(--a5-font); --font-num:var(--a5-font);
  --bg-app:#F8F5EE; --bg-surface:#FFFFFF; --bg-subtle:#FBF9F4; --bg-hover:#F0EBDF; --bg-pressed:#E6E0D2;
  --stroke:#E3DDD0; --stroke-strong:#C9C2B2;
  --text:#141318; --text-2:#4F4E57; --text-3:#6E6C76;
  --brand-60:#363A9E; --brand-70:#4347B8; --brand-80:#4347B8; --brand-90:#6E73E6; --brand-100:#A9ACFF;
  --brand-tint:#ECEBF7; --brand-tint-2:#DADBF5;
  --ecole-accent:#4347B8; --ecole-accent-strong:#363A9E; --ecole-tint:#F0EBDF; --ecole-tint-2:#DCD6C8; --ecole-ink:#2B2A33;
  --ecole-band-a:#141318; --ecole-band-b:#2B2A33; --ecole-clef-bg:#ECEBF7; --ecole-clef-ink:#363A9E; --ecole-lien:#4347B8;
  --r-sm:2px; --r-md:3px; --r-lg:4px; --r-xl:6px; --r-2xl:6px;
  --sh-2:0 0 0 1px #E6E0D2; --sh-4:0 0 0 1px #E6E0D2,0 14px 30px -26px rgba(20,20,60,.45);
  --sh-8:0 0 0 1px #E6E0D2,0 16px 34px -24px rgba(20,20,60,.45); --sh-16:0 18px 40px -22px rgba(30,30,80,.4);
  /* fiche.css */
  --fr-desk:#F8F5EE; --fr-paper:#FFFFFF; --fr-paper-2:#FBF9F4; --fr-ink:#141318; --fr-ink-2:#4F4E57; --fr-ink-3:#6E6C76;
  --fr-line:#E3DDD0; --fr-line-2:#C9C2B2; --fr-accent:#4347B8; --fr-accent-ink:#363A9E; --fr-accent-tint:#EEEDF8;
  --fr-hl:#F7D56E; --fr-ring-fill:#F7D56E; --fr-postit:#FBF3D6; --fr-postit-ink:#33301F; --fr-k-cible:#4347B8;
  --fr-sh:0 18px 40px -26px rgba(30,30,80,.35); --fr-sh-card:none; --fr-sh-hover:0 14px 30px -20px rgba(30,30,80,.35); --fr-grain:none;
  --fr-ecole:#4347B8; --fr-ecole-ink:#2B2A33; --fr-ecole-tint:#F0EBDF; --fr-ecole-line:#DCD6C8;
  /* debrief.css : le gain passe a l'indigo ; les etats (tenue, a travailler, manquee) gardent leurs couleurs */
  --dk-gain:#4347B8; --dk-gain-bg:#FFFFFF; --dk-ecole:#F0EBDF; --dk-ecole-bord:#DCD6C8;
  font-family:var(--a5-font);
}

/* ---------- 2. jetons (nuit : palette nuit de l'accueil) ---------- */
html[data-theme="dark"] :is(body.fiche-page,body.debrief-page,body.df-page){background:#15141A}
html[data-theme="dark"] :is(body.fiche-page,body.debrief-page,body.df-page) > :not([class*="dg-"]){
  --a5-bg:#15141A; --a5-bg-2:#1C1B23; --a5-surface:#23222B; --a5-ink:#F2F0EA; --a5-ink-2:#C9C6CF; --a5-ink-3:#A29FAB;
  --a5-line:#34323D; --a5-accent:#5B60D6; --a5-accent-d:#6E73E6; --a5-accent-txt:#A9ACFF; --a5-sur-accent:#fff;
  --a5-encre:#A9ACFF; --a5-lavis:#7A6420; --a5-haut:rgba(21,20,26,.92);
  --a5-ombre:0 16px 34px -22px rgba(0,0,0,.6);
  --bg-app:#15141A; --bg-surface:#23222B; --bg-subtle:#1C1B23; --bg-hover:#2C2B35; --bg-pressed:#36343F;
  --stroke:#34323D; --stroke-strong:#4A4753;
  --text:#F2F0EA; --text-2:#C9C6CF; --text-3:#A29FAB;
  --brand-60:#A9ACFF; --brand-70:#A9ACFF; --brand-80:#5B60D6; --brand-90:#6E73E6; --brand-100:#C9CBFF;
  --brand-tint:#26264A; --brand-tint-2:#33346A;
  --ecole-accent:#A9ACFF; --ecole-accent-strong:#C9CBFF; --ecole-tint:#1C1B23; --ecole-tint-2:#34323D; --ecole-ink:#C9C6CF;
  --ecole-band-a:#23222B; --ecole-band-b:#2C2B35; --ecole-clef-bg:#26264A; --ecole-clef-ink:#C9CBFF; --ecole-lien:#A9ACFF;
  --sh-2:0 0 0 1px #2C2B35; --sh-4:0 0 0 1px #2C2B35,0 14px 30px -24px rgba(0,0,0,.6);
  --sh-8:0 0 0 1px #2C2B35,0 16px 34px -22px rgba(0,0,0,.6); --sh-16:0 18px 40px -20px rgba(0,0,0,.65);
  --fr-desk:#15141A; --fr-paper:#1D1C24; --fr-paper-2:#23222B; --fr-ink:#F2F0EA; --fr-ink-2:#C9C6CF; --fr-ink-3:#A29FAB;
  --fr-line:#34323D; --fr-line-2:#4A4753; --fr-accent:#A9ACFF; --fr-accent-ink:#C9CBFF; --fr-accent-tint:#26264A;
  --fr-hl:rgba(201,160,40,.38); --fr-hl-ink:#FFF5D6; --fr-ring-fill:rgba(201,160,40,.38); --fr-postit:#2A2619; --fr-postit-ink:#F4EACB;
  --fr-k-cible:#A9ACFF;
  --fr-sh:0 18px 40px -24px rgba(0,0,0,.6); --fr-sh-card:none; --fr-sh-hover:0 14px 30px -18px rgba(0,0,0,.6); --fr-grain:none;
  --fr-ecole:#A9ACFF; --fr-ecole-ink:#C9C6CF; --fr-ecole-tint:#1C1B23; --fr-ecole-line:#34323D;
  --dk-gain:#A9ACFF; --dk-gain-bg:#23222B; --dk-ecole:#1C1B23; --dk-ecole-bord:#34323D;
}

/* ---------- 3. en-tete : celui de l'accueil (marque au feutre, fond papier, aucun filet) ---------- */
:is(body.fiche-page,body.debrief-page,body.df-page) > .app-top{height:64px;gap:18px;border-bottom:0;background:var(--a5-bg);
  padding:0 max(24px,calc((100% - 1240px) / 2 + 32px))}
body.df-page > .app-top{padding:0 max(24px,calc((100% - 1240px) / 2 + 48px))}
:is(body.fiche-page,body.debrief-page,body.df-page) .app-top .marque{display:flex;align-items:center;gap:10px;min-height:0;font-weight:800;font-size:19px;
  letter-spacing:-.02em;text-decoration:none;color:var(--a5-ink)}
:is(body.fiche-page,body.debrief-page,body.df-page) .app-top .marque svg{width:26px;height:26px;flex:none}
:is(body.fiche-page,body.debrief-page,body.df-page) .app-top .marque svg path{fill:none;stroke:var(--a5-encre);stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
:is(body.fiche-page,body.debrief-page,body.df-page) .app-top .btn--subtle,
:is(body.fiche-page,body.debrief-page,body.df-page) .app-top .nt-theme-btn{color:var(--a5-ink-2);background:transparent;border-color:transparent;font-size:15px;font-weight:700}
:is(body.fiche-page,body.debrief-page,body.df-page) .app-top .btn--subtle:hover{color:var(--a5-ink);background:var(--a5-bg-2)}
:is(body.fiche-page,body.debrief-page,body.df-page) .app-top .btn--subtle .ico{color:currentColor}
body.debrief-page .app-top .crumb{border-left:0;padding-left:0;font-size:15px;font-weight:700;color:var(--a5-ink-2)}
body.debrief-page .app-top .crumb{font-weight:400;color:var(--a5-ink-3)}
body.df-page .app-top .ecole-crumb{align-items:center;gap:6px;border-left:0;padding-left:0;font-size:15px;font-weight:700;color:var(--a5-ink-2);white-space:nowrap}
body.df-page .app-top .ecole-crumb .ico{color:var(--a5-ink-3);margin-right:6px;vertical-align:-2px}

/* ---------- 4. boutons discrets de l'en-tete et liens soulignes (V5.1 DA : les vrais boutons sont dans boutons.css) ---------- */
/* V5.1 DA (c-da-03) : forme et couleurs des boutons (primaire, secondaire, tailles, focus, desactive) dans css/boutons.css,
   calquees sur la visio (rayon 10 px, indigo #5B5FC7). Ici ne restent que les boutons discrets de l'en-tete et les liens. */
:is(body.fiche-page,body.debrief-page,body.df-page) > :not([class*="dg-"]) .btn.btn--subtle{border-color:transparent;background:transparent;color:var(--a5-ink-2)}
:is(body.fiche-page,body.debrief-page,body.df-page) > :not([class*="dg-"]) .btn.btn--subtle:hover{background:var(--a5-bg-2);color:var(--a5-ink)}
:is(body.fiche-page,body.debrief-page,body.df-page) > .app-top .btn.btn--subtle{height:40px;font-size:15px;font-weight:700}
/* v2.css colore en lavande les liens hors .btn en mode nuit ; nos boutons gardent leurs couleurs */
html[data-theme="dark"] :is(body.fiche-page,body.debrief-page,body.df-page) > :not([class*="dg-"]) .btn{color:var(--a5-ink)}
html[data-theme="dark"] :is(body.fiche-page,body.debrief-page,body.df-page) .app-top .btn--subtle{color:var(--a5-ink-2)}
:is(body.fiche-page,body.debrief-page,body.df-page) main .link{color:var(--a5-accent-txt);font-weight:700;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1.5px}
:is(body.fiche-page,body.debrief-page,body.df-page) main .link--muted{color:var(--a5-ink-3);font-weight:400}
:is(body.fiche-page,body.debrief-page,body.df-page) :focus-visible{outline-color:var(--a5-accent-txt)}

/* ---------- 5. surtitres : petites capitales espacees ---------- */
:is(body.fiche-page,body.debrief-page,body.df-page) main :is(.eyebrow,.fr-eyebrow){font-size:13px;font-weight:700;letter-spacing:.13em;text-transform:uppercase;color:var(--a5-ink-2)}
html[data-theme="dark"] :is(body.fiche-page,body.debrief-page,body.df-page) main :is(.eyebrow,.fr-eyebrow){color:var(--a5-ink-2)}
:is(body.fiche-page,body.debrief-page,body.df-page) main .ecole-pastille-tag{font-size:12px;letter-spacing:.13em;color:var(--a5-accent-txt)}
:is(body.fiche-page,body.debrief-page,body.df-page) .ecole-pastille{border-left-width:2px;border-radius:0 4px 4px 0}
/* etiquettes « Valeurs d'exemple » / « Illustration » : toujours en pointille (elles avertissent), mais sans second accent orange */
:is(body.fiche-page,body.debrief-page,body.df-page) main .ecole-illustration{border-radius:3px;border:1px dashed var(--a5-ink-3);background:transparent;
  color:var(--a5-ink-2);letter-spacing:.1em}

/* ---------- 6. feutre : un trait dessine a la main sous le mot clef du titre principal (meme encre que l'accueil) ---------- */
:is(body.fiche-page,body.debrief-page,body.df-page) .da-feutre,body.df-page .df-hero h1 em{position:relative;display:inline-block;white-space:nowrap}
:is(body.fiche-page,body.debrief-page,body.df-page) .da-feutre::after,body.df-page .df-hero h1 em::after{content:"";position:absolute;left:-3%;right:-3%;bottom:-.16em;height:.3em;
  background:var(--a5-encre);pointer-events:none;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16' preserveAspectRatio='none'%3E%3Cpath d='M3 10.5C38 6.2 79 4.6 121 5.6c26 .6 51 2.3 75 4.6M18 13.4c40-3 86-3.6 150-1.2' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E") center/100% 100% no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16' preserveAspectRatio='none'%3E%3Cpath d='M3 10.5C38 6.2 79 4.6 121 5.6c26 .6 51 2.3 75 4.6M18 13.4c40-3 86-3.6 150-1.2' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E") center/100% 100% no-repeat}

/* =========================== 7. fiche « feuille de route » (habillage seul : sections, ordre, cartes inchanges) =========================== */
body.fiche-page .fiche-head h1{font-family:var(--a5-font);font-size:clamp(36px,3.6vw,52px);font-weight:800;line-height:1.04;letter-spacing:-.04em;color:var(--a5-ink)}
body.fiche-page .fiche-head-txt > p:not(.fr-eyebrow){font-size:16.5px;line-height:1.5;color:var(--a5-ink-2)}
body.fiche-page .fr-h1-hl{background-size:100% 34%;white-space:nowrap}
/* apres une partie, « Rejouer une partie » reste l'unique action pleine de l'en-tete : regle deplacee dans boutons.css (V5.1 DA) */
body.fiche-page .fr-strip-t{font-size:13px;letter-spacing:.13em;color:var(--a5-ink)}
body.fiche-page .fr-strip-t small{font-size:14px;letter-spacing:0;font-weight:400;color:var(--a5-ink-2)}
body.fiche-page .fr-strip-list a{border-radius:4px;background:var(--a5-surface)}
body.fiche-page .fr-strip-n{color:var(--a5-ink-3)}
body.fiche-page .fr-sec-head h2{font-size:30px;font-weight:800;letter-spacing:-.03em;line-height:1.1}
body.fiche-page .fr-bilan-head h2{font-weight:800;letter-spacing:-.02em}
body.fiche-page :is(.fr-card,.fr-lev,.fr-nego,.fr-piege,.fr-clef,.fr-marche-viz,.fr-bilan,.fr-ecole-in,.fr-feuille){border-radius:6px}
body.fiche-page :is(.fr-cadre,.fr-kpi,.fr-appui-list li,.fr-bilan-box,.fr-bilan-phrases,.fr-ecole-preuves li,.fr-recap,.fr-repli,.fr-paie,
  .fr-col-row--sens,.fr-nego-list li,.fr-origin,.fr-mesure-note,.fr-focus,.fr-nav-list a,.fr-nav,.fr-nav-btn,.fr-nav-up,.fr-compare-resume,.fr-more summary){border-radius:4px}
body.fiche-page .fr-ecole-in{border-top-width:2px;border-top-color:var(--a5-ink)}
html[data-theme="dark"] body.fiche-page .fr-ecole-in{border-top-color:var(--a5-ink-2)}

/* =========================== 8. debrief (structure par clefs inchangee) =========================== */
body.debrief-page .d-hero h1{font-family:var(--a5-font);font-size:clamp(36px,3.6vw,52px);font-weight:800;line-height:1.04;letter-spacing:-.04em;color:var(--a5-ink)}
body.debrief-page .d-hero p{font-size:16px;color:var(--a5-ink-2)}
/* actions du haut : « Rejouer » est l'action pleine, a la taille du bouton de l'accueil ; « Effacer mes donnees » (destructive, rare)
   devient un lien souligne discret, a la fin */
body.debrief-page > main .d-hero-txt{min-width:min(100%,460px)}
body.debrief-page > main .d-actions{align-items:center}
body.debrief-page > main .d-actions .btn{height:48px;padding:0 20px;font-size:16px}
body.debrief-page > main .d-actions #btnWipe.btn{order:9;height:auto;min-height:40px;padding:0 4px;border-color:transparent;background:transparent;
  color:var(--a5-ink-3);font-weight:400;font-size:14px;text-decoration:underline;text-underline-offset:3px}
html[data-theme="dark"] body.debrief-page > main .d-actions #btnWipe.btn{color:var(--a5-ink-3)}
body.debrief-page > main .d-actions #btnWipe.btn:hover{color:var(--a5-ink)}
body.debrief-page :is(.d-card h2,.radar-card h2,.dk-synth h2,.loading-card h2){font-weight:800;letter-spacing:-.02em}
body.debrief-page .dk-synth h2{font-size:22px}
body.debrief-page .dk-gain{border:0;border-top:5px solid var(--a5-accent);border-radius:4px;background:var(--a5-surface);box-shadow:var(--a5-ombre)}
body.debrief-page .dk-gain-n{font-size:52px;letter-spacing:-.045em;color:var(--a5-accent-txt)}
body.debrief-page .dk-gain-t b{font-weight:800;letter-spacing:-.01em}
body.debrief-page .dk-gain.is-zero,body.debrief-page .dk-gain.is-none{border-top-color:var(--a5-line)}
body.debrief-page :is(.dk-tile,.dk-fsf,.dk-prio,.dk-fait){border-radius:4px}
body.debrief-page .dk-tile{background:var(--a5-surface)}
body.debrief-page .dk-tile-n{background:transparent;color:var(--a5-accent-txt);border:1.5px solid currentColor}
body.debrief-page :is(.dk-ess-col,.dk-ess-focus){border-radius:4px}
body.debrief-page .d-hero h1{margin-bottom:8px}
body.debrief-page .dk-prio b,body.debrief-page .dk-fait b{color:var(--a5-accent-txt)}
body.debrief-page :is(.chip,.dk-etat,.dk-ref-chip){border-radius:3px}
html[data-theme="dark"] body.debrief-page .score-card{background:var(--a5-surface)}
html[data-theme="dark"] body.debrief-page :is(.score-facts .fact,.quote .q-mood){background:var(--a5-surface)}
html[data-theme="dark"] body.debrief-page .quote{background:var(--a5-bg-2)}
html[data-theme="dark"] body.debrief-page .dk-gain{border-top-color:var(--a5-accent)}

/* =========================== 9. ecran de fin de demo =========================== */
body.df-page .df-hero h1{font-family:var(--a5-font);font-size:clamp(34px,3.3vw,48px);font-weight:800;line-height:1.04;letter-spacing:-.04em;color:var(--a5-ink)}
body.df-page .df-hero h1 em{color:var(--a5-accent-txt)}
body.df-page .df-titre-2{margin-top:14px;font-size:clamp(19px,1.7vw,24px);font-weight:500;line-height:1.25;letter-spacing:-.015em;color:var(--a5-ink-2)}
body.df-page .df-chapo{font-size:16.5px;color:var(--a5-ink-2)}
body.df-page .df-kpi-label{font-size:12px;letter-spacing:.13em;color:var(--a5-ink-2)}
body.df-page .df-kpi-label .ico{color:var(--a5-accent-txt)}
body.df-page .df-kpi-val{letter-spacing:-.04em}
body.df-page .ecole-section-head h2{font-size:clamp(26px,2.6vw,36px);font-weight:800;line-height:1.08;letter-spacing:-.035em;color:var(--a5-ink)}
body.df-page .df-offre h2{font-size:clamp(26px,2.6vw,36px);font-weight:800;line-height:1.08;letter-spacing:-.035em}
body.df-page :is(.df-progression,.df-prog){border-radius:4px}
body.df-page .df-prog-tag{border-radius:3px}
html[data-theme="dark"] body.df-page .df-prog-tag{background:var(--a5-accent);color:#fff}

/* =========================== 10. panneau Reglages (ouvert depuis ces pages) =========================== */
:is(body.fiche-page,body.debrief-page,body.df-page) > #reglages .dialog-head h2{font-weight:800;letter-spacing:-.02em}

/* =========================== 11. telephone =========================== */
@media (max-width:767px){
  :is(body.fiche-page,body.debrief-page,body.df-page) > .app-top,body.df-page > .app-top{height:60px;padding:0 16px;gap:6px}
  :is(body.fiche-page,body.debrief-page,body.df-page) .app-top .marque{font-size:17px}
  body.fiche-page .fiche-head h1,body.debrief-page .d-hero h1{font-size:31px;line-height:1.08}
  body.df-page .df-hero h1{font-size:30px;line-height:1.08}
  body.fiche-page .fr-sec-head h2{font-size:24px}
  /* fiche au telephone : texte >= 16 px partout (regle de fiche.css § 13 conservee) */
  body.fiche-page main .fr-eyebrow{font-size:16px;letter-spacing:.08em}
  body.fiche-page .fr-strip-t,body.fiche-page .fr-strip-t small{font-size:16px}
  body.fiche-page main .ecole-pastille-tag{font-size:16px;letter-spacing:.02em}
  body.fiche-page .fiche-actions .btn{font-size:16px}
  /* en-tete au telephone : « Reglages » reduit a son pictogramme (regle de v2.css § 20 conservee) */
  :is(body.fiche-page,body.debrief-page,body.df-page) > .app-top:has(> .nt-theme-btn) > .btn.btn--subtle[data-reglages]{font-size:0;gap:0;min-width:40px;padding-inline:9px}
  body.debrief-page .dk-gain-n{font-size:42px}
}
}

/* =========================================================================================================
   12. V5.1 DA (c-da-03, demande utilisateur 09/11) : fiche et debrief MOINS AUSTERES, contenu et ordre inchanges.
   - Deux teintes douces seulement, en plus de l'indigo : LAVANDE (methode, reperes) et PECHE (toi, ta preparation, ce que tu as
     gagne) ; la SAUGE n'apparait que la ou elle porte deja un sens (clef maitrisee) ; le jaune « lavis » de l'accueil souligne.
   - Pictos au feutre : traces SVG legers (masques CSS en data-URI, couleur = teinte de la section), decoratifs, aucun CDN.
   - Cartes aux coins adoucis (14 px), fonds legers, en-tetes de section en bandeau teinte avec un picto au feutre a droite.
   - Nuit : memes roles, teintes sombres. Ecran seulement : l'impression reste celle d'avant.
   ========================================================================================================= */
@media screen{
:is(body.fiche-page,body.debrief-page) > :not([class*="dg-"]){
  --ch-lav:#EEEDF9; --ch-lav-2:#F6F5FC; --ch-lav-fx:rgba(67,71,184,.26);
  --ch-peche:#FCEEDF; --ch-peche-2:#FEF7EF; --ch-peche-fx:rgba(201,119,47,.38); --ch-peche-ink:#8A4A12;
  --ch-sauge:#E9F4EC; --ch-sauge-fx:rgba(31,122,74,.34);
  --ch-lavis:#F7D56E; --ch-carte:14px; --ch-defi:#FFF4D6; --ch-defi-fx:rgba(201,140,20,.45);
  --fx-cible:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M33 8c12.5-.4 23.6 9.8 23.4 23.6-.2 13.4-11 24-24.6 23.8C18.7 55.2 8.3 45 8.6 31.4 9 18.8 18.6 8.9 31 8.4M32.5 20.6c6.4.1 11.2 5.2 11 11.6-.2 6.2-5.4 11-11.7 10.8-6.2-.2-10.9-5.3-10.6-11.4.3-6 5.1-10.9 11.8-10.9M33 31.5 55 10.5M47.5 9.6l7.7.6-.4 7.4'/%3E%3C/svg%3E");
  --fx-panneau:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M31.5 58.5 30.8 6.5M23.5 58.8c5.2-.6 10.4-.4 15.6.2M31.2 11.5c6.6-.4 13.1-.3 19.6.2l6 6.2-6.2 6.3c-6.4.3-12.8.2-19.2-.2M30.6 30.3c-6.2-.3-12.2-.2-18.2.4l-6 6.1 6.1 6.1c6 .4 12 .4 18 0'/%3E%3C/svg%3E");
  --fx-bulle:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.5 13.8c14.6-3.8 29.6-4 43.6-.2 3.6 8.8 3.8 17.6.4 26.4-9 2.4-18.4 3-27.6 1.8l-11.6 10.4 2.4-12.6c-5.6-8.4-7-17-7.2-25.8M21 25.5c7.4-.4 14.6-.4 22 .2M21 33c4.6-.2 9.4-.2 14 .2'/%3E%3C/svg%3E");
  --fx-cle:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.5 11.5c6.3-.2 11.3 4.8 11.2 11-.1 6-5.1 10.9-11.2 10.8-6-.1-10.8-5-10.6-11.1.2-5.8 4.6-10.4 10.6-10.7M29.5 30.5c8.8 7.8 17.4 15.8 26 24M45.5 44.8l5.6-5.4M51 50l5.2-5'/%3E%3C/svg%3E");
  --fx-loupe:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M27.5 9.2c10-.4 18.3 7.6 18.4 17.8.1 10-8 18.2-18.2 18.2C17.6 45.2 9.4 37 9.6 27 9.8 17.4 17.6 9.6 27.5 9.2M40.8 40.6c4.8 5 9.6 10 14.4 15.2M19 25c1.2-4 4.4-6.6 8.6-7'/%3E%3C/svg%3E");
  --fx-attention:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M32.4 7.8C41.2 23 49.6 38.6 58 54.4c-17.2.6-34.6.8-51.8.2C14.8 38.6 23.4 23.2 32.4 7.8zM32.2 23.5l.4 15.5M32.4 46.5v.6'/%3E%3C/svg%3E");
  --fx-levier:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.5 49.5c16.2-7.6 32.4-15.6 48.6-23.4M30.5 52.5l5.6-13.4 6.4 13.2c-4 .4-8 .4-12 .2M46.5 9.5c3.6-.2 7.2-.2 10.8.2l-.2 10.4c-3.6.2-7.2.2-10.8 0z'/%3E%3C/svg%3E");
  --fx-toque:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 24.5 32 12.2l26.5 12.4-26.3 12.2zM17.5 30v12.6c8.6 6.4 20 6.6 29 .2V30M57.6 25.8l.2 13.6'/%3E%3C/svg%3E");
  --fx-etoile:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M32 6.5c2.2 7.6 4.6 13.6 7.6 18.2 6.2.8 12.2 1 17.8 2.2-4.8 3.8-9.4 7.4-13 11.6 1.2 6.4 2.6 12.2 3.6 18-5.6-3.2-10.6-6.6-16-9.2-5.4 3-10.6 6-16.2 8.8 1.4-6 2.8-11.8 3.8-17.6-4.4-4.2-9-8-13.8-11.4 5.8-1 11.8-1.4 17.8-2.2 3-5.8 5.4-11.8 8.4-18.4z'/%3E%3C/svg%3E");
  --fx-documents:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 14.5c8-.4 16-.4 24 .2l.6 36.6c-8.2.4-16.4.4-24.6-.2zM18 24c4-.2 8-.2 12 0M18 31c3.4-.2 6.8-.2 10 0M18 38c4-.2 8-.2 12 0M40.5 18.5c4-.2 8-.1 12 .2l-.4 36c-8 .5-16 .5-24-.1l.2-4'/%3E%3C/svg%3E");
  --fx-courbe:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 54.5c16.6-.4 33.4-.4 50 0M9.5 8c-.4 15.4-.4 30.8 0 46M14 44c6-6 10-14 17-12 6 2 8-10 14-14 4-3 8-4 11-4M48 12.5l8.4 1.6-2.6 7.6'/%3E%3C/svg%3E");
  --fx-coche:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 33c6 4.6 11 9.6 15 15.4 7.6-14.2 17.4-26.6 29.6-37.4'/%3E%3C/svg%3E");
}
html[data-theme="dark"] :is(body.fiche-page,body.debrief-page) > :not([class*="dg-"]){
  --ch-lav:#25243B; --ch-lav-2:#211F30; --ch-lav-fx:rgba(169,172,255,.30);
  --ch-peche:#2D231A; --ch-peche-2:#251E18; --ch-peche-fx:rgba(242,178,107,.34); --ch-peche-ink:#F2C08A;
  --ch-sauge:#1A2B21; --ch-sauge-fx:rgba(111,211,154,.34);
  --ch-lavis:rgba(201,160,40,.42); --ch-defi:#2E2714; --ch-defi-fx:rgba(242,200,107,.40);
}
/* picto au feutre generique : un ::after masque, colore par --fx-c */
:is(body.fiche-page,body.debrief-page) .ch-fx::after{content:"";position:absolute;pointer-events:none;background:var(--fx-c,var(--ch-lav-fx));
  -webkit-mask:var(--fx) center/contain no-repeat;mask:var(--fx) center/contain no-repeat}

/* ---------- 12a. fiche : portrait de Camille dans l'en-tete, bandeau des 7 clefs, sections en bandeaux teintes ---------- */
body.fiche-page .fiche-head{align-items:center}
body.fiche-page .fr-face{position:relative;flex:none;width:104px;height:104px;margin:0 4px 0 0}
body.fiche-page .fr-face .d-portrait{width:104px;height:104px;box-shadow:0 10px 26px -14px rgba(30,30,80,.55),0 0 0 4px var(--a5-surface)}
body.fiche-page .fr-face svg.fr-face-cercle{position:absolute;inset:-9px;width:calc(100% + 18px);height:calc(100% + 18px);overflow:visible;pointer-events:none}
body.fiche-page .fr-face-cercle path{fill:none;stroke:var(--a5-encre);stroke-width:2.6;stroke-linecap:round;opacity:.85}
body.fiche-page .fr-face-nom{position:absolute;left:50%;bottom:-12px;transform:translateX(-50%) rotate(-3deg);padding:3px 10px;border-radius:999px;background:var(--ch-lavis);
  color:#2B2410;font-size:12.5px;font-weight:800;white-space:nowrap;box-shadow:0 4px 10px -6px rgba(0,0,0,.35)}
html[data-theme="dark"] body.fiche-page .fr-face-nom{color:#FFF5D6}
body.fiche-page .fr-strip-list a{border-radius:var(--ch-carte);background:linear-gradient(180deg,var(--a5-surface) 0%,var(--ch-lav-2) 100%);border-color:var(--a5-line)}
body.fiche-page .fr-strip-pic{background:var(--ch-lav)}
body.fiche-page .fr-feuille{border-radius:20px}
body.fiche-page .fr-sec{border-top:0;padding:30px 0}
body.fiche-page .fr-sec:first-child{padding-top:0}
body.fiche-page .fr-sec-head{position:relative;padding:18px 104px 18px 20px;border-radius:var(--ch-carte);
  background:linear-gradient(100deg,var(--ch-sec,var(--ch-lav)) 0%,var(--ch-sec,var(--ch-lav)) 55%,var(--ch-sec-2,var(--ch-lav-2)) 100%)}
body.fiche-page .fr-sec-head::after{content:"";position:absolute;right:22px;top:50%;width:64px;height:64px;transform:translateY(-50%) rotate(-6deg);pointer-events:none;
  background:var(--ch-sec-fx,var(--ch-lav-fx));-webkit-mask:var(--fx-sec,var(--fx-cle)) center/contain no-repeat;mask:var(--fx-sec,var(--fx-cle)) center/contain no-repeat}
body.fiche-page .fr-sec--mesore{--fx-sec:var(--fx-panneau)}
body.fiche-page .fr-sec--offre{--fx-sec:var(--fx-documents)}
body.fiche-page .fr-sec--marche{--fx-sec:var(--fx-courbe)}
body.fiche-page .fr-sec--objectif{--fx-sec:var(--fx-cible)}
body.fiche-page .fr-sec--leviers{--fx-sec:var(--fx-levier)}
body.fiche-page .fr-sec--clefs{--fx-sec:var(--fx-cle)}
body.fiche-page .fr-sec--pieges{--fx-sec:var(--fx-attention)}
body.fiche-page .fr-sec--methode{--fx-sec:var(--fx-bulle)}
body.fiche-page .fr-sec--debrief{--fx-sec:var(--fx-loupe)}
body.fiche-page .fr-sec--ecole{--fx-sec:var(--fx-toque)}
body.fiche-page .fr-sec-sub{color:var(--a5-ink-2)}
body.fiche-page .fr-sec-head + *{margin-top:0}
body.fiche-page .fr-sec--repliable .fr-sec-head{margin-bottom:14px}
/* volets « Deplier » : meme forme que les boutons du parcours (rayon 10 px, indigo de la visio) */
body.fiche-page .fr-sec-repli>summary{border-radius:var(--ch-carte);border-style:solid;border-color:var(--a5-line);background:var(--a5-surface)}
body.fiche-page .fr-repli-cta{min-height:40px;padding:0 16px;border-radius:var(--bt-r,10px);background:var(--bt-bg,#5B5FC7);color:#fff;font-size:15px;font-weight:650;
  box-shadow:var(--bt-ombre,0 1px 2px rgba(0,0,0,.25))}
body.fiche-page .fr-sec-repli>summary:hover .fr-repli-cta{background:var(--bt-bg-hover,#4F52B2)}
/* cartes de la fiche : coins adoucis, fonds legers */
body.fiche-page :is(.fr-card,.fr-lev,.fr-nego,.fr-piege,.fr-clef,.fr-marche-viz,.fr-bilan,.fr-ecole-in){border-radius:var(--ch-carte)}
body.fiche-page .fr-marche-viz{background:linear-gradient(180deg,var(--ch-lav-2),var(--a5-surface))}
body.fiche-page .fr-nav-list a[aria-current="true"]{border-radius:12px}
body.fiche-page .fr-ecole{border-radius:0 12px 12px 0}

/* ---------- 12b. debrief : en-tete, bandeau « ce que tu as gagne », colonnes teintees, tuiles des 7 clefs, cartes ---------- */
body.debrief-page .d-portrait{width:96px;height:96px;box-shadow:0 10px 26px -14px rgba(30,30,80,.55),0 0 0 4px var(--a5-surface)}
body.debrief-page :is(.card,.d-card,.radar-card,.dk-clef,.dk-detail>summary){border-radius:var(--ch-carte)}
body.debrief-page :is(.d-card,.radar-card) h2 .ico{box-sizing:content-box;width:18px;height:18px;padding:7px;border-radius:50%;background:var(--ch-lavis);color:#2B2410}
html[data-theme="dark"] body.debrief-page :is(.d-card,.radar-card) h2 .ico{color:#FFF5D6}
body.debrief-page .dk-essentiel{position:relative;overflow:hidden;padding:0;border-radius:18px;background:var(--a5-surface)}
/* le bandeau « bravo » : fond peche, gros chiffre sur un trait de surligneur, trajet de l'offre, avantages, mot de Camille */
body.debrief-page .dk-ess-gain{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:18px 28px;align-items:center;margin:0;padding:26px 28px 24px;
  background:linear-gradient(120deg,var(--ch-peche) 0%,var(--ch-peche-2) 60%,var(--a5-surface) 100%);border:0;border-bottom:1px solid var(--a5-line)}
body.debrief-page .dk-ess-gain.is-none{background:linear-gradient(120deg,var(--ch-lav) 0%,var(--ch-lav-2) 60%,var(--a5-surface) 100%)}
body.debrief-page .dk-ess-gain:not(:has(.dk-bravo-detail)){grid-template-columns:1fr}
body.debrief-page .dk-bravo-tete{min-width:0}
body.debrief-page .dk-bravo-k{display:flex;align-items:center;gap:10px;margin:0 0 10px;font-size:21px;font-weight:800;letter-spacing:-.01em;color:var(--ch-peche-ink)}
body.debrief-page .dk-ess-gain.is-none .dk-bravo-k{color:var(--a5-accent-txt)}
body.debrief-page .dk-feutre{flex:none;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
body.debrief-page .dk-feutre--etoile{width:28px;height:28px;color:#D98A2B;fill:rgba(247,213,110,.55)}
html[data-theme="dark"] body.debrief-page .dk-feutre--etoile{color:#F2B26B;fill:rgba(201,160,40,.35)}
body.debrief-page .dk-bravo-n{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
body.debrief-page .dk-ess-gain .dk-bravo-n .dk-gain-n{position:relative;z-index:0;font-size:60px;line-height:1;letter-spacing:-.045em;color:var(--a5-accent-txt)}
body.debrief-page .dk-ess-gain.is-bravo .dk-bravo-n .dk-gain-n::after{content:"";position:absolute;z-index:-1;left:-6px;right:-8px;bottom:.04em;height:.36em;border-radius:3px;
  background:var(--ch-lavis);transform:rotate(-1.2deg)}
body.debrief-page .dk-ess-gain.is-none .dk-bravo-n .dk-gain-n{font-size:40px;color:var(--a5-ink)}
body.debrief-page .dk-ess-gain .dk-bravo-n > b{flex:none;min-width:0;max-width:34ch;font-size:18px;line-height:1.35;font-weight:700;color:var(--a5-ink)}
body.debrief-page .dk-bravo-detail{display:flex;flex-direction:column;gap:12px;min-width:0}
body.debrief-page .dk-bravo-trajet{display:flex;align-items:center;gap:6px 10px;flex-wrap:wrap;padding:14px 16px;border-radius:14px;background:var(--a5-surface);box-shadow:0 0 0 1px var(--a5-line)}
body.debrief-page .dk-bravo-trajet small,body.debrief-page .dk-bravo-lab{display:block;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--a5-ink-3)}
body.debrief-page .dk-bravo-de .num{font-size:20px;font-weight:700;color:var(--a5-ink-2);text-decoration:line-through;text-decoration-thickness:2px;text-decoration-color:rgba(201,119,47,.7)}
body.debrief-page .dk-bravo-a b{font-size:26px;font-weight:800;letter-spacing:-.02em;color:var(--a5-accent-txt)}
body.debrief-page .dk-feutre--fleche{width:72px;height:28px;color:var(--a5-encre)}
body.debrief-page .dk-bravo-av ul{display:flex;flex-wrap:wrap;gap:8px;margin:6px 0 0;padding:0;list-style:none}
body.debrief-page .dk-bravo-av li{display:inline-flex;align-items:center;gap:6px;padding:6px 12px 6px 8px;border-radius:999px;background:var(--a5-surface);box-shadow:0 0 0 1px var(--a5-line);
  font-size:15px;font-weight:600;color:var(--a5-ink)}
body.debrief-page .dk-feutre--coche{width:20px;height:20px;color:#1F7A4A;stroke-width:3}
html[data-theme="dark"] body.debrief-page .dk-feutre--coche{color:#6FD39A}
body.debrief-page .dk-bravo-cam{position:relative;margin:2px 0 0;padding:10px 14px 10px 16px;border-radius:4px 14px 14px 14px;background:var(--a5-surface);box-shadow:0 0 0 1px var(--a5-line);
  font-size:15px;line-height:1.45;color:var(--a5-ink)}
body.debrief-page .dk-bravo-cam q{font-style:italic;font-weight:600;quotes:"« " " »"}
body.debrief-page .dk-bravo-cam span{display:block;margin-top:2px;font-size:13px;color:var(--a5-ink-3)}
body.debrief-page .dk-bravo-table{margin:0;padding:10px 14px;border-radius:12px;background:var(--ch-lav);font-size:15px;line-height:1.45;color:var(--a5-ink)}
body.debrief-page .dk-ess-grid{gap:16px;padding:20px 24px 0}
body.debrief-page .dk-ess-score{padding:0 24px 20px}
body.debrief-page .dk-ess-col{position:relative;border:0;border-radius:var(--ch-carte);padding:16px 18px 16px;background:var(--ch-sauge)}
body.debrief-page .dk-ess-col--prio{background:var(--ch-defi)}
body.debrief-page .dk-ess-col > .field-label{display:flex;align-items:center;gap:8px;padding-right:44px;font-size:13px;font-weight:800;letter-spacing:.08em;color:var(--a5-ink)}
body.debrief-page .dk-ess-col::after{content:"";position:absolute;top:12px;right:14px;width:34px;height:34px;pointer-events:none;background:var(--ch-sauge-fx);
  -webkit-mask:var(--fx-coche) center/contain no-repeat;mask:var(--fx-coche) center/contain no-repeat}
body.debrief-page .dk-ess-col--prio::after{background:var(--ch-defi-fx);-webkit-mask-image:var(--fx-cible);mask-image:var(--fx-cible)}
body.debrief-page .dk-ess-tenues .ecole-clef-badge{background:var(--a5-surface)}
body.debrief-page .dk-ess-tenues q{font-size:15px;line-height:1.5;color:var(--a5-ink-2)}
/* tuiles des 7 clefs : fond leger selon l'etat (le sens existant, en plus doux) */
body.debrief-page .dk-tile{border-radius:12px}
body.debrief-page .dk-tile[data-etat="tenue"]{background:var(--ch-sauge)}
body.debrief-page .dk-tile[data-etat="partielle"]{background:var(--ch-peche)}
body.debrief-page .dk-tile[data-etat="manquee"]{background:var(--dk-ko-bg,#FBE9EC)}
body.debrief-page .dk-tile:hover{filter:brightness(.98);transform:translateY(-1px)}
body.debrief-page .dk-synth h2 .ico{box-sizing:content-box;width:18px;height:18px;padding:7px;border-radius:50%;background:var(--ch-lavis);color:#2B2410}
/* rapport deplie : son titre devient un bandeau lavande (toujours repliable) */
body.debrief-page .dk-detail>summary{position:relative;padding:14px 72px 14px 18px;background:linear-gradient(100deg,var(--ch-lav) 0%,var(--ch-lav-2) 70%,var(--a5-surface) 100%);border:0;
  color:var(--a5-ink);font-size:16px}
body.debrief-page .dk-detail>summary::after{content:"";position:absolute;right:18px;top:50%;width:40px;height:40px;transform:translateY(-50%) rotate(-6deg);background:var(--ch-lav-fx);
  -webkit-mask:var(--fx-loupe) center/contain no-repeat;mask:var(--fx-loupe) center/contain no-repeat}
body.debrief-page .dk-detail>summary .chev{color:var(--a5-accent-txt)}
body.debrief-page .dk-clef{border-left-width:5px}
body.debrief-page .dk-clef[data-etat="tenue"] .dk-dit{background:var(--ch-sauge);border-color:transparent}
body.debrief-page .dk-phrase{background:var(--ch-sauge)}
body.debrief-page .main-advice{border-radius:var(--ch-carte)}
/* appel final : envie de rejouer */
body.debrief-page .dk-fin{position:relative;overflow:hidden;padding:30px 24px 28px;background:linear-gradient(120deg,var(--ch-peche) 0%,var(--ch-peche-2) 55%,var(--ch-lav-2) 100%)}
body.debrief-page .dk-fin p{font-size:17px;font-weight:700;color:var(--a5-ink)}
body.debrief-page .dk-fin::before,body.debrief-page .dk-fin::after{content:"";position:absolute;width:46px;height:46px;pointer-events:none;background:var(--ch-peche-fx);
  -webkit-mask:var(--fx-etoile) center/contain no-repeat;mask:var(--fx-etoile) center/contain no-repeat}
body.debrief-page .dk-fin::before{left:22px;top:18px;transform:rotate(-12deg)}
body.debrief-page .dk-fin::after{right:24px;bottom:16px;width:34px;height:34px;transform:rotate(14deg);background:var(--ch-lav-fx)}

/* ---------- 12c. telephone ---------- */
@media (max-width:767px){
  body.fiche-page .fiche-head{position:relative}
  body.fiche-page .fr-face{position:absolute;top:0;right:4px;width:60px;height:60px;margin:0}
  body.fiche-page .fiche-head-txt :is(.fr-eyebrow,h1){padding-right:74px}
  body.fiche-page .fr-face .d-portrait{width:60px;height:60px}
  body.fiche-page .fr-face-nom{display:none}
  body.fiche-page .fr-sec{padding:12px 0}
  body.fiche-page .fr-sec-head{padding:10px 52px 10px 12px;gap:6px 10px}
  body.fiche-page .fr-sec--repliable .fr-sec-head{margin-bottom:10px}
  body.fiche-page .fr-sec-head::after{right:10px;width:36px;height:36px;top:16px;transform:rotate(-6deg)}
  body.fiche-page .fr-sec-sub,body.fiche-page .fr-sec-clefs{margin-left:0}
  body.debrief-page .dk-ess-gain{grid-template-columns:1fr;padding:20px 18px}
  body.debrief-page .dk-ess-gain .dk-bravo-n .dk-gain-n{font-size:46px}
  body.debrief-page .dk-ess-grid{padding:16px 16px 0}
  body.debrief-page .dk-ess-score{padding:0 16px 16px}
  body.debrief-page .dk-bravo-a b{font-size:22px}
  body.debrief-page .dk-feutre--fleche{width:52px}
  body.debrief-page .dk-detail>summary{padding-right:58px}
  body.debrief-page .dk-fin::before{left:10px;top:10px;width:32px;height:32px}
}
@media (prefers-reduced-motion:reduce){body.debrief-page .dk-tile:hover{transform:none}}
}
/* V5.1 DA : le portrait decoratif de la fiche ne s'imprime pas (le document emporte reste celui d'avant) */
@media print{body.fiche-page .fr-face{display:none!important}}
/* V5.1 DA, jury tour 1 : le gain est deja dit en grand par le bandeau « bravo » ; dans le rapport, la carte « Ce que tu as obtenu »
   le redit plus calmement (meme contenu) ; au telephone, le trajet de l'offre tient sur une ligne (la fleche ne flotte plus) */
@media screen{
  body.debrief-page .outcome .dk-gain{box-shadow:none;border-top-width:3px;padding:12px 16px}
  body.debrief-page .outcome .dk-gain-n{font-size:30px}
  @media (max-width:767px){
    body.debrief-page .dk-bravo-trajet{flex-wrap:nowrap;gap:6px;padding:12px}
    body.debrief-page .dk-bravo-trajet small{font-size:10.5px;letter-spacing:.05em}
    body.debrief-page .dk-bravo-de .num{font-size:16px;white-space:nowrap}
    body.debrief-page .dk-bravo-a b{font-size:19px;white-space:nowrap}
    body.debrief-page .dk-feutre--fleche{width:40px;height:20px}
  }
}
