/* ═══════════════════════════════════════════════════════════════
   NIMRY InfraXact — Base : reset, typographie, shell, login
   ═══════════════════════════════════════════════════════════════ */

*,*::before,*::after{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0; font-family:var(--font); background:var(--bg); color:var(--ink);
  font-size:14px; line-height:1.55; -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4,h5{margin:0; font-weight:650; letter-spacing:-.01em; color:var(--ink)}
h1{font-size:22px} h2{font-size:19px} h3{font-size:16px} h4{font-size:14px} h5{font-size:13px}
p{margin:0}
a{color:var(--lien); text-decoration:none}
a:hover{text-decoration:underline}
button{font-family:inherit; font-size:inherit}
/* Les icônes de l'interface : 18 px, sans remplissage, tracées à la
   couleur du texte.

   L'exclusion n'est pas un détail. Leaflet dessine ses vecteurs dans un
   <svg> qu'il pose à la racine d'un calque, et dont il fixe la taille
   par attribut — or un `width`/`height` venu d'une feuille de style
   l'emporte sur l'attribut. Cette règle-ci ramenait donc ce <svg> à
   18 × 18 px : les tuiles s'affichaient, la carte se recentrait, et le
   tracé comme les marqueurs étaient dessinés hors du cadre, invisibles.
   `:where()` porte l'exclusion sans peser sur la spécificité, pour que
   les habillages d'icônes plus bas continuent de l'emporter tels quels.
   Seule la racine d'un calque est écartée : une icône posée dans une
   infobulle de carte garde son habillage. */
svg:not(:where(.leaflet-pane > svg)){width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.8;
    stroke-linecap:round; stroke-linejoin:round; flex:none}
.is-hidden{display:none !important}
.muted{color:var(--ink-3)}
.small{font-size:12.5px}
.mono{font-family:var(--mono); font-size:12.5px}
.nowrap{white-space:nowrap}
.right{text-align:right}
.center{text-align:center}

:focus-visible{outline:2px solid var(--brand); outline-offset:2px; border-radius:4px}
::-webkit-scrollbar{width:10px;height:10px}
::-webkit-scrollbar-thumb{background:var(--scroll);border-radius:99px;border:3px solid transparent;background-clip:content-box}
::-webkit-scrollbar-thumb:hover{background:var(--scroll-survol);background-clip:content-box}
::-webkit-scrollbar-track{background:transparent}

/* ═══════════════ CONNEXION ═══════════════ */
.login{display:grid; grid-template-columns:1.05fr .95fr; min-height:100vh}
.login__brand{
  background:linear-gradient(150deg,#0f1b33 0%,#15264a 48%,#1c356b 100%);
  color:#fff; display:flex; align-items:center; padding:64px; position:relative; overflow:hidden;
}
.login__brand::after{
  content:""; position:absolute; right:-160px; bottom:-200px; width:560px; height:560px;
  border-radius:50%; background:radial-gradient(circle at 35% 35%, rgba(245,158,11,.30), transparent 62%);
}
.login__brand::before{
  content:""; position:absolute; left:-140px; top:-160px; width:460px; height:460px;
  border-radius:50%; background:radial-gradient(circle at 50% 50%, rgba(37,99,235,.36), transparent 65%);
}
.login__brand-inner{position:relative; z-index:1; max-width:480px}
.login__logo{width:210px; margin-bottom:44px}
.login__title{font-size:44px; line-height:1.1; color:#fff; letter-spacing:-.025em; font-weight:700}
.login__tagline{margin-top:16px; font-size:16px; color:#c3d0e4; line-height:1.65}
.login__points{list-style:none; margin:36px 0 0; padding:0; display:grid; gap:14px}
.login__points li{position:relative; padding-left:30px; color:#dbe4f1; font-size:14.5px}
.login__points li::before{
  content:""; position:absolute; left:0; top:7px; width:16px; height:16px; border-radius:50%;
  background:var(--accent); box-shadow:0 0 0 4px rgba(245,158,11,.18);
}
.login__foot{margin-top:56px; font-size:12.5px; color:#8ea2c0; letter-spacing:.02em}

.login__panel{display:flex; align-items:center; justify-content:center; padding:48px; background:var(--surface)}
.login__form{width:100%; max-width:400px}
.login__form h2{font-size:26px; margin:18px 0 8px}
.login__note{margin-top:18px; text-align:center; font-size:12px; color:var(--ink-4)}

.field{margin-top:20px}
.field>label{display:block; font-size:12.5px; font-weight:600; color:var(--ink-2); margin-bottom:7px}
/* Courriel, recherche, téléphone, adresse, mois et semaine s'y ajoutent (16/11/2026) : absents de
   la liste, ils restaient au style brut du navigateur — le champ « Chercher » des sites faisait la
   moitié d'un bouton. */
input[type=text],input[type=password],input[type=number],input[type=date],input[type=datetime-local],
input[type=time],input[type=color],input[type=email],input[type=search],input[type=tel],input[type=url],
input[type=month],input[type=week],select,textarea{
  width:100%; padding:10px 16px; border:1.5px solid var(--line-fort); border-radius:var(--r-champ);
  background-color:var(--surface); color:var(--ink); font-size:14.5px; line-height:1.4; font-family:inherit; outline:none;
  transition:border-color var(--d-court), box-shadow var(--d-court);
}
input:hover,select:hover,textarea:hover{border-color:var(--ink-4)}
/* Le focus prend l'orange du logo, comme Adarka prend son cyan. */
input:focus,select:focus,textarea:focus{border-color:var(--accent); box-shadow:0 0 0 4px var(--focus-anneau)}
input::placeholder,textarea::placeholder{color:var(--ink-4)}
textarea{resize:vertical; min-height:80px; line-height:1.6}
input[type=color]{padding:4px; height:44px; cursor:pointer}
/* La liste déroulante : un chevron dessiné, à la couleur du texte discret. */
select:not([multiple]):not([size]){
  appearance:none; -webkit-appearance:none; padding-right:44px; cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a8eaa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 14px center; background-size:18px;
}
/* Les cases à cocher : rondes partout (style Adarka, 17/11/2026). */
input[type=checkbox]{
  -webkit-appearance:none; appearance:none; flex:none; display:inline-grid; place-items:center;
  width:20px; height:20px; margin:0; border:2px solid var(--ink-4); border-radius:50%;
  background:var(--surface) center / 12px 12px no-repeat; cursor:pointer; vertical-align:middle;
  transition:background-color var(--d-court), border-color var(--d-court);
}
input[type=checkbox]:hover{border-color:var(--brand)}
input[type=checkbox]:focus-visible{box-shadow:0 0 0 4px var(--focus-anneau)}
input[type=checkbox]:checked, input[type=checkbox]:indeterminate{border-color:var(--brand); background-color:var(--brand)}
input[type=checkbox]:checked{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")}
input[type=checkbox]:indeterminate{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E")}
input[type=checkbox]:disabled{opacity:.45; cursor:not-allowed}
.checkrow input[type=checkbox]{width:20px; height:20px}
input[type=radio]{accent-color:var(--brand); width:18px; height:18px}
/* La nuit, la marque s'éclaircit : la coche devient de l'encre. */
:root[data-theme="sombre"] input[type=checkbox]:checked{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310122b' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")}
@media (prefers-color-scheme: dark){
  :root[data-theme="appareil"] input[type=checkbox]:checked{
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310122b' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")}
}



.roles{display:grid; grid-template-columns:1fr 1fr; gap:9px}
.role{
  display:flex; gap:10px; align-items:center; padding:11px 12px; border:1px solid var(--line);
  border-radius:var(--r); cursor:pointer; background:var(--surface); transition:.15s; text-align:left;
}
.role:hover{border-color:var(--line-fort); background:var(--surface-2)}
.role.is-on{border-color:var(--brand); background:var(--brand-50); box-shadow:0 0 0 3px var(--focus-anneau)}
.role__av{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font-size:11px;font-weight:700;
  background:var(--brand-100); color:var(--brand-700); flex:none}
.role.is-on .role__av{background:var(--brand); color:#fff}
.role__t{display:block; font-size:12.5px; font-weight:600; line-height:1.25}
.role__s{display:block; font-size:11px; color:var(--ink-3); line-height:1.3}

/* ═══════════════ TOPBAR ═══════════════ */
.app{min-height:100vh; display:flex; flex-direction:column}
.topbar{
  height:var(--topbar-h); background:var(--surface); border-bottom:1px solid var(--line);
  display:flex; align-items:center; gap:18px; padding:0 18px; position:sticky; top:0; z-index:60;
}
.topbar__left{display:flex; align-items:center; gap:14px; flex:0 1 auto; min-width:0}
/* Le bouton était masqué hors petit écran : il ne pilotait qu'un tiroir
   mobile, et sur un poste de bureau il ne faisait donc rien. Le client
   attend qu'il replie la barre latérale — c'est ce qu'il fait
   désormais, et il est visible partout. */
.topbar__burger{display:grid}
.topbar__brand{display:flex; align-items:center; gap:11px; text-decoration:none}
.topbar__brand:hover{text-decoration:none}
.topbar__brand img{height:26px; width:auto}
.topbar__product{
  font-size:15px; font-weight:650; color:var(--ink); padding-left:11px;
  border-left:1px solid var(--line); letter-spacing:-.01em;
}
/* Le conteneur des deux périmètres — métier et pays. `contents` le
   retire de la mise en page : ses enfants restent enfants directs de
   .topbar__left, et la barre est exactement celle d'avant. Il ne
   reprend corps que sur petit écran, où il devient un second rang
   (voir components.css). */
/* Le périmètre (16/11/2026) : une pastille qui dit où l'on est — « Tous les métiers · Tous les clients ·
   Niger » — et, au clic, un panneau où chaque choix a sa ligne et son nom. Les sélecteurs étalés dans la
   barre l'encombraient ; sur téléphone, la pastille passe sur un second rang (components.css). */
.topbar__scopes{position:relative; flex:0 1 auto; min-width:0}
.topbar__ctx{display:flex; align-items:center; gap:8px; height:34px; max-width:440px; padding:0 12px 0 11px;
  border:1px solid var(--line); border-radius:99px; background:var(--surface-2); color:var(--ink-2);
  font:inherit; font-size:13px; font-weight:550; text-align:left; cursor:pointer; min-width:0}
.topbar__ctx:hover{border-color:var(--line-fort); background:var(--surface)}
.topbar__ctx-ic{display:inline-flex; color:var(--ink-3)}
.topbar__ctx-ic svg{width:15px; height:15px}
.topbar__ctx-t{flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.topbar__ctx-chev{flex:none; width:14px; height:14px; transition:transform .15s ease}
.topbar__ctx[aria-expanded="true"]{border-color:var(--brand); background:var(--surface)}
.topbar__ctx[aria-expanded="true"] .topbar__ctx-chev{transform:rotate(180deg)}
.topbar__ctxpanel{display:none; position:absolute; left:0; top:calc(100% + 8px); z-index:70; width:340px;
  flex-direction:column; gap:12px; padding:14px; background:var(--surface); border:1px solid var(--line);
  border-radius:var(--r-lg); box-shadow:var(--sh-4)}
.topbar__scopes.is-ouvert .topbar__ctxpanel{display:flex}
.topbar__scope{display:grid; grid-template-columns:auto 1fr; grid-template-areas:"nom nom" "ic ch"; gap:4px 8px;
  align-items:center; min-width:0; color:var(--ink-3)}
.topbar__scope-l{display:block; grid-area:nom; font-size:11px; font-weight:700; letter-spacing:.08em;
  text-transform:uppercase; color:var(--ink-4)}
.topbar__scope>svg{grid-area:ic; width:15px; height:15px; flex:none}
.topbar__scope form,.topbar__scope .topbar__pays{grid-area:ch; min-width:0; display:flex}
.topbar__scope select,.topbar__scope .topbar__pays{width:100%; max-width:none; height:38px; padding:0 12px;
  border:1px solid var(--line); border-radius:10px; background:var(--surface-2); font-size:13.5px; font-weight:550;
  color:var(--ink-2); cursor:pointer}
.topbar__scope .topbar__pays{line-height:38px; align-items:center; cursor:default; white-space:nowrap}

/* Le sélecteur de langue partage la présentation du sélecteur de pays :
   ce sont deux réglages de même nature — le périmètre qu'on regarde et
   la langue dans laquelle on le lit. */
.topbar__langue{display:flex; align-items:center; gap:7px; padding:0 4px 0 11px;
  border:1px solid var(--line); border-radius:99px; height:34px;
  color:var(--ink-3); background:var(--surface-2)}
.topbar__langue svg{width:15px;height:15px}
.topbar__langue select{border:0; background:transparent; padding:0 8px 0 0; height:32px;
  font-size:13px; font-weight:550; color:var(--ink-2); cursor:pointer; width:auto}
.topbar__langue select:focus{box-shadow:none}

/* « Me guider » : un bouton dit ce qu'il fait, un pictogramme seul se
    cherche. Sous 1180 px le mot s'efface — la place manque — et le titre
    survolé prend le relais. */
.topbar__guide{display:inline-flex; align-items:center; gap:6px; height:34px;
  padding:0 13px; border-radius:99px; font-weight:600; white-space:nowrap}
.topbar__guide svg{width:15px; height:15px}
@media (max-width:1440px){ .topbar__guide span{display:none} .topbar__guide{padding:0 9px} }
/* Quand la barre se remplit, ce sont les champs de recherche et le nom du produit qui cèdent — jamais les
   sélecteurs, qui se chevauchaient : ils commandent ce que montre l'écran. */
@media (max-width:1360px){ .topbar__product{display:none} }
/* ── Le bandeau se tasse quand la place manque (DC200b) ──────────
   Quatre périmètres (métier, client, activité, pays) + recherche +
   langue + boutons ne tiennent plus sur un portable 1366 : les
   pastilles, insécables, poussaient le pays sous la recherche. Elles
   rétrécissent désormais avec des points de suspension, puis les textes
   d'accompagnement s'effacent par paliers — pictogrammes seuls, dont
   l'infobulle garde le nom. Rien ne disparaît : tout reste cliquable. */
@media (max-width:1560px){
  .topbar{gap:12px}
  .topbar__ctx{max-width:300px}
  .topbar__user .r{display:none}
}
@media (max-width:1360px){
  .topbar__ctx{max-width:240px}
  .topbar__langue{position:relative; width:34px; height:34px; padding:0; justify-content:center; border-radius:50%}
  .topbar__langue svg{width:17px; height:17px}
  .topbar__langue form{position:absolute; inset:0}
  .topbar__langue select{position:absolute; inset:0; width:100%; height:100%; max-width:none; opacity:0; cursor:pointer}
  .topbar__user{padding:4px}
  .topbar__user>span:not(.avatar){display:none}
}
@media (max-width:1180px){
  .topbar__ctx{max-width:200px}
  .topbar__search{min-width:100px}
}

.topbar__search{flex:1 1 150px; min-width:120px; max-width:520px; position:relative; display:flex; align-items:center}
.topbar__search svg{position:absolute; left:13px; color:var(--ink-4); width:16px; height:16px}
.topbar__search input{padding:9px 44px 9px 39px; background:var(--surface-2); border-radius:99px; font-size:13.5px}
.topbar__search kbd{position:absolute; right:12px; font-family:var(--font); font-size:11px; color:var(--ink-4);
  border:1px solid var(--line); border-radius:5px; padding:1px 6px; background:var(--surface)}

.topbar__right{margin-left:auto; display:flex; align-items:center; gap:10px; flex:none}
.topbar__user{display:flex; align-items:center; gap:10px; padding:4px 10px 4px 4px; border-radius:99px;
  cursor:pointer; transition:.15s}
.topbar__user:hover{background:var(--surface-2)}
.avatar{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;font-size:11.5px;font-weight:700;
  background:var(--brand); color:#fff; flex:none; letter-spacing:.02em}
.avatar--sm{width:26px;height:26px;font-size:10px}
.avatar--lg{width:40px;height:40px;font-size:13px}
.avatar--xl{width:88px;height:88px;font-size:28px}

/* Une photo remplace les initiales dans le même gabarit : mêmes
   dimensions, même rond, même place dans la ligne. Sans le fond neutre,
   une photo qui met du temps à venir laisserait un disque bleu vif là
   où il y aura un visage. */
.avatar--photo{background:var(--surface-2); overflow:hidden; padding:0}
.avatar--photo img{width:100%; height:100%; object-fit:cover; display:block}
.topbar__user .n{display:block; font-size:12.5px; font-weight:600; line-height:1.25}
.topbar__user .r{display:block; font-size:11px; color:var(--ink-3); line-height:1.25}

/* ═══════════════ SHELL / SIDEBAR ═══════════════ */
.shell{flex:1; display:flex; min-height:0}
.sidebar{
  width:var(--side-w); flex:none; background:var(--surface); border-right:1px solid var(--line);
  padding:10px 12px 32px; overflow-y:auto; position:sticky; top:var(--topbar-h);
  height:calc(100vh - var(--topbar-h));
}
.navgroup{margin:0; padding:20px 0 14px; border-top:1px solid var(--line-2)}
.navgroup:first-child{border-top:0; padding-top:12px}
.navitem{
  display:flex; align-items:center; gap:12px; padding:10px 12px; min-height:40px; border-radius:var(--r);
  color:var(--ink-2); font-size:13.5px; font-weight:500; cursor:pointer; text-decoration:none;
  margin-bottom:2px; transition:.13s; position:relative;
}
.navitem:hover{background:var(--surface-2); color:var(--ink); text-decoration:none}
.navitem.is-on{background:var(--brand-50); color:var(--brand-700); font-weight:620}
.navitem.is-on svg{color:var(--brand)}
.navitem svg{width:17px;height:17px;color:var(--ink-4)}
.navitem .cnt{margin-left:auto; font-size:11px; font-weight:700; padding:1px 7px; border-radius:99px;
  background:var(--line-2); color:var(--ink-3)}
.navitem.is-on .cnt{background:var(--brand); color:#fff}
.navitem .cnt--red{background:var(--red); color:#fff}
.navitem .cnt--amber{background:var(--accent); color:#fff}

/* ── Barre latérale repliée ────────────────────────────────────
   Repliée, la barre garde ses icônes plutôt que de disparaître : on
   voit encore où l'on est, et un clic suffit à revenir. Le libellé est
   retiré du flux — `display:none` et non `opacity:0` — sinon il
   continuerait de forcer la largeur du rail.

   Le titre de groupe est masqué mais un filet le remplace : sans lui,
   vingt-cinq icônes se suivraient sans respiration. */
.is-replie .sidebar{width:var(--side-w-rail); padding-left:8px; padding-right:8px}
.is-replie .navitem{justify-content:center; padding:9px 0; gap:0}
.is-replie .navitem span{display:none}
/* La règle au-dessus masque tous les span, pastille comprise. Il faut
   donc la rendre à nouveau visible, sans quoi le menu replié perdrait
   précisément l'information qu'on veut garder sous les yeux : combien
   attendent derrière cette icône. */
.is-replie .navitem .cnt{display:block; position:absolute; top:2px; right:4px; margin:0;
  padding:0 5px; font-size:10px}
.is-replie .navgroup{padding:10px 0 6px; border-top:0}
.is-replie .navgroup__t{height:1px; padding:0; margin:0 6px 12px;
  overflow:hidden; color:transparent; background:var(--line-2)}
.is-replie .sidebar__foot{display:none}

.sidebar__foot{margin-top:auto; padding:14px 12px 0; border-top:1px solid var(--line-2)}
.sidebar__foot .version{font-size:11px; color:var(--ink-4); font-variant-numeric:tabular-nums}
.health{display:flex; align-items:center; gap:8px; font-size:11.5px; color:var(--ink-3); padding:5px 0}
.health .led{width:7px;height:7px;border-radius:50%; flex:none}
/* Le voyant renvoie a l'ecran qui le detaille : il garde l'aspect
   de la ligne, sans decoration de lien. */
a.health{text-decoration:none; color:var(--ink-3)}
a.health:hover{color:var(--ink-2)}
.led{width:7px;height:7px;border-radius:50%; display:inline-block; flex:none}
.led--ok{background:var(--green); box-shadow:0 0 0 3px var(--green-100)}
.led--warn{background:var(--accent); box-shadow:0 0 0 3px var(--accent-100)}
.led--ko{background:var(--red); box-shadow:0 0 0 3px var(--red-100)}
.led--off{background:var(--ink-4)}

/* ═══════════════ MAIN ═══════════════ */
.main{flex:1; min-width:0; padding:28px 32px 56px}
.page{max-width:1440px; margin:0 auto; min-width:0}
.card{min-width:0}
.pagehead{display:flex; align-items:flex-start; gap:20px; margin-bottom:26px; flex-wrap:wrap}
.pagehead__t h1{margin-bottom:5px}
.pagehead__t p{color:var(--ink-3); font-size:13.5px; max-width:720px}
.pagehead__a{margin-left:auto; display:flex; gap:9px; align-items:center; flex-wrap:wrap}
.crumb{font-size:12px; color:var(--ink-4); margin-bottom:8px; display:flex; gap:7px; align-items:center}
.crumb a{color:var(--ink-3)}

/* Sélecteur de pays (topbar) */
.flagchip{display:inline-flex; align-items:center; gap:7px}
.flagchip .fl{font-size:15px; line-height:1}

/* ═══════════════ GROUPES DE MENU REPLIABLES ═══════════════
   Quarante entrées déroulées d'un bloc obligeaient à faire défiler la
   barre pour atteindre « Système », qui en porte onze à lui seul.
   Chaque groupe se replie d'un clic sur son titre — et celui de la
   page courante s'ouvre toujours : se retrouver sur un écran dont
   l'entrée est cachée fait douter d'être au bon endroit. */
.navgroup__t{
  display:flex; align-items:center; gap:6px; width:100%;
  background:none; border:0; padding:0 12px 12px; margin:0;
  font-size:11px; font-weight:700; letter-spacing:.1em;
  text-transform:uppercase; color:var(--ink-4);
  cursor:pointer; text-align:left; font-family:inherit;
}
.navgroup__t:hover{color:var(--ink-3)}
.navgroup__t span{flex:1}
.navgroup__v{width:14px; height:14px; flex:none; transition:transform .15s ease}
.navgroup.is-plie .navgroup__v{transform:rotate(-90deg)}
.navgroup.is-plie .navgroup__l{display:none}

/* Un module qui en porte d'autres — « Référentiel » et ses sites, « Importation » et ses douze imports —
   se lit sur **une ligne** : le lien du module, et un chevron à droite qui déplie ses pages. Elles restent
   fermées tant qu'on n'est pas sur l'une d'elles ; déroulées d'office, elles mangeaient la barre. Le choix de
   chacun est gardé, comme celui des groupes. */
.navrow{display:flex; align-items:center; gap:2px; margin-bottom:2px}
.navrow .navitem{flex:1; min-width:0; margin-bottom:0}
.navrow__t{
  flex:none; width:32px; height:32px; display:grid; place-items:center; padding:0;
  background:none; border:0; border-radius:8px; color:var(--ink-4); cursor:pointer;
}
.navrow__t:hover{background:var(--surface-2); color:var(--ink-2)}
.navrow__t svg{width:14px; height:14px; transition:transform .15s ease}
.navsous.is-plie .navrow__t svg{transform:rotate(-90deg)}

/* Les pages du module : un filet à gauche dit à quoi elles se rattachent — pas d'icône, l'indentation suffit. */
.navsous__l{margin:2px 0 8px 22px; padding-left:10px; border-left:1px solid var(--line)}
.navsous.is-plie .navsous__l{display:none}
.navitem--sous{
  padding:7px 10px; min-height:32px; font-size:13px; color:var(--ink-3); margin-bottom:1px;
}
.navitem--sous:hover{color:var(--ink)}

/* Repliée, la barre ne montre que les icônes : les titres de groupe et
   les sous-entrées n'y ont plus leur place. */
.is-replie .navitem--sous,.is-replie .navrow__t,.is-replie .navsous__l{display:none}
.is-replie .navrow .navitem{flex:1}

/* Le titre de groupe reste, réduit à son filet (règle plus haut) : ce
   sont eux qui séparent les blocs d'icônes. Le chevron n'y a plus de
   sens — on ne replie pas un groupe dans une barre déjà repliée — et le
   bouton cesse de répondre.
   Et un groupe replié rouvre ses entrées : sans cela, ses icônes
   disparaîtraient sans qu'aucun titre ne dise comment les faire
   revenir. */
.is-replie .navgroup__v{display:none}
.is-replie .navgroup__t{pointer-events:none}
.is-replie .navgroup.is-plie .navgroup__l{display:block}
