/* RETOUCHE UNSLOP (validée par Loan le 12/11/2026) — console (admin et espace client, app/console.css). Actif seulement avec html.
   Les graisses, capitales et tailles minuscules sont dans console-auto.css (généré). */

/* Rayons selon la taille, menu à la largeur d'un outil */
html .l2d { --r5: 16px; --r4: 14px; --r3: 10px; --pilule: 8px; --rail: 248px; }
/* Plus de violet : il ne voulait rien dire. Les « réponses » prennent un gris vert de la gamme. */
html .l2d { --violet: #7d8a82; --violet-fond: #eef1ef; --aplat-violet: #46534b; }
/* Ce qui est rond par nature le reste : avatars, pastilles, compteurs ronds */
html .l2d :is(.gav, .av, .msg .av, .side-profil .av2, .ic2, .cf-pastille, .svc-pastille, .side-titre .n) { border-radius: 999px !important; }

/* Couleur : plus de halo vert ni de quadrillage derrière l'écran, le menu et les cartes */
html .l2d,
html .l2d[data-theme="nuit"],
html .l2d .side { background-image: none !important; }
html .l2d .zone::before { display: none !important; }
html .l2d .kpi.c-brand { background-image: none !important; }
html .l2d[data-theme="nuit"] .kpi.c-brand { box-shadow: 0 0 0 1px var(--filet) inset !important; }
html .l2d .kpi.c-vert {
  background: var(--plan) !important; color: var(--txt) !important;
  box-shadow: 0 0 0 1px var(--filet) inset !important;
}
html .l2d .kpi.c-vert :is(.l, .v, .v small, .s) { color: inherit !important; }
html .l2d .kpi.c-vert .s { color: var(--txt3) !important; }

/* Menu : lignes de 36 px, texte normal, une sélection discrète */
html .l2d .app:not(.compact) .nav-item {
  height: 36px !important; padding: 0 10px !important; margin-bottom: 2px !important;
  gap: 10px !important; font-size: 14px !important; font-weight: 500 !important;
}
/* Rail en icônes (replié, ou sous 900 px) : des carrés de la taille des autres boutons du rail, pas des lignes de 36 px */
@media (max-width: 900px) { html .l2d .app .nav-item { height: var(--puce) !important; padding: 0 !important; } }
html .l2d .nav-item svg { width: 18px !important; height: 18px !important; }
html .l2d .nav-item.on { font-weight: 500 !important; box-shadow: none !important; }
html .l2d .nav-group { margin: 20px 0 6px !important; }
html .l2d .pill { font-weight: 500 !important; }

/* Icônes : un seul trait, plus fin */
html .l2d svg[viewBox="0 0 24 24"],
html .l2d svg[viewBox="0 0 24 24"] * { stroke-width: 1.75 !important; }

/* Cartes de chiffres : un libellé, un chiffre, une sous-ligne. Pas de mini-courbe ni de jauge. */
html .l2d .kpi { min-height: 0 !important; padding: 20px !important; box-shadow: 0 0 0 1px var(--filet) inset !important; }
html .l2d .kpi-viz { display: none !important; }
html .l2d .kpi .v { font-weight: 600 !important; letter-spacing: -.02em !important; }
html .l2d .kpi .v small { font-weight: 500 !important; }
html .l2d .kpi .l { font-weight: 500 !important; }
html .l2d .kpi-badge { height: 24px !important; padding: 0 8px !important; font-weight: 500 !important; }
html .l2d .kpi-ic {
  width: 36px !important; height: 36px !important;
  background: var(--plan-2) !important; color: var(--txt2) !important; /* plus de tuiles vertes ou violettes */
}
html .l2d .kpi-ic svg { width: 18px !important; height: 18px !important; }

/* Cartes de synthèse du tableau de bord admin : même traitement */
html .l2d :is(.ic-brand, .ic-bleu, .ic-vert, .ic-violet, .ic-orange, .ic-rouge) {
  background: var(--plan-2) !important; color: var(--txt2) !important;
}
html .l2d .synth-viz { display: none !important; }
html .l2d .synth-carte { box-shadow: 0 0 0 1px var(--filet) inset !important; }
html .l2d .synth-v { letter-spacing: -.02em !important; }

/* Pas d'italique serif dans la console : le titre dit le contexte, en texte normal */
html .l2d em { font-family: inherit !important; font-style: normal !important; font-weight: inherit !important; color: inherit !important; }

/* Mouvement : rien ne se soulève au survol, la date du jour ne bat plus */
html .l2d :is(.kpi.cliquable:hover, .kcard:hover, .kcarte:hover, .synth-carte.cliquable:hover, .gav:hover) { transform: none !important; }
html .l2d :is(.kpi.cliquable:hover, .synth-carte.cliquable:hover) { box-shadow: 0 0 0 1px var(--filet-2) inset !important; }
html .l2d .une-date::before { animation: none !important; }

/* Console et espace client : gras plafonné à 600 pour les <b>/<strong> du texte (contrôle unslop du 13/11). */
html .l2d :is(b, strong) { font-weight: 600 !important; }
html .l2d .mut { letter-spacing: 0 !important; } /* pas d'interlettrage négatif sur le petit texte */
