/* LE SOCLE ERGONOMIQUE COMMUN.
   Entièrement porté par `body.ux` : un écran qui ne porte pas cette classe
   est rendu exactement comme avant. Chaque écran est converti et vérifié un
   par un ; `?ux=0` rend l'écran d'origine partout où le paramètre est lu.

   ---------------------------------------------------------------------------
   POURQUOI UN SOCLE, ET PAS UNE FEUILLE PAR ÉCRAN

   Les mêmes défauts reviennent partout, parce que les écrans partagent leurs
   composants : `.lg-panel` est employé 252 fois dans les vues, `.lg-input`
   236, `.lg-btn` 223, `.lg-tag` 160, `.lg-line` 110. Corriger l'affordance
   écran par écran serait le meilleur moyen de la laisser diverger — c'est
   exactement ce qui est arrivé aux trois copies de la règle des frais
   d'inscription.

   Ce fichier décide donc une fois :
     . ce qui est cliquable le dit, et le dit pareil partout ;
     . toute cible fait au moins 24 × 24 px (WCAG 2.2 AA, Target Size) ;
     . le texte courant tient 4,5:1, y compris les gris de service ;
     . la couleur ne porte jamais seule une information ;
     . une échelle typographique fermée — 11 / 12 / 14 / 16 / 20 ;
     . tout ce qui est cliquable a un état de survol, et un focus clavier
       dessiné ;
     . le mouvement est rare, court, et a un but nommé.

   Méthode : mesure dans le navigateur avant et après, sur chaque écran.
   Les chiffres de l'accueil, premier converti : 51 liens muets sur 99 → 0 ;
   112 cibles sous 24 px sur 243 → 0 ; 1 signature d'en-tête pour 8 panneaux
   → 5 ; page de 2 397 px → 2 004 ; 12 fiches au premier écran → 15.
*/

/* ===========================================================================
   1. JETONS
   Le bleu d'accent historique (#4B9CC9) ne vaut que 3,04:1 sur blanc : il
   reste le filet et le repère, jamais le texte.
   =========================================================================== */
body.ux {
  /* UNSLOP — PASSE 5 : CINQ PAS, ET PAS ONZE TAILLES.

     Relevé dans `legacy.css` : 9,5 · 10 · 10,5 · 11 · 11,5 · 12 · 12,5 ·
     13 · 15 · 19 · 20. Onze tailles, dont quatre séparées d'un demi-pixel
     — un demi-pixel ne se voit pas, il se subit : deux libellés voisins
     n'avaient pas la même taille sans que l'on puisse dire lequel était
     le plus grand.

     Cinq pas, et le corps du texte monte de 11 à 13 px. MESURÉ AVANT DE
     DÉCIDER, à 1 600 px : la liste des clients garde ses lignes de 29 px
     et sa table de 1 551 px, l'accueil et les listes cours et heures ne
     bougent pas d'un pixel, la liste des salaires gagne 7 px sur 14 422.
     Dix-huit pour cent de corps de texte en plus pour rien — parce que la
     ligne était déjà haute de 29 px pour une cible de 24. */
  --t-xs: 11px;   /* méta, compteurs, légendes */
  --t-sm: 12px;   /* texte secondaire, en-têtes de colonne */
  --t-md: 13px;   /* le corps : cellules, lignes de données */
  --t-lg: 15px;   /* mise en avant */
  --t-xl: 20px;   /* titre d'écran */

  /* UNSLOP — PASSE 2 : UNE SEULE RAMPE, TEINTÉE VERS L'ENCRE.

     La direction dit « le secrétariat et son registre : papier réglé,
     encre ». Les neutres gris purs d'avant ne disaient rien ; ceux-ci
     portent une pointe de bleu d'encre, assez pour qu'un écran ait un
     ton, trop peu pour qu'une surface se lise comme une couleur.

     Trois rôles de texte, pas dix. Chaque valeur est mesurée contre LES
     DEUX fonds clairs de l'application, le blanc des tableaux et la
     surface des panneaux, et c'est le pire des deux qui compte.

     Le muté vient de #646C7E et non du #6B7487 de la table d'unslop :
     celui-là tombe à 4,34:1 sur la surface, sous le minimum. Un jeton se
     règle sur le fond réel. */
  --c-texte: #111827;       /* 17,74:1 sur blanc, 16,39 sur --c-surface */
  --c-second: #4B5565;      /*  7,54:1 sur blanc,  6,96 sur --c-surface */
  --c-faible: #646C7E;      /*  5,27:1 sur blanc,  4,86 sur --c-surface :
                               le plus clair autorisé sous du texte. */
  --c-separateur: #96A0AE;  /*  2,65:1 — une ponctuation, pas du texte :
                               elle sépare sans se lire. */
  --c-lien: #15607F;        /*  6,97:1 — L'ACCENT, ET LE SEUL. Il vient du
                               monde de la direction : un bleu d'encre, pas
                               un bleu d'écran. Il marque le lien, l'action
                               principale et la sélection, nulle part
                               ailleurs. */
  --c-lien-survol: #0B3E53;
  /* LES FILETS SORTENT DE L'ENCRE, ILS NE SONT PLUS DES GRIS À PART.
     Posés en opacité du texte, ils suivent la rampe au lieu de dériver à
     côté d'elle — et ils tiennent sur n'importe quelle surface claire. */
  --c-filet: rgba(17, 24, 39, .09);
  --c-filet-fort: rgba(17, 24, 39, .18);
  /* Les surfaces suivent la meme encre. Tres peu saturees : une surface
     ne doit jamais se lire comme une couleur, c est le contenu qui porte
     la couleur. */
  --c-surface: #F4F6FA;     /* panneaux, en-tetes de tableau */
  --c-survol: #EAEFF6;      /* la ligne sous le curseur */

  /* Les couleurs de famille, reprises de `.rg-badge` : une famille garde sa
     couleur d'un écran à l'autre. */
  --c-fam-client: #A81A1A;
  --c-fam-prof: #12707C;
  --c-fam-clp: #0D8104;
  --c-fam-pp: #9D5590;
  --c-fam-eleve: #4B6BA8;

  --e-1: 2px; --e-2: 4px; --e-3: 8px; --e-4: 12px; --e-5: 16px; --e-6: 24px;
  --cible: 24px;

  /* Les `ease-out` natifs sont trop mous pour de l'interface. */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);

  font-size: var(--t-sm);
  color: var(--c-texte);
}

/* ===========================================================================
   2. L'AFFORDANCE — LA RÈGLE SANS EXCEPTION
   Le défaut le plus massif de l'application : un lien ne se distinguait pas
   d'un mot. Même couleur que le texte courant, aucun soulignement.
   =========================================================================== */
body.ux a[href] {
  color: var(--c-lien);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 120ms var(--ease-out), border-color 120ms var(--ease-out);
}
body.ux a[href]:hover { color: var(--c-lien-survol); border-bottom-color: currentColor; }

/* LA CIBLE DE 24 PX : le creux s'étend, la marque ne grossit pas. */
body.ux a[href],
body.ux button,
body.ux select,
body.ux input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]) { min-height: var(--cible); }
body.ux a[href] { display: inline-flex; align-items: center; min-width: var(--cible); }
body.ux .lg-line a[href] { padding-block: var(--e-2); }
body.ux .lg-line .v a[href] { justify-content: flex-end; }
/* La case à cocher garde ses 16 px natifs — l'agrandir la déforme — mais son
   étiquette porte la cible, et cliquer l'étiquette coche la case. */
body.ux label:has(input[type="checkbox"]),
body.ux label:has(input[type="radio"]) {
  display: inline-flex; align-items: center; gap: var(--e-2); min-height: var(--cible);
}
/* Les contrôles héritaient du 13,33 px du navigateur : la seule taille des
   écrans que personne n'avait choisie. */
body.ux select, body.ux input, body.ux button, body.ux textarea {
  font-family: inherit; font-size: var(--t-xs);
}

/* Le focus clavier EXISTE : il n'était dessiné nulle part. */
body.ux a[href]:focus-visible,
body.ux button:focus-visible,
body.ux select:focus-visible,
body.ux input:focus-visible,
body.ux textarea:focus-visible {
  outline: 2px solid var(--c-lien); outline-offset: 2px; border-radius: 2px;
}
/* Les surfaces dessinées par le navigateur portent quand même la palette. */
body.ux ::selection { background: #CBE3EF; color: #0B3E53; }
body.ux * { scrollbar-width: thin; scrollbar-color: #C7CDD3 transparent; }

/* Ce qui N'EST PAS cliquable ne doit pas en avoir l'air. */
body.ux .lg-ident .mail:not(a) { color: var(--c-second); }

/* LA BARRE D'ONGLETS : LE CREUX N'ÉTAIT PAS LÀ OÙ EST LE DESSIN.
   `#ulMenu div.menuClass a { display: inline }` vient de la feuille de
   l'ancien admin (`legacy/profs/chart3.css`), et son sélecteur d'identifiant
   l'emporte sur les nôtres. Résultat mesuré : l'onglet DESSINÉ fait 83 × 30 px
   — c'est le `div` qui porte le creux de 4/20/12 px — mais la zone CLIQUABLE
   est le seul texte, 43 × 14 px. On vise une barre et on tombe entre deux
   onglets.
   PREMIÈRE TENTATIVE, ÉCARTÉE : déplacer le creux du `div` vers le lien en
   `inline-block`. Mesuré — la barre passait de 27 à 61 px de haut et les
   onglets descendaient de 8 px, parce qu'un creux sur une boîte `inline` ne
   compte pas dans la ligne alors qu'il compte sur une `inline-block`.

   DEUXIÈME TENTATIVE, CORRIGÉE : un recouvrement calé sur la boîte dessinée,
   `inset: -4px -20px -12px`. Il marchait — cible de 83 × 30 — jusqu'à ce que
   la barre passe sur DEUX RANGÉES, ce qu'elle fait sur la fiche client : les
   rangées sont collées (y = 6 puis 20), le recouvrement de la première
   couvrait la seconde et lui volait ses clics. Mesuré : « Dossier » gagnait
   bien 32 px de haut, « Accueil » et « Agenda » restaient à 14.

   CE QUI EST FAIT, décision d'Anouck du 18 novembre : LA BARRE RESPIRE.
   `line-height: 28px` donne à chaque rangée la hauteur qui lui manquait —
   c'est le seul moyen, le creux d'une boîte `inline` ne comptant pas dans la
   ligne. Le recouvrement peut alors s'étendre dans les deux sens sans mordre
   sur la rangée voisine : ±6 px sur 28 laissent 2 px de marge, et la cible
   passe de 43 × 14 à 83 × 26.

   C'EST UN ÉCART DE RENDU ASSUMÉ, le premier de ce chantier : la barre
   grandit. Le portage la reproduisait fidèlement, et elle est sur tous les
   écrans — c'est pour cela que la décision revenait à l'utilisateur. */
body.ux #ulMenu { line-height: 28px; }
body.ux #ulMenu div.menuClass a { position: relative; }
body.ux #ulMenu div.menuClass a::after {
  content: ''; position: absolute; inset: -6px -20px;
}
/* Les boutons d'icône (appeler, écrire, SMS) tombaient d'une fraction de
   pixel sous le seuil : la largeur compte autant que la hauteur. */
/* Un bouton d'icone est une COMMANDE : il prend le gris de service, pas le
   noir du texte, et il repond au survol — sans quoi rien ne dit qu'il est
   vivant. L'icône suit, puisqu'elle est peinte en `currentColor`. */
body.ux .btn-icon {
  min-width: var(--cible); min-height: var(--cible);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--c-second); border-radius: 4px;
  transition: color 120ms var(--ease-out), background 120ms var(--ease-out),
              transform 160ms var(--ease-out);
}
body.ux .btn-icon:hover { color: var(--c-lien-survol); background: var(--c-survol); }
body.ux .btn-icon:active { transform: scale(.94); }

/* ===========================================================================
   3. LES BOUTONS — UNE GÉOMÉTRIE, TROIS POIDS
   =========================================================================== */
body.ux .lg-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--cible); padding: 0 var(--e-4);
  font-size: var(--t-xs); font-weight: 500; line-height: 1;
  color: var(--c-second); background: #fff;
  border: 1px solid var(--c-filet); border-radius: 4px;
  transition: background 120ms var(--ease-out), border-color 120ms var(--ease-out),
              color 120ms var(--ease-out), transform 160ms var(--ease-out);
}
body.ux .lg-btn:hover { background: var(--c-survol); border-color: var(--c-filet-fort); color: var(--c-lien-survol); }
body.ux .lg-btn.primary {
  background: var(--c-lien); border-color: var(--c-lien); color: #fff; font-weight: 600;
}
body.ux .lg-btn.primary:hover { background: var(--c-lien-survol); border-color: var(--c-lien-survol); color: #fff; }
/* Le jaune vif était la couleur la plus voyante des écrans, pour des actions
   qui n'étaient pas les plus importantes. */
body.ux .lg-btn.yellow:not(.off) {
  background: var(--c-lien); border-color: var(--c-lien); color: #fff; font-weight: 600;
}
body.ux .lg-btn.yellow:not(.off):hover { background: var(--c-lien-survol); color: #fff; }
/* Un bouton qu'on ne peut pas presser n'est pas un bouton : c'est une
   mention, et elle le dit avec un MOT, pas seulement avec une teinte. */
body.ux .lg-btn.off, body.ux .lg-btn.yellow.off {
  background: var(--c-surface); border: 1px dashed var(--c-filet);
  color: var(--c-faible); font-weight: 400; cursor: not-allowed;
}
body.ux .lg-btn.off::after {
  content: 'à migrer'; margin-left: var(--e-3);
  font-size: 9.5px; text-transform: uppercase; letter-spacing: .05em;
  color: var(--c-faible); border: 1px solid var(--c-filet); border-radius: 2px; padding: 0 4px;
}
body.ux .lg-btn.off:hover, body.ux .lg-btn.yellow.off:hover {
  background: var(--c-surface); color: var(--c-faible); border-color: var(--c-filet);
}

/* ===========================================================================
   4. LES CHAMPS
   =========================================================================== */
body.ux .lg-input, body.ux .lg-select {
  min-height: var(--cible); font-size: var(--t-xs); color: var(--c-texte);
  border: 1px solid var(--c-filet-fort); border-radius: 4px;
  padding: var(--e-1) var(--e-3); background: #fff;
  transition: border-color 120ms var(--ease-out), box-shadow 120ms var(--ease-out);
}
body.ux .lg-input:hover, body.ux .lg-select:hover { border-color: var(--c-lien); }
body.ux .lg-input:focus, body.ux .lg-select:focus {
  outline: none; border-color: var(--c-lien); box-shadow: 0 0 0 3px rgba(21, 96, 127, .15);
}
body.ux .lg-input::placeholder { color: var(--c-faible); }
body.ux .field > label { font-size: var(--t-xs); color: var(--c-second); font-weight: 500; }
/* Un champ en lecture seule n'est pas un champ désactivé : il se lit. */
body.ux .lg-input[readonly] { background: var(--c-surface); color: var(--c-second); }
body.ux .lg-input:disabled, body.ux .lg-select:disabled {
  background: var(--c-surface); color: var(--c-faible); cursor: not-allowed;
}

/* ===========================================================================
   5. LES PANNEAUX ET LES BLOCS
   Les en-têtes de panneau étaient tous identiques, d'un bloc à l'autre comme
   d'un écran à l'autre : rien ne hiérarchisait quoi que ce soit.
   =========================================================================== */
body.ux .lg-panel {
  border: 1px solid var(--c-filet); border-radius: 5px;
  margin-bottom: var(--e-5); background: #fff;
}
body.ux .lg-panel > .h {
  background: var(--c-surface); border-bottom: 1px solid var(--c-filet);
  padding: var(--e-3) var(--e-4); min-height: var(--cible);
  font-size: var(--t-xs); font-weight: 600; letter-spacing: .03em; color: var(--c-second);
  border-radius: 4px 4px 0 0;
}
body.ux .lg-panel > .h .clock { color: var(--c-faible); font-variant-numeric: tabular-nums; }
body.ux .lg-card { border: 1px solid var(--c-filet); border-radius: 5px; padding: var(--e-4); }
body.ux .lg-card > .kicker:first-child {
  margin: calc(var(--e-4) * -1) calc(var(--e-4) * -1) var(--e-4);
  padding: var(--e-3) var(--e-4);
  background: var(--c-surface); border-bottom: 1px solid var(--c-filet);
  border-radius: 4px 4px 0 0;
  font-size: var(--t-xs); font-weight: 600; color: var(--c-second); letter-spacing: .03em;
}
body.ux .lg-note { color: var(--c-faible); font-size: var(--t-xs); padding: var(--e-3) var(--e-4); }
body.ux .kicker { color: var(--c-faible); }

/* ===========================================================================
   6. LES LIGNES DE DONNÉES
   Une fiche est faite de paires libellé / valeur. La valeur doit se lire
   AVANT le libellé : c'est elle qu'on vient chercher.
   =========================================================================== */
body.ux .lg-line {
  padding: var(--e-2) var(--e-4); min-height: var(--cible);
  display: flex; align-items: center; gap: var(--e-3);
  border-bottom: 1px solid #F0F2F4; color: var(--c-second); font-size: var(--t-xs);
}
body.ux .lg-line:last-child { border-bottom: 0; }
body.ux .lg-line .v {
  margin-left: auto; color: var(--c-texte); font-size: var(--t-xs); font-weight: 500;
  font-variant-numeric: tabular-nums; text-align: right;
}
body.ux .lg-line .strong { font-weight: 500; font-size: var(--t-md); color: var(--c-texte); }
body.ux .lg-col > .t {
  font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--c-faible);
}
/* La pastille d'état ne porte jamais seule l'information : elle double un
   mot, elle ne le remplace pas. */
body.ux .lg-dot { box-shadow: 0 0 0 2px #fff; }

/* ===========================================================================
   7. LE BANDEAU D'IDENTITÉ DES FICHES
   C'est la première chose lue d'une fiche, et elle avait la taille d'un
   titre de liste.
   =========================================================================== */
body.ux .lg-ident { padding: var(--e-4) var(--e-5) var(--e-3); gap: var(--e-4); }
body.ux .lg-ident h1 { font-size: var(--t-xl); font-weight: 500; letter-spacing: 0; color: var(--c-texte); }
body.ux .lg-ident .sub { color: var(--c-second); font-size: var(--t-xs); }
body.ux .lg-strip { border-color: var(--c-filet); }

/* ===========================================================================
   8. LES LISTES
   Titre, barre d'outils, tableau dense, pagination.
   =========================================================================== */
body.ux .lg-head { margin-bottom: var(--e-4); gap: var(--e-4); }
body.ux .lg-head h1 { font-size: var(--t-xl); font-weight: 500; letter-spacing: 0; }
body.ux .lg-head .count { color: var(--c-second); font-size: var(--t-xs); font-variant-numeric: tabular-nums; }
body.ux .lg-toolbar {
  background: var(--c-surface); border-bottom: 1px solid var(--c-filet);
  padding: var(--e-3) var(--e-4); gap: var(--e-3); border-radius: 4px 4px 0 0;
}
body.ux .lg-toolbar .hint { color: var(--c-faible); font-size: var(--t-xs); }
body.ux .lg-pager {
  border-top: 1px solid var(--c-filet); background: var(--c-surface);
  padding: var(--e-3) var(--e-4); font-size: var(--t-xs); color: var(--c-second);
  border-radius: 0 0 4px 4px; gap: var(--e-4);
}

/* PAS D'EN-TÊTE COLLANT, ET C'EST UN CONSTAT, PAS UN OUBLI.
   Essayé : sur une liste de trente lignes — cent vingt-six sur la
   facturation du mois — garder le nom des colonnes à l'écran serait utile.
   Mais le tableau vit dans `.lg-panel > .b`, qui porte `overflow: auto` :
   c'est donc CE bloc qui devient le conteneur de défilement, et l'en-tête s'y
   colle au lieu de se coller à la fenêtre. Mesuré, il partait quand même à
   -33 px. Le faire marcher suppose de donner une hauteur fixe au corps du
   panneau et de le rendre défilant lui-même — une autre silhouette, et une
   autre décision. */
body.ux table.lg { font-size: var(--t-xs); }
body.ux table.lg th {
  background: var(--c-surface); border: 0; border-bottom: 1px solid var(--c-filet);
  color: var(--c-second); font-size: 10px; letter-spacing: .05em;
  padding: var(--e-3) var(--e-3);
}
body.ux table.lg td { border: 0; border-bottom: 1px solid #F1F3F5; padding: var(--e-2) var(--e-3); }

/* DANS UN TABLEAU DENSE, LA CIBLE SE PAIE EN DÉFILEMENT, et il faut la payer
   au juste prix. Mesuré sur la liste des clients : porter les liens à 24 px
   faisait passer la ligne de 18 à 33 px et la page de 773 à 1 261 — le creux
   de la CELLULE s'ajoutait à celui du LIEN, pour un résultat deux fois plus
   haut que nécessaire. Là où la cellule ne porte qu'un lien, c'est le lien
   qui fournit la hauteur et la cellule n'en remet pas : la ligne retombe à
   24 px, soit six de plus que l'originale au lieu de quinze.
   (Posé ICI et non plus haut : à spécificité égale, c'est la dernière règle
   écrite qui gagne, et `table.lg td` suit.) */
body.ux td:has(> a[href]) { padding-block: 0; }
/* LA LIGNE SURVOLÉE. Sur un tableau de quarante lignes, c'est le seul
   repère qui dit où l'œil en est. */
body.ux table.lg tbody tr { transition: background 120ms var(--ease-out); }
body.ux table.lg tbody tr:hover td { background: var(--c-survol); }

/* ===========================================================================
   9. LE MOUVEMENT — RARE, COURT, ET AVEC UN BUT
   Pas d'entrée en cascade, pas de révélation au défilement : ces écrans sont
   ouverts des dizaines de fois par jour. Ce qui reste a un but nommé :
     . la pression d'un bouton — retour : l'interface a entendu   (160 ms)
     . le survol d'une ligne   — repère : où l'œil en est         (120 ms)
   =========================================================================== */
body.ux .lg-btn:not(.off):active { transform: scale(.97); }

/* Mouvement réduit : plus doux et moins nombreux, pas zéro. Ce qui aide à
   comprendre reste ; ce qui déplace disparaît. */
@media (prefers-reduced-motion: reduce) {
  body.ux *, body.ux *::before, body.ux *::after {
    animation-duration: 1ms !important;
    transition-duration: 80ms !important;
  }
  body.ux .lg-btn:active { transform: none; }
}

/* ===========================================================================
   2. LES FILTRES — UNE LIGNE, UNE HAUTEUR, PARTOUT LA MÊME

   Les trois panneaux portaient deux, trois et une liste déroulante, empilées :
   trois barres de hauteurs différentes, donc trois colonnes voisines dont le
   contenu ne commençait pas à la même ligne. Et des listes nues, sans
   étiquette, qui ne disaient ni ce qu'elles filtraient ni si elles filtraient.

   La barre fait désormais 38 px dans tous les cas — c'est une hauteur FIXE,
   pas un minimum : c'est elle qui garantit l'alignement entre colonnes, quel
   que soit le nombre de filtres. Le choix est passé dans un panneau qui
   s'ouvre par-dessus.
   =========================================================================== */
body.ux .lg-filtres {
  display: flex; align-items: center; gap: var(--e-3);
  height: 38px; box-sizing: border-box; position: relative;
  padding: 0 var(--e-4);
  background: var(--c-surface); border-bottom: 1px solid var(--c-filet);
  /* `space-between` : la commande à gauche, le compte à droite, et si un
     panneau porte un jour plusieurs commandes elles se répartissent d'elles-
     mêmes sur la ligne. */
  justify-content: space-between;
  overflow: visible;
}

/* La commande. Une icône et un mot : l'icône seule obligerait à l'apprendre. */
body.ux .f-decl {
  display: inline-flex; align-items: center; gap: var(--e-2);
  min-height: var(--cible); padding: 0 var(--e-3);
  background: #fff; border: 1px solid var(--c-filet); border-radius: 4px;
  color: var(--c-second); font-size: var(--t-xs); font-weight: 500; cursor: pointer;
  flex: 0 0 auto;
  transition: background 120ms var(--ease-out), border-color 120ms var(--ease-out),
              color 120ms var(--ease-out), transform 160ms var(--ease-out);
}
body.ux .f-decl:hover { background: var(--c-survol); border-color: var(--c-lien); color: var(--c-lien-survol); }
body.ux .f-decl:active { transform: scale(.97); }
body.ux .f-decl[aria-expanded="true"] {
  background: #E7F1F6; border-color: var(--c-lien); color: var(--c-lien-survol);
}
body.ux .f-nb {
  min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px;
  background: var(--c-lien); color: #fff; font-size: var(--t-xs); font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center;
  font-variant-numeric: tabular-nums;
}

/* LES FILTRES ACTIFS, EN CLAIR. Ils occupent le milieu de la ligne et se
   défont d'un clic ; un portrait remplace le nom quand il y en a un. */
body.ux .f-pastille {
  display: inline-flex; align-items: center; gap: var(--e-2);
  height: var(--cible); padding: 0 var(--e-2) 0 var(--e-3);
  background: #E7F1F6; border: 1px solid #BBD7E5; border-radius: 12px;
  color: var(--c-lien-survol); font-size: var(--t-xs); font-weight: 600;
  white-space: nowrap; max-width: 150px; flex: 0 1 auto; overflow: hidden;
}
body.ux .f-portrait { border-radius: 50%; object-fit: cover; flex: 0 0 18px; }
body.ux .f-pnom { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* LES CHOIX SONT DES LIENS, et un lien de l'application porte une couleur et
   un filet au survol. Ici ils sont des commandes : ils reprennent donc la
   géométrie du bouton et perdent le filet, mais gardent le survol et le
   focus — sans quoi on ne saurait pas qu'ils répondent. */
body.ux .f-oter, body.ux .f-opt, body.ux .f-visage { border-bottom: 0; }
body.ux .f-oter:hover, body.ux .f-opt:hover, body.ux .f-visage:hover { border-bottom-color: transparent; }
body.ux .f-oter {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; min-height: 0; min-width: 0; padding: 0; flex: 0 0 20px;
  background: none; border: 0; border-radius: 50%;
  color: var(--c-lien); cursor: pointer;
  transition: background 120ms var(--ease-out), color 120ms var(--ease-out);
}
body.ux .f-oter:hover { background: var(--c-lien); color: #fff; }
body.ux .f-compte {
  margin-left: auto; color: var(--c-second); font-size: var(--t-xs);
  font-variant-numeric: tabular-nums; white-space: nowrap; flex: 0 0 auto;
}

/* LE PANNEAU DE CHOIX — par-dessus le contenu, pas à l'intérieur.
   Il n'a pas le droit de pousser la liste : c'est tout l'objet d'une barre de
   hauteur fixe. D'où `position: absolute` et un `z-index` au-dessus des
   panneaux voisins. */
body.ux .f-panneau {
  position: absolute; top: calc(100% + 4px); left: var(--e-3); z-index: 40;
  min-width: 220px; max-width: 300px;
  background: #fff; border: 1px solid var(--c-filet-fort); border-radius: 6px;
  box-shadow: 0 12px 32px -8px rgba(20, 35, 45, .25), 0 2px 8px rgba(20, 35, 45, .08);
  padding: var(--e-3);
  max-height: 420px; overflow-y: auto;
  transform-origin: top left;
}
/* Sans JavaScript le panneau reste ouvert : rien n'est perdu. C'est le script
   qui le referme au chargement, et lui seul. */
body.ux.js .f-panneau[hidden] { display: none; }
body.ux.js .f-panneau:not([hidden]) { animation: ux-filtre-ouvre 160ms var(--ease-out); }
@keyframes ux-filtre-ouvre {
  from { opacity: 0; transform: scale(.97) translateY(-4px); }
  to   { opacity: 1; transform: none; }
}

body.ux .f-groupe + .f-groupe { margin-top: var(--e-3); padding-top: var(--e-3); border-top: 1px solid var(--c-filet); }
body.ux .f-titre {
  font-size: 10px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--c-faible); margin-bottom: var(--e-2);
}
body.ux .f-choix { display: flex; flex-direction: column; gap: 1px; }
body.ux .f-opt {
  display: flex; align-items: center; gap: var(--e-2);
  min-height: 28px; padding: 0 var(--e-2); width: 100%; box-sizing: border-box;
  background: none; border: 0; border-radius: 4px; text-align: left;
  color: var(--c-texte); font-size: var(--t-xs); cursor: pointer;
  transition: background 120ms var(--ease-out), color 120ms var(--ease-out);
}
body.ux .f-opt:hover { background: var(--c-survol); color: var(--c-lien-survol); }
body.ux .f-opt.choisi { color: var(--c-lien-survol); font-weight: 600; }
body.ux .f-coche { width: 13px; flex: 0 0 13px; color: var(--c-lien); display: inline-flex; }

/* LA GRILLE DE PORTRAITS. On choisit un opérateur en le reconnaissant. */
body.ux .f-visages { display: flex; flex-direction: column; gap: 1px; }
body.ux .f-visage {
  display: flex; align-items: center; gap: var(--e-3);
  min-height: 34px; padding: 0 var(--e-2); width: 100%; box-sizing: border-box;
  background: none; border: 0; border-radius: 4px; text-align: left;
  color: var(--c-texte); font-size: var(--t-xs); cursor: pointer;
  transition: background 120ms var(--ease-out);
}
body.ux .f-visage:hover { background: var(--c-survol); }
body.ux .f-visage.choisi { background: #E7F1F6; color: var(--c-lien-survol); font-weight: 600; }
body.ux .f-visage img {
  width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex: 0 0 28px;
  border: 1px solid var(--c-filet);
}
body.ux .f-sansvisage {
  width: 28px; height: 28px; border-radius: 50%; flex: 0 0 28px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--c-surface); border: 1px solid var(--c-filet); color: var(--c-faible);
}
body.ux .f-nom { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* L'icône suit la couleur et la taille de son bouton — c'est tout l'intérêt
   de la poser en ligne plutôt qu'en image. */
body.ux .lg-ico { flex: 0 0 auto; display: block; }

/* LA RECHERCHE DANS LA BARRE. Sur une liste, c'est la commande la plus
   employée : elle garde sa place sur la ligne, et c'est le reste qui se
   replie derrière l'entonnoir. */
body.ux .f-chercher {
  display: flex; align-items: center; gap: var(--e-2);
  height: var(--cible); padding: 0 var(--e-3); flex: 0 1 300px; min-width: 150px;
  background: #fff; border: 1px solid var(--c-filet-fort); border-radius: 4px;
  color: var(--c-faible);
  transition: border-color 120ms var(--ease-out), box-shadow 120ms var(--ease-out);
}
body.ux .f-chercher:hover { border-color: var(--c-lien); }
body.ux .f-chercher:focus-within {
  border-color: var(--c-lien); box-shadow: 0 0 0 3px rgba(21, 96, 127, .15);
}
body.ux .f-champ {
  flex: 1; min-width: 0; min-height: 0; height: 100%;
  border: 0; outline: none; background: none;
  font-size: var(--t-xs); color: var(--c-texte);
}
body.ux .f-champ::placeholder { color: var(--c-faible); }

/* « Tout effacer » n'apparaît que s'il y a quelque chose à effacer. */
body.ux .f-remise {
  font-size: var(--t-xs); color: var(--c-second); white-space: nowrap; flex: 0 0 auto;
  min-height: var(--cible); display: inline-flex; align-items: center;
}
body.ux .f-remise:hover { color: var(--c-lien-survol); }

/* Dans une liste, la barre coiffe le panneau : elle en reprend les coins. */
body.ux .lg-panel > .lg-filtres:first-child { border-radius: 4px 4px 0 0; }

/* LES COMMANDES DE FILTRE DÉJÀ EN PLACE. Les cours et la facturation ont leur
   propre panneau repliable, et il est bon : compteur de filtres côté cours,
   pastilles de filtres actifs côté facturation, et du choix MULTIPLE côté
   cours — que le composant partagé ne sait pas faire. Les convertir serait
   une régression ; on aligne seulement ce qui peut l'être sans risque, pour
   que l'entonnoir veuille dire la même chose d'un écran à l'autre. */
body.ux .co-onglets > a, body.ux .fa-barre > a {
  display: inline-flex; align-items: center; gap: var(--e-2);
}

/* ===========================================================================
   LA BARRE D'ONGLETS DE FICHE — « VOUS ÊTES ICI » ET « JE SURVOLE »
   DISAIENT LA MÊME CHOSE.

   Relevé dans la feuille de l'ancien admin, sur la fiche professeur et ses
   23 onglets :

       #ulMenu div.menuClass a:hover       { text-decoration: underline; }
       #ulMenu div.menuClass.courant a     { font-weight: bold;
                                             text-decoration: underline; }

   Survoler n'importe quel onglet le faisait donc ressembler à l'onglet
   courant. Ne restait, pour les distinguer, qu'un passage en gras — sur un
   libellé blanc de 12 px posé sur un dégradé, c'est presque rien. Sur une
   barre de 23 entrées réparties sur deux rangées, savoir où l'on est n'est
   pas un détail.

   CE QUI CHANGE : l'onglet courant prend un FILET SOUS SA BOÎTE — le même
   langage que la barre globale, qui marque déjà sa page ouverte par un creux
   et un filet bas. Le soulignement du texte reste au survol, et lui seul.
   L'ordre des onglets, lui, ne bouge pas : c'est celui de l'ancien admin, et
   dix ans d'habitude valent mieux qu'un classement plus logique.

   PAS D'INDICATEUR QUI GLISSE d'un onglet à l'autre, et c'est un refus :
   changer d'onglet RECHARGE LA PAGE. Il n'y a pas de transition à animer,
   seulement une arrivée — et une arrivée animée sur un écran ouvert des
   dizaines de fois par jour se paie sans rien rapporter.
   =========================================================================== */
body.ux #ulMenu div.menuClass.courant a { text-decoration: none; }
body.ux #ulMenu div.menuClass.courant a::before {
  content: ''; position: absolute; left: -20px; right: -20px; bottom: -6px;
  height: 2px; background: #fff; border-radius: 1px;
}
/* Le recouvrement qui porte déjà la cible porte aussi le voile de survol :
   une boîte de plus serait une boîte de trop. */
body.ux #ulMenu div.menuClass a::after {
  border-radius: 3px;
  transition: background 120ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  body.ux #ulMenu div.menuClass:not(.inerte) a:hover::after {
    background: rgba(255, 255, 255, .16);
  }
}
/* Une rubrique annoncée mais non portée ne doit pas répondre au survol : son
   curseur dit déjà qu'il n'y a rien à cliquer. */
body.ux #ulMenu div.menuClass.inerte a::after { background: none; }

/* ===========================================================================
   LES BOUTONS D'ACTION DES FICHES PRENNENT DE VRAIES ICÔNES

   Appeler, écrire un SMS, envoyer un courriel : ces trois boutons portaient
   un émoji — 📞 💬 ✉️ — sur sept vues. Un émoji n'est pas une icône : son
   dessin, sa graisse et sa couleur appartiennent au système d'exploitation,
   il change d'allure d'un poste à l'autre, et il ne suit ni la couleur ni
   l'état de son bouton. Les trois n'avaient aucune parenté de trait.

   Ce sont les mêmes tracés Lucide que le reste, posés EN MASQUE plutôt qu'en
   balise : les sept vues n'ont pas à être touchées, et l'icône hérite de
   `currentColor`, donc du survol et du focus du bouton.

   `@supports` garde le repli : là où le masque n'est pas connu, l'émoji
   reste affiché plutôt que de laisser un bouton vide. L'infobulle dit déjà
   l'action dans les deux cas.
   =========================================================================== */
@supports ((-webkit-mask-image: url('')) or (mask-image: url(''))) {
  body.ux .btn-icon.btn-call,
  body.ux .btn-icon.btn-sms,
  body.ux .btn-icon.btn-mail { font-size: 0; line-height: 0; }
  body.ux .btn-icon.btn-call::before,
  body.ux .btn-icon.btn-sms::before,
  body.ux .btn-icon.btn-mail::before {
    content: ''; display: block; width: 15px; height: 15px;
    background: currentColor;
    -webkit-mask-size: 15px; mask-size: 15px;
    -webkit-mask-position: center; mask-position: center;
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  }
}
body.ux .btn-icon.btn-call::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M13.832%2016.568a1%201%200%200%200%201.213-.303l.355-.465A2%202%200%200%201%2017%2015h3a2%202%200%200%201%202%202v3a2%202%200%200%201-2%202A18%2018%200%200%201%202%204a2%202%200%200%201%202-2h3a2%202%200%200%201%202%202v3a2%202%200%200%201-.8%201.6l-.468.351a1%201%200%200%200-.292%201.233%2014%2014%200%200%200%206.392%206.384%22%2F%3E%3C%2Fsvg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M13.832%2016.568a1%201%200%200%200%201.213-.303l.355-.465A2%202%200%200%201%2017%2015h3a2%202%200%200%201%202%202v3a2%202%200%200%201-2%202A18%2018%200%200%201%202%204a2%202%200%200%201%202-2h3a2%202%200%200%201%202%202v3a2%202%200%200%201-.8%201.6l-.468.351a1%201%200%200%200-.292%201.233%2014%2014%200%200%200%206.392%206.384%22%2F%3E%3C%2Fsvg%3E"); }
body.ux .btn-icon.btn-sms::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M22%2017a2%202%200%200%201-2%202H6.828a2%202%200%200%200-1.414.586l-2.202%202.202A.71.71%200%200%201%202%2021.286V5a2%202%200%200%201%202-2h16a2%202%200%200%201%202%202z%22%2F%3E%3C%2Fsvg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M22%2017a2%202%200%200%201-2%202H6.828a2%202%200%200%200-1.414.586l-2.202%202.202A.71.71%200%200%201%202%2021.286V5a2%202%200%200%201%202-2h16a2%202%200%200%201%202%202z%22%2F%3E%3C%2Fsvg%3E"); }
body.ux .btn-icon.btn-mail::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m22%207-8.991%205.727a2%202%200%200%201-2.009%200L2%207%22%2F%3E%3Crect%20x%3D%222%22%20y%3D%224%22%20width%3D%2220%22%20height%3D%2216%22%20rx%3D%222%22%2F%3E%3C%2Fsvg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m22%207-8.991%205.727a2%202%200%200%201-2.009%200L2%207%22%2F%3E%3Crect%20x%3D%222%22%20y%3D%224%22%20width%3D%2220%22%20height%3D%2216%22%20rx%3D%222%22%2F%3E%3C%2Fsvg%3E"); }

/* ===========================================================================
   LE RYTHME DE LA BARRE D'ONGLETS

   Les onglets se suivaient à 3 px les uns des autres, tous au même écart :
   vingt-trois libellés d'affilée, sans un repère où poser l'œil. Le creux
   généreux était À L'INTÉRIEUR de chaque onglet (20 px de part et d'autre du
   texte), pas entre les groupes — donc la barre était régulière, et une
   régularité parfaite n'accentue rien.

   Serré dans un groupe, large entre deux groupes, et un filet pour le dire.
   Le découpage lui-même vit dans `lib/onglets.js` ; il ne change pas l'ordre.
   =========================================================================== */
body.ux #ulMenu .mc-groupe { white-space: nowrap; }
/* Le filet est posé par le groupe SUIVANT, et seulement s'il en suit un :
   la barre ne commence pas par un trait. Il se dessine au milieu de l'écart
   ajouté, et non contre un onglet. */
/* L'ECART EST POSE A DROITE DU GROUPE PRECEDENT, pas a gauche du suivant.
   Une marge gauche compte AUSSI quand le groupe ouvre une rangee : mesure
   faite a 1 280 px, les trois derniers groupes reclamaient 1 229 px pour
   1 225 disponibles — quatre pixels, et la barre passait a trois rangees.
   Une marge droite, elle, est ignoree en fin de ligne. */
body.ux #ulMenu .mc-groupe { margin-right: 16px; }
body.ux #ulMenu .mc-groupe:last-child { margin-right: 0; }
body.ux #ulMenu .mc-groupe[data-suite] { position: relative; }
body.ux #ulMenu .mc-groupe[data-suite]::before {
  content: ''; position: absolute; left: -8px; top: 50%;
  width: 1px; height: 15px; margin-top: -7px;
  background: rgba(255, 255, 255, .34);
}
/* Quand la barre passe à la ligne, elle ne le fait plus qu'entre deux
   groupes — mais le filet d'un groupe qui ouvre une rangée pendrait alors
   dans le vide, à gauche de rien. */
body.ux #ulMenu { display: block; }

/* QUAND LA PLACE MANQUE, L'ÉCART SE SERRE — IL NE DISPARAÎT PAS.
   Mesuré sur la fiche professeur à 1 280 px : les trois premiers groupes
   tiennent sur la première rangée avec 38 px de reste, mais les trois
   derniers réclament 1 231 px pour 1 225 disponibles. Six pixels, et la
   barre passait à trois rangées. L'écart entre groupes tombe donc à 10 px
   sous 1 400 px — le filet reste, son confort cède.
   C'est un arbitrage de budget, pas une loi : un libellé plus long ramènera
   la troisième rangée, et ce sera encore mieux que les 136 px d'avant. */
@media (max-width: 1400px) {
  body.ux #ulMenu .mc-groupe { margin-right: 10px; }
  body.ux #ulMenu .mc-groupe[data-suite]::before { left: -5px; }
}

/* ===========================================================================
   LES MENUS DE LIENS DES FICHES

   De quoi on parle : la rangée d'actions sous le tableau de bord des fiches
   professeur et client (« Appels | modifier », « N° SECU | RIB | Taux »…),
   et la ligne de six liens de chaque élève. Trois défauts mesurés sur la
   fiche professeur, à 1 600 px :

     . CE QUI N'EST PAS ENCORE PORTÉ ÉTAIT ILLISIBLE. `color:#BBB` sur
       blanc vaut 1,92:1. Le minimum pour du texte est 4,5:1 : ces
       libellés étaient cinq fois moins contrastés que la règle. Pire,
       c'était un style EN LIGNE — aucune feuille ne pouvait le corriger,
       d'où le passage par une classe dans les quatre gabarits concernés.

     . LES SÉPARATEURS PESAIENT PLUS QUE LES LIENS. Les « | » héritaient
       de #2B2F33 (12,6:1) quand les liens sont à 6,9:1 : la ponctuation
       était l'élément le plus sombre de la ligne. On lisait une grille de
       barres avant de lire des actions.

     . « Pièces Jointes » SE COUPAIT EN DEUX. La cellule fait 197 px ; le
       navigateur cassait au dernier espace venu, au milieu du libellé, et
       la rangée passait de 25 à 37 px. La coupure appartient aux
       séparateurs, pas aux mots : chaque libellé devient insécable, et le
       retour à la ligne tombe sur un « | ».

   CE QU'ON NE FAIT PAS : élargir la rangée. Elle est calée sur la largeur
   des blocs du tableau de bord au-dessus, et un `nowrap` sur la cellule
   aurait demandé 240 px là où il y en a 197 — tout le bandeau aurait bougé
   pour trois libellés.
   =========================================================================== */

/* CE QUI N'EST PAS ENCORE PORTÉ : lisible, et visiblement pas un lien.
   La différence ne tient pas qu'à la couleur — un daltonien ou un écran mal
   réglé la perdrait. Le pointillé et le curseur « ? » la portent aussi, et
   l'infobulle dit pourquoi. */
body.ux span.inerte {
  color: var(--c-faible);
  cursor: help;
  border-bottom: 1px dotted var(--c-separateur);
}

/* LA PONCTUATION RECULE, LES ACTIONS AVANCENT. La couleur posée sur la
   rangée n'atteint QUE les « | » et les « · » : les liens et les libellés
   inertes ont la leur. */
body.ux tr.link_11_turquoise,
body.ux .menu-liens { color: var(--c-separateur); }

body.ux tr.link_11_turquoise a[href],
body.ux tr.link_11_turquoise span.inerte,
body.ux .menu-liens a[href],
body.ux .menu-liens span.inerte { white-space: nowrap; }

/* LES ACTIONS QUI N'ONT QU'UNE FLÈCHE. Trois blocs — Transport, Accès
   sécurisé, Solde — n'ont pour action qu'un chevron de 16 px. Sa cible
   faisait 16 px de haut là où tout le reste de l'écran en fait 24, et les
   chevrons éteints étaient à 35 % d'opacité, soit 1,3:1 : on ne pouvait pas
   savoir qu'il y avait quelque chose à cet endroit. Le creux s'étend, la
   flèche ne grossit pas. */
body.ux tr.link_11_turquoise a[href]:has(img) { padding: 0 var(--e-3); }
body.ux img.inerte { opacity: .5; cursor: help; }

/* ===========================================================================
   UNSLOP — PASSE 1 : L'ESPACEMENT TIENT SUR UNE GRILLE DE 4

   Mesure avant, sur l'accueil : 485 déclarations d'espacement hors grille,
   et sur la fiche professeur 981. Les valeurs les plus fréquentes étaient
   3, 1, 2, 7, 6, 9 et 10 px — c'est-à-dire aucune règle. Deux boutons
   voisins avaient 3 px et 4 px de creux vertical, deux panneaux 7 px et
   10 px, et rien dans le code ne disait pourquoi.

   Ce que ça change pour l'œil : un rythme se lit même quand on ne le
   cherche pas. Des creux pris au hasard font un écran qui « bouge » d'un
   bloc à l'autre sans que l'on sache nommer ce qui cloche.

   LES DEUX EXCEPTIONS, ET POURQUOI.

     . LES CELLULES DE DONNÉES GARDENT 2 PX DE CREUX VERTICAL. La fiche
       professeur porte 739 cellules, la liste des heures en porte des
       milliers. Passer de 2 à 4 px ajoute 4 px par ligne : sur un tableau
       de 500 lignes, 2 000 px de défilement en plus pour rien. Le creux
       HORIZONTAL, lui, passe bien à 8 px — il ne coûte que de la largeur,
       et il y en a. Un pas de 2 px dans une boîte dense reste un pas.

     . LES FILETS ET LES CENTRAGES NE SONT PAS DE L'ESPACEMENT. Un trait
       de 1 px est un trait ; un `margin-top: -7px` qui centre exactement
       une barre de 15 px est un centrage. Les deux restent.

   Tout est posé ici et non dans `legacy.css`, pour la raison habituelle :
   `?ux=0` doit continuer de rendre l'écran d'avant, au pixel près.
   =========================================================================== */

/* La barre d'onglets de notre portage, son bandeau d'identité et ses liens. */
body.ux .lg-tabs a { padding: 8px 12px; }
body.ux .lg-tabs .util { gap: 8px; }
body.ux .lg-tabs .sep { margin: 8px; }
body.ux .lg-tabs button { padding: 4px 12px; }
body.ux .lg-tabs.fiche .rec { padding: 8px 12px 8px 4px; }
body.ux .lg-tabs .retour { padding: 4px 8px; }
body.ux .lg-tabs { row-gap: 4px; padding-top: 4px; padding-bottom: 4px; }
body.ux .lg-ident { gap: 12px; padding: 12px 16px 4px; row-gap: 4px; }
body.ux .lg-strip { padding: 8px 16px 12px; }
body.ux .lg-col { padding-right: 24px; }
body.ux .lg-col > .t { padding-bottom: 4px; }
body.ux .lg-line { gap: 8px; padding: 4px 0; }
body.ux .lg-links { padding: 4px 16px 12px; gap: 16px; }

/* Panneaux, tableaux, pastilles. Le creux vertical des cellules reste à 2. */
body.ux .lg-panel { margin-bottom: 16px; }
body.ux table.lg th, body.ux table.lg td { padding: 2px 8px; }
body.ux table.lg-grid th, body.ux table.lg-grid td.lbl { padding: 2px 8px; }
body.ux .table-grouped tr.row-entete-enfants td { padding: 2px 8px; }
body.ux .lg-tag { padding: 2px 8px; }
body.ux .lg-fam { padding: 2px 8px; }

/* La légende dépliante, les notes, les avis. */
body.ux .lg-legende { margin: 12px 0 0; }
body.ux .lg-legende > summary { padding: 8px 12px; }
body.ux .lg-legende > summary::before { margin-right: 8px; }
body.ux .lg-legende td.codes .code { padding: 0 4px; }
body.ux .lg-legende p.source { padding: 8px 12px; }
body.ux .duo { gap: 16px; }
body.ux .note-item { padding: 8px 4px; }
body.ux .note-item .sig { margin-top: 4px; }
body.ux .avis { padding: 8px 12px; }

/* Commandes : boutons, champs, pagination, barre d'outils. */
body.ux .lg-btn { padding: 4px 12px; }
body.ux .lg-select, body.ux .lg-input { padding: 4px 8px; }
body.ux .btn { padding: 4px 12px; }
body.ux .btn-icon { padding: 0 4px; }
body.ux .btn-mini { padding: 2px 8px; }
body.ux .input, body.ux textarea.input, body.ux select.input { padding: 4px 8px; }
body.ux .notes-input { padding: 4px 8px; }
body.ux .statut-select { padding: 2px 4px; }
body.ux .lg-toolbar { padding: 8px 12px; }
body.ux .lg-pager { gap: 12px; padding: 8px 12px; }
body.ux .lg-head { gap: 12px; margin-bottom: 8px; }
body.ux .page-shell { padding: 16px; }
body.ux h1 { margin: 4px 0 8px; }
body.ux .field > label { margin-bottom: 4px; }
body.ux .err-champ { margin-top: 4px; }

/* Les fenêtres de dialogue. */
body.ux .lg-card > .kicker:first-child { margin: -12px -12px 12px; }
body.ux .dialog-header { padding: 8px 12px; }
body.ux .dialog-body { padding: 12px; }
body.ux .dialog-body .field { margin-bottom: 8px; }
body.ux .dialog-actions { gap: 8px; padding: 8px 12px; }

/* Les tickets de relance et leurs notes. */
body.ux .lg-ticket { padding: 8px 12px; }
body.ux .lg-ticket .meta { margin-top: 4px; }
body.ux .lg-ticket .obs { margin-top: 4px; }
body.ux .lg-ticket .acts { margin-top: 8px; }
body.ux .lg-ticket .acts .lg-btn { padding: 4px 8px; }
body.ux .lg-ticket .acts label { gap: 4px; }
body.ux .lg-note { padding: 8px; }

/* Les deux écarts de la couche ux elle-même : une liste de choix dont les
   lignes se touchent par un filet de 1 px, ce qui est un filet. */
body.ux .f-choix, body.ux .f-visages { gap: 1px; }

/* LES TABLES DE L ANCIEN ADMIN : 1 PX N EST PAS UN PAS.

   Elles sont ecrites en `cellpadding="1"` — 900 cellules sur la seule
   fiche professeur, 702 sur la fiche client, 524 sur la liste des cours —
   et un creux d un pixel n appartient a aucune echelle.

   Le passage a 2 px a ete mesure avant d etre decide, a 1 600 px :
   la liste des cours, la liste des heures et la fiche professeur ne
   bougent pas d un pixel en hauteur ; la fiche client gagne 76 px sur
   1 238, soit 6 % ; le bandeau de la fiche passe de 168 a 178. Aucun
   debordement horizontal nulle part. Six pour cent de defilement pour que
   le bloc le plus lu de l application respire et tienne sur un pas. */
body.ux table[cellpadding="1"] td { padding: 2px; }

/* ===========================================================================
   UNSLOP — PASSE 2 : LES FILETS NEUTRES REJOIGNENT LA RAMPE

   Trente-cinq couleurs de filet dans `legacy.css`. La trentaine qui sont
   des gris — #DDD, #CCC, #EEE, #E8E8E8, #E0E0E0, #BFBFBF, #B5BBC4, #BBB —
   ne veut rien dire : des gris pris au jugé, à côté de la rampe plutôt que
   dedans. Deux panneaux voisins n'avaient pas le même trait, et rien ne
   disait lequel était le bon.

   Elles deviennent deux : `--c-filet` pour séparer à l'intérieur d'un
   bloc, `--c-filet-fort` pour en marquer le bord. Les deux sont l'encre du
   texte en opacité, donc elles suivent la rampe au lieu de dériver.

   Les filets SÉMANTIQUES ne bougent pas : celui d'une pastille reprend son
   ton, celui d'un graphique sa série. Un trait qui veut dire quelque chose
   n'est pas un trait gris.

   Ces règles sont engendrées depuis `legacy.css` par
   `scratchpad/passe2_filets.js` : on ne touche qu'à la COULEUR, jamais à
   l'épaisseur ni au style du trait.
   =========================================================================== */
body.ux .lg-strip { border-bottom-color: var(--c-filet); }
body.ux .lg-line { border-bottom-color: var(--c-filet); }
body.ux .lg-panel { border-color: var(--c-filet); }
body.ux .lg-panel > .h { border-bottom-color: var(--c-filet-fort); }
body.ux table.lg th { border-color: var(--c-filet); }
body.ux table.lg td { border-color: var(--c-filet); }
body.ux .lg-legende { border-color: var(--c-filet); }
body.ux .lg-legende > table { border-top-color: var(--c-filet); }
body.ux .lg-legende td.codes .code { border-color: var(--c-filet); }
body.ux .lg-legende p.source { border-top-color: var(--c-filet); }
body.ux .note-item { border-bottom-color: var(--c-filet); }
body.ux table.lg-grid th { border-color: var(--c-filet-fort); }
body.ux table.lg-grid td { border-color: var(--c-filet-fort); }
body.ux .lg-btn { border-color: var(--c-filet-fort); }
body.ux .lg-select, body.ux .lg-input { border-color: var(--c-filet-fort); }
body.ux .lg-toolbar { border-bottom-color: var(--c-filet); }
body.ux .lg-pager { border-top-color: var(--c-filet); }
body.ux .lg-card { border-color: var(--c-filet); }
body.ux .lg-card > .kicker:first-child { border-bottom-color: var(--c-filet-fort); }
body.ux .dialog-header { border-bottom-color: var(--c-filet-fort); }
body.ux .dialog-actions { border-top-color: var(--c-filet); }
body.ux .btn { border-color: var(--c-filet-fort); }
body.ux .input, body.ux textarea.input, body.ux select.input { border-color: var(--c-filet-fort); }
body.ux .btn-mini { border-color: var(--c-filet-fort); }
body.ux .table-grouped tbody { border-top-color: var(--c-filet); }
body.ux .table-grouped tr.row-entete-enfants td { border-bottom-color: var(--c-filet); }
body.ux .notes-input { border-color: var(--c-filet-fort); }
body.ux .statut-select { border-color: var(--c-filet-fort); }
body.ux .lg-ticket { border-bottom-color: var(--c-filet); }

/* ===========================================================================
   UNSLOP — PASSE 3 : UN SEUL JEU D'ICÔNES

   Trois vocabulaires cohabitaient : 37 images de l'ancien admin, à six
   tailles (10, 12, 16, 24, 28 et 32 px), 9 tracés Lucide, et 23 émojis en
   148 occurrences. Un émoji n'est pas une icône : il est dessiné par le
   système, donc il change de forme d'un poste à l'autre, il impose sa
   couleur quoi qu'on lui demande, et il ne suit ni le survol ni le focus du
   bouton qui le porte.

   Les émojis deviennent des tracés Lucide — le jeu que le projet avait déjà
   — posés en balise quand le gabarit le permet, en masque quand l'icône vit
   dans une feuille ou dans une chaîne JavaScript. Trait de 1,5 partout :
   les tracés de Lucide sont dessinés pour cette épaisseur, à 2 leurs
   contre-formes se comblent dès 14 px.

   LES FLÈCHES DE PLAGE RESTENT DES FLÈCHES. « 2004 → 2026 », « code →
   valeur » : c'est de la ponctuation, elle veut dire « vers ». Une icône à
   cette place dirait autre chose.
   =========================================================================== */
body.ux .lg-ico { flex: 0 0 auto; vertical-align: -0.125em; }

/* LA NOTE SUR CINQ DU VIVIER PROFESSEUR. Cinq étoiles toujours dessinées :
   les pleines remplies, les vides en trait. Avec un caractère d'imprimerie
   répété, les vides étaient à 1,36:1 — on ne voyait que les pleines, donc
   jamais le total, et « trois » se lisait comme « trois sur trois ». */
body.ux .pp-notes { display: inline-flex; gap: 1px; vertical-align: -2px; }
body.ux .pp-notes .pleine { color: #B06A00; fill: currentColor; }
body.ux .pp-notes .vide { color: var(--c-separateur); }

/* ===========================================================================
   UNSLOP — PASSE 5 : LE TYPE

   Trois défauts, et le dernier est le plus visible.

   . ONZE TAILLES DEVIENNENT CINQ, et le corps passe de 11 à 13 px (voir
     les jetons en tête de feuille, la mesure y est).

   . LA HIÉRARCHIE VENAIT DU GRAS. Les en-têtes de panneau, les en-têtes de
     colonne et les titres d'écran étaient en 700. Un écran où tout ce qui
     compte est gras est un écran où rien ne ressort. La hiérarchie vient
     de la TAILLE et de la COULEUR ; le poids s'arrête à 500.

   . LES CAPITALES ESPACÉES. « STATUT », « DOCUMENTS », « NOUVEAUTÉS » :
     des capitales à 9,5 px avec 0,07 em d'interlettrage. Les capitales
     suppriment la ligne d'ascendantes et de descendantes par laquelle on
     reconnaît un mot sans le lire — et à cette taille, l'interlettrage
     disperse ce qu'il reste. Casse de phrase partout, interlettrage à 0.

   . L'interlettrage négatif de -0,02 em vivait sur des titres de 20 px.
     Il est fait pour l'affichage à partir de 40. À 0.
   =========================================================================== */

/* Le corps et les données. */
body.ux { font-size: var(--t-sm); }
body.ux table.lg { font-size: var(--t-md); font-variant-numeric: tabular-nums; }
body.ux table.lg-grid { font-variant-numeric: tabular-nums; }
body.ux .lg-line, body.ux .lg-line .v { font-size: var(--t-md); }
body.ux .lg-line .strong { font-size: var(--t-md); }
body.ux .note-item { font-size: var(--t-md); }
body.ux .avis { font-size: var(--t-md); }
body.ux .lg-ticket .nom { font-size: var(--t-md); }

/* Le secondaire et les en-têtes. */
body.ux .lg-panel > .h { font-size: var(--t-sm); font-weight: 500; text-transform: none; letter-spacing: 0; }
body.ux table.lg th { font-size: var(--t-sm); font-weight: 500; text-transform: none; letter-spacing: 0; }
body.ux table.lg-grid th { font-size: var(--t-sm); text-transform: none; letter-spacing: 0; }
body.ux .lg-legende > summary { font-size: var(--t-sm); font-weight: 500; }
body.ux .lg-ident .sub, body.ux .lg-ident .mail { font-size: var(--t-sm); }
body.ux .lg-actions-eleve { font-size: var(--t-sm); }
body.ux .lg-tabs .who, body.ux .lg-tabs button, body.ux .lg-tabs .retour { font-size: var(--t-sm); }
body.ux .lg-links { font-size: var(--t-sm); }

/* La méta : compteurs, signatures, codes, légendes. */
body.ux .lg-col > .t { font-size: var(--t-xs); text-transform: none; letter-spacing: 0; }
body.ux .lg-tag { font-size: var(--t-xs); }
body.ux .lg-fam { font-size: var(--t-xs); }
body.ux .note-item .sig { font-size: var(--t-xs); }
body.ux .lg-legende p.source, body.ux .lg-legende td.codes { font-size: var(--t-xs); }
body.ux .lg-legende td.codes .code { font-size: var(--t-xs); }
body.ux .lg-ticket .when { font-size: var(--t-xs); }
body.ux .lg-panel > .h .clock { font-size: var(--t-xs); }
body.ux .kicker { font-size: var(--t-xs); text-transform: none; letter-spacing: 0; }
body.ux .statut-save-status { font-size: var(--t-xs); }
body.ux .table-grouped tr.row-entete-enfants td { font-size: var(--t-xs); text-transform: none; letter-spacing: 0; }

/* Les titres : une taille, un poids de 500, pas d'interlettrage serré. */
body.ux h1, body.ux .lg-ident h1, body.ux .lg-head h1 {
  font-size: var(--t-xl); font-weight: 500; letter-spacing: 0;
}
body.ux .dialog-title { font-size: var(--t-lg); font-weight: 500; }
body.ux .lg-ticket .tel { font-size: var(--t-lg); }

/* LE BANDEAU DE LA FICHE écrit sa taille EN LIGNE, et un style en ligne ne
   se rattrape pas. Les quatre gabarits passent donc par un jeton à repli :
   `font-size: var(--t-dash, 11px)`. Sous `?ux=0` la variable n'existe pas
   et 11 px s'applique, au pixel près comme avant. */
body.ux { --t-dash: 12px; }

/* ===========================================================================
   UNSLOP — PASSE 7 : LES DÉTAILS

   LE RAYON DEVIENT UNE ÉCHELLE DE TROIS, ET LES COINS S'EMBOÎTENT.
   Relevé avant : 2, 3, 4, 5, 6, 8 et 12 px dans la même interface, sans
   règle — un bouton à 4, le champ à côté à 4, le panneau qui les contient à
   5, le compteur à 3. Sept valeurs pour dire la même chose.

   Trois valeurs : ce qui est DANS une commande, la COMMANDE, ce qui la
   CONTIENT. Et la règle d'emboîtement : un enfant posé contre le coin de
   son parent reprend le rayon du parent de ce côté-là, sinon on voit deux
   arrondis l'un dans l'autre.

   CES VALEURS NE SONT PAS CELLES D'UNSLOP (4-6 / 8-10 / 12-16) et c'est
   mesuré : ses nombres sont faits pour des commandes de 40 px de haut. Ici
   un bouton fait 26 px ; à 10 px de rayon il devient une gélule. Le rapport
   est conservé, l'échelle est celle de l'écran.
   =========================================================================== */
body.ux {
  --r-xs: 3px;   /* dans une commande : pastille, compteur, code */
  --r-sm: 5px;   /* la commande : bouton, champ, option */
  --r-md: 8px;   /* ce qui contient : panneau, carte, fenêtre flottante */
}

body.ux .lg-tag, body.ux .lg-fam, body.ux .lg-legende td.codes .code,
body.ux .num, body.ux .f-nb, body.ux .lg-btn.off::after { border-radius: var(--r-xs); }

body.ux .lg-btn, body.ux .btn, body.ux .btn-mini, body.ux .btn-icon,
body.ux .lg-input, body.ux .lg-select, body.ux .input, body.ux textarea.input,
body.ux .lg-tabs button, body.ux .lg-tabs .retour,
body.ux .f-decl, body.ux .f-opt, body.ux .f-visage, body.ux .f-chercher,
body.ux .acts-plus, body.ux .searchbar input,
body.ux textarea:focus-visible { border-radius: var(--r-sm); }

body.ux .lg-panel, body.ux .lg-card, body.ux .f-panneau,
body.ux #rgBox { border-radius: var(--r-md); }

/* L'EMBOÎTEMENT : collé au coin du parent, on prend SON rayon. */
body.ux .lg-panel > .h,
body.ux .lg-card > .kicker:first-child,
body.ux .lg-toolbar,
body.ux .lg-panel > .lg-filtres:first-child { border-radius: var(--r-md) var(--r-md) 0 0; }
body.ux .lg-pager { border-radius: 0 0 var(--r-md) var(--r-md); }

/* UNSLOP — PASSE 5, SUITE : LE GRAS S'ARRÊTE À 500.
   `legacy.css` pose `font-weight: bold` sur les en-têtes de colonne, les
   titres de panneau, les noms et les totaux — 700 partout, c'est-à-dire
   nulle part. La hiérarchie vient de la taille et de la couleur ; 500 suffit
   à faire ressortir une ligne, et laisse 700 disponible pour le jour où une
   seule chose doit crier. */
body.ux table.lg th, body.ux table.lg-grid th,
body.ux .lg-line .strong, body.ux .lg-ident .nom,
body.ux .lg-ticket .nom, body.ux .lg-tabs.fiche .rec,
body.ux .dialog-title, body.ux .lg-legende > summary,
body.ux b, body.ux strong { font-weight: 500; }

/* ===========================================================================
   UNSLOP — PASSE 5, SUITE : CHAQUE ÉCRAN PORTAIT SON PROPRE BARÈME

   Presque chaque gabarit a son bloc `<style>`, et presque chacun ses
   tailles à lui. Elles rejoignent les cinq pas, par surcharge et non par
   réécriture : `?ux=0` garde les siennes, au pixel près.

   Règles engendrées par `scratchpad/passe5_ecrans.js`. Les tailles DÉJÀ
   sur un pas ne sont pas touchées, et les styles EN LIGNE ne sont pas
   concernés — une feuille ne les rattrape pas.
   87 gabarits, 553 règles.
   =========================================================================== */
/* views/acces-envoi.ejs */
body.ux .note { font-size: var(--t-xs); }
body.ux .avis { font-size: var(--t-md); }
body.ux .champ > label { font-size: var(--t-md); }
body.ux .champ input[type=text], body.ux .champ textarea, body.ux .champ select { font-size: var(--t-md); }
body.ux dl.fiche { font-size: var(--t-md); }
body.ux dl.fiche dt { font-size: var(--t-xs); }

/* views/acces-prive.ejs */
body.ux .note { font-size: var(--t-xs); }
body.ux .avis { font-size: var(--t-md); }
body.ux dl.fiche { font-size: var(--t-md); }
body.ux dl.fiche dt { font-size: var(--t-xs); }
body.ux .ident { font-size: var(--t-md); }
body.ux .ident input { font-size: var(--t-md); }
body.ux .ident .titre { font-size: var(--t-xs); }
body.ux .barre { font-size: var(--t-md); }

/* views/accueil-agenda.ejs */
body.ux .vide { font-size: var(--t-md); }
body.ux .note { font-size: var(--t-xs); }
body.ux .avis { font-size: var(--t-md); }
body.ux .totaux { font-size: var(--t-md); }
body.ux .totaux .bl .t { font-size: var(--t-xs); }
body.ux .totaux .bl .v { font-size: var(--t-lg); }
body.ux .barre { font-size: var(--t-md); }
body.ux .jour > .t { font-size: var(--t-md); }
body.ux .ev { font-size: var(--t-md); }
body.ux .ops { font-size: var(--t-md); }

/* views/accueil-compte.ejs */
body.ux .vide { font-size: var(--t-md); }
body.ux .note { font-size: var(--t-xs); }
body.ux .avis { font-size: var(--t-md); }
body.ux .charge .c .t { font-size: var(--t-md); }
body.ux .charge .c .q { font-size: var(--t-xs); }
body.ux .charge .c .v { font-size: var(--t-xl); }
body.ux .charge .c .al { font-size: var(--t-xs); }
body.ux .charge .c .col { font-size: var(--t-xs); }
body.ux dl.fiche { font-size: var(--t-md); }
body.ux dl.fiche dt { font-size: var(--t-xs); }
body.ux .filtres { font-size: var(--t-md); }

/* views/accueil-courriers.ejs */
body.ux .vide { font-size: var(--t-md); }
body.ux .note { font-size: var(--t-xs); }
body.ux .avis { font-size: var(--t-md); }
body.ux .totaux { font-size: var(--t-md); }
body.ux .totaux .bl .t { font-size: var(--t-xs); }
body.ux .totaux .bl .v { font-size: var(--t-lg); }
body.ux .filtres { font-size: var(--t-md); }
body.ux .pag { font-size: var(--t-md); }
body.ux form.inline button { font-size: var(--t-xs); }

/* views/accueil-notifications.ejs */
body.ux .vide { font-size: var(--t-md); }
body.ux .note { font-size: var(--t-xs); }
body.ux .avis { font-size: var(--t-md); }
body.ux .totaux { font-size: var(--t-md); }
body.ux .totaux .bl .t { font-size: var(--t-xs); }
body.ux .totaux .bl .v { font-size: var(--t-lg); }
body.ux .filtres { font-size: var(--t-md); }
body.ux .pag { font-size: var(--t-md); }

/* views/accueil-recouvrement.ejs */
body.ux .vide { font-size: var(--t-md); }
body.ux .note { font-size: var(--t-xs); }
body.ux .avis { font-size: var(--t-md); }
body.ux .totaux { font-size: var(--t-md); }
body.ux .totaux .bl .t { font-size: var(--t-xs); }
body.ux .totaux .bl .v { font-size: var(--t-xl); }
body.ux .filtres { font-size: var(--t-md); }
body.ux .pag { font-size: var(--t-md); }

/* views/accueil-salaires-procedures.ejs */
body.ux .vide { font-size: var(--t-md); }
body.ux .note { font-size: var(--t-xs); }
body.ux .avis { font-size: var(--t-md); }
body.ux .totaux { font-size: var(--t-md); }
body.ux .totaux .bl .t { font-size: var(--t-xs); }
body.ux .totaux .bl .v { font-size: var(--t-lg); }

/* views/accueil-salaires.ejs */
body.ux .vide { font-size: var(--t-md); }
body.ux .note { font-size: var(--t-xs); }
body.ux .avis { font-size: var(--t-md); }
body.ux .totaux { font-size: var(--t-md); }
body.ux .totaux .bl .t { font-size: var(--t-xs); }
body.ux .totaux .bl .v { font-size: var(--t-lg); }
body.ux .barre { font-size: var(--t-md); }

/* views/analyse-leads.ejs */
body.ux .note { font-size: var(--t-xs); }
body.ux .avis { font-size: var(--t-md); }
body.ux .vues a { font-size: var(--t-md); }
body.ux .vues .lb { font-size: var(--t-md); }
body.ux .cle .t { font-size: var(--t-xs); }
body.ux .cle .s { font-size: var(--t-xs); }
body.ux h2.bloc { font-size: var(--t-md); }
body.ux h2.bloc .q { font-size: var(--t-md); }
body.ux table.an { font-size: var(--t-md); }
body.ux table.an th { font-size: var(--t-xs); }
body.ux .perso input[type=date] { font-size: var(--t-md); }
body.ux .perso button { font-size: var(--t-md); }
body.ux .heures span { font-size: var(--t-xs); }
body.ux .legende { font-size: var(--t-xs); }

/* views/client-activite.ejs */
body.ux .vide { font-size: var(--t-md); }
body.ux .note { font-size: var(--t-xs); }
body.ux .avis { font-size: var(--t-md); }
body.ux .totaux { font-size: var(--t-md); }
body.ux .totaux .bl .t { font-size: var(--t-xs); }
body.ux .totaux .bl .v { font-size: var(--t-lg); }

/* views/client-attestations-fiscales.ejs */
body.ux .vide { font-size: var(--t-md); }
body.ux .note { font-size: var(--t-xs); }
body.ux .avis { font-size: var(--t-md); }
body.ux .totaux { font-size: var(--t-md); }
body.ux .totaux .bl .t { font-size: var(--t-xs); }
body.ux .totaux .bl .v { font-size: var(--t-lg); }
body.ux table.af td.det { font-size: var(--t-xs); }
body.ux .mini { font-size: var(--t-xs); }

/* views/client-contrat-envoi.ejs */
body.ux .note { font-size: var(--t-xs); }
body.ux .avis { font-size: var(--t-md); }
body.ux .champ > label { font-size: var(--t-md); }
body.ux .champ input[type=text], body.ux .champ textarea, body.ux .champ select { font-size: var(--t-md); }
body.ux dl.fiche { font-size: var(--t-md); }
body.ux dl.fiche dt { font-size: var(--t-xs); }

/* views/client-edit.ejs */
body.ux .radio-row label { font-size: var(--t-md); }
body.ux .helper-links { font-size: var(--t-md); }

/* views/client-factures.ejs */
body.ux .note { font-size: var(--t-xs); }
body.ux sup.renvoi { font-size: var(--t-xs); }
body.ux .avis { font-size: var(--t-md); }
body.ux .adr { font-size: var(--t-md); }
body.ux table.fc { font-size: var(--t-md); }
body.ux table.fc th { font-size: var(--t-xs); }

/* views/client-fiche.ejs */
body.ux .cm-avis { font-size: var(--t-xs); }
body.ux dl.kv { font-size: var(--t-md); }

/* views/client-fiches-suivi.ejs */
body.ux .vide { font-size: var(--t-md); }
body.ux .note { font-size: var(--t-xs); }
body.ux .avis { font-size: var(--t-md); }
body.ux .totaux { font-size: var(--t-md); }
body.ux .totaux .bl .t { font-size: var(--t-xs); }
body.ux .totaux .bl .v { font-size: var(--t-lg); }
body.ux table.fs td.saisie { font-size: var(--t-xs); }

/* views/client-frais-remises.ejs */
body.ux .totaux { font-size: var(--t-md); }
body.ux .totaux .bl .t { font-size: var(--t-xs); }
body.ux .vide { font-size: var(--t-md); }
body.ux .avis { font-size: var(--t-md); }
body.ux .note { font-size: var(--t-xs); }

/* views/client-messages.ejs */
body.ux .vide { font-size: var(--t-md); }
body.ux .note { font-size: var(--t-xs); }
body.ux .avis { font-size: var(--t-md); }
body.ux .msg .quand { font-size: var(--t-md); }
body.ux .msg .quand .h { font-size: var(--t-xs); }
body.ux .msg .texte { font-size: var(--t-md); }
body.ux .msg .lien { font-size: var(--t-md); }

/* views/client-nouveau.ejs */
body.ux .radio-row label { font-size: var(--t-md); }
body.ux .matiere-item { font-size: var(--t-md); }
body.ux .matiere-item textarea { font-size: var(--t-md); }
body.ux .helper-links { font-size: var(--t-md); }
body.ux .error-box { font-size: var(--t-md); }

/* views/client-potentiel-fiche.ejs */
body.ux dl.kv { font-size: var(--t-md); }
body.ux .note { font-size: var(--t-xs); }
body.ux .libre { font-size: var(--t-md); }
body.ux .tech { font-size: var(--t-xs); }

/* views/client-versement-form.ejs */
body.ux .avis { font-size: var(--t-md); }
body.ux .note { font-size: var(--t-xs); }
body.ux .vide { font-size: var(--t-md); }

/* views/client-versements.ejs */
body.ux .totaux { font-size: var(--t-md); }
body.ux .totaux .bl .t { font-size: var(--t-xs); }
body.ux .totaux .bl .v { font-size: var(--t-lg); }
body.ux .vide { font-size: var(--t-md); }
body.ux .note { font-size: var(--t-xs); }
body.ux .avis { font-size: var(--t-md); }
body.ux table.compte { font-size: var(--t-md); }

/* views/clients-potentiels.ejs */
body.ux .note { font-size: var(--t-xs); }
body.ux .cran { font-size: var(--t-md); }
body.ux .cran b { font-size: var(--t-md); }
body.ux .avis { font-size: var(--t-md); }

/* views/corbeille-liste.ejs */
body.ux .note { font-size: var(--t-xs); }
body.ux .avis { font-size: var(--t-md); }

/* views/cours-cartographie.ejs */
body.ux .totaux { font-size: var(--t-md); }
body.ux .totaux .bl .t { font-size: var(--t-xs); }
body.ux .totaux .bl .v { font-size: var(--t-lg); }
body.ux .vide { font-size: var(--t-md); }
body.ux .note { font-size: var(--t-xs); }
body.ux .avis { font-size: var(--t-md); }
body.ux .plan .lbl { font-size: var(--t-xs); }
body.ux .tranche { font-size: var(--t-md); }
body.ux .tranche .lb { font-size: var(--t-xs); }
body.ux .etats { font-size: var(--t-md); }

/* views/cours-courriels.ejs */
body.ux .note { font-size: var(--t-xs); }
body.ux .avis { font-size: var(--t-md); }
body.ux .stade { font-size: var(--t-xs); }
body.ux ul.choix li a { font-size: var(--t-md); }
body.ux ul.choix .ca { font-size: var(--t-xs); }
body.ux .champ > label { font-size: var(--t-md); }
body.ux .champ input[type=text], body.ux .champ textarea { font-size: var(--t-md); }
body.ux dl.fiche { font-size: var(--t-md); }
body.ux dl.fiche dt { font-size: var(--t-xs); }

/* views/cours-detail.ejs */
body.ux .cd-ident .t { font-size: var(--t-xs); }
body.ux .cd-mat h1 { font-size: var(--t-lg); }
body.ux .cd-mat .sub { font-size: var(--t-md); }
body.ux .cd-frise li { font-size: var(--t-md); }
body.ux .cd-frise li .quand { font-size: var(--t-xs); }
body.ux .cd-frise li .via { font-size: var(--t-xs); }
body.ux .cd-onglets a { font-size: var(--t-md); }
body.ux .cd-onglets .cpt { font-size: var(--t-xs); }
body.ux .cd-note { font-size: var(--t-md); }
body.ux .cd-note .meta { font-size: var(--t-xs); }

/* views/cours-historique.ejs */
body.ux .totaux { font-size: var(--t-md); }
body.ux .totaux .bl .t { font-size: var(--t-xs); }
body.ux .totaux .bl .v { font-size: var(--t-lg); }
body.ux .vide { font-size: var(--t-md); }
body.ux .note { font-size: var(--t-xs); }
body.ux .etape { font-size: var(--t-md); }
body.ux .etape .quand { font-size: var(--t-xs); }

/* views/cours-suivi-qualite.ejs */
body.ux .totaux { font-size: var(--t-md); }
body.ux .totaux .bl .t { font-size: var(--t-xs); }
body.ux .totaux .bl .v { font-size: var(--t-lg); }
body.ux .vide { font-size: var(--t-md); }
body.ux .note { font-size: var(--t-xs); }
body.ux .avis { font-size: var(--t-md); }
body.ux .critere { font-size: var(--t-md); }
body.ux .bilan .comm { font-size: var(--t-md); }
body.ux .fiche-prof > .h { font-size: var(--t-md); }

/* views/cours-tarifs.ejs */
body.ux table.tc { font-size: var(--t-md); }
body.ux .champbleu { font-size: var(--t-md); }
body.ux .champgris { font-size: var(--t-md); }
body.ux .bt { font-size: var(--t-md); }
body.ux .raison { font-size: var(--t-xs); }
body.ux .avert { font-size: var(--t-xs); }
body.ux .doublon { font-size: var(--t-xs); }
body.ux .bandeau { font-size: var(--t-md); }
body.ux .titre-bloc { font-size: var(--t-md); }
body.ux .note { font-size: var(--t-xs); }

/* views/cours.ejs */
body.ux .co-onglets a { font-size: var(--t-md); }
body.ux .co-onglets a .n { font-size: var(--t-xs); }
body.ux .co-box > .t { font-size: var(--t-md); }
body.ux .co-box label { font-size: var(--t-md); }
body.ux table.co { font-size: var(--t-md); }
body.ux table.co th { font-size: var(--t-xs); }
body.ux table.co .num { font-size: var(--t-xs); }
body.ux table.co .quand { font-size: var(--t-xs); }
body.ux table.co .tuteur { font-size: var(--t-md); }
body.ux table.co .tuteur b { font-size: var(--t-md); }
body.ux table.co .horloge { font-size: var(--t-xs); }
body.ux table.co .attr .qui { font-size: var(--t-md); }
body.ux .co-actions a, body.ux .co-actions button { font-size: var(--t-xs); }
body.ux .co-chips { font-size: var(--t-md); }

/* views/eleve-bilans.ejs */
body.ux .vide { font-size: var(--t-md); }
body.ux .note { font-size: var(--t-xs); }
body.ux .avis { font-size: var(--t-md); }
body.ux .totaux { font-size: var(--t-md); }
body.ux .totaux .bl .t { font-size: var(--t-xs); }
body.ux .totaux .bl .v { font-size: var(--t-lg); }
body.ux .bilan > .t { font-size: var(--t-md); }
body.ux .rep { font-size: var(--t-xs); }
body.ux .rep .v { font-size: var(--t-md); }
body.ux .com { font-size: var(--t-md); }

/* views/eleve-dossier-scolaire.ejs */
body.ux .vide { font-size: var(--t-md); }
body.ux .note { font-size: var(--t-xs); }
body.ux .avis { font-size: var(--t-md); }
body.ux .champ > label { font-size: var(--t-md); }
body.ux .champ textarea { font-size: var(--t-md); }
body.ux .avistxt { font-size: var(--t-md); }

/* views/eleve-fiche.ejs */
body.ux dl.kv { font-size: var(--t-md); }

/* views/eleve-nouveau.ejs */
body.ux table.form th { font-size: var(--t-md); }
body.ux table.form textarea { font-size: var(--t-md); }
body.ux .erreur { font-size: var(--t-md); }
body.ux .avis { font-size: var(--t-md); }
body.ux .note { font-size: var(--t-xs); }
body.ux .mats { font-size: var(--t-md); }
body.ux .ro { font-size: var(--t-md); }
body.ux .ro dt { font-size: var(--t-xs); }

/* views/facturation-vue.ejs */
body.ux .fa-head h1 { font-size: var(--t-xl); }
body.ux .fa-onglets a, body.ux .fa-onglets span.mort { font-size: var(--t-md); }
body.ux .fa-sous { font-size: var(--t-md); }
body.ux table.fa { font-size: var(--t-md); }
body.ux table.fa th { font-size: var(--t-xs); }
body.ux .leg { font-size: var(--t-xs); }

/* views/facturation.ejs */
body.ux .fa-head h1 { font-size: var(--t-xl); }
body.ux .fa-onglets a, body.ux .fa-onglets span.mort { font-size: var(--t-md); }
body.ux .fa-barre { font-size: var(--t-md); }
body.ux .fa-filtre .t { font-size: var(--t-md); }
body.ux .fa-filtre label { font-size: var(--t-md); }
body.ux table.fa { font-size: var(--t-md); }
body.ux table.fa th { font-size: var(--t-xs); }
body.ux table.fa .fa-renvoi { font-size: var(--t-md); }
body.ux table.fa .fa-renvoi sup { font-size: var(--t-xs); }
body.ux table.fa sup.fa-anterieurs { font-size: var(--t-xs); }
body.ux table.fa th.etape .fa-delai { font-size: var(--t-xs); }
body.ux table.fa td.jalon .fa-envoi { font-size: var(--t-xs); }
body.ux table.fa .num { font-size: var(--t-xs); }
body.ux table.fa .quand { font-size: var(--t-xs); }
body.ux table.fa .canal { font-size: var(--t-xs); }
body.ux table.fa a.env { font-size: var(--t-xs); }
body.ux .fa-vide { font-size: var(--t-md); }
body.ux .fa-chips { font-size: var(--t-md); }

/* views/factures-resume.ejs */
body.ux .page-actions { font-size: var(--t-md); }
body.ux .pdf-link { font-size: var(--t-md); }
body.ux .table-toolbar { font-size: var(--t-md); }
body.ux .reset-frais-btn { font-size: var(--t-md); }
body.ux .field-label { font-size: var(--t-md); }

/* views/fiche-agenda.ejs */
body.ux .vide { font-size: var(--t-md); }
body.ux .note { font-size: var(--t-xs); }
body.ux .avis { font-size: var(--t-md); }
body.ux .totaux { font-size: var(--t-md); }
body.ux .totaux .bl .t { font-size: var(--t-xs); }
body.ux .totaux .bl .v { font-size: var(--t-lg); }
body.ux .radios label { font-size: var(--t-md); }

/* views/fiche-bloc-notes.ejs */
body.ux .vide { font-size: var(--t-md); }
body.ux .note { font-size: var(--t-xs); }
body.ux .avis { font-size: var(--t-md); }
body.ux .champ > label { font-size: var(--t-md); }
body.ux .champ textarea { font-size: var(--t-md); }
body.ux .n .meta { font-size: var(--t-xs); }
body.ux .n .txt { font-size: var(--t-md); }

/* views/fiche-cartographie.ejs */
body.ux dl.kv { font-size: var(--t-md); }
body.ux .note { font-size: var(--t-xs); }
body.ux .vide { font-size: var(--t-md); }
body.ux .avis { font-size: var(--t-md); }
body.ux .groupe > .t { font-size: var(--t-xs); }

/* views/fiche-documents.ejs */
body.ux .vide { font-size: var(--t-md); }
body.ux .note { font-size: var(--t-xs); }
body.ux .avis { font-size: var(--t-md); }
body.ux .totaux { font-size: var(--t-md); }
body.ux .totaux .bl .t { font-size: var(--t-xs); }
body.ux .totaux .bl .v { font-size: var(--t-lg); }
body.ux .ext { font-size: var(--t-xs); }

/* views/fiche-emails-types.ejs */
body.ux .vide { font-size: var(--t-md); }
body.ux .note { font-size: var(--t-xs); }
body.ux .avis { font-size: var(--t-md); }
body.ux .champ > label { font-size: var(--t-md); }
body.ux .champ textarea { font-size: var(--t-md); }
body.ux .jeton { font-size: var(--t-xs); }
body.ux .apercu { font-size: var(--t-md); }

/* views/fiche-mailbox.ejs */
body.ux .vide { font-size: var(--t-md); }
body.ux .note { font-size: var(--t-xs); }
body.ux .avis { font-size: var(--t-md); }
body.ux .totaux { font-size: var(--t-md); }
body.ux .totaux .bl .t { font-size: var(--t-xs); }
body.ux .totaux .bl .v { font-size: var(--t-lg); }
body.ux .corps { font-size: var(--t-md); }

/* views/fiche-sms.ejs */
body.ux .totaux { font-size: var(--t-md); }
body.ux .totaux .bl .t { font-size: var(--t-xs); }
body.ux .totaux .bl .v { font-size: var(--t-lg); }
body.ux .vide { font-size: var(--t-md); }
body.ux .note { font-size: var(--t-xs); }
body.ux .msg .quand { font-size: var(--t-xs); }
body.ux .msg .corps { font-size: var(--t-md); }
body.ux .msg .suivi { font-size: var(--t-xs); }
body.ux .avert { font-size: var(--t-md); }

/* views/heures.ejs */
body.ux .note { font-size: var(--t-xs); }
body.ux .vide { font-size: var(--t-md); }
body.ux .avis { font-size: var(--t-md); }
body.ux table.h { font-size: var(--t-md); }
body.ux table.h th { font-size: var(--t-xs); }
body.ux form.rech input { font-size: var(--t-md); }
body.ux form.rech button { font-size: var(--t-md); }

/* views/home.ejs */
body.ux .accueil-h { font-size: var(--t-xl); }
body.ux .searchbar .lk { font-size: var(--t-md); }
body.ux .slot .h { font-size: var(--t-md); }
body.ux .evt { font-size: var(--t-md); }
body.ux .num { font-size: var(--t-xs); }
body.ux .c5 .mats .mat { font-size: var(--t-xs); }
body.ux .rg-head { font-size: var(--t-md); }
body.ux .rg-head .rg-n { font-size: var(--t-xs); }
body.ux .rg-head a { font-size: var(--t-lg); }
body.ux .rg-pied { font-size: var(--t-md); }
body.ux table.rg { font-size: var(--t-md); }
body.ux .rg-badge { font-size: var(--t-xs); }
body.ux .rg-vide { font-size: var(--t-md); }
body.ux .clp-src { font-size: var(--t-xs); }

/* views/journal-appels.ejs */
body.ux .note { font-size: var(--t-xs); }
body.ux .vide { font-size: var(--t-md); }
body.ux .avis { font-size: var(--t-md); }
body.ux .filtres legend { font-size: var(--t-xs); }
body.ux .filtres label { font-size: var(--t-md); }
body.ux .contacts a { font-size: var(--t-md); }

/* views/legacy/cours.ejs */
body.ux #divStatic { font-size: var(--t-md); }
body.ux .divMenuTop { font-size: var(--t-md); }
body.ux .divMenuTop div { font-size: var(--t-md); }
body.ux .divMenuTop div a:link, body.ux .divMenuTop div a:visited, body.ux .divMenuTop div a:active { font-size: var(--t-md); }
body.ux .divMenuTop div a:hover { font-size: var(--t-md); }

/* views/legacy/partials/cours-liste.ejs */
body.ux .lgc-carte { font-size: var(--t-md); }
body.ux table.lgc-fiche { font-size: var(--t-md); }
body.ux table.lgc-fiche td.t { font-size: var(--t-md); }
body.ux table.lgc-fiche td.t2 { font-size: var(--t-md); }

/* views/legacy/partials/cours-prof.ejs */
body.ux table.cp { font-size: var(--t-md); }
body.ux .cp-barre { font-size: var(--t-md); }
body.ux .cp-avis { font-size: var(--t-md); }
body.ux .cp-note { font-size: var(--t-xs); }
body.ux .cp-arch { font-size: var(--t-md); }

/* views/legacy/partials/dossier-prof.ejs */
body.ux .lgp-grille { font-size: var(--t-xs); }

/* views/legacy/partials/eleves.ejs */
body.ux .lge-dispo { font-size: var(--t-md); }

/* views/login.ejs */
body.ux .login-card h1 { font-size: var(--t-xl); }
body.ux .login-card .lg-btn { font-size: var(--t-md); }

/* views/messages-clients.ejs */
body.ux .vide { font-size: var(--t-md); }
body.ux .note { font-size: var(--t-xs); }
body.ux .avis { font-size: var(--t-md); }
body.ux .barre .onglets a { font-size: var(--t-md); }
body.ux .msg .quand { font-size: var(--t-md); }
body.ux .msg .quand .h { font-size: var(--t-xs); }
body.ux .msg .qui { font-size: var(--t-md); }
body.ux .msg .qui .code { font-size: var(--t-xs); }
body.ux .msg .texte { font-size: var(--t-md); }
body.ux .msg .lien { font-size: var(--t-md); }

/* views/partials/carte-dept.ejs */
body.ux .carte-dept .legende { font-size: var(--t-md); }
body.ux .carte-dept .legende .note { font-size: var(--t-xs); }

/* views/partials/selecteur-commune.ejs */
body.ux .sc-tete .t { font-size: var(--t-md); }
body.ux .sc-choix { font-size: var(--t-md); }
body.ux .sc-liste { font-size: var(--t-md); }
body.ux .sc-lbl { font-size: var(--t-xs); }
body.ux .sc-vide { font-size: var(--t-md); }
body.ux .sc-pied .aide { font-size: var(--t-xs); }

/* views/potentiel-courriers.ejs */
body.ux .note { font-size: var(--t-xs); }
body.ux .vide { font-size: var(--t-md); }
body.ux .avis { font-size: var(--t-md); }
body.ux .totaux { font-size: var(--t-md); }
body.ux .totaux .bl .t { font-size: var(--t-xs); }
body.ux .totaux .bl .v { font-size: var(--t-lg); }

/* views/potentiel-edit.ejs */
body.ux table.form th { font-size: var(--t-md); }
body.ux table.form input[type=text], body.ux table.form select, body.ux table.form textarea { font-size: var(--t-md); }
body.ux .erreur { font-size: var(--t-md); }
body.ux .avis { font-size: var(--t-md); }
body.ux .note { font-size: var(--t-xs); }
body.ux .ro { font-size: var(--t-md); }
body.ux .ro dt { font-size: var(--t-xs); }

/* views/potentiel-matieres.ejs */
body.ux .note { font-size: var(--t-xs); }
body.ux .avis { font-size: var(--t-md); }
body.ux .avis.info { font-size: var(--t-md); }
body.ux .grille label { font-size: var(--t-md); }

/* views/prof-activite.ejs */
body.ux .vide { font-size: var(--t-md); }
body.ux .note { font-size: var(--t-xs); }
body.ux .avis { font-size: var(--t-md); }
body.ux .totaux { font-size: var(--t-md); }
body.ux .totaux .bl .t { font-size: var(--t-xs); }
body.ux .totaux .bl .v { font-size: var(--t-lg); }

/* views/prof-adresse.ejs */
body.ux .vide { font-size: var(--t-md); }
body.ux .note { font-size: var(--t-xs); }
body.ux .avis { font-size: var(--t-md); }
body.ux .champs .ch label { font-size: var(--t-xs); }
body.ux table.hist { font-size: var(--t-md); }
body.ux table.hist th { font-size: var(--t-xs); }

/* views/prof-assedic.ejs */
body.ux .vide { font-size: var(--t-md); }
body.ux .note { font-size: var(--t-xs); }
body.ux .avis { font-size: var(--t-md); }
body.ux .bloc > .t { font-size: var(--t-xs); }
body.ux .bloc > .c { font-size: var(--t-md); }
body.ux .totaux { font-size: var(--t-md); }
body.ux .totaux .bl .t { font-size: var(--t-xs); }
body.ux .totaux .bl .v { font-size: var(--t-lg); }

/* views/prof-bulletin.ejs */
body.ux .feuille { font-size: var(--t-md); }
body.ux .note { font-size: var(--t-xs); }
body.ux .avis { font-size: var(--t-md); }
body.ux .partie .t { font-size: var(--t-xs); }
body.ux .periode { font-size: var(--t-lg); }
body.ux table.paie { font-size: var(--t-md); }
body.ux table.paie th { font-size: var(--t-xs); }
body.ux .pied { font-size: var(--t-xs); }

/* views/prof-bulletins.ejs */
body.ux .vide { font-size: var(--t-md); }
body.ux .note { font-size: var(--t-xs); }
body.ux .avis { font-size: var(--t-md); }
body.ux .totaux { font-size: var(--t-md); }
body.ux .totaux .bl .t { font-size: var(--t-xs); }
body.ux .totaux .bl .v { font-size: var(--t-lg); }

/* views/prof-corbeille.ejs */
body.ux .note { font-size: var(--t-xs); }
body.ux .avis { font-size: var(--t-md); }
body.ux .champ > label { font-size: var(--t-md); }
body.ux .champ input[type=text] { font-size: var(--t-md); }
body.ux dl.fiche { font-size: var(--t-md); }
body.ux dl.fiche dt { font-size: var(--t-xs); }

/* views/prof-declarations.ejs */
body.ux .note { font-size: var(--t-xs); }
body.ux .vide { font-size: var(--t-md); }
body.ux .avis { font-size: var(--t-md); }
body.ux .eleves a { font-size: var(--t-md); }
body.ux table.dec { font-size: var(--t-md); }
body.ux table.dec th { font-size: var(--t-xs); }
body.ux form.saisie { font-size: var(--t-md); }
body.ux form.saisie label { font-size: var(--t-xs); }
body.ux form.saisie select, body.ux form.saisie textarea { font-size: var(--t-md); }
body.ux form.saisie button { font-size: var(--t-md); }
body.ux .radios label { font-size: var(--t-md); }

/* views/prof-dispos.ejs */
body.ux .grid-dispo { font-size: var(--t-md); }
body.ux .grid-dispo .toggle { font-size: var(--t-md); }

/* views/prof-edit.ejs */
body.ux .radio-row label { font-size: var(--t-md); }
body.ux .saved-badge { font-size: var(--t-md); }

/* views/prof-fiche.ejs */
body.ux dl.kv { font-size: var(--t-md); }
body.ux .statut-badge { font-size: var(--t-md); }

/* views/prof-fiches-suivi.ejs */
body.ux .vide { font-size: var(--t-md); }
body.ux .note { font-size: var(--t-xs); }
body.ux .avis { font-size: var(--t-md); }
body.ux .totaux { font-size: var(--t-md); }
body.ux .totaux .bl .t { font-size: var(--t-xs); }
body.ux .totaux .bl .v { font-size: var(--t-lg); }
body.ux table.fs td.saisie { font-size: var(--t-xs); }

/* views/prof-frais-deplacement.ejs */
body.ux .vide { font-size: var(--t-md); }
body.ux .note { font-size: var(--t-xs); }
body.ux .avis { font-size: var(--t-md); }
body.ux .totaux { font-size: var(--t-md); }
body.ux .totaux .bl .t { font-size: var(--t-xs); }
body.ux .totaux .bl .v { font-size: var(--t-lg); }
body.ux table.fd { font-size: var(--t-md); }
body.ux table.fd th { font-size: var(--t-xs); }

/* views/prof-matieres.ejs */
body.ux .matrice { font-size: var(--t-md); }
body.ux .matrice thead th { font-size: var(--t-md); }
body.ux .matrice .col-toggle { font-size: var(--t-md); }
body.ux .matrice .row-toggle { font-size: var(--t-md); }

/* views/prof-nouveau.ejs */
body.ux .np-hint { font-size: var(--t-xs); }
body.ux .np-mat { font-size: var(--t-md); }
body.ux .np-mat thead th { font-size: var(--t-xs); }
body.ux .np-mat .tout { font-size: var(--t-xs); }
body.ux .np-dispo { font-size: var(--t-md); }
body.ux .np-dispo .tout { font-size: var(--t-xs); }
body.ux .np-bar .compte { font-size: var(--t-md); }

/* views/prof-potentiel-carte.ejs */
body.ux .note { font-size: var(--t-xs); }
body.ux .vide { font-size: var(--t-md); }
body.ux .avis { font-size: var(--t-md); }
body.ux .plan .lbl { font-size: var(--t-xs); }
body.ux .totaux { font-size: var(--t-md); }
body.ux .totaux .bl .t { font-size: var(--t-xs); }
body.ux .totaux .bl .v { font-size: var(--t-lg); }

/* views/prof-potentiel-fiche.ejs */
body.ux dl.kv { font-size: var(--t-md); }
body.ux .note { font-size: var(--t-xs); }
body.ux .vide { font-size: var(--t-md); }
body.ux .avis { font-size: var(--t-md); }
body.ux .libre { font-size: var(--t-md); }
body.ux .appel { font-size: var(--t-md); }

/* views/prof-profil-ai.ejs */
body.ux .vide { font-size: var(--t-md); }
body.ux .note { font-size: var(--t-xs); }
body.ux .avis { font-size: var(--t-md); }
body.ux .mat { font-size: var(--t-md); }
body.ux .mat .m { font-size: var(--t-xs); }
body.ux .champ > label { font-size: var(--t-md); }
body.ux .champ textarea { font-size: var(--t-md); }
body.ux .champ .cpt { font-size: var(--t-xs); }

/* views/prof-profil.ejs */
body.ux .vide { font-size: var(--t-md); }
body.ux .note { font-size: var(--t-xs); }
body.ux .avis { font-size: var(--t-md); }
body.ux .champ > label { font-size: var(--t-md); }
body.ux .champ textarea { font-size: var(--t-md); }
body.ux .repris { font-size: var(--t-xs); }

/* views/prof-salaire-form.ejs */
body.ux .avis { font-size: var(--t-md); }
body.ux .note { font-size: var(--t-xs); }
body.ux .vide { font-size: var(--t-md); }

/* views/prof-salaires.ejs */
body.ux .vide { font-size: var(--t-md); }
body.ux .note { font-size: var(--t-xs); }
body.ux .avis { font-size: var(--t-md); }
body.ux table.compte { font-size: var(--t-md); }

/* views/profs-list.ejs */
body.ux table.recrut { font-size: var(--t-md); }

/* views/profs-potentiels.ejs */
body.ux .note { font-size: var(--t-xs); }
body.ux .cran { font-size: var(--t-md); }
body.ux .cran b { font-size: var(--t-md); }
body.ux .avis { font-size: var(--t-md); }

/* views/radhi-facture.ejs */
body.ux .ae-badge { font-size: var(--t-xs); }
body.ux .copy-feedback { font-size: var(--t-md); }

/* views/rappel-fiche.ejs */
body.ux .vide { font-size: var(--t-md); }
body.ux .note { font-size: var(--t-xs); }
body.ux .avis { font-size: var(--t-md); }
body.ux dl.fiche { font-size: var(--t-md); }
body.ux dl.fiche dt { font-size: var(--t-xs); }

/* views/recherche.ejs */
body.ux table.rg { font-size: var(--t-md); }
body.ux table.rg th { font-size: var(--t-xs); }
body.ux .rg-badge { font-size: var(--t-xs); }
body.ux .rg-familles { font-size: var(--t-md); }
body.ux table.rg tr.rg-section td { font-size: var(--t-md); }
body.ux table.rg td.fam { font-size: var(--t-xs); }

/* views/stats-quotidiennes.ejs */
body.ux .note { font-size: var(--t-xs); }
body.ux .avis { font-size: var(--t-md); }
body.ux .vues button { font-size: var(--t-md); }
body.ux table.st { font-size: var(--t-md); }
body.ux table.st th { font-size: var(--t-xs); }

/* LE GRAS POSÉ EN LIGNE. Trente déclarations `font-weight: bold` dans des
   attributs `style=`, qu'aucune feuille ne rattrape. Même jeton à repli que
   pour les tailles et les gris : sous `?ux=0` c'est `bold` qui s'applique,
   au pixel près comme avant. */
body.ux { --g-fort: 500; }

/* ===========================================================================
   UNSLOP — PASSE 5, FIN : LE GRAS DES FEUILLES D'ÉCRAN

   Relevé au navigateur après la première passe : il restait du 700 sur les
   en-têtes de colonne, les lignes de total et les titres de bloc — 110
   éléments sur l'analyse des leads, 81 sur la relance de rentrée. Chaque
   écran le posait dans sa propre feuille, avec son propre sélecteur.

   La hiérarchie vient de la taille et de la couleur. 500 suffit à faire
   ressortir un total d'une colonne de chiffres ; 700 partout ne fait
   ressortir rien, et ne laisse plus de cran au-dessus pour le jour où une
   seule chose doit crier.
   Règles engendrées par `scratchpad/passe5_poids.js` : 64 gabarits.
   =========================================================================== */
/* views/acces-envoi.ejs */
body.ux .champ > label { font-weight: 500; }

/* views/accueil-agenda.ejs */
body.ux .totaux .bl .v { font-weight: 500; }
body.ux .jour > .t .d { font-weight: 500; }

/* views/accueil-compte.ejs */
body.ux .charge .c .v { font-weight: 500; }

/* views/accueil-courriers.ejs */
body.ux .totaux .bl .v { font-weight: 500; }

/* views/accueil-notifications.ejs */
body.ux .totaux .bl .v { font-weight: 500; }
body.ux .pres { font-weight: 500; }

/* views/accueil-recouvrement.ejs */
body.ux .totaux .bl .v { font-weight: 500; }
body.ux td.du { font-weight: 500; }

/* views/accueil-salaires-procedures.ejs */
body.ux .totaux .bl .v { font-weight: 500; }
body.ux table.lg tr.on > td { font-weight: 500; }

/* views/accueil-salaires.ejs */
body.ux .totaux .bl .v { font-weight: 500; }

/* views/analyse-leads.ejs */
body.ux .vues a.on { font-weight: 500; }
body.ux .cle .v { font-weight: 500; }
body.ux h2.bloc { font-weight: 500; }
body.ux table.an th { font-weight: 500; }
body.ux table.an tr.total td { font-weight: 500; }

/* views/client-activite.ejs */
body.ux .totaux .bl .v { font-weight: 500; }
body.ux table.act td.per { font-weight: 500; }

/* views/client-attestations-fiscales.ejs */
body.ux .totaux .bl .v { font-weight: 500; }
body.ux table.af tr.annee > td { font-weight: 500; }

/* views/client-contrat-envoi.ejs */
body.ux .champ > label { font-weight: 500; }

/* views/client-factures.ejs */
body.ux sup.renvoi { font-weight: 500; }
body.ux .adr .nom { font-weight: 500; }
body.ux table.fc tfoot td { font-weight: 500; }
body.ux .pay-aucun { font-weight: 500; }
body.ux .pay-partiel { font-weight: 500; }
body.ux .pay-excedent { font-weight: 500; }
body.ux .ecart { font-weight: 500; }

/* views/client-fiches-suivi.ejs */
body.ux .totaux .bl .v { font-weight: 500; }
body.ux table.fs tr.fact > td { font-weight: 500; }

/* views/client-frais-remises.ejs */
body.ux .totaux .bl .v { font-weight: 500; }

/* views/client-versements.ejs */
body.ux .totaux .bl .v { font-weight: 500; }
body.ux table.compte tr.grp > td.lib { font-weight: 500; }
body.ux table.compte tr.grp > td.mt { font-weight: 500; }
body.ux table.compte tr.tot > td { font-weight: 500; }

/* views/clients-potentiels.ejs */
body.ux .cran.on { font-weight: 500; }

/* views/cours-cartographie.ejs */
body.ux .totaux .bl .v { font-weight: 500; }

/* views/cours-courriels.ejs */
body.ux ul.choix li a.on { font-weight: 500; }
body.ux .champ > label { font-weight: 500; }

/* views/cours-detail.ejs */
body.ux .cd-mat .pastille { font-weight: 500; }
body.ux .cd-onglets a.on { font-weight: 500; }

/* views/cours-historique.ejs */
body.ux .totaux .bl .v { font-weight: 500; }

/* views/cours-suivi-qualite.ejs */
body.ux .totaux .bl .v { font-weight: 500; }
body.ux .bilan .moy { font-weight: 500; }
body.ux .fiche-prof > .h { font-weight: 500; }

/* views/cours-tarifs.ejs */
body.ux table.tc th { font-weight: 500; }
body.ux .titre-bloc { font-weight: 500; }

/* views/cours.ejs */
body.ux .co-onglets a.on { font-weight: 500; }
body.ux .co-box > .t { font-weight: 500; }
body.ux table.co .mat { font-weight: 500; }
body.ux table.co .lock { font-weight: 500; }
body.ux .co-etoile { font-weight: 500; }

/* views/eleve-bilans.ejs */
body.ux .totaux .bl .v { font-weight: 500; }
body.ux .bilan > .t .mois { font-weight: 500; }
body.ux .rep .v { font-weight: 500; }

/* views/eleve-dossier-scolaire.ejs */
body.ux .champ > label { font-weight: 500; }

/* views/facturation-vue.ejs */
body.ux .fa-onglets a.on { font-weight: 500; }
body.ux table.fa tfoot td { font-weight: 500; }

/* views/facturation.ejs */
body.ux .fa-onglets a.on { font-weight: 500; }
body.ux .fa-filtre .t { font-weight: 500; }
body.ux table.fa .fa-renvoi sup { font-weight: 500; }
body.ux table.fa th.etape .n { font-weight: 500; }
body.ux table.fa .client { font-weight: 500; }
body.ux table.fa .montant { font-weight: 500; }
body.ux table.fa .retard { font-weight: 500; }
body.ux table.fa tfoot td { font-weight: 500; }

/* views/factures-resume.ejs */
body.ux .page-actions a { font-weight: 500; }
body.ux .pdf-link { font-weight: 500; }
body.ux .reset-frais-btn { font-weight: 500; }

/* views/fiche-agenda.ejs */
body.ux .totaux .bl .v { font-weight: 500; }

/* views/fiche-bloc-notes.ejs */
body.ux .champ > label { font-weight: 500; }

/* views/fiche-documents.ejs */
body.ux .totaux .bl .v { font-weight: 500; }
body.ux table.doc tr.dossier > td { font-weight: 500; }

/* views/fiche-emails-types.ejs */
body.ux .champ > label { font-weight: 500; }

/* views/fiche-mailbox.ejs */
body.ux .totaux .bl .v { font-weight: 500; }

/* views/fiche-sms.ejs */
body.ux .totaux .bl .v { font-weight: 500; }

/* views/heures.ejs */
body.ux table.h tfoot tr { font-weight: 500; }

/* views/home.ejs */
body.ux .slot.now .h, body.ux .slot.now .b { font-weight: 500; }
body.ux table.rg .nom { font-weight: 500; }
body.ux .clp-src { font-weight: 500; }

/* views/journal-appels.ejs */
body.ux .tel { font-weight: 500; }

/* views/legacy/cours.ejs */
body.ux .divMenuTop div { font-weight: 500; }

/* views/legacy/partials/cours-prof.ejs */
body.ux table.cp tr.dossier td { font-weight: 500; }
body.ux table.cp tfoot td { font-weight: 500; }

/* views/messages-clients.ejs */
body.ux .barre .onglets a.on { font-weight: 500; }

/* views/partials/barre-famille.ejs */
body.ux #ulMenu div.menuClass.courant a { font-weight: 500; }

/* views/partials/selecteur-commune.ejs */
body.ux .sc-tete .t { font-weight: 500; }
body.ux .sc-liste div.on { font-weight: 500; }

/* views/potentiel-courriers.ejs */
body.ux .totaux .bl .v { font-weight: 500; }

/* views/prof-activite.ejs */
body.ux .totaux .bl .v { font-weight: 500; }
body.ux table.act td.per { font-weight: 500; }

/* views/prof-assedic.ejs */
body.ux table.emp tr.on > td { font-weight: 500; }
body.ux .totaux .bl .v { font-weight: 500; }

/* views/prof-bulletin.ejs */
body.ux .partie .nom { font-weight: 500; }
body.ux .periode { font-weight: 500; }
body.ux table.paie tr.tot td { font-weight: 500; }
body.ux .final .gros { font-weight: 500; }

/* views/prof-bulletins.ejs */
body.ux .totaux .bl .v { font-weight: 500; }
body.ux table.bp tr.mois > td { font-weight: 500; }

/* views/prof-corbeille.ejs */
body.ux .champ > label { font-weight: 500; }

/* views/prof-declarations.ejs */
body.ux .eleves a.on { font-weight: 500; }
body.ux table.dec tr.total td { font-weight: 500; }
body.ux form.saisie button { font-weight: 500; }

/* views/prof-fiche.ejs */
body.ux .statut-badge { font-weight: 500; }

/* views/prof-fiches-suivi.ejs */
body.ux .totaux .bl .v { font-weight: 500; }
body.ux table.fs tr.mois > td { font-weight: 500; }

/* views/prof-frais-deplacement.ejs */
body.ux .totaux .bl .v { font-weight: 500; }
body.ux table.fd td.fdm { font-weight: 500; }
body.ux table.fd tfoot td { font-weight: 500; }

/* views/prof-matieres.ejs */
body.ux .mat-aide-devoirs td:first-child { font-weight: 500; }

/* views/prof-nouveau.ejs */
body.ux .np-mat tr.aide-devoirs td.lbl { font-weight: 500; }

/* views/prof-potentiel-carte.ejs */
body.ux .totaux .bl .v { font-weight: 500; }

/* views/prof-profil-ai.ejs */
body.ux .mat.on { font-weight: 500; }
body.ux .champ > label { font-weight: 500; }
body.ux .champ.coupe .cpt { font-weight: 500; }

/* views/prof-profil.ejs */
body.ux .champ > label { font-weight: 500; }

/* views/prof-salaires.ejs */
body.ux table.compte tr.grp > td.lib { font-weight: 500; }
body.ux table.compte tr.grp > td.mt { font-weight: 500; }
body.ux table.compte tr.tot > td { font-weight: 500; }

/* views/profs-potentiels.ejs */
body.ux .cran.on { font-weight: 500; }

/* views/radhi-facture.ejs */
body.ux .ae-badge { font-weight: 500; }
body.ux .highlight { font-weight: 500; }
body.ux .total-row td { font-weight: 500; }

/* views/rappel-fiche.ejs */
body.ux .num { font-weight: 500; }

/* views/recherche.ejs */
body.ux table.rg .nom { font-weight: 500; }
body.ux table.rg tr.rg-section td { font-weight: 500; }

/* views/stats-quotidiennes.ejs */
body.ux .vues button.on { font-weight: 500; }
body.ux table.st tr.tot td { font-weight: 500; }
body.ux table.st tr.mois td { font-weight: 500; }

/* Les trois derniers écarts de taille, relevés au navigateur : la classe
   `text-muted` de `legacy.css` et les deux boutons minces de la relance. */
body.ux .text-muted { font-size: var(--t-sm); }
body.ux .btn-mini.btn-contact-manuel, body.ux .btn-mini.btn-historique { font-size: var(--t-sm); }

/* LE GRAS QUI RESTAIT DANS `legacy.css`.
   Relevé au navigateur : 81 éléments en 700 sur la relance de rentrée, tous
   hérités d'une seule règle — la ligne de famille d'un tableau groupé met
   ses cellules en gras, et le reste suit. Plus l'onglet actif, le bouton
   jaune, le titre d'une carte et le nom d'une fiche. Même mesure, même
   valeur : 500. */
body.ux .lg-tabs a.on { font-weight: 500; }
body.ux .lg-btn.yellow { font-weight: 500; }
body.ux .table-grouped tr.row-famille td { font-weight: 500; }
body.ux .lg-card .kicker { font-weight: 500; }
body.ux .lg-ident h1 { font-weight: 500; }

/* ===========================================================================
   UNSLOP — PASSE 5 : LES CAPITALES QUE MON RELEVÉ NE VOYAIT PAS

   LA MESURE ÉTAIT FAUSSE, ET IL FAUT LE DIRE. La sonde demandait que le
   texte SOURCE soit déjà en capitales ; or `text-transform: uppercase`
   agit à l'affichage — le nœud de texte reste « Étape », c'est le rendu
   qui crie « ÉTAPE ». Elle ne voyait donc que les trois en-têtes de la
   facturation, écrits en dur en capitales, et annonçait zéro ailleurs.
   Il y en avait cinquante-cinq.

   Pourquoi ça compte : les capitales suppriment la ligne d'ascendantes et
   de descendantes par laquelle on reconnaît un mot sans le lire. Sur un
   en-tête de colonne qu'on relit cent fois par jour, c'est cent fois le
   mot épelé au lieu d'être reconnu.

   CE QU'ON NE TOUCHE PAS : les endroits où la capitale EST le mot. Une
   extension de fichier s'écrit PDF, un code d'étape s'écrit MD. « Pdf » et
   « Md » seraient faux.
   Règles engendrées par `scratchpad/passe5_capitales.js` : 48 gabarits, 1 sélecteur(s) gardé(s).
   =========================================================================== */
/* views/acces-envoi.ejs */
body.ux dl.fiche dt { text-transform: none; letter-spacing: 0; }

/* views/acces-prive.ejs */
body.ux dl.fiche dt { text-transform: none; letter-spacing: 0; }
body.ux .ident .titre { text-transform: none; letter-spacing: 0; }

/* views/accueil-agenda.ejs */
body.ux .totaux .bl .t { text-transform: none; letter-spacing: 0; }

/* views/accueil-compte.ejs */
body.ux dl.fiche dt { text-transform: none; letter-spacing: 0; }

/* views/accueil-courriers.ejs */
body.ux .totaux .bl .t { text-transform: none; letter-spacing: 0; }

/* views/accueil-notifications.ejs */
body.ux .totaux .bl .t { text-transform: none; letter-spacing: 0; }

/* views/accueil-recouvrement.ejs */
body.ux .totaux .bl .t { text-transform: none; letter-spacing: 0; }

/* views/accueil-salaires-procedures.ejs */
body.ux .totaux .bl .t { text-transform: none; letter-spacing: 0; }

/* views/accueil-salaires.ejs */
body.ux .totaux .bl .t { text-transform: none; letter-spacing: 0; }

/* views/analyse-leads.ejs */
body.ux .cle .t { text-transform: none; letter-spacing: 0; }

/* views/client-activite.ejs */
body.ux .totaux .bl .t { text-transform: none; letter-spacing: 0; }

/* views/client-attestations-fiscales.ejs */
body.ux .totaux .bl .t { text-transform: none; letter-spacing: 0; }

/* views/client-contrat-envoi.ejs */
body.ux dl.fiche dt { text-transform: none; letter-spacing: 0; }

/* views/client-factures.ejs */
body.ux table.fc th { text-transform: none; letter-spacing: 0; }

/* views/client-fiches-suivi.ejs */
body.ux .totaux .bl .t { text-transform: none; letter-spacing: 0; }

/* views/client-frais-remises.ejs */
body.ux .totaux .bl .t { text-transform: none; letter-spacing: 0; }

/* views/client-versements.ejs */
body.ux .totaux .bl .t { text-transform: none; letter-spacing: 0; }

/* views/cours-cartographie.ejs */
body.ux .totaux .bl .t { text-transform: none; letter-spacing: 0; }

/* views/cours-courriels.ejs */
body.ux .stade { text-transform: none; letter-spacing: 0; }
body.ux dl.fiche dt { text-transform: none; letter-spacing: 0; }

/* views/cours-detail.ejs */
body.ux .cd-ident .t { text-transform: none; letter-spacing: 0; }

/* views/cours-historique.ejs */
body.ux .totaux .bl .t { text-transform: none; letter-spacing: 0; }

/* views/cours-suivi-qualite.ejs */
body.ux .totaux .bl .t { text-transform: none; letter-spacing: 0; }

/* views/eleve-bilans.ejs */
body.ux .totaux .bl .t { text-transform: none; letter-spacing: 0; }

/* views/eleve-nouveau.ejs */
body.ux .ro dt { text-transform: none; letter-spacing: 0; }

/* views/facturation-vue.ejs */
body.ux table.fa th { text-transform: none; letter-spacing: 0; }

/* views/facturation.ejs */
body.ux table.fa th { text-transform: none; letter-spacing: 0; }

/* views/fiche-agenda.ejs */
body.ux .totaux .bl .t { text-transform: none; letter-spacing: 0; }

/* views/fiche-cartographie.ejs */
body.ux .groupe > .t { text-transform: none; letter-spacing: 0; }

/* views/fiche-documents.ejs */
body.ux .totaux .bl .t { text-transform: none; letter-spacing: 0; }

/* views/fiche-mailbox.ejs */
body.ux .totaux .bl .t { text-transform: none; letter-spacing: 0; }

/* views/fiche-sms.ejs */
body.ux .totaux .bl .t { text-transform: none; letter-spacing: 0; }

/* views/journal-appels.ejs */
body.ux .filtres legend { text-transform: none; letter-spacing: 0; }

/* views/partials/selecteur-commune.ejs */
body.ux .sc-lbl { text-transform: none; letter-spacing: 0; }

/* views/potentiel-courriers.ejs */
body.ux .totaux .bl .t { text-transform: none; letter-spacing: 0; }

/* views/potentiel-edit.ejs */
body.ux .ro dt { text-transform: none; letter-spacing: 0; }

/* views/prof-activite.ejs */
body.ux .totaux .bl .t { text-transform: none; letter-spacing: 0; }

/* views/prof-adresse.ejs */
body.ux .champs .ch label { text-transform: none; letter-spacing: 0; }
body.ux table.hist th { text-transform: none; letter-spacing: 0; }

/* views/prof-assedic.ejs */
body.ux .bloc > .t { text-transform: none; letter-spacing: 0; }
body.ux .totaux .bl .t { text-transform: none; letter-spacing: 0; }

/* views/prof-bulletin.ejs */
body.ux .partie .t { text-transform: none; letter-spacing: 0; }
body.ux table.paie th { text-transform: none; letter-spacing: 0; }

/* views/prof-bulletins.ejs */
body.ux .totaux .bl .t { text-transform: none; letter-spacing: 0; }

/* views/prof-corbeille.ejs */
body.ux dl.fiche dt { text-transform: none; letter-spacing: 0; }

/* views/prof-declarations.ejs */
body.ux form.saisie label { text-transform: none; letter-spacing: 0; }

/* views/prof-fiches-suivi.ejs */
body.ux .totaux .bl .t { text-transform: none; letter-spacing: 0; }

/* views/prof-frais-deplacement.ejs */
body.ux .totaux .bl .t { text-transform: none; letter-spacing: 0; }
body.ux table.fd th { text-transform: none; letter-spacing: 0; }

/* views/prof-matieres.ejs */
body.ux .matrice thead th { text-transform: none; letter-spacing: 0; }

/* views/prof-potentiel-carte.ejs */
body.ux .totaux .bl .t { text-transform: none; letter-spacing: 0; }

/* views/rappel-fiche.ejs */
body.ux dl.fiche dt { text-transform: none; letter-spacing: 0; }

/* views/recherche.ejs */
body.ux table.rg th { text-transform: none; letter-spacing: 0; }

/* LES CAPITALES POSÉES EN LIGNE.
   Sept déclarations `text-transform: uppercase` dans des attributs `style=`,
   dont celle qui met en capitales les dix intitulés du bandeau de la fiche
   client — « Compte », « Contact », « Agenda » sont écrits en casse de
   phrase dans la donnée, c'est l'affichage qui criait. Un style en ligne ne
   se rattrape pas : même jeton à repli que pour les tailles, les gris et le
   gras. Sous `?ux=0` c'est `uppercase` qui s'applique, comme avant. */
body.ux { --casse-titre: none; }

/* LE GRAS QUI NE VENAIT D'AUCUNE FEUILLE : celui du navigateur.
   Un `<th>` est en 700 par defaut. Les tableaux de notre portage etaient
   deja ramenes a 500 ; les tables brutes reprises de l'ancien admin, non —
   il restait une quinzaine d'en-tetes par ecran a crier en gras. Meme
   regle : la hierarchie vient de la taille et de la couleur. */
body.ux th { font-weight: 500; }

/* Le titre d'un cadre du dossier (`TopSide`, le partiel `cadre.ejs`) : la
   derniere cellule en 700 de l'application. */
body.ux td.TopSide { font-weight: 500; }

/* LES DEUX DERNIERS ECARTS, TROUVES PAR LE BALAYAGE DE CONFIRMATION.
   . `.btn-mini` n'avait recu que son creux, son filet et son rayon : sa
     taille restait a 10,5 px, celle de `legacy.css`. Elle rejoint le pas
     secondaire comme les autres commandes ;
   . les numeros de telephone des deux viviers sont construits en chaine
     DANS `server.js` — le seul endroit hors des gabarits qui pose un style
     en ligne. Ils passent par les memes jetons a repli que le reste. */
body.ux .btn-mini { font-size: var(--t-sm); }

/* LA BARRE DE FAMILLE, DEUX DERNIERS ECARTS TROUVES AU BALAYAGE.
   . le vivier professeur ecrivait ses onglets en 16 px quand les trois
     autres familles les ecrivent en 12 : la meme barre changeait de taille
     selon la fiche ouverte, ce que le partiel partage etait justement cense
     empecher ;
   . le nom du dossier, a gauche de la barre, etait le dernier 700 de
     l'application. */
body.ux #ulMenu div.menuClass a { font-size: var(--t-sm); }
body.ux .bf-rec { font-weight: 500; }

/* ===========================================================================
   LE DOSSIER CLIENT : LES DEUX LISTES QUI N'AVAIENT PLUS DE FOND

   CE QUE LE PORTAGE AVAIT PERDU. Chez l'ancien admin, le dossier vit dans
   une iframe, et le journal d'appels dans une SECONDE iframe imbriquée dans
   la première. Chacune avait donc sa propre barre de défilement, et chaque
   liste était bornée par la hauteur de son cadre. En les inlinant — le
   rendu étant identique et cela évitant deux routes — on a gagné deux
   sessions et perdu ces deux bornes. Le commentaire de
   `dossier-client.ejs` le disait déjà : « seule la barre de défilement
   indépendante disparaît ».

   CE QUE ÇA COÛTAIT. Mesuré sur un dossier à 85 notes : le bloc-notes
   faisait 4 450 px à lui seul, et c'est lui qui fixait la hauteur de toute
   la page — 7 494 px. On faisait défiler quatre écrans et demi de notes
   avant d'atteindre les heures de cours.

   520 px montrent une dizaine de notes, ce qui est la profondeur qu'on lit
   d'un coup d'œil ; au-delà on cherche, et chercher dans une liste veut une
   barre, pas une page. Le formulaire d'ajout reste HORS de la boîte : sinon
   il faudrait descendre toute la liste pour écrire une note.
   =========================================================================== */
body.ux .lg-liste-bornee {
  max-height: 520px; overflow-y: auto; overflow-x: hidden;
  /* Le filet dit que la boîte continue sous le pli — sans lui, une liste
     coupée net se lit comme une liste finie. */
  border-bottom: 1px solid var(--c-filet);
}
body.ux .lg-liste-bornee > table { margin-bottom: 0; }
