/* i23 — Mon Outil Schéma i+ dans Mon espace (outils/schema-i-espace.html), bloc F2 (19 nov. 2026).
   Tiré de la maquette validée version 20 (16 nov. 2026, ot20.css) : 4 écrans, introduction, pied de page caché sur ordinateur.
   Chargée seule avec polices.css, JAMAIS avec style.css ni blocs.css : ces feuilles ont déjà des classes .ot-… (.ot-etape,
   .ot-bande, .ot-ligne…) qui se mélangeraient à celles de l'outil. Le préfixe .ot- de la maquette est donc gardé tel quel.
   Couleurs ramenées aux tokens du Design System (#3A3A3A -> #515151 ; #F5F6F6 -> #F6F6F6 ; jaune pâle = transparence du jaune).
   Règles : aucune coupure « jolie » (text-wrap pretty ou balance) ; une seule ombre de carte. */
:root{--t:#2BBFBC;--tp:#95DFDD;--tf:#E9F8F8;--g:#515151;--gt:#515151;--gp:#DFDFDF;--gf:#F6F6F6;--j:#DECB1A;--jp:rgba(222,203,26,.2);--ombre:0 18px 48px rgba(81,81,81,.28);--titre:"Bricolage Grotesque",system-ui,sans-serif;--texte:"Atkinson Hyperlegible",system-ui,sans-serif;--haut:79px}
*{box-sizing:border-box}
body{margin:0;font-family:var(--texte);font-size:17px;line-height:1.6;color:var(--gt);background:#FFFFFF}
h1,h2,h3{font-family:var(--titre);color:var(--gt);margin:0;line-height:1.15}
h1{font-size:30px;font-weight:800}
p{margin:0}
a{color:inherit}
.min{text-transform:none}
.surtitre{font-family:var(--texte);font-weight:700;font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:var(--j);margin:0 0 6px}
svg{width:20px;height:20px;flex:none}
.btn{display:inline-flex;align-items:center;gap:10px;background:var(--t);color:#FFFFFF;font-family:inherit;font-weight:700;font-size:17px;text-decoration:none;border-radius:999px;padding:13px 24px;transition:transform .15s,box-shadow .15s,background .15s;border:0;cursor:pointer}
.btn:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(43,191,188,.4);filter:brightness(.95)}
.btn-g{background:#FFFFFF;color:var(--gt);box-shadow:inset 0 0 0 2px var(--gp)}
.btn-g:hover{background:#FFFFFF;box-shadow:inset 0 0 0 2px var(--t),0 8px 20px rgba(81,81,81,.15)}
.btn-p{padding:9px 18px;font-size:15px}

/* En-tête de Mon espace : logo, 4 onglets, déconnexion (sans menu du site), comme la maquette de Mon espace v8 */
.es-tete{position:sticky;top:var(--bandeau,0px);z-index:50;background:#FFFFFF;box-shadow:0 2px 12px rgba(81,81,81,.08)}
.es-barre{max-width:1180px;margin:0 auto;display:flex;align-items:center;gap:24px;padding:10px 20px;justify-content:space-between}
.es-logo-l{display:block;line-height:0}
.es-logo{width:64px;height:auto}
.es-nav{display:flex;position:fixed;left:0;right:0;bottom:0;margin:0;background:#FFFFFF;box-shadow:0 -4px 18px rgba(81,81,81,.15);justify-content:space-around;padding:6px 4px calc(6px + env(safe-area-inset-bottom));z-index:60;gap:0}
.es-nav a{display:flex;flex-direction:column;align-items:center;gap:2px;text-decoration:none;font-weight:700;font-size:12px;color:var(--g);padding:6px 4px;border-radius:12px;flex:1;text-align:center;transition:background .15s}
.es-nav a svg{width:22px;height:22px}
.es-nav a.on{background:var(--tf);color:var(--gt)}
.es-deco{display:none}
@media (min-width:761px){
  .es-tete{border-bottom:1px solid var(--gp);box-shadow:none}
  .es-barre{padding:14px 40px;justify-content:flex-start}
  .es-logo{width:auto;height:50px}
  .es-nav{position:static;box-shadow:none;padding:0;margin:0 0 0 auto;gap:22px;background:none;justify-content:flex-start}
  .es-nav a{flex:none;flex-direction:row;gap:8px;padding:2px 0;border-radius:0;font-weight:400;font-size:15px;color:var(--g);background:linear-gradient(var(--t),var(--t)) no-repeat left bottom/0 2px;transition:background-size .2s}
  .es-nav a svg{display:none}
  .es-nav a span{text-transform:lowercase}
  .es-nav a:hover,.es-nav a.on{background:linear-gradient(var(--t),var(--t)) no-repeat left bottom/100% 2px;color:var(--gt)}
  .es-deco{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:var(--t);color:#FFFFFF;text-decoration:none;flex:none;transition:transform .15s,box-shadow .15s}
  .es-deco:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(43,191,188,.4)}
}

/* Bas de page de Mon espace (caché sur ordinateur quand l'outil est ouvert : l'outil remplit l'écran) */
.es-pied{margin-top:8px;margin-bottom:72px}
.vague{display:block;width:100%;height:76px;background:#FFFFFF}
.pied-in{background:var(--tf);display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:16px 32px;padding:20px 24px 32px;font-size:15px}
.pied-in nav{display:flex;flex-wrap:wrap;gap:8px 24px}
.pied-in a{color:var(--gt)}
.pied-logo{line-height:0}
@media (min-width:761px){.es-pied{margin:40px 0 0}}

/* Bouton Aide (même balisage partout sur le site) */
.aide{position:fixed;right:24px;bottom:24px;z-index:70}
.aide summary{list-style:none;width:56px;height:56px;border-radius:50%;background:var(--t);color:#FFFFFF;font-family:var(--titre);font-size:26px;font-weight:700;display:grid;place-items:center;cursor:pointer;box-shadow:var(--ombre)}
.aide summary::-webkit-details-marker{display:none}
.aide-p{position:absolute;right:0;bottom:68px;width:280px;max-width:calc(100vw - 32px);background:#FFFFFF;border-radius:18px;box-shadow:var(--ombre);padding:18px;display:flex;flex-direction:column;gap:4px}
.aide-t{margin:0 0 6px!important;font-family:var(--titre);font-weight:800;font-size:18px}
.aide-p a{display:flex;align-items:center;gap:12px;padding:8px;border-radius:12px;font-size:16px;font-weight:700;text-decoration:none;color:var(--gt)}
.aide-p a:hover{background:var(--tf)}
.aide-p .ico{flex:0 0 34px;width:34px;height:34px;border-radius:50%;background:var(--g);color:#FFFFFF;display:grid;place-items:center}
.aide-p .ico svg{width:17px;height:17px}
@media (max-width:760px){
  .aide{top:calc(10px + var(--bandeau,0px));bottom:auto;right:16px;z-index:80}
  .aide summary{width:44px;height:44px;font-size:20px;box-shadow:0 18px 48px rgba(81,81,81,.28)}
  .aide-p{top:52px;bottom:auto}
}

/* Porte : outil fermé (pas de note d'accès dans cet onglet) */
.ot-ferme{background:var(--gf);padding:40px 0 56px}
.ot-f-carte{display:grid;grid-template-columns:minmax(0,300px) minmax(0,1fr);gap:40px;align-items:center;background:#FFFFFF;border-radius:24px;box-shadow:var(--ombre);padding:40px 48px;max-width:960px;margin:0 auto}
.ot-f-carte img{width:100%;height:auto;display:block}
.ot-f-txt{display:flex;flex-direction:column;align-items:flex-start;gap:16px}
.ot-f-txt h1{font-size:36px}
.ot-f-etiq{display:inline-flex;align-items:center;gap:8px;background:var(--tf);border-radius:5px;padding:4px 12px;font-size:15px;font-weight:700}
.ot-f-etiq svg{width:16px;height:16px}
@media (max-width:760px){
  .ot-ferme{padding:16px 0 24px}
  .ot-f-carte{grid-template-columns:1fr;gap:20px;padding:24px 20px}
  .ot-f-carte img{max-width:220px;margin:0 auto}
  .ot-f-txt h1{font-size:28px}
}
/* Mon Outil Schéma i+ dans Mon espace, version 13 (16 nov. 2026).
   En haut : les 4 menus et la carte du pointage, rien d'autre. Chaque écran tient dans l'écran :
   une capsule de côté (un peu plus du tiers) dit ce qu'il y a dans la carte ; les explications sont dans des bulles (?).
   Règle des couleurs : une composante prend la couleur de sa polarité (menace gris foncé, neutre gris pâle, opportunité turquoise). */
.ot{background:var(--gf)}
.ot-in{max-width:1180px;margin:0 auto;padding:0 32px}
.vh{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
[hidden]{display:none!important}

/* En haut : 4 menus + carte du pointage */
.ot-barre{position:sticky;top:0;z-index:40;background:#FFFFFF;box-shadow:0 2px 0 var(--gf)}
.ot-barre .ot-in{display:flex;align-items:center;justify-content:space-between;gap:24px;height:68px}
.ot-ong{display:flex;gap:6px;min-width:0}
.ot-o{border:0;background:none;font:inherit;font-weight:700;font-size:16px;color:var(--g);padding:10px 18px;border-radius:999px;cursor:pointer;white-space:nowrap;transition:background .15s,color .15s}
.ot-o:hover{background:var(--gf);color:var(--gt)}
.ot-o[aria-selected="true"]{background:var(--t);color:#FFFFFF}
.ot-o .ot-c{display:none}
.ot-score{display:flex;align-items:stretch;gap:4px;flex:none;background:var(--gf);border-radius:14px;padding:4px}
.ot-s-b{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:72px;padding:3px 12px;border-radius:10px;background:#FFFFFF;line-height:1.1}
.ot-s-b small{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--g)}
.ot-s-b b{font-family:var(--titre);font-size:22px;color:var(--g)}
.ot-s-b b.pos{color:var(--t)}
.ot-s-g{background:var(--j)}
.ot-s-g small,.ot-s-g b{color:var(--gt)!important}

/* Un écran = une grande carte qui tient dans l'écran */
.ot-zone{padding:20px 0}
.ot-ecran{display:grid;grid-template-columns:minmax(0,37%) minmax(0,1fr);background:#FFFFFF;border-radius:24px;box-shadow:var(--ombre);height:calc(100vh - 113px - 68px - 40px - var(--bandeau,0px));min-height:560px;overflow:hidden}
.ot-cap{background:var(--tf);padding:28px 28px;display:flex;flex-direction:column;gap:12px;overflow:auto}
.ot-cap h2{font-size:26px}
.ot-cap>p{margin:0;font-size:17px;color:var(--gt)}
.ot-cont{padding:28px 32px;display:flex;flex-direction:column;gap:20px;overflow:auto;min-height:0}
.ot-pied{display:flex;justify-content:space-between;gap:16px;margin-top:auto}
.ot-pied .btn:only-child{margin-left:auto}

/* Bulles d'aide */
.ot-b{position:relative;display:inline-flex;vertical-align:middle;margin-left:4px}
.ot-b-i{width:24px;height:24px;border-radius:50%;border:0;background:var(--gp);color:var(--gt);font:inherit;font-weight:700;font-size:14px;line-height:1;display:inline-grid;place-items:center;cursor:pointer;flex:none;transition:background .15s}
.ot-b-i:hover,.ot-b.ouvert .ot-b-i{background:var(--j)}
.ot-b-t{position:absolute;z-index:50;top:calc(100% + 10px);left:-14px;width:min(320px,78vw);background:var(--gt);color:#FFFFFF;font-family:var(--texte);font-weight:400;font-size:15px;line-height:1.5;letter-spacing:0;text-transform:none;border-radius:12px;padding:12px 14px;box-shadow:var(--ombre);opacity:0;visibility:hidden;transform:translateY(-4px);transition:opacity .15s,transform .15s}
.ot-b-t::before{content:"";position:absolute;top:-6px;left:20px;width:12px;height:12px;background:var(--gt);transform:rotate(45deg)}
.ot-b-t b{color:#FFFFFF}
.ot-b:hover .ot-b-t,.ot-b:focus-within .ot-b-t,.ot-b.ouvert .ot-b-t{opacity:1;visibility:visible;transform:none}
.ot-b-d .ot-b-t{left:auto;right:-14px}
.ot-b-d .ot-b-t::before{left:auto;right:20px}

/* Champs */
.ot-champ{display:flex;flex-direction:column;gap:10px}
.ot-grand{flex:1;min-height:0}
.ot-grand textarea{flex:1;min-height:120px}
.ot-lab{display:flex;align-items:center;gap:10px;font-family:var(--titre);font-weight:700;font-size:18px;color:var(--gt)}
.ot-lab-i{width:32px;height:32px;border-radius:50%;background:var(--g);color:#FFFFFF;display:grid;place-items:center;flex:none}
.ot-lab-i svg{width:15px;height:15px}
.ot textarea,.ot select{font:inherit;font-size:17px;line-height:1.5;color:var(--gt);background:#FFFFFF;border:0;border-radius:12px;padding:12px 16px;width:100%;box-sizing:border-box;box-shadow:inset 0 0 0 2px var(--t)}
.ot textarea{resize:none}
.ot textarea::placeholder{color:var(--g)}
.ot select{appearance:none;-webkit-appearance:none;padding-right:48px;cursor:pointer;box-shadow:inset 0 0 0 2px var(--gp);background:#FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23515151' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center/18px}
.ot textarea:focus,.ot select:focus{outline:3px solid var(--j);outline-offset:0}

/* Exemple de Martine à ouvrir (capsule A) */
details.ot-pli{background:#FFFFFF;border-radius:14px;padding:12px 14px;margin-top:4px}
details.ot-pli summary{cursor:pointer;font-weight:700;list-style:none;display:flex;align-items:center;gap:10px}
details.ot-pli summary::-webkit-details-marker{display:none}
details.ot-pli summary img{width:32px;height:32px;border-radius:50%;object-fit:cover}
details.ot-pli summary::after{content:"";margin-left:auto;width:9px;height:9px;border-right:2.4px solid var(--gt);border-bottom:2.4px solid var(--gt);transform:rotate(45deg) translateY(-3px)}
details.ot-pli[open] summary::after{transform:rotate(-135deg)}
details.ot-pli p{margin:10px 0 0;font-size:15px}

/* Polarité */
.ot-leg{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin:0;font-size:14px;font-weight:700;color:var(--gt)}
.ot-leg span{display:inline-flex;align-items:center;gap:6px}
.ot-leg-cap{margin-top:auto}
.ot-pt{display:inline-grid;place-items:center;min-width:38px;height:26px;padding:0 8px;border-radius:5px;font-weight:700;font-size:14px;flex:none}
.ot-pt-m{background:var(--g);color:#FFFFFF}
.ot-pt-n{background:var(--gp);color:var(--gt)}
.ot-pt-o{background:var(--t);color:var(--gt)}

/* Capsule B : les 8 étapes, à la verticale */
.ot-ronds{list-style:none;margin:6px 0 0;padding:0;display:grid;gap:4px}
.ot-rond{width:100%;border:0;background:none;font:inherit;display:flex;align-items:center;gap:12px;padding:5px 10px 5px 5px;border-radius:999px;cursor:pointer;color:var(--gt);font-weight:700;font-size:16px;text-align:left}
.ot-rond:hover{background:#FFFFFF}
.ot-rond[aria-current="true"]{background:#FFFFFF;box-shadow:0 4px 12px rgba(81,81,81,.12)}
.ot-n{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-family:var(--titre);font-weight:700;font-size:15px;background:#FFFFFF;color:var(--gt);box-shadow:inset 0 0 0 2px var(--gp);flex:none}
[data-p="m"]>.ot-n{background:var(--g);color:#FFFFFF;box-shadow:none}
[data-p="n"]>.ot-n{background:var(--gp);box-shadow:none}
[data-p="o"]>.ot-n{background:var(--t);box-shadow:none}

/* Contenu B : une étape */
.ot-etape{display:flex;flex-direction:column;gap:16px;flex:1;min-height:0}
.ot-e-tete{display:flex;align-items:center;gap:14px}
.ot-e-tete .num{width:42px;height:42px;border-radius:50%;background:var(--t);color:#FFFFFF;display:grid;place-items:center;font-family:var(--titre);font-weight:700;font-size:18px;flex:none}
.ot-e-tete>div:first-of-type{min-width:0}
.ot-e-tete strong{display:block;font-family:var(--titre);font-size:24px;line-height:1.2}
.ot-e-tete small{display:block;font-size:15px;color:var(--g)}
.ot-pol{display:flex;align-items:center;gap:8px;margin-left:auto;flex:none}
.ot-segs{display:flex;gap:6px}
.ot-seg{min-width:54px;height:42px;border:0;border-radius:10px;font:inherit;font-weight:700;font-size:16px;cursor:pointer;background:#FFFFFF;transition:transform .15s}
.ot-seg:hover{transform:translateY(-2px)}
.ot-seg-m{box-shadow:inset 0 0 0 2px var(--g);color:var(--g)}
.ot-seg-n{box-shadow:inset 0 0 0 2px var(--gp);color:var(--gt)}
.ot-seg-o{box-shadow:inset 0 0 0 2px var(--t);color:var(--gt)}
.ot-seg-m[aria-pressed="true"]{background:var(--g);color:#FFFFFF}
.ot-seg-n[aria-pressed="true"]{background:var(--gp)}
.ot-seg-o[aria-pressed="true"]{background:var(--t)}
.ot-q{font-family:var(--titre);font-weight:700;font-size:21px;line-height:1.35;color:var(--t);margin:0}
.ot-etape textarea{flex:1;min-height:110px}
.ot-ex{display:flex;align-items:flex-start;gap:12px;font-size:15px;color:var(--g);margin:0}
.ot-ex img{width:34px;height:34px;border-radius:50%;object-fit:cover;flex:none}
.ot-ex b{color:var(--gt)}

/* Capsule C : départ et nouveau, en couleurs */
.ot-liste{list-style:none;margin:4px 0 0;padding:0;display:grid;gap:6px}
.ot-ligne{width:100%;border:0;font:inherit;text-align:left;display:flex;align-items:center;gap:10px;padding:6px 10px 6px 6px;border-radius:14px;background:none;cursor:pointer;color:var(--gt)}
.ot-ligne:hover{background:#FFFFFF}
.ot-ligne[aria-current="true"]{background:#FFFFFF;box-shadow:0 4px 12px rgba(81,81,81,.12)}
.ot-ligne .ot-tx{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.ot-ligne .ot-d{font-size:14px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
.ot-ligne .ot-nv{align-self:flex-start;max-width:100%;font-size:13px;font-weight:700;line-height:1.35;background:var(--t);border-radius:6px;padding:1px 8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
.ot-ligne .ot-ci{width:28px;height:28px;border-radius:50%;background:#FFFFFF;color:var(--gt);display:grid;place-items:center;flex:none;box-shadow:inset 0 0 0 2px var(--gp)}
.ot-ligne .ot-ci svg{width:13px;height:13px}
.ot-ligne:hover .ot-ci{background:var(--j);box-shadow:none}

/* Contenu C : changer une composante */
.ot-pan{display:flex;flex-direction:column;gap:16px;flex:1;min-height:0}
.ot-pan-vide{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:12px;color:var(--g);font-size:17px}
.ot-pan-vide .ot-lab-i{width:56px;height:56px;background:var(--j);color:var(--gt)}
.ot-pan-vide .ot-lab-i svg{width:24px;height:24px}
.ot-dep{border-radius:16px;padding:14px 18px;background:var(--gf)}
.ot-dep[data-p="m"]{background:var(--g);color:#FFFFFF}
.ot-dep[data-p="n"]{background:var(--gp)}
.ot-dep[data-p="o"]{background:var(--t)}
.ot-dep-l{display:flex;justify-content:space-between;align-items:center;margin:0 0 4px;font-family:var(--titre);font-weight:700;font-size:12px;letter-spacing:.08em;text-transform:uppercase;opacity:.9}
.ot-dep-l .ot-pt{background:#FFFFFF;color:var(--gt)}
.ot-dep p:last-child{margin:0;font-family:var(--titre);font-weight:700;font-size:19px;line-height:1.35}
.ot-aides{display:flex;gap:6px;background:var(--gf);border-radius:999px;padding:4px;align-self:flex-start}
.ot-aides button{border:0;background:none;font:inherit;font-weight:700;font-size:15px;color:var(--g);padding:8px 16px;border-radius:999px;cursor:pointer}
.ot-aides button[aria-pressed="true"]{background:#FFFFFF;color:var(--gt);box-shadow:0 2px 8px rgba(81,81,81,.12)}
.ot-gestes{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.ot-gestes li{background:var(--gf);border-radius:12px;padding:10px 14px;font-size:15px}
.ot-gestes .ot-let{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--g);color:#FFFFFF;font-weight:700;font-size:12px;margin-right:8px}
.ot-gestes textarea{margin-top:6px;min-height:0;height:46px;font-size:15px;padding:8px 12px}
.ot-gestes .ot-fin{display:block;margin-top:4px;font-weight:700;color:var(--t)}
.ot-case textarea{min-height:80px}
.ot-btns{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.ot-retour{display:inline-flex;align-items:center;gap:6px;border:0;background:none;font:inherit;font-size:15px;font-weight:700;color:var(--gt);text-decoration:underline;text-underline-offset:3px;cursor:pointer;padding:0}
.ot-retour svg{width:16px;height:16px}

/* Capsule D : l'histoire de départ */
.ot-avant{background:#FFFFFF;border-radius:14px;padding:14px 16px;overflow:auto}
.ot-avant-t{margin:0 0 6px;font-family:var(--titre);font-weight:700;font-size:15px}
.ot-avant p:last-child{margin:0;font-size:15px;white-space:pre-wrap}
.ot-vide-c{color:var(--g);font-style:italic}
.ot-garde{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 12px 12px 18px;border-radius:16px;background:var(--gf)}
.ot-garde p{margin:0;display:flex;align-items:center}
.btn-p{padding:9px 18px;font-size:15px}

/* Introduction */
.ot-intro{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.ot-int-g{padding:48px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:18px}
.ot-int-g h1{font-size:40px}
.ot-int-p{font-size:19px;margin:0;max-width:440px}
.ot-conf{display:flex;align-items:center;gap:8px;margin:8px 0 0;font-size:14px;color:var(--g)}
.ot-conf svg{width:16px;height:16px}
.ot-int-d{background:var(--tf);padding:40px 44px;display:flex;flex-direction:column;justify-content:center;gap:14px}
.ot-int-t{margin:0;font-family:var(--titre);font-weight:700;font-size:20px}
.ot-int-t2{margin-top:12px}
.ot-int-l{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.ot-int-l li{display:flex;align-items:flex-start;gap:14px;font-size:16px;line-height:1.5}
.ot-ii{width:36px;height:36px;border-radius:50%;background:var(--g);color:#FFFFFF;display:grid;place-items:center;flex:none}
.ot-ii svg{width:17px;height:17px}
.ot-int-n{margin:8px 0 0;font-size:15px;color:var(--g);display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.ot-b-demo{cursor:default}

/* iPhone et petits écrans : on défile, mais la capsule reste courte */
@media (max-width:860px){
  .ot-in{padding:0 12px}
  .ot-barre .ot-in{flex-direction:column;align-items:stretch;gap:6px;height:auto;padding-top:8px;padding-bottom:8px}
  .ot-ong{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}
  .ot-o{padding:8px 4px;font-size:14px;min-width:0}
  .ot-o .ot-t{display:none}
  .ot-o .ot-c{display:inline}
  .ot-score{align-self:center}
  .ot-s-b{min-width:64px;padding:2px 10px}
  .ot-s-b b{font-size:18px}
  .ot-zone{padding:12px 0 96px}
  .ot-ecran,.ot-intro{grid-template-columns:1fr;height:auto;min-height:0;border-radius:20px}
  .ot-cap{padding:18px 16px;gap:10px}
  .ot-cap h2{font-size:22px}
  .ot-cont{padding:18px 16px}
  .ot-ronds{grid-template-columns:repeat(8,1fr);gap:2px}
  .ot-rond{flex-direction:column;padding:4px 0;gap:0;border-radius:12px}
  .ot-rond .ot-nm{display:none}
  .ot-leg-cap{margin-top:4px}
  .ot-e-tete{flex-wrap:wrap}
  .ot-e-tete>div:first-of-type{flex:1 1 calc(100% - 60px)}
  .ot-pol{margin-left:0;width:100%}
  .ot-segs{flex:1}.ot-seg{flex:1}
  .ot-etape textarea{min-height:120px}
  .ot-ligne .ot-d{-webkit-line-clamp:2}
  .ot-int-g,.ot-int-d{padding:24px 18px}
  .ot-int-g h1{font-size:30px}
  .ot-garde{flex-wrap:wrap}
  .ot-garde .ot-btns{width:100%}
  .ot-garde .btn{flex:1;justify-content:center}
  .ot-grand textarea{min-height:200px}
}
/* Ajustements après vérification : la barre se colle sous l'en-tête de Mon espace ; le panneau C défile au besoin sans cacher le bouton */
.ot-barre{top:calc(var(--haut) + var(--bandeau,0px))}
.ot-pan{flex:0 0 auto}
.ot-cont>.ot-pied{padding-top:4px}
.ot-leg-cap{gap:6px 12px}
@media (min-width:861px){.ot-leg-cap{flex-wrap:nowrap}}
@media (max-width:860px){.ot-aides{align-self:stretch}.ot-aides button{flex:1;padding:8px 6px;font-size:14px}}

/* ===== Version 14 (16 nov. 2026, 18 h 05) ===== */
/* Sur ordinateur, l'outil remplit l'écran : pas de pied de page, aucun défilement (le pied reste sur iPhone) */
@media (min-width:861px){
  .ot-ouvert .es-pied{display:none}
  .ot-ouvert body{overflow:hidden}
  .ot{height:calc(100vh - var(--haut) - var(--bandeau,0px));display:flex;flex-direction:column}
  .ot-zone{flex:1;min-height:0;padding:14px 0 16px}
  .ot-zone>.ot-in{height:100%}
  .ot-ecran{height:100%;min-height:0}
}
/* En haut : la pastille de l'outil, des menus plus étroits */
.ot-barre{top:calc(var(--haut) + var(--bandeau,0px))}
.ot-barre .ot-in{height:56px;gap:16px}
.ot-quoi{display:inline-flex;align-items:center;gap:8px;flex:none;background:var(--g);color:#FFFFFF;border-radius:999px;padding:6px 14px 6px 10px;font-family:var(--titre);font-weight:700;font-size:14px;white-space:nowrap}
.ot-quoi svg{width:16px;height:16px}
.ot-ong{flex:1;justify-content:center;gap:2px}
.ot-o{font-size:15px;padding:8px 14px}
/* iPhone : les 4 onglets tiennent sans être coupés (revue Design F2) ; placé après la règle ci-dessus pour la remplacer */
@media (max-width:860px){.ot-ong{grid-template-columns:repeat(4,auto);justify-content:space-between;gap:2px}.ot-o{padding:8px 6px;font-size:14px;min-height:44px}}
.ot-s-b{min-width:62px;padding:2px 10px}
.ot-s-b b{font-size:19px}
.ot-s-b small{font-size:10px}
/* Capsule plus étroite, sans titre (le titre est dans le menu) */
.ot-ecran{grid-template-columns:minmax(0,30%) minmax(0,1fr)}
.ot-intro{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.ot-cap{padding:24px 22px;gap:10px}
.ot-cap>p{font-size:16px}
.ot-cont{padding:24px 28px;overflow:hidden}
.ot-cap{overflow:hidden}
.ot-avant{overflow:hidden}
.ot-avant p:last-child{font-size:14px;line-height:1.5}
/* Bulles d'aide en jaune */
.ot-b-i{background:var(--j)!important;color:var(--gt)}
.ot-b-i:hover,.ot-b.ouvert .ot-b-i{background:var(--gt)!important;color:#FFFFFF}
/* Nouveau schéma : la composante choisie est en jaune à gauche et se lit en entier */
.ot-ligne[aria-current="true"]{background:var(--j);box-shadow:none}
.ot-ligne[aria-current="true"] .ot-d{-webkit-line-clamp:4}
.ot-ligne[aria-current="true"] .ot-ci{box-shadow:none}
.ot-e-petit strong{font-size:20px}
.ot-e-petit .num{width:34px;height:34px;font-size:15px}
.ot-case-z{position:relative;display:block}
.ot-case-z textarea{min-height:96px;padding-right:64px}
.ot-case-z .ot-pt{position:absolute;top:12px;right:12px}
.ot-aide2{display:flex;gap:10px;align-items:center}
.ot-aide2 select{flex:1;min-width:0;font-size:15px;padding-top:9px;padding-bottom:9px}
.ot-aide2 .btn{flex:none;white-space:nowrap}
.ot-aide2 .btn[aria-pressed="true"]{box-shadow:inset 0 0 0 2px var(--t)}
.ot-outil{border:0;border-radius:16px;background:var(--gf);padding:12px 14px}
.ot-outil-h{display:flex;align-items:center;justify-content:space-between;margin:0 0 8px;font-family:var(--titre);font-size:16px}
.ot-x{width:28px;height:28px;border-radius:50%;border:0;background:#FFFFFF;font-size:18px;line-height:1;cursor:pointer}
.ot-outil .ot-gestes li{background:#FFFFFF;padding:8px 12px;font-size:14px}
.ot-outil .ot-gestes textarea{height:40px;font-size:14px;padding:6px 10px}
@media (max-width:860px){
  .ot-barre .ot-in{height:auto}
  .ot-quoi{align-self:center;font-size:13px;padding:4px 12px 4px 8px}
  .ot-ecran{grid-template-columns:1fr}
  .ot-cont,.ot-cap,.ot-avant{overflow:visible}
  .ot-aide2{flex-direction:column;align-items:stretch}
}
.ot-pan{flex:1 1 auto}
.ot-btns-bas{margin-top:auto}
.ot-case-z textarea{min-height:72px}
.ot-b-h .ot-b-t{top:auto;bottom:calc(100% + 10px)}
.ot-b-h .ot-b-t::before{top:auto;bottom:-6px}
/* Petits écrans d'ordinateur : on resserre, et en dernier recours la carte défile plutôt que de couper le texte */
@media (min-width:861px) and (max-height:780px){
  .ot-cap,.ot-cont{padding-top:16px;padding-bottom:16px}
  .ot-cont{gap:12px}
  .ot-ligne{padding:3px 8px 3px 4px}
  .ot-ligne .ot-n,.ot-rond .ot-n{width:28px;height:28px;font-size:13px}
  .ot-liste,.ot-ronds{gap:2px}
  .ot-q{font-size:18px}
  .ot-outil .ot-gestes textarea{height:34px}
  .ot-cont,.ot-cap{overflow:auto}
}
@media (max-width:860px){
  .ot-barre .ot-in{flex-direction:row;flex-wrap:wrap;justify-content:space-between;align-items:center}
  .ot-ong{order:-1;flex:1 1 100%}
  .ot-quoi{align-self:auto}
  .ot-score{align-self:auto}
  .ot-case-z textarea{min-height:120px}
  .ot-grand textarea{min-height:240px}
}
@media (max-width:860px){.ot-s-b{min-width:48px;padding:2px 6px}.ot-s-b b{font-size:16px}.ot-quoi{font-size:12px;padding:4px 10px 4px 8px;gap:6px}.ot-quoi svg{width:14px;height:14px}.ot-barre .ot-in{gap:6px}}

/* ===== Version 15 (16 nov. 2026, 18 h 18) ===== */
/* La consigne dans son propre bloc, plus visible que l'exemple de Martine */
.ot-cs{background:#FFFFFF;border-radius:16px;padding:14px 16px;box-shadow:0 4px 14px rgba(81,81,81,.08)}
.ot-cs-t{margin:0 0 4px!important;font-family:var(--titre);font-weight:700;font-size:13px!important;letter-spacing:.1em;text-transform:uppercase;color:var(--j)!important}
.ot-cs p:last-child{margin:0;font-family:var(--titre);font-weight:700;font-size:18px;line-height:1.35;color:var(--gt)}
details.ot-pli{background:transparent;padding:6px 2px}
details.ot-pli summary{font-size:15px;color:var(--g)}
/* La composante choisie : jaune pâle avec un contour jaune (plus de fond jaune vif) */
.ot-ligne[aria-current="true"]{background:var(--jp);box-shadow:inset 0 0 0 2px var(--j)}
/* Le panneau : question, deux choix, l'outil au besoin, la case toujours en bas */
.ot-pan{gap:14px}
.ot-outil{display:flex;flex-direction:column;gap:8px}
.ot-geste{display:flex;flex-direction:column;gap:8px;font-size:15px}
.ot-geste textarea{min-height:110px;font-size:15px}
.ot-case{margin-top:auto;display:flex;flex-direction:column;gap:8px;padding-top:4px}
.ot-case .ot-lab{font-size:17px;gap:8px}
.ot-case-z{display:flex;gap:10px;align-items:stretch}
.ot-case-z textarea{flex:1;min-height:84px;padding-right:16px}
.ot-case-z .ot-pt{position:static}
.ot-case-b{display:flex;flex-direction:column;gap:8px;justify-content:flex-start}
.ot-ico{width:44px;height:44px;border-radius:50%;border:0;display:grid;place-items:center;background:#FFFFFF;color:var(--gt);box-shadow:inset 0 0 0 2px var(--gp);cursor:pointer;transition:transform .15s,box-shadow .15s}
.ot-ico:hover{transform:translateY(-2px);box-shadow:inset 0 0 0 2px var(--t)}
.ot-ico svg{width:20px;height:20px}
.ot-ico-ok{background:var(--t);color:#FFFFFF;box-shadow:none}
.ot-ico-ok:hover{box-shadow:0 8px 20px rgba(43,191,188,.4)}
.ot-cont{padding-bottom:28px}
@media (max-width:860px){.ot-case-z textarea{min-height:120px}}

/* ===== Version 16 (16 nov. 2026, 18 h 27) ===== */
/* Consigne : sur fond jaune, plus petite, sans le mot « Consigne » */
.ot-cs{margin:0;background:var(--j);border-radius:14px;padding:12px 14px;box-shadow:none;font-family:var(--titre);font-weight:700;font-size:15px!important;line-height:1.4;color:var(--gt)!important}
/* Précédent et suivant : seulement des flèches */
.ot-fl{width:48px;height:48px;border-radius:50%;border:0;display:grid;place-items:center;cursor:pointer;background:#FFFFFF;color:var(--gt);box-shadow:inset 0 0 0 2px var(--gp);transition:transform .15s,box-shadow .15s}
.ot-fl svg{width:22px;height:22px}
.ot-fl:hover{transform:translateY(-2px);box-shadow:inset 0 0 0 2px var(--t)}
.ot-fl-s{background:var(--t);color:#FFFFFF;box-shadow:none;margin-left:auto}
.ot-fl-s:hover{box-shadow:0 8px 20px rgba(43,191,188,.4)}
/* Pointage : une seule capsule, lisible d'un coup d'œil */
.ot-score{gap:10px;align-items:center;background:#FFFFFF;border-radius:999px;padding:5px 6px 5px 16px;box-shadow:0 6px 18px rgba(81,81,81,.14)}
.ot-s-t{font-family:var(--titre);font-weight:700;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--g)}
.ot-s-b{background:none;min-width:0;padding:0;flex-direction:column;line-height:1}
.ot-s-b b{font-size:22px}
.ot-s-b small,.ot-s-g small{font-size:10px;letter-spacing:.04em;text-transform:none;font-weight:700;color:var(--g);margin-top:1px}
.ot-s-fl{color:var(--gp);display:grid;place-items:center}
.ot-s-fl svg{width:18px;height:18px}
.ot-s-g{display:flex;flex-direction:column;align-items:center;justify-content:center;background:var(--j);border-radius:999px;padding:5px 16px;line-height:1}
.ot-s-g b{font-family:var(--titre);font-size:22px;color:var(--gt)}
.ot-s-g small{color:var(--gt)}
/* Icône « touche la polarité » (schéma) */
.ot-touche{width:30px;height:30px;border-radius:50%;background:var(--j);color:var(--gt);display:grid;place-items:center;flex:none;transition:opacity .2s}
.ot-touche svg{width:16px;height:16px}
.ot-pol.choisi .ot-touche{opacity:0}
/* Nouveau schéma : une seule composante par ligne ; l'outil à gauche, les exemples à droite */
.ot-ligne .ot-d{-webkit-line-clamp:2}
.ot-aide2 .btn{order:0}
/* Nouvelle histoire : icônes à gauche, phrase à droite en petit */
.ot-garde{justify-content:flex-start;gap:14px;padding:10px 16px 10px 10px}
.ot-garde .ot-btns{flex-direction:row;gap:8px;width:auto!important}
.ot-garde p{font-size:14px;color:var(--g)}
.ot-garde .ot-ico{width:40px;height:40px}
.ot-cap details.ot-pli p{max-height:none}
@media (max-width:860px){
  .ot-score{padding:4px 4px 4px 12px;gap:8px}
  .ot-s-t{display:none}
  .ot-s-b b,.ot-s-g b{font-size:17px}
  .ot-s-g{padding:4px 12px}
  .ot-garde .ot-btns{width:auto!important}
  .ot-garde .btn{flex:none}
}

/* ===== Version 17 (16 nov. 2026, 18 h 47) ===== */
/* L'outil de l'étape : une phrase claire, des petites cases nommées, une phrase qui mène à la case du bas */
.ot-g-intro{margin:0;font-size:15px;color:var(--gt);font-weight:700}
.ot-g-cases{display:grid;grid-template-columns:1fr 1fr;gap:8px 10px}
.ot-g-cases.trois{grid-template-columns:1fr 1fr 1fr}
.ot-geste{gap:4px;font-size:14px}
.ot-geste span{color:var(--g)}
.ot-geste b{color:var(--gt)}
.ot-geste textarea{min-height:0;height:58px;font-size:14px;padding:6px 10px}
.ot-g-fin{margin:0;font-size:14px;font-weight:700;color:var(--t)}
/* Les icônes Garder et Revenir, centrées sur la hauteur de la case */
.ot-case-b{justify-content:center}
@media (max-width:860px){
  .ot-g-cases,.ot-g-cases.trois{grid-template-columns:1fr}
  /* iPhone : la pastille de l'outil et le pointage en haut, le menu en dessous */
  .ot-ong{order:2}
  .ot-quoi{order:0}
  .ot-score{order:1}
}
@media (min-width:861px) and (max-height:780px){.ot-geste textarea{height:44px}.ot-outil{gap:6px}}

/* ===== Version 18 (16 nov. 2026, 19 h 35) ===== */
/* Les lignes vont jusqu'au bout : pas de coupure « jolie » qui raccourcit les lignes dans l'outil */
.ot,.ot *{text-wrap-style:auto}
.ot-int-l li span,.ot-int-p,.ot-cs{text-wrap-style:auto}
/* Introduction : le bouton Commencer vient après « Comment faire » */
.ot-go{align-self:flex-start;margin-top:8px}
/* La pastille de l'outil ramène à l'introduction */
button.ot-quoi{border:0;cursor:pointer;transition:transform .15s,box-shadow .15s}
button.ot-quoi:hover{transform:translateY(-1px);box-shadow:0 6px 16px rgba(81,81,81,.25)}
/* Nouveau schéma : le nom de l'outil en turquoise, plus visible */
.ot-outil-h b{display:inline-flex;align-items:center;gap:8px;color:var(--t);font-size:19px}
.ot-outil-h b svg{width:20px;height:20px}
/* La composante choisie : carte blanche avec ombre, plus de fond jaune */
.ot-ligne[aria-current="true"]{background:#FFFFFF;box-shadow:0 4px 14px rgba(81,81,81,.14)}
/* iPhone : moins d'espace entre la carte et le bas de la page */
@media (max-width:860px){
  .ot-zone{padding-bottom:12px}
  .es-pied{margin-top:8px}
}
@media (max-width:860px){.ot{min-height:0}.ot-garde{flex-wrap:nowrap}.ot-garde p{font-size:13px}}
@media (max-width:860px){main.ot{padding-bottom:0}}

/* ===== Version 19 : aucun saut de ligne avant la fin de la ligne =====
   Règle : l'espace insécable sert seulement à la typographie (avant : ? ! » et après «), jamais à coller deux mots.
   Les lignes vont jusqu'au bout ; seule la bulle d'aide reste collée au dernier mot de la question. */
.ot-nw{white-space:nowrap}
.ot-geste{gap:4px}
.ot-geste b{font-size:14px}
.ot-geste textarea::placeholder{font-size:13px}
/* La bulle de la question est placée en haut à droite : elle ne pousse aucun mot à la ligne */
.ot-q-b{position:relative;padding-right:36px}
.ot-q-b>.ot-b{position:absolute;top:2px;right:0;margin:0}
.ot-int-n{display:block}
.ot-int-n .ot-b-i{display:inline-grid;vertical-align:middle;margin:0 2px}
.ot-garde p{display:block}.ot-garde p .ot-b{vertical-align:middle}
/* Version 20 : un peu plus d'espace de chaque côté et en bas, dans la carte de l'outil de l'étape */
.ot-outil{padding:14px 22px 20px}
@media (max-width:860px){.ot-outil{padding:12px 16px 18px}}

/* ===== Site (bloc F2) : ce que la maquette ne montrait pas ===== */
@media (max-width:760px){:root{--haut:60px}}
/* Cadre légal, discret, sous la confidentialité de l'introduction */
.ot-cadre{font-size:13px;color:var(--g);margin:0}
/* Lien de secours et message du PDF fait sur iPhone (assets/pdf-page.js les place après le bouton) */
.ot-garde .pdf-secours{font-size:14px;font-weight:700;color:var(--gt);text-decoration:underline;text-underline-offset:3px}
.ot-garde .pdf-message{font-size:14px;color:var(--g)}
/* Rien à proposer (contenu pas encore déposé dans l'onglet) : la ligne d'aide disparaît */
.ot-aide2:empty{display:none}

/* ===== Version imprimée : 2 pages lettre (+ la feuille de la semaine d'un Outil i+ par étape changée) ===== */
.impression{display:none}
.impression [data-pol]::before{content:"";display:inline-block;width:10px;height:10px;border-radius:5px;margin-right:8px;vertical-align:baseline;background:#DFDFDF;print-color-adjust:exact;-webkit-print-color-adjust:exact}
.impression [data-pol="-1"]::before{background:#515151}
.impression [data-pol="1"]::before{background:#2BBFBC}
.impression .logo-i{width:.55em;height:1.5em;vertical-align:-.2em;fill:#515151}
@media print{
  @page{size:letter;margin:0}
  html,body{background:#FFFFFF!important;color:#515151!important;font-size:10.5pt;line-height:1.35;overflow:visible!important;height:auto!important}
  body > *:not(#schemaOutil),#schemaOutil > *:not(.impression),.aide,.es-pied{display:none!important}
  #schemaOutil{display:block!important;height:auto!important;background:none!important}
  .impression{display:block;max-width:none;padding:0;margin:0}
  .impression h2{font-family:var(--titre);font-size:12.5pt;color:#515151;margin:9pt 0 3pt;break-after:avoid}
  .imp-titre{font-family:var(--titre);font-weight:800;font-size:17pt;color:#515151;margin:0;display:flex;justify-content:space-between;align-items:center;border-bottom:2pt solid #2BBFBC;padding-bottom:4pt;print-color-adjust:exact;-webkit-print-color-adjust:exact}
  .imp-logo{display:block;height:28pt;width:auto}
  .imp-marque{display:flex;align-items:center;gap:10pt}
  .imp-date{font-family:var(--texte);font-weight:400;font-size:9pt;color:#515151}
  .imp-sous{font-family:var(--texte);font-weight:400;font-size:11pt;color:#515151}
  .imp-page-2{break-before:page}
  .imp-page{display:flex;flex-direction:column;box-sizing:border-box;min-height:277mm;padding:12mm 15mm}
  .imp-grandit{flex:1 0 auto;min-height:24mm;line-height:8mm;background-image:linear-gradient(to top,#DFDFDF 0.75pt,transparent 0.75pt);background-size:100% 8mm;background-repeat:repeat-y;print-color-adjust:exact;-webkit-print-color-adjust:exact}
  .imp-texte{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
  .imp-table{width:100%;border-collapse:collapse;font-size:11pt;break-inside:avoid}
  .imp-table col.c-etape{width:78pt}
  .imp-table col.c-pts{width:40pt}
  .imp-table td{border-bottom:0.75pt solid #DFDFDF;padding:6pt 6pt;vertical-align:top;overflow-wrap:anywhere}
  .imp-etape{font-size:9pt;color:#515151;padding-top:5pt!important}
  .imp-pts{text-align:right;white-space:nowrap}
  .imp-table tr.modifiee td{font-weight:700}
  .imp-table tfoot td{font-weight:800;border-bottom:none;border-top:1.25pt solid #515151}
  .imp-gain{margin:4pt 0 0;font-weight:700;color:#515151;text-align:right}
}
.ot-pan-p{font-size:15px;margin:0}
/* iPhone : la composante touchée fait défiler jusqu'au panneau, sous l'en-tête et la barre de l'outil (collés en haut) */
@media (max-width:860px){.ot-pan{scroll-margin-top:calc(var(--haut) + var(--bandeau,0px) + 112px)}}
/* Petits téléphones (320 à 360 px) : rien ne dépasse de l'écran */
@media (max-width:860px){.ot-ronds{grid-template-columns:repeat(8,minmax(0,1fr))}}
@media (max-width:360px){
  .es-nav a{font-size:11px;padding:6px 2px;min-width:0}
  .ot-ong{grid-template-columns:repeat(4,auto);justify-content:space-between}
  .ot-o{font-size:12px;padding:6px 4px}
  .ot-rond .ot-n{width:28px;height:28px;font-size:13px}
  .ot-cap,.ot-cont{padding-left:12px;padding-right:12px}
}
/* iPhone : une bulle d'aide ouverte s'affiche en entier au-dessus de la barre du bas (jamais coupée par le bord de la carte) */
@media (max-width:860px){
  .ot-b-t{position:fixed;left:16px;right:16px;top:auto;bottom:calc(88px + env(safe-area-inset-bottom));width:auto;z-index:90}
  .ot-b-t::before{display:none}
  .ot-b-h .ot-b-t{top:auto;bottom:calc(88px + env(safe-area-inset-bottom))}
}
/* iPhone : les champs à 16 px au moins (sous 16 px, Safari grossit la page quand on touche un champ) */
@media (max-width:860px){.ot textarea,.ot select,.ot-aide2 select,.ot-geste textarea{font-size:16px}.ot-geste textarea::placeholder{font-size:14px}}
