/* Repère des cinq niveaux d'information (web/js/niveau.js) : 7 px, rond, discret, compris au survol. Accent bleu de la marque.
   fait = point gris · calculé = point bleu · estimé = anneau bleu · hypothèse = anneau pointillé · conseil = point bleu auréolé. */
:root { --nv-accent: var(--accent, #3B9BFF); }
:root[data-theme="light"] { --nv-accent: var(--accent, #0071E3); }
.nv { display: inline-block; width: 7px; height: 7px; margin: 0 0 0 6px; border-radius: 50%; vertical-align: 0.18em; flex: none; cursor: help;
  outline-offset: 3px; transition: transform .15s; }
.nv:hover, .nv:focus-visible { transform: scale(1.45); }
.nv-fait { background: var(--ink-3, #86868b); }
.nv-calcule { background: var(--nv-accent); }
.nv-estime { background: transparent; box-shadow: inset 0 0 0 1.5px var(--nv-accent); }
.nv-hypothese { background: transparent; box-shadow: none; border: 1.5px dashed var(--nv-accent); width: 8px; height: 8px; }
.nv-conseil { width: 5px; height: 5px; margin-left: 8px; background: var(--nv-accent); vertical-align: 0.26em;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--nv-accent) 22%, transparent), 0 0 0 3.5px color-mix(in srgb, var(--nv-accent) 45%, transparent); }
.nv-bulle { position: fixed; z-index: 400; max-width: 260px; padding: 8px 12px; border-radius: 14px; background: #0B0B0F; color: #fff;
  font: 500 12px/1.4 var(--text, system-ui); box-shadow: 0 12px 28px -8px rgba(16, 24, 40, .28); pointer-events: none; opacity: 0; transform: translateY(3px);
  transition: opacity .12s, transform .12s; }
:root:not([data-theme="light"]) .nv-bulle { background: #F5F5F7; color: #0B0B0F; box-shadow: 0 12px 28px -8px rgba(0, 0, 0, .6); }
.nv-bulle.on { opacity: 1; transform: none; }
.nv-legende { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 11.5px; color: var(--ink-3); }
.nv-legende span { display: inline-flex; align-items: center; gap: 0; }
.nv-legende .nv { margin: 0 6px 0 0; vertical-align: middle; }
.nv-legende .nv-conseil { margin: 0 8px 0 2px; }
/* pied de page : la légende sous le dernier bloc, alignée sur le contenu */
.nv-pied { margin: 22px 0 4px; padding-top: 12px; border-top: 1px solid var(--line); }
/* un repère dans un grand chiffre : à mi-hauteur des chiffres, jamais collé */
.nv-grand .nv { vertical-align: 0.5em; margin-left: 8px; }
/* Ventes : le repère suit le montant de chaque étape, sans gêner l'ajustement de sa taille */
.vn-e-bas { display: flex; align-items: center; min-width: 0; }
.vn-e-bas .vn-e-mt { flex: 0 1 auto; min-width: 0; overflow: hidden; }
.vn-e-bas .nv { margin-left: 7px; }
/* Obligations : le repère reste sur la ligne du montant */
.obl-m-v { display: inline-flex; align-items: center; white-space: nowrap; }
.obl-m-v .nv { margin-left: 6px; }
.ticket .big .nv { vertical-align: .55em; margin-left: 8px; }
