/* TrackR · styles du module clients (nettoyage, étape 4b) : ses règles, sorties de la base par _local/outils/etape4-ecran/ranger-par-module.js
   sans rien réécrire, dans leur ordre d'origine. Chargé après la base, dans l'ordre fixe des balises d'index.html, avant Givre. */
/* 2.30.4 · Champ de « ＋ Nouvelle … », sous son menu, ouvert en choisissant cette option. */
.v2-client-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:14px}
.v2-client{display:flex;align-items:center;gap:14px;width:100%;padding:16px;border:1px solid var(--line);color:var(--text);font:inherit;text-align:left;cursor:pointer}
.v2-client:hover{border-color:color-mix(in srgb,var(--accent) 40%,var(--line))}
.v2-client-av{display:grid;place-items:center;width:46px;height:46px;flex:none;border-radius:14px;background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 30%,transparent),color-mix(in srgb,var(--accent2) 22%,transparent));color:var(--accent);font:700 15px 'Space Grotesk',system-ui,sans-serif}
.v2-client-main{flex:1;min-width:0;display:grid;gap:2px}
.v2-client-stats{display:grid;justify-items:end;gap:2px;flex:none;font-size:12px;color:var(--muted)}
.v2-client-projects{list-style:none;margin:0;padding:0;display:grid;gap:8px}
@media (max-width:760px){.v2-client-projects .v2-prog{grid-column:1/-1}}
/* 2.21 (« le menu de statut de la tâche est tout à droite, loin du titre ») : le statut suit le titre ; échéa … */
.v2-client-bx{display:inline-flex;align-items:center;gap:5px;color:var(--muted)}
/* 2.28.2 · « bug d'affichage » : la ligne Billit sous le nom, sur toute la largeur (à droite, elle écrasait l … */
.v2-client:has(>.v2-client-bx){flex-wrap:wrap;row-gap:8px}.v2-client>.v2-client-bx{flex:1 0 100%;flex-wrap:wrap;padding-left:60px;color:var(--green);font-size:12px;font-weight:700}
/* 2.30.3 · Clients : la recherche et le filtre Billit (Tous, Reliés à Billit, Pas reliés) sur une ligne. */
.v2-ctools{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 16px}
@media (max-width:760px){.v2-ctools .v2-cbx{max-width:100%;overflow-x:auto;scrollbar-width:none}.v2-ctools .v2-cbx button{flex:0 0 auto;padding:0 10px}}
/* 2.30.36 · Parrainages : chiffres en tête, une carte par personne présentée (nom, parrain, coordonnées, son … */
.v2-client-refs button,.v2-client-ref{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:10px 14px;border:1px solid var(--glass-edge,var(--line));border-radius:12px;background:var(--surface);box-shadow:var(--glass-hi,none);color:inherit;font:inherit;text-align:left}
/* 2.33.10 · Opportunités de la fiche client : le nom, puis l'étape à droite (pas de barre d'avancement comme les projets). */
.v2-client-leads button{grid-template-columns:minmax(0,1fr) auto}
