/* =========================================================================
   Brief « draw my life » sur une vraie page blanche (V2.9, brief-v29-01 ; feuille V2.7.5, brief-v27-06 ; planches V2.7.4).
   Propre a brief.html (charge apres v2.css) ; toutes les classes sont prefixees bd-. Polices systeme, aucun CDN.
   Une seule grande feuille (#monde : SVG des dessins + bulles HTML, en unites de feuille = px avant camera) ; la camera
   (brief-player.js) la transforme : translate + scale. Au lancement la feuille est vierge : titres, dessins, cartes et bulles
   n'apparaissent qu'au moment ou ils se tracent ou s'ecrivent. Les tailles des bulles sont en unites de feuille : 24 unites,
   montrees entre 16 et 21 px a l'ecran ; une bulle est entiere dans la vue ou masquee (is-hors), jamais coupee. Bulles sans
   pointe : cartouches papier au contour trace a la main (.bd-bord, SVG genere a leur taille), legerement tournes (--rot).
   Regles de texte : la bulle a sa taille finale des son apparition (les mots sont deja en place, invisibles), retour a la
   ligne par mots seulement, chiffres cles surlignes au feutre.
   ========================================================================= */
.bd-page{
  --bd-encre:#1E2033; --bd-encre-2:#4A4E68; --bd-papier:#FFFEFA; --bd-cadre:#D9DCEA; --bd-bureau:#E4E6ED;
  --bd-jaune:#FFE58A; --bd-situation:#FFF4C4; --bd-surligne:#FFE27A; --bd-surligne-2:#FFC4AF;
  --bd-camille:#A23B66; --bd-vous:var(--brand-60); --bd-coach:#1F7A4A;
  --bd-bleu:#3B47B8; --bd-brun:#7A4A1E;
  /* ecriture manuscrite lisible si le systeme en a une (Windows, macOS, Android « casual »), sinon la police de l'interface */
  --bd-main:"Segoe Print","Bradley Hand","Comic Sans MS","Chalkboard SE","Comic Neue",casual,var(--font);
  --bd-st:.08s; --bd-td:.5s;
}

/* ---------- scene : la feuille (vue cadree par la camera) et le panneau « À retenir » ---------- */
.bd-page .bd-stage{display:flex;align-items:stretch;gap:16px;min-width:0;min-height:0;padding:6px 24px 8px;place-items:initial}
/* le bureau sous la feuille : gris doux, plus clair au centre (la lampe) */
.bd-vue{position:relative;flex:1 1 auto;min-width:0;min-height:0;overflow:hidden;border:1.5px solid var(--bd-cadre);border-radius:18px;
  background:radial-gradient(130% 100% at 50% 32%,#F2F3F7 0,var(--bd-bureau) 62%,#D8DBE5 100%);
  box-shadow:0 1px 2px rgba(30,32,51,.06),0 10px 30px rgba(30,32,51,.08);isolation:isolate}
/* la feuille : blanc chaud, grain de papier (il voyage avec elle), ombre portee sur le bureau */
.bd-monde{position:absolute;left:0;top:0;transform-origin:0 0;background-color:var(--bd-papier);
  background-image:radial-gradient(rgba(92,76,48,.065) .7px,transparent 1.2px),radial-gradient(rgba(92,76,48,.045) .8px,transparent 1.4px),
    radial-gradient(rgba(92,76,48,.035) 1px,transparent 1.6px);
  background-size:7px 7px,13px 11px,23px 19px;background-position:0 0,4px 6px,9px 3px;
  box-shadow:0 0 0 1px rgba(30,32,51,.05),0 2px 6px rgba(30,32,51,.08),0 26px 70px rgba(30,32,51,.22)}
.bd-monde.is-vol{will-change:transform}
.bd-feuille{position:absolute;left:0;top:0;overflow:visible}
/* vignette legere de la vue (aucun calcul pendant les mouvements de camera) */
.bd-grain{position:absolute;inset:0;z-index:3;pointer-events:none;box-shadow:inset 0 0 70px rgba(92,76,48,.08),inset 0 0 14px rgba(92,76,48,.05)}
/* cartouche : le titre de la planche quand celui de la feuille est trop petit ou hors cadre */
.bd-cartouche{position:absolute;z-index:4;left:12px;top:10px;max-width:calc(100% - 24px);display:flex;align-items:center;gap:10px;margin:0;
  padding:7px 15px 7px 8px;border:2px solid var(--bd-encre);border-radius:14px 10px 16px 9px;background:var(--bd-papier);color:var(--bd-encre);
  font-size:16px;font-weight:800;line-height:1.25;box-shadow:0 1px 2px rgba(30,32,51,.08),0 8px 18px -6px rgba(30,32,51,.22);
  opacity:0;transform:translateY(-8px) rotate(-.6deg);transition:opacity .3s ease,transform .3s ease;pointer-events:none}
.bd-cartouche.is-on{opacity:1;transform:rotate(-.6deg)}
/* voile de papier sous le cartouche : ce qui depasse en haut de la vue (au-dessus de la partie utile) s'estompe au lieu
   d'apparaitre rogne par le bord */
.bd-voile{position:absolute;z-index:4;left:0;right:0;top:0;height:calc(var(--voile,60px) + 22px);pointer-events:none;opacity:0;transition:opacity .3s ease;
  background:linear-gradient(rgba(255,254,250,.97),rgba(255,254,250,.97) calc(100% - 26px),rgba(255,254,250,0))}
.bd-voile.is-on{opacity:1}
.bd-cartouche .bd-num{width:28px;height:28px;font-size:14px;border-width:2px}
/* le cartouche s'ecrit mot a mot, comme le titre de la feuille ; les mots restent pendant son fondu de sortie */
.bd-cartouche .w{opacity:0;transition:opacity 0s linear .3s}
.bd-cartouche.is-on .w{opacity:1;transition:opacity .22s ease calc(.12s + var(--w,0) * .09s)}
/* jumeau invisible : il mesure la bande du haut pour la planche courante pendant que le cartouche garde l'ancien titre */
.bd-cartouche--mesure{visibility:hidden}

/* ---------- une planche = une region de la feuille ---------- */
.bd-scene{position:absolute;left:0;top:0;width:1400px;display:flex;flex-direction:column;gap:22px}
.bd-scene:focus-visible{outline:3px solid var(--brand-80);outline-offset:8px}
/* titre de planche (police de l'interface, pour la hierarchie face aux bulles manuscrites) : il s'ecrit mot a mot, puis le
   feutre le souligne ; invisible tant que la planche n'a pas commence */
.bd-titre{position:relative;align-self:flex-start;display:flex;align-items:center;gap:16px;margin:0 0 0 40px;padding-bottom:12px;color:var(--bd-encre);
  font-size:40px;line-height:1.2;font-weight:800;letter-spacing:-.01em}
.bd-num{flex:none;display:grid;place-items:center;width:52px;height:52px;border:3px solid var(--bd-encre);border-radius:52% 48% 50% 46% / 47% 53% 48% 52%;
  font-size:25px;font-weight:800;background:var(--bd-jaune)}
.bd-titre .bd-num{transform:scale(0) rotate(-25deg);transition:transform .45s cubic-bezier(.3,1.5,.5,1)}
.bd-titre .w{opacity:0;transition:opacity .22s ease calc(.12s + var(--w,0) * .09s)}
.bd-titre.is-ecrit .bd-num{transform:none}
.bd-titre.is-ecrit .w{opacity:1}
.bd-souligne{position:absolute;left:68px;bottom:-2px;width:calc(100% - 68px);height:14px;overflow:visible}
.bd-souligne .t{fill:none;stroke:var(--brand-80);stroke-width:5;stroke-linecap:round;stroke-dasharray:1 1.1;stroke-dashoffset:1.05}
.bd-titre.is-ecrit .bd-souligne .t{stroke-dashoffset:0;transition:stroke-dashoffset .8s ease .55s}
.bd-scene.is-fige .bd-titre .w,.bd-scene.is-fige .bd-titre .bd-num,.bd-scene.is-fige .bd-souligne .t{transition:none}
.bd-bande{flex:none;width:1200px;height:322px;margin:0 auto}

/* ---------- dessins (SVG de la feuille) ---------- */
.bd-d .t{fill:none;stroke:var(--bd-encre);stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1 1.1;stroke-dashoffset:1.05;opacity:0}
.bd-d .f{opacity:0}
.bd-d .lbl{opacity:0;font-family:var(--bd-main);font-weight:700;fill:var(--bd-encre);text-anchor:middle}
.bd-d{--bd-st:min(.08s,calc(.9s / var(--n,10)))}
.bd-d.is-drawn .t{stroke-dashoffset:0;opacity:1;stroke-width:3.2;
  transition:stroke-dashoffset var(--bd-td) ease-out calc(var(--i) * var(--bd-st)),
             stroke-width calc(var(--bd-td) * 1.6) ease calc(var(--i) * var(--bd-st)),
             opacity 0s linear calc(var(--i) * var(--bd-st))}
.bd-d.is-drawn .t.fin{stroke-width:2.2}
.bd-d.is-drawn .t.epais{stroke-width:5}
.bd-d .t.vert{stroke:#1F7A4A}
.bd-d .t.rouge{stroke:#C4314B}
.bd-d .t.bleu{stroke:var(--bd-bleu)}
.bd-d .t.brun{stroke:var(--bd-brun)}
.bd-d.is-drawn .f{opacity:1;transition:opacity .45s ease calc(var(--n,10) * var(--bd-st) * .55)}
.bd-d.is-drawn .lbl{opacity:1;transition:opacity .35s ease calc(var(--i) * var(--bd-st) + .2s)}
/* planches deja vues (ou sautees) : etat final, sans rejouer le trace */
.bd-reg.is-fige .bd-d .t,.bd-reg.is-fige .bd-d .f,.bd-reg.is-fige .bd-d .lbl,.bd-chemin.is-fige .t{transition:none}
.bd-d .lbl--fort{font-weight:800}
.bd-d .lbl--doux{fill:var(--bd-encre-2);font-weight:600}
.bd-d .lbl--accent{fill:var(--brand-70);font-weight:800}
.bd-d .lbl--bleu{fill:var(--bd-bleu);font-weight:800}
.bd-d .lbl--brun{fill:var(--bd-brun);font-weight:800}
.f--papier{fill:#fff}.f--encre{fill:var(--bd-encre)}.f--brand{fill:#DCDFF4}.f--accent{fill:#F7D6E3}.f--vert{fill:#CDEBD8}
.f--jaune{fill:#FFE48C}.f--ciel{fill:#DCEEFB}.f--gris{fill:#E4E5EC}.f--rouge{fill:#E5636F}.f--ocre{fill:#F5DDB9}.f--colline{fill:#E4EFD4}
/* chemin au feutre d'une planche a la suivante : il se trace pendant le travelling (1,1 s), la fleche a l'arrivee */
.bd-chemin .t{stroke:#7C83C0}
/* c-finition-02 (MINEUR 18) : planches C, chemins caches pendant la lecture d'une planche (voyages et vue finale seulement) */
.bd-chemin{transition:opacity .45s ease}.bd-monde.is-lecture .bd-chemin{opacity:0}
.bd-chemin.is-drawn .t{stroke-width:10;transition:stroke-dashoffset .95s cubic-bezier(.45,.05,.4,1) .05s,opacity 0s linear .05s}
.bd-chemin.is-drawn .t:not(.fin){stroke-width:10;transition:stroke-dashoffset .25s ease-out .95s,opacity 0s linear .95s}

/* la main qui dessine (suit le trait en cours ; invisible au repos) */
.bd-main{opacity:0;transition:opacity .2s ease}
.bd-main.is-ecrit{opacity:1;transition:transform .45s cubic-bezier(.3,.7,.3,1),opacity .2s ease}
.bd-main .m{fill:#fff;stroke:var(--bd-encre);stroke-width:2.5;stroke-linejoin:round}
.bd-main .m--cap{fill:var(--brand-80)}
.bd-main .m--peau{fill:#FBE1CC}
.bd-main .m-l{fill:none;stroke:var(--bd-encre);stroke-width:2;stroke-linecap:round}
.bd-main.is-ecrit .bd-main-in{animation:bd-griffonne .42s ease-in-out infinite}
@keyframes bd-griffonne{0%,100%{transform:translate(0,0)}25%{transform:translate(7px,-4px)}50%{transform:translate(-3px,5px)}75%{transform:translate(5px,3px)}}

/* ---------- bulles : cartouches papier, sans pointe (unites de feuille) ---------- */
/* rangs serres : a 1280 x 800, la planche entiere tient avec ses bulles a 16 px au moins */
.bd-rang{display:flex;flex-wrap:wrap;justify-content:space-evenly;gap:16px 24px;padding:0 70px}
.bd-rang--haut{align-items:flex-end;margin-bottom:8px}
.bd-rang--bas{align-items:flex-start;margin-top:8px}
.bd-rang:empty{display:none}
/* le fond et le contour sont dans .bd-bord (SVG a la taille de la bulle) ; l'ombre douce suit ses coins (border-radius pose
   par brief-player.js) ; --fond, --bord et --surligne changent selon le role */
.bd-bulle{--fond:#FFFCF5;--bord:var(--bd-encre);--surligne:var(--bd-surligne);
  position:relative;isolation:isolate;width:fit-content;max-width:400px;padding:15px 21px 17px;border-radius:18px;background:transparent;
  color:var(--bd-encre);font-family:var(--bd-main);font-size:24px;line-height:1.4;
  box-shadow:0 1px 2px rgba(30,32,51,.07),0 12px 24px -10px rgba(30,32,51,.26);
  visibility:hidden;opacity:0;transform:rotate(var(--rot,0deg)) translateY(10px) scale(.97);
  transition:opacity .25s ease,transform .25s ease,visibility 0s linear .25s}
.bd-bulle.is-vu{visibility:visible;opacity:1;transform:rotate(var(--rot,0deg));transition:opacity .3s ease,transform .5s cubic-bezier(.2,.9,.3,1.12)}
/* bulle qui ne tient pas entiere dans la vue : masquee d'un coup, jamais rognee par le bord (brief-player.js, poseCam) */
.bd-bulle.is-hors{visibility:hidden;opacity:0;transition:none}
/* meme regle pour les titres de planche (et celui de la planche courante sous le cartouche, qui le reprend) et pour les cartes
   d'atouts, cadre et dessin ensemble */
.bd-titre.is-hors,.bd-carte.is-hors,.bd-reg.is-hors{visibility:hidden;opacity:0;transition:none}
.bd-scene.is-fige .bd-bulle,.bd-scene.is-fige .bd-bord-t,.bd-scene.is-fige .bd-bord-f{transition:none}
.bd-bulle.is-cur{box-shadow:0 0 0 7px rgba(91,95,199,.16),0 1px 2px rgba(30,32,51,.07),0 14px 28px -10px rgba(30,32,51,.3)}
.bd-bord{position:absolute;left:0;top:0;z-index:-1;width:100%;height:100%;overflow:visible;pointer-events:none}
.bd-bord-f{fill:var(--fond);opacity:0;transition:opacity .25s ease}
.bd-bord-t{fill:none;stroke:var(--bord);stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1 1.1;stroke-dashoffset:1.05}
.bd-bulle.is-vu .bd-bord-f{opacity:1}
.bd-bulle.is-vu .bd-bord-t{stroke-dashoffset:0;transition:stroke-dashoffset .55s cubic-bezier(.45,.1,.3,1)}
.bd-txt{margin:0;overflow-wrap:normal;word-break:normal;hyphens:manual}
/* qui parle : en capitales de l'interface, une pastille de sa couleur */
.bd-tete{display:flex;align-items:center;gap:7px;margin-bottom:3px;font-family:var(--font);font-size:15px;line-height:1.3;font-weight:800;
  letter-spacing:.06em;text-transform:uppercase;color:var(--bd-encre-2)}
.bd-tete::before{content:"";flex:none;width:9px;height:9px;border-radius:50%;background:currentColor}
.bd-par--camille{--fond:#FFFAF2}
.bd-par--camille .bd-tete{color:var(--bd-camille)}
.bd-par--vous{--fond:#F6F7FF}
.bd-par--vous .bd-tete{color:var(--bd-vous)}
.bd-par--coach{--fond:#E5F4E9}
.bd-par--coach .bd-tete{color:var(--bd-coach)}
.bd-bulle .w{opacity:0;transition:opacity .14s ease}
.bd-bulle .w.on{opacity:1}
/* surligneur : un coup de feutre derriere le chiffre, qui passe quand le mot s'ecrit */
mark.bd-cle{padding:0 .14em;margin:0 -.04em;border-radius:.3em .55em .35em .5em;color:var(--brand-60);font-weight:800;font-size:1.08em;white-space:nowrap;
  background:linear-gradient(96deg,transparent 0,var(--surligne,var(--bd-surligne)) 3%,var(--surligne,var(--bd-surligne)) 96%,transparent 100%) 0 78%/100% 64% no-repeat;
  -webkit-box-decoration-break:clone;box-decoration-break:clone}
.bd-bulle .w mark.bd-cle{background-size:0 64%;transition:background-size .45s cubic-bezier(.4,.1,.3,1) .1s}
.bd-bulle .w.on mark.bd-cle{background-size:100% 64%}
/* pensee : nuage feston (sans petites bulles) */
.bd-bulle--pensee{--fond:#FAFAFE;padding:20px 28px 22px}
.bd-bulle--pensee .bd-tete{font-style:italic}
/* situation (le narrateur, invisible) : post-it jaune tenu par un ruban adhesif ; surligneur saumon pour rester visible */
.bd-bulle--situation{--fond:#FFF2AE;--surligne:var(--bd-surligne-2)}
.bd-scotch{position:absolute;left:50%;top:-12px;z-index:1;width:78px;height:23px;margin-left:-39px;border:1px solid rgba(30,32,51,.07);
  background:rgba(255,255,255,.62);box-shadow:0 1px 2px rgba(30,32,51,.08);transform:rotate(calc(var(--rot,0deg) * -2.4 - 2deg))}
/* etiquette (autres cartes) : petit post-it */
.bd-bulle--etiquette{--fond:#FFF0A8;--surligne:var(--bd-surligne-2);padding:13px 17px 14px}
.bd-bulle--etiquette .bd-tete{color:var(--bd-encre);font-size:16px;letter-spacing:.02em;text-transform:none}
.bd-bulle--etiquette .bd-tete::before{display:none}

/* ---------- planche en colonnes (atouts) : la carte est un cadre cliquable, son dessin est sur la feuille ---------- */
.bd-colonnes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;align-items:start;padding:0 10px}
.bd-col{display:flex;flex-direction:column;gap:18px}
.bd-col .bd-bulle{align-self:stretch;width:auto;max-width:none;font-size:23px;line-height:1.4;padding:12px 16px 14px}
.bd-carte{--fond:transparent;--bord:var(--bd-encre);position:relative;isolation:isolate;display:flex;align-items:center;gap:6px;min-height:150px;
  padding:6px 14px 6px 4px;border:0;border-radius:18px;background:transparent;color:var(--bd-encre);font-size:24px;font-weight:800;line-height:1.2;
  text-align:left;box-shadow:0 1px 2px rgba(30,32,51,.07),0 12px 24px -12px rgba(30,32,51,.28);
  opacity:0;transform:translateY(8px);transition:transform .2s ease,box-shadow .2s ease,opacity .35s ease}
.bd-carte.is-trace{opacity:1;transform:none}
/* le dessin de la carte est sur la feuille, sous le cadre : le cartouche de la carte n'a pas de fond */
.bd-carte .bd-bord-f{display:none}
.bd-carte.is-trace .bd-bord-t{stroke-dashoffset:0;transition:stroke-dashoffset .6s cubic-bezier(.45,.1,.3,1)}
.bd-carte.is-trace:hover{transform:translateY(-3px) rotate(-.4deg);box-shadow:0 1px 2px rgba(30,32,51,.07),0 16px 28px -12px rgba(30,32,51,.34)}
.bd-carte:focus-visible{outline:3px solid var(--brand-80);outline-offset:4px}
.bd-carte-img{flex:none;width:150px;height:126px}
.bd-carte-t{display:flex;flex-direction:column;gap:4px}
.bd-carte-t small{font-size:17px;font-weight:600;line-height:1.3;color:var(--bd-encre-2)}
.bd-col.is-cur .bd-carte{--bord:var(--brand-80);box-shadow:0 0 0 7px rgba(91,95,199,.18),0 12px 24px -12px rgba(30,32,51,.28)}
.bd-col.is-cur .bd-carte .bd-bord-t{stroke-width:3.4}
.bd-col .bd-bulle--etiquette:nth-of-type(even){--fond:#DDF1E4;--surligne:var(--bd-surligne)}
.bd-scene.is-fige .bd-carte,.bd-scene.is-fige .bd-carte .bd-bord-t{transition:none}

/* ---------- mini-carte : la feuille en vignette, en bas a droite. A partir de 1024 px elle se range dans la barre du bas (a
   droite des boutons) et ne couvre jamais la feuille ; en dessous, elle est dans le coin de la vue et s'efface quand une bulle
   visible passe dessous ---------- */
.bd-plan{position:absolute;z-index:4;right:10px;bottom:10px;width:140px;aspect-ratio:var(--ratio,1.8);padding:5px;box-sizing:content-box;
  border:1px solid var(--bd-cadre);border-radius:11px;background:rgba(255,255,255,.93);box-shadow:0 6px 16px -4px rgba(30,32,51,.22);
  opacity:0;transform:translateY(6px);transition:opacity .35s ease,transform .35s ease}
.bd-plan.is-pret{opacity:1;transform:none}
.bd-plan.is-pret.is-discret{opacity:0;visibility:hidden}
/* barre du bas (90 px sous le panneau) : la vignette y tient entiere, 8 px au moins sous le panneau « À retenir » */
@media (min-width:1024px){
  .bd-plan{position:fixed;right:28px;bottom:8px;width:104px;max-height:62px}
}
.bd-plan.is-fin{visibility:hidden;opacity:0}
.bd-plan-svg{display:block;width:100%;height:100%;overflow:visible}
.bd-plan-feuille{fill:var(--bd-papier)}
.bd-plan-c{fill:none;stroke:#CDD0E2;stroke-width:1.5;stroke-dasharray:3 3}
.bd-plan-c.is-vu{stroke:#7C83C0}
.bd-plan-r{cursor:pointer}
/* contours et numeros a 4,5:1 au moins sur le papier (a venir : pointilles gris-encre ; vues : indigo plein) */
.bd-plan-r rect{fill:transparent;stroke:#6B6F8E;stroke-width:1.2;stroke-dasharray:3 2.5}
.bd-plan-r text{fill:#5C6080;font-family:var(--font);font-weight:800;text-anchor:middle}
.bd-plan-r.is-vu rect{fill:#EEF0FA;stroke:#5A5FA8;stroke-dasharray:none}
.bd-plan-r.is-vu text{fill:var(--brand-70)}
.bd-plan-r.is-cur rect{fill:#FFF3B8;stroke:var(--bd-encre);stroke-width:1.6;stroke-dasharray:none}
.bd-plan-r.is-cur text{fill:var(--bd-encre)}
.bd-plan-r:hover rect{stroke:var(--brand-80)}
.bd-plan-cadre{fill:rgba(91,95,199,.10);stroke:var(--brand-80);stroke-width:2;pointer-events:none}

/* ---------- fin : boutons sous la feuille entiere ---------- */
.bd-cta{position:absolute;z-index:5;left:0;right:0;bottom:0;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px;padding:10px 12px 12px;
  background:linear-gradient(rgba(228,230,237,0),rgba(228,230,237,.94) 30%)}
.bd-cta[hidden]{display:none}
.bd-cta .inline-error{flex-basis:100%;text-align:center}

/* ---------- panneau « À retenir » (a droite ; fiche memo a la fin) : vide au depart ---------- */
.bd-memo{flex:none;width:clamp(300px,25vw,390px);display:flex;flex-direction:column;min-width:0;min-height:0;border:1.5px solid var(--bd-cadre);border-radius:18px;
  background:#FFFDF6;box-shadow:0 1px 2px rgba(30,32,51,.06),0 10px 30px rgba(30,32,51,.08);overflow:hidden}
.bd-memo-tete{flex:none;display:flex;align-items:center;gap:10px;width:100%;padding:14px 16px 12px;border:0;border-bottom:1.5px dashed var(--bd-cadre);
  background:transparent;color:var(--bd-encre);text-align:left;cursor:default}
.bd-memo-ico-t svg{width:20px;height:20px;color:var(--bd-camille)}
.bd-memo-titre{font-size:18px;font-weight:800}
.bd-memo-nb{min-width:26px;height:24px;display:grid;place-items:center;padding:0 7px;border-radius:12px;background:var(--bd-jaune);font-size:13px;font-weight:800}
.bd-memo-dernier,.bd-memo-bascule{display:none}
.bd-memo.is-pulse .bd-memo-nb{animation:bd-pouls .7s ease}
@keyframes bd-pouls{40%{transform:scale(1.3)}}
.bd-memo-corps{position:relative;flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;padding:10px 12px 16px;display:flex;flex-direction:column;gap:8px}
.bd-memo-vide{display:flex;align-items:center;gap:10px;margin:6px 4px;padding:14px 14px;border:1.5px dashed #E3DCC4;border-radius:12px;color:var(--bd-encre-2);
  font-size:15px;line-height:1.4}
.bd-memo-vide[hidden]{display:none}
.bd-memo-vide-ico{flex:none;width:20px;height:20px;color:#B9A978}
.bd-memo-g{flex:none;border-radius:12px;background:#fff;border:1.5px solid #ECE6D2}
.bd-memo-g.is-cur{border-color:var(--bd-encre);box-shadow:3px 4px 0 rgba(30,32,51,.08)}
.bd-memo-gt{display:flex;align-items:center;gap:8px;width:100%;min-height:40px;padding:7px 10px;border:0;background:none;color:var(--bd-encre);text-align:left;font-size:15px;font-weight:800}
.bd-memo-gt:disabled{cursor:default;opacity:1;color:var(--bd-encre)}
.bd-memo-n{flex:none;display:grid;place-items:center;width:24px;height:24px;border:2px solid var(--bd-encre);border-radius:50%;background:var(--bd-jaune);font-size:12px}
.bd-memo-lab{flex:none}
.bd-memo-resume{display:none;flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--brand-60);font-size:14px;font-weight:700}
.bd-memo-chev{flex:none;width:16px;height:16px;margin-left:auto;transition:transform .2s ease}
.bd-memo-gt:disabled .bd-memo-chev{visibility:hidden}
.bd-memo-g.is-compact .bd-memo-resume{display:block}
.bd-memo-g.is-compact .bd-memo-chev{transform:rotate(-90deg)}
.bd-memo-g.is-compact .bd-memo-l{display:none}
.bd-memo-l{list-style:none;margin:0;padding:0 10px 10px;display:flex;flex-direction:column;gap:6px}
.bd-memo-p{display:flex;gap:9px;align-items:flex-start;padding:7px 8px;border-radius:9px;color:var(--bd-encre);font-size:16px;line-height:1.38}
.bd-memo-p[hidden]{display:none}
.bd-memo-ico{flex:none;width:20px;height:20px;margin-top:1px;color:var(--brand-70)}
.bd-memo-p mark.bd-cle,.bd-memo-dernier mark.bd-cle{font-size:1.04em}
.bd-memo-p.is-neuf{animation:bd-pose 1.4s cubic-bezier(.2,.8,.2,1)}
@keyframes bd-pose{0%{opacity:0;transform:translateX(26px) rotate(-1.5deg);background:var(--bd-situation)}35%{opacity:1;transform:none;background:var(--bd-situation)}100%{background:transparent}}
.bd-memo.is-memo .bd-memo-tete{background:var(--bd-situation)}
/* V4.5 (lot O) : planches toujours depliees ; la courante en evidence (bord encre, papier jaune pale, « en cours ») ; points
   de la planche des clefs numerotes comme les cartes */
.bd-memo-g.is-cur{background:#FFFBEA}
.bd-memo-cours{display:none;flex:none;margin-left:auto;padding:2px 9px;border-radius:999px;background:var(--bd-jaune);color:var(--bd-encre);
  font-size:12px;font-weight:800;letter-spacing:.02em}
.bd-memo-g.is-cur .bd-memo-cours{display:inline-block}
.bd-memo-g.is-cur .bd-memo-chev{display:none}
.bd-memo-k{flex:none;display:grid;place-items:center;width:22px;height:22px;margin-top:1px;border:2px solid var(--bd-encre);border-radius:50%;
  background:var(--bd-jaune);color:var(--bd-encre);font-size:12px;font-weight:800}
.bd-memo-p[data-clef]{padding:5px 8px}

/* ---------- V4.0 (demo etablissement, lot B) : brief court ---------- */
/* lien « Version complète / courte » dans l'en-tete (a cote de « Passer ») */
.bd-page .bd-version{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:6px 12px;border-radius:999px;color:var(--brand-60);
  font-size:14px;font-weight:700;text-decoration:none;white-space:nowrap}
.bd-page .bd-version:hover{background:var(--brand-tint)}
.bd-page .bd-version:focus-visible{outline:3px solid var(--brand-80);outline-offset:2px}
.bd-version .bd-version-d{font-weight:600;color:var(--text-3)}
/* planche « Tes 7 clefs » (type de bulle « clef », brief des versions 4.0 a 4.4 ; V4.5 : vignettes, plus bas) */
.bd-bulle--clef{--fond:#FFFFFF;max-width:285px}
/* « ≠ » dans une police qui a le glyphe (Noto Sans ne l'a pas : « = » + barre combinante) ; espaces insecables autour (typo()).
   V4.3 lot L (G12) : graisse normale, comme la regle generale de v2.css (span.bd-ne) */
.bd-ne{font-family:"Segoe UI","Segoe UI Symbol",-apple-system,BlinkMacSystemFont,Roboto,"DejaVu Sans","Liberation Sans",Arial,sans-serif;font-weight:400;font-style:normal;font-variant:normal;font-synthesis:none}
/* pictos des cartes (echelle 2,6, sans vector-effect) : meme epaisseur a l'ecran que les autres traits (3,2 / 2,6) */
.bd-d .bd-picto .t{stroke-width:.46}
.bd-d.is-drawn .bd-picto .t{stroke-width:1.25}
/* fin du brief court au telephone : la planche entiere y serait illisible (2 a 3 px) ; le bloc de fin couvre la vue (fond plein,
   defilant si besoin) : les 7 clefs en liste sur 2 colonnes, puis les boutons, puis la suite et la reference */
.bd-cta .bd-clefs-liste{display:none}
/* V4.5 (lot O) : au telephone, la fin montre d'abord la feuille entiere (l'image a retenir), puis la liste et les boutons */
@keyframes bd-cta-in{from{opacity:0;visibility:hidden}to{opacity:1;visibility:visible}}
@media (max-width:720px){
  .bd-page.bd-court .bd-cta:not([hidden]){animation:bd-cta-in .45s ease 2.4s both}
  .bd-page.bd-court .bd-cta{top:0;align-content:safe center;overflow-y:auto;gap:8px;background:#E4E6ED}
  .bd-cta .bd-clefs-liste{order:-2;flex-basis:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:0;padding:0;list-style:none}
  .bd-court .bd-cta .btn{order:-1}
  .bd-court .bd-cta .bd-suite{font-size:14px}
  .bd-clefs-liste li{display:flex;align-items:center;gap:6px;min-width:0;padding:6px 8px;border-radius:10px;background:var(--bd-papier);
    border:1px solid var(--bd-cadre);color:var(--bd-encre);font-size:14px;font-weight:700;line-height:1.25}
  .bd-clefs-liste .bd-clefs-n{flex:none;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--bd-jaune);font-size:12px;font-weight:800}
  .bd-clefs-liste .bd-clefs-ico{flex:none;width:20px;height:20px}
  .bd-clefs-liste .bd-clefs-t{min-width:0}
}
@media (max-width:720px){
  html[data-theme="dark"] .bd-page.bd-court .bd-cta{background:#1C1D23}
}
.bd-version .bd-version-c{display:none}
.bd-bulle--clef .bd-tete{font-size:18px;letter-spacing:0;text-transform:none;color:var(--brand-60)}
.bd-bulle--clef .bd-tete::before{width:8px;height:8px}
/* reference de la methode sous les boutons de fin (Fisher & Ury ; clefs complementaires) */
.bd-cta .bd-suite{flex-basis:100%;margin:0;text-align:center;font-size:16px;font-weight:700;color:var(--bd-encre)}
.bd-cta .bd-ref{flex-basis:100%;margin:0;text-align:center;font-size:12.5px;line-height:1.35;color:var(--bd-encre-2)}
/* pastille « Côté école » : en marge (haut du panneau « À retenir »), repliable, une seule par ecran ; vouvoiement */
.bd-memo .bd-ecole{flex:none;max-width:none;margin:10px 10px 0}
.bd-ecole .bd-ecole-p{font-size:15px}
.bd-memo .bd-ecole>summary:focus-visible{outline:3px solid var(--brand-80);outline-offset:2px;border-radius:6px}

/* ---------- theme : JOUR par defaut ; nuit sous html[data-theme="dark"] (web/js/theme.js, cle localStorage nt_theme ; V4.5,
   contrat de theme des lots N, O, P : on ne suit plus le theme du systeme, les anciennes regles « systeme sombre » sont
   converties). En nuit, le bureau et l'habillage passent au sombre, la feuille reste une feuille de papier (dessins et
   bulles inchanges, contrastes du brief conserves ; color-scheme de la racine pose par theme.js) ---------- */
/* V4.3 lot L (M5) : etape active de la barre du haut (v2.css : --brand-70, 2,6:1 sur le bureau sombre) : indigo clair */
html[data-theme="dark"] .bd-page #progress button[aria-current="step"]{color:#B4B8FF}
html[data-theme="dark"] .bd-page{color-scheme:dark;--bg-app:#15161C;--bg-surface:#23242C;--bg-hover:#2E2F39;--stroke:#3A3C48;
  --text:#F2F2F5;--text-2:#D3D4DC;--text-3:#A9ABB8;--brand-tint:#2C2F57;--brand-60:#B4B8FF;--bd-cadre:#3E414F;background:#15161C;color:#F2F2F5}
html[data-theme="dark"] .bd-page [data-testid="brief-anime"]{background:radial-gradient(1200px 600px at 70% 10%,#22243A 0,transparent 60%),#15161C}
html[data-theme="dark"] .bd-page .bd-vue{background:radial-gradient(130% 100% at 50% 32%,#3A3C47 0,#262830 62%,#1C1D23 100%)}
html[data-theme="dark"] .bd-page .bd-monde,html[data-theme="dark"] .bd-page .bd-memo{--brand-60:#444791;--bd-vous:#444791}
html[data-theme="dark"] .bd-page .bd-memo{--text-3:#616161}
html[data-theme="dark"] .bd-page .bd-cta{background:linear-gradient(rgba(28,29,35,0),rgba(28,29,35,.94) 30%)}
html[data-theme="dark"] .bd-page .bd-cta .bd-ref{color:#D3D4DC}
html[data-theme="dark"] .bd-page .bd-cta .bd-suite{color:#F2F2F5}

/* ---------- V4.5 (lot O, draw my life V2) : le stylo ---------- */
/* la main au feutre : calque de la vue, au-dessus de la feuille et des bulles, a taille constante a l'ecran (la position
   est posee image par image par brief-player.js) ; en l'air entre deux gestes, effacee au repos */
.bd-stylo{position:absolute;left:0;top:0;z-index:3;width:0;height:0;pointer-events:none;opacity:0;transition:opacity .22s ease;will-change:transform,opacity}
.bd-stylo.is-on{opacity:1}
.bd-stylo-svg{display:block;overflow:visible;filter:drop-shadow(3px 7px 5px rgba(30,32,51,.2))}
.bd-stylo .bd-main{opacity:1;transform:scale(.7)}
@media (max-width:720px){ .bd-stylo .bd-main{transform:scale(.58)} }
/* reperes de la vue d'ensemble : le nom de chaque planche, lisible quand la feuille entiere est a l'ecran (vue = coche,
   en cours = jaune, a venir = pointilles) */
.bd-reperes{position:absolute;inset:0;z-index:3;pointer-events:none;opacity:0;transition:opacity .25s ease}
.bd-reperes.is-on{opacity:1}
.bd-repere{position:absolute;left:0;top:0;display:inline-flex;align-items:center;gap:6px;padding:3px 10px 3px 4px;border:1.5px dashed #6B6F8E;border-radius:999px;
  background:rgba(255,254,250,.94);color:#4A4E68;font-size:14px;font-weight:800;line-height:1.2;white-space:nowrap;box-shadow:0 2px 6px rgba(30,32,51,.12)}
.bd-repere-n{display:grid;place-items:center;width:22px;height:22px;border:2px solid currentColor;border-radius:50%;font-size:12px}
.bd-repere.is-vu{border-style:solid;border-color:var(--bd-encre);color:var(--bd-encre)}
.bd-repere.is-vu .bd-repere-n{background:#CDEBD8}
.bd-repere.is-cur{border:2px solid var(--bd-encre);background:#FFF3B8;color:var(--bd-encre);font-size:16px;padding:4px 12px 4px 5px}
.bd-repere.is-cur .bd-repere-n{background:var(--bd-jaune);width:26px;height:26px;font-size:14px}
.bd-repere-t{display:flex;flex-direction:column}
/* planche vue : ses chiffres cles sous son nom */
.bd-repere-c{display:none;font-size:13px;font-weight:800;color:#444791}
.bd-repere.is-vu .bd-repere-c{display:block}
.bd-repere.is-vu{border-radius:12px}
@media (max-width:720px){ .bd-repere{font-size:12px;padding:2px 8px 2px 3px}.bd-repere-n{width:18px;height:18px;font-size:11px}
  .bd-repere.is-cur{font-size:13px}.bd-repere-c{font-size:11px} }
.bd-stylo .bd-main-in{transition:transform .14s ease}
.bd-stylo.is-air .bd-main-in{transform:translate(5px,-9px)}
.bd-main .m--pointe{fill:var(--bd-encre)}
.bd-main .m--manche{fill:#DCDFF4}
/* sous le stylo, l'etat de chaque trait est pose en ligne (stroke-dashoffset, opacity) : aucune transition, l'epaisseur
   finale du feutre d'emblee */
.bd-d.is-stylo .t{transition:none;stroke-width:3.2}
.bd-d.is-stylo .t.fin{stroke-width:2.2}
.bd-d.is-stylo .t.epais{stroke-width:5}
.bd-d.is-stylo .lbl{transition:none}
.bd-d.is-stylo .f{transition:opacity .3s ease}
.bd-d.is-stylo .bd-picto .t{stroke-width:1.25}
.bd-chemin.is-stylo .t,.bd-chemin.is-stylo .t:not(.fin){transition:none;stroke-width:10}
/* petits personnages (vignette de la clef 1, echelle 0,72) : meme epaisseur de feutre a l'ecran */
.bd-d.is-drawn .bd-mini .t,.bd-d.is-stylo .bd-mini .t{stroke-width:4.4}
.bd-d.is-drawn .bd-mini .t.fin,.bd-d.is-stylo .bd-mini .t.fin{stroke-width:3}
.bd-d .lbl--g{text-anchor:start}
.bd-bulle.is-stylo .bd-bord-t,.bd-carte.is-stylo .bd-bord-t{transition:none}
/* titre : les mots s'ecrivent un a un sous la pointe, le soulignement suit */
.bd-titre.is-stylo .w{opacity:0;transition:opacity .1s ease}
.bd-titre.is-stylo .w.on{opacity:1}
.bd-titre.is-stylo .bd-souligne .t{transition:none}

/* ---------- V4.5 (lot O) : planche « Tes 7 clefs » en vignettes (4 en haut, 3 en bas) ---------- */
.bd-vig-ref{align-self:flex-start;margin:-14px 0 0 108px;max-width:600px;font-size:17px;line-height:1.35;font-weight:600;color:var(--bd-encre-2);opacity:0;transition:opacity .4s ease .5s}
.bd-titre.is-ecrit ~ .bd-vig-ref{opacity:1}
/* entiere ou masquee, comme le titre de la planche */
.bd-titre ~ .bd-vig-ref.is-hors{visibility:hidden;opacity:0;transition:none}
.bd-scene.is-fige .bd-vig-ref{transition:none}
.bd-vignettes{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:24px 22px;align-items:start;padding:0 20px}
.bd-vignettes .bd-vig{grid-column:span 2;gap:14px}
.bd-vignettes .bd-vig:nth-child(5){grid-column:2 / span 2}
.bd-vignettes .bd-col .bd-bulle{font-size:22px;line-height:1.38;padding:11px 15px 13px}
.bd-carte--clef{flex-direction:column;align-items:stretch;gap:4px;min-height:0;padding:10px 12px 6px}
.bd-vig-t{display:flex;align-items:center;gap:9px;font-size:20px;line-height:1.2}
.bd-vig-n{flex:none;display:grid;place-items:center;width:36px;height:36px;border:2.5px solid var(--bd-encre);border-radius:52% 48% 50% 46% / 47% 53% 48% 52%;
  background:var(--bd-jaune);font-size:18px;font-weight:800}
.bd-vig-ico{flex:none;width:26px;height:26px;color:var(--brand-70)}
.bd-vig-nom{min-width:0}
.bd-carte--clef .bd-carte-img{width:auto;height:166px}

/* ---------- V4.5 (lot Q) : les 7 clefs sur une seule page. A 1 280 x 800 et au-dessus, la camera cadre la planche entiere
   (brief-player.js, cadrePlanche : phrase « À dire » >= 14 px, nom de la clef >= 16 px a l'ecran) et ne bouge plus : grille
   4 + 3 resserree (1 280 unites : echelle 0,68 a 1 280 x 800), note a droite du titre, dessins reduits a leur carte (128
   unites de haut), la vignette en cours sous un halo de surligneur bien visible (la camera ne bouge pas). Au telephone :
   liste compacte (plus bas). ---------- */
.bd-scene--clefs{width:1280px;flex-direction:row;flex-wrap:wrap;align-items:flex-end;gap:14px 26px}
.bd-scene--clefs .bd-titre{align-self:auto;margin:0 0 0 8px}
.bd-scene--clefs .bd-vig-ref{flex:1 1 360px;align-self:auto;max-width:480px;margin:0 0 14px;font-size:21px;line-height:1.3}
.bd-scene--clefs .bd-vignettes{flex:1 1 100%;gap:20px 16px;padding:0 4px}
.bd-scene--clefs .bd-vig{gap:9px;border-radius:20px;outline:0 solid transparent;outline-offset:8px;transition:outline-color .35s ease}
.bd-scene--clefs .bd-vig.is-cur{outline:9px solid rgba(255,206,60,.85)}
.bd-scene--clefs .bd-col .bd-bulle{font-size:24px;line-height:1.3;padding:8px 13px 10px}
.bd-scene--clefs .bd-col .bd-bulle .bd-tete{font-size:20px;margin-bottom:1px}
.bd-scene--clefs .bd-carte--clef{padding:8px 10px 4px;gap:2px}
.bd-scene--clefs .bd-vig-t{font-size:28px;line-height:1.1;gap:8px}
.bd-scene--clefs .bd-vig-n{width:36px;height:36px;font-size:20px}
.bd-scene--clefs .bd-vig-ico{width:28px;height:28px}
.bd-scene--clefs .bd-carte--clef .bd-carte-img{height:128px}
.bd-vig-rep{display:none}
.bd-scene.is-fige .bd-vig{transition:none}

/* ---------- grands ecrans ---------- */
@media (min-width:1600px){
  .bd-memo-p{font-size:17px}
  .bd-memo-titre{font-size:19px}
}
/* ---------- en dessous de 1024 px : le panneau passe sous la feuille, repliable ---------- */
@media (max-width:1023px){
  .bd-page .bd-stage{flex-direction:column;gap:10px;padding:8px 16px 10px}
  .bd-memo{width:auto;max-height:38%;border-radius:14px}
  .bd-memo-tete{cursor:pointer;padding:10px 14px}
  .bd-memo-bascule{display:block;margin-left:auto}
  .bd-memo-bascule svg{width:18px;height:18px;transition:transform .2s ease}
  .bd-memo.is-replie{max-height:none}
  .bd-memo.is-replie .bd-memo-corps{display:none}
  .bd-memo.is-replie .bd-memo-tete{border-bottom:0}
  .bd-memo.is-replie .bd-memo-dernier{display:block;flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:15px;color:var(--bd-encre)}
  .bd-memo.is-replie .bd-memo-bascule{margin-left:0}
  .bd-memo.is-replie .bd-memo-bascule svg{transform:rotate(180deg)}
  .bd-memo.is-replie.is-pulse .bd-memo-dernier{animation:bd-pose 1.4s cubic-bezier(.2,.8,.2,1)}
}
/* ---------- telephone ---------- */
@media (max-width:720px){
  .bd-page .bd-stage{padding:4px 8px 6px;gap:6px}
  .bd-vue{border-radius:14px}
  /* V4.5 (lot O) : panneau ouvert par defaut sous la feuille (cartes toujours depliees) : 36 % de la hauteur, la feuille garde
     la place d'une vignette de clef entiere avec sa bulle */
  .bd-memo{max-height:36%}
  .bd-memo-titre{font-size:16px}
  .bd-memo-p{font-size:15px}
  .bd-cartouche{font-size:15px;left:8px;top:8px;max-width:calc(100% - 16px)}
  .bd-plan{right:8px;bottom:8px;width:96px;padding:4px;border-radius:9px}
  .bd-cta{gap:8px;padding:8px}
  .bd-cta .btn--xl{height:48px;padding:0 18px;font-size:16px}
  .bd-cta .btn--lg{height:44px;padding:0 16px;font-size:15px}
  .bd-version .bd-version-d,.bd-version .bd-version-l{display:none}
  .bd-version .bd-version-c{display:inline}
  .bd-page .bd-version{padding:6px 8px;font-size:13px}
  .bd-memo .bd-ecole{margin:6px 6px 0}
  .bd-ecole .bd-ecole-p{font-size:14px}
  /* V4.5 (lot Q) : les 7 clefs ensemble au telephone : liste compacte (numero, picto, nom, repere) cadree entiere, et une seule
     zone « Toi » sous la liste ou s'ecrit la phrase de la clef en cours (les bulles s'y superposent, seule la courante se voit) ;
     les dessins des exemples ne sont pas montres (ni traces) */
  .bd-scene--clefs{width:600px;flex-direction:column;flex-wrap:nowrap;align-items:stretch;gap:10px}
  .bd-scene--clefs .bd-titre{align-self:flex-start;margin:0;font-size:31px;padding-bottom:10px}
  .bd-scene--clefs .bd-vig-ref{display:none}
  .bd-scene--clefs .bd-vignettes{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;padding:0}
  .bd-scene--clefs .bd-vig{display:contents}
  .bd-scene--clefs .bd-carte--clef{flex-direction:row;align-items:center;min-height:52px;padding:6px 12px;border-radius:14px}
  .bd-scene--clefs .bd-carte--clef .bd-carte-img{display:none}
  .bd-scene--clefs .bd-vig-t{flex:1;min-width:0;font-size:26px;line-height:1.15;gap:9px}
  .bd-scene--clefs .bd-vig-n{width:34px;height:34px;font-size:19px}
  .bd-scene--clefs .bd-vig-ico{width:26px;height:26px}
  /* une ligne par clef (meme hauteur pour les 7) : nom entier, repere court a droite */
  .bd-scene--clefs .bd-vig-nom{flex:0 1 auto;white-space:nowrap}
  .bd-scene--clefs .bd-vig-rep{display:block;flex:none;margin-left:auto;padding-left:8px;font-size:25px;font-weight:800;color:var(--brand-60);white-space:nowrap}
  .bd-scene--clefs .bd-col.is-cur .bd-carte{box-shadow:0 0 0 7px rgba(255,206,60,.85),0 8px 18px -10px rgba(30,32,51,.3)}
  .bd-scene--clefs .bd-col .bd-bulle{grid-row:8;grid-column:1;font-size:27px;line-height:1.3;padding:8px 14px 10px;margin-top:4px}
  .bd-scene--clefs .bd-col .bd-bulle .bd-tete{font-size:21px}
  .bd-scene--clefs .bd-col .bd-bulle:not(.is-cur){visibility:hidden!important;opacity:0!important}
  .bd-reg--vig{display:none}
}
/* ---------- V5.3 brief (demande de l'utilisateur du 10/11) : zoom de relecture, une fois le dezoom final fait ----------
   .is-relire (brief-player.js) seulement quand la camera est au repos sur son cadrage final : pendant l'animation, la vue garde
   le defilement et les gestes du navigateur (touch-action par defaut). */
.bd-vue.is-relire{touch-action:none;cursor:grab;-webkit-user-select:none;user-select:none}
.bd-vue.is-relire.is-glisse{cursor:grabbing}
.bd-vue.is-relire:focus{outline:none}
.bd-vue.is-relire:focus-visible{outline:3px solid var(--brand-80);outline-offset:-4px}
.bd-relire-b{position:absolute;z-index:4;top:10px;right:10px;display:inline-flex;align-items:center;gap:6px;margin:0;padding:6px 12px 6px 10px;
  border:1.5px solid var(--bd-encre);border-radius:999px;background:var(--bd-papier);color:var(--bd-encre);font:700 14px/1.2 var(--font);
  cursor:pointer;box-shadow:0 2px 8px rgba(30,32,51,.16)}
.bd-relire-b[hidden]{display:none}
.bd-relire-b:hover{background:#FFF3B8}
.bd-relire-b:focus-visible{outline:3px solid var(--brand-80);outline-offset:2px}
.bd-relire-i{position:absolute;z-index:4;left:50%;top:12px;max-width:calc(100% - 32px);margin:0;padding:5px 14px;transform:translateX(-50%);
  border:1px solid var(--bd-cadre);border-radius:999px;background:rgba(255,254,250,.94);color:var(--bd-encre-2);font:600 13px/1.35 var(--font);
  text-align:center;pointer-events:none;opacity:0;transition:opacity .4s ease}
.bd-relire-i.is-on{opacity:1}
.bd-relire-i[hidden]{display:none}
html[data-theme="dark"] .bd-page .bd-relire-b{background:#23242C;color:#F2F2F5;border-color:#A9ABB8}
html[data-theme="dark"] .bd-page .bd-relire-b:hover{background:#2E2F39}
html[data-theme="dark"] .bd-page .bd-relire-i{background:rgba(35,36,44,.94);color:#D3D4DC;border-color:#3E414F}
:where(html.bd-calme) .bd-relire-i{transition:none!important}
/* ---------- mouvement reduit : la camera coupe net, tout s'affiche sans animation ----------
   c-firefox-01 (decision de l'utilisateur du 05/11) : ce n'est plus @media (prefers-reduced-motion:reduce) mais un reglage de
   l'APPLI (js/brief-calme.js : nt_brief_calme = "1", Reglages > Apparence, ou ?calme=1), porte par html.bd-calme ; :where()
   garde la specificite des anciennes regles (rendu reduit identique quand on le choisit). */
/* la regle globale de v2.css (1 ms a toute transition et animation), dont la page du brief (html.nt-brief) est soustraite */
:where(html.bd-calme),:where(html.bd-calme)::before,:where(html.bd-calme)::after,
:where(html.bd-calme) *,:where(html.bd-calme) *::before,:where(html.bd-calme) *::after{animation-duration:1ms!important;animation-delay:0ms!important;transition-duration:1ms!important}
:where(html.bd-calme) .bd-d .t,:where(html.bd-calme) .bd-d .f,:where(html.bd-calme) .bd-d .lbl,:where(html.bd-calme) .bd-souligne .t,
:where(html.bd-calme) .bd-titre .w,:where(html.bd-calme) .bd-titre .bd-num,:where(html.bd-calme) .bd-bulle,:where(html.bd-calme) .bd-bulle .w,
:where(html.bd-calme) .bd-bulle .w mark.bd-cle,:where(html.bd-calme) .bd-bord-t,:where(html.bd-calme) .bd-bord-f{transition:none!important;animation:none!important}
/* v2.css donne 1 ms a toute transition en mouvement reduit : la feuille et la regle « entiere ou absente » n'en ont aucune
   (sinon la coupe de camera garde une image de retard sur le masquage) */
:where(html.bd-calme) .bd-monde,:where(html.bd-calme) .bd-titre,:where(html.bd-calme) .bd-reg,
:where(html.bd-calme) .bd-carte,:where(html.bd-calme) .bd-cartouche,:where(html.bd-calme) .bd-cartouche .w,:where(html.bd-calme) .bd-plan,
:where(html.bd-calme) .bd-memo-p,:where(html.bd-calme) .bd-memo-nb,:where(html.bd-calme) .bd-memo-dernier{transition:none!important;animation:none!important}
:where(html.bd-calme) .bd-bulle{transform:rotate(var(--rot,0deg))!important}
:where(html.bd-calme) .bd-carte{transform:none!important}
:where(html.bd-calme) .bd-main{display:none}
/* V4.5 (lot O) : ni stylo ni fondu de fin */
:where(html.bd-calme) .bd-stylo{display:none}
:where(html.bd-calme) .bd-cta{animation:none!important}
/* ---------- V4.6 (brief style C, c-moteur-02) : planches dessinees par le moteur C (brief-c/lecteur-c.js) ----------
   La scene est un <svg class="bd-c"> de la feuille ; la section HTML de la planche (titre, bulles, cartes) reste dans le
   document pour les lecteurs d'ecran et le clavier, masquee a l'oeil ; les anciens dessins de la planche sont retires.
   La feuille reste claire en mode nuit (encre et feutres sur papier, aplats en multiply). */
.bd-scene.is-c{pointer-events:none}
.bd-scene.is-c>*{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;border:0!important;
  overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important}
.bd-scene.is-c *{visibility:visible!important;opacity:1!important;transition:none!important;animation:none!important}
.bd-reg.is-c{display:none}
.bd-c{overflow:visible}
.bd-c .bd-c-zone{fill:transparent;stroke:none;cursor:pointer;pointer-events:all}
.bd-c-halo{fill:rgba(255,213,74,.14);stroke:#5B5FC7;stroke-opacity:.5;stroke-width:5;opacity:0;transition:opacity .25s ease}
.bd-c-halo.is-on{opacity:1}
/* la main au feutre (CONTRAT DE MAIN) : calque de la vue, au-dessus de la feuille, sous le cartouche et les boutons */
.bd-mainc{position:absolute;inset:0;z-index:3;pointer-events:none;overflow:hidden}
.bd-mainc-z{position:absolute;inset:0;will-change:transform}
/* c-firefox-01 : mode reduit du brief = reglage de l'appli (html.bd-calme), plus prefers-reduced-motion */
:where(html.bd-calme) .bd-mainc{display:none}:where(html.bd-calme) .bd-c-halo{transition:none}

/* ---------- V5.4 voix off (c-voix-01) : SOUS-TITRES en petite carte papier, HORS de la feuille ----------
   Placee par brief-c/voix.js : au bureau (1 024 px et plus) au-dessus des commandes, sous la feuille ; en dessous, entre la
   feuille et le panneau « À retenir » (telephone : entre la feuille et les commandes). Hauteur FIXE (la feuille ne change pas
   de taille d'une phrase a l'autre) ; une phrase a la fois ; fondu d'entree, fondu de sortie quand le segment n'a pas de
   narration. Encre sur papier comme la feuille, en jour comme en nuit (contraste 15:1). */
.bd-soustitre{flex:none;align-self:center;box-sizing:border-box;width:min(820px,100%);height:64px;display:flex;align-items:center;
  justify-content:center;margin:0;padding:0 4px;pointer-events:none}
.bd-soustitre[hidden]{display:none}
.bd-st-texte{margin:0;max-width:100%;max-height:100%;box-sizing:border-box;overflow:hidden;padding:9px 22px 10px;
  border:1.5px solid var(--bd-cadre);border-radius:16px 12px 18px 11px;background:var(--bd-papier);color:var(--bd-encre);
  font-family:var(--font);font-size:17px;font-weight:500;line-height:1.38;text-align:center;text-wrap:balance;
  box-shadow:0 1px 2px rgba(30,32,51,.06),0 8px 22px -10px rgba(30,32,51,.28);transform:rotate(-.25deg);
  transition:opacity .35s ease,transform .35s ease}
.bd-st-texte::before{content:"";display:inline-block;width:7px;height:7px;margin:0 9px 2px 0;border-radius:50%;background:var(--bd-surligne);
  box-shadow:0 0 0 2px rgba(255,226,122,.35);vertical-align:middle}
.bd-soustitre.is-vide .bd-st-texte{opacity:0;transform:translateY(4px) rotate(-.25deg)}
.bd-soustitre.is-neuf .bd-st-texte{animation:bd-st-in .4s ease both}
@keyframes bd-st-in{from{opacity:0;transform:translateY(5px) rotate(-.25deg)}to{opacity:1;transform:rotate(-.25deg)}}
.bd-soustitre.is-long .bd-st-texte{font-size:15.5px;line-height:1.32}
@media (min-width:1600px){ .bd-soustitre{height:70px}.bd-st-texte{font-size:19px} }
@media (max-width:1023px){ .bd-soustitre{width:100%;height:62px;padding:0} }
@media (max-width:720px){
  .bd-soustitre{height:66px}
  .bd-st-texte{width:100%;padding:7px 12px 8px;font-size:15px;line-height:1.3;border-radius:13px 10px 14px 9px}
  .bd-soustitre.is-long .bd-st-texte{font-size:14px;line-height:1.27}
  .bd-st-texte::before{width:6px;height:6px;margin-right:7px}
}
html[data-theme="dark"] .bd-page .bd-st-texte{background:#F7F4EC;border-color:#5A5D6E;box-shadow:0 1px 2px rgba(0,0,0,.3),0 10px 24px -10px rgba(0,0,0,.6)}
:where(html.bd-calme) .bd-st-texte{transition:none}:where(html.bd-calme) .bd-soustitre.is-neuf .bd-st-texte{animation:none}
/* lecture automatique refusee par le navigateur (voix presente) : indice (fixe) juste au-dessus des commandes et des sous-titres, sur la feuille encore vierge (place par voixAttend) */
/* V5.9 voix (c-voix-02) : lecture automatique refusee : carte « Lancer le brief » au centre de la feuille vierge (le lecteur
   pose --bd-voix-x / --bd-voix-y au centre de #vue) */
.bd-voix-i{position:fixed;z-index:40;left:var(--bd-voix-x,50%);top:var(--bd-voix-y,45%);transform:translate(-50%,-50%);width:max-content;max-width:calc(100vw - 32px);box-sizing:border-box;margin:0;padding:22px 24px 18px;
  border-radius:18px;background:var(--bd-papier);border:1.5px solid var(--bd-cadre);color:var(--bd-encre);text-align:center;
  box-shadow:0 14px 40px -16px rgba(30,32,51,.45);display:flex;flex-direction:column;align-items:center;gap:12px}
.bd-voix-i[hidden]{display:none}
.bd-voix-go{gap:10px}
.bd-voix-go svg{width:22px;height:22px}
.bd-voix-p{margin:0;max-width:30ch;font-size:15px;font-weight:600;line-height:1.35;color:var(--bd-encre-2)}
/* commandes son et sous-titres : etat appuye lisible (v2.css .pbtn[aria-pressed]) ; telephone : la barre garde sa largeur */
html[data-theme="dark"] .bd-page #bSon[aria-pressed="true"],html[data-theme="dark"] .bd-page #bCC[aria-pressed="true"]{color:#D6D8FF;background:#363A72}
@media (max-width:430px){
  .bd-page #time{min-width:0;font-size:12px;padding:0 2px;white-space:nowrap}
  .bd-page #bNext{padding:0 10px 0 12px}
  /* avec la voix (son et sous-titres), le chrono cede sa place : la barre d'avancement du haut le remplace */
  .bd-page [role="group"]:has(#bSon:not([hidden])) #time{display:none}
}
