/* Produit par outils/paquets.py à partir de static/polices.css et static/css : ne se retouche pas à la main. */

/* ---------------------------------------------------------------- polices.css */
/* Outfit, police géométrique libre (licence SIL Open Font) proche de la Nexa de la charte Cerfrance, variable et
   embarquée : aucune ressource externe n'est chargée. Le jeu latin est préchargé par la page (base.html).

   Tant qu'Outfit n'est pas arrivée, le texte s'affiche dans « Outfit repli » : Arial (ou ses équivalents aux mêmes
   chasses, Liberation Sans et Arimo) ajustée aux métriques d'Outfit, pour que rien ne bouge au remplacement.
   Mesures (6 novembre 2026, fontTools et Chromium) : Outfit a 1 000 unités par cadratin, une hauteur au-dessus de la
   ligne de base de 1 000, au-dessous de 260, sans interligne ; à texte égal, Outfit 400 et 500 occupent 97,7 % de la
   largeur d'Arial, Outfit 600 et 700 93,0 % de celle d'Arial gras (écart restant sous 0,3 %). Les débordements
   compensent l'ajustement : 100 / 0,977 = 102,35 %, 26 / 0,977 = 26,61 % ; 100 / 0,93 = 107,53 %, 26 / 0,93 = 27,96 %. */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../polices/Outfit-latin-ext.woff2?v=0f53d1c03b) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../polices/Outfit-latin.woff2?v=6c18d579fd) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Outfit repli'; font-style: normal; font-weight: 100 550; src: local('Arial'), local('ArialMT'), local('Liberation Sans'), local('Arimo');
             size-adjust: 97.7%; ascent-override: 102.35%; descent-override: 26.61%; line-gap-override: 0%; }
@font-face { font-family: 'Outfit repli'; font-style: normal; font-weight: 551 900; src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold'), local('Arimo Bold');
             size-adjust: 93%; ascent-override: 107.53%; descent-override: 27.96%; line-gap-override: 0%; }

/* ---------------------------------------------------------------- css/jetons.css */
/* Trousseau, jetons.css : les jetons du système visuel. Tout le reste s'y réfère : on change l'apparence ici.

   Le parti : Trousseau est le service transverse du réseau, celui que chaque Cerfrance pourra brancher sur ses propres
   applications. Il porte donc la charte Cerfrance, et rien d'autre : le thème du masque 2026 (jaune F8B334, orange
   E7511E, vert 00A096, leurs versions foncées B47B0A, 9B2E1A, 00534C, le gris 494C4A du texte, le gris très clair
   F7F6F5 du fond), des cadres blancs arrondis posés sur ce fond, des titres noirs, et une police géométrique proche de
   Nexa (Outfit, libre). Chaque couleur a un rôle et un seul : le jaune pour l'action principale et ce qui est actif
   ou choisi, le vert pour les liens et ce qui va bien, l'orange et le rouge foncé pour ce qui ne va pas, le gris pour
   tout le reste. Filets de 1 px, pas d'ombre portée, rayons de 6 à 14 px.
   Aucune règle ne passe par un enfant direct : chaque partie d'un composant porte sa classe.

   Les feuilles, dans l'ordre de la cascade : jetons, base, composants, coque, contenu, porte, doc, adaptations. Elles
   sont servies en un seul paquet versionné (outils/paquets.py), précédé de polices.css.

   Les seuils. La mise en page de la coque et des grilles change à trois largeurs de fenêtre, et à celles-là seulement
   (une requête @media ne lit pas les variables : les valeurs sont écrites, et le contrôle rapide refuse toute autre) :
     téléphone      jusqu'à 639 px    une colonne ; menu en tiroir
     tablette       jusqu'à 1023 px   menu en tiroir ; grilles à une ou deux colonnes
     poste étroit   jusqu'à 1279 px   menu replié de lui-même ; grilles de quatre à deux colonnes
   et une hauteur, écran bas (jusqu'à 800 px), qui resserre le menu et la porte.
   Un composant ne regarde pas la fenêtre mais la place qu'on lui donne : requêtes de conteneur (@container) sur les
   conteneurs posés par la coque et les composants (.page, .coque-g, .carte, .carte-p, .grille, .tab-z, .volet-corps,
   .dlg-corps, .doc-art), avec des seuils pris dans l'échelle 360, 480, 560, 640, 720, 840, 1000, 1100 px. Ses règles
   d'adaptation s'écrivent à côté de sa définition. */

/* ================================================================ jetons */
:root {
  /* les neutres : le fond du masque, des cadres blancs, des filets discrets */
  --fond: #F7F6F5; --surface: #FFFFFF; --surface-2: #FBFAF9; --survol: #F1F0EE; --appuye: #E8E6E3;
  --filet: #E4E2DE; --filet-2: #EEECE9; --filet-fort: #CFCCC7; --bord-champ: #8E908C;
  /* le texte : titres noirs, texte gris foncé de la charte, mentions plus claires */
  --encre: #111111; --encre-2: #494C4A; --encre-3: #5C5F5C; --encre-4: #6E716E;
  /* le thème Cerfrance */
  --jaune: #F8B334; --jaune-fort: #E9A524; --jaune-pale: #FDF1D6; --jaune-texte: #8A5E07; --jaune-filet: #F3D58E; --miel: #FEF7E6;
  --vert: #00A096; --vert-fort: #00534C; --vert-texte: #007A72; --vert-pale: #E4F3F1; --vert-filet: #B4DED9;
  /* le voile vert de la bannière d'information, et la barre de défilement des zones (navigation, 9.4) */
  --vert-voile: #EEF4F3; --vert-voile-filet: #D3E4E1; --defile: #C9C5BF; --defile-fort: #A9A59F;
  --orange: #E7511E; --rouge: #9B2E1A; --rouge-pale: #FBE7DD; --rouge-filet: #F2C2AE;
  /* les rôles */
  --accent: var(--vert-fort); --accent-fort: #003A35; --accent-pale: var(--vert-pale); --accent-filet: var(--vert-filet);
  --ok: var(--vert-texte); --ok-point: var(--vert); --ok-pale: var(--vert-pale); --ok-filet: var(--vert-filet);
  --ko: var(--rouge); --ko-point: var(--orange); --ko-pale: var(--rouge-pale); --ko-filet: var(--rouge-filet);
  --info: var(--encre-2); --info-pale: var(--survol); --info-filet: var(--filet);
  /* le texte : sept tailles, pas une de plus (taille et interligne) */
  --t-xs: 12px; --t-s: 13px; --t-m: 14px; --t-l: 16px; --t-xl: 20px; --t-2xl: 24px; --t-3xl: 32px;
  --i-xs: 16px; --i-s: 18px; --i-m: 20px; --i-l: 24px; --i-xl: 28px; --i-2xl: 32px; --i-3xl: 40px;
  /* les espacements, sur une grille de 4 ; les demi-pas (2, 6, 10, 14, 18 px) servent les réglages fins des contrôles et
     des listes, les grands pas (28, 40, 56 px) les marges des pages et des états vides */
  --e-1: 4px; --e-2: 8px; --e-3: 12px; --e-4: 16px; --e-5: 20px; --e-6: 24px; --e-7: 32px; --e-8: 48px;
  --e-05: 2px; --e-15: 6px; --e-25: 10px; --e-35: 14px; --e-45: 18px; --e-65: 28px; --e-75: 40px; --e-9: 56px;
  /* trois hauteurs de contrôle : dans un tableau, courante, porte et formulaires de création ; et le code à six chiffres */
  --h-s: 28px; --h-m: 32px; --h-l: 40px; --h-code: 52px;
  /* deux durées */
  --d-court: .12s; --d-long: .2s;
  /* la coque */
  --haut: 56px; --menu: 256px;
  --r-s: 6px; --r: 8px; --r-g: 12px;
  --ombre-carte: none;
  --ombre-carte-2: 0 1px 2px rgba(17, 17, 17, .04), 0 10px 24px -14px rgba(17, 17, 17, .14);
  --ombre-pop: 0 0 0 1px rgba(17, 17, 17, .06), 0 4px 12px rgba(17, 17, 17, .08), 0 18px 40px rgba(17, 17, 17, .10);
  --ombre-panneau: -12px 0 40px rgba(17, 17, 17, .16);
  --anneau: 0 0 0 1px var(--surface), 0 0 0 3px #B47B0A;   /* jaune foncé de la charte : 3,6:1 sur blanc */
  --sans: 'Outfit', 'Outfit repli', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --titre: 'Outfit', 'Outfit repli', 'Segoe UI', system-ui, sans-serif;
  --mono: ui-monospace, 'Cascadia Mono', 'Consolas', 'SFMono-Regular', monospace;
  --doux: cubic-bezier(.2, .7, .2, 1);
}

/* ---------------------------------------------------------------- css/base.css */
/* Trousseau, base.css : la base : remise à zéro, typographie, liens, accessibilité (focus, évitement, texte réservé
   aux lecteurs d'écran), et les entrées de page. */

/* ================================================================ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; }
body { font: 400 14.5px/1.5 var(--sans); color: var(--encre-2); background: var(--fond); -webkit-font-smoothing: antialiased; font-feature-settings: 'tnum' 0; }
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; }
h1, h2, h3 { font-family: var(--titre); font-weight: 600; letter-spacing: -0.015em; color: var(--encre); }
ul, ol { padding: 0; list-style: none; }
a { color: var(--accent); text-decoration: none; }
/* le soulignement au survol est réservé aux liens de texte : un lien sans classe, au fil d'une phrase. Un composant
   (bouton, entité, étiquette, carte, ligne de menu) porte toujours sa classe et règle lui-même son survol. */
:where(p, li, dd, td, th, small, figcaption, .avis-t, .aide, .chapo, .note, .pied-c, .faits) a:not([class]):hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
img, svg { display: block; }
code, .mono, pre, kbd, samp { font-family: var(--mono); }
code, .mono { font-size: .9em; }
code { background: var(--survol); border: 1px solid var(--filet-2); border-radius: var(--r-s); padding: 0 5px; overflow-wrap: anywhere; color: var(--encre); }
b, strong { font-weight: 600; color: var(--encre); }
hr { border: 0; border-top: 1px solid var(--filet); margin: 0; }
[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 16px; height: 16px; flex: none; }
:focus-visible { outline: 2px solid var(--jaune-fort); outline-offset: 2px; }
.mut, .estompe { color: var(--encre-3); }
.n, .date, .num { font-variant-numeric: tabular-nums; }
.evitement { position: absolute; left: var(--e-3); top: calc(-1 * var(--e-75)); z-index: 300; background: var(--encre); color: #fff; padding: var(--e-2) var(--e-3); border-radius: var(--r); }
.evitement:focus { top: var(--e-2); }
.kbd { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 5px; border: 1px solid var(--filet-fort); border-bottom-width: 2px; background: var(--surface);
       font: 500 11px/1 var(--sans); color: var(--encre-2); white-space: nowrap; }
/* le surtitre : une courte mention au-dessus d'un titre */
.sur { display: block; font-size: var(--t-xs); font-weight: 500; color: var(--encre-3); }
/* la barre de progression : un trait jaune en haut de la fenêtre pendant que la page suivante se charge */
.progres { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 400; background: var(--jaune); pointer-events: none; opacity: 0; }
.progres.vu { opacity: 1; animation: progres 6s cubic-bezier(.1, .7, .2, 1) forwards; }
@keyframes progres { from { width: 0; } to { width: 92%; } }

/* ---------------------------------------------------------------- css/composants.css */
/* Trousseau, composants.css : Les composants de saisie et d'action : boutons, barre de commandes, champs, cases, choix, interrupteur, liste déroulante, calendrier, infobulle, carte au survol. */

/* ================================================================ boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: var(--h-m); padding: 0 var(--e-35); border-radius: var(--r);
       font: 500 14px/1 var(--sans); white-space: nowrap; border: 1px solid transparent; transition: background var(--d-court), border-color var(--d-court), color var(--d-court);
       user-select: none; position: relative; }
.btn .ico { width: 16px; height: 16px; }
.btn-p { background: var(--jaune); color: var(--encre); font-weight: 600; } .btn-p:hover { background: var(--jaune-fort); } .btn-p:active { background: var(--jaune-fort); transform: translateY(1px); }
.btn-s { background: var(--surface); color: var(--encre); border-color: var(--filet-fort); } .btn-s:hover { background: var(--survol); border-color: #B9B6B0; } .btn-s:active { background: var(--appuye); }
.btn-g { color: var(--encre-2); } .btn-g:hover { background: var(--survol); color: var(--encre); } .btn-g:active { background: var(--appuye); }
.btn-d { background: var(--rouge); color: #fff; } .btn-d:hover { background: #7E2413; }
.btn-ds { background: var(--surface); color: var(--ko); border-color: var(--ko-filet); } .btn-ds:hover { background: var(--ko-pale); }
/* une action de ligne qui retire ou révoque (data-danger, confirmée) se distingue à l'œil de « Modifier » */
.btn-g[data-danger] { color: var(--ko); } .btn-g[data-danger]:hover { background: var(--ko-pale); }
.btn-pt { height: var(--h-s); padding: 0 var(--e-25); font-size: var(--t-m); }
.btn-gd { height: var(--h-l); padding: 0 var(--e-45); font-size: var(--t-l); }
.btn-l { width: 100%; }
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn-ic { width: 34px; padding: 0; } .btn-ic.btn-pt { width: 30px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.btn.copie-ok { background: var(--vert); border-color: var(--vert); color: #fff; }
/* le bouton d'enregistrement d'un formulaire posé dans une page reste discret tant que rien n'a changé ; il redevient
   l'action principale à la première modification (formulaires.js pose .eveille). Sans script, il reste jaune. Un
   assistant (form.assistant) n'attend pas : chacune de ses étapes est valable telle quelle, « Suivant » et
   l'enregistrement final sont l'action principale dès l'affichage. */
@media (scripting: enabled) {
  .page form:not(.eveille, .assistant) .carte-pied .btn-p[type=submit] { background: var(--surface); border-color: var(--filet-fort); font-weight: 500; }
  .page form:not(.eveille, .assistant) .carte-pied .btn-p[type=submit]:hover { background: var(--survol); border-color: #B9B6B0; }
}
.lien { display: inline-flex; align-items: center; gap: var(--e-1); font-weight: 500; font-size: var(--t-s); color: var(--accent); white-space: nowrap; text-underline-offset: 3px; }
.lien:hover { text-decoration: underline; color: var(--accent-fort); }
.lien .ico { width: 14px; height: 14px; }
.lien-s { color: inherit; font-weight: 600; } .lien-s:hover { color: var(--accent); }
.actions { display: flex; gap: var(--e-2); align-items: center; flex-wrap: wrap; }
@keyframes tourne { to { transform: rotate(360deg); } }
@keyframes apparait { from { opacity: 0; } }
@keyframes monte { from { opacity: 0; transform: translateY(4px); } }
@keyframes glisse { from { transform: translateX(100%); } }

/* la barre de commandes : les actions d'une page, à la manière des consoles Microsoft */
/* la barre de commandes n'a pas de cadre : boutons et filtres partagent la ligne de 32 pixels, sur le fond de la page */
.commandes { display: flex; align-items: center; gap: var(--e-1); flex-wrap: wrap; padding: 0; margin: 0 0 var(--e-3); }
.commandes .btn:not(.btn-p) { background: transparent; border-color: transparent; } .commandes .btn:not(.btn-p):hover { background: var(--appuye); }
.commandes .btn { height: var(--h-m); padding: 0 var(--e-25); font-weight: 500; color: var(--encre); }
.commandes .btn-p { font-weight: 600; }
.commandes .sep { width: 1px; height: 20px; background: var(--filet); margin: 0 var(--e-15); }
.commandes .fin { margin-left: auto; display: flex; align-items: center; gap: var(--e-05); }
.commandes .compte-l { padding: 0 var(--e-2); }
/* étroite, la barre ne garde que les pictogrammes de ses boutons secondaires : le libellé reste leur nom (lu par les
   lecteurs d'écran) et l'infobulle (data-bulle) le redit au survol ; l'action principale garde le sien */
@container (max-width: 720px) {
  .commandes .btn:not(.btn-p) .lib-c { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .commandes .btn:not(.btn-p):has(.lib-c) { width: var(--h-m); padding: 0; }
}
/* Mon compte, pour chaque utilisateur et non pour les seuls administrateurs : chaque commande garde son nom, même
   étroite, et la barre passe à la ligne plutôt que de ranger une commande dans « ... » (9.4.0) */
.z-compte .commandes[data-repli] { flex-wrap: wrap; row-gap: var(--e-15); overflow: visible; }
@container (max-width: 480px) { .z-compte .commandes .sep { display: none; } }   /* un filet en bout de ligne ne sépare rien */
@container (max-width: 720px) {
  .z-compte .commandes .btn .lib-c { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .z-compte .commandes .btn:has(.lib-c) { width: auto; padding: 0 var(--e-25); }
}

/* un bouton qui attend la réponse du serveur : le libellé s'efface, une roue tourne à sa place, sans que la taille change */
.btn.en-cours { color: transparent; pointer-events: none; }
.btn.en-cours::after { content: ''; position: absolute; width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: tourne .7s linear infinite; }
.btn-p.en-cours::after { border-color: rgba(17, 17, 17, .25); border-top-color: var(--encre); }
.btn-s.en-cours::after, .btn-g.en-cours::after, .btn-ds.en-cours::after { border-color: var(--filet-fort); border-top-color: var(--encre); }

/* ================================================================ champs */
.champ { display: grid; gap: var(--e-15); align-content: start; min-width: 0; }
.champ-l { font-size: var(--t-m); font-weight: 600; color: var(--encre); display: flex; gap: var(--e-15); align-items: baseline; }
.champ-l em { font-style: normal; font-weight: 400; color: var(--encre-3); font-size: 13px; }
.aide { font-size: var(--t-s); line-height: 1.45; color: var(--encre-3); }
/* une erreur sur plusieurs lignes garde son pictogramme en face de la première */
.err { font-size: var(--t-s); color: var(--ko); font-weight: 500; display: flex; gap: var(--e-15); align-items: flex-start; } .err .ico { width: 14px; height: 14px; flex: none; margin-top: .2em; }
.err.bon { color: var(--ok); }
.sai[aria-invalid="true"] { border-color: var(--ko-point); } .sai[aria-invalid="true"]:focus { box-shadow: 0 0 0 1px var(--surface), 0 0 0 3px var(--ko-point); }
.sai { width: 100%; min-width: 0; height: var(--h-m); padding: 0 var(--e-25); border: 1px solid var(--filet-fort); border-radius: var(--r); background: var(--surface); outline: 0;
       font-size: var(--t-m); transition: border-color var(--d-court), box-shadow var(--d-court); }
.sai:hover { border-color: #A9A9A3; }
.sai:focus { border-color: var(--jaune-fort); box-shadow: var(--anneau); }
.sai::placeholder { color: var(--encre-4); }
.sai[readonly] { background: var(--surface-2); color: var(--encre-2); }
.sai[disabled] { background: var(--survol); color: var(--encre-4); }
textarea.sai { height: auto; min-height: 92px; padding: var(--e-2) var(--e-25); resize: vertical; line-height: 1.5; }
.sai.mono { font-family: var(--mono); font-size: var(--t-s); }
.sai.gd { height: var(--h-l); font-size: var(--t-l); }
select.sai:invalid { color: var(--encre-4); } select.sai option { color: var(--encre); }
select.sai { appearance: none; padding-right: var(--e-7); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23686963' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 16px; }
.champ.erreur .sai { border-color: var(--ko); } .champ.erreur .sai:focus { box-shadow: 0 0 0 3px rgba(180, 35, 24, .18); }
.deux { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--e-4); }
@container (max-width: 480px) { .deux { grid-template-columns: minmax(0, 1fr); } }
.mdp { position: relative; } .mdp .sai { padding-right: 42px; }
.mdp .voir { position: absolute; right: 3px; top: 50%; transform: translateY(-50%); width: 32px; height: 30px; border-radius: var(--r-s); display: grid; place-items: center; color: var(--encre-3); }
.mdp .voir:hover { background: var(--survol); color: var(--encre); }
.force { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--e-1); }
.force i { height: 4px; border-radius: 2px; background: var(--filet); }
.force[data-n="1"] i:nth-child(-n+1) { background: var(--ko); } .force[data-n="2"] i:nth-child(-n+2) { background: var(--jaune); }
.force[data-n="3"] i:nth-child(-n+3) { background: var(--vert); } .force[data-n="4"] i { background: var(--vert-fort); }
.force-l { font-size: var(--t-xs); font-weight: 600; color: var(--encre-3); min-height: 16px; }
.regles { display: grid; gap: var(--e-1); font-size: var(--t-s); color: var(--encre-3); }
.regles li { display: flex; gap: var(--e-2); align-items: center; }
.regles li::before { content: ''; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--filet-fort); flex: none; }
.regles li.ok { color: var(--ok); }
.regles li.ok::before { border: 0; background: var(--vert) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 10px no-repeat; }

/* cases et boutons radio */
.case { display: flex; gap: var(--e-25); align-items: flex-start; cursor: pointer; font-size: var(--t-m); line-height: 20px; }
.case input, .choix-o input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.case::before { content: ''; flex: none; width: 16px; height: 16px; margin-top: var(--e-05); border: 1.5px solid var(--filet-fort); border-radius: 3px; background: var(--surface); }
.case:has(input:checked)::before { border-color: var(--encre); background: var(--encre) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.case:has(input:focus-visible)::before { box-shadow: var(--anneau); }
.case:has(input:disabled) { opacity: .5; cursor: not-allowed; }
input[type=checkbox].coche { appearance: none; width: 16px; height: 16px; margin: 0; border: 1.5px solid var(--filet-fort); border-radius: 3px; background: var(--surface); cursor: pointer; display: block; }
input[type=checkbox].coche:checked { border-color: var(--encre); background: var(--encre) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat; }
input[type=checkbox].coche:indeterminate { border-color: var(--encre); background: var(--encre) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.6' stroke-linecap='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E") center / 12px no-repeat; }
input[type=checkbox].coche:focus-visible { box-shadow: var(--anneau); outline: 0; }
.choix { display: grid; gap: var(--e-2); } .choix.cote { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.choix-o { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--e-05) var(--e-3); align-items: start; padding: var(--e-3) var(--e-35); border: 1px solid var(--filet-fort);
           border-radius: var(--r-g); background: var(--surface); cursor: pointer; transition: border-color var(--d-court), background var(--d-court); }
.choix-o:hover { border-color: #A9A9A3; }
.choix-o[hidden] { display: none; }
/* les groupes de la création d'un utilisateur : un champ qui filtre la liste, puis les cases */
.filtre-g { margin-bottom: var(--e-25); max-width: 360px; }
/* la fin d'un assistant : le retour vers la fiche d'où il est parti */
.retour-a { margin: calc(-1 * var(--e-2)) 0 var(--e-4); } .retour-a .lien { display: inline-flex; align-items: center; gap: var(--e-1); }
.choix-o b { font-weight: 600; font-size: var(--t-m); display: block; } .choix-o small { display: block; font-size: var(--t-s); color: var(--encre-3); line-height: 1.45; margin-top: var(--e-05); overflow-wrap: anywhere; }
.choix-o .rad { width: 16px; height: 16px; margin-top: var(--e-05); border-radius: 50%; border: 1.5px solid var(--filet-fort); background: var(--surface); }
.choix-o .rad.carre { border-radius: 3px; }
.choix-o .pic { width: 32px; height: 32px; border-radius: var(--r); display: grid; place-items: center; background: var(--survol); color: var(--encre-2); }
.choix-o .pic .ico { width: 17px; height: 17px; }
.choix-o:has(input:checked) { border-color: var(--jaune); background: var(--miel); box-shadow: inset 0 0 0 1px var(--jaune); }
.choix-o:has(input:checked) .rad { border: 5px solid var(--encre); }
.choix-o:has(input:checked) .rad.carre { border: 0; background: var(--encre) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.choix-o:has(input:checked) .pic { background: var(--encre); color: #fff; }
.choix-o:has(input:focus-visible) { box-shadow: var(--anneau); }
.choix-o:has(input:disabled) { opacity: .55; cursor: not-allowed; }
.choix-o small.at { color: var(--jaune-texte); }
/* l'interrupteur */
.inter { display: inline-flex; align-items: center; gap: var(--e-25); cursor: pointer; font-size: var(--t-m); position: relative; white-space: nowrap; }
.inter input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.inter::before { content: ''; width: 36px; height: 20px; border-radius: 10px; background: var(--filet-fort); transition: background var(--d-court); flex: none; }
.inter::after { content: ''; position: absolute; left: 3px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .25); transition: transform var(--d-court); }
.inter:has(input:checked)::before { background: var(--vert); } .inter:has(input:checked)::after { transform: translateX(16px); }
.inter:has(input:focus-visible)::before { box-shadow: var(--anneau); } .inter:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.palette-c { display: flex; gap: var(--e-2); flex-wrap: wrap; }
.palette-c label { cursor: pointer; } .palette-c input { position: absolute; opacity: 0; }
.palette-c span { display: block; width: 28px; height: 28px; border-radius: var(--r); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.palette-c input:checked + span { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--encre); }
.palette-c input:focus-visible + span { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--accent); }
/* la couleur choisie, en lecture : une pastille devant son libellé */
.pastille-c { display: inline-block; width: 16px; height: 16px; margin-right: var(--e-2); border-radius: var(--r-s); vertical-align: -3px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.cases-g { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: var(--e-2) var(--e-5); padding: var(--e-35) var(--e-4); border: 1px solid var(--filet-2); border-radius: var(--r-g); background: var(--surface-2); max-height: 340px; overflow: auto; }
.cases-g { grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); }
.cases-g .case { font-size: var(--t-s); }
/* des cases groupées par thème (les types d'événements d'une application) : une ligne par case, le code en police fixe
   à côté du nom, la description en texte d'aide ; « Tout cocher » par groupe (data-groupe-cases, formulaires.js) */
.types-ev { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: var(--e-3); align-items: start; }
.types-g { display: grid; gap: var(--e-25); margin: 0; min-width: 0; padding: var(--e-3) var(--e-35); border: 1px solid var(--filet-2); border-radius: var(--r-g); background: var(--surface-2); }
.types-g-t { display: flex; align-items: baseline; justify-content: space-between; gap: var(--e-2); font-size: var(--t-s); }
.types-g .case { font-size: var(--t-s); line-height: 18px; } .types-g .case b { font-weight: 600; color: var(--encre); }
.types-g .case code { font-size: var(--t-xs); color: var(--encre-3); } .types-g .case small { display: block; font-size: var(--t-xs); color: var(--encre-3); line-height: 1.4; }
.inter-l { display: grid; gap: var(--e-1); padding-bottom: var(--e-35); margin-bottom: var(--e-35); border-bottom: 1px solid var(--filet-2); }

/* la liste déroulante : le select reste le champ (select.sai, ou .sel dans une barre de filtres) ; seule la liste
   ouverte est celle du service (.liste-o, liste.js). Dans une barre de filtres, le cadre est porté par le libellé
   .sel, qui écrit le préfixe (« Organisation : ») et prend la largeur du choix affiché. */
.sel { position: relative; display: inline-flex; align-items: center; gap: var(--e-15); height: var(--h-m); min-width: 0; max-width: 100%; padding: 0 0 0 var(--e-25); border: 1px solid var(--filet-fort);
       border-radius: var(--r); background: var(--surface); font-size: var(--t-m); cursor: pointer; transition: border-color var(--d-court), box-shadow var(--d-court); }
.sel:hover { border-color: #A9A9A3; } .sel:focus-within { border-color: var(--jaune-fort); box-shadow: var(--anneau); }
.sel .pre { color: var(--encre-3); white-space: nowrap; flex: none; }
.sel select { appearance: none; min-width: 0; max-width: 260px; height: 100%; padding: 0 30px 0 0; border: 0; outline: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23686963' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right var(--e-25) center / 16px;
              font-size: var(--t-m); color: var(--encre); cursor: pointer; field-sizing: content; text-overflow: ellipsis; }
.sel.actif { border-color: var(--jaune); background: var(--miel); } .sel.actif select { font-weight: 600; } .sel.actif .pre { color: var(--jaune-texte); font-weight: 500; }
.liste-o { position: fixed; z-index: 160; min-width: 200px; max-width: min(420px, calc(100% - var(--e-4))); background: var(--surface); border-radius: var(--r-g); box-shadow: var(--ombre-pop);
           padding: var(--e-1); animation: apparait .08s; display: flex; flex-direction: column; }
.liste-o .liste-o-c { padding: var(--e-1) var(--e-1) var(--e-15); border-bottom: 1px solid var(--filet-2); margin-bottom: var(--e-1); }
.liste-o .liste-o-c input { width: 100%; height: 32px; border: 1px solid var(--filet-fort); border-radius: var(--r); padding: 0 var(--e-25) 0 30px; outline: 0; font-size: var(--t-m);
                         background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23686963' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m20 20-4.2-4.2'/%3E%3C/svg%3E") no-repeat 9px center / 15px; }
.liste-o .liste-o-c input:focus { border-color: var(--jaune-fort); box-shadow: var(--anneau); }
.liste-o .liste-o-d { overflow-y: auto; max-height: 300px; overscroll-behavior: contain; }
.liste-o [role=option] { display: flex; align-items: center; gap: var(--e-2); min-height: 32px; padding: var(--e-15) var(--e-25) var(--e-15) 30px; border-radius: var(--r-s); cursor: pointer; font-size: var(--t-m); position: relative; line-height: 1.3; }
.liste-o [role=option][aria-selected="true"]::before { content: ''; position: absolute; left: 9px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C1B18' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.liste-o [role=option][aria-selected="true"] { font-weight: 600; }
.liste-o [role=option].actif { background: var(--survol); }
.liste-o [role=option][aria-disabled="true"] { color: var(--encre-4); cursor: default; }
.liste-o .liste-o-g { font-size: var(--t-xs); font-weight: 500; color: var(--encre-3); padding: var(--e-2) var(--e-25) var(--e-1); }
.liste-o .rien { padding: var(--e-25); color: var(--encre-3); font-size: var(--t-s); }

/* le calendrier */
/* le champ de date (macro champ_date) : sans script, le champ du navigateur ; avec, le bouton du service à la place
   du sien, au même endroit (calendrier.js) */
.date-z { position: relative; display: block; min-width: 0; }
.date-z .sai { padding-right: var(--e-75); font-variant-numeric: tabular-nums; }
.date-z .sai::-webkit-calendar-picker-indicator { margin-right: -30px; }
@media (scripting: none) { .date-z .date-b { display: none; } }
@media (scripting: enabled) { .date-z .sai::-webkit-calendar-picker-indicator { display: none; } }
.date-z .date-b { position: absolute; right: 3px; top: 50%; transform: translateY(-50%); width: 32px; height: 30px; border-radius: var(--r-s); display: grid; place-items: center; color: var(--encre-3); }
.date-z .date-b:hover { background: var(--survol); color: var(--encre); }
.calendrier { position: fixed; z-index: 160; width: 292px; background: var(--surface); border-radius: var(--r-g); box-shadow: var(--ombre-pop); padding: var(--e-3); animation: apparait .08s; }
.cal-t { display: flex; align-items: center; gap: var(--e-1); margin-bottom: var(--e-2); }
.cal-t b { flex: 1; font-size: var(--t-m); text-transform: capitalize; padding-left: var(--e-15); }
.cal-t button { width: 30px; height: 30px; border-radius: var(--r); display: grid; place-items: center; color: var(--encre-2); } .cal-t button:hover { background: var(--survol); }
.cal-g { display: grid; grid-template-columns: repeat(7, 1fr); gap: var(--e-05); }
.cal-g .js { font-size: var(--t-xs); font-weight: 600; color: var(--encre-3); text-align: center; padding: var(--e-1) 0 var(--e-15); }
.cal-g button { height: 34px; border-radius: var(--r); font-size: var(--t-s); font-variant-numeric: tabular-nums; color: var(--encre); }
.cal-g button:hover { background: var(--survol); }
.cal-g button.hors { color: var(--encre-4); }
.cal-g button.auj { box-shadow: inset 0 0 0 1.5px var(--jaune); font-weight: 700; }
.cal-g button[aria-selected="true"] { background: var(--encre); color: #fff; font-weight: 600; }
.cal-g button.actif { outline: 2px solid var(--jaune-fort); outline-offset: -2px; }
.cal-g button:disabled { color: #C9C9C5; cursor: not-allowed; background: none; }
.cal-p { display: flex; justify-content: space-between; margin-top: var(--e-25); padding-top: var(--e-25); border-top: 1px solid var(--filet-2); }

/* l'infobulle et la carte au survol */
.bulle { position: fixed; z-index: 250; max-width: 280px; padding: var(--e-15) 9px; border-radius: var(--r); background: var(--encre); color: #fff; font-size: var(--t-xs); line-height: 1.4;
         pointer-events: none; animation: apparait .1s; }
.bulle::after { content: ''; position: absolute; left: var(--fl, 50%); width: 8px; height: 8px; background: var(--encre); transform: translateX(-50%) rotate(45deg); }
.bulle[data-cote="haut"]::after { bottom: -4px; } .bulle[data-cote="bas"]::after { top: -4px; }
.bulle[data-cote="droite"]::after { left: -4px; top: 50%; transform: translateY(-50%) rotate(45deg); }
.survol { position: fixed; z-index: 150; width: 340px; max-width: calc(100% - var(--e-4)); background: var(--surface); border-radius: var(--r-g); box-shadow: var(--ombre-pop); animation: monte .12s var(--doux); }
.survol::before { content: ''; position: absolute; left: var(--fl, 28px); width: 12px; height: 12px; background: var(--surface); transform: translateX(-50%) rotate(45deg);
                  box-shadow: -1px -1px 0 rgba(27, 28, 26, .07); }
.survol[data-cote="bas"]::before { top: -6px; } .survol[data-cote="haut"]::before { bottom: -6px; box-shadow: 1px 1px 0 rgba(27, 28, 26, .07); }
.survol-tete { display: flex; gap: var(--e-3); align-items: center; padding: var(--e-4) var(--e-4) var(--e-3); position: relative; }
.survol-tete .ent-t b { font-size: var(--t-l); white-space: normal; }
.survol-corps { padding: 0 var(--e-4) var(--e-35); display: grid; gap: 7px; font-size: var(--t-s); color: var(--encre-2); }
.survol-corps > div { display: flex; gap: 9px; align-items: flex-start; min-width: 0; } .survol-corps .ico { width: 15px; height: 15px; color: var(--encre-3); margin-top: var(--e-05); }
/* un compte que la porte refuse : la ligne le dit dans la couleur de son état (composants/entites.html, etat_personne) */
.survol-corps > div.ko { color: var(--ko); font-weight: 500; } .survol-corps > div.ko .ico { color: var(--ko-point); } .survol-corps > div.at { color: var(--jaune-texte); font-weight: 500; } .survol-corps > div.at .ico { color: var(--jaune-texte); }
.survol-pied { display: flex; gap: var(--e-15); padding: var(--e-25) var(--e-3); border-top: 1px solid var(--filet-2); background: var(--surface-2); border-radius: 0 0 var(--r-g) var(--r-g); }
/* le renvoi vers la documentation : un petit lien vert à côté d'une notion technique */
.doc-l { display: inline-flex; align-items: center; gap: var(--e-1); margin-left: var(--e-2); font-size: var(--t-xs); font-weight: 500; color: var(--accent); vertical-align: 1px; }
.doc-l:hover { text-decoration: underline; } .doc-l .ico { width: 13px; height: 13px; }
/* sur un téléphone, le renvoi d'un titre de carte passe dessous, plutôt que de couper le titre */
@media (max-width: 640px) { h2:has(> .doc-l) { flex-wrap: wrap; row-gap: var(--e-05); } h2 > .doc-l { flex-basis: 100%; margin-left: 0; } }

/* la barre de commandes de la navigation à deux niveaux (9.4, composants/navigation.html, barre_commandes) : sur une
   ligne ; ce qui ne tient pas passe dans « ... » (navigation.js), le dernier d'abord ; une flèche pour une commande
   qui ouvre un choix ; Nouveautés et Donner un avis à droite, plus discrets */
.commandes[data-repli] { flex-wrap: nowrap; min-width: 0; overflow: hidden; padding: 3px; margin: -3px -3px var(--e-25); }   /* l'anneau du focus reste visible */
.commandes[data-repli] > * { flex: none; }
.commandes .btn > .ico + .lib-c + .ico { width: 13px; height: 13px; margin-left: calc(-1 * var(--e-05)); color: var(--encre-3); }
.commandes .fin .btn { color: var(--encre-2); }
.nouv-f { display: contents; }                /* le formulaire de Nouveautés ne compte pas dans la mise en page */
/* Nouveautés : une pastille jaune sur l'icône tant qu'une version publiée n'a pas été ouverte (console/barre.py) */
.nouv-i { position: relative; display: inline-grid; } .nouv-p { position: absolute; top: -3px; right: -4px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--jaune); box-shadow: 0 0 0 2px var(--fond); }
/* l'étoile du titre est un formulaire posté : le bouton reste dans la ligne du titre */
.tete-p-ef { display: contents; }
.commandes .cmd-plus[hidden] { display: none; }
/* serrée, Nouveautés et Donner un avis gardent leur pictogramme seul (leur nom reste lu, et dit par l'infobulle) */
.commandes.serre .fin .lib-c { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.commandes.serre .fin .btn { width: var(--h-m); padding: 0; }
/* une commande qui ne tient pas devient une ligne de menu : dans « Autres commandes », ou en tête du « ... » de la page */
.cmd-m .btn, .cmd-m form, .deroulant > [data-replie] { width: 100%; }
/* Nouveautés et Donner un avis passés dans « ... » : à la suite, sous un filet */
.deroulant > .fin[data-replie] { display: grid; gap: 0; margin: var(--e-1) 0 0; padding-top: var(--e-1); border-top: 1px solid var(--filet-2); }
.deroulant > .fin[data-replie]:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.cmd-m .btn, .deroulant > .btn[data-replie], .deroulant > [data-replie] .btn { justify-content: flex-start; height: 36px; border: 0; background: none; font-weight: 400; color: var(--encre); }
.cmd-m .btn:hover, .deroulant > .btn[data-replie]:hover, .deroulant > [data-replie] .btn:hover { background: var(--survol); }
.cmd-m .btn .lib-c, .deroulant > [data-replie] .lib-c { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
.cmd-m .btn .ico, .deroulant > [data-replie] .ico { color: var(--encre-3); }

/* ---------------------------------------------------------------- css/coque.css */
/* Trousseau, coque.css : la coque des pages connectées : marque, barre du haut, menu latéral (replié ou non), menus
   déroulants, notifications, en-têtes de page, onglets. La coque est une seule feuille de fond gris très clair, celle
   du masque Cerfrance ; les cadres blancs du contenu se posent dessus. Dans la console, le menu latéral est le menu
   global de la navigation à deux niveaux (.coque-g, plus bas), et une page d'un espace porte le menu de l'espace à
   côté de son contenu (.coque-np).

   La coque suit les trois seuils nommés (jetons.css) : téléphone (jusqu'à 639 px), tablette (jusqu'à 1023 px : le menu
   passe en tiroir), poste étroit (jusqu'à 1279 px : le menu se replie de lui-même, sauf choix contraire). Le menu, lui,
   ne regarde que sa propre largeur (@container menu) : replié par choix ou faute de place, il montre les seuls
   pictogrammes, et rien n'en sort. */

/* ================================================================ marque */
.logo { display: block; height: 21px; width: auto; color: var(--encre-2); overflow: visible; }
.logo.clair { color: var(--encre-2); } .logo.blanc { color: #fff; }
.marque { width: 28px; height: 28px; color: var(--encre-2); }
.cerfrance { display: block; height: 22px; width: auto; }

/* ================================================================ la barre du haut */
body.coque { min-height: 100vh; min-height: 100dvh; }
.haut { container: haut / inline-size; position: fixed; inset: 0 0 auto 0; height: var(--haut); z-index: 60; background: var(--fond); border-bottom: 1px solid var(--filet); color: var(--encre-2);
        display: flex; align-items: center; gap: var(--e-2); padding: 0 var(--e-3) 0 var(--e-35); }
.haut .burger { display: none; width: var(--h-l); height: var(--h-l); border-radius: var(--r); place-items: center; color: var(--encre-2); } .haut .burger:hover { background: var(--appuye); }
.haut .logo-l { display: flex; align-items: center; height: var(--h-l); padding: 0 var(--e-2); margin-left: calc(-1 * var(--e-2)); border-radius: var(--r); color: inherit; }
.haut .logo-l:hover { background: var(--appuye); }
.haut .logo { height: 21px; }
.haut .zone { display: flex; align-items: center; gap: var(--e-35); font-size: var(--t-m); font-weight: 500; color: var(--encre-3); white-space: nowrap; }
.haut .zone::before { content: ''; width: 1px; height: 22px; background: var(--filet-fort); }
.haut .zone-c { display: none; } .haut .instance { margin-left: calc(-1 * var(--e-15)); }
/* le périmètre sur lequel on agit ; celui d'un délégué se distingue de « Tout le réseau » */
.haut .perimetre { min-width: 0; } .haut .perimetre-t { max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
.haut .perimetre.delegue { background: var(--jaune-pale); color: var(--jaune-texte); border-color: var(--jaune-filet); }
/* le périmètre d'un délégué est un bouton : il ouvre la liste de ses organisations */
.haut .perimetre-b { font-family: inherit; cursor: pointer; } .haut .perimetre-b:hover, .haut .perimetre-b[aria-expanded="true"] { border-color: var(--jaune); }
.haut .perimetre-b .ico:last-child { width: 12px; height: 12px; }
.coque-g .perimetre-m { display: none; }
/* sous 360 pixels, la barre n'a plus la place de nommer la zone : le menu en tiroir la dit */
@container haut (max-width: 360px) { .haut .zone { display: none; } }
.cherche-b { margin: 0 auto; flex: 0 1 520px; min-width: 0; height: var(--h-m); display: flex; align-items: center; gap: var(--e-25); padding: 0 var(--e-15) 0 var(--e-3); border-radius: var(--r);
             background: var(--surface); color: var(--encre-3); font-size: var(--t-m); border: 1px solid var(--filet); transition: border-color var(--d-court), box-shadow var(--d-court); }
.cherche-b:hover { border-color: var(--filet-fort); color: var(--encre-2); }
.cherche-t { flex: 1; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cherche-b .ico { color: var(--encre-3); }
.haut-d { display: flex; align-items: center; gap: var(--e-05); margin-left: auto; }
.cherche-b + .haut-d { margin-left: 0; }
.rond { position: relative; width: var(--h-l); height: var(--h-l); border-radius: var(--r); display: grid; place-items: center; color: var(--encre-2); }
.rond:hover, .rond[aria-expanded="true"] { background: var(--appuye); color: var(--encre); } .rond .ico { width: 19px; height: 19px; }
.rond .nb { position: absolute; top: 6px; right: 5px; min-width: 17px; height: 17px; padding: 0 var(--e-1); border-radius: 9px; background: var(--jaune); color: var(--encre); font-size: 11px; font-weight: 700;
            display: grid; place-items: center; font-variant-numeric: tabular-nums; box-shadow: 0 0 0 2px var(--fond); }
/* le verrouillage : un pictogramme discret ; le compte à rebours ne s'affiche que dans les deux dernières minutes */
.verrou { display: flex; align-items: center; gap: var(--e-15); height: var(--h-l); padding: 0 var(--e-25); border-radius: var(--r); font-size: var(--t-s); color: var(--encre-3); font-variant-numeric: tabular-nums; }
.verrou .ico { width: 17px; height: 17px; } .verrou-t, .verrou b { display: none; } .verrou b { font-weight: 600; }
.verrou.bientot { background: var(--jaune-pale); color: var(--jaune-texte); } .verrou.bientot .verrou-t, .verrou.bientot b { display: inline; } .verrou.bientot b { color: var(--jaune-texte); }
.lien-h { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 var(--e-25); border-radius: var(--r); color: var(--encre-2); font-size: var(--t-m); font-weight: 500; white-space: nowrap; }
.lien-h:hover { background: var(--appuye); color: var(--encre); }
.moi-b { display: flex; align-items: center; gap: var(--e-2); height: var(--h-l); padding: 0 5px; margin-left: var(--e-1); border-radius: var(--r); color: var(--encre); }
.moi-b:hover, .moi-b[aria-expanded="true"] { background: var(--appuye); }
.moi-b .av { width: 30px; height: 30px; font-size: 11.5px; box-shadow: 0 0 0 2px var(--fond), 0 0 0 4px var(--jaune); }
@media (max-width: 1279px) { .verrou.bientot .verrou-t, .lien-h-t { display: none; } }
@media (max-width: 1023px) { .haut .burger { display: grid; } .haut .zone-l { display: none; } .haut .zone-c { display: inline; } }
/* entre téléphone et tablette, la barre n'a pas la place de dire à la fois « Console » et le périmètre nommé d'un
   délégué : le périmètre reste, le mot « Console » s'efface (le menu et le titre disent où l'on est). La barre mesure
   l'écran moins ses 26 pixels de marge : 614 à 693 pixels, pour un écran de 640 à 719. */
@container haut (min-width: 614px) and (max-width: 693px) { .haut .zone:has(.perimetre-b) .zone-c { display: none; } }
@media (max-width: 639px) {
  .cherche-t, .cherche-b .kbd { display: none; }
  .cherche-b { flex: 0 0 var(--h-l); width: var(--h-l); height: var(--h-l); padding: 0; justify-content: center; background: none; border: 0; margin: 0 0 0 auto; }
  .cherche-b .ico { width: 18px; height: 18px; color: var(--encre-2); }
  .verrou, .lien-h, .haut [data-ouvrir=d-aide] { display: none; } .haut .logo { height: 18px; }
  .haut .zone { gap: var(--e-25); } .haut .instance, .haut .perimetre { display: none; }
  .coque-g .perimetre-m { display: flex; align-items: center; gap: 11px; height: 36px; padding: 0 var(--e-25); margin-bottom: var(--e-1); border-radius: var(--r);
                         background: var(--survol); font-size: var(--t-s); font-weight: 500; color: var(--encre-2); white-space: nowrap; }
  .coque-g .perimetre-m .ico { width: 18px; height: 18px; color: var(--encre-3); }
  .coque-g .perimetre-m { flex: none; margin: var(--e-2) var(--e-2) 0; }
}

/* ================================================================ le menu latéral */
:root { --menu: 256px; }
/* le poste étroit replie le menu de lui-même ; le menu global, replié, fait 56 pixels (maquettes), dans la console comme
   dans Mon compte, qui prend le même composant (9.4.0) */
html.menu-replie { --menu: 56px; }
@media (min-width: 1024px) and (max-width: 1279px) { html:not(.menu-ouvert) { --menu: 56px; } }
.coque-g { container: menu / inline-size; position: fixed; top: var(--haut); bottom: 0; left: 0; width: var(--menu); z-index: 40; background: var(--fond); border-right: 1px solid var(--filet);
          display: flex; flex-direction: column; overflow: hidden; }
/* tablette et téléphone : le menu passe en tiroir, ouvert par le bouton de la barre du haut, toujours déplié */
@media (max-width: 1023px) {
  :root, html.menu-replie { --menu: 0px; }
  .coque-g { width: 272px; transform: translateX(-100%); visibility: hidden; transition: transform var(--d-long) var(--doux), visibility 0s var(--d-long); box-shadow: var(--ombre-panneau); }
  .coque-g.ouverte { transform: none; visibility: visible; transition: transform var(--d-long) var(--doux); }
  .coque-g .nav-g-r { display: none; }
  .voile-nav { position: fixed; inset: var(--haut) 0 0 0; z-index: 39; background: rgba(27, 28, 26, .32); }
}

/* ================================================================ la page */
.corps-p { padding: var(--haut) 0 0 var(--menu); min-height: 100vh; min-height: 100dvh; transition: padding var(--d-court); }
/* .page est le conteneur des composants qui s'y posent directement (en-têtes, barres, indicateurs) */
.page { container: page / inline-size; max-width: 1440px; margin: 0 auto; padding: var(--e-6) var(--e-7) var(--e-9); }
.page.etroite { max-width: 1040px; }
.page > .carte, .page > .avis, .page > .remise, .page > .indic, .page > .grille-c, .page > .grille, .page > .pile, .page > .etapes, .page > section { margin-bottom: var(--e-4); }
.page > :last-child { margin-bottom: 0; }
@media (max-width: 1279px) { .page { padding: var(--e-5) var(--e-6) var(--e-75); } }
@media (max-width: 639px) { .page { padding: var(--e-35) var(--e-3) var(--e-7); } }

/* ================================================================ le menu déroulant et le centre de notifications */
@keyframes deroule { from { opacity: 0; transform: translateY(-4px); } }
.deroulant { position: fixed; z-index: 120; min-width: 240px; max-width: calc(100% - var(--e-4)); background: var(--surface); border-radius: var(--r-g); box-shadow: var(--ombre-pop); padding: var(--e-15);
             animation: deroule var(--d-court) var(--doux); }
.deroulant a, .deroulant button { display: flex; width: 100%; align-items: center; gap: var(--e-25); min-height: 36px; padding: 0 var(--e-25); border-radius: var(--r); color: var(--encre); font-size: var(--t-m); text-align: left; }
.deroulant a:hover, .deroulant button:hover, .deroulant a:focus-visible, .deroulant button:focus-visible { background: var(--survol); outline: 0; }
.deroulant .ico { width: 16px; height: 16px; color: var(--encre-3); }
.deroulant .danger { color: var(--ko); } .deroulant .danger .ico { color: var(--ko); }
.deroulant hr { margin: var(--e-15) 0; border-top-color: var(--filet-2); } .deroulant form { margin: 0; }
.deroulant-tete { display: flex; gap: var(--e-3); align-items: center; padding: var(--e-25) var(--e-25) var(--e-3); }
.deroulant-tete .ent-t small { display: block; }
.deroulant .deroulant-t { display: block; font-size: var(--t-xs); font-weight: 500; color: var(--encre-4); padding: var(--e-2) var(--e-25) var(--e-1); }
.notifs { width: min(400px, calc(100% - var(--e-4))); padding: 0; }
.notifs-t { display: flex; align-items: center; justify-content: space-between; padding: var(--e-35) var(--e-4) var(--e-25); border-bottom: 1px solid var(--filet-2); }
.notifs-t h2 { font-size: var(--t-l); font-weight: 600; }
.notifs-l { max-height: 420px; overflow-y: auto; }
.notifs-l a { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: var(--e-05) var(--e-3); align-items: start; padding: var(--e-3) var(--e-4); border-radius: 0; border-bottom: 1px solid var(--filet-2); min-height: 0; }
.notifs-l a:last-child { border-bottom: 0; }
.notifs-l .tuile-i { grid-row: span 2; width: 28px; height: 28px; }
.notifs-l b { font-size: var(--t-m); line-height: 1.35; } .notifs-l small { font-size: var(--t-xs); color: var(--encre-3); line-height: 1.4; }
.notifs .vide { padding: var(--e-65) var(--e-4); }
.notifs-p { border-top: 1px solid var(--filet-2); padding: var(--e-15); }
.notifs-p .lien { justify-content: center; color: var(--accent); font-weight: 600; } .notifs-p .lien .ico { color: var(--accent); }

/* ================================================================ en-têtes de page */
.tete { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--e-4) var(--e-6); margin-bottom: var(--e-5); flex-wrap: wrap; }
.tete-t { min-width: 0; max-width: 820px; }
.tete h1 { font-size: var(--t-2xl); line-height: 1.2; letter-spacing: -0.02em; }
.tete p { font-size: var(--t-m); color: var(--encre-3); margin-top: var(--e-1); line-height: 1.5; }
.tete .actions { flex: none; margin-top: calc(-1 * var(--e-05)); }   /* sur la ligne du titre, quelle que soit la longueur du texte qui suit */
@container page (max-width: 560px) { .tete h1 { font-size: var(--t-xl); } .tete .actions { width: 100%; } }
.faits { display: flex; flex-wrap: wrap; gap: var(--e-1) var(--e-45); font-size: var(--t-m); color: var(--encre-3); margin-top: var(--e-15); }
.faits > span, .faits > a { display: inline-flex; gap: var(--e-15); align-items: center; min-width: 0; } .faits .ico { width: 15px; height: 15px; }
.faits a { color: var(--encre-2); } .faits a:hover { color: var(--accent); }
.onglets { display: flex; gap: var(--e-1); padding: 0 var(--e-4); background: var(--surface); border: 1px solid var(--filet); border-top: 0; border-radius: 0 0 var(--r-g) var(--r-g); margin-bottom: var(--e-5);
           overflow-x: auto; scrollbar-width: none; }
.onglets::-webkit-scrollbar { display: none; }
.onglets a { position: relative; display: flex; align-items: center; gap: 7px; height: 46px; padding: 0 var(--e-25); color: var(--encre-3); font-size: var(--t-m); font-weight: 500; white-space: nowrap; }
.onglets a:hover { color: var(--encre); }
/* la barre d'onglets suit le défilement, sous la barre du haut ; une fois décollée de sa carte, elle prend un filet et une ombre */
.onglets { position: sticky; top: var(--haut); z-index: 30; transition: box-shadow var(--d-court); } .onglets-s { height: 1px; margin-bottom: -1px; }
.onglets.colle { border-radius: 0; border-top: 1px solid var(--filet); box-shadow: 0 8px 16px -12px rgba(17, 17, 17, .3); }
.onglets a.on { color: var(--encre); font-weight: 600; }
.onglets a.on::after { content: ''; position: absolute; left: var(--e-25); right: var(--e-25); bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--jaune); }

/* la documentation de la page, dans la barre : le livre seul tant que la place manque */
.doc-h .ico { width: 18px; height: 18px; color: var(--encre-3); }
@media (max-width: 639px) { .z-console .haut .logo-l { display: none; } .z-console .haut .zone::before { display: none; } }
@container haut (max-width: 360px) { .haut .zone { display: flex; } .haut .zone::before { display: none; } }


/* ce qui ne sert que sur un téléphone, quand la barre n'a plus la place (l'aide de la page dans le menu de l'avatar) */
.seul-tel { display: none !important; }
@media (max-width: 639px) { .deroulant a.seul-tel { display: flex !important; } .deroulant hr.seul-tel { display: block !important; } }
/* deux portes d'entrée (l'espace Développeurs d'un délégué) */
.dev-portes.deux { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@container page (max-width: 840px) { .dev-portes.deux { grid-template-columns: minmax(0, 1fr); } }
/* la palette sur un téléphone : pas de touches de clavier à rappeler */
@media (max-width: 639px) { .palette-p, .palette-s .kbd { display: none; } }

/* ================================================================ la navigation à deux niveaux (9.4)
   Les composants du plan de navigation (composants/navigation.html), montrés sur la page Composants avant de remplacer
   le menu et les espaces : le menu global (domaines repliables), le menu de page d'une fiche ou d'un espace, l'en-tête
   « Objet | Rubrique », le défilement par zone et le volet de détail à côté d'une liste. Chaque composant ne regarde
   que la place qu'on lui donne (@container). */

/* l'icône en couleur : un fichier de 48 pixels, montré à sa taille d'usage */
.icone-c { display: block; flex: none; object-fit: contain; }
.icone-c.i16 { width: 16px; height: 16px; } .icone-c.i18 { width: 18px; height: 18px; } .icone-c.i26 { width: 26px; height: 26px; }

/* le défilement par zone : chaque zone défile seule ; une barre fine ; une ombre en haut ou en bas dit qu'il reste du
   contenu caché, et s'efface au bout (deux fonds attachés au contenu recouvrent deux ombres attachées à la zone) */
.defile { --defile-fond: var(--fond); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--defile) transparent;
          background: linear-gradient(var(--defile-fond) 30%, transparent) top / 100% 24px no-repeat local,
                      linear-gradient(transparent, var(--defile-fond) 70%) bottom / 100% 24px no-repeat local,
                      radial-gradient(farthest-side at 50% 0, rgba(17, 17, 17, .14), transparent) top / 100% 8px no-repeat scroll,
                      radial-gradient(farthest-side at 50% 100%, rgba(17, 17, 17, .14), transparent) bottom / 100% 8px no-repeat scroll;
          background-color: var(--defile-fond); }
.defile.blanc { --defile-fond: var(--surface); }
.defile::-webkit-scrollbar { width: 10px; height: 10px; }
.defile::-webkit-scrollbar-track { background: transparent; }
.defile::-webkit-scrollbar-thumb { background: var(--defile); border-radius: 10px; border: 3px solid var(--defile-fond); }
.defile:hover::-webkit-scrollbar-thumb { background: var(--defile-fort); }

/* ---------------------------------------------------------------- le menu global */
.nav-g { container: nav-g / inline-size; width: 248px; max-width: 100%; height: 100%; min-height: 0; display: flex; flex-direction: column; background: var(--fond);
         border-right: 1px solid var(--filet); transition: width var(--d-court); }
.nav-g-d { flex: 1; min-height: 0; padding: var(--e-2) var(--e-1) var(--e-2) var(--e-2); display: grid; align-content: start; grid-template-columns: minmax(0, 1fr); }
.nav-g a, .nav-g-c, .nav-g-r { position: relative; display: flex; align-items: center; gap: var(--e-3); width: 100%; height: 34px; padding: 0 var(--e-25); border-radius: var(--r-s);
                                color: var(--encre-2); font-size: var(--t-m); font-weight: 500; white-space: nowrap; text-align: left; transition: background var(--d-court), color var(--d-court); }
.nav-g a:hover, .nav-g-c:hover, .nav-g-r:hover { background: var(--appuye); color: var(--encre); }
.nav-g .ico { width: var(--i-xs); height: var(--i-xs); flex: none; color: var(--encre); }
.nav-g-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.nav-g a em { margin-left: auto; font-style: normal; font-size: var(--t-xs); color: var(--encre-4); font-variant-numeric: tabular-nums; }
.nav-g em.f { margin-left: auto; min-width: 20px; height: 20px; padding: 0 var(--e-15); border-radius: 10px; display: inline-grid; place-items: center; background: var(--jaune); color: var(--encre);
              font-size: 11.5px; font-weight: 700; font-style: normal; }
.nav-g-d > a { height: 38px; color: var(--encre); }
.nav-g-f { height: 1px; margin: var(--e-15); background: var(--filet); }
/* un domaine : sa ligne en couleur, qui se déplie ; replié, il garde la somme de ses compteurs jaunes */
.nav-g-c { height: 40px; font-weight: 600; color: var(--encre); cursor: pointer; }
.nav-g-c > .ico:last-child { margin-left: auto; width: 15px; height: 15px; color: var(--encre-3); transition: transform var(--d-court); }
.nav-g-c[aria-expanded="false"] em.f + .ico { margin-left: var(--e-2); }
.nav-g-c[aria-expanded="true"] > .ico:last-child { transform: rotate(180deg); }
.nav-g-c[aria-expanded="true"] .nav-g-somme { display: none; }
.nav-g-s { display: grid; grid-template-columns: minmax(0, 1fr); padding-bottom: var(--e-1); }
.nav-g-s[hidden] { display: none; }
.nav-g-s a { height: auto; min-height: 32px; padding: var(--e-1) var(--e-25) var(--e-1) 40px; border-radius: 0 var(--r-s) var(--r-s) 0; }
/* un nom long à côté de son compteur (« Rôles d'administration » et ses demandes à approuver) passe sur deux lignes
   plutôt que d'être coupé */
.nav-g-s a .nav-g-t { white-space: normal; line-height: 1.25; }
/* la page en cours : une barre jaune, sans fond ; une page hors du menu marque son domaine de la même barre */
.nav-g a.on, .nav-g-dom.allume .nav-g-c { color: var(--encre); font-weight: 600; }
.nav-g a.on::before, .nav-g-dom.allume .nav-g-c::before { content: ''; position: absolute; left: 0; top: var(--e-15); bottom: var(--e-15); width: 3px; border-radius: 0 3px 3px 0; background: var(--jaune); }
.nav-g-b { border-top: 1px solid var(--filet); padding: var(--e-2); display: grid; gap: 1px; }
.nav-g-b .ext { margin-left: auto; display: grid; } .nav-g-b .ext .ico { width: 13px; height: 13px; color: var(--encre-4); }
.nav-g-r { color: var(--encre-3); cursor: pointer; } .nav-g-r .ico { color: var(--encre-3); transition: transform var(--d-court); }
/* replié : les icônes seules ; le domaine de la page en cours porte la barre jaune ; au survol et au clic, un domaine
   ouvre à côté du rail le volet de ses pages, nommé (navigation.js, ouvrirVolant), sans redéployer le menu */
.nav-g.replie { width: 56px; }
@container nav-g (max-width: 120px) {
  .nav-g-t, .nav-g a em, .nav-g-c > .ico:last-child, .nav-g-b .ext, .nav-g-s { display: none; }
  .nav-g a, .nav-g-c, .nav-g-r { justify-content: center; padding: 0; }
  .nav-g-d { padding: var(--e-2) var(--e-15); }
  .nav-g-c em.f, .nav-g a em.f { display: block; position: absolute; top: var(--e-1); right: var(--e-15); min-width: 9px; width: 9px; height: 9px; padding: 0; overflow: hidden; color: transparent; box-shadow: 0 0 0 2px var(--fond); }
  .nav-g-c[aria-expanded="true"] .nav-g-somme { display: inline-grid; }
  .nav-g-dom.en-cours .nav-g-c::before { content: ''; position: absolute; left: 0; top: var(--e-15); bottom: var(--e-15); width: 3px; border-radius: 0 3px 3px 0; background: var(--jaune); }
  .nav-g-r .ico { transform: rotate(180deg); }
  .nav-g-dom.volant > .nav-g-s { display: grid; position: fixed; z-index: 120; min-width: 236px; max-width: 300px; max-height: calc(100vh - 16px); overflow-y: auto;
                                 padding: var(--e-15); background: var(--surface); border-radius: var(--r-g); box-shadow: var(--ombre-pop); }
  .nav-g-dom.volant > .nav-g-s::before { content: attr(data-nom); padding: var(--e-1) var(--e-25) var(--e-15); font-size: var(--t-xs); font-weight: 700; color: var(--encre-3); }
  .nav-g-dom.volant > .nav-g-s a { justify-content: flex-start; padding: var(--e-1) var(--e-25); border-radius: var(--r); }
  .nav-g-dom.volant > .nav-g-s .nav-g-t { display: block; }
  .nav-g-dom.volant > .nav-g-s a em { display: block; margin-left: auto; }
  .nav-g-dom.volant > .nav-g-s a em.f { display: inline-grid; position: static; width: auto; min-width: 20px; height: 20px; padding: 0 var(--e-15); color: var(--encre); box-shadow: none; overflow: visible; }
  .nav-g-dom.volant > .nav-g-c { background: var(--appuye); }
}

/* le menu global dans la coque : il prend la largeur que la coque lui donne (--menu), et le repli se lit dans cette
   largeur ; au pied, sous « Réduire le menu », la marque du réseau */
.coque-g .nav-g { width: 100%; flex: 1; border-right: 0; transition: none; }
.nav-g-reseau { display: flex; align-items: center; gap: var(--e-25); min-height: 36px; padding: 0 var(--e-25); font-size: var(--t-xs); color: var(--encre-3); white-space: nowrap; }
.nav-g-reseau .cerfrance { height: 18px; flex: none; }
@container nav-g (max-width: 120px) { .nav-g-reseau { display: none; } }
/* écran bas (1280 × 720, 1366 × 768) : des lignes plus serrées ; la marque laisse sa place */
@media (max-height: 800px) {
  .nav-g-coque .nav-g-d > a { height: 34px; } .nav-g-coque .nav-g-c { height: 36px; } .nav-g-coque .nav-g-s a { height: 30px; }
  .nav-g-coque .nav-g-f { margin: var(--e-1) var(--e-15); } .nav-g-coque .nav-g-reseau { display: none; }
}

/* ---------------------------------------------------------------- le menu de page */
.nav-p { container: nav-p / inline-size; min-height: 0; display: flex; flex-direction: column; background: var(--fond); border-right: 1px solid var(--filet);
         padding: var(--e-25) var(--e-2) var(--e-25) var(--e-35); }
.nav-p-tete { display: flex; gap: var(--e-15); align-items: center; margin-bottom: var(--e-15); }
.nav-p-rch { flex: 1; min-width: 0; display: flex; align-items: center; gap: var(--e-15); height: var(--h-s); padding: 0 var(--e-2); border: 1px solid var(--filet); border-radius: var(--r-s);
             background: var(--surface); color: var(--encre-4); }
.nav-p-rch:focus-within { border-color: var(--jaune-fort); box-shadow: var(--anneau); }
.nav-p-rch .ico { width: 14px; height: 14px; flex: none; }
.nav-p-rch input { flex: 1; min-width: 0; border: 0; background: none; outline: 0; font: inherit; font-size: var(--t-s); color: var(--encre); }
.nav-p-plier { width: var(--h-s); height: var(--h-s); flex: none; display: grid; place-items: center; border-radius: var(--r-s); color: var(--encre-2); }
.nav-p-plier:hover { background: var(--appuye); } .nav-p-plier .ico { width: var(--i-xs); height: var(--i-xs); transition: transform var(--d-court); }
.nav-p-d { flex: 1; min-height: 0; display: grid; align-content: start; grid-template-columns: minmax(0, 1fr); gap: 1px; margin-right: calc(-1 * var(--e-1)); padding-right: var(--e-1); }
.nav-p-g { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; }
.nav-p-gt { display: block; font-size: var(--t-xs); font-weight: 600; color: var(--encre); padding: var(--e-25) var(--e-2) var(--e-1); border-top: 1px solid var(--filet); margin-top: var(--e-15); white-space: nowrap; }
/* un nom de rubrique long (« Connexion et adresses de retour ») passe sur deux lignes plutôt que d'être coupé */
.nav-p a { position: relative; display: flex; align-items: center; gap: var(--e-25); min-height: 30px; padding: var(--e-1) var(--e-2); border-radius: var(--r-s); color: var(--encre-2);
           font-size: var(--t-s); font-weight: 500; line-height: 1.25; }
.nav-p a:hover:not(.on) { background: var(--survol); color: var(--encre); }
.nav-p a .ico { width: var(--i-xs); height: var(--i-xs); flex: none; color: var(--encre); }
.nav-p a.on { background: var(--appuye); color: var(--encre); font-weight: 600; }
.nav-p-t { min-width: 0; overflow-wrap: anywhere; }
.nav-p a em { margin-left: auto; font-style: normal; font-size: var(--t-xs); color: var(--encre-4); font-variant-numeric: tabular-nums; }
.nav-p a em.m { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; display: inline-grid; place-items: center; background: var(--jaune-pale); color: var(--jaune-texte); font-weight: 700; }
.nav-p a .ext { margin-left: auto; display: grid; } .nav-p a .ext .ico { width: 13px; height: 13px; color: var(--encre-3); }
.nav-p a.nav-p-retour { color: var(--accent); font-weight: 600; margin-bottom: var(--e-1); }
.nav-p a.nav-p-retour .ico { color: var(--accent); }
.nav-p-rien { font-size: var(--t-s); color: var(--encre-3); padding: var(--e-2); }
.nav-p-sel { display: none; }
.nav-p a[hidden], .nav-p-g[hidden], .nav-p-rien[hidden] { display: none; }
/* replié : 50 pixels, les icônes seules, un filet à la place des intertitres */
.nav-p.replie { padding: var(--e-25) var(--e-15); }
.nav-p.replie .nav-p-rch, .nav-p.replie .nav-p-t, .nav-p.replie a em, .nav-p.replie a .ext { display: none; }
.nav-p.replie .nav-p-tete { justify-content: center; }
.nav-p.replie .nav-p-plier .ico { transform: rotate(180deg); }
.nav-p.replie a { justify-content: center; padding: 0; }
.nav-p.replie .nav-p-gt { height: 1px; padding: 0; margin: var(--e-15) 0; overflow: hidden; color: transparent; }
.nav-p.replie .nav-p-d { margin: 0; padding: 0; }

/* une page à menu de page : le menu et le contenu côte à côte, chacun défile seul ; faute de place (téléphone,
   tablette), le menu devient le sélecteur « Rubrique » en tête du contenu */
.fiche-c { container: fiche / inline-size; min-width: 0; min-height: 0; }
.fiche-l { display: grid; grid-template-columns: 256px minmax(0, 1fr); min-height: 0; height: 100%; border-top: 1px solid var(--filet); transition: grid-template-columns var(--d-court); }
.fiche-l:has(> .nav-p.replie) { grid-template-columns: 50px minmax(0, 1fr); }
.fiche-z { container: zone / inline-size; min-width: 0; min-height: 0; padding: var(--e-4) var(--e-6); display: grid; grid-template-columns: minmax(0, 1fr); grid-auto-rows: max-content;
           gap: var(--e-35); align-content: start; }
@container fiche (max-width: 720px) {
  .fiche-l, .fiche-l:has(> .nav-p.replie) { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  .nav-p, .nav-p.replie { border-right: 0; border-bottom: 1px solid var(--filet); padding: var(--e-2) var(--e-3); flex-direction: row; align-items: center; gap: var(--e-25); }
  .nav-p-tete, .nav-p-d { display: none; }
  .nav-p a.nav-p-retour { margin: 0; height: var(--h-m); flex: none; }
  .nav-p-sel { flex: 1; min-width: 0; display: flex; align-items: center; gap: var(--e-2); font-size: var(--t-s); font-weight: 600; color: var(--encre-2); }
  .nav-p-sel select { flex: 1; min-width: 0; height: var(--h-m); padding: 0 var(--e-25); border: 1px solid var(--filet-fort); border-radius: var(--r); background: var(--surface); font: inherit;
                      font-size: var(--t-m); font-weight: 500; color: var(--encre); }
  .fiche-z { padding: var(--e-3); }
}

/* une page d'un espace dans la coque (Développeurs, Paramètres) : le menu de l'espace, collé sous la barre du haut,
   défile seul et reste en place quand le contenu défile ; sur tablette et téléphone, il devient le sélecteur
   « Rubrique » en tête du contenu */
.coque-np { display: grid; grid-template-columns: 256px minmax(0, 1fr); min-height: calc(100vh - var(--haut)); min-height: calc(100dvh - var(--haut)); }
.coque-np:has(> .nav-p.replie) { grid-template-columns: 50px minmax(0, 1fr); }
.coque-np > .nav-p { position: sticky; top: var(--haut); align-self: start; height: calc(100vh - var(--haut)); height: calc(100dvh - var(--haut)); }
.coque-np > .page { min-width: 0; width: 100%; }
@media (max-width: 1023px) {
  .coque-np, .coque-np:has(> .nav-p.replie) { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .coque-np > .nav-p, .coque-np > .nav-p.replie { position: static; height: auto; border-right: 0; border-bottom: 1px solid var(--filet); padding: var(--e-2) var(--e-6); flex-direction: row; align-items: center; gap: var(--e-25); }
  .coque-np > .nav-p .nav-p-tete, .coque-np > .nav-p .nav-p-d { display: none; }
  .coque-np > .nav-p .nav-p-sel { flex: 1; min-width: 0; display: flex; align-items: center; gap: var(--e-2); font-size: var(--t-s); font-weight: 600; color: var(--encre-2); }
  .coque-np > .nav-p .nav-p-sel select { flex: 1; min-width: 0; max-width: 420px; height: var(--h-m); padding: 0 var(--e-25); border: 1px solid var(--filet-fort); border-radius: var(--r); background: var(--surface);
                                          font: inherit; font-size: var(--t-m); font-weight: 500; color: var(--encre); }
}
@media (max-width: 639px) { .coque-np > .nav-p, .coque-np > .nav-p.replie { padding: var(--e-2) var(--e-3); } }
/* le sélecteur posé par l'en-tête sous le titre (audit du produit 9.4, constat 2) : celui du menu de page se tait, et le
   menu de page disparaît s'il ne portait rien d'autre (une fiche y garde son retour vers sa liste) */
@media (max-width: 1023px) {
  .nav-p-sel.sous-tete { display: flex; align-items: center; gap: var(--e-2); max-width: 480px; font-size: var(--t-s); font-weight: 600; color: var(--encre-2); }
  .nav-p-sel.sous-tete select { flex: 1; min-width: 0; height: var(--h-m); padding: 0 var(--e-25); border: 1px solid var(--filet-fort); border-radius: var(--r); background: var(--surface);
                                font: inherit; font-size: var(--t-m); font-weight: 500; color: var(--encre); }
  .coque-np:has(.nav-p-sel.sous-tete) > .nav-p .nav-p-sel { display: none; }
  .coque-np:has(.nav-p-sel.sous-tete) > .nav-p:not(:has(> .nav-p-retour)) { display: none; }
}

/* l'en-tête commun d'une page de la console : le chemin, l'icône et le titre sur toute la largeur, la ligne de contexte
   dessous ; les commandes dans la barre qui le suit (composants/base.html, entete), plus près de lui que du contenu */
.tete-n { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: var(--e-15); align-items: center; }
.tete-n > .tete-p-c { max-width: 820px; margin: 0; }
.tete-n .tete-p-l h1 { font-size: var(--t-2xl); }
.tete-n:has(+ .commandes) { margin-bottom: var(--e-35); }
@container page (max-width: 760px) { .tete-n .tete-p-l h1 { font-size: var(--t-xl); } }

/* ---------------------------------------------------------------- l'en-tête de page */
.tete-p { display: grid; gap: var(--e-15); margin-bottom: var(--e-35); min-width: 0; }
.chemin { display: flex; align-items: center; flex-wrap: wrap; gap: var(--e-1); font-size: var(--t-s); color: var(--encre-3); }
.page > .chemin { margin-bottom: var(--e-25); }   /* le chemin d'une fiche, au-dessus de son en-tête */
.chemin a { color: var(--accent); } .chemin a:hover { text-decoration: underline; text-underline-offset: 3px; }
.chemin .ico { width: 13px; height: 13px; color: var(--encre-4); }
.tete-p-l { display: flex; align-items: center; gap: var(--e-25); min-width: 0; }
.tete-p-l h1 { min-width: 0; font-size: var(--t-2xl); line-height: 1.2; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.tete-p-r { font-weight: 400; color: var(--encre-3); white-space: nowrap; }      /* la barre reste avec sa rubrique ; le titre passe à la ligne avant elle */
.tete-p-b { display: inline-flex; align-items: center; gap: var(--e-15); flex: none; margin-left: var(--e-1); padding: var(--e-05) var(--e-2); border-radius: var(--r-s); background: var(--survol);
            font-size: var(--t-xs); font-weight: 600; color: var(--encre-2); white-space: nowrap; }
.tete-p-b .ico { width: 13px; height: 13px; }
.tete-p-e, .tete-p-pts { flex: none; width: var(--h-s); height: var(--h-s); display: grid; place-items: center; border-radius: var(--r-s); color: var(--encre-3); }
.tete-p-e:hover, .tete-p-pts:hover, .tete-p-pts[aria-expanded="true"] { background: var(--survol); color: var(--encre); }
.tete-p-e .ico, .tete-p-pts .ico { width: 18px; height: 18px; }
.tete-p-e[aria-pressed="true"] .ico { fill: var(--jaune); stroke: var(--jaune-texte); }
.tete-p-c { font-size: var(--t-m); color: var(--encre-3); line-height: 1.5; }
@container (max-width: 480px) { .tete-p-l h1 { font-size: var(--t-xl); } .tete-p-l .icone-c.i26, .tete-p-l > .logo-app { display: none; } }

/* ---------------------------------------------------------------- le volet de détail à côté d'une liste */
/* la seconde colonne prend la largeur du volet quand il est dans le flux, rien quand il est fermé ou qu'il couvre la
   liste (étroit) : la règle ne dépend pas de la largeur du conteneur, qu'il ne peut pas interroger lui-même */
.liste-v { container: liste-v / inline-size; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; min-height: 0; }
.volet-c { width: 360px; min-width: 0; min-height: 0; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; background: var(--surface); border-left: 1px solid var(--filet);
           box-shadow: -10px 0 28px rgba(17, 17, 17, .09); }
.volet-c[hidden] { display: none; }
.volet-c-t { display: flex; gap: var(--e-25); align-items: flex-start; padding: var(--e-3) var(--e-35) var(--e-3) var(--e-4); border-bottom: 1px solid var(--filet); }
.volet-c-t div { display: grid; gap: var(--e-05); min-width: 0; flex: 1; }
.volet-c-t b { font-size: var(--t-m); font-weight: 600; overflow-wrap: anywhere; } .volet-c-t small { font-size: var(--t-xs); color: var(--encre-3); }
.volet-c-c { padding: var(--e-3) var(--e-4); display: grid; grid-auto-rows: max-content; gap: var(--e-35); align-content: start; }
.volet-c .detail-l > div { grid-template-columns: 92px minmax(0, 1fr); font-size: var(--t-s); }
.volet-c-p { display: flex; flex-wrap: wrap; gap: var(--e-2) var(--e-4); padding: var(--e-25) var(--e-4); border-top: 1px solid var(--filet); }
/* étroit, le volet couvre la liste, qui reste dessous */
@container liste-v (max-width: 720px) {
  .volet-c { position: absolute; inset: 0 0 0 auto; width: min(100%, 360px); z-index: 3; }
}
/* dans une page (les journaux), le volet reste dans la fenêtre quand la liste défile ; sous 860 pixels de liste (une
   tablette, un téléphone), il la couvre, de la barre du haut au bas de l'écran */
.page > .liste-v { margin-bottom: var(--e-4); }
/* le volet ouvert, les colonnes facultatives se taisent : le volet dit tout de la ligne */
.page > .liste-v:has(> .volet-c:not([hidden])) .tab-z:not(:has(.masquees-c:checked)) :is(.opt-m, .opt-l, .opt-xl) { display: none; }
.page > .liste-v > .volet-c { position: sticky; top: calc(var(--haut) + var(--e-3)); align-self: start; margin-left: var(--e-3); max-height: calc(100vh - var(--haut) - var(--e-6));
  max-height: calc(100dvh - var(--haut) - var(--e-6)); border: 1px solid var(--filet); border-radius: var(--r-g); overflow: hidden; }
.page > .liste-v > .volet-c .volet-c-p { justify-content: space-between; align-items: center; }
.page > .liste-v > .volet-c .detail-l > div { grid-template-columns: 112px minmax(0, 1fr); }
.page > .liste-v > .grille { margin-bottom: 0; min-width: 0; }
@container liste-v (max-width: 860px) {
  .page > .liste-v > .volet-c { position: fixed; inset: var(--haut) 0 0 auto; width: min(100vw, 400px); max-height: none; margin-left: 0; z-index: 45; border-radius: 0; border-width: 0 0 0 1px; }
}

/* ---------------------------------------------------------------- css/contenu.css */
/* Trousseau, contenu.css : Le contenu des pages : cartes, listes, entités, états, avis et messages, filtres, tableaux, pagination, panneaux et fenêtres, palette, suggestions, indicateurs, graphiques, fiches. */

/* ================================================================ cartes, grilles, listes */
/* une carte est le conteneur des composants qu'elle porte : propriétés, listes, champs s'adaptent à sa largeur */
.carte { container-type: inline-size; background: var(--surface); border: 1px solid var(--filet); border-radius: var(--r-g); box-shadow: var(--ombre-carte); min-width: 0; }
.carte-tete { display: flex; align-items: center; gap: var(--e-3); padding: var(--e-35) var(--e-5); border-bottom: 1px solid var(--filet-2); flex-wrap: wrap; min-height: 54px; }
.carte-tete h2 { font-size: var(--t-l); font-weight: 600; letter-spacing: -0.01em; display: flex; align-items: center; gap: var(--e-2); }
.carte-tete-t { flex: 1 1 240px; min-width: 0; display: grid; gap: var(--e-05); } .carte-tete-t p { font-size: var(--t-s); color: var(--encre-3); line-height: 1.45; }
.carte-corps { padding: var(--e-45) var(--e-5); display: grid; gap: var(--e-4); align-content: start; min-width: 0; }
.carte-corps.serre { padding: var(--e-15) var(--e-2); gap: 0; }
.carte-pied { display: flex; align-items: center; justify-content: flex-end; gap: var(--e-2); padding: var(--e-3) var(--e-5); border-top: 1px solid var(--filet-2); background: var(--surface-2); border-radius: 0 0 var(--r-g) var(--r-g); flex-wrap: wrap; }
.carte-pied .aide { margin-right: auto; }
.carte-l { position: relative; display: grid; gap: var(--e-1); align-content: start; padding: var(--e-4) var(--e-45); background: var(--surface); border: 1px solid var(--filet); border-radius: var(--r-g); color: inherit; min-width: 0; }
a.carte-l { transition: border-color var(--d-court); } a.carte-l:hover { border-color: var(--filet-fort); }
.carte-l .fleche { display: none; }
@container page (max-width: 1000px) { .recap { position: static; } }
.pile { display: grid; gap: var(--e-4); align-content: start; min-width: 0; } .pile-s { display: grid; gap: var(--e-25); min-width: 0; }
.grille-c { display: grid; gap: var(--e-4); margin-bottom: var(--e-4); align-items: start; }
.grille-c.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grille-c.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grille-c.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .grille-c.c21 { grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr); }
.grille-c.c12 { grid-template-columns: minmax(300px, 1fr) minmax(0, 2fr); }
/* empilées, les colonnes gardent l'ordre du document, sauf celle marquée .avant (ce qui identifie et ce qui sert à agir :
   les propriétés d'une fiche), qui passe en tête */
@media (max-width: 1279px) { .grille-c.c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1023px) { .grille-c.c2, .grille-c.c3, .grille-c.c21, .grille-c.c12 { grid-template-columns: minmax(0, 1fr); } .grille-c > .avant { order: -1; } }
@media (max-width: 639px) { .grille-c.c4 { grid-template-columns: minmax(0, 1fr); } }
.grille-c.etire { align-items: stretch; }
.grille-c:last-child { margin-bottom: 0; }
.props { display: grid; }
.props > div { display: grid; grid-template-columns: minmax(130px, 34%) minmax(0, 1fr); gap: var(--e-3); padding: 9px 0; border-bottom: 1px solid var(--filet-2); font-size: var(--t-m); align-items: baseline; }
.props > div:first-child { padding-top: 0; } .props > div:last-child { border-bottom: 0; padding-bottom: 0; }
@container (max-width: 400px) { .props > div { grid-template-columns: minmax(0, 1fr); gap: var(--e-05); } }
.props dt { color: var(--encre-3); } .props dd { min-width: 0; display: flex; gap: var(--e-2); align-items: center; flex-wrap: wrap; overflow-wrap: anywhere; }
.liste { display: grid; }
.liste > li { border-bottom: 1px solid var(--filet-2); } .liste > li:last-child { border-bottom: 0; }
.liste-e { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--e-3); align-items: center; padding: 11px var(--e-5); color: inherit; }
a.liste-e:hover { background: var(--surface-2); }
.liste-t { min-width: 0; } .liste-t b { display: block; font-size: var(--t-m); overflow: hidden; text-overflow: ellipsis; }
.liste-t span { display: block; font-size: var(--t-xs); color: var(--encre-3); line-height: 1.45; margin-top: 1px; }
.liste-t span.pastille-e { display: inline-flex; width: auto; }          /* une pastille sous un nom garde sa taille */
/* une ligne de liste à deux liens (Vue de sécurité) : le nom mène à sa fiche, un nombre à sa liste */
.liste-t a.lien-n { display: block; min-width: 0; color: inherit; } .liste-t a.lien-n:hover b { text-decoration: underline; text-underline-offset: 3px; }
.liste-t span a.lien { font-size: inherit; }
.liste-d { display: flex; gap: var(--e-2); align-items: center; justify-content: flex-end; flex-wrap: wrap; }
/* les délégués d'une organisation : la personne, son rôle, ses actions ; étroite, le rôle passe sous la personne */
.delegues-l .liste-e { grid-template-columns: minmax(0, 1fr) auto auto; }
/* les domaines des utilisateurs d'une organisation : sur un téléphone, le bouton « Ajouter ce domaine » passe dessous */
@media (max-width: 639px) { .domaines-c .liste-e { grid-template-columns: auto minmax(0, 1fr); padding-left: 0; padding-right: 0; } .domaines-c .liste-d { grid-column: 1 / -1; } }
@container (max-width: 480px) { .delegues-l .liste-e { grid-template-columns: minmax(0, 1fr) auto; } .delegues-l .liste-t { grid-column: 1; grid-row: 2; } }
.vide { display: grid; justify-items: center; text-align: center; gap: var(--e-1); padding: var(--e-7) var(--e-6); }
.vide .tuile-i { width: 56px; height: 56px; margin-bottom: var(--e-2); border-radius: 50%; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--filet); color: var(--encre-3); } .vide .tuile-i .ico { width: 24px; height: 24px; }
.vide b { font-size: var(--t-m); font-weight: 600; } .vide p { font-size: var(--t-s); color: var(--encre-3); max-width: 460px; line-height: 1.5; }
.vide .actions { margin-top: var(--e-25); justify-content: center; }

/* ================================================================ entités, pastilles, états */
.ent { display: inline-flex; gap: var(--e-25); align-items: center; min-width: 0; max-width: 100%; color: inherit; vertical-align: middle; }
a.ent:hover .ent-t b { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.ent-t { min-width: 0; display: grid; line-height: 1.3; }
.ent-t b { font-weight: 600; font-size: var(--t-m); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: flex; align-items: center; gap: var(--e-15); min-width: 0; }
.ent-t b .nomp { overflow: hidden; text-overflow: ellipsis; }
.ent-t small { font-size: var(--t-xs); color: var(--encre-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* une seule teinte pour tout le monde : l'annuaire n'est pas un nuancier */
.av { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; flex: none; font-size: 12px; font-weight: 600; letter-spacing: .02em;
      background: var(--appuye); color: var(--encre-2); font-family: var(--titre); box-shadow: inset 0 0 0 1px rgba(17, 17, 17, .04); }
.av.off { background: var(--survol); color: var(--encre-4); }
.av.p { width: 24px; height: 24px; font-size: 10px; } .av.m { width: 40px; height: 40px; font-size: 14px; } .av.g { width: 56px; height: 56px; font-size: 19px; }
.tuile-i { display: inline-grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: var(--r); background: var(--survol); color: var(--encre-2); font-size: 13px; font-weight: 600; }
.tuile-i .ico { width: 17px; height: 17px; }
.tuile-i.p { width: 24px; height: 24px; } .tuile-i.p .ico { width: 14px; height: 14px; }
.tuile-i.ok, .tuile-i.secu { background: var(--ok-pale); color: var(--vert-fort); } .tuile-i.ko { background: var(--ko-pale); color: var(--rouge); }
.tuile-i.at { background: var(--jaune-pale); color: var(--jaune-texte); } .tuile-i.info { background: var(--info-pale); color: var(--info); }
.tuile-i.accent { background: var(--accent-pale); color: var(--accent); }
.logo-app { border-radius: 22%; flex: none; object-fit: cover; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }
.logo-app.tuile { display: inline-grid; place-items: center; color: #fff; font-weight: 700; font-size: 12px; background: #3A3D3B; letter-spacing: .01em; }
.t20 { width: 20px; height: 20px; } .t20.tuile { font-size: 8px; } .t24 { width: 24px; height: 24px; } .t24.tuile { font-size: 9px; }
.t28 { width: 28px; height: 28px; } .t28.tuile { font-size: 10.5px; }
.t32 { width: 32px; height: 32px; } .t36 { width: 36px; height: 36px; } .t40 { width: 40px; height: 40px; } .t40.tuile { font-size: 14px; }
.t48 { width: 48px; height: 48px; } .t48.tuile { font-size: 16px; } .t56 { width: 56px; height: 56px; } .t56.tuile { font-size: 19px; } .t64 { width: 64px; height: 64px; } .t64.tuile { font-size: 22px; }
.c494C4A { background: #494C4A; } .c00534C { background: #00534C; } .c18A096 { background: #18A096; } .cE7511E { background: #E7511E; }
.cB47B0A { background: #B47B0A; } .c3A5A8C { background: #3A5A8C; } .c7A3E6C { background: #7A3E6C; } .c1C1E1D { background: #1C1E1D; } .c3A3D3B { background: #3A3D3B; }
.tiers { width: 18px; height: 18px; flex: none; object-fit: contain; } .tiers.m { width: 24px; height: 24px; } .tiers.g { width: 32px; height: 32px; }
.appareil { display: inline-flex; align-items: center; gap: var(--e-2); min-width: 0; white-space: nowrap; } .appareil .tiers { width: 16px; height: 16px; }
.appareil .sys { margin-left: calc(-1 * var(--e-1)); }
/* un état : un point coloré et un mot */
.etat { display: inline-flex; align-items: center; gap: 7px; font-size: var(--t-s); white-space: nowrap; color: var(--encre-2); }
.etat::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--encre-4); flex: none; }
.etat.ok::before { background: var(--ok-point); } .etat.ko::before { background: var(--ko-point); } .etat.at::before { background: var(--jaune); } .etat.neutre::before { background: var(--encre-4); }
.etat.ko { color: var(--encre); }
/* un second facteur absent : un anneau orange, pas un point plein ; la liste le signale sans crier à chaque ligne */
.etat.manque::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ko-point); }
/* une étiquette : sobre, rectangulaire */
.pastille-e, .eti { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 var(--e-2); border-radius: var(--r-s); font-size: var(--t-xs); font-weight: 500; white-space: nowrap;
                    background: var(--survol); color: var(--encre-2); border: 1px solid var(--filet-2); vertical-align: middle; max-width: 100%; }
.pastille-e .ico, .eti .ico { width: 13px; height: 13px; } .eti span { overflow: hidden; text-overflow: ellipsis; }
a.eti:hover { border-color: var(--filet-fort); color: var(--encre); }
.pastille-e.ok { background: var(--ok-pale); color: var(--ok); border-color: var(--ok-filet); }
.pastille-e.ko { background: var(--ko-pale); color: var(--ko); border-color: var(--ko-filet); }
.pastille-e.at { background: var(--jaune-pale); color: var(--jaune-texte); border-color: var(--jaune-filet); }
.pastille-e.accent { background: var(--accent-pale); color: var(--accent); border-color: var(--accent-filet); }
.pastille-e.v, .pastille-e.accent { background: var(--accent-pale); color: var(--accent); border-color: var(--accent-filet); }
.pastille-e.role { background: var(--info-pale); color: var(--info); border-color: var(--info-filet); }
.pastille-e.p { height: 16px; padding: 0 5px; font-size: 11px; vertical-align: 1px; } .ent-t small .pastille-e { margin-right: var(--e-15); }
.etis { display: flex; gap: var(--e-15); flex-wrap: wrap; align-items: center; min-width: 0; }
/* les portées d'une API sous son nom, en ligne ; les applications qui en ont reçu, une par ligne avec les siennes */
.etis.portees-l { margin: var(--e-15) 0 0 52px; max-width: 520px; }
.eti .pt { width: 8px; height: 8px; border-radius: 2px; }
.compte-p { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 var(--e-15); border-radius: 10px; background: var(--appuye); color: var(--encre-2); font-size: var(--t-xs); font-weight: 600; font-variant-numeric: tabular-nums; }
.compte-p.f { background: var(--jaune); color: var(--encre); } .compte-p.g { background: var(--appuye); }
.compte-l { font-size: var(--t-s); color: var(--encre-3); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ================================================================ avis et messages */
.avis { display: flex; gap: var(--e-3); align-items: flex-start; padding: var(--e-3) var(--e-35); border-radius: var(--r-g); border: 1px solid var(--filet); background: var(--surface-2); font-size: var(--t-m); line-height: 1.5; color: var(--encre-2); }
.avis > .ico { width: 18px; height: 18px; margin-top: 1px; color: var(--encre-3); }
.avis-t { flex: 1; min-width: 0; } .avis-t b { color: var(--encre); }
/* un avis qui porte une action : sur un écran étroit, l'action passe sous le texte au lieu de le serrer en colonne */
@media (max-width: 639px) { .avis:has(> form, > .btn) { display: grid; grid-template-columns: auto minmax(0, 1fr); }
  .avis:has(> form, > .btn) > form, .avis:has(> form, > .btn) > .btn { grid-column: 2; justify-self: start; } }
.avis.ko { background: var(--ko-pale); border-color: var(--ko-filet); } .avis.ko > .ico { color: var(--ko); }
.avis.at { background: var(--jaune-pale); border-color: var(--jaune-filet); } .avis.at > .ico { color: var(--jaune-texte); }
.avis.ok { background: var(--ok-pale); border-color: var(--ok-filet); } .avis.ok > .ico { color: var(--ok); }
.avis.n { background: var(--info-pale); border-color: var(--info-filet); } .avis.n > .ico { color: var(--info); }
.lien-avis { color: inherit; transition: border-color var(--d-court); } .lien-avis:hover { border-color: var(--info); } .lien-avis > .ico:last-child { width: 14px; height: 14px; color: var(--encre-3); }
.messages { position: fixed; right: var(--e-5); bottom: var(--e-5); z-index: 260; display: grid; gap: var(--e-25); width: min(400px, calc(100% - var(--e-7))); }
.message { display: flex; gap: var(--e-3); align-items: flex-start; padding: var(--e-3) var(--e-3) var(--e-3) var(--e-35); border-radius: var(--r-g); background: var(--surface); color: var(--encre);
           box-shadow: var(--ombre-pop), inset 4px 0 0 var(--vert); font-size: var(--t-m); line-height: 1.45; animation: monte .18s var(--doux); }
.message > .ico { width: 18px; height: 18px; color: var(--vert); margin-top: 1px; }
.message span { flex: 1; }
.message.alerte { box-shadow: var(--ombre-pop), inset 4px 0 0 var(--ko); } .message.alerte > .ico { color: var(--ko); }
.message .fermer { width: 26px; height: 26px; border-radius: var(--r-s); display: grid; place-items: center; color: var(--encre-3); flex: none; } .message .fermer:hover { background: var(--survol); color: var(--encre); }
.message .fermer .ico { width: 14px; height: 14px; }
.message.part { opacity: 0; transform: translateY(6px); transition: all var(--d-long); }

/* ================================================================ barre de liste, filtres, tableaux, pages */
.barre-l { display: flex; align-items: center; gap: var(--e-2); flex-wrap: wrap; margin-bottom: var(--e-3); }
.barre-l .compte-l { margin-left: auto; }
@container (max-width: 640px) { .barre-l .rech { flex: 1 1 100%; } .barre-l .rech input { width: 100%; } .barre-l .compte-l { margin-left: 0; } .barre-l .saut { display: none; } }
.rech { display: flex; align-items: center; gap: var(--e-2); height: 32px; padding: 0 var(--e-25); border-radius: var(--r); background: var(--surface); border: 1px solid var(--filet-fort); min-width: 0; transition: border-color var(--d-court), box-shadow var(--d-court); }
.rech:hover { border-color: #A9A9A3; } .rech:focus-within { border-color: var(--jaune-fort); box-shadow: var(--anneau); }
.rech .ico { width: 15px; height: 15px; color: var(--encre-3); }
.rech input { border: 0; outline: 0; background: none; font-size: var(--t-m); width: 220px; min-width: 0; flex: 1; height: 100%; }
.rech input::placeholder { color: var(--encre-4); }
.segments { display: inline-flex; padding: var(--e-05); border-radius: var(--r); background: var(--appuye); gap: var(--e-05); flex-wrap: wrap; }
.segments a { display: inline-flex; align-items: center; gap: var(--e-15); height: 28px; padding: 0 var(--e-25); border-radius: var(--r-s); font-size: var(--t-s); font-weight: 500; color: var(--encre-2); text-decoration: none; white-space: nowrap; }
.segments a:hover { color: var(--encre); background: rgba(255, 255, 255, .5); }
.segments a.on { background: var(--surface); color: var(--encre); font-weight: 600; box-shadow: 0 1px 2px rgba(27, 28, 26, .1); }
.segments a em { font-style: normal; color: var(--encre-3); font-weight: 500; font-variant-numeric: tabular-nums; }
.puces { display: flex; gap: var(--e-15); flex-wrap: wrap; align-items: center; margin: calc(-1 * var(--e-1)) 0 var(--e-3); }
.puce { display: inline-flex; align-items: center; gap: var(--e-15); height: 26px; padding: 0 var(--e-1) 0 var(--e-25); border-radius: 13px; background: var(--miel); color: var(--encre); font-size: var(--t-xs); font-weight: 500;
        border: 1px solid var(--jaune-filet); }
.puce .ico { width: 13px; height: 13px; } .puce i { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; } .puce:hover i { background: var(--jaune-pale); }
.puces .lien { margin-left: var(--e-1); font-weight: 500; }
.selection { display: flex; align-items: center; gap: var(--e-3); flex-wrap: wrap; padding: var(--e-15) var(--e-15) var(--e-15) var(--e-4); margin-bottom: var(--e-3); border-radius: var(--r-g); background: var(--encre-2);
             color: #fff; box-shadow: var(--ombre-carte-2); }
.selection .btn-s { background: #fff; border-color: #fff; } .selection .btn-g { color: rgba(255, 255, 255, .85); } .selection .btn-g:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.selection b { font-size: var(--t-m); } .selection .actions { margin-left: auto; gap: var(--e-15); }
@container page (max-width: 640px) { .selection .actions { margin-left: 0; } }
.grille { container-type: inline-size; background: var(--surface); border: 1px solid var(--filet); border-radius: var(--r-g); box-shadow: var(--ombre-carte); min-width: 0; margin-bottom: var(--e-4); }
.grille:last-child { margin-bottom: 0; }
.carte .grille, .carte .tab-z { border-radius: 0; }
/* la zone d'un tableau est son conteneur (tab) : les colonnes facultatives (.opt-xl, .opt-l, .opt-m, .opt-s, de la
   moins utile à la plus utile) s'effacent quand la place manque, et une ligne (.masquees, macro masquees) le dit et
   permet de les rouvrir ; le tableau défile alors en largeur. Les colonnes masquées par choix (.cache) ne comptent pas. */
.tab-z { container: tab / inline-size; overflow-x: auto; border-radius: var(--r-g) var(--r-g) 0 0; }
/* dans une carte, un tableau qui défile en largeur porte une ombre au bord d'où il reste à lire (9.4.0) : deux caches
   de la couleur de la carte suivent le contenu (local) et couvrent l'ombre fixe (scroll) tant qu'il n'y a rien au-delà.
   Une liste principale ne défile pas sur un téléphone : elle s'empile (.tab.empile, plus bas). */
.carte .tab-z { background: linear-gradient(to right, var(--surface) 40%, transparent) left center / 32px 100% no-repeat local,
                            linear-gradient(to left, var(--surface) 40%, transparent) right center / 32px 100% no-repeat local,
                            radial-gradient(farthest-side at 0 50%, rgba(17, 17, 17, .16), transparent) left center / 12px 100% no-repeat scroll,
                            radial-gradient(farthest-side at 100% 50%, rgba(17, 17, 17, .16), transparent) right center / 12px 100% no-repeat scroll; }
.masquees { display: none; position: sticky; left: 0; align-items: center; gap: var(--e-2); flex-wrap: wrap; padding: var(--e-2) var(--e-4); border-bottom: 1px solid var(--filet-2);
            background: var(--surface-2); font-size: var(--t-s); color: var(--encre-3); }
.masquees .ico { width: 14px; height: 14px; }
.masquees-b { display: inline-flex; align-items: center; gap: var(--e-1); font-weight: 500; color: var(--accent); cursor: pointer; }
.masquees-b:hover { text-decoration: underline; text-underline-offset: 3px; }
.masquees-b:has(input:focus-visible) { outline: 2px solid var(--jaune-fort); outline-offset: 2px; border-radius: var(--r-s); }
.masquees-b .ferme, .tab-z:has(.masquees-c:checked) .masquees-b .ouvre { display: none; }
.tab-z:has(.masquees-c:checked) .masquees-b .ferme { display: inline; }
@container tab (max-width: 1000px) {
  .tab-z:not(:has(.masquees-c:checked)) .opt-xl { display: none; }
  .tab-z:has(.opt-xl:not(.cache)) > .masquees { display: flex; }
}
/* une liste large (.tab-z.large, neuf colonnes : les utilisateurs) replie sa colonne la moins utile dès 1 100 pixels ;
   l'organisation, qui passe à la ligne (td.lg), garde ainsi de quoi tenir sur deux lignes au plus */
@container tab (max-width: 1100px) {
  .tab-z.large:not(:has(.masquees-c:checked)) .opt-xl { display: none; }
  .tab-z.large:has(.opt-xl:not(.cache)) > .masquees { display: flex; }
}
@container tab (max-width: 840px) {
  .tab-z:not(:has(.masquees-c:checked)) .opt-l { display: none; }
  .tab-z:has(.opt-l:not(.cache)) > .masquees { display: flex; }
}
@container tab (max-width: 720px) {
  .tab-z:not(:has(.masquees-c:checked)) .opt-m { display: none; }
  .tab-z:has(.opt-m:not(.cache)) > .masquees { display: flex; }
}
@container tab (max-width: 480px) {
  .tab-z:not(:has(.masquees-c:checked)) .opt-s { display: none; }
  .tab-z:has(.opt-s:not(.cache)) > .masquees { display: flex; }
}
/* sur un téléphone, la colonne principale garde de quoi poser un nom sans le couper au milieu d'un mot (une cellule
   n'a pas de largeur minimale : elle se pose sur son contenu) ; une adresse longue se coupe encore (overflow-wrap: anywhere) */
@container tab (max-width: 480px) { .tab td.lg .ent-t { min-width: 7rem; } .tab td .etat { white-space: normal; } }
.tab { width: 100%; border-collapse: collapse; font-size: var(--t-m); font-variant-numeric: tabular-nums; }
.tab th { position: sticky; top: 0; z-index: 1; text-align: left; font-size: var(--t-s); font-weight: 500; color: var(--encre-3); background: var(--surface); height: 40px; padding: 0 var(--e-3);
          border-bottom: 1px solid var(--filet); white-space: nowrap; }
.tab th a { display: inline-flex; align-items: center; gap: var(--e-1); color: inherit; text-decoration: none; }
.tab th a:hover { color: var(--encre); } .tab th a .ico { width: 13px; height: 13px; opacity: .35; } .tab th a.on { color: var(--encre); } .tab th a.on .ico { opacity: 1; color: var(--jaune-fort); }
.tab th:first-child, .tab td:first-child { padding-left: var(--e-4); } .tab th:last-child, .tab td:last-child { padding-right: var(--e-4); }
.tab td { padding: var(--e-15) var(--e-3); height: 44px; border-bottom: 1px solid var(--filet-2); vertical-align: middle; color: var(--encre-2); white-space: nowrap; max-width: 320px; overflow: hidden; text-overflow: ellipsis; }
.tab td.lg, .tab td:has(.sous-l) { white-space: normal; max-width: none; }
.tab td.lg .etat { white-space: normal; }          /* un résultat long passe à la ligne plutôt que de pousser la dernière colonne */
/* une cellule longue (.lg) laisse passer ses noms à la ligne ; un tableau étroit aussi, plutôt que de les couper */
.tab td.lg .ent-t b, .tab td.lg .ent-t small { white-space: normal; overflow-wrap: anywhere; }
@container tab (max-width: 480px) { .tab td .ent-t b { white-space: normal; } }
.tab tbody tr:last-child td { border-bottom: 0; }
.tab tbody tr:hover td { background: var(--surface-2); }
.tab tbody tr.actif td { background: var(--miel); } .tab tbody tr.actif td:first-child { box-shadow: inset 3px 0 0 var(--jaune); }
.tab tbody tr[data-lien], .tab tbody tr[data-detail], .tab tbody tr[data-ouvrir] { cursor: pointer; }
.tab tbody tr.choisie td { background: var(--miel); }
.tab tbody tr.inactif td { color: var(--encre-4); } .tab tbody tr.inactif .ent-t b { color: var(--encre-3); }
.tab td b { color: var(--encre); font-weight: 600; }
.tab td > .ent { min-width: 230px; } .tab td > .ent .ent-t small { max-width: 300px; }
@container tab (max-width: 1000px) { .tab td > .ent { min-width: 180px; } .tab td > .ent .ent-t small { max-width: 220px; } }
@container tab (max-width: 480px) { .tab td > .ent { min-width: 0; } .tab td > .ent .ent-t small { max-width: none; } }
.tab .n { text-align: right; } .tab th.n { text-align: right; }
.tab .fin { text-align: right; white-space: nowrap; width: 1%; }
.tab .court { white-space: nowrap; } .tab .date { white-space: nowrap; color: var(--encre-3); }
.tab .case-c { width: 44px; padding-right: 0; } .tab .case-c input { display: block; }
.tab .sous-l { display: block; font-size: var(--t-xs); color: var(--encre-3); margin-top: 1px; }
.tab .actions-l { display: inline-flex; gap: var(--e-1); align-items: center; justify-content: flex-end; }
/* sans survol (écran tactile), les boutons d'une ligne restent visibles ; dans un tableau étroit, la ligne s'ouvre au
   toucher et ses boutons laissent la place */
@media (hover: none) { .tab .apparait { opacity: 1; } }
@container tab (max-width: 480px) { .tab .actions-l:has(.apparait) { display: none; } }
.tab .apparait { opacity: 0; transition: opacity var(--d-court); } .tab tbody tr:hover .apparait, .tab tbody tr:focus-within .apparait { opacity: 1; }
/* dans un tableau étroit, un bouton de ligne garde son pictogramme ; son nom reste lu (aria-label) */
@container tab (max-width: 480px) { .tab .lib-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
.tab.dense td { height: 36px; padding-top: var(--e-1); padding-bottom: var(--e-1); }
.tab .cache, .tab .cache-col { display: none; }
/* la revue des rôles d'administration : le rôle se lit en entier, jamais coupé */
.tab .role-c { min-width: 220px; }
@container tab (max-width: 640px) { .tab.empile .role-c { min-width: 0; } }
/* l'intitulé d'une cellule, qui ne se lit que dans un tableau empilé (sa colonne n'y a plus d'en-tête) */
.tab .empile-l { display: none; }
/* un tableau qui s'empile (.tab.empile) : sous 640 pixels, chaque ligne devient un bloc, l'objet d'abord, ses autres
   cellules dessous, ses boutons en dernier (« À traiter », Qui administre, la revue des rôles, la délégation). Empilées,
   les colonnes facultatives se lisent toutes : elles ne manquent plus de place ; celles que l'on a masquées restent
   masquées. */
@container tab (max-width: 640px) {
  .tab-z:has(> .tab.empile) > .masquees { display: none; }
  .tab.empile .empile-l { display: block; font-size: var(--t-xs); color: var(--encre-3); margin-bottom: var(--e-05); } .tab.empile .empile-cache { display: none; }
  .tab-z .tab.empile td:is(.opt-s, .opt-m, .opt-l, .opt-xl):not(.cache) { display: block; }
  .tab.empile td .sous-l, .tab.empile td.lg { white-space: normal; }
  .tab.empile thead { display: none; } .tab.empile tbody tr { display: grid; grid-template-columns: minmax(0, 1fr); border-bottom: 1px solid var(--filet-2); }
  .tab.empile tbody tr:last-child { border-bottom: 0; } .tab.empile td { display: block; height: auto; border: 0; padding: var(--e-25) var(--e-4) 0; max-width: none; }
  .tab.empile td.sous { padding: var(--e-05) var(--e-4) 0 58px; font-size: var(--t-xs); white-space: normal; }
  .tab.empile td.fin { width: auto; white-space: normal; text-align: left; padding: var(--e-2) var(--e-4) var(--e-3) 58px; }
  .tab.empile td.fin .actions-l { justify-content: flex-start; display: inline-flex; }
  .tab.empile td.n { text-align: left; }        /* un nombre empilé se lit sous son libellé, à gauche comme le reste */
}
/* un journal sur un téléphone : une ligne devient un bloc, l'auteur, puis l'action ou le résultat et l'heure à droite ;
   les autres colonnes sont dans le détail de la ligne. Au-delà, l'application se lit dans sa colonne. */
.tab .j-app { display: none; }
@container tab (max-width: 620px) {
  .tab-z:has(.tab.journal-e) > .masquees { display: none; }
  .tab.journal-e thead { display: none; }
  .tab.journal-e tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--e-1) var(--e-3); padding: var(--e-3) var(--e-4); border-bottom: 1px solid var(--filet-2); }
  .tab.journal-e tbody tr:last-child { border-bottom: 0; }
  .tab.journal-e tbody tr:hover, .tab.journal-e tbody tr.choisie { background: var(--surface-2); }
  .tab.journal-e td { display: none; }
  .tab.journal-e td.j-qui, .tab.journal-e td.j-quoi, .tab.journal-e td.j-quand { display: block; height: auto; padding: 0; border: 0; max-width: none; white-space: normal; overflow-wrap: anywhere; background: none; }
  .tab.journal-e td.j-qui { grid-column: 1 / -1; }
  .tab.journal-e td.j-quoi { grid-column: 1; grid-row: 2; }
  .tab.journal-e td.j-quand { grid-column: 2; grid-row: 2; text-align: right; font-size: var(--t-xs); }
  .tab.journal-e td > .ent { min-width: 0; } .tab.journal-e td > .ent .ent-t b, .tab.journal-e td > .ent .ent-t small { white-space: normal; }
  .tab.journal-e .j-app { display: block; font-size: var(--t-xs); color: var(--encre-3); margin-top: 1px; }
}
.pages { display: flex; align-items: center; justify-content: space-between; gap: var(--e-3) var(--e-5); flex-wrap: wrap; padding: var(--e-25) var(--e-3) var(--e-25) var(--e-4); border-top: 1px solid var(--filet); font-size: var(--t-s); color: var(--encre-3); }
.pages nav { display: flex; gap: var(--e-05); align-items: center; }
.pages nav a, .pages nav span { display: inline-grid; place-items: center; min-width: 32px; height: 32px; padding: 0 var(--e-15); border-radius: var(--r); font-size: var(--t-s); color: var(--encre-2); text-decoration: none; font-variant-numeric: tabular-nums; }
.pages nav a:hover { background: var(--survol); color: var(--encre); }
.pages nav a.on { background: var(--jaune); color: var(--encre); font-weight: 600; }
.pages nav span.hors { color: #C4C4BF; } .pages nav span.etc { min-width: 20px; }
.pages nav .ico { width: 16px; height: 16px; }
.pages form { display: flex; align-items: center; gap: var(--e-2); margin: 0; }
.pages .taille select { height: var(--h-s); width: auto; min-width: 70px; font-size: var(--t-s); }
.pages .pages-g { display: flex; align-items: center; gap: var(--e-45); flex-wrap: wrap; }
@container (max-width: 560px) { .pages { justify-content: center; } }
/* sur un téléphone étroit, dix pages et plus : la première et la dernière page restent par leur numéro, les flèches des
   bouts s'effacent, et la rangée passe à la ligne plutôt que de sortir de l'écran */
@container (max-width: 400px) { .pages nav { flex-wrap: wrap; justify-content: center; } .pages nav .bout { display: none; } }

/* ================================================================ volets latéraux et fenêtres */
.voile { position: fixed; inset: 0; background: rgba(27, 28, 26, .38); z-index: 100; opacity: 0; transition: opacity var(--d-long); } .voile.vu { opacity: 1; }
.volet { container-type: inline-size; position: fixed; top: 0; right: 0; bottom: 0; width: min(560px, 100%); background: var(--surface); z-index: 101; display: flex; flex-direction: column;
         box-shadow: var(--ombre-panneau); transform: translateX(102%); transition: transform var(--d-long) var(--doux); }
.volet.large { width: min(760px, 100%); }
.volet.ouvert { transform: none; }
.volet-f { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.volet-tete { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--e-35); align-items: start; padding: var(--e-5) var(--e-5) var(--e-4) var(--e-6); border-bottom: 1px solid var(--filet); }
.volet-tete .ctx { display: block; font-size: var(--t-xs); color: var(--encre-3); margin-bottom: var(--e-05); }
.volet-tete h2 { font-size: var(--t-xl); line-height: 1.3; } .volet-tete p { font-size: var(--t-m); color: var(--encre-3); margin-top: var(--e-1); line-height: 1.5; }
.volet-tete > .tuile-i, .volet-tete > .logo-app, .volet-tete > .av { margin-top: var(--e-05); }
.volet-tete:has(> .tuile-i, > .logo-app, > .av) { grid-template-columns: auto minmax(0, 1fr) auto; }
.x { width: 32px; height: 32px; border-radius: var(--r); display: grid; place-items: center; color: var(--encre-3); } .x:hover { background: var(--survol); color: var(--encre); } .x .ico { width: 18px; height: 18px; }
.volet-corps { flex: 1; overflow-y: auto; padding: var(--e-5) var(--e-6) var(--e-6); display: grid; gap: var(--e-5); align-content: start; overscroll-behavior: contain; }
.volet-s { display: grid; gap: var(--e-35); padding-top: var(--e-5); border-top: 1px solid var(--filet-2); } .volet-s:first-child { border-top: 0; padding-top: 0; }
.volet-s > h3 { font-size: var(--t-m); }
.volet-pied { display: flex; gap: var(--e-2); align-items: center; padding: var(--e-35) var(--e-6); border-top: 1px solid var(--filet); background: var(--surface-2); }
.volet-pied .resume { margin-left: auto; font-size: var(--t-s); color: var(--encre-3); text-align: right; min-width: 0; }
.volet-pied .aide { margin-left: auto; }
@container (max-width: 480px) { .volet-tete { padding: var(--e-4); } .volet-corps { padding: var(--e-4); } .volet-pied { padding: var(--e-3) var(--e-4); } }
.dlg { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: var(--e-4); background: rgba(27, 28, 26, .42); animation: apparait .12s; }
.dlg-b { width: min(480px, 100%); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); background: var(--surface); border-radius: var(--r-g); box-shadow: var(--ombre-pop); display: flex; flex-direction: column; animation: monte .14s var(--doux); }
.dlg-f { display: flex; flex-direction: column; min-height: 0; }
.dlg-tete { display: flex; gap: var(--e-3); align-items: center; padding: var(--e-5) var(--e-6) var(--e-15); }
.dlg-tete h2 { font-size: var(--t-xl); line-height: 1.3; }
.dlg-corps { container-type: inline-size; padding: var(--e-2) var(--e-6) var(--e-5); display: grid; gap: var(--e-35); overflow-y: auto; color: var(--encre-2); font-size: var(--t-m); line-height: 1.55; }
.dlg-pied { display: flex; gap: var(--e-2); justify-content: flex-end; padding: var(--e-35) var(--e-6); border-top: 1px solid var(--filet-2); background: var(--surface-2); border-radius: 0 0 var(--r-g) var(--r-g); }
body.fige { overflow: hidden; }

/* ================================================================ palette de commandes */
.palette { position: fixed; inset: 0; z-index: 200; background: rgba(27, 28, 26, .4); display: grid; justify-items: center; align-items: start; padding: 10vh var(--e-4) var(--e-4); animation: apparait .1s; }
.palette-b { width: min(640px, 100%); background: var(--surface); border-radius: var(--r-g); box-shadow: var(--ombre-pop); overflow: hidden; animation: monte .14s var(--doux); }
.palette-s { display: flex; align-items: center; gap: var(--e-3); padding: 0 var(--e-4); height: 52px; border-bottom: 1px solid var(--filet); }
.palette-s .ico { width: 18px; height: 18px; color: var(--encre-3); }
.palette-s input { flex: 1; border: 0; outline: 0; font-size: var(--t-l); background: none; min-width: 0; }
.palette-l { max-height: min(440px, 60vh); overflow-y: auto; padding: var(--e-1) var(--e-15) var(--e-15); }
.palette-l .s-t { font-size: var(--t-xs); font-weight: 500; color: var(--encre-3); padding: var(--e-3) var(--e-25) var(--e-15); }
.palette-l [role=option] { display: flex; align-items: center; gap: var(--e-3); padding: 7px var(--e-25); border-radius: var(--r); cursor: pointer; min-height: 40px; }
.palette-l [role=option][aria-selected="true"] { background: var(--miel); box-shadow: inset 3px 0 0 var(--jaune); }
.palette-l [role=option] .kbd { margin-left: auto; }
.palette-l .rien { padding: var(--e-45) var(--e-3); color: var(--encre-3); font-size: var(--t-m); }
.palette-p { display: flex; gap: var(--e-4); padding: 9px var(--e-4); border-top: 1px solid var(--filet); font-size: var(--t-xs); color: var(--encre-3); background: var(--surface-2); flex-wrap: wrap; }
.palette-p span { display: inline-flex; gap: 5px; align-items: center; }
.suggestions { position: absolute; z-index: 85; left: -1px; right: -1px; top: calc(100% + 4px); background: var(--surface); border-radius: var(--r-g); box-shadow: var(--ombre-pop); padding: var(--e-1); max-height: 300px; overflow-y: auto; }
.suggestions [role=option] { display: flex; align-items: center; gap: var(--e-25); padding: 7px var(--e-2); border-radius: var(--r-s); cursor: pointer; min-width: 0; }
.suggestions [role=option][aria-selected="true"], .suggestions [role=option]:hover { background: var(--survol); }
.suggestions .rien { padding: var(--e-3) var(--e-25); color: var(--encre-3); font-size: var(--t-s); }
.combo { position: relative; } .combo .rech { position: relative; height: 36px; } .combo .rech input { width: auto; font-size: var(--t-m); }
.combo .jetons { display: flex; flex-wrap: wrap; gap: var(--e-15); margin-top: var(--e-2); } .combo .jetons:empty { display: none; }
.jeton { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 3px 0 3px; border-radius: 14px; background: var(--survol); border: 1px solid var(--filet); font-size: var(--t-s); max-width: 100%; }
.jeton > span:not(.av):not(.tuile-i) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jeton .av, .jeton .tuile-i { width: 22px; height: 22px; font-size: 9px; border-radius: 50%; } .jeton .tuile-i .ico { width: 12px; height: 12px; }
.jeton button { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: var(--encre-3); } .jeton button:hover { background: var(--appuye); color: var(--encre); }
.jeton button .ico { width: 12px; height: 12px; }
.choisi { display: flex; align-items: center; gap: var(--e-25); min-height: 44px; padding: var(--e-15) var(--e-15) var(--e-15) var(--e-25); border-radius: var(--r); border: 1px solid var(--jaune); background: var(--miel); }
.choisi .ent-t { flex: 1; }

/* ================================================================ secrets, liens à remettre, code, étapes */
.remise { display: grid; gap: var(--e-3); padding: var(--e-4) var(--e-45); margin-bottom: var(--e-4); border-radius: var(--r-g); background: var(--jaune-pale); border: 1px solid var(--jaune-filet); }
.remise-t { display: flex; gap: var(--e-3); align-items: flex-start; color: var(--encre-2); font-size: var(--t-m); line-height: 1.5; }
.remise-t .tuile-i { background: var(--jaune); color: var(--encre); }
.remise-t b { display: block; font-size: var(--t-m); color: var(--encre); margin-bottom: 1px; }
.copie { display: flex; gap: var(--e-2); min-width: 0; } .copie .sai { font-family: var(--mono); font-size: var(--t-s); background: var(--surface); }
/* le code d'accès temporaire, à dicter : deux groupes de quatre en grand, puis chaque caractère épelé */
.code-dicte { display: flex; flex-wrap: wrap; gap: var(--e-25) var(--e-5); align-items: center; margin: 0; font-family: var(--mono); font-size: var(--t-3xl); line-height: 1.2; font-weight: 600; color: var(--encre); letter-spacing: .16em; }
.code-dicte span { padding: var(--e-15) var(--e-35); border-radius: var(--r); background: var(--surface); border: 1px solid var(--jaune-filet); }
.epele { display: flex; flex-wrap: wrap; gap: var(--e-1) var(--e-35); font-size: var(--t-s); color: var(--encre-2); }
.epele li:not(:last-child)::after { content: ','; }
/* les contrôles à faire avant une remise */
.verif-l { display: grid; gap: var(--e-25); padding-left: var(--e-45); list-style: disc; font-size: var(--t-m); color: var(--encre-2); line-height: 1.5; }
.choix-o.inactif { background: var(--surface-2); border-style: dashed; cursor: not-allowed; } .choix-o.inactif b { color: var(--encre-3); } .choix-o.inactif small { color: var(--ko); }
.preuve-s { min-width: 0; margin-top: var(--e-35); border: 1px solid var(--filet); border-radius: var(--r-g); background: var(--surface-2); }
.preuve-s summary { display: flex; align-items: center; gap: var(--e-25); min-height: 44px; padding: 0 var(--e-35); cursor: pointer; list-style: none; font-size: var(--t-m); } .preuve-s summary::-webkit-details-marker { display: none; }
.preuve-s summary span { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .preuve-s summary small { flex: 1; min-width: 0; color: var(--encre-3); font-size: var(--t-xs); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.preuve-s summary .ico { color: var(--encre-3); } .preuve-s[open] summary .ico:last-child { transform: rotate(180deg); }
.preuve-c { position: relative; padding: 0 var(--e-3) var(--e-3); } .preuve-c .btn { position: absolute; top: 8px; right: 20px; background: rgba(255, 255, 255, .1); color: #E6E7E3; }
.message-type { background: var(--surface); border-radius: var(--r); padding: var(--e-35) var(--e-4); font-size: var(--t-m); line-height: 1.6; color: var(--encre-2); white-space: pre-wrap; border: 1px solid var(--filet); }
.etapes-n { counter-reset: e; display: grid; gap: var(--e-4); }
.etapes-n > li { counter-increment: e; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: var(--e-3); }
.etapes-n > li::before { content: counter(e); width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--filet-fort); color: var(--encre-2); display: grid; place-items: center; font-size: var(--t-xs); font-weight: 600; }
.etapes-n > li > div { display: grid; gap: 5px; min-width: 0; } .etapes-n b { font-size: var(--t-m); }
.etapes { display: flex; align-items: center; flex-wrap: wrap; gap: var(--e-2); font-size: var(--t-s); color: var(--encre-3); }
.etapes li { display: flex; align-items: center; gap: var(--e-2); white-space: nowrap; }
.etapes li i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: var(--t-xs); font-weight: 600; font-style: normal; border: 1.5px solid var(--filet-fort); color: var(--encre-3); }
.etapes li + li::before { content: ''; width: 24px; height: 1.5px; background: var(--filet-fort); }
.etapes li.on { color: var(--encre); font-weight: 600; } .etapes li.on i { background: var(--encre); border-color: var(--encre); color: #fff; }
/* étroites, les étapes ne gardent que le libellé de l'étape en cours ; les autres restent lues par les lecteurs d'écran */
/* étroite, la frise tient sur une ligne : les étapes autres que la courante ne gardent que leur numéro, les filets raccourcissent */
@container (max-width: 420px) { .etapes { flex-wrap: nowrap; gap: var(--e-1); } .etapes li:not(.on) { gap: 0; } .etapes li + li::before { width: var(--e-3); margin-right: var(--e-1); }
  .etapes li:not(.on) .etapes-l { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
.etapes li.fait { color: var(--ok); } .etapes li.fait i { background: var(--vert); border-color: var(--vert); color: transparent; position: relative; }
.etapes li.fait i::after { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 11px no-repeat; }
.pas-l { display: grid; }
.pas { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: var(--e-3); align-items: center; padding: 11px var(--e-5); border-bottom: 1px solid var(--filet-2); color: inherit; }
.pas:last-child { border-bottom: 0; } a.pas:hover { background: var(--surface-2); }
.pas i { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--filet-fort); display: grid; place-items: center; font-size: 11px; font-weight: 600; font-style: normal; color: var(--encre-3); }
.pas.fait i { border: 0; background: var(--vert); color: #fff; } .pas.fait i .ico { width: 12px; height: 12px; }
.pas b { font-size: var(--t-m); } .pas > div > span { display: block; font-size: var(--t-xs); color: var(--encre-3); line-height: 1.4; margin-top: 1px; }
.pas.fait b { color: var(--encre-3); font-weight: 500; }

/* ================================================================ indicateurs et graphiques */
.indic[data-n="2"] { --n: 2; } .indic[data-n="3"] { --n: 3; } .indic[data-n="5"] { --n: 5; }
/* les indicateurs : quatre cases par défaut (data-n en donne deux ou trois), séparées par un filet d'un pixel, qui
   passent à deux puis à une par ligne quand la place manque ; une case seule sur sa ligne la prend entière */
.indic { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 1px; background: var(--filet-2); border: 1px solid var(--filet); border-radius: var(--r-g); overflow: hidden;
         box-shadow: var(--ombre-carte); margin-bottom: var(--e-4); }
.pile .indic { margin-bottom: 0; }                 /* dans une pile, l'écart est celui de la pile */
@container (max-width: 1100px) { .indic, .indic[data-n] { --n: 2; } .indic > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
@container (max-width: 480px) { .indic, .indic[data-n] { --n: 1; } }
.indic > * { padding: var(--e-4) var(--e-5); background: var(--surface); min-width: 0; display: grid; gap: var(--e-15); align-content: start; color: inherit; }
.indic a { transition: background var(--d-court); } .indic a:hover { background: var(--miel); }
.indic .lib { font-size: var(--t-xs); font-weight: 500; color: var(--encre-3); display: flex; align-items: center; gap: var(--e-2); min-height: 20px; } .indic .lib .tuile-i { display: none; }
.indic .v { font-family: var(--titre); font-size: var(--t-3xl); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; color: var(--encre); font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: var(--e-2); }
.indic .v small { font-size: var(--t-s); font-weight: 500; color: var(--encre-3); letter-spacing: 0; }
.indic .s { font-size: var(--t-xs); color: var(--encre-3); line-height: 1.4; }
.indic .s.at { color: var(--jaune-texte); } .indic .s.ko { color: var(--ko); }
/* sur un téléphone, une barre d'onglets plus large que l'écran s'estompe à droite tant qu'il reste des onglets à voir */
@keyframes onglets-fondu { from, 96% { mask-image: linear-gradient(to right, var(--encre) calc(100% - 40px), transparent); } to { mask-image: none; } }
@media (max-width: 640px) { @supports (animation-timeline: scroll()) { .onglets { animation: onglets-fondu linear both; animation-timeline: scroll(self inline); } } }
/* un bloc de configuration garde ses lignes entières : il défile en largeur plutôt que de couper une valeur */
.jauge { height: 6px; border-radius: 3px; background: var(--filet-2); overflow: hidden; } .jauge i { display: block; height: 100%; background: var(--vert); border-radius: 3px; }
.jauge.at i { background: var(--jaune); } .jauge.ko i { background: var(--orange); }
.jauge i.l0 { width: 0; } .jauge i.l5 { width: 5%; } .jauge i.l10 { width: 10%; } .jauge i.l15 { width: 15%; } .jauge i.l20 { width: 20%; } .jauge i.l25 { width: 25%; }
.jauge i.l30 { width: 30%; } .jauge i.l35 { width: 35%; } .jauge i.l40 { width: 40%; } .jauge i.l45 { width: 45%; } .jauge i.l50 { width: 50%; } .jauge i.l55 { width: 55%; }
.jauge i.l60 { width: 60%; } .jauge i.l65 { width: 65%; } .jauge i.l70 { width: 70%; } .jauge i.l75 { width: 75%; } .jauge i.l80 { width: 80%; } .jauge i.l85 { width: 85%; }
.jauge i.l90 { width: 90%; } .jauge i.l95 { width: 95%; } .jauge i.l100 { width: 100%; }
.graphe { width: 100%; height: auto; display: block; font-family: var(--sans); }
.graphe .axe { stroke: var(--filet); stroke-width: 1; } .graphe .grille-g { stroke: var(--filet-2); stroke-width: 1; }
.graphe text { font-size: 11px; fill: var(--encre-3); font-variant-numeric: tabular-nums; }
.graphe .b-ok { fill: var(--vert); } .graphe .b-ko { fill: var(--orange); } .graphe .b-n { fill: var(--filet-fort); }
.graphe .barre:hover { opacity: .8; }
.legende { display: flex; gap: var(--e-4); flex-wrap: wrap; font-size: var(--t-xs); color: var(--encre-3); }
.legende span { display: inline-flex; align-items: center; gap: var(--e-15); } .legende i { width: 10px; height: 10px; border-radius: 2px; }
.legende .ok { background: var(--vert); } .legende .ko { background: var(--orange); } .legende .n { background: var(--filet-fort); }
.barres-h { display: grid; gap: var(--e-3); }
.barres-h > div { display: grid; grid-template-columns: minmax(120px, 34%) minmax(0, 1fr) 56px; gap: var(--e-3); align-items: center; font-size: var(--t-s); }
.barres-h .n { text-align: right; font-weight: 600; color: var(--encre); }
.sante { display: grid; }
.sante > div { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: var(--e-3); align-items: center; padding: 11px var(--e-5); border-bottom: 1px solid var(--filet-2); font-size: var(--t-m); }
.sante > div:last-child { border-bottom: 0; }
.sante .ico { width: 18px; height: 18px; } .sante .ok { color: var(--vert); } .sante .at { color: var(--jaune-fort); } .sante .ko { color: var(--orange); }
.sante small { display: block; font-size: var(--t-xs); color: var(--encre-3); }
.sante .d { color: var(--encre-3); font-size: var(--t-s); text-align: right; }

/* ================================================================ fiche, simulation, aperçus */
.verdict { display: grid; }
.simul-f .simul-ip { width: 13rem; flex: 0 1 13rem; }                /* l'adresse IP de la Simulation d'accès, à côté de l'application */
/* sur la fiche d'une application, l'utilisateur à essayer : le champ à suggestions sur la ligne des autres, son nom lu par
   les lecteurs d'écran */
.simul-qui { flex: 0 1 20rem; min-width: 0; } .simul-qui .champ { margin: 0; } .simul-qui .combo .rech { height: var(--h-m); }
.simul-qui .champ-l { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.verdict-e { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: var(--e-3); align-items: start; padding: var(--e-25) 0; border-bottom: 1px solid var(--filet-2); }
.verdict-e:last-child { border-bottom: 0; }
.verdict-e i { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; margin-top: 1px; }
.verdict-e i .ico { width: 12px; height: 12px; }
.verdict-e.ok i { background: var(--ok-pale); color: var(--ok); } .verdict-e.ko i { background: var(--ko-pale); color: var(--ko); } .verdict-e.at i { background: var(--jaune-pale); color: var(--jaune-texte); }
.verdict-e b { font-size: var(--t-m); } .verdict-e span { display: block; font-size: var(--t-s); color: var(--encre-3); margin-top: 1px; line-height: 1.45; }
.resultat { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--e-3); align-items: center; padding: var(--e-3) var(--e-35); border-radius: var(--r-g); border: 1px solid; }
.resultat.ok { background: var(--ok-pale); border-color: var(--ok-filet); } .resultat.ko { background: var(--ko-pale); border-color: var(--ko-filet); } .resultat.at { background: var(--jaune-pale); border-color: var(--jaune-filet); }
.resultat b { font-size: var(--t-m); } .resultat span { display: block; font-size: var(--t-s); color: var(--encre-2); margin-top: 1px; line-height: 1.45; }
.apercu-a { display: grid; gap: var(--e-15); }
.apercu-a .ligne { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--e-25); align-items: center; padding: var(--e-2) var(--e-25); border-radius: var(--r); border: 1px solid var(--filet-2); background: var(--surface); }
.apercu-a .ligne b { font-size: var(--t-s); } .apercu-a .ligne span { display: block; font-size: var(--t-xs); color: var(--encre-3); }
.recap { position: sticky; top: calc(var(--haut) + 20px); }
.detail-l { display: grid; }
.detail-l > div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: var(--e-3); padding: 9px 0; border-bottom: 1px solid var(--filet-2); font-size: var(--t-m); }
.detail-l > div:last-child { border-bottom: 0; }
@container (max-width: 480px) { .detail-l > div { grid-template-columns: minmax(0, 1fr); gap: var(--e-05); } }
.detail-l dt { color: var(--encre-3); } .detail-l dd { min-width: 0; overflow-wrap: anywhere; }
.detail-l dd.mono { white-space: pre-wrap; }          /* un corps JSON garde son indentation */
/* un bloc (le corps signé d'un événement) : sous son nom, sur toute la largeur, sans couper ses lignes */
.detail-l > div.detail-bloc, .page > .liste-v > .volet-c .detail-l > div.detail-bloc { grid-template-columns: minmax(0, 1fr); gap: var(--e-1); }
.detail-l > div.detail-bloc dd { padding: var(--e-2) var(--e-25); border-radius: var(--r); background: var(--surface-2); font-size: var(--t-xs); line-height: 1.5;
                                 white-space: pre; overflow-wrap: normal; overflow-x: auto; }
.detail-l dd .tiers { display: inline-block; vertical-align: -3px; margin-right: var(--e-1); } .detail-l dd .btn { display: inline-flex; vertical-align: middle; margin-left: var(--e-1); }
.detail-l dd code { margin-right: var(--e-1); }
.periode-p { display: inline-flex; align-items: center; gap: var(--e-2); } .periode-p .date-z { width: 150px; } .periode-p .sai { height: 32px; font-size: var(--t-m); }
.colonnes-m { padding: var(--e-15); min-width: 240px; } .colonnes-m .case { padding: var(--e-15) var(--e-2); border-radius: var(--r-s); } .colonnes-m .case:hover { background: var(--survol); }
.colonnes-m .deroulant-t { font-size: var(--t-xs); font-weight: 600; color: var(--encre-3); padding: var(--e-15) var(--e-2) var(--e-1); }

/* ================================================================ les paramètres */
.reg { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: var(--e-6); align-items: start; }
.reg-nav { position: sticky; top: calc(var(--haut) + 16px); display: grid; gap: 1px; }
.reg-r { padding: var(--e-35) var(--e-25) var(--e-15); font-size: var(--t-xs); font-weight: 500; color: var(--encre-4); }
.reg-r:first-child { padding-top: 0; }
.reg-nav a { display: flex; align-items: center; min-height: 32px; padding: var(--e-1) var(--e-25); border-radius: var(--r); font-size: var(--t-m); color: var(--encre-2); text-decoration: none; }
.reg-nav a:hover { background: var(--appuye); color: var(--encre); }
.reg-c { display: grid; gap: var(--e-4); min-width: 0; }
.reg-s { scroll-margin-top: calc(var(--haut) + 16px); }
.reg-lecture { margin-bottom: var(--e-4); }
.reg-err { margin: 0 var(--e-5) var(--e-1); }
.reg-l { display: grid; padding-top: var(--e-1); padding-bottom: var(--e-1); }
.regle { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: var(--e-2) var(--e-7); padding: var(--e-4) 0; border-bottom: 1px solid var(--filet-2); }
.regle:last-child { border-bottom: 0; }
.regle-t { display: grid; gap: var(--e-1); align-content: start; }
.regle-b { font-size: var(--t-xs); color: var(--encre-3); display: flex; flex-wrap: wrap; align-items: center; gap: var(--e-1) var(--e-2); }
.regle-m { display: inline-flex; height: 18px; align-items: center; padding: 0 var(--e-15); border-radius: 9px; font-size: 11px; font-weight: 600; color: var(--jaune-texte); background: var(--jaune-pale); }
.regle-c { align-self: center; min-width: 0; }
.regle-c textarea { width: 100%; resize: vertical; }
.regle-apercu { display: grid; gap: var(--e-2); padding: var(--e-4) 0 var(--e-1); border-top: 1px solid var(--filet-2); }
.sai-u { display: flex; align-items: center; gap: var(--e-25); }
.sai-u .sai { width: 96px; text-align: right; }
/* une règle propre d'une organisation : le champ vide dit « Comme le réseau » en entier */
.sai-u.regle .sai { width: 168px; }
.sai-u span { font-size: var(--t-m); color: var(--encre-3); }
.carte-pied .aide { margin-right: auto; }
.colonne .annonce { box-shadow: var(--ombre-carte); }
@container page (max-width: 840px) { .reg { grid-template-columns: minmax(0, 1fr); } .reg-nav { display: none; } }
@container (max-width: 560px) { .regle { grid-template-columns: minmax(0, 1fr); } }

/* ================================================================ la chronologie d'un compte */
.chrono { display: grid; padding: var(--e-15) var(--e-5) var(--e-4); }
.chrono-j { padding: var(--e-35) 0 var(--e-15); font-size: var(--t-xs); font-weight: 600; color: var(--encre-3); letter-spacing: .02em; }
.chrono-e { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: var(--e-3); align-items: start; padding: var(--e-15) 0 var(--e-25); }
.chrono-e::before { content: ''; position: absolute; left: 13.5px; top: 34px; bottom: -6px; width: 1px; background: var(--filet); }
.chrono-e:last-child::before, .chrono-e:has(+ .chrono-j)::before { display: none; }
.chrono-i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--survol); color: var(--encre-2); box-shadow: 0 0 0 3px var(--surface); }
.chrono-i .ico { width: 14px; height: 14px; }
.chrono-e.ok .chrono-i { background: var(--ok-pale); color: var(--ok); } .chrono-e.ko .chrono-i { background: var(--ko-pale); color: var(--ko); }
.chrono-t { display: grid; gap: 1px; min-width: 0; padding-top: var(--e-1); }
.chrono-t b { font-size: var(--t-m); font-weight: 500; color: var(--encre); }
.chrono-t span { font-size: var(--t-xs); color: var(--encre-3); overflow-wrap: anywhere; }
.chrono-e time { padding-top: 5px; font-size: var(--t-xs); color: var(--encre-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.chiffres-c { display: flex; gap: var(--e-35); font-size: var(--t-s); color: var(--encre-3); white-space: nowrap; }
.chiffres-c b { color: var(--encre); font-weight: 600; } .chiffres-c .ko b { color: var(--ko); }
.graphe-z { padding-top: var(--e-2); }
/* étroit, le graphique garde sa lisibilité et défile, en partant de la droite : les derniers jours d'abord */
@container (max-width: 560px) { .graphe-z { overflow-x: auto; direction: rtl; } .graphe-z .graphe { min-width: 560px; direction: ltr; } .graphe-z > :not(.graphe) { direction: ltr; } }

/* ================================================================ les rapports */
.onglets-p { border-top: 1px solid var(--filet); border-radius: var(--r-g); margin-bottom: var(--e-4); }
.grille-t { padding: var(--e-3) var(--e-4); border-bottom: 1px solid var(--filet-2); font-size: var(--t-m); color: var(--encre-3); }
.tab td.ko-t { color: var(--ko); font-weight: 600; }
.tab .adoption { width: 28%; }
.rap .ent-t b { white-space: normal; overflow: visible; text-overflow: clip; }
.adoption-c { display: flex; align-items: center; gap: var(--e-3); }
.adoption-c .jauge { flex: 1; max-width: 220px; }
.adoption-c b { min-width: 44px; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.jauge.ok i { background: var(--vert); }
.usage-o { display: grid; gap: var(--e-25); border-top: 1px solid var(--filet-2); }
.usage-l { display: grid; gap: var(--e-2); }
.usage-l li { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(60px, 1fr) auto; gap: var(--e-3); align-items: center; font-size: var(--t-m); }
.usage-l a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--encre); }
.usage-l span { font-size: var(--t-xs); color: var(--encre-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
/* étroite, le nom prend sa ligne entière, la jauge et le nombre dessous */
@container (max-width: 480px) { .usage-l li { grid-template-columns: minmax(0, 1fr) auto; gap: var(--e-1) var(--e-3); } .usage-l a { grid-column: 1 / -1; } }
.vide.serre { padding: var(--e-5) var(--e-3); }
@container tab (max-width: 560px) { .tab .adoption { width: 46%; } .adoption-c { gap: var(--e-2); } }

/* ================================================================ le diagnostic d'une application */
.diag { margin-bottom: var(--e-4); }
.diag-l { padding: var(--e-15) var(--e-5) var(--e-35); }
.diag-l .verdict-e { color: inherit; border-radius: var(--r); }
.diag-l .verdict-e:hover { background: var(--survol); }

/* ================================================================ les groupes automatiques */
.regle-c { display: grid; gap: var(--e-4); margin-top: var(--e-4); padding-top: var(--e-4); border-top: 1px solid var(--filet-2); }
.cases-l { display: flex; flex-wrap: wrap; gap: var(--e-2) 22px; align-items: center; }
.regle-a a { font-weight: 600; margin-left: var(--e-1); }
.seul-s { display: none; }
@container tab (max-width: 480px) { .seul-s { display: block; } }

/* ================================================================ l'aperçu d'une ligne */
.apercu-v .volet-tete { grid-template-columns: auto minmax(0, 1fr) auto; }
.apercu-nav { display: flex; align-items: center; gap: var(--e-05); }
.apercu-nav .x { margin-left: var(--e-1); }
.apercu-etats { display: flex; flex-wrap: wrap; gap: var(--e-15) var(--e-25); align-items: center; margin-top: var(--e-2); }
.apercu-props { margin-top: calc(-1 * var(--e-1)); }
.apercu-app { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--e-3); align-items: center; padding: var(--e-15) 0; color: inherit; }
a.apercu-app:hover b { color: var(--accent); }
.volet-s h3 { display: flex; align-items: center; gap: var(--e-2); font-size: var(--t-m); }
.av.gd { width: 48px; height: 48px; font-size: 16px; }
.chrono.serre { padding: 0; }
.chrono.serre .chrono-e time { padding-top: 5px; }
/* les dernières modifications d'une catégorie des paramètres : dans leur carte, à distance de ses bords */
.carte > .chrono.param-histo { padding: var(--e-2) var(--e-4) var(--e-1); }
.apercu-indic { margin-bottom: 0; box-shadow: none; }
.apercu-indic > * { padding: var(--e-3) var(--e-35); }
.apercu-indic .v { font-size: var(--t-2xl); }
.tab tbody tr[data-apercu] { cursor: pointer; }
.tab tbody tr.apercue td { background: var(--miel); }
.tab tbody tr.apercue td:first-child { box-shadow: inset 3px 0 0 var(--jaune); }

/* ================================================================ le centre des paramètres */
.param-rech { flex: 0 1 340px; }
.param-titre { font-size: var(--t-l); margin: 26px 0 var(--e-3); color: var(--encre-2); }
.param-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--e-35); }
.param-c { display: flex; flex-direction: column; gap: var(--e-35); padding: var(--e-45) var(--e-45) var(--e-35); background: var(--surface); border: 1px solid var(--filet); border-radius: var(--r-g);
           box-shadow: var(--ombre-carte); color: inherit; transition: border-color var(--d-court), box-shadow var(--d-court), transform var(--d-court); }
.param-c:hover { border-color: var(--filet-fort); }
.param-c:hover .param-c-t > .ico { color: var(--encre); }
.param-c-t { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--e-3); align-items: start; }
.param-c-t .tuile-i { width: 38px; height: 38px; } .param-c-t .tuile-i .ico { width: 19px; height: 19px; }
.param-c-t b { display: block; font: 600 15px/1.35 var(--titre); color: var(--encre); }
.param-c-t span:not(.tuile-i) { display: block; font-size: 13px; line-height: 1.45; color: var(--encre-3); margin-top: 3px; }
.param-c-t > .ico { color: var(--encre-4); margin-top: 3px; transition: transform var(--d-court), color var(--d-court); }
.param-c-v { display: grid; gap: 0; border-top: 1px solid var(--filet-2); padding-top: var(--e-2); flex: 1; }
.param-c-v div { display: flex; justify-content: space-between; align-items: baseline; gap: var(--e-3); padding: 5px 0; font-size: var(--t-s); line-height: 1.4; }
.param-c-v dt { color: var(--encre-3); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.param-c-v dd { color: var(--encre); font-weight: 600; white-space: nowrap; display: inline-flex; align-items: center; gap: var(--e-15); font-variant-numeric: tabular-nums; }
.pt-m { width: 7px; height: 7px; border-radius: 50%; background: var(--jaune); display: inline-block; }
.param-c-p { font-size: var(--t-xs); }
.param-c.info { min-height: 0; }
.indic .v.v-t { font-size: var(--t-xl); padding-top: var(--e-15); display: flex; align-items: baseline; gap: var(--e-2); min-width: 0; }
/* une route longue (/configuration/roles-administration/{role}) s'abrège dans sa tuile, entière au survol */
.indic .v.v-t .mono { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--t-l); }
.tuile-i.gd { width: 48px; height: 48px; border-radius: var(--r-g); } .tuile-i.gd .ico { width: 24px; height: 24px; }
.reg-nav a { gap: var(--e-25); }
.reg-nav a .ico { width: 16px; height: 16px; color: var(--encre-3); flex: none; }
.reg-nav a span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reg-nav a em { font-style: normal; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--jaune-pale); color: var(--jaune-texte); font-size: 11px; font-weight: 700; display: inline-grid; place-items: center; }
.reg-nav a.on { position: relative; background: var(--surface); color: var(--encre); font-weight: 600; box-shadow: 0 1px 2px rgba(28, 27, 24, .06), inset 0 0 0 1px var(--filet); }
.reg-nav a.on::before { content: ''; position: absolute; left: 0; top: 7px; bottom: 7px; width: 3px; border-radius: 0 3px 3px 0; background: var(--jaune); }
.reg-nav a.on .ico { color: var(--encre); }
.regle-ls { display: grid; }
.regle-l { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) auto; gap: var(--e-2) var(--e-65); align-items: center; padding: var(--e-45) var(--e-5); border-bottom: 1px solid var(--filet-2); scroll-margin-top: calc(var(--haut) + 20px); }
.regle-l:last-child { border-bottom: 0; }
.regle-l:target { background: var(--miel); }
.regle-l-t b { display: block; font-size: var(--t-m); color: var(--encre); }
.regle-l-t span { display: block; font-size: var(--t-s); line-height: 1.5; color: var(--encre-3); margin-top: 3px; }
.regle-l-v { display: grid; gap: var(--e-15); justify-items: start; min-width: 0; }
.regle-l-v .regle-n { font: 700 22px/1 var(--titre); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.regle-l-v b { font-size: var(--t-m); }
.regle-l-m { display: flex; flex-wrap: wrap; gap: var(--e-1) var(--e-2); align-items: center; font-size: var(--t-xs); }
.regle-txt { font-size: var(--t-m); color: var(--encre); line-height: 1.5; overflow-wrap: anywhere; }
.interr { display: inline-flex; align-items: center; gap: var(--e-2); font-size: var(--t-m); font-weight: 600; color: var(--encre-3); }
/* l'état d'une règle oui ou non, en lecture : le même dessin que l'interrupteur .inter (36 × 20) */
.interr i { position: relative; width: 36px; height: 20px; border-radius: 10px; background: var(--filet-fort); transition: background var(--d-court); flex: none; }
.interr i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .25); transition: transform var(--d-court); }
.interr.on { color: var(--ok); } .interr.on i { background: var(--vert); } .interr.on i::after { transform: translateX(16px); }
.methodes-p { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--e-4); }
.methodes-p > div { display: grid; gap: var(--e-15); padding: var(--e-35); border: 1px solid var(--filet-2); border-radius: var(--r-g); background: var(--surface-2); }
.methodes-p b { font-size: var(--t-m); } .methodes-p span:not(.logos-m) { font-size: var(--t-s); color: var(--encre-3); line-height: 1.5; }
.indic.sans-ombre { box-shadow: none; border: 0; border-top: 1px solid var(--filet-2); border-radius: 0 0 var(--r-g) var(--r-g); margin: 0; }
.porte-apercu { background: radial-gradient(600px 300px at 50% -10%, #FFFFFF 0%, var(--fond) 70%); border-radius: 0 0 var(--r-g) var(--r-g); }
.porte-mini { width: min(340px, 100%); margin: var(--e-2) auto; display: grid; gap: var(--e-25); }
.porte-mini-c { display: grid; gap: var(--e-25); padding: var(--e-45); background: var(--surface); border: 1px solid var(--filet); border-radius: var(--r-g); box-shadow: var(--ombre-carte); }
.porte-mini-c .logo-p .logo { height: 16px; } .porte-mini-c b { font: 700 17px/1.2 var(--titre); }
.porte-mini-f { height: 34px; border: 1px solid var(--filet-fort); border-radius: var(--r); padding: 0 var(--e-25); display: flex; align-items: center; font-size: var(--t-s); color: var(--encre-4); }
.porte-mini-b { height: 34px; border-radius: var(--r); background: var(--encre); color: #fff; display: grid; place-items: center; font-size: var(--t-s); font-weight: 600; }
@container (max-width: 1000px) { .param-g { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container (max-width: 560px) {
  .param-g, .methodes-p { grid-template-columns: minmax(0, 1fr); }
  .regle-l { grid-template-columns: minmax(0, 1fr); padding: var(--e-4); }
  .param-rech { flex: 1 1 100%; }
}
.regle-v { display: inline-flex; align-items: baseline; gap: var(--e-15); }
.methodes-p .logos-m { display: flex; gap: var(--e-15); align-items: center; }

/* ================================================================ les vues enregistrées */
.vues-m { min-width: 280px; max-width: 340px; }
.vues-m a.on { font-weight: 600; color: var(--encre); background: var(--jaune-pale); }
.vues-m a span small { display: block; font-size: var(--t-xs); color: var(--encre-3); font-weight: 400; }
.vue-l { display: flex; align-items: center; gap: var(--e-05); } .vue-l a { flex: 1; min-width: 0; } .vue-l form { flex: none; }
.vues-aide { display: block; padding: var(--e-05) var(--e-3) var(--e-2); font-size: var(--t-xs); }
.commandes .btn.actif { color: var(--encre); }

/* ================================================================ les zones de dépôt de fichiers */
.depot { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--e-1) var(--e-4); align-items: center; padding: var(--e-45) var(--e-5); border: 1.5px dashed var(--filet-fort); border-radius: var(--r-g);
         background: var(--surface-2); cursor: pointer; transition: border-color var(--d-court), background var(--d-court); }
.depot:hover, .depot:focus-visible { border-color: var(--jaune-fort); background: var(--miel); outline: 0; }
.depot.survol { border-color: var(--jaune-fort); border-style: solid; background: var(--jaune-pale); }
.depot.plein { border-style: solid; border-color: var(--vert); background: var(--vert-pale); }
.depot-i { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); box-shadow: inset 0 0 0 1px var(--filet); color: var(--encre-2); grid-row: span 2; }
.depot-i .ico { width: 20px; height: 20px; }
.depot > .logo-app { grid-row: span 2; }
.depot-t b { display: block; font-size: var(--t-m); } .depot-t > span { display: block; font-size: var(--t-s); color: var(--encre-3); line-height: 1.5; }
.depot-t .lien { font-size: var(--t-s); }
.depot-n { grid-column: 2; font-size: var(--t-s); font-weight: 600; color: var(--vert-fort); min-height: 0; } .depot-n:empty { display: none; }
.voile-depot { position: fixed; inset: 0; z-index: 240; display: grid; place-items: center; background: rgba(247, 246, 245, .8); backdrop-filter: blur(2px); animation: apparait .12s; pointer-events: none; }
.voile-depot-b { display: grid; justify-items: center; gap: var(--e-15); padding: var(--e-7) var(--e-75); border: 2px dashed var(--jaune-fort); border-radius: var(--r-g); background: var(--surface); text-align: center; max-width: 420px; }
.voile-depot-b .tuile-i { width: 56px; height: 56px; border-radius: 50%; background: var(--jaune-pale); color: var(--jaune-texte); margin-bottom: var(--e-15); } .voile-depot-b .tuile-i .ico { width: 26px; height: 26px; }
.voile-depot-b b { font-size: var(--t-l); } .voile-depot-b small { font-size: var(--t-m); color: var(--encre-3); line-height: 1.5; }
.raccourcis dd { line-height: 1.7; }

/* une ligne d'état discrète sous l'en-tête, à la place d'une rangée d'indicateurs qui ne mène à aucune décision */
.etat-ligne { font-size: var(--t-s); color: var(--encre-3); margin: calc(-1 * var(--e-2)) 0 var(--e-4); }
.etat-ligne .lien { margin-left: var(--e-1); }
.rangee-c { display: flex; flex-wrap: wrap; align-items: center; gap: var(--e-2); }
.grille-c.egal { align-items: stretch; } .grille-c.egal > .pile { display: grid; align-content: stretch; }
.rubrique + .rubrique { margin-top: var(--e-6); } .rubrique > * + * { margin-top: var(--e-5); } .rubrique { scroll-margin-top: calc(var(--haut) + var(--e-4)); }
.aide-t { font-size: var(--t-s); font-weight: 600; color: var(--encre-2); margin: var(--e-4) 0 var(--e-2); }
.ressources { display: grid; gap: var(--e-1); }
.ressources a { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: var(--e-3); align-items: start; padding: var(--e-2) var(--e-3); border-radius: var(--r); color: var(--encre); text-decoration: none; }
.ressources a:hover { background: var(--survol); } .ressources .ico { width: 18px; height: 18px; color: var(--encre-3); margin-top: 1px; }
.ressources b { display: block; font-size: var(--t-m); font-weight: 500; } .ressources small { display: block; font-size: var(--t-s); color: var(--encre-3); }
.aide-t.premier { margin-top: 0; }
/* les notes d'une fiche */
.note-f { gap: var(--e-2); } .note-f textarea { min-height: 56px; resize: vertical; }
.note-p { display: flex; align-items: center; justify-content: space-between; gap: var(--e-3); flex-wrap: wrap; }
.notes-l { display: grid; border-top: 1px solid var(--filet-2); }
.notes-l li { padding: var(--e-3) var(--e-5); border-bottom: 1px solid var(--filet-2); display: grid; gap: var(--e-1); } .notes-l li:last-child { border-bottom: 0; }
.note-t { display: flex; align-items: center; gap: var(--e-2); font-size: var(--t-s); } .note-t form { margin-left: auto; }
.notes-l p { font-size: var(--t-m); color: var(--encre-2); line-height: 1.5; white-space: pre-line; }
/* deux rangées voulues dans une barre de filtres : l'état et la recherche, puis les filtres */
.barre-l .saut { flex-basis: 100%; height: 0; }
.compte-l .integre { display: inline-flex; align-items: center; gap: var(--e-1); margin-left: var(--e-3); color: var(--ok); font-weight: 500; }
.compte-l .integre .ico { width: 13px; height: 13px; }
.barre-l .rech { flex: 0 1 320px; }

/* ================================================================ les images (illustrations.py)
   Une image dit quelque chose ou accompagne un état ; ses couleurs sont celles des jetons. */
.il { display: block; flex: none; overflow: visible; }
.il-ombre { fill: var(--filet-2); }
.il-plein { fill: var(--surface-2); stroke: var(--filet-fort); stroke-width: 1.5; }
.il-papier { fill: var(--surface); stroke: var(--filet-fort); stroke-width: 1.5; }
.il-papier-l { fill: var(--surface); stroke: var(--encre-3); stroke-width: 2; }
.il-ligne, .il-ligne-f, .il-ligne-v, .il-texte, .il-coche, .il-plus, .il-vie, .il-fleche, .il-fleche-v, .il-pointe, .il-pointe-v, .il-trait {
  fill: none; stroke-linecap: round; stroke-linejoin: round; }
.il-ligne { stroke: var(--filet-fort); stroke-width: 1.5; } .il-ligne-f { stroke: var(--encre-3); stroke-width: 4; }
.il-ligne-v { stroke: var(--vert-fort); stroke-width: 2.5; }
.il-texte { stroke: var(--filet); stroke-width: 4; }
.il-jaune { fill: var(--jaune); } .il-jaune-p { fill: var(--jaune-pale); } .il-vert { fill: var(--vert); } .il-vert-p { fill: var(--vert-pale); stroke: var(--vert-fort); stroke-width: 1.5; }
.il-coche, .il-plus { stroke: #fff; stroke-width: 2.5; } .il-plus { stroke: var(--encre); }
.il-vie { stroke: var(--filet-fort); stroke-width: 1.5; stroke-dasharray: 3 4; }
.il-fleche, .il-pointe { stroke: var(--encre-2); stroke-width: 1.5; } .il-fleche-v, .il-pointe-v { stroke: var(--vert-fort); stroke-width: 1.5; }
.il-etiquette { font: 600 var(--t-xs) var(--sans); fill: var(--encre-2); } .il-etiquette.f { fill: var(--encre); }
.illustration { width: 160px; height: auto; margin: 0 auto var(--e-1); }
.il-fen-b { fill: none; stroke: var(--filet-fort); stroke-width: 1.5; }
.il-vide-p { fill: var(--surface); stroke: var(--encre-4); stroke-width: 1.5; stroke-dasharray: 4 4; }
.vide.serre .illustration { width: 120px; }
.vide .illustration { margin-bottom: var(--e-2); }
/* la petite courbe et l'anneau */
.courbe { width: 100%; max-width: 160px; height: 36px; } .courbe .il-aire { fill: var(--vert-pale); }
.courbe .il-trait { stroke: var(--vert); stroke-width: 2; } .courbe .il-point { fill: var(--surface); stroke: var(--vert); stroke-width: 2; }
.courbe.at .il-aire { fill: var(--jaune-pale); } .courbe.at .il-trait, .courbe.at .il-point { stroke: var(--jaune-fort); }
.anneau .il-fond { fill: none; stroke: var(--filet-2); stroke-width: 6; }
.anneau .il-mesure { fill: none; stroke: var(--vert); stroke-width: 6; stroke-linecap: round; }
.anneau.at .il-mesure { stroke: var(--jaune); } .anneau.ko .il-mesure { stroke: var(--orange); }
.anneau .il-centre { font: 700 var(--t-s) var(--titre); fill: var(--encre); }
.anneau.gd .il-centre { font-size: var(--t-l); }

/* les pastilles teintées : quatre teintes de la charte, la même pour une personne donnée */
.av.t1 { background: var(--jaune-pale); color: var(--jaune-texte); } .av.t2 { background: var(--vert-pale); color: var(--vert-fort); }
.av.t3 { background: var(--rouge-pale); color: var(--rouge); } .av.t4 { background: var(--appuye); color: var(--encre-2); }
.avs { display: flex; align-items: center; } .avs .av { width: 28px; height: 28px; font-size: var(--t-xs); letter-spacing: 0; box-shadow: 0 0 0 2px var(--surface); }
.avs .av + .av { margin-left: -5px; }
.avs .plus { margin-left: var(--e-15); font-size: var(--t-xs); color: var(--encre-3); }
/* un avatar avec le petit signe de ce qu'on attend de lui */
.av-s { position: relative; display: inline-grid; flex: none; }
.av-s .signe { position: absolute; right: -3px; bottom: -3px; width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center;
  background: var(--jaune); color: var(--encre); box-shadow: 0 0 0 2px var(--surface); }
.av-s .signe .ico { width: 10px; height: 10px; } .av-s .signe.ko { background: var(--orange); color: #fff; } .av-s .signe.n { background: var(--encre-3); color: #fff; }

/* le pictogramme d'une carte, à gauche de son titre */
.tete-ic { display: inline-grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: var(--r); background: var(--survol); color: var(--encre-2); }
.tete-ic .ico { width: 17px; height: 17px; }
.tete-ic + .carte-tete-t, .anneau + .carte-tete-t { flex-basis: 140px; }
.tete-ic.at { background: var(--jaune-pale); color: var(--jaune-texte); } .tete-ic.ok { background: var(--vert-pale); color: var(--vert-fort); }
.tete-ic.ko { background: var(--rouge-pale); color: var(--rouge); }

/* les chiffres : le nombre, et à côté ce qui le montre */
.indic .vis { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--e-3); min-width: 0; }
.indic .vis .courbe { flex: 0 1 120px; }
.indic .vis .anneau { margin-top: calc(-1 * var(--e-15)); }
/* l'image de l'accueil du portail */
.raccordement { width: 100%; height: auto; }
.raccordement .il-lien { fill: none; stroke: var(--vert); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.raccordement .il-badge, .raccordement .il-fen { fill: var(--filet); } .raccordement .il-fen-t, .raccordement .il-fonce { fill: var(--vert-fort); }
.raccordement .il-fen-p { fill: var(--filet); } .raccordement .il-clair { fill: var(--vert); }
.raccordement .il-feuille { fill: var(--filet-fort); } .raccordement .il-sol { fill: none; stroke: var(--encre-2); stroke-width: 6; stroke-linecap: round; }
/* les schémas du portail : mêmes formes et couleurs que l'image de l'accueil */
.schema { display: block; width: 100%; height: auto; min-width: 560px; }
.schema .il-fen { fill: var(--filet); } .schema .il-fen-t { fill: var(--vert-fort); }
.schema .il-vie { stroke: var(--filet-fort); stroke-width: 1.5; stroke-dasharray: 4 5; fill: none; }
.il-acteur { fill: var(--surface); stroke: var(--filet-fort); stroke-width: 1.5; } .il-acteur.f { fill: var(--vert-fort); stroke: none; }
.il-acteur.j { fill: var(--jaune); stroke: none; }
.il-acteur-t { font: 600 var(--t-s) var(--sans); fill: var(--encre); } .il-acteur-t.c { fill: #fff; }
.il-pas, .il-pas-r { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.il-pas { stroke: var(--vert-fort); } .il-pas-r { stroke: var(--vert); }
.il-leg { font: 500 var(--t-s) var(--sans); fill: var(--encre-2); }
.il-num { fill: var(--jaune); } .il-num-t { font: 700 var(--t-xs) var(--sans); fill: var(--encre); }
.il-cartouche { fill: var(--surface); stroke: var(--filet-fort); stroke-width: 1.5; }
.schema-z { margin: var(--e-5) 0 var(--e-2); padding: var(--e-5); border: 1px solid var(--filet); border-radius: var(--r-g); background: var(--surface-2); overflow-x: auto; }
/* des applications dans une cellule : une pile de logos à largeur fixe */
.pile-a { display: inline-flex; align-items: center; gap: var(--e-2); min-width: 0; max-width: 100%; }
.pile-l { display: inline-flex; align-items: center; flex: none; }
.pile-l .logo-app { box-shadow: 0 0 0 2px var(--surface); } .pile-l .logo-app + .logo-app { margin-left: calc(-1 * var(--e-15)); }
.pile-plus { margin-left: calc(-1 * var(--e-15)); min-width: 24px; height: 24px; padding: 0 5px; border-radius: 7px; display: inline-grid; place-items: center;
  font-size: var(--t-xs); font-weight: 600; color: var(--encre-2); background: var(--survol); box-shadow: 0 0 0 2px var(--surface); }
.pile-t { font-size: var(--t-s); color: var(--encre-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* le fil d'activité : une phrase par événement, l'auteur en tête, la date à droite */
.chrono.fil { padding: var(--e-25) var(--e-5) var(--e-35); }
.chrono-av { width: 28px; height: 28px; font-size: var(--t-xs); box-shadow: 0 0 0 3px var(--surface); }
.fil-p { margin: 0; font-size: var(--t-m); line-height: 1.45; color: var(--encre-2); overflow-wrap: anywhere; }
.fil-p b { font-weight: 600; color: var(--encre); }
.chrono.fil .chrono-t span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* les rôles d'administration : le filtre par rôle dans la carte de la liste ; ce que permet chaque rôle, replié dessous */
.carte-barre { margin: 0; padding: var(--e-3) var(--e-5); border-bottom: 1px solid var(--filet-2); }
.roles-d { margin-bottom: var(--e-4); }
.roles-d > summary { cursor: pointer; list-style: none; } .roles-d > summary::-webkit-details-marker { display: none; }
.roles-d:not([open]) > summary { border-bottom: 0; }
.roles-d > summary > .ico:last-child { flex: none; color: var(--encre-3); transition: transform var(--d-court); } .roles-d[open] > summary > .ico:last-child { transform: rotate(180deg); }
.roles-l { padding: var(--e-4) var(--e-5); }
.roles-l dd { display: block; } .roles-l dd small { display: block; margin-top: var(--e-1); color: var(--encre-3); font-size: var(--t-s); }
/* Paramètres : une ligne par catégorie */
.param-liste { margin-bottom: var(--e-5); }
.param-l { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto 16px; gap: var(--e-4); align-items: center; padding: var(--e-35) var(--e-5);
  border-top: 1px solid var(--filet-2); color: inherit; text-decoration: none; transition: background var(--d-court); }
.param-l:hover { background: var(--surface-2); } .param-l:focus-visible { outline: none; box-shadow: inset var(--anneau); }
.param-l .ico { color: var(--encre-4); }
.param-l-t { display: grid; gap: var(--e-05); min-width: 0; }
.param-l-t b { font-size: var(--t-m); font-weight: 600; color: var(--encre); }
.param-l-t > span { font-size: var(--t-s); color: var(--encre-3); line-height: 1.45; }
.param-l-t > .param-l-v { display: flex; flex-wrap: wrap; gap: var(--e-05) var(--e-4); padding-top: var(--e-1); font-size: var(--t-xs); color: var(--encre-3); }
.param-l-v span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; } .param-l-v b { font-size: var(--t-xs); font-weight: 600; color: var(--encre-2); }
@container (max-width: 560px) { .param-l { grid-template-columns: 32px minmax(0, 1fr) 16px; padding: var(--e-35) var(--e-4); } .param-l-e { display: none; } .param-l-v span { display: block; white-space: normal; } }

/* ================================================================ l'espace Développeurs */
/* trois portes d'entrée : raccorder, automatiser, piloter en ligne de commande */
.dev-portes { container: portes / inline-size; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--e-4); margin-bottom: var(--e-4); }
.dev-porte { display: grid; align-content: start; gap: var(--e-2); padding: var(--e-4); border: 1px solid var(--filet); border-radius: var(--r-g); background: var(--surface); color: var(--encre-2);
             transition: border-color var(--d-court), box-shadow var(--d-court); }
.dev-porte:hover { border-color: var(--filet-fort); box-shadow: var(--ombre-carte); }
.dev-porte .tuile-i { margin-bottom: var(--e-1); background: var(--jaune-pale); color: var(--jaune-texte); }
.dev-porte b { font: 600 var(--t-l)/1.25 var(--titre); color: var(--encre); }
.dev-porte > span:not(.tuile-i):not(.lien) { font-size: var(--t-s); line-height: 1.5; }
.dev-porte .lien { margin-top: var(--e-1); display: inline-flex; align-items: center; gap: var(--e-1); }
.dev-porte .lien .ico { width: 14px; height: 14px; }
@container page (max-width: 840px) { .dev-portes { grid-template-columns: minmax(0, 1fr); } .dev-porte { grid-template-columns: auto minmax(0, 1fr); column-gap: var(--e-3); } .dev-porte > :not(.tuile-i) { grid-column: 2; } .dev-porte .tuile-i { grid-row: span 3; margin: 0; } }
/* les adresses à recopier : la valeur et son bouton, puis à quoi elle sert */
.dev-valeurs dd { display: grid; gap: var(--e-05); min-width: 0; }
.dev-v { display: flex; align-items: center; gap: var(--e-1); min-width: 0; } .dev-v code { min-width: 0; overflow-wrap: anywhere; }
.dev-valeurs small { font-size: var(--t-xs); color: var(--encre-3); line-height: 1.4; }
.tab td.adr { white-space: normal; overflow-wrap: anywhere; min-width: 16ch; }
/* les étapes de la ligne de commande */
.dev-etapes { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--e-4); margin-bottom: var(--e-4); }
.dev-etapes .tuile-i.n { background: var(--encre); color: var(--fond); font-weight: 700; }
.dev-etapes .carte-corps { display: grid; gap: var(--e-25); }
.code-l { font-size: var(--t-xs); font-weight: 600; color: var(--encre-3); }
/* les paramètres : leur menu est celui de la coque ; le fil d'Ariane ne sert que lorsque ce menu est en tiroir */
/* un texte d'attention dans une ligne : ce qui manque, une échéance proche */
.at-t, .liste-t span.at-t { color: var(--jaune-texte); }
/* un appel de l'API : la méthode en pastille, puis le chemin, qui passe à la ligne plutôt que de déborder */
.appel { display: inline-flex; align-items: baseline; gap: var(--e-2); min-width: 0; } .appel .mono { overflow-wrap: anywhere; }
/* le journal des appels sur un téléphone : une ligne devient un bloc ; la méthode et le chemin sur une ligne, coupé au
   milieu (le début s'abrège, la fin reste lisible, le chemin entier en infobulle), puis le statut et l'heure dessous */
@container tab (max-width: 620px) {
  .tab-z:has(> .tab-appels) > .masquees { display: none; }
  .tab-appels thead { display: none; }
  .tab-appels tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--e-1) var(--e-3); padding: var(--e-3) var(--e-4); border-bottom: 1px solid var(--filet-2); }
  .tab-appels tbody tr:last-child { border-bottom: 0; }
  .tab-appels td { display: none; height: auto; padding: 0; border: 0; max-width: none; }
  .tab-appels td:nth-child(2) { display: block; grid-column: 1 / -1; min-width: 0; }
  .tab-appels td:nth-child(3) { display: block; grid-column: 1; grid-row: 2; }
  .tab-appels td.date { display: block; grid-column: 2; grid-row: 2; text-align: right; font-size: var(--t-xs); }
  .tab-appels .appel { display: flex; max-width: 100%; } .tab-appels .appel .mono { overflow-wrap: normal; }
  .tab-appels .appel-c { display: flex; min-width: 0; white-space: nowrap; }
  .tab-appels .appel-d { overflow: hidden; text-overflow: ellipsis; min-width: 0; } .tab-appels .appel-f { flex-shrink: 0; }
}

/* le journal d'audit : un auteur long (« Clé d'API « … » (créée par …) ») s'abrège, le nom entier au survol, pour que
   l'action garde sa largeur et que l'adresse IP reste dans le tableau */
.tab.journal-e td.j-qui { max-width: 11rem; overflow: hidden; text-overflow: ellipsis; }
.tab.journal-e td.j-quoi { min-width: 13rem; }
.tab.journal-e td.j-detail { max-width: 16rem; overflow: hidden; text-overflow: ellipsis; }

/* l'espace Développeurs (9.3.0) : la mise en route, repliable quand tout est fait ; une étape faite est barrée */
.mise-route > summary { list-style: none; cursor: pointer; } .mise-route > summary::-webkit-details-marker { display: none; }
.mise-route:not([open]) > summary { border-bottom: 0; }
.pas-l.route { margin: 0; padding: 0; list-style: none; }
.pas-l.route .pas.fait b { text-decoration: line-through; text-decoration-color: var(--encre-4); }
/* un identifiant long : son début et sa fin, le complet au survol et à la copie */
.ident { display: inline-flex; align-items: center; gap: var(--e-1); min-width: 0; } .ident code { font-size: var(--t-xs); white-space: nowrap; }
.tab tbody tr:target td { background: var(--miel); }
/* le journal des appels : une ligne de titre par jour, les filtres rares repliés, le détail de l'appel choisi */
.tab tbody tr.jour-l th { padding: var(--e-25) var(--e-4) var(--e-15); font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--encre-2); text-align: left; background: var(--surface-2); }
.plus-f { position: relative; } .plus-f > summary { list-style: none; } .plus-f > summary::-webkit-details-marker { display: none; }
.plus-f-c { display: flex; flex-wrap: wrap; gap: var(--e-2); align-items: center; padding: var(--e-25) 0; }
.plus-f[open] { flex-basis: 100%; order: 10; }
.portees-f { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--e-3); }
.portees-f > div { display: flex; flex-wrap: wrap; gap: var(--e-15); align-items: center; min-width: 0; } .portees-f .champ-l { flex-basis: 100%; }
.portee-c { display: inline-block; flex: none; white-space: nowrap; padding: 1px var(--e-2); border-radius: var(--r-s); background: var(--surface-2); border: 1px solid var(--filet); font-size: var(--t-xs); }
.portee-c.ok { background: var(--ok-pale); border-color: var(--ok-filet); } .portee-c.ko { background: var(--ko-pale); border-color: var(--ko-filet); }
.ligne-guide { display: flex; align-items: center; gap: var(--e-2); margin-top: var(--e-3); } .ligne-guide .ico { flex: none; }   /* le texte et son lien d'un seul tenant */
.premier-appel { margin-bottom: var(--e-4); }
/* le retour de lecture d'une page de la documentation (templates/developpeurs/_retour.html) */
.retour-doc { margin-top: var(--e-6); padding-top: var(--e-4); border-top: 1px solid var(--filet-2); }
.retour-doc-q { display: flex; align-items: center; gap: var(--e-3); flex-wrap: wrap; } .retour-doc-q h2 { font-size: var(--t-m); font-weight: 600; margin: 0; }
.retour-doc-b { display: flex; gap: var(--e-2); }
.retour-doc-d { margin-top: var(--e-25); } .retour-doc-d > summary { cursor: pointer; font-size: var(--t-s); color: var(--vert-texte); }
.retour-doc-d[open] { display: grid; gap: var(--e-2); max-width: 560px; }
.retour-doc-r { border: 0; padding: 0; margin: var(--e-2) 0 0; display: grid; gap: var(--e-15); } .retour-doc-r legend { font-size: var(--t-s); font-weight: 600; margin-bottom: var(--e-15); }
.retour-doc-m { display: flex; align-items: center; gap: var(--e-2); font-size: var(--t-m); color: var(--encre-2); } .retour-doc-m .ico { color: var(--ok); }
.retour-doc-p { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* la vue d'ensemble de l'espace Développeurs (9.4.0) : la mise en route en une ligne tant qu'elle n'est pas finie ; la
   santé des intégrations, une ligne par application */
.mer { display: flex; align-items: center; flex-wrap: wrap; gap: var(--e-1) var(--e-35); margin-bottom: var(--e-4); padding: var(--e-25) var(--e-4); border: 1px solid var(--filet);
       border-radius: var(--r-g); background: var(--surface); }
.mer b { font-weight: 650; white-space: nowrap; } .mer small { color: var(--encre-3); font-size: var(--t-s); min-width: 0; }
.mer-b { flex: 0 0 120px; height: 6px; border-radius: 3px; background: var(--surface-2); overflow: hidden; } .mer-b i { display: block; height: 100%; background: var(--ok); border-radius: 3px; }
.mer .lien { margin-left: auto; display: inline-flex; align-items: center; gap: var(--e-1); white-space: nowrap; } .mer .lien .ico { width: 14px; height: 14px; }
.tab-sante td.n .sous-l { display: block; } .tab-sante td.n .sous-l.at { color: var(--jaune-texte); }
.tab-sante td.n, .tab-sante th.n { white-space: nowrap; }
/* une erreur récente : la méthode en pastille, le chemin à sa suite sur la même ligne, abrégé s'il manque de place */
.liste-t b.appel-e { display: flex; align-items: center; gap: var(--e-2); min-width: 0; }
.liste-t b.appel-e > .meth { display: inline-flex; margin: 0; font-size: var(--t-xs); line-height: 1; color: var(--encre-2); }
.liste-t b.appel-e > .meth-get { color: var(--vert-fort); } .liste-t b.appel-e > .meth-post { color: var(--jaune-texte); } .liste-t b.appel-e > .meth-delete { color: var(--rouge); }
.liste-t b.appel-e > .mono { min-width: 0; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--t-s); color: var(--encre); line-height: 1.4; }
/* le détail d'un appel dans son volet : des intertitres entre les blocs (requête, portées, réponse d'erreur) */
.detail-r { display: grid; gap: var(--e-3); min-width: 0; } .detail-r > .detail-l { margin: 0; }
.detail-h { margin: var(--e-2) 0 0; padding-top: var(--e-3); border-top: 1px solid var(--filet-2); font-size: var(--t-s); font-weight: 650; color: var(--encre-2); }
.detail-r .aide { margin: 0; } .detail-r .ex { margin: 0; } .detail-r .ex-c { max-height: 320px; }
/* l'établi Essayer l'API : le catalogue, la requête, la réponse, dans l'ordre du geste ; « Envoyer » en tête */
.etabli { display: grid; grid-template-columns: minmax(190px, 230px) minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--e-3); align-items: start; margin-top: var(--e-4); }
.etabli-cat { position: sticky; top: var(--e-3); display: grid; grid-template-rows: auto minmax(0, 1fr); max-height: calc(100vh - 140px); padding: var(--e-2); overflow: hidden; }
.etabli-rch { display: flex; align-items: center; gap: var(--e-2); padding: var(--e-15) var(--e-2); border: 1px solid var(--filet); border-radius: var(--r); background: var(--surface); }
.etabli-rch input { border: 0; background: transparent; font: inherit; font-size: var(--t-s); min-width: 0; flex: 1; outline: none; } .etabli-rch .ico { width: 14px; height: 14px; color: var(--encre-3); }
.etabli-cat-l { overflow-y: auto; margin-top: var(--e-2); padding-right: var(--e-1); }
.etabli-g { display: grid; gap: 1px; margin-bottom: var(--e-2); }
.etabli-gt { padding: var(--e-2) var(--e-2) var(--e-1); font-size: var(--t-xs); font-weight: 650; color: var(--encre-3); letter-spacing: 0.02em; }
.etabli-op { display: flex; align-items: baseline; gap: var(--e-2); padding: var(--e-15) var(--e-2); border-radius: var(--r); color: var(--encre); font-size: var(--t-s); line-height: 1.35; text-decoration: none; }
.etabli-op:hover { background: var(--surface-2); } .etabli-op.on { background: var(--miel); font-weight: 600; } .etabli-op .meth { flex: none; }
.etabli-choix { display: none; }
.etabli-req, .etabli-rep { display: grid; gap: var(--e-3); padding: var(--e-4); min-width: 0; }
.etabli-url { display: flex; align-items: center; gap: var(--e-2); }
.etabli-champ { flex: 1; min-width: 0; display: flex; align-items: center; gap: var(--e-2); padding: var(--e-2) var(--e-25); border: 1px solid var(--filet); border-radius: var(--r); background: var(--surface-2); }
.etabli-champ .mono { min-width: 0; overflow-wrap: anywhere; font-size: var(--t-s); }
.etabli-op-t { display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--e-1) var(--e-3); } .etabli-op-t b { font-weight: 650; }
.etabli-meta { display: inline-flex; align-items: center; gap: var(--e-3); margin-left: auto; font-size: var(--t-s); color: var(--encre-3); } .etabli-meta .lien { display: inline-flex; align-items: center; gap: var(--e-1); }
.etabli-ps { display: grid; gap: var(--e-3); }
.etabli-p { display: grid; grid-template-columns: minmax(110px, 0.6fr) minmax(0, 1fr); gap: var(--e-1) var(--e-3); align-items: center; }
.etabli-pn { display: grid; gap: 1px; justify-items: start; } .etabli-pn code { background: none; border: 0; padding: 0; font-weight: 600; } .etabli-pn small { font-size: var(--t-xs); color: var(--encre-3); }
.etabli-pd { grid-column: 2; margin: 0; font-size: var(--t-xs); color: var(--encre-3); line-height: 1.4; }
/* la colonne de la requête, étroite entre le catalogue et la réponse : le nom d'un paramètre passe au-dessus de son champ */
.etabli-req { container: requete / inline-size; }
@container requete (max-width: 480px) { .etabli-p { grid-template-columns: minmax(0, 1fr); } .etabli-pd { grid-column: 1; } }
.etabli-rep-t { display: flex; align-items: center; flex-wrap: wrap; gap: var(--e-2) var(--e-3); } .etabli-rep-t h2 { font-size: var(--t-l); font-weight: 650; margin: 0; }
.etabli-rep-t small { color: var(--encre-3); } .etabli-rep-t .lien { margin-left: auto; display: inline-flex; align-items: center; gap: var(--e-1); }
.etabli-rep .ex-c { max-height: 520px; }
.etabli-rep-p { margin: 0; font-size: var(--t-xs); color: var(--encre-3); }
@container page (max-width: 1000px) {
  .etabli { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .etabli-cat { display: none; } .etabli-choix { display: flex; grid-column: 1 / -1; }
}
@container page (max-width: 760px) {
  .etabli { grid-template-columns: minmax(0, 1fr); }
  .etabli-p { grid-template-columns: minmax(0, 1fr); } .etabli-pd { grid-column: 1; }
}

/* les API protégées : des portées sans API, en pleine largeur au-dessus de la liste */
.avis.heritees-a { margin-bottom: var(--e-4); align-items: flex-start; } .avis.heritees-a .btn { margin-left: auto; flex: none; }
.heritees-l { margin: var(--e-15) 0 0; padding-left: var(--e-4); display: grid; gap: var(--e-05); }

/* ================================================================ les contenus de la navigation à deux niveaux (9.4)
   Bannière refermable, onglets de vue, tableau libellé et valeur, « Diagnostiquer et résoudre » (composants/navigation.html). */

/* la bannière : une information utile, « En savoir plus », une croix ; la croix est retenue par écran */
.banniere { display: flex; align-items: center; flex-wrap: wrap; gap: var(--e-1) var(--e-25); padding: var(--e-2) var(--e-3); border-radius: var(--r); background: var(--vert-voile);
            border: 1px solid var(--vert-voile-filet); font-size: var(--t-s); line-height: 1.45; color: var(--encre-2); }
.banniere[hidden] { display: none; }
.banniere > .ico { width: var(--i-xs); height: var(--i-xs); flex: none; color: var(--vert-fort); }
.banniere-t { flex: 1 1 240px; min-width: 0; }
.banniere .lien .ico { width: 13px; height: 13px; }
.banniere-x { flex: none; width: 24px; height: 24px; display: grid; place-items: center; margin-left: auto; border-radius: var(--r-s); color: var(--encre-3); }
.banniere-x:hover { background: rgba(17, 17, 17, .06); color: var(--encre); } .banniere-x .ico { width: 14px; height: 14px; }
.banniere.at { background: var(--miel); border-color: var(--jaune-filet); } .banniere.at > .ico { color: var(--jaune-texte); }

/* les onglets de vue : ils varient la vue d'une page sans en changer (les rubriques, elles, sont au menu de page) */
.onglets-v { display: flex; gap: var(--e-6); border-bottom: 1px solid var(--filet); overflow-x: auto; scrollbar-width: none; }
.onglets-v::-webkit-scrollbar { display: none; }
.onglets-v button { position: relative; display: inline-flex; align-items: center; gap: var(--e-15); flex: none; padding: var(--e-1) 0 9px; font-size: var(--t-m); font-weight: 500; color: var(--encre-2);
                    white-space: nowrap; }
.onglets-v button:hover { color: var(--encre); }
.onglets-v button[aria-selected="true"] { color: var(--encre); font-weight: 600; }
.onglets-v button[aria-selected="true"]::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--jaune); }
.onglets-v button:focus-visible { outline: 0; box-shadow: var(--anneau); border-radius: var(--r-s); }
.onglets-v em { font-style: normal; font-size: var(--t-xs); font-weight: 600; padding: 0 var(--e-15); border-radius: 9px; background: var(--jaune-pale); color: var(--jaune-texte); }
.vue-p { display: grid; gap: var(--e-35); min-width: 0; } .vue-p[hidden] { display: none; } .vue-p:focus-visible { outline: 0; }

/* le tableau libellé et valeur : une paire par ligne sous un seul filet, rien sous la dernière ; libellé gris de
   largeur fixe ; chaque identifiant se copie, chaque nombre mène à sa liste ; deux colonnes quand la place le permet */
.essentiel-z { container: essentiel / inline-size; padding: var(--e-05) var(--e-5); }
.essentiel { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: var(--e-7); margin: 0; }
.essentiel > div { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: var(--e-3); align-items: center; min-height: 40px; padding: 7px 0; border-bottom: 1px solid var(--filet-2); min-width: 0; }
.essentiel > div:last-child { border-bottom: 0; }
.essentiel dt { font-size: var(--t-m); color: var(--encre-3); }
.essentiel dd { display: flex; align-items: center; flex-wrap: wrap; gap: var(--e-05) var(--e-15); min-width: 0; margin: 0; font-size: var(--t-m); color: var(--encre); }
.essentiel dd .v { min-width: 0; overflow-wrap: anywhere; }
.essentiel dd .id { min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--mono); font-size: var(--t-s); }
.essentiel dd .id + .cp { margin-left: calc(-1 * var(--e-05)); }
.essentiel dd .id:has(+ .cp) { max-width: calc(100% - 32px); }      /* un identifiant long se coupe avant son bouton Copier, qui reste à côté */
.essentiel .cp { width: 26px; height: 26px; color: var(--encre-4); } .essentiel .cp .ico { width: 14px; height: 14px; }
.essentiel dd small { flex-basis: 100%; font-size: var(--t-xs); color: var(--encre-3); }
.essentiel dd .lien-v, .essentiel dd .lien-v b { color: var(--accent); } .essentiel dd .lien-v:hover { text-decoration: underline; text-underline-offset: 3px; }
@container essentiel (max-width: 480px) { .essentiel > div { grid-template-columns: minmax(0, 1fr); gap: var(--e-05); } }
@container essentiel (min-width: 780px) {
  .essentiel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .essentiel > div:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
}

/* Diagnostiquer et résoudre : un constat par ligne, son état en pastille, « Régler » vers sa rubrique */
.diag .carte-tete h2 small { font-size: var(--t-s); font-weight: 400; color: var(--encre-3); }
.diag .diag-lien { margin-left: auto; }
.diag-l { list-style: none; margin: 0; padding: 0; }
.diag-c { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: var(--e-25) var(--e-3); align-items: center; padding: var(--e-25) var(--e-5); border-bottom: 1px solid var(--filet-2);
          font-size: var(--t-m); }
.diag-c:last-child { border-bottom: 0; }
.diag-m { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: var(--t-xs); font-weight: 700; background: var(--jaune-pale); color: var(--jaune-texte); }
.diag-c.ko .diag-m { background: var(--ko-pale); color: var(--ko); }
.diag-c.ok .diag-m { background: var(--ok-pale); color: var(--vert-fort); } .diag-c.ok .diag-m .ico { width: 12px; height: 12px; stroke-width: 3; }
.diag-t { display: grid; gap: var(--e-05); min-width: 0; } .diag-t b { font-weight: 600; } .diag-t small { font-size: var(--t-s); color: var(--encre-3); line-height: 1.45; }
.diag-f { font-size: var(--t-s); color: var(--encre-4); }
.diag-g { display: flex; align-items: center; gap: var(--e-2); } .diag-g form { display: contents; }
@media (max-width: 639px) { .diag-c { grid-template-columns: 20px minmax(0, 1fr); } .diag-c > .diag-g, .diag-c > .lien, .diag-c > .diag-f { grid-column: 2; justify-self: start; } }

/* la page des composants : chaque composant de la navigation dans un cadre de la taille de son usage */
.demo-intro { margin: var(--e-7) 0 var(--e-4); } .demo-intro h2 { font-size: var(--t-xl); } .demo-intro p { font-size: var(--t-m); color: var(--encre-3); margin-top: var(--e-1); max-width: 820px; }
.demo-icones { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: var(--e-2); }
.demo-icones li { display: flex; align-items: center; gap: var(--e-3); min-width: 0; padding: var(--e-25) var(--e-3); border: 1px solid var(--filet); border-radius: var(--r); background: var(--fond); }
.demo-icones code { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0; background: none; font-size: var(--t-xs); color: var(--encre-2); }
.demo-menus { display: flex; flex-wrap: wrap; gap: var(--e-5); align-items: flex-start; }
.demo-f { margin: 0; display: grid; gap: var(--e-2); width: 258px; max-width: 100%; }
.demo-f.etroit { width: auto; }
.demo-f figcaption { font-size: var(--t-s); color: var(--encre-3); line-height: 1.45; }
.demo-f.etroit figcaption { max-width: 120px; }
.demo-cadre { height: 600px; display: flex; border: 1px solid var(--filet); border-radius: var(--r); overflow: hidden; background: var(--fond); }
.demo-cadre .nav-g { border-right: 0; } .demo-cadre .nav-g:not(.replie) { width: 100%; } .demo-cadre .nav-p { flex: 1; width: 256px; max-width: 100%; border-right: 0; }
.demo-cadre .nav-p.replie { width: 50px; flex: none; }
.demo-pile { display: grid; gap: var(--e-6); }
.demo-pile .tete-p { margin: 0; padding-bottom: var(--e-5); border-bottom: 1px solid var(--filet-2); } .demo-pile .tete-p:last-of-type { border-bottom: 0; padding-bottom: 0; }
.demo-etroit { max-width: 400px; display: grid; gap: var(--e-2); }
.demo-zone { height: 220px; border: 1px solid var(--filet); border-radius: var(--r); }
.demo-fiche { height: 520px; border-top: 1px solid var(--filet-2); background: var(--surface); }
.demo-fiche .fiche-c { height: 100%; } .demo-fiche .fiche-l { border-top: 0; }
.demo-assemblee { gap: var(--e-5); } .demo-assemblee .demo-fiche { border: 1px solid var(--filet); border-radius: var(--r); overflow: hidden; }
.demo-assemblee .demo-etroit.demo-fiche { height: auto; }

/* ---------------------------------------------------------------- css/porte.css */
/* Trousseau, porte.css : la porte (connexion, activation, second facteur, fin de session) et Mon compte.
   La porte est une carte blanche posée sur le fond du masque Cerfrance, comme chez les grands services d'identité :
   le logo, l'application vers laquelle on va, la saisie.
   Chaque écran tient dans la fenêtre : rien ne défile. La carte est le conteneur de ce qu'elle porte ; la page suit
   deux seuils, téléphone (jusqu'à 639 px) et écran bas (jusqu'à 800 px de haut). */

/* ================================================================ la porte */
body.porte { min-height: 100vh; min-height: 100dvh; background: var(--fond); }
.porte-c { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.porte-c .dom-b { display: flex; justify-content: flex-end; align-items: center; gap: var(--e-2); padding: var(--e-35) var(--e-6) 0; font-family: var(--mono); font-size: var(--t-xs); color: var(--encre-3); }
.porte-c .dom-b .ico { width: 13px; height: 13px; color: var(--vert); }
/* la carte reste au même endroit d'une étape à l'autre : ancrée en haut, pas centrée */
.porte main { flex: 1; display: grid; justify-items: center; align-content: start; padding: clamp(16px, 9vh, 112px) var(--e-6) var(--e-5); }
.colonne { width: min(456px, 100%); display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--e-4); }
.colonne.large { width: min(600px, 100%); }
.carte-p { container-type: inline-size; position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--e-45); background: var(--surface); border: 1px solid var(--filet);
           border-radius: var(--r-g); padding: var(--e-75) 44px var(--e-7); overflow: hidden; }
.carte-p .logo-p { display: inline-flex; justify-self: start; margin-bottom: var(--e-15); } .carte-p .logo-p .logo { height: 24px; }
.carte-p h1 { font-size: var(--t-2xl); line-height: 1.22; letter-spacing: -0.02em; } .chapo { font-size: var(--t-m); color: var(--encre-2); line-height: 1.55; margin-top: calc(-1 * var(--e-2)); }
.carte-p form { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--e-4); }
/* un libellé long et sa forme courte : la courte prend la place quand la carte est étroite */
.carte-p .lib-court { display: none; }
@container (max-width: 300px) { .carte-p .lib-long { display: none; } .carte-p .lib-court { display: inline; } }
.ou { display: flex; align-items: center; gap: var(--e-3); color: var(--encre-3); font-size: var(--t-xs); } .ou::before, .ou::after { content: ''; flex: 1; height: 1px; background: var(--filet); }
.pied-c { padding-top: var(--e-4); border-top: 1px solid var(--filet-2); font-size: var(--t-s); color: var(--encre-3); line-height: 1.5; }
.pied-c b { color: var(--encre-2); } .pied-c a b { color: inherit; }        /* un lien garde sa couleur, même en gras */
.vers { display: flex; align-items: center; gap: var(--e-3); padding: var(--e-25) var(--e-3); border-radius: var(--r-g); background: var(--surface-2); border: 1px solid var(--filet-2); min-width: 0; }
.vers small { display: block; font-size: var(--t-xs); color: var(--encre-3); } .vers b { display: block; font-size: var(--t-m); } .vers em { display: block; font-style: normal; font-size: var(--t-xs); color: var(--encre-3); overflow-wrap: anywhere; }
.qui-p { display: inline-flex; align-items: center; gap: var(--e-25); padding: var(--e-1) var(--e-3) var(--e-1) var(--e-1); border-radius: 20px; border: 1px solid var(--filet); color: var(--encre); max-width: 100%; justify-self: start; }
.qui-p .av { width: 28px; height: 28px; font-size: 11px; } .qui-p b { font-size: var(--t-m); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qui-p em { font-style: normal; font-size: var(--t-xs); color: var(--accent); font-weight: 600; } a.qui-p:hover { background: var(--survol); }
/* le code à six chiffres : un seul champ (name="code", rempli par le téléphone ou collé d'un coup). Sans script, un
   champ large aux chiffres espacés ; avec, six cases (3 + 3) dessinées sous le champ devenu transparent, à la même
   hauteur, que saisie.js remplit à mesure. Rien ne bouge quand le script arrive. */
.code6 { position: relative; height: var(--h-code); }
.code6-s { width: 100%; height: 100%; padding: 0 var(--e-3); text-align: center; font-size: 22px; font-weight: 600; letter-spacing: .32em; font-variant-numeric: tabular-nums;
           border-radius: var(--r); border: 1px solid var(--filet-fort); outline: 0; background: var(--surface); transition: border-color var(--d-court), box-shadow var(--d-court); }
.code6-s:focus { border-color: var(--jaune-fort); box-shadow: var(--anneau); }
.code6.ko .code6-s { border-color: var(--ko-point); } .code6.ok .code6-s { border-color: var(--ok-point); background: var(--ok-pale); }
.code6-c { display: none; }
@media (scripting: enabled) {
  .code6-c { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) var(--e-1) repeat(3, minmax(0, 1fr)); gap: var(--e-2); pointer-events: none; }
  .code6-c i:nth-child(4) { grid-column: 5; }
  .code6-c i { display: grid; place-items: center; font-style: normal; font-size: 22px; font-weight: 600; color: var(--encre); font-variant-numeric: tabular-nums;
               border-radius: var(--r); border: 1px solid var(--filet-fort); background: var(--surface); transition: border-color var(--d-court), box-shadow var(--d-court); }
  .code6-c i.en-cours { border-color: var(--jaune-fort); box-shadow: var(--anneau); }
  .code6.ko .code6-c i { border-color: var(--ko-point); }
  .code6.ok .code6-c i { border-color: var(--ok-point); background: var(--ok-pale); }
  .code6 .code6-s, .code6.ko .code6-s, .code6.ok .code6-s { color: transparent; caret-color: transparent; background: transparent; border-color: transparent; box-shadow: none; }
  .code6-s::selection { background: transparent; }
}
.pictogramme { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-pale); color: var(--accent); }
.pictogramme .ico { width: 24px; height: 24px; }
.pictogramme.ko { background: var(--ko-pale); color: var(--ko); } .pictogramme.ok { background: var(--ok-pale); color: var(--ok); } .pictogramme.n { background: var(--survol); color: var(--encre-2); }
.methodes-c { display: grid; gap: var(--e-25); }
.methode-c { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--e-05) var(--e-35); align-items: center; text-align: left; padding: var(--e-35) var(--e-4); border-radius: var(--r-g);
             border: 1px solid var(--filet-fort); background: var(--surface); transition: border-color var(--d-court), background var(--d-court); }
.methode-c:hover { border-color: var(--jaune); background: var(--miel); }
.methode-c .logos-m { grid-row: span 2; display: flex; gap: var(--e-1); }
.methode-c b { font-size: var(--t-m); } .methode-c small { font-size: var(--t-s); color: var(--encre-3); line-height: 1.45; }
.methode-c .pastille-e { position: absolute; top: var(--e-3); right: var(--e-3); }
.qr-z { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--e-5); align-items: start; }
.qr-z img { width: 168px; height: 168px; border-radius: var(--r-g); border: 1px solid var(--filet); padding: var(--e-2); background: #fff; }
.qr-z ol { list-style: decimal; padding-left: var(--e-45); display: grid; gap: var(--e-1); font-size: var(--t-m); color: var(--encre-2); }
.qr-z details summary { cursor: pointer; font-size: var(--t-s); font-weight: 600; color: var(--accent); }
.qr-z details code { display: block; margin-top: var(--e-15); padding: var(--e-15) var(--e-2); word-break: break-all; }
@container (max-width: 440px) { .qr-z { grid-template-columns: minmax(0, 1fr); justify-items: center; } }
.applis-c { display: flex; gap: var(--e-15) var(--e-4); flex-wrap: wrap; align-items: center; font-size: var(--t-xs); color: var(--encre-3); }
.applis-c span { display: inline-flex; align-items: center; gap: var(--e-15); white-space: nowrap; }
/* un code de secours ou un code d'accès temporaire : des capitales, espacées comme on les dicte */
.code-c { font-family: var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.code-c::placeholder { letter-spacing: .14em; }
.suite-l { list-style: decimal; padding-left: var(--e-45); display: grid; gap: var(--e-1); font-size: var(--t-m); color: var(--encre-2); line-height: 1.5; }
.retour-l { display: inline-flex; align-items: center; gap: var(--e-15); font-size: var(--t-s); font-weight: 600; color: var(--accent); justify-self: start; }
.note { display: flex; gap: var(--e-2); justify-content: flex-start; align-items: flex-start; font-size: var(--t-xs); color: var(--encre-3); line-height: 1.5; }
.note .ico { width: 14px; height: 14px; margin-top: var(--e-05); flex: none; }
.pied { display: flex; justify-content: center; align-items: center; gap: var(--e-2) 22px; flex-wrap: wrap; padding: var(--e-35) var(--e-4) var(--e-45); font-size: var(--t-xs); color: var(--encre-3); }
.pied .pied-m .cerfrance { height: 18px; display: block; }
.pied span { display: inline-flex; align-items: center; gap: var(--e-15); } .pied .ico { width: 13px; height: 13px; } .pied img { height: 14px; width: auto; }
/* écran bas (1280 × 720, 1366 × 768) : la carte se resserre pour tenir sans défiler */
@media (max-height: 800px) {
  .carte-p { gap: var(--e-35); padding: 30px 36px var(--e-6); } .code6 { height: 46px; } .porte main { padding: var(--e-2) var(--e-6); }
  /* un écran bas : la saisie du code de la ligne de commande se passe de son pictogramme, le code à comparer se resserre */
  .pictogramme.appareil-p { display: none; } .code-a { padding: var(--e-2) var(--e-3); }
}
/* téléphone : la carte prend la largeur, le domaine s'efface (la barre d'adresse le montre), le pied s'empile */
@media (max-width: 639px) {
  .porte-c .dom-b { display: none; }
  .porte main { padding: var(--e-4) var(--e-3); }
  .colonne { gap: var(--e-3); }
  .carte-p { padding: var(--e-65) var(--e-5) var(--e-6); }
  .pied { flex-direction: column; align-items: center; gap: var(--e-1); padding: var(--e-2) var(--e-3) var(--e-3); }
}

/* ================================================================ Mon compte */
.appli .ent-t small { white-space: normal; }
.appli-g { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: var(--e-3); }
.carte-l.appli { grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--e-3); align-items: center; }
.appli > .logo-app { grid-column: 1; grid-row: 1; } .appli > .ent-t { grid-column: 2; grid-row: 1; }
.appli .ent-t b { font-size: var(--t-l); white-space: normal; overflow-wrap: anywhere; } .ligne-r { display: block; }
.appli .fleche { grid-column: 3; grid-row: 1; display: grid; width: 28px; height: 28px; border-radius: 50%; place-items: center; color: var(--encre-4); transition: background var(--d-court), color var(--d-court); }
.appli:hover .fleche { background: var(--jaune); color: var(--encre); }
.methode-l { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: var(--e-35); align-items: center; padding: var(--e-35) var(--e-5); border-bottom: 1px solid var(--filet-2); }
.methode-l:last-child { border-bottom: 0; }
.methode-l b { display: block; font-size: var(--t-m); } .methode-l small { display: block; font-size: var(--t-xs); color: var(--encre-3); margin-top: 1px; }
.methode-l .logos-m { display: flex; gap: var(--e-1); align-items: center; justify-content: center; } .methode-l > .tuile-i { justify-self: center; }
/* étroite, une méthode passe ses boutons sous son nom */
@container (max-width: 480px) { .methode-l { grid-template-columns: 40px minmax(0, 1fr); padding: var(--e-3) var(--e-4); } .methode-l > :last-child:not(:nth-child(2)) { grid-column: 2; justify-self: start; } }
.etat-s { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--e-4); align-items: center; padding: var(--e-4) var(--e-5); }
.etat-s b { font-size: var(--t-l); } .etat-s p { font-size: var(--t-m); color: var(--encre-3); margin-top: var(--e-05); line-height: 1.5; }
@container (max-width: 560px) { .etat-s { grid-template-columns: auto minmax(0, 1fr); } .etat-s > .btn, .etat-s > a.btn, .etat-s > form { grid-column: 1 / -1; justify-self: start; } }
/* les codes de secours, montrés une seule fois : deux colonnes de codes, comme sur une feuille à imprimer */
.codes-s { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--e-25) var(--e-6); padding-left: var(--e-6); list-style: decimal; color: var(--encre-3); font-size: var(--t-s); }
.codes-s code { font-family: var(--mono); font-size: var(--t-l); letter-spacing: .08em; color: var(--encre); background: none; padding: 0; }
@container (max-width: 360px) { .codes-s { grid-template-columns: minmax(0, 1fr); } }
/* la connexion de la ligne de commande (appareil.html) : ce qu'on autorise, en lignes serrées, puis les deux boutons ;
   la confirmation d'un délégué (ses droits sur trois lignes) tient ainsi dans 1 536 × 864, 1 280 × 720 et 390 × 844 */
.carte-p .appareil-d > div { grid-template-columns: 92px minmax(0, 1fr); gap: var(--e-2); padding: 3px 0; font-size: var(--t-s); }
/* les deux boutons sur une ligne : Autoriser prend la place, Refuser à côté ; la confirmation tient ainsi dans 1 280 × 720 */
.carte-p .appareil-b { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--e-2); } .carte-p .appareil-b .btn-g { width: auto; }
.appareil-autre { color: var(--ko); font-weight: 600; }
/* le code saisi, en grand, à comparer à celui du terminal */
.code-a { display: grid; gap: var(--e-05); justify-items: center; padding: var(--e-25) var(--e-3); border: 1px solid var(--filet); border-radius: var(--r); background: var(--survol); }
.code-a-v { font-family: var(--mono); font-size: var(--t-2xl); line-height: var(--i-2xl); letter-spacing: .14em; font-weight: 600; color: var(--encre); }
.code-a-t { font-size: var(--t-xs); color: var(--encre-2); text-align: center; }

/* ---------------------------------------------------------------- css/doc.css */
/* Trousseau, doc.css : le portail des développeurs. Une page de lecture : colonne de texte de 760 px au plus, sommaire
   à gauche, intertitres de la page à droite, exemples de code sur fond clair avec leur bouton Copier. */

/* ================================================================ la mise en page */
body.doc { background: var(--surface); }
.doc-c { display: grid; grid-template-columns: 264px minmax(0, 1fr) 232px; max-width: 1440px; margin: 0 auto; padding-top: var(--haut); min-height: 100vh; min-height: 100dvh; }
.doc-nav { position: sticky; top: var(--haut); align-self: start; height: calc(100vh - var(--haut)); height: calc(100dvh - var(--haut)); overflow-y: auto; padding: var(--e-65) var(--e-35) var(--e-65) var(--e-5);
           border-right: 1px solid var(--filet); display: grid; gap: 22px; align-content: start; }
.doc-g { display: grid; gap: 1px; }
.doc-r { display: block; padding: 0 var(--e-25) var(--e-15); font-size: var(--t-xs); font-weight: 500; color: var(--encre-4); }
.doc-nav a, .doc-som a { position: relative; display: flex; align-items: center; gap: 9px; min-height: 32px; padding: 5px var(--e-25); border-radius: var(--r); font-size: var(--t-m); line-height: 1.35;
                         color: var(--encre-2); text-decoration: none; }
.doc-nav a .ico { width: 15px; height: 15px; color: var(--encre-3); }
.doc-nav a:hover, .doc-som a:hover { background: var(--survol); color: var(--encre); }
.doc-nav a.on, .doc-som a.on { background: var(--jaune-pale); color: var(--encre); font-weight: 600; }
.doc-nav a.on::before, .doc-som a.on::before { content: ''; position: absolute; left: 0; top: 7px; bottom: 7px; width: 3px; border-radius: 0 3px 3px 0; background: var(--jaune); }

.doc-art { container-type: inline-size; min-width: 0; max-width: 872px; padding: 44px var(--e-9) var(--e-9); }   /* 760 px de texte */
.doc-toc { position: sticky; top: var(--haut); align-self: start; padding: 44px var(--e-5) var(--e-6) var(--e-2); display: grid; gap: var(--e-05); }
.doc-toc .doc-r { padding-left: var(--e-3); }
.doc-toc a { display: block; padding: var(--e-1) var(--e-3); border-left: 2px solid var(--filet); font-size: var(--t-s); line-height: 1.4; color: var(--encre-3); text-decoration: none; }
.doc-toc a:hover { color: var(--encre); border-left-color: var(--filet-fort); }

/* le sommaire replié, sur un écran étroit */
.doc-som { display: none; margin-bottom: var(--e-6); border: 1px solid var(--filet); border-radius: var(--r-g); background: var(--surface-2); }
.doc-som summary { display: flex; align-items: center; gap: var(--e-25); min-height: 44px; padding: 0 var(--e-35); cursor: pointer; list-style: none; font-size: var(--t-m); color: var(--encre-3); }
.doc-som summary::-webkit-details-marker { display: none; }
.doc-som summary b { margin-left: auto; color: var(--encre); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.doc-som nav { display: grid; gap: var(--e-4); padding: var(--e-1) var(--e-2) var(--e-35); border-top: 1px solid var(--filet-2); padding-top: var(--e-35); }

/* ================================================================ le texte */
.doc-tete { display: grid; gap: var(--e-25); padding-bottom: var(--e-65); margin-bottom: var(--e-2); border-bottom: 1px solid var(--filet); }
.doc-sur { font-size: var(--t-xs); font-weight: 600; color: var(--jaune-texte); }
.doc-tete h1 { font-size: var(--t-3xl); line-height: 1.2; letter-spacing: -0.03em; }
.doc-tete .chapo { margin: 0; font-size: var(--t-l); line-height: 1.6; color: var(--encre-2); }
.doc-art h2 { font-size: var(--t-xl); line-height: 1.3; margin: var(--e-75) 0 var(--e-3); scroll-margin-top: calc(var(--haut) + var(--e-5)); }
.doc-art h3 { font-size: var(--t-l); margin: var(--e-6) 0 var(--e-2); }
.doc-art p, .doc-art li { font-size: var(--t-l); line-height: 1.7; color: var(--encre-2); }
.doc-art p { margin: 0 0 var(--e-35); }
.doc-art p b, .doc-art li b { color: var(--encre); }
.doc-art ul { margin: 0 0 var(--e-35); display: grid; gap: var(--e-1); }
.doc-art ul li { position: relative; padding-left: var(--e-45); }
.doc-art ul li::before { content: ''; position: absolute; left: 4px; top: .72em; width: 5px; height: 5px; border-radius: 50%; background: var(--encre-4); }
.doc-art code { font-size: var(--t-s); }
.doc-art .avis { margin: var(--e-6) 0 var(--e-2); }
.doc-adresse code { display: inline-block; font-size: var(--t-m); padding: var(--e-15) var(--e-25); }
.doc-puces { display: flex; flex-wrap: wrap; gap: var(--e-15); }

/* les étapes numérotées */
.doc-etapes, .doc-controle { counter-reset: e; display: grid; gap: var(--e-3); margin: var(--e-4) 0 var(--e-2); padding-left: 0; list-style: none; }
.doc-etapes li, .doc-controle li { counter-increment: e; position: relative; padding-left: var(--e-75); }
.doc-etapes li::before, .doc-controle li::before { content: counter(e); position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
                                                   font: 600 12.5px/1 var(--sans); color: var(--encre); background: var(--surface); border: 1.5px solid var(--filet-fort); }
.doc-controle li { padding-bottom: var(--e-3); border-bottom: 1px solid var(--filet-2); }
.doc-controle li:last-child { border-bottom: 0; }

/* les cartes de l'accueil */
.doc-cartes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--e-3); margin: var(--e-65) 0 var(--e-2); }
.doc-carte { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--e-1) var(--e-35); align-items: start; padding: var(--e-45); border: 1px solid var(--filet); border-radius: var(--r-g);
             background: var(--surface); color: inherit; transition: border-color var(--d-court), box-shadow var(--d-court); }
.doc-carte:hover { border-color: var(--filet-fort); box-shadow: var(--ombre-carte); }
.doc-carte .tuile-i { grid-row: span 2; width: 38px; height: 38px; } .doc-carte .tuile-i .ico { width: 19px; height: 19px; }
.doc-carte b { font: 600 15px/1.35 var(--titre); color: var(--encre); }
.doc-carte span:not(.tuile-i) { font-size: 13.5px; line-height: 1.5; color: var(--encre-3); }

/* les tableaux */
.doc-tab { margin: var(--e-35) 0 var(--e-45); border: 1px solid var(--filet); border-radius: var(--r-g); }
.doc-tab .tab td { height: auto; padding-top: var(--e-25); padding-bottom: var(--e-25); line-height: 1.55; vertical-align: top; }
.doc-tab .tab tbody th { position: static; width: 32%; text-align: left; vertical-align: top; font-size: var(--t-m); font-weight: 600; color: var(--encre); background: var(--surface-2);
                         height: auto; padding: var(--e-25) var(--e-3) var(--e-25) var(--e-4); border-bottom: 1px solid var(--filet-2); }
.doc-tab .tab tbody tr:last-child th { border-bottom: 0; }
.doc-tab .tab td.mono { font-size: var(--t-xs); color: var(--encre); overflow-wrap: anywhere; }
.doc-tab .tab tbody tr:hover td { background: transparent; }
.doc-requis { display: inline-flex; height: 20px; align-items: center; padding: 0 7px; border-radius: 10px; font-size: var(--t-xs); font-weight: 600; color: var(--jaune-texte); background: var(--jaune-pale); }
.doc-fac { font-size: var(--t-xs); color: var(--encre-3); }

/* ================================================================ les exemples de code */
.ex { margin: var(--e-35) 0 var(--e-45); border: 1px solid var(--filet); border-radius: var(--r-g); background: #FCFBF8; overflow: hidden; }
.ex-t { display: flex; align-items: center; gap: var(--e-25); min-height: var(--h-l); padding: 0 var(--e-15) 0 var(--e-35); border-bottom: 1px solid var(--filet-2); background: var(--surface-2); }
.ex-l { display: inline-flex; align-items: center; gap: var(--e-15); font-size: var(--t-xs); font-weight: 500; color: var(--encre-4); }
.ex-l-i { width: 14px; height: 14px; }
/* le titre d'un exemple passe à la ligne plutôt que d'être coupé */
.ex-n { flex: 1; min-width: 0; padding: var(--e-15) 0; font-size: var(--t-s); line-height: 1.35; color: var(--encre-2); overflow-wrap: anywhere; }
.ex-c { margin: 0; padding: var(--e-35) var(--e-4); overflow-x: auto; font: 13px/1.65 var(--mono); color: var(--encre); tab-size: 4; }
.ex-c code { background: none; border: 0; padding: 0; font-size: inherit; overflow-wrap: normal; }
.c-com { color: #7D786E; } .c-chn { color: var(--accent-fort); } .c-mot { color: #8A4B00; font-weight: 600; }

/* les boutons de connexion, présentés */
.doc-boutons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--e-3); margin: var(--e-35) 0 var(--e-2); }
.doc-b { display: grid; gap: var(--e-4); padding: var(--e-6) var(--e-5) var(--e-45); border: 1px solid var(--filet); border-radius: var(--r-g); }
.doc-b img { max-width: 100%; height: auto; }
.doc-b.clair { background: var(--fond); } .doc-b.sombre { background: var(--encre); border-color: var(--encre); }
.doc-b figcaption { display: grid; gap: var(--e-05); font-size: var(--t-s); line-height: 1.5; }
.doc-b figcaption b { font-size: var(--t-m); } .doc-b figcaption span { color: var(--encre-3); } .doc-b figcaption a { font-family: var(--mono); font-size: var(--t-xs); margin-top: var(--e-1); }
.doc-b.sombre figcaption b { color: #fff; } .doc-b.sombre figcaption span { color: rgba(255, 255, 255, .66); } .doc-b.sombre figcaption a { color: var(--jaune); }
.doc-regles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--e-3); margin: var(--e-35) 0 var(--e-2); }
.doc-regles div { padding: var(--e-4) var(--e-45); border-radius: var(--r-g); border: 1px solid var(--filet); }
.doc-regles div b { display: flex; align-items: center; gap: var(--e-2); font-size: var(--t-m); margin-bottom: var(--e-2); }
.doc-regles .oui { background: var(--ok-pale); border-color: var(--ok-filet); } .doc-regles .oui b .ico { color: var(--ok); }
.doc-regles .non { background: var(--ko-pale); border-color: var(--ko-filet); } .doc-regles .non b .ico { color: var(--ko); }
.doc-regles li { font-size: var(--t-m); }
.doc-regles ul { margin: 0; }

/* ================================================================ le bas de page */
.doc-suite { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--e-3); margin-top: var(--e-8); }
.doc-suite a { display: grid; gap: 3px; padding: var(--e-35) var(--e-4); border: 1px solid var(--filet); border-radius: var(--r-g); }
.doc-suite a:hover { border-color: var(--filet-fort); background: var(--surface-2); }
.doc-suite small { display: flex; align-items: center; gap: var(--e-1); font-size: var(--t-xs); color: var(--encre-3); }
.doc-suite small .ico { width: 14px; height: 14px; }
.doc-suite b { font-size: var(--t-l); color: var(--encre); }
.doc-suite .suiv { grid-column: 2; text-align: right; } .doc-suite .suiv small { justify-content: flex-end; }
.doc-pied { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--e-15) var(--e-6); margin-top: var(--e-7); padding-top: var(--e-45); border-top: 1px solid var(--filet); font-size: var(--t-xs); color: var(--encre-3); }
.doc-pied-logos { flex-basis: 100%; line-height: 1.5; } .doc-pied-logos a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* ================================================================ les écrans plus étroits
   La page suit les seuils nommés : poste étroit, le sommaire de droite s'efface ; tablette, celui de gauche devient un
   sommaire replié. Les blocs du texte suivent la largeur de la colonne de lecture (@container). */
@media (max-width: 1279px) {
  .doc-c { grid-template-columns: 248px minmax(0, 1fr); }
  .doc-toc { display: none; }
  .doc-art { padding: var(--e-75) var(--e-75) var(--e-8); }
}
@media (max-width: 1023px) {
  .doc-c { grid-template-columns: minmax(0, 1fr); }
  .doc-nav { display: none; }
  .doc-som { display: block; }
  .doc-art { padding: var(--e-6) var(--e-4) var(--e-75); }
}
@container (max-width: 640px) {
  .doc-tete h1 { font-size: var(--t-2xl); }
  .doc-cartes, .doc-boutons, .doc-regles, .doc-cartes.trois { grid-template-columns: minmax(0, 1fr); }
  .doc-tab .tab tbody th { width: 38%; }
  .doc-heros { padding: var(--e-4); } .doc-heros-l { grid-template-columns: 1fr; }
  .doc-heros-l span, .doc-heros-l span:nth-child(2), .doc-heros-l span:nth-child(3) { text-align: left; }
  .doc-outils { margin-top: 0; } .doc-ia .btn:first-child { font-size: var(--t-s); }
}
@container (max-width: 480px) {
  .doc-suite { grid-template-columns: minmax(0, 1fr); }
  .doc-suite .suiv { grid-column: 1; }
  .doc-pied { display: grid; }
}

/* les tableaux du portail sont du texte courant : ils passent à la ligne */
.doc-tab .tab td { white-space: normal; max-width: none; overflow: visible; }
.doc-art ol { margin: 0 0 var(--e-35); padding-left: 22px; list-style: decimal; display: grid; gap: var(--e-15); }
.doc-art ol.doc-etapes, .doc-art ol.doc-controle { padding-left: 0; list-style: none; } .doc-art ol li::marker { color: var(--encre-3); font-weight: 600; }

/* l'accueil du portail : l'image du raccordement et des cartes qui montrent leur contenu */
.doc-heros { margin: var(--e-65) 0 var(--e-1); padding: var(--e-6) var(--e-6) var(--e-4); border: 1px solid var(--filet); border-radius: var(--r-g); background: var(--surface-2); display: grid; gap: var(--e-4); }
.doc-heros-l { display: grid; grid-template-columns: 1fr 1.25fr 1.1fr; gap: var(--e-4); }
.doc-heros-l span { display: grid; gap: var(--e-05); font-size: var(--t-s); line-height: 1.45; color: var(--encre-3); }
.doc-heros-l span:nth-child(2) { text-align: center; } .doc-heros-l span:nth-child(3) { text-align: right; }
.doc-heros-l b { font-size: var(--t-m); color: var(--encre); font-weight: 600; }
.doc-cartes.il-c .doc-carte { grid-template-columns: minmax(0, 1fr); gap: var(--e-1); padding: 0 0 var(--e-45); overflow: hidden; }
.doc-cartes.il-c .doc-carte b, .doc-cartes.il-c .doc-carte p { padding: 0 var(--e-45); margin: 0; }
.doc-cartes.il-c .doc-carte p { font-size: var(--t-s); line-height: 1.5; color: var(--encre-3); }
.doc-carte-il { height: 128px; margin-bottom: var(--e-3); display: grid; place-items: center; background: var(--surface-2); border-bottom: 1px solid var(--filet-2); overflow: hidden; }
.doc-carte-il.at { background: var(--miel); } .doc-carte-il.ok { background: var(--vert-pale); }
.doc-carte-il img { width: 200px; height: auto; }
.doc-carte-il .sequence { width: 220px; height: auto; }
.mini-code { margin: 0; font: var(--t-xs)/1.6 var(--mono); color: var(--encre-2); background: var(--surface); border: 1px solid var(--jaune-filet); border-radius: var(--r);
  padding: var(--e-25) var(--e-35); white-space: pre; }
.mini-code i { font-style: normal; color: var(--rouge); } .mini-code em { font-style: normal; color: var(--vert-fort); font-weight: 600; }
.mini-points { margin: 0; display: grid; gap: 5px; font: var(--t-xs)/1.3 var(--mono); }
.mini-points div { display: flex; gap: var(--e-2); align-items: center; } .mini-points dd { margin: 0; color: var(--encre-2); }
.mini-points dt { min-width: 38px; text-align: center; padding: 1px var(--e-1); border-radius: 4px; font-weight: 600; background: var(--vert-pale); color: var(--vert-fort); }
.mini-points div:nth-child(3) dt { background: var(--jaune-pale); color: var(--jaune-texte); }

/* ================================================================ la lecture
   La barre de la page (temps de lecture, copie pour une IA), les intertitres et leur lien, les étapes en pastilles,
   des encadrés francs. */
.doc-art { position: relative; }
.doc-outils { display: flex; align-items: center; justify-content: space-between; gap: var(--e-3); margin: calc(-1 * var(--e-3)) 0 var(--e-45); }
.doc-lecture { display: inline-flex; align-items: center; gap: var(--e-15); font-size: var(--t-s); color: var(--encre-3); }
.doc-lecture .ico { width: 14px; height: 14px; }
.doc-ia { display: inline-flex; } .doc-ia .btn:first-child { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.doc-ia .btn-ic { border-top-left-radius: 0; border-bottom-left-radius: 0; margin-left: -1px; }
.menu-ia a, .menu-ia button { min-height: 48px; } .menu-ia span { display: grid; gap: 1px; text-align: left; }
.menu-ia b { font-weight: 600; color: var(--encre); font-size: var(--t-m); } .menu-ia small { font-size: var(--t-xs); color: var(--encre-3); }
.doc-art h2 { display: flex; align-items: center; gap: var(--e-25); }
.doc-art h2 .ancre { margin-left: var(--e-05); font-size: var(--t-l); font-weight: 500; color: var(--encre-4); text-decoration: none; opacity: 0; transition: opacity var(--d-court); }
.doc-art h2:hover .ancre, .doc-art h2 .ancre:focus-visible { opacity: 1; }
.doc-art h2.etape { margin-top: var(--e-8); }
.etape-n { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--jaune); color: var(--encre);
  font-size: var(--t-s); font-weight: 700; }
.doc-art .avis { border: 0; border-left: 3px solid var(--filet-fort); border-radius: 0 var(--r-g) var(--r-g) 0; padding: var(--e-35) var(--e-4); background: var(--surface-2); }
.doc-art .avis.n { border-left-color: var(--vert); background: var(--vert-pale); }
.doc-art .avis.at { border-left-color: var(--jaune); background: var(--miel); }
.doc-art .avis.ko { border-left-color: var(--orange); background: var(--rouge-pale); }
.doc-art .avis .avis-t { font-size: var(--t-m); line-height: 1.6; }
/* dans les tableaux, une adresse ou un appel en code ne se coupe pas au milieu d'un mot */
.doc-tab td.mono { white-space: nowrap; }
/* les procédures du guide : des étapes en pastilles */
.doc-art ol.doc-pas { counter-reset: e; display: grid; gap: var(--e-35); margin: var(--e-4) 0 var(--e-4); padding-left: 0; list-style: none; }
.doc-art ol.doc-pas li { counter-increment: e; position: relative; padding-left: 42px; }
.doc-art ol.doc-pas li::before { content: counter(e); position: absolute; left: 0; top: 2px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  font: 700 var(--t-s)/1 var(--sans); color: var(--encre); background: var(--jaune-pale); border: 1px solid var(--jaune-filet); }
/* une capture de la console, dans un cadre de fenêtre */
.doc-capture { margin: var(--e-5) 0 var(--e-6); border: 1px solid var(--filet); border-radius: var(--r-g); overflow: hidden; background: var(--surface-2); box-shadow: var(--ombre-carte-2); }
.doc-capture::before { content: ""; display: block; height: 22px; border-bottom: 1px solid var(--filet); background:
  radial-gradient(circle at 14px 11px, var(--filet-fort) 3.5px, transparent 4px), radial-gradient(circle at 28px 11px, var(--filet-fort) 3.5px, transparent 4px),
  radial-gradient(circle at 42px 11px, var(--filet-fort) 3.5px, transparent 4px); }
.doc-capture img { display: block; width: 100%; height: auto; }
.doc-capture figcaption { padding: var(--e-25) var(--e-35); font-size: var(--t-s); color: var(--encre-3); border-top: 1px solid var(--filet); background: var(--surface); }
.doc-cartes.trois { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@container (max-width: 760px) { .doc-cartes.trois { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container (max-width: 480px) { .doc-cartes.trois { grid-template-columns: minmax(0, 1fr); } }
/* le bloc de code à onglets : une technologie par onglet */
.ex-onglets .ex-t { padding-left: var(--e-1); gap: var(--e-1); }
.ex-os { display: flex; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; gap: var(--e-05); }
.ex-os::-webkit-scrollbar { display: none; }
.ex-o { position: relative; flex: none; height: 40px; padding: 0 var(--e-3); border: 0; background: none; font: 500 var(--t-s) var(--sans); color: var(--encre-3);
  cursor: pointer; white-space: nowrap; }
.ex-o { display: inline-flex; align-items: center; gap: var(--e-15); }
.ex-o:hover { color: var(--encre); }
.ex-o[aria-selected="true"] { color: var(--encre); font-weight: 600; }
.ex-o[aria-selected="true"]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--jaune); }
.ex-o:focus-visible { outline: none; box-shadow: inset var(--anneau); border-radius: var(--r-s); }
/* les technologies essayées : une tuile chacune */
.techs { display: grid; grid-template-columns: repeat(auto-fill, minmax(208px, 1fr)); gap: var(--e-25); margin: var(--e-6) 0 var(--e-25); }
.tech { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: var(--e-25) var(--e-3); padding: var(--e-35) var(--e-35) var(--e-3);
  border: 1px solid var(--filet); border-radius: var(--r-g); background: var(--surface); }
.tech-t { display: grid; gap: var(--e-05); min-width: 0; }
.tech b { font-size: var(--t-m); line-height: 1.3; color: var(--encre); font-weight: 600; overflow-wrap: anywhere; }
.tech-l { font-size: var(--t-xs); line-height: 1.4; color: var(--encre-3); }
.tech-ok { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: var(--e-1); font-size: var(--t-xs); font-weight: 600; color: var(--vert-fort); }
.tech-ok .ico { width: 12px; height: 12px; }
.doc-art p.aide { font-size: var(--t-s); color: var(--encre-3); }

/* ================================================================ les espaces
   La barre du haut choisit l'espace (Guides, API et CLI, Administrer, Confiance) ; le menu de gauche suit l'espace
   ouvert. Sur tablette et téléphone, les onglets passent en tête de la page, en une rangée qui défile seule. */
.doc-espaces { display: flex; align-self: stretch; margin-left: var(--e-3); }
.doc-espaces a, .doc-espaces-m a { position: relative; display: flex; align-items: center; padding: 0 var(--e-3); font-size: var(--t-m); font-weight: 500; color: var(--encre-3);
  text-decoration: none; white-space: nowrap; }
.doc-espaces a:hover, .doc-espaces-m a:hover { color: var(--encre); }
.doc-espaces a.on, .doc-espaces-m a.on { color: var(--encre); font-weight: 600; }
.doc-espaces a.on::after, .doc-espaces-m a.on::after { content: ""; position: absolute; left: var(--e-3); right: var(--e-3); bottom: -1px; height: 2px; border-radius: 2px; background: var(--jaune); }
.doc-espaces-m { display: none; gap: var(--e-05); margin: calc(-1 * var(--e-2)) 0 var(--e-45); border-bottom: 1px solid var(--filet); overflow-x: auto; scrollbar-width: none; }
.doc-espaces-m::-webkit-scrollbar { display: none; }
.doc-espaces-m a { height: 44px; flex: none; }
.doc-espaces-m a:first-child { padding-left: 0; } .doc-espaces-m a:first-child.on::after { left: 0; }
/* la recherche, dans la barre */
.doc-cherche { display: flex; align-items: center; gap: var(--e-2); flex: 0 1 240px; min-width: 0; height: var(--h-m); margin-left: auto; padding: 0 var(--e-15) 0 var(--e-3); border-radius: var(--r);
  border: 1px solid var(--filet); background: var(--surface); color: var(--encre-3); font: inherit; font-size: var(--t-m); cursor: pointer;
  transition: border-color var(--d-court); }
.doc-cherche:hover { border-color: var(--filet-fort); color: var(--encre-2); }
.doc-cherche .ico { width: 16px; height: 16px; flex: none; }
.doc-cherche-t { flex: 1; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.doc-cherche + .haut-d { margin-left: 0; }
.doc-recherche .palette-l .meth { flex: none; }
.doc-recherche .rd-fermer { cursor: pointer; font: inherit; font-size: var(--t-xs); }
.doc-recherche .ent-t { display: grid; gap: 1px; min-width: 0; }
.doc-recherche .ent-t b { font-weight: 600; color: var(--encre); overflow-wrap: anywhere; white-space: normal; }
.doc-recherche .ent-t small { font-size: var(--t-xs); color: var(--encre-3); overflow-wrap: anywhere; white-space: normal; }

/* le fil d'Ariane de l'espace */
.doc-ariane { display: flex; flex-wrap: wrap; align-items: center; gap: var(--e-1) var(--e-15); margin-bottom: var(--e-35); font-size: var(--t-s); color: var(--encre-3); }
.doc-ariane a { color: var(--encre-3); text-decoration: none; } .doc-ariane a:hover { color: var(--accent); }
.doc-ariane .ico { width: 13px; height: 13px; color: var(--encre-4); } .doc-ariane span { color: var(--encre-2); }

/* les méthodes HTTP : une pastille de couleur par méthode */
.meth { display: inline-flex; align-items: center; justify-content: center; flex: none; min-width: 64px; height: 20px; padding: 0 var(--e-15); border-radius: var(--r-s);
  font: 600 var(--t-xs)/1 var(--mono); letter-spacing: .02em; color: var(--encre-2); background: var(--survol); border: 1px solid var(--filet); }
.meth-get { color: var(--vert-fort); background: var(--vert-pale); border-color: var(--vert-filet); }
.meth-post { color: var(--jaune-texte); background: var(--jaune-pale); border-color: var(--jaune-filet); }
.meth-delete { color: var(--rouge); background: var(--rouge-pale); border-color: var(--rouge-filet); }

/* sous la ressource ouverte, dans le menu : ses opérations */
.doc-ops { display: grid; gap: 1px; margin: var(--e-05) 0 var(--e-15) var(--e-35); padding-left: var(--e-15); border-left: 1px solid var(--filet); }
.doc-nav .doc-ops a, .doc-som .doc-ops a { align-items: flex-start; min-height: 30px; padding: var(--e-1) var(--e-2); font-size: var(--t-s); line-height: 1.4; color: var(--encre-3); }
.doc-ops .meth { min-width: 64px; margin-top: 1px; }

/* une ressource de l'API : la page s'élargit, sans sommaire à droite ; chaque opération a ses exemples à côté d'elle */
.doc-c.doc-large { grid-template-columns: 264px minmax(0, 1fr); }
.doc-large .doc-art { max-width: 1280px; padding-left: var(--e-7); padding-right: var(--e-7); }
.doc-points { display: grid; gap: var(--e-1); margin: var(--e-5) 0 var(--e-2); padding: var(--e-35) var(--e-4); border: 1px solid var(--filet); border-radius: var(--r-g); background: var(--surface-2); }
.doc-points-t { font-size: var(--t-xs); font-weight: 600; color: var(--encre-3); margin-bottom: var(--e-1); }
.doc-points a { display: flex; align-items: center; gap: var(--e-25); min-height: var(--h-s); color: var(--encre-2); text-decoration: none; }
.doc-points a:hover code { color: var(--accent); }
.doc-points code, .op-chemin code, .doc-ref code, .doc-commande-l code { background: none; border: 0; padding: 0; font-size: var(--t-s); color: var(--encre); overflow-wrap: break-word; min-width: 0; }
.op { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--e-5); margin-top: var(--e-75); padding-top: var(--e-6); border-top: 1px solid var(--filet); }
.op h2 { margin-top: 0; }
.op h3 { font-size: var(--t-m); font-weight: 600; margin: var(--e-5) 0 var(--e-2); scroll-margin-top: calc(var(--haut) + var(--e-5)); }
.op-g { min-width: 0; }
.op-d { min-width: 0; display: grid; gap: var(--e-3); align-content: start; }
.op-d .ex { margin: 0; }
.op-chemin { display: flex; flex-wrap: wrap; align-items: center; gap: var(--e-25); }
.op-chemin code { font-size: var(--t-m); }
.doc-art p.op-portee { font-size: var(--t-m); color: var(--encre-3); }
.op-champs { margin: var(--e-2) 0 var(--e-4); border: 1px solid var(--filet); border-radius: var(--r-g); }
.op-champs summary { display: flex; align-items: center; min-height: var(--h-l); padding: 0 var(--e-4); cursor: pointer; font-size: var(--t-m); font-weight: 500; color: var(--encre-2); }
.op-champs summary:hover { color: var(--encre); }
.op-champs .doc-tab { margin: 0; border: 0; border-top: 1px solid var(--filet); border-radius: 0 0 var(--r-g) var(--r-g); }
@container (min-width: 840px) {
  .op { grid-template-columns: minmax(0, 1fr) minmax(320px, 42%); gap: var(--e-7); }
  .op-d { position: sticky; top: calc(var(--haut) + var(--e-4)); align-self: start; max-height: calc(100vh - var(--haut) - var(--e-7)); overflow-y: auto; }
}
/* les tableaux de champs : le nom ne se coupe pas, le type passe à la ligne ; un champ imbriqué est en retrait */
.doc-tab .doc-champs td.mono { white-space: normal; overflow-wrap: normal; min-width: 72px; }
.doc-champ { white-space: nowrap; }
.doc-champs tr.n1 .doc-champ { margin-left: var(--e-4); } .doc-champs tr.n2 .doc-champ { margin-left: var(--e-7); }
.doc-champs tr.n3 .doc-champ { margin-left: var(--e-8); } .doc-champs tr.n4 .doc-champ { margin-left: var(--e-9); }
.doc-champs .doc-requis, .doc-commande .doc-requis { margin-left: var(--e-15); }
.doc-statut { display: inline-flex; align-items: center; height: 22px; padding: 0 var(--e-15); border-radius: var(--r-s); font: 600 var(--t-xs)/1 var(--mono);
  color: var(--encre-2); background: var(--survol); }
.doc-statut.s2 { color: var(--ok); background: var(--ok-pale); } .doc-statut.s4 { color: var(--jaune-texte); background: var(--jaune-pale); }
.doc-statut.s5 { color: var(--ko); background: var(--ko-pale); }
.doc-erreurs { display: flex; flex-wrap: wrap; gap: var(--e-1) var(--e-2); margin-top: var(--e-1); }

/* les renvois : vers une opération de la référence, vers un écran de la console */
.doc-ref { display: inline-flex; align-items: center; gap: var(--e-2); max-width: 100%; padding: 3px var(--e-25) 3px 3px; border: 1px solid var(--filet); border-radius: var(--r);
  background: var(--surface); color: var(--encre); text-decoration: none; vertical-align: middle; }
.doc-ref:hover { border-color: var(--filet-fort); background: var(--surface-2); }
.doc-ref-t { font-size: var(--t-s); color: var(--encre-3); }
.doc-art p.doc-refs { display: flex; flex-wrap: wrap; gap: var(--e-2); }
.doc-console { display: inline-flex; align-items: center; gap: var(--e-15); min-height: 30px; padding: 0 var(--e-3); border: 1px solid var(--accent-filet); border-radius: var(--r);
  background: var(--accent-pale); color: var(--accent); font-size: var(--t-s); font-weight: 500; text-decoration: none; vertical-align: middle; }
.doc-console:hover { border-color: var(--accent); }
.doc-console .ico { width: 15px; height: 15px; }

/* l'accueil : quatre portes d'entrée */
.doc-orienter { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--e-3); margin: var(--e-65) 0 var(--e-2); }
.doc-art ul.doc-liens { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--e-1) var(--e-6); }
/* l'introduction de l'API : une carte par ressource */
.doc-ressources { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: var(--e-25); margin: var(--e-4) 0 var(--e-5); }
.doc-ressource { display: grid; gap: var(--e-15); align-content: start; padding: var(--e-35) var(--e-4); border: 1px solid var(--filet); border-radius: var(--r-g); background: var(--surface);
  color: inherit; text-decoration: none; }
.doc-ressource:hover { border-color: var(--filet-fort); background: var(--surface-2); }
.doc-ressource b { font-size: var(--t-l); color: var(--encre); }
.doc-ressource-m { display: flex; flex-wrap: wrap; gap: var(--e-1); }
.doc-ressource-m .meth { min-width: 0; }
.doc-ressource small { font-size: var(--t-xs); color: var(--encre-3); }
/* les erreurs : un type par section */
.doc-erreur { padding-top: var(--e-2); border-top: 1px solid var(--filet-2); }
.doc-erreur h3 { display: flex; flex-wrap: wrap; align-items: center; gap: var(--e-2) var(--e-25); scroll-margin-top: calc(var(--haut) + var(--e-5)); }
.doc-erreur h3 code { font-size: var(--t-m); }
.doc-erreur-t { font-size: var(--t-m); font-weight: 500; color: var(--encre-3); }
.doc-art p.doc-conduite { padding-left: var(--e-35); border-left: 3px solid var(--jaune); }
/* la CLI : une section par commande */
.doc-commande { padding-top: var(--e-35); margin-top: var(--e-35); border-top: 1px solid var(--filet-2); scroll-margin-top: calc(var(--haut) + var(--e-5)); }
.doc-art p.doc-commande-l { display: flex; flex-wrap: wrap; align-items: center; gap: var(--e-25); margin-bottom: var(--e-2); }
.doc-commande-l code { font-size: var(--t-m); font-weight: 600; }
.doc-art h3[id] { scroll-margin-top: calc(var(--haut) + var(--e-5)); }

@media (max-width: 1279px) {
  .doc-cherche .kbd { display: none; }
  .doc-c.doc-large { grid-template-columns: 248px minmax(0, 1fr); }
  .doc-large .doc-art { padding: var(--e-75) var(--e-6) var(--e-8); }
}
@media (max-width: 1023px) {
  .doc-espaces { display: none; }
  .doc-espaces-m { display: flex; }
  .doc-c.doc-large { grid-template-columns: minmax(0, 1fr); }
  .doc-large .doc-art { padding: var(--e-6) var(--e-4) var(--e-75); }
}
@media (max-width: 639px) {
  .doc-cherche { flex: 0 0 var(--h-l); width: var(--h-l); height: var(--h-l); padding: 0; justify-content: center; border: 0; background: none; color: var(--encre-2); }
  .doc-cherche-t { display: none; }
  .doc-cherche .ico { width: 18px; height: 18px; }
}
@container (max-width: 640px) {
  .doc-orienter, .doc-art ul.doc-liens { grid-template-columns: minmax(0, 1fr); }
}

/* ================================================================ audit 9.1 : le portail
   Le menu en rubriques repliables, la barre qui garde ses libellés, l'accueil sans menu, les blocs de code qui
   défilent sans couper, les objets de l'API, les tableaux de paramètres en cartes sur un téléphone, la recherche
   groupée, les règles du service. */

/* le menu : une rubrique repliable, seule celle de la page ouverte dépliée (constat 53) */
details.doc-g { display: block; }
details.doc-g > summary.doc-r { display: flex; align-items: center; justify-content: space-between; gap: var(--e-2); min-height: 28px; margin-bottom: var(--e-05);
  cursor: pointer; list-style: none; border-radius: var(--r); }
details.doc-g > summary.doc-r::-webkit-details-marker { display: none; }
details.doc-g > summary.doc-r:hover { color: var(--encre-2); }
details.doc-g > summary.doc-r:focus-visible { outline: none; box-shadow: var(--anneau); }
details.doc-g > summary .ico { width: 13px; height: 13px; flex: none; transition: transform var(--d-court); }
details.doc-g:not([open]) > summary .ico { transform: rotate(-90deg); }
.doc-nav { gap: var(--e-35); }
/* un dégradé en bas du menu dit qu'il continue plus bas */
.doc-nav::after { content: ""; position: sticky; bottom: calc(-1 * var(--e-65)); display: block; height: var(--e-7); margin: calc(-1 * var(--e-7)) calc(-1 * var(--e-35)) 0 calc(-1 * var(--e-5));
  background: linear-gradient(transparent, var(--surface)); pointer-events: none; }

/* la barre : « Console » à la place de « Découverte », libellés gardés dès 1024 px (constat 48) */
@media (min-width: 1024px) and (max-width: 1279px) {
  .doc-haut .lien-h-t { display: inline; }
  .doc-cherche { flex-basis: 160px; }
}

/* le fil d'Ariane nomme la page (constat 54) */
.doc-ariane span[aria-current] { color: var(--encre); font-weight: 500; }

/* l'accueil : sans menu de gauche, les pages par où commencer (constat 55) */
.doc-c.doc-sans-nav { grid-template-columns: minmax(0, 1fr) 232px; }
.doc-sans-nav .doc-art { justify-self: center; width: 100%; }
.doc-depart { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--e-4) var(--e-6); margin: var(--e-4) 0 var(--e-2); }
.doc-depart-e h3 { display: flex; align-items: center; gap: var(--e-2); margin: 0 0 var(--e-2); font-size: var(--t-l); }
.doc-depart-e h3 .ico { width: 17px; height: 17px; color: var(--encre-3); }
.doc-art .doc-depart ul.doc-liens { grid-template-columns: minmax(0, 1fr); margin: 0; }
@media (max-width: 1279px) { .doc-c.doc-sans-nav { grid-template-columns: minmax(0, 1fr); } }
@container (max-width: 640px) { .doc-depart { grid-template-columns: minmax(0, 1fr); } }

/* les cartes de l'accueil d'un espace portent les anciennes ancres : celle qu'on vise se signale */
.doc-taches .doc-carte { scroll-margin-top: calc(var(--haut) + var(--e-5)); }
.doc-taches .doc-carte:target { border-color: var(--jaune); background: var(--jaune-pale); }

/* les blocs de code : ils défilent sans couper une ligne, la barre de défilement se voit (constat 52) */
.ex-c { scrollbar-width: thin; scrollbar-color: var(--filet-fort) transparent; }
/* une ligne plus longue que le bloc se signale par une ombre au bord qu'elle dépasse, qui s'efface au bout du
   défilement : les deux caches suivent le texte (local), les deux ombres restent au bord du bloc (scroll) */
.ex-c {
  background:
    linear-gradient(to right, var(--surface-2) 30%, transparent) left center / var(--e-7) 100% no-repeat local,
    linear-gradient(to left, var(--surface-2) 30%, transparent) right center / var(--e-7) 100% no-repeat local,
    linear-gradient(to right, var(--filet-fort), transparent) left center / var(--e-2) 100% no-repeat scroll,
    linear-gradient(to left, var(--filet-fort), transparent) right center / var(--e-2) 100% no-repeat scroll;
  background-color: var(--surface-2);
}
.ex-onglets .ex-t { flex-wrap: wrap; }
.ex-os { flex-wrap: wrap; overflow: visible; }
.ex-onglets .ex-n { order: -1; flex-basis: 100%; padding: var(--e-15) var(--e-2) 0; }
/* sur téléphone, « Copier » monte à côté du titre : les onglets ont toute la ligne et ne passent pas à la suivante */
@media (max-width: 639px) {
  .ex-onglets:has(.ex-n) .ex-n { flex: 1 1 0; }
  .ex-onglets:has(.ex-n) .ex-t > .btn { order: -1; margin-top: var(--e-15); }
  .ex-onglets:has(.ex-n) .ex-os { flex-basis: 100%; }
}

/* la colonne de code d'une opération : chaque bloc garde sa hauteur, et une ombre en bas dit qu'il continue (constat 50) */
.op-d .ex { background: var(--surface-2); }
.op-d .ex-c { max-height: calc((100vh - var(--haut)) * .4);
  background: linear-gradient(transparent, var(--surface-2) 50%) bottom / 100% 56px no-repeat local,
              linear-gradient(transparent, var(--filet)) bottom / 100% 18px no-repeat scroll; }

/* les objets de l'API, décrits en tête de leur ressource (constat 49) */
.doc-objet-p { display: inline-flex; align-items: center; justify-content: center; min-width: 64px; height: 20px; padding: 0 var(--e-15); border-radius: var(--r-s);
  font-size: var(--t-xs); font-weight: 600; color: var(--info); background: var(--info-pale); border: 1px solid var(--info-filet); }
.doc-objet { border-top-color: var(--filet-fort); }
.doc-art p.doc-communes { margin-top: calc(-1 * var(--e-25)); }

/* les tableaux d'options : la seconde colonne commence au même endroit d'un tableau à l'autre (constat 60) */
.doc-tab .doc-options { table-layout: fixed; }
.doc-tab .doc-options th:first-child { width: 34%; }
.doc-tab .doc-options td.mono { white-space: normal; overflow-wrap: anywhere; }
.doc-tab .doc-noms th:first-child, .doc-tab .doc-console-seule th:first-child { width: 30%; }
.doc-tab .doc-console-seule th:nth-child(2) { width: 22%; }
.doc-groupes .doc-puces { margin-top: var(--e-1); }

/* l'empreinte de la CLI */
.doc-art p.doc-empreinte { display: grid; gap: var(--e-1); padding: var(--e-3) var(--e-4); border: 1px solid var(--filet); border-radius: var(--r-g); background: var(--surface-2); }
.doc-empreinte span { font-size: var(--t-s); color: var(--encre-3); }
.doc-empreinte code { background: none; border: 0; padding: 0; font-size: var(--t-s); overflow-wrap: anywhere; }

/* les règles du service */
.doc-regle { padding: var(--e-3) 0; border-top: 1px solid var(--filet-2); scroll-margin-top: calc(var(--haut) + var(--e-5)); }
.doc-art .doc-regle h3 { margin: 0 0 var(--e-1); font-size: var(--t-l); }
.doc-regle-v { display: flex; flex-wrap: wrap; gap: var(--e-1) var(--e-6); margin: 0 0 var(--e-2); }
.doc-regle-v div { display: flex; gap: var(--e-2); font-size: var(--t-m); }
.doc-regle-v dt { color: var(--encre-3); } .doc-regle-v dd { margin: 0; color: var(--encre); font-weight: 600; }
.doc-art p.doc-regle-e { font-size: var(--t-m); color: var(--encre-2); }

/* la recherche groupée : Pages, Opérations de l'API, Commandes de la CLI (constat 56) */
.doc-recherche .palette-l .s-t { display: flex; align-items: center; gap: var(--e-15); }
.doc-recherche .rd-x { display: block; font-size: var(--t-xs); color: var(--encre-3); white-space: normal; }
.doc-recherche .tuile-i.p { flex: none; }
@media (max-width: 639px) {
  .doc-recherche .palette-p, .doc-recherche .palette-l .kbd { display: none; }
}

/* sur un téléphone, un paramètre ou un champ par carte : nom, emplacement et type sur une ligne, description dessous (constat 68) */
@container (max-width: 600px) {
  .doc-tab .doc-champs, .doc-tab .doc-champs tbody { display: block; }
  .doc-tab .doc-champs thead { display: none; }
  .doc-tab .doc-champs tr { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--e-1) var(--e-25); padding: var(--e-25) var(--e-35); border-bottom: 1px solid var(--filet-2); }
  .doc-tab .doc-champs tr:last-child { border-bottom: 0; }
  .doc-tab .doc-champs td { display: block; height: auto; padding: 0; border: 0; min-width: 0; }
  .doc-tab .doc-champs td.doc-c-lieu, .doc-tab .doc-champs td.doc-c-type { font-size: var(--t-xs); color: var(--encre-3); }
  .doc-tab .doc-champs td.doc-c-dit { flex-basis: 100%; }
  .doc-champs tr.n1, .doc-champs tr.n2, .doc-champs tr.n3, .doc-champs tr.n4 { padding-left: var(--e-6); }
  .doc-tab .doc-champs tr .doc-champ { margin-left: 0; }
}

/* le journal des changements : les versions anciennes repliées (constat 57) */
.doc-anciennes { margin-top: var(--e-75); border-top: 1px solid var(--filet); }
.doc-anciennes > summary { display: flex; align-items: center; min-height: var(--h-l); cursor: pointer; font-size: var(--t-l); font-weight: 600; color: var(--encre); }

/* ================================================================ le carrefour (version 9.3.0)
   L'accueil par objectif (parcours, nouveautés, état du service), les tutoriels (leur fiche, leurs vérifications), la
   galerie d'exemples et ses filtres, les renvois au glossaire, les valeurs personnalisées des exemples. */

/* un mot du glossaire, relié à sa définition : il se lit comme le texte, souligné de points */
.doc-art a.doc-terme { color: inherit; text-decoration: underline dotted var(--filet-fort); text-underline-offset: 3px; }
.doc-art a.doc-terme:hover { color: var(--accent); text-decoration-color: var(--accent); }
.doc-art a.doc-terme code { color: inherit; }

/* les parcours guidés de l'accueil : quelques pages, dans l'ordre où les lire */
.doc-parcours { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--e-3); margin: var(--e-4) 0 var(--e-2); }
.parcours { padding: var(--e-4) var(--e-45) var(--e-2); border: 1px solid var(--filet); border-radius: var(--r-g); background: var(--surface); }
.doc-art .parcours h3 { margin: 0 0 var(--e-1); font-size: var(--t-l); }
.doc-art .parcours ol.doc-pas { gap: var(--e-25); margin: var(--e-3) 0; }
.doc-art .parcours ol.doc-pas li { font-size: var(--t-m); line-height: 1.5; }
@container (max-width: 640px) { .doc-parcours { grid-template-columns: minmax(0, 1fr); } }

/* les nouveautés : une version par ligne, sa phrase dessous */
.doc-art ul.doc-nouv { gap: 0; margin: var(--e-3) 0 var(--e-2); border: 1px solid var(--filet); border-radius: var(--r-g); }
.doc-art ul.doc-nouv li.doc-nouv-e { display: grid; gap: var(--e-05); padding: var(--e-3) var(--e-4); border-bottom: 1px solid var(--filet-2); }
.doc-art ul.doc-nouv li.doc-nouv-e:last-child { border-bottom: 0; }
.doc-art ul.doc-nouv li.doc-nouv-e::before, .doc-art ul.doc-etat-l li::before { content: none; }
.doc-nouv-e a { font-size: var(--t-l); text-decoration: none; } .doc-nouv-e a:hover b { color: var(--accent); }
.doc-nouv-e span { font-size: var(--t-m); line-height: 1.55; color: var(--encre-3); }

/* l'état du service : un point par composant, posé quand la mesure revient */
.doc-etat { margin: var(--e-3) 0 var(--e-2); padding: var(--e-35) var(--e-4); border: 1px solid var(--filet); border-radius: var(--r-g); background: var(--surface-2); }
.doc-etat.ok { border-color: var(--ok-filet); } .doc-etat.ko { border-color: var(--ko-filet); background: var(--ko-pale); }
.doc-art ul.doc-etat-l { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--e-3); margin: 0 0 var(--e-25); }
.doc-art ul.doc-etat-l li.doc-etat-c { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--e-05) var(--e-2); align-items: start; padding-left: 0; font-size: var(--t-s); line-height: 1.45; }
.doc-etat-c b { font-size: var(--t-m); color: var(--encre); } .doc-etat-c span:not(.doc-etat-p) { grid-column: 2; color: var(--encre-3); }
.doc-etat-p { grid-row: 1; margin-top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--filet-fort); }
.doc-etat-c.ok .doc-etat-p { background: var(--ok-point); } .doc-etat-c.ko .doc-etat-p { background: var(--ko-point); }
.doc-etat-c .doc-etat-v { font-weight: 600; } .doc-etat-c.ok .doc-etat-v { color: var(--ok); } .doc-etat-c.ko .doc-etat-v { color: var(--ko); }
.doc-art p.doc-etat-t { margin: 0; font-size: var(--t-s); color: var(--encre-3); }
@container (max-width: 640px) { .doc-art ul.doc-etat-l { grid-template-columns: minmax(0, 1fr); } }

/* les tutoriels : une carte chacun, sa technologie et sa durée */
.doc-cartes.tutos .tuto { display: grid; gap: var(--e-15); align-content: start; padding: var(--e-4) var(--e-45); border: 1px solid var(--filet); border-radius: var(--r-g); background: var(--surface);
  color: inherit; text-decoration: none; transition: border-color var(--d-court); }
.doc-cartes.tutos .tuto:hover { border-color: var(--filet-fort); }
.tuto b { font: 600 var(--t-l)/1.35 var(--titre); color: var(--encre); }
.tuto-o { font-size: var(--t-s); line-height: 1.5; color: var(--encre-3); }
.tuto-tete { display: flex; align-items: center; gap: var(--e-3); margin-bottom: var(--e-1); }
.tuto-m { display: grid; gap: var(--e-05); min-width: 0; font-size: var(--t-xs); color: var(--encre-3); }
.tuto-techno { font-size: var(--t-s); font-weight: 600; color: var(--encre); }
.tuto-duree { display: inline-flex; align-items: center; gap: var(--e-1); } .tuto-duree .ico { width: 13px; height: 13px; }

/* la fiche d'un tutoriel : son objectif, sa durée, sa technologie */
.tuto-fiche { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--e-3); margin: var(--e-5) 0 var(--e-2); }
.tuto-f { display: grid; gap: var(--e-1); align-content: start; padding: var(--e-3) var(--e-35); border: 1px solid var(--filet); border-radius: var(--r-g); background: var(--surface-2); }
.tuto-f dt { display: flex; align-items: center; gap: var(--e-15); font-size: var(--t-xs); font-weight: 600; color: var(--encre-3); }
.tuto-f dt .ico { width: 14px; height: 14px; }
.tuto-f dd { margin: 0; font-size: var(--t-m); line-height: 1.5; color: var(--encre); }
.tuto-f dd .techno { font-weight: 500; }
.doc-tete h1.doc-h1-techno { display: flex; align-items: center; gap: var(--e-35); }
@container (max-width: 720px) { .tuto-fiche { grid-template-columns: minmax(0, 1fr); } }
.doc-art .avis.tuto-verif { margin: var(--e-2) 0 var(--e-5); }

/* le choix de l'application dont les exemples prennent les valeurs (pour qui administre, console ouverte) */
.perso { display: grid; gap: var(--e-2); margin: var(--e-5) 0 var(--e-2); padding: var(--e-35) var(--e-4); border: 1px solid var(--jaune-filet); border-radius: var(--r-g); background: var(--miel); }
.perso .sel { justify-self: start; max-width: 100%; }
.doc-art p.perso-n { margin: 0; font-size: var(--t-s); line-height: 1.5; color: var(--encre-2); }
.perso-v.pose { padding: 0 var(--e-05); border-radius: 3px; background: var(--jaune-pale); box-shadow: inset 0 -1px var(--jaune-filet); }

/* la galerie : des filtres (la technologie avec son logo, le cas), les recettes en tuiles, puis les extraits rangés par page */
.gal-filtres { display: grid; gap: var(--e-3); margin: var(--e-5) 0 var(--e-2); padding: var(--e-35) var(--e-4); border: 1px solid var(--filet); border-radius: var(--r-g); background: var(--surface-2); }
.gal-f { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: start; gap: var(--e-2) var(--e-3); }
.gal-f-t { padding-top: 5px; font-size: var(--t-xs); font-weight: 600; color: var(--encre-3); }
.gal-f-l { display: flex; flex-wrap: wrap; gap: var(--e-15); min-width: 0; }
@container (max-width: 560px) { .gal-f { grid-template-columns: minmax(0, 1fr); } .gal-f-t { padding-top: 0; } }
.puce-f { height: var(--h-s); padding: 0 var(--e-3); border: 1px solid var(--filet-fort); border-radius: 14px; background: var(--surface); font: 500 var(--t-s) var(--sans); color: var(--encre-2);
  cursor: pointer; transition: border-color var(--d-court), background var(--d-court); }
.puce-f:hover { border-color: var(--encre-4); color: var(--encre); }
.puce-f[aria-pressed="true"] { border-color: var(--jaune); background: var(--jaune-pale); color: var(--encre); font-weight: 600; }
.puce-f:focus-visible { outline: none; box-shadow: var(--anneau); }
.gal-puce { display: inline-flex; align-items: center; padding: 0 var(--e-3) 0 var(--e-25); }
.doc-art p.gal-compte { margin: 0; font-size: var(--t-s); color: var(--encre-3); }
.gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(256px, 1fr)); gap: var(--e-3); margin: var(--e-4) 0 var(--e-2); }
.gal-c { display: flex; flex-direction: column; gap: var(--e-25); padding: var(--e-4); border: 1px solid var(--filet); border-radius: var(--r-g); background: var(--surface); min-width: 0; }
.gal-c[hidden] { display: none; }
.gal-tete { display: flex; align-items: center; gap: var(--e-3); min-width: 0; }
.gal-tete-t { display: grid; gap: var(--e-05); min-width: 0; }
.doc-art h3.gal-n { margin: 0; font-size: var(--t-l); line-height: 1.3; overflow-wrap: anywhere; scroll-margin-top: calc(var(--haut) + var(--e-5)); }
.gal-cas { font-size: var(--t-xs); color: var(--encre-3); }
.doc-art p.gal-d { margin: 0; font-size: var(--t-s); line-height: 1.5; color: var(--encre-2); }
.doc-art p.gal-m { display: flex; flex-wrap: wrap; align-items: center; gap: var(--e-1) var(--e-15); margin: 0; font-size: var(--t-xs); line-height: 1.4; color: var(--encre-3); }
.gal-m .ico { width: 13px; height: 13px; flex: none; }
.gal-m-s { display: inline-flex; align-items: center; gap: var(--e-15); margin-left: var(--e-2); }
.doc-art p.gal-l { display: flex; flex-wrap: wrap; align-items: center; gap: var(--e-2) var(--e-35); margin: auto 0 0; padding-top: var(--e-3); border-top: 1px solid var(--filet-2); }
.gal-l a { display: inline-flex; align-items: center; gap: var(--e-15); min-height: var(--h-s); font-size: var(--t-s); text-decoration: none; }
.gal-l a .ico { width: 14px; height: 14px; flex: none; }
.gal-l a:hover { text-decoration: underline; }
.gal-l a.gal-dl { height: var(--h-s); padding: 0 var(--e-3); color: var(--encre); font-weight: 500; }
.gal-l a.gal-dl:hover { text-decoration: none; }
.gal-pages { display: grid; gap: var(--e-2); margin: var(--e-4) 0 var(--e-2); }
.gal-page { border: 1px solid var(--filet); border-radius: var(--r-g); background: var(--surface); min-width: 0; }
.gal-page[hidden] { display: none; }
.gal-page-s { display: flex; align-items: center; gap: var(--e-3); min-height: 48px; padding: var(--e-2) var(--e-4); cursor: pointer; list-style: none; border-radius: var(--r-g); }
.gal-page-s::-webkit-details-marker { display: none; }
.gal-page-s:hover { background: var(--surface-2); }
.gal-page-s:focus-visible { outline: none; box-shadow: var(--anneau); }
.gal-page-t { flex: 1; min-width: 0; font-size: var(--t-m); font-weight: 600; color: var(--encre); overflow-wrap: anywhere; }
.gal-page-l { display: inline-flex; align-items: center; gap: var(--e-15); flex: none; }
.gal-page-n { flex: none; min-width: 72px; text-align: right; font-size: var(--t-xs); color: var(--encre-3); }
.gal-page-s .ico { width: 16px; height: 16px; flex: none; color: var(--encre-3); transition: transform var(--d-court); }
.gal-page[open] .gal-page-s .ico { transform: rotate(180deg); }
.gal-page[open] .gal-page-s { border-bottom: 1px solid var(--filet-2); border-radius: var(--r-g) var(--r-g) 0 0; }
.doc-art ul.gal-x { gap: 0; margin: 0; }
.doc-art ul.gal-x li.gal-x-e { display: grid; grid-template-columns: 136px minmax(0, 1fr) auto; align-items: center; gap: var(--e-1) var(--e-3); min-height: 44px;
  padding: var(--e-15) var(--e-4); border-bottom: 1px solid var(--filet-2); font-size: var(--t-s); line-height: 1.4; }
.doc-art ul.gal-x li.gal-x-e::before { content: none; }
.doc-art ul.gal-x li.gal-x-e[hidden] { display: none; }
.gal-x-e .techno { font-size: var(--t-xs); color: var(--encre-3); }
.doc-art a.gal-x-n { font: 500 var(--t-s) var(--mono); color: var(--encre); text-decoration: none; overflow-wrap: anywhere; }
.doc-art a.gal-x-n:hover { color: var(--accent); text-decoration: underline; }
.gal-x-dl { display: inline-flex; align-items: center; gap: var(--e-15); font-size: var(--t-s); text-decoration: none; }
.gal-x-dl .ico { width: 14px; height: 14px; flex: none; }
.gal-x-dl:hover { text-decoration: underline; }
.doc-art p.gal-page-v { margin: 0; padding: var(--e-25) var(--e-4); font-size: var(--t-s); }
.gal-page-v a { display: inline-flex; align-items: center; gap: var(--e-15); }
.gal-page-v .ico { width: 14px; height: 14px; flex: none; }
@container (max-width: 560px) {
  .doc-art ul.gal-x li.gal-x-e { grid-template-columns: minmax(0, 1fr) auto; }
  .gal-x-e .techno { grid-column: 1 / -1; }
  .gal-x-dl span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .gal-page-l { display: none; }
}
.doc-art p.gal-rien { padding: var(--e-35) var(--e-4); border: 1px dashed var(--filet-fort); border-radius: var(--r-g); font-size: var(--t-m); }

/* le logo d'une technologie (technos.logo_techno) : une image décorative, son nom écrit à côté ; sur une carte, posé
   sur une pastille blanche bordée d'un filet, pour que chaque marque garde sa couleur sur le même fond */
.techno { display: inline-flex; align-items: center; gap: var(--e-15); min-width: 0; vertical-align: middle; }
.techno-n { min-width: 0; overflow-wrap: anywhere; }
.techno-i { display: block; flex: none; object-fit: contain; }
.techno-i.t-s { width: 16px; height: 16px; } .techno-i.t-m { width: 20px; height: 20px; } .techno-i.t-l { width: 24px; height: 24px; } .techno-i.t-xl { width: 32px; height: 32px; }
.techno-tuile { display: inline-grid; place-items: center; flex: none; border: 1px solid var(--filet); border-radius: var(--r); background: var(--surface); }
.techno-tuile.t-s { width: 24px; height: 24px; border-radius: var(--r-s); } .techno-tuile.t-m { width: 32px; height: 32px; }
.techno-tuile.t-l { width: 44px; height: 44px; } .techno-tuile.t-xl { width: 56px; height: 56px; border-radius: var(--r-g); }
.ex-o-i { width: 16px; height: 16px; }
.doc-art ol.doc-pas li .techno-i { display: inline-block; margin-right: var(--e-15); vertical-align: -3px; }
.doc-art ul.doc-technos { display: flex; flex-wrap: wrap; gap: var(--e-15); margin: 0 0 var(--e-3); }
.doc-art ul.doc-technos li { padding-left: 0; font-size: var(--t-s); line-height: 1.3; }
.doc-art ul.doc-technos li::before { content: none; }
.doc-technos a { display: inline-flex; align-items: center; height: var(--h-s); padding: 0 var(--e-3) 0 var(--e-25); border: 1px solid var(--filet); border-radius: 14px;
  background: var(--surface-2); color: var(--encre-2); text-decoration: none; }
.doc-technos a:hover { border-color: var(--filet-fort); color: var(--encre); }

/* ================================================================ la refonte du plan (version 9.3.0)
   Le menu : toutes les rubriques de l'espace dépliées, leurs titres en capitales contrastées, deux niveaux au plus. Sur
   tablette et téléphone, un sélecteur d'espace à la place des onglets. L'accueil en quatre blocs, la page de choix du
   démarrage rapide, les listes empilées (champs, adresses, en cas de problème), « Voir aussi » et la date de mise à jour. */
.doc-nav { gap: var(--e-5); }
.doc-nav .doc-r, .doc-som .doc-r { padding: 0 var(--e-25) var(--e-1); font-size: var(--t-xs); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--encre-2); }
.doc-nav::after { display: none; }
.doc-haut .doc-cherche { margin-left: 0; margin-right: var(--e-2); }
.doc-carte:hover { box-shadow: none; }

/* le sélecteur d'espace, sur tablette et téléphone */
.doc-espace-m { display: none; position: relative; margin: calc(-1 * var(--e-2)) 0 var(--e-4); }
.doc-espace-m > summary { display: flex; align-items: center; gap: var(--e-2); min-height: 44px; padding: 0 var(--e-35); border: 1px solid var(--filet); border-radius: var(--r-g); background: var(--surface);
  cursor: pointer; list-style: none; font-size: var(--t-m); color: var(--encre-3); }
.doc-espace-m > summary::-webkit-details-marker { display: none; }
.doc-espace-m > summary b { color: var(--encre); font-weight: 600; }
.doc-espace-m > summary .ico { width: 15px; height: 15px; margin-left: auto; transition: transform var(--d-court); }
.doc-espace-m[open] > summary .ico { transform: rotate(180deg); }
.doc-espace-m nav { display: grid; gap: 1px; margin-top: var(--e-1); padding: var(--e-1); border: 1px solid var(--filet); border-radius: var(--r-g); background: var(--surface); }
.doc-espace-m nav a { display: grid; gap: 2px; padding: var(--e-2) var(--e-3); border-radius: var(--r); text-decoration: none; color: var(--encre-2); }
.doc-espace-m nav a b { font-size: var(--t-m); color: var(--encre); }
.doc-espace-m nav a small { font-size: var(--t-xs); line-height: 1.4; color: var(--encre-3); }
.doc-espace-m nav a:hover { background: var(--survol); }
.doc-espace-m nav a.on { background: var(--jaune-pale); }
@media (max-width: 1023px) { .doc-espace-m { display: block; } }

/* sous le titre : le temps de lecture et la date de mise à jour */
.doc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--e-1) var(--e-4); }

/* une liste empilée : un terme par ligne, sa description dessous ; jamais de colonne étroite */
.doc-art dl.doc-liste { display: grid; margin: var(--e-3) 0 var(--e-45); border: 1px solid var(--filet); border-radius: var(--r-g); background: var(--surface); }
.doc-liste > div { display: grid; gap: var(--e-05); padding: var(--e-25) var(--e-4); border-bottom: 1px solid var(--filet-2); scroll-margin-top: calc(var(--haut) + var(--e-5)); }
.doc-liste > div:last-child { border-bottom: 0; }
.doc-liste dt { display: flex; flex-wrap: wrap; align-items: center; gap: var(--e-1) var(--e-2); font-size: var(--t-m); font-weight: 600; color: var(--encre); }
.doc-liste dt code { font-weight: 600; }
.doc-liste dd { margin: 0; font-size: var(--t-m); line-height: 1.6; color: var(--encre-2); }

/* en cas de problème : ce que l'on voit, puis ce qu'il faut faire */
.doc-art dl.doc-problemes { display: grid; gap: var(--e-25); margin: var(--e-3) 0 var(--e-45); }
.doc-problemes > div { padding: var(--e-3) var(--e-4); border: 1px solid var(--filet); border-left: 3px solid var(--filet-fort); border-radius: var(--r-g); background: var(--surface); }
.doc-problemes dt { font-size: var(--t-m); font-weight: 600; color: var(--encre); }
.doc-problemes dd { margin: var(--e-05) 0 0; font-size: var(--t-m); line-height: 1.6; color: var(--encre-2); }

/* Voir aussi, en fin de page */
.doc-voir { margin-top: var(--e-75); padding-top: var(--e-5); border-top: 1px solid var(--filet); }
.doc-art h2.doc-voir-t { margin: 0 0 var(--e-25); font-size: var(--t-l); }
.doc-art .doc-voir ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--e-1) var(--e-6); }
@container (max-width: 640px) { .doc-art .doc-voir ul { grid-template-columns: minmax(0, 1fr); } }

/* le démarrage rapide : une tuile par technologie */
.doc-choix { display: grid; grid-template-columns: repeat(auto-fill, minmax(224px, 1fr)); gap: var(--e-25); margin: var(--e-5) 0 var(--e-4); }
.doc-choix-t { display: flex; align-items: center; gap: var(--e-3); padding: var(--e-3) var(--e-35); border: 1px solid var(--filet); border-radius: var(--r-g); background: var(--surface); color: inherit; text-decoration: none; min-width: 0; }
.doc-choix-t:hover { border-color: var(--vert); background: var(--surface-2); }
.doc-choix-n { display: grid; gap: 2px; min-width: 0; }
.doc-choix-n b { font-size: var(--t-l); color: var(--encre); }
.doc-choix-n span { font-size: var(--t-xs); line-height: 1.4; color: var(--encre-3); }
.doc-choix-d { display: inline-flex; align-items: center; gap: var(--e-1); } .doc-choix-d .ico { width: 12px; height: 12px; }

/* l'accueil : le premier geste à gauche, le premier appel à droite */
.doc-une { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--e-5); padding-bottom: var(--e-5); border-bottom: 1px solid var(--filet); }
.doc-une .doc-tete { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
.doc-art p.doc-acces { display: flex; flex-wrap: wrap; gap: var(--e-2); margin: var(--e-2) 0 0; }
.doc-acces .btn .ico { width: 16px; height: 16px; }
.doc-une-c .ex { margin: 0; }
.doc-une-pied { display: grid; gap: var(--e-25); margin-top: var(--e-7); }
.doc-une-pied .doc-etat { margin: 0; }
.doc-adresses { border: 1px solid var(--filet); border-radius: var(--r-g); background: var(--surface); }
.doc-adresses > summary { display: flex; align-items: center; min-height: var(--h-l); padding: 0 var(--e-4); cursor: pointer; font-size: var(--t-m); font-weight: 500; color: var(--encre-2); }
.doc-art .doc-adresses dl.doc-liste { margin: 0; border: 0; border-top: 1px solid var(--filet); border-radius: 0 0 var(--r-g) var(--r-g); }
.doc-adresses code { overflow-wrap: anywhere; }

/* l'introduction de l'API : les notions, une par page */
.doc-art ul.doc-notions a span[id] { scroll-margin-top: calc(var(--haut) + var(--e-5)); }
.doc-art ul.doc-notions a, .doc-art .doc-types a { scroll-margin-top: calc(var(--haut) + var(--e-5)); }

/* le choix de l'application des exemples : une information, pas une action */
.perso { border-color: var(--filet); background: var(--surface-2); }

/* la référence : un champ par entrée, son type en clair, son obligation ; les objets imbriqués se déplient */
.doc-champs-l { display: grid; margin: var(--e-25) 0 var(--e-4); border-top: 1px solid var(--filet); }
.doc-champ-e { padding: var(--e-25) 0; border-bottom: 1px solid var(--filet-2); scroll-margin-top: calc(var(--haut) + var(--e-5)); }
.doc-champ-l1 { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--e-05) var(--e-2); }
.doc-champ-l1 code.doc-champ-n { padding: 0; border: 0; background: none; font-size: var(--t-m); font-weight: 600; color: var(--encre); white-space: nowrap; }
.doc-champ-t { font-size: var(--t-s); color: var(--encre-3); }
.doc-champ-o { font-size: var(--t-xs); font-weight: 600; color: var(--vert-texte); }
.doc-champ-f { font-size: var(--t-xs); color: var(--encre-4); }
.doc-champ-lieu { font-size: var(--t-xs); color: var(--encre-3); }
.doc-art .doc-champ-d { margin-top: var(--e-05); font-size: var(--t-m); line-height: 1.6; color: var(--encre-2); }
.doc-art .doc-champ-d p { margin: 0; font-size: inherit; }
.doc-champ-b { margin-top: var(--e-05); font-size: var(--t-xs); color: var(--encre-3); }
.doc-champ-v { display: flex; flex-wrap: wrap; gap: var(--e-1); margin-top: var(--e-1); }
.doc-champ-v code { font-size: var(--t-xs); }
.doc-sous { margin-top: var(--e-2); }
.doc-sous > summary { display: inline-flex; align-items: center; gap: var(--e-1); min-height: var(--h-s); padding: 0 var(--e-25); border: 1px solid var(--filet); border-radius: 14px;
  cursor: pointer; list-style: none; font-size: var(--t-s); color: var(--encre-2); background: var(--surface); }
.doc-sous > summary::-webkit-details-marker { display: none; }
.doc-sous > summary:hover { border-color: var(--filet-fort); color: var(--encre); }
.doc-sous > summary:focus-visible { outline: none; box-shadow: var(--anneau); }
.doc-sous[open] > summary { margin-bottom: var(--e-1); }
.doc-sous > .doc-champs-l { margin: 0 0 0 var(--e-15); padding: 0 var(--e-35); border: 1px solid var(--filet); border-radius: var(--r-g); background: var(--surface-2); }
.doc-sous > .doc-champs-l > .doc-champ-e:last-child { border-bottom: 0; }.doc-points a { flex-wrap: wrap; }
.doc-points-r { font-size: var(--t-m); color: var(--encre); }
.doc-points a code { font-size: var(--t-xs); color: var(--encre-3); }
/* la recherche : des filtres par espace sous le champ, le mot cherché surligné (version 9.3.0) */
.doc-recherche .rd-f { display: flex; flex-wrap: wrap; gap: var(--e-1); padding: var(--e-2) var(--e-35); border-bottom: 1px solid var(--filet-2); }
.doc-recherche .rd-f .puce-f { height: 26px; padding: 0 var(--e-25); font-size: var(--t-xs); }
.doc-recherche mark { padding: 0 1px; border-radius: 2px; background: var(--jaune-pale); color: inherit; }
/* le journal des changements : une entrée par version, ce que vous devez faire, le détail replié (version 9.3.0) */
.doc-version { margin: var(--e-4) 0; padding: var(--e-4) var(--e-45); border: 1px solid var(--filet); border-radius: var(--r-g); background: var(--surface); scroll-margin-top: calc(var(--haut) + var(--e-5)); }
.doc-art .doc-version h3 { display: flex; flex-wrap: wrap; align-items: center; gap: var(--e-2) var(--e-3); margin: 0 0 var(--e-2); font-size: var(--t-xl); }
.doc-art .doc-version h3 .pastille-e { font-size: var(--t-xs); font-weight: 500; }
.doc-art p.doc-version-r { margin-bottom: var(--e-3); }
.doc-faire { padding: var(--e-25) var(--e-35); border-left: 3px solid var(--vert); border-radius: 0 var(--r) var(--r) 0; background: var(--vert-pale); font-size: var(--t-m); line-height: 1.6; color: var(--encre); }
.doc-faire b { color: var(--encre); }
.doc-version-d { margin-top: var(--e-3); }
.doc-version-d > summary { display: inline-flex; align-items: center; min-height: var(--h-s); cursor: pointer; font-size: var(--t-m); font-weight: 500; color: var(--accent); }
.doc-version-d[open] > summary { margin-bottom: var(--e-2); }.doc-outils { flex-wrap: wrap; }
.doc-meta .doc-lecture { white-space: nowrap; }

/* ================================================================ l'audit de produit 9.3
   La barre du haut à 1024 px, les commandes qui passent à la ligne, les tableaux en cartes sur un téléphone. */
/* entre 1024 et 1279 px, « Documentation » et les cinq espaces prennent la place : Nouveautés, Console et Mon compte en
   pictogrammes seuls, avec leur infobulle (constat 3) */
@media (min-width: 1024px) and (max-width: 1279px) {
  .doc-haut .lien-h-t { display: none; }
}
/* un bloc de commandes passe à la ligne au lieu de défiler : la commande se lit en entier, à toutes les tailles
   (constat 6) ; le bouton Copier copie toujours la commande telle quelle */
.ex-c.ex-cmd { white-space: pre-wrap; overflow-wrap: anywhere; }
/* sur un téléphone, un tableau de trois colonnes et plus devient une carte par ligne, le titre de chaque colonne au-dessus
   de sa valeur (constat 7 ; data-l posé par developpeurs._tableaux_en_cartes) */
@container (max-width: 640px) {
  .doc-tab .tab-cartes, .doc-tab .tab-cartes tbody, .doc-tab .tab-cartes tr { display: block; width: 100%; }
  .doc-tab .tab-cartes thead { display: none; }
  .doc-tab .tab-cartes tr { padding: var(--e-25) var(--e-35); border-bottom: 1px solid var(--filet-2); }
  .doc-tab .tab-cartes tr:last-child { border-bottom: 0; }
  .doc-tab .tab-cartes td, .doc-tab .tab-cartes tbody th { display: block; width: auto; max-width: none; padding: var(--e-05) 0; border: 0; white-space: normal; overflow-wrap: anywhere; }
  .doc-tab .tab-cartes [data-l]::before { content: attr(data-l); display: block; font-size: var(--t-xs); font-weight: 600; color: var(--encre-3); }
  .doc-tab .tab-cartes td:empty { display: none; }
}

/* ---------------------------------------------------------------- css/adaptations.css */
/* Trousseau, adaptations.css : les seules adaptations qui valent pour toute la page, quel que soit le composant : le
   mouvement réduit, l'impression, et le code sans ligatures. Les adaptations d'un composant à sa place (requêtes de conteneur) ou de la coque
   aux trois seuils nommés (jetons.css) s'écrivent à côté de leur définition. */

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media print { .haut, .coque-g, .commandes, .onglets, .pages nav { display: none !important; } .corps-p { padding: 0; } body { background: #fff; } }

/* le code se lit signe à signe : aucune ligature (« -- » ne doit jamais s'afficher comme un tiret long), après les
   raccourcis « font: » des blocs de code, qui remettent les variantes à leur valeur ordinaire */
code, pre, .mono, .ex-c { font-variant-ligatures: none; font-feature-settings: "liga" 0, "calt" 0; }
