/* ==========================================================================
   site.v1.css — la SEULE feuille de style de ia.vmailx.com
   --------------------------------------------------------------------------
   Ordre du fichier :
     1. variables des deux thèmes (les trois blocs :root)
     2. socle : reset, body, a, .container, header, nav, titres, p, footer
     3. rail de rôle + bandeau, pilotés par body[data-role]
     4. les cinq blocs de nature + la marque data-cle
     5. la fiche de run (provenance d'une mesure)
     6. composants : tableaux, piles, puces, barres, étiquettes, calc,
        figure, grille de vignettes, formulaires et boutons
     7. orphelins réunifiés : .badge (+ .b-*), .try, .legende, .source
     8. divers : mobile, impression, mouvement réduit

   Règles tenues dans tout le fichier :
     - aucune couleur en dur hors des trois blocs :root
     - aucune taille de texte en px (rem ou em uniquement)
     - aucun !important
     - aucun sélecteur au-delà de trois niveaux
   ========================================================================== */


/* ==========================================================================
   1. VARIABLES — deux thèmes, trois déclarations
   ========================================================================== */

:root {
  color-scheme: light;

  --page:           #f9f9f7;
  --surface-1:      #fcfcfb;
  --surface-2:      #f2f2ee;

  --text-primary:   #0b0b0b;
  --text-secondary: #52514e;
  --text-muted:     #898781;

  --grid:           #e1e0d9;
  --baseline:       #c3c2b7;
  --border:         rgba(11,11,11,0.10);

  --accent:         #2a78d6;
  --accent-track:   #cde2fb;
  --good:           #006300;
  --bad:            #b3261e;
  --warn:           #9a6700;

  --on-accent:      #ffffff;
  --ombre:          rgba(11,11,11,0.14);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;

    --page:           #0d0d0d;
    --surface-1:      #1a1a19;
    --surface-2:      #232322;

    --text-primary:   #ffffff;
    --text-secondary: #c3c2b7;
    --text-muted:     #898781;

    --grid:           #2c2c2a;
    --baseline:       #383835;
    --border:         rgba(255,255,255,0.10);

    --accent:         #3987e5;
    --accent-track:   #104281;
    --good:           #0ca30c;
    --bad:            #ff6b61;
    --warn:           #e0a800;

    --on-accent:      #ffffff;
    --ombre:          rgba(0,0,0,0.45);
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;

  --page:           #0d0d0d;
  --surface-1:      #1a1a19;
  --surface-2:      #232322;

  --text-primary:   #ffffff;
  --text-secondary: #c3c2b7;
  --text-muted:     #898781;

  --grid:           #2c2c2a;
  --baseline:       #383835;
  --border:         rgba(255,255,255,0.10);

  --accent:         #3987e5;
  --accent-track:   #104281;
  --good:           #0ca30c;
  --bad:            #ff6b61;
  --warn:           #e0a800;

  --on-accent:      #ffffff;
  --ombre:          rgba(0,0,0,0.45);
}


/* ==========================================================================
   2. SOCLE
   ========================================================================== */

* { box-sizing: border-box; margin: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--page);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: clip;              /* filet de sécurité : jamais de scroll du corps */
  overflow-wrap: break-word;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

img, svg, canvas, video { max-width: 100%; }
img { height: auto; }

.container { max-width: 1000px; margin: 0 auto; padding: 0 1.25rem; }

header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--page) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: .5rem; min-height: 3.25rem; padding-top: .35rem; padding-bottom: .35rem;
}
.logo { font-weight: 700; color: var(--text-primary); }
.logo span { color: var(--accent); }

nav {
  display: flex; flex-wrap: wrap; justify-content: flex-end;
  gap: .15rem .9rem; font-size: .9rem;
}
nav a { color: var(--text-secondary); }
nav a:hover { color: var(--text-primary); text-decoration: none; }
nav [aria-current="page"] { color: var(--text-primary); font-weight: 600; }

.bascule {
  flex: none;
  border: 1px solid var(--border); background: var(--surface-1);
  color: var(--text-secondary);
  border-radius: 999px; padding: .2rem .6rem;
  font: inherit; font-size: .78rem; cursor: pointer;
}
.bascule:hover { border-color: var(--accent); color: var(--text-primary); }

h1 { font-size: 1.65rem; margin: 1.8rem 0 .5rem; letter-spacing: -.01em; line-height: 1.25; }
h2 { font-size: 1.15rem; margin: 2.2rem 0 .6rem; letter-spacing: -.01em; }
h3 { font-size: .98rem; margin: 1.2rem 0 .3rem; }
h4 { font-size: .88rem; margin: .9rem 0 .2rem; color: var(--text-secondary); }

p { margin: .55rem 0; max-width: 46rem; }
ul, ol { margin: .55rem 0; padding-left: 1.3rem; max-width: 46rem; }
li { margin: .2rem 0; }
strong, b { color: var(--text-primary); font-weight: 700; }
.sub { color: var(--text-secondary); max-width: 46rem; }
small { color: var(--text-muted); font-size: .84rem; }
hr { border: 0; border-top: 1px solid var(--grid); margin: 2rem 0; }

code, kbd, samp {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .86em;
  background: var(--surface-2);
  padding: .08em .35em; border-radius: 4px;
}
pre {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 10px; padding: .8rem .9rem; margin: .9rem 0;
  overflow-x: auto; font-size: .82rem; line-height: 1.5;
}
pre code { background: none; padding: 0; font-size: 1em; }

footer {
  padding: 2rem 0 3rem; margin-top: 2.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted); font-size: .82rem;
}
footer a { color: var(--text-secondary); }


/* ==========================================================================
   3. RAIL DE RÔLE + BANDEAU
   Le rôle se lit à trois endroits : la texture du filet (noir et blanc),
   le mot du bandeau (texte), la couleur (confort, jamais seule).
   ========================================================================== */

main { position: relative; padding-top: .2rem; padding-bottom: 1rem; }

main::before {
  content: "";
  position: absolute; left: 0; top: 1.6rem; bottom: 1rem;
  width: 4px; border-radius: 2px;
  background: var(--rail, var(--grid));
}

/* couleur du rail, par rôle */
body[data-role="theorie"]   { --rail: var(--accent); }
body[data-role="pratique"]  { --rail: var(--good); }
body[data-role="demo"]      { --rail: var(--warn); }
body[data-role="reference"] { --rail: var(--text-muted); }
body[data-role="accueil"]   { --rail: var(--baseline); }

/* texture du rail, par rôle — c'est elle qui survit au noir et blanc */

/* THÉORIE : trait continu */
body[data-role="theorie"] main::before {
  background: var(--rail);
}

/* PRATIQUE : tireté */
body[data-role="pratique"] main::before {
  background: repeating-linear-gradient(
    to bottom,
    var(--rail) 0 .75rem,
    transparent .75rem 1.25rem);
}

/* DÉMO : double filet */
body[data-role="demo"] main::before {
  background: linear-gradient(
    to right,
    var(--rail) 0 1px,
    transparent 1px 3px,
    var(--rail) 3px 4px);
}

/* RÉFÉRENCE : fin et pâle */
body[data-role="reference"] main::before {
  background: linear-gradient(
    to right,
    color-mix(in srgb, var(--rail) 45%, transparent) 0 1px,
    transparent 1px);
}

/* ACCUEIL : pas de rail */
body[data-role="accueil"] main::before { display: none; }

/* --- le bandeau ------------------------------------------------------- */

.bandeau {
  display: flex; flex-wrap: wrap; align-items: baseline;
  gap: .35rem .6rem;
  margin: .1rem 0 1.4rem;
  padding: .5rem .8rem;
  max-width: none;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-secondary);
  font-size: .86rem;
  font-variant-numeric: tabular-nums;
}

.bandeau::before {
  content: attr(data-role-defaut);
  flex: none;
  font-size: .7rem; font-weight: 700; letter-spacing: .08em;
  padding: .1rem .5rem; border-radius: 999px;
  border: 1px solid currentColor;
  color: var(--rail, var(--text-muted));
  white-space: nowrap;
}

body[data-role="theorie"]   .bandeau::before { content: "THÉORIE"; }
body[data-role="pratique"]  .bandeau::before { content: "PRATIQUE"; }
body[data-role="demo"]      .bandeau::before { content: "DÉMO"; }
body[data-role="reference"] .bandeau::before { content: "RÉFÉRENCE"; }
body[data-role="accueil"]   .bandeau::before { content: "ACCUEIL"; }

.bandeau b { color: var(--text-primary); }


/* ==========================================================================
   4. LES CINQ BLOCS + la marque data-cle
   Une nature = un bloc. Le mot de la nature est écrit par le CSS : il ne
   peut pas diverger d'une page à l'autre.
   ========================================================================== */

.mecanisme, .mesure, .temoin, .rate, .aparte {
  position: relative;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: .85rem 1.15rem 1.1rem;
  margin: 1.1rem 0;
}

.mecanisme::before, .mesure::before, .temoin::before,
.rate::before, .aparte::before {
  display: block;
  margin-bottom: .35rem;
  font-size: .68rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-muted);
}

.mecanisme p, .mesure p, .temoin p, .rate p, .aparte p { max-width: none; }
.mecanisme h3, .mesure h3, .temoin h3, .rate h3, .aparte h3 { margin-top: .1rem; }

/* mécanisme — trait continu, accent */
.mecanisme {
  border-left: 3px solid var(--accent);
  border-radius: 4px 12px 12px 4px;
}
.mecanisme::before { content: "mécanisme"; color: var(--accent); }

/* mesure — double filet, vert */
.mesure {
  border-left: 5px double var(--good);
  border-radius: 4px 12px 12px 4px;
}
.mesure::before { content: "mesure"; color: var(--good); }

/* témoin — pointillé, neutre */
.temoin {
  border-left: 3px dotted var(--text-muted);
  border-radius: 4px 12px 12px 4px;
}
.temoin::before { content: "témoin"; }

/* raté — tireté, rouge */
.rate {
  border-left: 3px dashed var(--bad);
  border-radius: 4px 12px 12px 4px;
  background: color-mix(in srgb, var(--bad) 4%, var(--surface-1));
}
.rate::before { content: "raté"; color: var(--bad); }

/* aparté — fin et pâle, en retrait */
.aparte {
  border-left: 2px solid var(--grid);
  border-radius: 4px 12px 12px 4px;
  background: transparent;
  color: var(--text-secondary);
  padding-top: .7rem; padding-bottom: .8rem;
}
.aparte::before { content: "aparté"; }

/* la marque d'importance — une seule par page */
[data-cle] {
  box-shadow: 0 0 0 1px var(--rail, var(--accent)), 0 2px 12px var(--ombre);
}
[data-cle]::after {
  content: "à retenir";
  position: absolute; top: .8rem; right: 1.15rem;
  font-size: .68rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--rail, var(--accent));
}

/* la source d'un résultat, à l'intérieur d'un bloc */
.source {
  margin-top: .6rem;
  font-size: .8rem; color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}


/* ==========================================================================
   5. LA FICHE DE RUN — la provenance d'une mesure, d'un coup d'œil
   ========================================================================== */

.fiche {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr));
  gap: .1rem 1.1rem;
  margin: 1rem 0 1.4rem;
  padding: .75rem .9rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-left: 5px double var(--good);
  border-radius: 4px 10px 10px 4px;
}
.fiche div { padding: .15rem 0; min-width: 0; }
.fiche dt {
  font-size: .68rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-muted);
}
.fiche dd {
  margin: 0; font-size: .92rem; font-weight: 600;
  font-variant-numeric: tabular-nums;
  overflow-wrap: break-word;
}
.fiche a { font-weight: 600; }


/* ==========================================================================
   6. COMPOSANTS
   ========================================================================== */

/* --- tableaux --------------------------------------------------------- */
.tab-wrap { overflow-x: auto; margin: .9rem 0; }

table {
  border-collapse: collapse; width: 100%;
  font-size: .9rem; font-variant-numeric: tabular-nums;
}
th, td {
  text-align: left; padding: .42rem .6rem;
  border-bottom: 1px solid var(--grid); vertical-align: top;
}
th { color: var(--text-muted); font-weight: 600; font-size: .82rem; }
tbody tr:last-child td { border-bottom: 0; }
td.n, th.n { text-align: right; }
.gagnant { font-weight: 700; color: var(--good); }
.perdu { color: var(--bad); }
caption {
  caption-side: bottom; text-align: left;
  padding-top: .4rem; font-size: .8rem; color: var(--text-muted);
}

/* --- piles de chiffres ------------------------------------------------ */
.pileup {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: .8rem; margin: 1rem 0;
}
.pile {
  background: var(--surface-1); border: 1px solid var(--border);
  border-radius: 12px; padding: .9rem 1rem;
}
.pile h4 {
  font-size: .78rem; color: var(--text-muted); font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; margin: 0 0 .1rem;
}
.pile p { font-size: .85rem; color: var(--text-secondary); margin: .25rem 0 0; max-width: none; }
.chiffre {
  font-size: 1.7rem; font-weight: 700; letter-spacing: -.02em;
  font-variant-numeric: tabular-nums; line-height: 1.15;
}
.chiffre.bon { color: var(--good); }
.chiffre.mauvais { color: var(--bad); }

/* --- puces (filtres cliquables) --------------------------------------- */
.puces { display: flex; flex-wrap: wrap; gap: .4rem; margin: .8rem 0; }
.puce {
  border: 1px solid var(--border); background: var(--surface-1);
  color: var(--text-secondary); border-radius: 999px;
  padding: .3rem .8rem; font: inherit; font-size: .85rem; cursor: pointer;
}
.puce:hover { border-color: var(--accent); color: var(--text-primary); }
.puce[aria-pressed="true"] {
  background: var(--accent); border-color: var(--accent);
  color: var(--on-accent); font-weight: 600;
}

/* --- barre de proportion ---------------------------------------------- */
.barre {
  height: .5rem; border-radius: 3px;
  background: var(--accent-track); overflow: hidden; min-width: 60px;
}
.barre i { display: block; height: 100%; background: var(--accent); }
.barre i.bon { background: var(--good); }
.barre i.mauvais { background: var(--bad); }

/* --- étiquette monospace ---------------------------------------------- */
.etiq {
  display: inline-block;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 5px; padding: .05rem .3rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .82em; white-space: nowrap;
  max-width: 100%; overflow-x: auto; vertical-align: bottom;
}

/* --- calc : libellé / curseur / valeur --------------------------------- */
.calc { display: grid; gap: .45rem; margin: .9rem 0; }
.calc .ligne {
  display: grid; grid-template-columns: 9.5rem 1fr 5rem;
  align-items: center; gap: .7rem; font-size: .9rem;
}
.calc .ligne span { color: var(--text-secondary); }
.calc input { width: 100%; accent-color: var(--accent); }
.calc output {
  text-align: right; font-variant-numeric: tabular-nums; font-weight: 600;
}

/* --- figure : un SVG et sa légende ------------------------------------ */
.figure {
  margin: 1.2rem 0;
  padding: .8rem .9rem;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow-x: auto;
}
.figure svg { display: block; width: 100%; height: auto; }
.figure figcaption {
  margin-top: .5rem; font-size: .82rem; color: var(--text-muted);
}
.figure text { fill: var(--text-secondary); font-size: .66rem; font-family: inherit; }
.figure .axe { stroke: var(--baseline); stroke-width: 1; fill: none; }
.figure .trame { stroke: var(--grid); stroke-width: 1; fill: none; }
.figure .serie { stroke: var(--accent); stroke-width: 2; fill: none; }
.figure .serie-b { stroke: var(--bad); stroke-width: 2; fill: none; stroke-dasharray: 5 3; }

/* --- grille de vignettes (têtes d'attention, échantillons) ------------- */
.grille-wrap {
  display: grid; grid-template-columns: 1.6rem 1fr;
  gap: .35rem; align-items: start; overflow-x: auto; margin: .8rem 0;
}
.axe-y {
  display: grid; gap: 3px; font-size: .68rem; color: var(--text-muted);
  text-align: right; font-variant-numeric: tabular-nums;
}
.axe-y span { display: grid; place-items: center end; aspect-ratio: 1; }
.grille { display: grid; gap: 3px; justify-content: start; }
.tete {
  position: relative; width: 100%; aspect-ratio: 1;
  border: 1px solid var(--border); border-radius: 3px;
  overflow: hidden; cursor: pointer; background: var(--surface-2); padding: 0;
}
.tete canvas, .tete img {
  display: block; width: 100%; height: 100%; image-rendering: pixelated;
}
.tete:hover { border-color: var(--accent); }
.tete[aria-pressed="true"] { outline: 2px solid var(--accent); outline-offset: 1px; }

/* --- formulaires et boutons (les six démos en direct) ------------------ */
input[type="text"], input[type="url"], input[type="search"],
input[type="number"], select, textarea {
  width: 100%; max-width: 100%;
  font: inherit; font-size: .92rem;
  padding: .55rem .7rem;
  background: var(--page); color: var(--text-primary);
  border: 1px solid var(--baseline); border-radius: 8px;
}
textarea {
  min-height: 7.5rem; resize: vertical;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .84rem;
}
button {
  font: inherit; font-size: .9rem; font-weight: 600;
  padding: .55rem 1rem; border-radius: 8px;
  border: 1px solid transparent;
  background: var(--accent); color: var(--on-accent); cursor: pointer;
}
button:hover { background: color-mix(in srgb, var(--accent) 85%, var(--text-primary)); }
button.sec {
  background: var(--surface-2); color: var(--text-primary);
  border-color: var(--border); font-weight: 500;
  font-size: .82rem; padding: .3rem .7rem;
}
button:disabled { opacity: .5; cursor: progress; }
.rang { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: .6rem 0; }
.rang input, .rang select { flex: 1 1 14rem; width: auto; }

/* --- messages de démo -------------------------------------------------- */
.attente { color: var(--text-muted); font-style: italic; font-size: .9rem; }
.erreur { color: var(--bad); font-size: .88rem; margin-top: .6rem; }


/* ==========================================================================
   7. ORPHELINS RÉUNIFIÉS
   .b-bof existait dans deux pages sur trois qui l'utilisaient : il est ici,
   une fois, avec ses trois frères. .stats est supprimé — voir .mesure.
   ========================================================================== */

.badge {
  display: inline-block;
  font-size: .7rem; font-weight: 700;
  padding: .1rem .5rem; border-radius: 999px;
  white-space: nowrap; vertical-align: middle;
  background: var(--surface-2); color: var(--text-secondary);
}
.b-ok  { background: color-mix(in srgb, var(--good) 14%, transparent); color: var(--good); }
.b-att { background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }
.b-bof { background: color-mix(in srgb, var(--text-muted) 16%, transparent); color: var(--text-muted); }
.b-non { background: color-mix(in srgb, var(--bad) 12%, transparent); color: var(--bad); }

.try-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: .45rem;
  margin-top: .6rem; font-size: .85rem; color: var(--text-muted);
}
.try {
  border: 1px solid var(--border); background: var(--surface-1);
  color: var(--text-secondary);
  font: inherit; font-size: .8rem; font-weight: 400;
  padding: .22rem .65rem; border-radius: 999px; cursor: pointer;
}
.try:hover { border-color: var(--accent); color: var(--accent); background: var(--surface-1); }

.legende { margin-top: .3rem; font-size: .85rem; color: var(--text-muted); }

/* cartes de rubrique — page d'accueil et sommaires */
.chapitres {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: .8rem; margin: 1rem 0;
}
.chap {
  display: block; background: var(--surface-1);
  border: 1px solid var(--border); border-radius: 12px;
  padding: .9rem 1rem; color: inherit;
}
.chap:hover { border-color: var(--accent); text-decoration: none; }
.chap b { display: block; font-size: .98rem; margin-bottom: .15rem; }
.chap span { font-size: .84rem; color: var(--text-secondary); }


/* ==========================================================================
   8. DIVERS
   ========================================================================== */

@media (max-width: 560px) {
  .container { padding: 0 .9rem; }
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.05rem; }
  main { padding-left: .1rem; }
  .calc .ligne { grid-template-columns: 7rem 1fr 4.2rem; gap: .4rem; font-size: .84rem; }
  .fiche { grid-template-columns: repeat(auto-fit, minmax(6.5rem, 1fr)); }
  [data-cle]::after { position: static; display: block; margin-bottom: .25rem; }
  nav { font-size: .84rem; gap: .1rem .6rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms; animation-iteration-count: 1; transition-duration: .01ms; }
}

@media print {
  header, nav, .bascule, .try-row { display: none; }
  body { overflow-x: visible; }
  .mecanisme, .mesure, .temoin, .rate, .aparte, .fiche { break-inside: avoid; }
}

/* L'horloge de la base de rotary (reglages-contexte). Reprise de attention.html :
   sans largeur, le canvas se dessine a la taille du parent et deborde. */
#rope-cv { display: block; width: 100%; max-width: 620px; margin: .6rem auto .2rem; touch-action: pan-y; cursor: crosshair; }
#rope-cv:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
#rope-calc .ligne { grid-template-columns: 11rem 1fr 6rem; }
@media (max-width: 560px) { #rope-calc .ligne { grid-template-columns: 6.4rem 1fr 5.2rem; } }

/* Boites d'une figure SVG. Quatre etats, aucune couleur en dur dans les pages :
   .boite neutre · .boite-a ce qui compte · .boite-off ce qui est ignore ·
   .boite-x ce qui rate. Introduites pour la rubrique « Le texte ». */
.figure .boite     { fill: var(--surface-2); stroke: var(--baseline); stroke-width: 1; }
.figure .boite-a   { fill: var(--accent-track); stroke: var(--accent); stroke-width: 1.5; }
.figure .boite-off { fill: var(--surface-2); stroke: var(--grid); stroke-width: 1; opacity: .5; }
.figure .boite-x   { fill: none; stroke: var(--bad); stroke-width: 1.5; stroke-dasharray: 4 3; }
.figure .fort      { fill: var(--text-primary); font-weight: 600; }

/* Le fleuve de jetons et l'exemple decoupe (tokenisation-fenetre). Comme #rope-cv :
   sans largeur, un canvas se dessine a la taille du parent et deborde. */
#fleuve-cv { display: block; width: 100%; max-width: 620px; margin: .6rem auto .2rem; touch-action: pan-y; }
#fleuve-calc .ligne { grid-template-columns: 11rem 1fr 6rem; }
@media (max-width: 560px) { #fleuve-calc .ligne { grid-template-columns: 6.4rem 1fr 5.2rem; } }
