/* Kit Liquide de l'app, copié tel quel : app/liquid.css (jetons, sombre sous .dark) puis components/ui/liquid/*.css. */

/* ═══ app/liquid.css ═══ */
/* Reachlist Liquide — jetons (tokens.json du système « Reachlist Liquide »).
   Tous préfixés --lq- pour ne pas croiser les variables shadcn (--accent, --muted, --border…).
   Clair sur :root, sombre sous .dark (classe posée par next-themes). L'accent suit la couleur choisie par
   l'utilisateur (--accent-600/700/400, posées par app/(dashboard)/layout.tsx) : jamais de bleu écrit en dur.
   Feuille exclue de scripts/gen-dark-theme.ts : chaque jeton porte déjà sa valeur sombre. */

:root {
  /* Police : Inter de l'app (next/font, --font-inter) sinon pile Inter. Titres, textes, boutons, libellés : inchangés. */
  --lq-font-sans: var(--font-inter, Inter), Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --lq-font-display: var(--lq-font-sans);
  /* Saisie et petites infos (champs, listes de choix, options de menu, textes d'aide fins) : Arial, comme les emails Gmail (choisie le 2026-11-28, remplace Onest). */
  --lq-font-field: Arial, "Helvetica Neue", Helvetica, var(--lq-font-sans);
  /* Petits chiffres (tableaux, compteurs, heures, minuteurs, téléphones) : DM Sans tabulaire (next/font,
     --font-dm-sans). Les gros chiffres (--lq-font-kpi, titres) restent en Inter. */
  --lq-font-num: var(--font-dm-sans, "DM Sans"), "DM Sans", var(--lq-font-sans);
  /* Monospace : uniquement pour du vrai code (variables {{…}}, clés API, HTML), jamais pour des chiffres. */
  --lq-font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;

  /* ── Couleurs : fond et verre ── */
  --lq-bg: #F1F3F7;
  --lq-backdrop-a: color-mix(in srgb, var(--accent-600, #2D68F0) 8%, transparent);
  --lq-backdrop-b: rgba(190, 205, 235, 0.45);
  --lq-glass: rgba(255, 255, 255, 0.66);
  --lq-glass-strong: rgba(255, 255, 255, 0.86);
  --lq-glass-edge: rgba(255, 255, 255, 0.95);
  --lq-glass-line: rgba(15, 23, 42, 0.06);
  --lq-glass-top: #FFFFFF;
  --lq-lens: #FFFFFF;
  --lq-hover: rgba(255, 255, 255, 0.6);
  --lq-track: rgba(15, 23, 42, 0.05);
  --lq-scrim: rgba(15, 23, 42, 0.22);
  --lq-tooltip: rgba(15, 23, 42, 0.86);
  --lq-on-tooltip: #FFFFFF;

  /* ── Texte ── */
  --lq-ink: #0F172A;
  --lq-ink-2: #334155;
  --lq-muted: #64748B;
  --lq-faint: #94A3B8;

  /* ── Accent (couleur choisie par l'utilisateur) ── */
  --lq-accent: var(--accent-600, #2D68F0);
  --lq-accent-hover: var(--accent-700, #2658CC);
  --lq-accent-soft: color-mix(in srgb, var(--accent-600, #2D68F0) 12%, transparent);
  --lq-accent-ring: color-mix(in srgb, var(--accent-600, #2D68F0) 22%, transparent);
  --lq-accent-ink: var(--accent-700, #2453C7);
  --lq-on-accent: #FFFFFF;
  --lq-accent-50: var(--accent-50, #F2F6FE);
  --lq-accent-200: var(--accent-200, #C4D5FB);
  --lq-accent-400: var(--accent-400, #6C95F4);

  /* ── États ── */
  --lq-success: #157A3E;
  --lq-success-dot: #16A34A;
  --lq-success-soft: rgba(22, 163, 74, 0.12);
  --lq-warning: #B45309;
  --lq-warning-dot: #F59E0B;
  --lq-warning-soft: rgba(245, 158, 11, 0.14);
  --lq-danger: #B42318;
  --lq-danger-dot: #E5484D;
  --lq-danger-soft: rgba(229, 72, 77, 0.12);
  --lq-neutral-dot: #94A3B8;

  /* ── Résultats d'appel (lib/calling/outcomes.ts, statistiques, fiches) ── */
  --lq-outcome-answered: #12B76A;
  --lq-outcome-noanswer: #8B93F8;
  --lq-outcome-voicemail: #A3AEC2;
  --lq-outcome-wrong: #F04461;

  /* ── Étiquettes (lib/calling/tag-colors.ts) ── */
  --lq-tag-green: #22C55E;
  --lq-tag-blue: #3B82F6;
  --lq-tag-violet: #8B5CF6;
  --lq-tag-orange: #F97316;
  --lq-tag-yellow: #EAB308;
  --lq-tag-pink: #EC4899;
  --lq-tag-teal: #14B8A6;
  --lq-tag-red: #EF4444;
  --lq-tag-indigo: #6366F1;
  --lq-tag-gray: #64748B;

  /* ── Ombres ── */
  --lq-shadow-glass: inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 0 0 1px rgba(255, 255, 255, 0.6), 0 0 0 1px rgba(15, 23, 42, 0.04), 0 10px 30px -16px rgba(15, 23, 42, 0.2);
  --lq-shadow-lens: 0 2px 8px -2px rgba(15, 23, 42, 0.18), 0 0 0 0.5px rgba(15, 23, 42, 0.06);
  --lq-shadow-accent: inset 0 1px 0 rgba(255, 255, 255, 0.42), inset 0 -1px 0 rgba(0, 0, 0, 0.1), 0 8px 20px -8px color-mix(in srgb, var(--accent-600, #2D68F0) 65%, transparent);
  --lq-shadow-float: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 0 0 1px rgba(15, 23, 42, 0.05), 0 24px 48px -20px rgba(15, 23, 42, 0.35);

  /* ── Rayons ── */
  --lq-radius-xs: 7px;
  --lq-radius-sm: 10px;
  --lq-radius-md: 12px;
  --lq-radius-group: 14px;
  --lq-radius-lg: 18px;
  --lq-radius-tile: 20px;
  --lq-radius-xl: 24px;
  --lq-radius-2xl: 28px;
  --lq-radius-pill: 999px;

  /* ── Espacements ── */
  --lq-space-1: 4px;
  --lq-space-2: 6px;
  --lq-space-3: 8px;
  --lq-space-4: 12px;
  --lq-space-5: 16px;
  --lq-space-6: 20px;
  --lq-space-7: 24px;
  --lq-space-8: 32px;
  --lq-space-9: 40px;

  /* ── Tailles ── */
  --lq-control-xs: 28px;
  --lq-control-sm: 34px;
  --lq-control-md: 40px;
  --lq-control-lg: 48px;
  --lq-row: 58px;
  --lq-topbar: 56px;
  --lq-sidebar: 232px;

  /* ── Typographie (raccourcis `font`, l'interlettrage est à part) ── */
  --lq-font-page-title: 700 28px/34px var(--lq-font-sans);
  --lq-tracking-page-title: -0.03em;
  --lq-font-title-lg: 700 19px/26px var(--lq-font-sans);
  --lq-tracking-title-lg: -0.01em;
  --lq-font-title: 600 15px/22px var(--lq-font-sans);
  --lq-font-kpi: 700 34px/38px var(--lq-font-sans);
  --lq-tracking-kpi: -0.03em;
  --lq-font-body: 400 13.5px/20px var(--lq-font-sans);
  --lq-font-body-strong: 600 13.5px/20px var(--lq-font-sans);
  --lq-font-small: 400 12.5px/18px var(--lq-font-field);
  --lq-font-label: 600 12.5px/16px var(--lq-font-sans);
  --lq-font-caption: 500 12.5px/16px var(--lq-font-sans);
  --lq-font-badge: 600 11.5px/16px var(--lq-font-sans);
  /* Lecture du script pendant l'appel (Inter 400 22/34, 60 à 70 caractères par ligne) ; réglable A− / A+ (18 · 22 · 26 · 30),
     la taille choisie remplace ce jeton sur la colonne du script (préférence gardée sur l'appareil). */
  --lq-font-read: 400 22px/34px var(--lq-font-sans);
  --lq-tracking-read: -0.005em;

  /* Jauges (gauge.tsx) : reflet du verre plein, rayures de la part en cours. */
  --lq-gauge-gloss: rgba(255, 255, 255, 0.55);
  --lq-gauge-stripe: rgba(255, 255, 255, 0.42);

  /* Barre de défilement « rail flottant » (scroll-area.tsx) : fil au repos du survol, fil survolé/attrapé. */
  --lq-scroll-thumb: rgba(15, 23, 42, 0.28);
  --lq-scroll-thumb-hi: rgba(15, 23, 42, 0.45);
}

.dark {
  --lq-bg: #0D0F14;
  --lq-backdrop-a: color-mix(in srgb, var(--accent-600, #2D68F0) 16%, transparent);
  --lq-backdrop-b: rgba(110, 130, 180, 0.12);
  --lq-glass: rgba(30, 34, 44, 0.62);
  --lq-glass-strong: rgba(34, 38, 49, 0.88);
  --lq-glass-edge: rgba(255, 255, 255, 0.08);
  --lq-glass-line: rgba(255, 255, 255, 0.07);
  --lq-glass-top: #2A2F3B;
  --lq-lens: #3A4050;
  --lq-hover: rgba(255, 255, 255, 0.06);
  --lq-track: rgba(255, 255, 255, 0.06);
  --lq-scrim: rgba(0, 0, 0, 0.5);
  --lq-tooltip: rgba(236, 238, 243, 0.92);
  --lq-on-tooltip: #0F172A;

  --lq-ink: #ECEEF3;
  --lq-ink-2: #C3C9D4;
  --lq-muted: #8F98A8;
  --lq-faint: #5F6878;

  --lq-accent: var(--accent-600, #3D76F5);
  --lq-accent-hover: var(--accent-700, #5A8BF7);
  --lq-accent-soft: color-mix(in srgb, var(--accent-600, #3D76F5) 20%, transparent);
  --lq-accent-ring: color-mix(in srgb, var(--accent-600, #3D76F5) 35%, transparent);
  --lq-accent-ink: color-mix(in srgb, var(--accent-400, #6C95F4) 70%, white);
  --lq-on-accent: #FFFFFF;
  --lq-accent-50: var(--accent-50, #16223F);
  --lq-accent-200: var(--accent-200, #2D4A88);
  --lq-accent-400: var(--accent-400, #6C95F4);

  --lq-success: #5BD08A;
  --lq-success-dot: #22C55E;
  --lq-success-soft: rgba(34, 197, 94, 0.16);
  --lq-warning: #F5B060;
  --lq-warning-dot: #F5A524;
  --lq-warning-soft: rgba(245, 165, 36, 0.16);
  --lq-danger: #F58A80;
  --lq-danger-dot: #F2555A;
  --lq-danger-soft: rgba(242, 85, 90, 0.16);
  --lq-neutral-dot: #6B7385;

  --lq-outcome-answered: #32D583;
  --lq-outcome-noanswer: #A3A9FB;
  --lq-outcome-voicemail: #7D889C;
  --lq-outcome-wrong: #F7708A;

  --lq-shadow-glass: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.06), 0 10px 30px -16px rgba(0, 0, 0, 0.6);
  --lq-shadow-lens: 0 2px 8px -2px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  --lq-shadow-accent: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 8px 22px -8px color-mix(in srgb, var(--accent-600, #3D76F5) 70%, transparent);
  --lq-shadow-float: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.07), 0 24px 48px -20px rgba(0, 0, 0, 0.7);

  /* Même lecture qu'en clair (taille et graisse inchangées, seule la couleur d'encre suit le thème). */
  --lq-font-read: 400 22px/34px var(--lq-font-sans);

  --lq-gauge-gloss: rgba(255, 255, 255, 0.22);
  --lq-gauge-stripe: rgba(255, 255, 255, 0.2);

  --lq-scroll-thumb: rgba(255, 255, 255, 0.26);
  --lq-scroll-thumb-hi: rgba(255, 255, 255, 0.45);
}

/* Petits chiffres : classe unique de la bibliothèque (aussi dans components/ui/liquid/liquid.css).
   Posée ici pour servir partout (back-office, pages publiques), hors couche Tailwind : elle l'emporte
   sur un raccourci `[font:var(--lq-font-…)]`. Ne pas la mettre sur un gros KPI (reste en Inter). */
.lq-num, .lq-num.lq-num { font-family: var(--lq-font-num); font-variant-numeric: tabular-nums; } /* doublé : gagne sur un raccourci `font:` d’une classe voisine (.tv-sub, .iv-sub…) */

/* Saisie en Onest partout (y compris les pages pas encore refaites) : champs, zones de texte, listes déroulantes.
   Le code (font-mono) et les cases/curseurs ne sont pas concernés. */
:where(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not(.font-mono), textarea:not(.font-mono), select, [contenteditable="true"]:not(.font-mono)) { font-family: var(--lq-font-field) !important; }

/* ═══ components/ui/liquid/liquid.css ═══ */
/* Reachlist Liquide — styles des composants (components/ui/liquid). Port de bundle.css du système
   « Reachlist Liquide » : préfixe lq-, toutes les couleurs, ombres et rayons viennent des jetons --lq-*
   (app/liquid.css), donc le mode sombre suit sans conversion. Cette feuille est exclue de
   scripts/gen-dark-theme.ts : ne jamais y écrire de couleur claire en dur sans sa variante sombre. */

/* Icônes venues d'ailleurs (Heroicons…) posées dans un contrôle : même taille que les icônes Liquide. */
:where(.lq-btn, .lq-iconbtn, .lq-chip, .lq-seg__item, .lq-tab, .lq-menu__item, .lq-nav__item, .lq-input, .lq-gicon, .lq-alert, .lq-credits, .lq-bulk) > svg:not(.lq-ico) { width: 16px; height: 16px; flex: none; }
.lq-btn > svg:not(.lq-ico) { width: 15px; height: 15px; }
.lq-btn--xs > svg:not(.lq-ico), .lq-iconbtn--xs > svg:not(.lq-ico) { width: 13px; height: 13px; }
.lq-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.lq-btn, .lq-chip, .lq-seg__item, .lq-tab, .lq-menu__item, .lq-nav__item, .lq-input, .lq-card, .lq-modal, .lq-drawer, .lq-toast, .lq-banner, .lq-menu, .lq-table { font-family: var(--lq-font-sans); }
.lq-btn { box-sizing: border-box; }

.lq-ico { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lq-num { font-variant-numeric: tabular-nums; font-family: var(--lq-font-num); }
:where(.lq-btn, .lq-iconbtn, .lq-seg__item, .lq-tab, .lq-chip, .lq-switch, .lq-check, .lq-radio, .lq-menu__item, .lq-nav__item, .lq-choice, .lq-toast__action):focus-visible { outline: 2px solid var(--lq-accent); outline-offset: 2px; }

/* Le verre : un seul mélange pour tout panneau ou contrôle translucide */
.lq-glass, .lq-btn, .lq-iconbtn--outline, .lq-seg, .lq-chip, .lq-input, .lq-card, .lq-table, .lq-menu, .lq-bulk, .lq-banner, .lq-nav, .lq-choice, .lq-kbd, .lq-avatar, .lq-gicon {
  background-color: var(--lq-glass); -webkit-backdrop-filter: blur(24px) saturate(170%); backdrop-filter: blur(24px) saturate(170%); box-shadow: var(--lq-shadow-glass); }

/* ── Bouton ───────────────────────────────────────── */
.lq-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 40px; padding: 0 18px; border: 0; border-radius: var(--lq-radius-md); color: var(--lq-ink); font: 600 14px/1 var(--lq-font-sans); white-space: nowrap; cursor: pointer; text-decoration: none; transition: transform .15s, background-color .15s, filter .15s; }
.lq-btn:hover { background-color: var(--lq-glass-strong); }
.lq-btn:active { transform: scale(.97); }
.lq-btn--primary { background-color: var(--lq-accent); color: var(--lq-on-accent); box-shadow: var(--lq-shadow-accent); opacity: .96; }
.lq-btn--primary:hover { background-color: var(--lq-accent); opacity: 1; filter: brightness(1.04); }
.lq-btn--soft { background-color: var(--lq-accent-soft); color: var(--lq-accent-ink); box-shadow: inset 0 0 0 1px var(--lq-accent-ring); }
.lq-btn--soft:hover { background-color: var(--lq-accent-soft); filter: brightness(1.03); }
.lq-btn--ghost, .lq-btn--danger-text { background-color: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; color: var(--lq-ink-2); }
.lq-btn--ghost:hover { background-color: var(--lq-hover); color: var(--lq-ink); }
.lq-btn--danger { background-color: var(--lq-danger-dot); color: var(--lq-on-accent); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 8px 20px -8px var(--lq-danger-dot); }
.lq-btn--danger:hover { background-color: var(--lq-danger-dot); filter: brightness(1.05); }
.lq-btn--danger-text { color: var(--lq-danger); }
.lq-btn--danger-text:hover { background-color: var(--lq-danger-soft); }
.lq-btn--xs { height: 28px; padding: 0 11px; font-size: 12.5px; gap: 5px; border-radius: 8px; }
.lq-btn--sm { height: 34px; padding: 0 14px; font-size: 13px; border-radius: var(--lq-radius-sm); }
.lq-btn--lg { height: 48px; padding: 0 24px; font-size: 15px; border-radius: 14px; }
.lq-btn--block { width: 100%; }
.lq-btn:disabled, .lq-btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; filter: none; transform: none; }
.lq-btn .lq-ico { width: 15px; height: 15px; }
.lq-btn--xs .lq-ico { width: 13px; height: 13px; }
.lq-spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: lq-spin .7s linear infinite; }
@keyframes lq-spin { to { transform: rotate(360deg); } }
.lq-iconbtn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex: none; padding: 0; border: 0; border-radius: var(--lq-radius-md); background: transparent; color: var(--lq-ink-2); cursor: pointer; transition: background-color .15s, transform .15s; }
.lq-iconbtn:hover { background-color: var(--lq-hover); color: var(--lq-ink); }
.lq-iconbtn:active { transform: scale(.94); }
.lq-iconbtn--outline:hover { background-color: var(--lq-glass-strong); }
.lq-iconbtn--sm { width: 34px; height: 34px; border-radius: var(--lq-radius-sm); }
.lq-iconbtn--xs { width: 30px; height: 30px; border-radius: var(--lq-radius-sm); }
.lq-iconbtn--xs .lq-ico { width: 14px; height: 14px; }
.lq-btngroup { display: inline-flex; gap: 8px; flex-wrap: wrap; }

/* ── Pastille (ADN : l'élément actif) ─────────────── */
.lq-seg__item[aria-pressed="true"], .lq-tab[aria-selected="true"], .lq-nav__item[aria-current="page"] { background: var(--lq-lens); color: var(--lq-ink); font-weight: 600; box-shadow: var(--lq-shadow-lens); }

/* ── Segmenté ─────────────────────────────────────── */
.lq-seg { display: inline-flex; align-items: center; gap: 2px; padding: 4px; border-radius: var(--lq-radius-group); }
.lq-seg__item { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px; border: 0; border-radius: var(--lq-radius-sm); background: transparent; color: var(--lq-ink-2); font: 500 13px/1 var(--lq-font-sans); cursor: pointer; white-space: nowrap; transition: background-color .2s, color .2s, box-shadow .2s; }
.lq-seg__item:hover:not([aria-pressed="true"]) { color: var(--lq-ink); }
.lq-seg--sm { padding: 3px; border-radius: 11px; } .lq-seg--sm .lq-seg__item { border-radius: 8px; } .lq-seg--sm .lq-seg__item { height: 26px; padding: 0 11px; font-size: 12.5px; }
.lq-seg--block { display: flex; } .lq-seg--block .lq-seg__item { flex: 1; justify-content: center; }
.lq-seg__item .lq-ico { width: 14px; height: 14px; }

/* ── Onglets ──────────────────────────────────────── */
/* Hors de l'en-tête, une rangée trop longue passe à la ligne plutôt que de couper un onglet (colonne étroite, panneau Ma journée ouvert). */
/* Marge intérieure basse de 5 px (compensée) : l’ombre de l’onglet choisi n’est jamais coupée par le défilement horizontal. */
.lq-tabs { display: flex; flex-wrap: wrap; gap: 4px; overflow-x: auto; padding: 2px 3px 5px; margin: 0 -1px -3px; }
.lq-ph-row__tabs .lq-tabs { flex-wrap: nowrap; }
.lq-tab { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border: 0; border-radius: var(--lq-radius-sm); background: none; color: var(--lq-muted); font: 500 14px/1 var(--lq-font-sans); cursor: pointer; white-space: nowrap; transition: background-color .2s, color .2s; }
.lq-tab:hover:not([aria-selected="true"]) { color: var(--lq-ink); background: var(--lq-hover); }
.lq-count { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: var(--lq-radius-xs); background: var(--lq-track); color: var(--lq-muted); font-size: 11.5px; font-weight: 600; font-variant-numeric: tabular-nums; font-family: var(--lq-font-num); }
.lq-tab[aria-selected="true"] .lq-count { background: var(--lq-accent-soft); color: var(--lq-accent-ink); }
.lq-count--warning, .lq-tab[aria-selected="true"] .lq-count--warning { background: var(--lq-warning-soft); color: var(--lq-warning); }

/* ── Puce de filtre ───────────────────────────────── */
.lq-chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border: 0; border-radius: var(--lq-radius-sm); color: var(--lq-ink-2); font: 500 13px/1 var(--lq-font-sans); cursor: pointer; white-space: nowrap; transition: background-color .15s, color .15s; }
.lq-chip:hover { color: var(--lq-ink); background-color: var(--lq-glass-strong); }
.lq-chip[aria-pressed="true"] { background-color: var(--lq-accent-soft); color: var(--lq-accent-ink); box-shadow: inset 0 0 0 1px var(--lq-accent-ring); }
.lq-chip .lq-ico { width: 14px; height: 14px; }
.lq-chip__val { font-weight: 600; }
.lq-chip--add { background-color: transparent; box-shadow: inset 0 0 0 1px var(--lq-glass-line); -webkit-backdrop-filter: none; backdrop-filter: none; color: var(--lq-muted); }

/* ── Interrupteur, case, radio ────────────────────── */
.lq-switch { position: relative; width: 44px; height: 26px; flex: none; padding: 0; border: 0; border-radius: 999px; background: var(--lq-track); box-shadow: inset 0 0 0 1px var(--lq-glass-line); cursor: pointer; transition: background .2s; }
.lq-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 2px 6px rgba(15,23,42,.25), 0 0 0 .5px rgba(15,23,42,.06); transition: transform .25s cubic-bezier(.3,1.4,.6,1); }
.lq-switch[aria-checked="true"] { background: var(--lq-accent); box-shadow: var(--lq-shadow-accent); }
.lq-switch[aria-checked="true"]::after { transform: translateX(18px); }
.lq-switch:disabled { opacity: .45; cursor: not-allowed; }
.lq-check, .lq-radio { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; flex: none; padding: 0; border: 1.5px solid var(--lq-faint); border-radius: var(--lq-radius-xs); background: var(--lq-glass-strong); color: var(--lq-on-accent); cursor: pointer; transition: background-color .15s, border-color .15s; }
.lq-check:hover, .lq-radio:hover { border-color: var(--lq-accent); }
.lq-check[aria-checked="true"], .lq-check[aria-checked="mixed"] { border-color: var(--lq-accent); background: var(--lq-accent); box-shadow: var(--lq-shadow-accent); }
.lq-check .lq-ico { width: 12px; height: 12px; stroke-width: 3; }
.lq-radio { border-radius: 50%; }
.lq-radio[aria-checked="true"] { border: 6px solid var(--lq-accent); background: #FFFFFF; }
.lq-checkrow { display: inline-flex; align-items: center; gap: 10px; color: var(--lq-ink); font-size: 13.5px; cursor: pointer; }
.lq-checkrow__sub { display: block; color: var(--lq-muted); font-size: 12.5px; }
.lq-setting { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--lq-glass-line); }
.lq-setting:last-child { border-bottom: 0; }
.lq-setting__body { flex: 1; min-width: 0; }
.lq-setting__title { font-weight: 600; }
.lq-setting__text { color: var(--lq-muted); font-size: 12.5px; line-height: 18px; }

/* ── Champs ───────────────────────────────────────── */
.lq-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.lq-label { font-size: 13px; font-weight: 600; color: var(--lq-ink); padding-left: 4px; }
.lq-label__opt { color: var(--lq-muted); font-weight: 400; }
.lq-hint { font-size: 12.5px; line-height: 16px; color: var(--lq-muted); padding-left: 4px; }
.lq-error { font-size: 12.5px; line-height: 16px; color: var(--lq-danger); display: flex; gap: 5px; align-items: center; padding-left: 4px; }
.lq-error .lq-ico { width: 13px; height: 13px; }
.lq-input { display: flex; align-items: center; gap: 9px; height: 40px; padding: 0 14px; border: 0; border-radius: var(--lq-radius-md); color: var(--lq-ink); transition: box-shadow .15s, background-color .15s; min-width: 0; }
.lq-input:hover { background-color: var(--lq-glass-strong); }
.lq-input:focus-within { background-color: var(--lq-glass-strong); box-shadow: var(--lq-shadow-glass), 0 0 0 3px var(--lq-accent-ring), 0 0 0 1px var(--lq-accent); }
.lq-input input, .lq-input textarea { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; color: inherit; font: 400 14px/20px var(--lq-font-field); padding: 0; }
.lq-input input::placeholder, .lq-input textarea::placeholder { color: var(--lq-faint); }
.lq-input > .lq-ico { color: var(--lq-muted); width: 16px; height: 16px; }
.lq-input--error, .lq-input--error:focus-within { box-shadow: var(--lq-shadow-glass), 0 0 0 1px var(--lq-danger-dot), 0 0 0 4px var(--lq-danger-soft); }
.lq-input--area { height: auto; padding: 11px 14px; align-items: flex-start; }
.lq-input--area textarea { min-height: 76px; resize: vertical; }
.lq-input--search { padding: 0 14px; }
.lq-input--lg { height: 48px; border-radius: 16px; }
.lq-input__suffix { color: var(--lq-muted); font-size: 13px; }
.lq-select { justify-content: space-between; cursor: pointer; font: 400 14px/1 var(--lq-font-field); text-align: left; }
.lq-select__value { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lq-select__ph { color: var(--lq-faint); }
.lq-kbd { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: var(--lq-radius-xs); color: var(--lq-muted); font: 600 11.5px/1 var(--lq-font-sans); }

/* ── Carte ────────────────────────────────────────── */
.lq-card { border-radius: var(--lq-radius-xl); min-width: 0; }
.lq-card--pad { padding: 20px; }
.lq-card--glass { box-shadow: var(--lq-shadow-glass), 0 0 0 1px var(--lq-accent-ring), 0 18px 40px -22px var(--lq-accent); }
.lq-card--interactive { cursor: pointer; transition: transform .2s, background-color .2s; }
.lq-card--interactive:hover { transform: translateY(-2px); background-color: var(--lq-glass-strong); }
.lq-card__head { display: flex; align-items: center; gap: 12px; padding: 18px 20px 6px; }
.lq-card__head--flat { padding-bottom: 0; }
.lq-card__title { margin: 0; font-family: var(--lq-font-sans); flex: 1; min-width: 0; font-size: 15px; line-height: 22px; font-weight: 600; color: var(--lq-ink); }
.lq-card__sub { display: block; font-size: 12.5px; font-weight: 400; color: var(--lq-muted); }
.lq-card__body { padding: 12px 20px 20px; }
.lq-card__foot { display: flex; justify-content: flex-end; gap: 8px; padding: 4px 20px 20px; }

/* ── Pastille verre et tuile ──────────────────────── */
.lq-gicon { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: none; width: 34px; height: 34px; border-radius: var(--lq-radius-md); color: var(--lq-accent); }
.lq-gicon .lq-ico { width: 16px; height: 16px; stroke-width: 1.8; }
.lq-gicon--24 { width: 26px; height: 26px; border-radius: 9px; } .lq-gicon--24 .lq-ico { width: 13px; height: 13px; }
.lq-gicon--40 { width: 42px; height: 42px; border-radius: 14px; } .lq-gicon--40 .lq-ico { width: 19px; height: 19px; }
.lq-gicon--48 { width: 50px; height: 50px; border-radius: 16px; } .lq-gicon--48 .lq-ico { width: 22px; height: 22px; }
.lq-gicon--success { color: var(--lq-success); background-color: var(--lq-success-soft); }
.lq-gicon--warning { color: var(--lq-warning); background-color: var(--lq-warning-soft); }
.lq-gicon--danger { color: var(--lq-danger); background-color: var(--lq-danger-soft); }
.lq-tile { display: block; flex: none; }
/* ── Statistique ──────────────────────────────────── */
.lq-stat { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px; }
.lq-stat__top { display: flex; align-items: center; gap: 10px; }
.lq-stat__label { flex: 1; font-size: 13px; font-weight: 500; color: var(--lq-muted); }
.lq-stat__value { font-size: 34px; line-height: 38px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--lq-ink); }
.lq-stat__unit { font-size: 17px; font-weight: 600; color: var(--lq-muted); margin-left: 3px; letter-spacing: 0; }
.lq-stat__foot { display: flex; align-items: center; gap: 8px; font: var(--lq-font-small); color: var(--lq-muted); }
.lq-spark { display: block; width: 100%; height: 36px; }
.lq-spark path.l { fill: none; stroke: var(--lq-accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lq-spark path.a { fill: var(--lq-accent-soft); stroke: none; }
.lq-spark circle { fill: var(--lq-accent); stroke: var(--lq-lens); stroke-width: 2.5; }

/* ── Badge, avatar, progression ───────────────────── */
.lq-badge { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: var(--lq-radius-xs); background: var(--lq-track); color: var(--lq-ink-2); font: 600 12px/1 var(--lq-font-sans); white-space: nowrap; font-variant-numeric: tabular-nums; }
.lq-badge--accent { background: var(--lq-accent-soft); color: var(--lq-accent-ink); }
.lq-badge--success { background: var(--lq-success-soft); color: var(--lq-success); }
.lq-badge--warning { background: var(--lq-warning-soft); color: var(--lq-warning); }
.lq-badge--danger { background: var(--lq-danger-soft); color: var(--lq-danger); }
.lq-badge--outline { background: transparent; box-shadow: inset 0 0 0 1px var(--lq-glass-line); color: var(--lq-muted); }
.lq-badge:has(.lq-badge__dot) { background: transparent; padding: 0; height: auto; color: var(--lq-ink); font-weight: 500; font-size: 13.5px; gap: 8px; }
.lq-badge__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lq-neutral-dot); }
.lq-badge--accent .lq-badge__dot { background: var(--lq-accent); }
.lq-badge--success .lq-badge__dot { background: var(--lq-success-dot); }
.lq-badge--warning .lq-badge__dot { background: var(--lq-warning-dot); }
.lq-badge--danger .lq-badge__dot { background: var(--lq-danger-dot); }
.lq-badge .lq-ico { width: 12px; height: 12px; stroke-width: 2.4; }
.lq-avatar { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 34px; height: 34px; border-radius: 11px; background-color: var(--lq-glass-strong); box-shadow: inset 0 1px 0 var(--lq-glass-edge), 0 0 0 1px var(--lq-accent-ring), 0 4px 10px -4px var(--lq-accent-ring); color: var(--lq-accent-ink); font: 600 12px/1 var(--lq-font-sans); overflow: hidden; }
.lq-avatar { position: relative; } .lq-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.lq-avatar--24 { width: 26px; height: 26px; font-size: 10px; border-radius: 8px; } .lq-avatar--40 { width: 44px; height: 44px; font-size: 15px; border-radius: 14px; }
.lq-avatar--20 { width: 20px; height: 20px; border-radius: var(--lq-radius-xs); font: var(--lq-font-badge); letter-spacing: -.02em; } .lq-avatar--18 { width: 18px; height: 18px; border-radius: var(--lq-radius-xs); font: var(--lq-font-badge); letter-spacing: -.03em; }
.lq-avatar--sq { border-radius: 12px; } .lq-avatar--sq.lq-avatar--24 { border-radius: 8px; } .lq-avatar--sq:is(.lq-avatar--20, .lq-avatar--18) { border-radius: var(--lq-radius-xs); } .lq-avatar--round { border-radius: var(--lq-radius-pill); }
.lq-avgroup { display: inline-flex; } .lq-avgroup .lq-avatar + .lq-avatar { margin-left: -8px; }
.lq-progress { height: 8px; border-radius: 999px; background: var(--lq-track); overflow: hidden; }
.lq-progress > span { display: block; height: 100%; border-radius: inherit; background: var(--lq-accent); box-shadow: inset 0 1px 0 rgba(255,255,255,.35); }
.lq-progress--success > span { background: var(--lq-success-dot); }
.lq-meter { display: flex; flex-direction: column; gap: 8px; }
.lq-meter__row { display: flex; justify-content: space-between; font-size: 13px; color: var(--lq-muted); }
.lq-meter__row b { color: var(--lq-ink); font-weight: 600; font-variant-numeric: tabular-nums; font-family: var(--lq-font-num); }

/* ── Tableau ──────────────────────────────────────── */
.lq-table { position: relative; border-radius: var(--lq-radius-xl); padding: 8px; }
.lq-table__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 6px 6px 12px; }
.lq-table__bar .lq-input--search { width: 240px; height: 34px; }
.lq-table__spacer { flex: 1; }
.lq-table__scroll { overflow-x: auto; }
.lq-table table { width: 100%; border-collapse: separate; border-spacing: 0; font: var(--lq-font-body); }
/* Typographie = liste CRM (fiche _coordination/REF-typo-crm.md) : en-têtes Inter 600 12.5/16, cellules Inter 400 13.5/20. */
.lq-table th { height: 40px; padding: 0 14px; text-align: left; white-space: nowrap; color: var(--lq-muted); font: var(--lq-font-label); }
.lq-table th.is-num, .lq-table td.is-num { text-align: right; font-variant-numeric: tabular-nums; }
.lq-table th button { display: inline-flex; align-items: center; gap: 4px; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.lq-table th button:hover, .lq-table th[aria-sort] { color: var(--lq-ink); }
.lq-table th .lq-ico { width: 12px; height: 12px; }
.lq-table td { height: 58px; padding: 0 14px; font: var(--lq-font-body); color: var(--lq-ink-2); white-space: nowrap; transition: background-color .15s; }
.lq-table td.is-num, .lq-table td.lq-num { font-family: var(--lq-font-num); }
.lq-table th:first-child, .lq-table td:first-child { padding-left: 12px; }
.lq-table:not(.lq-table--nocheck) th:first-child, .lq-table:not(.lq-table--nocheck) td:first-child { width: 1%; }
.lq-table tbody td:first-child { border-radius: var(--lq-radius-lg) 0 0 var(--lq-radius-lg); }
.lq-table tbody td:last-child { border-radius: 0 var(--lq-radius-lg) var(--lq-radius-lg) 0; }
.lq-table tbody tr:hover td { background-color: var(--lq-hover); }
.lq-table tbody tr:is([aria-selected="true"], [data-state="selected"]) td { background-color: var(--lq-accent-soft); }
.lq-table .lq-rowacts { opacity: 0; display: inline-flex; gap: 4px; transition: opacity .15s; }
.lq-table tbody tr:hover .lq-rowacts, .lq-table tbody tr[aria-selected="true"] .lq-rowacts { opacity: 1; }
.lq-table .lq-rowacts .lq-iconbtn { background-color: var(--lq-glass-strong); color: var(--lq-accent-ink); box-shadow: 0 0 0 1px var(--lq-glass-line); }
.lq-person { display: flex; align-items: center; gap: 12px; min-width: 0; }
.lq-person__name { display: block; color: var(--lq-ink); font: var(--lq-font-body-strong); }
.lq-person__sub { display: block; color: var(--lq-muted); font: var(--lq-font-small); }
/* Tuile emoji d'un objet (liste, campagne, script) et nom d'objet en cellule (object-tile.tsx). */
.lq-etile { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: none; background-color: var(--lq-glass-strong); box-shadow: var(--lq-shadow-glass); line-height: 1; }
.lq-etile__star { position: absolute; right: -3px; bottom: -3px; color: var(--lq-warning-dot); fill: var(--lq-warning-dot); stroke-width: 1.5; }
.lq-etile__badge { position: absolute; right: -4px; bottom: -4px; display: flex; overflow: hidden; border-radius: var(--lq-radius-xs); box-shadow: 0 0 0 2px var(--lq-glass-top); }
.lq-objname { gap: 10px; }
.lq-objname__txt { display: flex; flex-direction: column; min-width: 0; }
.lq-objname__txt > * { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lq-objname.is-muted .lq-person__name { font: var(--lq-font-body); color: var(--lq-ink-2); }
.lq-table__foot { display: flex; align-items: center; gap: 8px; padding: 10px 6px 2px; color: var(--lq-ink-2); font: var(--lq-font-body); font-family: var(--lq-font-num); font-variant-numeric: tabular-nums; }
.lq-bulk { position: absolute; left: 50%; bottom: -26px; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 16px; border-radius: 16px; box-shadow: var(--lq-shadow-float); white-space: nowrap; z-index: 2; }
.lq-bulk__count { font-weight: 600; color: var(--lq-ink); margin-right: 4px; }
.lq-bulk__sep { width: 1px; height: 20px; background: var(--lq-glass-line); margin: 0 2px; }
.lq-bulk .lq-btn:not(.lq-btn--primary) { background-color: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.lq-bulk .lq-btn:not(.lq-btn--primary):hover { background-color: var(--lq-hover); }
.lq-skel { display: block; height: 10px; border-radius: 5px; background: linear-gradient(90deg, var(--lq-track) 0%, var(--lq-hover) 50%, var(--lq-track) 100%); background-size: 200% 100%; animation: lq-shimmer 1.4s ease-in-out infinite; }
.lq-skel--circle { border-radius: 50%; }
@keyframes lq-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* ── Liste (lignes) ───────────────────────────────── */
.lq-list { display: flex; flex-direction: column; gap: 2px; padding: 0 8px 8px; }
.lq-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--lq-radius-lg); min-width: 0; transition: background-color .15s; }
.lq-row--hover:hover { background-color: var(--lq-hover); }
.lq-row__body { flex: 1; min-width: 0; }
.lq-row__title { display: block; font-weight: 600; color: var(--lq-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lq-row__sub { display: block; font-size: 12.5px; color: var(--lq-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lq-row__meta { font-size: 12.5px; color: var(--lq-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ── Menu, infobulle ──────────────────────────────── */
.lq-menu { width: 240px; padding: 6px; border-radius: var(--lq-radius-lg); background-color: var(--lq-glass-strong); box-shadow: var(--lq-shadow-float); }
.lq-menu__label { padding: 10px 10px 4px; color: var(--lq-faint); font: 500 12px/1 var(--lq-font-sans); }
.lq-menu__item { display: flex; align-items: center; gap: 10px; width: 100%; height: 36px; padding: 0 10px; border: 0; border-radius: var(--lq-radius-sm); background: none; color: var(--lq-ink); font: 500 14px/1 var(--lq-font-field); text-align: left; cursor: pointer; }
.lq-menu__item > .lq-ico { color: var(--lq-muted); }
.lq-menu__item:hover, .lq-menu__item[data-active="true"] { background: var(--lq-accent); color: var(--lq-on-accent); }
.lq-menu__item:hover > .lq-ico, .lq-menu__item[data-active="true"] > .lq-ico, .lq-menu__item:hover .lq-menu__check, .lq-menu__item[data-active="true"] .lq-menu__check { color: var(--lq-on-accent); }
.lq-menu__item--danger, .lq-menu__item--danger > .lq-ico { color: var(--lq-danger); }
.lq-menu__item--danger:hover { background: var(--lq-danger-dot); }
.lq-menu__item .lq-kbd { margin-left: auto; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; color: inherit; opacity: .6; }
.lq-menu__check { margin-left: auto; color: var(--lq-accent); }
.lq-menu__sep { height: 1px; margin: 6px 10px; background: var(--lq-glass-line); }
.lq-tip { display: inline-flex; align-items: center; gap: 8px; max-width: 260px; padding: 7px 11px; border-radius: 12px; background: var(--lq-tooltip); color: var(--lq-on-tooltip); font: 500 12.5px/16px var(--lq-font-sans); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 8px 20px -8px rgba(15,23,42,.4); }
.lq-tip .lq-kbd { background: transparent; box-shadow: inset 0 0 0 1px currentColor; -webkit-backdrop-filter: none; backdrop-filter: none; color: inherit; opacity: .7; height: 20px; }

/* ── Fenêtre, panneau ─────────────────────────────── */
.lq-scrim { position: relative; display: flex; align-items: center; justify-content: center; padding: 36px 16px; background: var(--lq-scrim); border-radius: var(--lq-radius-xl); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lq-modal { position: relative; width: 100%; max-width: 460px; border-radius: var(--lq-radius-2xl); background-color: var(--lq-glass-strong); -webkit-backdrop-filter: blur(30px) saturate(170%); backdrop-filter: blur(30px) saturate(170%); box-shadow: var(--lq-shadow-float); }
.lq-modal--wide { max-width: 640px; }
.lq-modal__head { display: flex; align-items: flex-start; gap: 14px; padding: 26px 26px 6px; }
/* Titres : le socle Tailwind (globals.css, @layer base) les met en Geist ; l'app entière est en Inter. Hors couche et spécificité nulle : toute classe qui fixe sa police garde la main. */
:where(h1, h2, h3, h4, h5, h6) { font-family: var(--lq-font-sans); }
.lq-modal__title { margin: 0; font-family: var(--lq-font-sans); font-size: 20px; line-height: 26px; font-weight: 700; letter-spacing: -.02em; color: var(--lq-ink); }
.lq-modal__text { margin: 4px 0 0; color: var(--lq-muted); font-size: 14px; line-height: 20px; }
.lq-modal__close { position: absolute; top: 14px; right: 14px; }
.lq-modal__body { padding: 14px 26px; display: flex; flex-direction: column; gap: 14px; }
.lq-modal__foot { display: flex; justify-content: flex-end; gap: 8px; padding: 14px 26px 26px; }
.lq-modal--center .lq-modal__head { flex-direction: column; align-items: center; text-align: center; padding-top: 30px; }
.lq-modal--center .lq-modal__foot { justify-content: center; }
.lq-drawerwrap { position: relative; display: flex; justify-content: flex-end; padding: 10px; background: var(--lq-scrim); border-radius: var(--lq-radius-xl); min-height: 440px; }
.lq-drawer { display: flex; flex-direction: column; width: 100%; max-width: 440px; border-radius: var(--lq-radius-2xl); background-color: var(--lq-glass-strong); -webkit-backdrop-filter: blur(30px) saturate(170%); backdrop-filter: blur(30px) saturate(170%); box-shadow: var(--lq-shadow-float); overflow: hidden; }
.lq-drawer__head { display: flex; align-items: center; gap: 12px; padding: 18px 16px 10px 22px; }
.lq-drawer__body { flex: 1; padding: 12px 22px 20px; display: flex; flex-direction: column; gap: 16px; overflow: auto; }
.lq-drawer__foot { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 16px 16px; }
.lq-kv { display: grid; grid-template-columns: 120px 1fr; gap: 12px; font-size: 14px; margin: 0; }
.lq-kv dt { color: var(--lq-muted); } .lq-kv dd { margin: 0; color: var(--lq-ink); min-width: 0; overflow-wrap: anywhere; }

/* ── Toast, bannière ──────────────────────────────── */
.lq-toast { display: flex; align-items: flex-start; gap: 12px; width: 100%; max-width: 380px; padding: 12px; border-radius: var(--lq-radius-xl); background-color: var(--lq-glass-strong); -webkit-backdrop-filter: blur(30px) saturate(170%); backdrop-filter: blur(30px) saturate(170%); box-shadow: var(--lq-shadow-float); }
.lq-toast__body { flex: 1; min-width: 0; padding-top: 1px; }
.lq-toast__title { display: block; font-weight: 600; color: var(--lq-ink); }
.lq-toast__text { display: block; color: var(--lq-muted); font-size: 13px; line-height: 18px; }
.lq-toast__action { margin-top: 6px; padding: 0; border: 0; background: none; color: var(--lq-accent-ink); font: 600 13px/1 var(--lq-font-sans); cursor: pointer; }
.lq-banner { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 8px; border-radius: var(--lq-radius-xl); }
.lq-banner__body { flex: 1; min-width: 0; }
.lq-banner__title { display: block; font-weight: 600; color: var(--lq-ink); }
.lq-banner__text { display: block; color: var(--lq-muted); font-size: 13px; line-height: 18px; }

/* ── États (vide, succès, erreur) ─────────────────── */
.lq-state { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 34px 24px; }
.lq-state__title { margin: 4px 0 0; font-size: 20px; line-height: 26px; font-weight: 700; letter-spacing: -.02em; color: var(--lq-ink); }
.lq-state__text { margin: 0; max-width: 420px; color: var(--lq-muted); font-size: 14px; line-height: 20px; }
.lq-state__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
.lq-state--compact { padding: 20px 16px; gap: 4px; }
.lq-state--compact .lq-state__title { font-size: 15px; line-height: 20px; margin: 0; letter-spacing: 0; }
.lq-state--compact .lq-state__text { font-size: 13px; line-height: 18px; }
.lq-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 176px)); justify-content: center; gap: 12px; width: 100%; margin-top: 12px; }
.lq-choice { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 150px; padding: 14px 10px; border: 0; border-radius: var(--lq-radius-xl); color: var(--lq-ink); font: 600 14px/1.3 var(--lq-font-sans); text-align: center; cursor: pointer; transition: transform .2s, background-color .2s, box-shadow .2s; }
.lq-choice:hover { transform: translateY(-2px); background-color: var(--lq-glass-strong); }
.lq-choice[aria-pressed="true"] { background-color: var(--lq-glass-strong); box-shadow: var(--lq-shadow-glass), 0 0 0 2px var(--lq-accent), 0 14px 30px -16px var(--lq-accent); }
.lq-choice__desc { font-size: 12.5px; font-weight: 400; color: var(--lq-muted); }
.lq-choice__mark { position: absolute; top: 10px; right: 10px; width: 20px; height: 20px; border-radius: var(--lq-radius-xs); background: var(--lq-accent); color: var(--lq-on-accent); display: flex; align-items: center; justify-content: center; box-shadow: var(--lq-shadow-accent); }
.lq-choice__mark .lq-ico { width: 11px; height: 11px; stroke-width: 3; }

/* ── Étiquette (tag) ─────────────────────────────── */
.lq-tag { --lq-tag: #64748B; display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px 0 9px; border: 0; border-radius: var(--lq-radius-xs); background: color-mix(in srgb, var(--lq-tag) 13%, var(--lq-glass-strong)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lq-tag) 22%, transparent), inset 0 1px 0 var(--lq-glass-edge); color: color-mix(in srgb, var(--lq-tag) 62%, var(--lq-ink)); font: 600 12.5px/1 var(--lq-font-sans); white-space: nowrap; max-width: 180px; }
.lq-tag__dot { width: 7px; height: 7px; flex: none; border-radius: 3px; background: var(--lq-tag); box-shadow: 0 0 0 2px color-mix(in srgb, var(--lq-tag) 20%, transparent); }
.lq-tag__name { overflow: hidden; text-overflow: ellipsis; }
.lq-tag__x { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; margin-right: -4px; padding: 0; border: 0; border-radius: 5px; background: transparent; color: inherit; opacity: .55; cursor: pointer; }
.lq-tag__x:hover { opacity: 1; background: color-mix(in srgb, var(--lq-tag) 18%, transparent); }
.lq-tag__x .lq-ico { width: 11px; height: 11px; stroke-width: 2.4; }
.lq-tag--sm { height: 22px; padding: 0 8px 0 7px; font-size: 12px; gap: 5px; }
.lq-tag--sm .lq-tag__dot { width: 6px; height: 6px; }
.lq-tag--solid { background: var(--lq-tag); color: #FFFFFF; box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 6px 14px -8px var(--lq-tag); }
.lq-tag--more { background: var(--lq-track); box-shadow: none; color: var(--lq-muted); }
.lq-tag--add { background: transparent; box-shadow: inset 0 0 0 1px var(--lq-glass-line); color: var(--lq-muted); cursor: pointer; gap: 4px; }
.lq-tag--add:hover { color: var(--lq-accent-ink); box-shadow: inset 0 0 0 1px var(--lq-accent-ring); background: var(--lq-accent-soft); }
.lq-tag--add .lq-ico { width: 12px; height: 12px; }
.lq-taglist { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.lq-tagpicker { width: 280px; }
.lq-tagpicker__search { padding: 2px 2px 6px; }
.lq-tagpicker__search .lq-input { height: 34px; }
.lq-tagpicker__item { gap: 9px; }
.lq-tagpicker__item:hover, .lq-tagpicker__item[data-active="true"] { background: var(--lq-hover); color: var(--lq-ink); }
.lq-tagpicker__check { width: 18px; height: 18px; pointer-events: none; }
.lq-tagpicker__count { margin-left: auto; color: var(--lq-muted); font-size: 12px; font-variant-numeric: tabular-nums; font-family: var(--lq-font-num); }
.lq-tagpicker__create { display: flex; flex-direction: column; gap: 10px; padding: 6px 10px 8px; }
.lq-tagpicker__label { font-size: 13px; font-weight: 600; color: var(--lq-ink); }
.lq-tagpicker__row { position: relative; display: flex; align-items: center; }
.lq-tagpicker__row > .lq-tagpicker__item { flex: 1; min-width: 0; }
.lq-tagpicker__del { position: absolute; right: 6px; top: 50%; translate: 0 -50%; width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: var(--lq-radius-xs); background: transparent; color: var(--lq-faint); cursor: pointer; opacity: 0; transition: opacity .12s; }
.lq-tagpicker__del .lq-ico { width: 14px; height: 14px; }
.lq-tagpicker__row:hover .lq-tagpicker__del, .lq-tagpicker__del:focus-visible { opacity: 1; }
.lq-tagpicker__del:hover { background: var(--lq-danger-soft); color: var(--lq-danger); }
.lq-tagpicker__confirm { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px 10px; border-radius: var(--lq-radius-sm); background: var(--lq-danger-soft); font: var(--lq-font-small); color: var(--lq-ink); }
.lq-tagpicker__confirm > span { flex: 1 1 100%; }
.lq-tagpicker__hint { margin: 4px 0 2px; padding: 6px 10px 2px; border-top: 1px solid var(--lq-glass-line); font: var(--lq-font-small); color: var(--lq-faint); }
.lq-swatches { display: flex; flex-wrap: wrap; gap: 6px; }
.lq-swatch { width: 20px; height: 20px; padding: 0; border: 0; border-radius: 6px; background: var(--lq-tag); cursor: pointer; box-shadow: inset 0 1px 0 rgba(255,255,255,.35); }
.lq-swatch[aria-checked="true"] { box-shadow: 0 0 0 2px var(--lq-lens), 0 0 0 4px var(--lq-tag); }

/* ── Bibliothèque Verre : bloqué, ligne d'action, bandeau à tuile ── */
.lq-locked { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 34px 24px; }
.lq-locked__body { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; }
.lq-locked__note { margin: 4px 0 0; font-size: 12.5px; color: var(--lq-muted); }
.lq-locked--row { flex-direction: row; text-align: left; align-items: center; gap: 14px; padding: 14px 18px 14px 10px; }
.lq-locked--row .lq-locked__body { align-items: flex-start; flex: 1; gap: 2px; }
.lq-locked--row .lq-state__title { font-size: 15px; line-height: 20px; margin: 0; letter-spacing: 0; }
.lq-locked--row .lq-state__text { font-size: 13px; }
.lq-locked--row .lq-state__actions { margin-top: 8px; justify-content: flex-start; }
.lq-perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 200px)); justify-content: center; gap: 10px; width: 100%; margin: 12px 0 2px; padding: 0; list-style: none; }
.lq-perk { display: flex; align-items: center; gap: 6px; padding: 4px 14px 4px 2px; border-radius: var(--lq-radius-md); background-color: var(--lq-glass); box-shadow: var(--lq-shadow-glass); text-align: left; font-size: 13px; font-weight: 500; line-height: 1.3; color: var(--lq-ink); }
.lq-perk .lq-tile { margin: -4px -4px -4px -2px; }
.lq-action { display: flex; align-items: center; gap: 8px; padding: 4px 14px 4px 4px; border-radius: var(--lq-radius-lg); background-color: var(--lq-glass); -webkit-backdrop-filter: blur(24px) saturate(170%); backdrop-filter: blur(24px) saturate(170%); box-shadow: var(--lq-shadow-glass); min-width: 0; }
.lq-action .lq-tile { margin: -6px -4px -6px -4px; }
.lq-action--reco { box-shadow: var(--lq-shadow-glass), 0 0 0 1.5px var(--lq-accent), 0 12px 26px -16px var(--lq-accent); }
.lq-action__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.lq-action__title { font-weight: 600; font-size: 14px; color: var(--lq-ink); }
.lq-action__desc { font-size: 12.5px; color: var(--lq-muted); }
.lq-action--done .lq-action__title { color: var(--lq-muted); text-decoration: line-through; }
.lq-action--done .lq-action__desc, .lq-action--skipped .lq-action__title { color: var(--lq-faint); }
.lq-action__aside { display: flex; align-items: center; gap: 8px; flex: none; }
.lq-tick { width: 24px; height: 24px; flex: none; border-radius: var(--lq-radius-xs); background: var(--lq-success-dot); color: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 6px 14px -6px var(--lq-success-dot); }
.lq-tick .lq-ico { width: 13px; height: 13px; stroke-width: 3; }
.lq-banner--tile { padding: 2px 10px 2px 2px; }
.lq-banner--tile .lq-tile { margin: -6px -2px -6px -2px; }
.lq-stat__tile { margin: -16px -14px -18px auto; }

/* ── Navigation ───────────────────────────────────── */
.lq-nav { display: flex; flex-direction: column; gap: 2px; width: 232px; flex: none; padding: 16px 10px; border-radius: 26px; box-sizing: border-box; }
.lq-nav__logo { display: flex; align-items: center; height: 34px; padding: 0 10px 14px; }
.lq-nav__logo img { height: 24px; width: auto; }
.lq-nav__logo .on-dark { display: none; }
.lq-nav__section { padding: 14px 12px 6px; color: var(--lq-faint); font: 600 11px/1 var(--lq-font-sans); letter-spacing: .06em; text-transform: uppercase; }
.lq-nav__item { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 12px; border: 0; border-radius: var(--lq-radius-md); background: none; color: var(--lq-ink-2); font: 500 14px/1 var(--lq-font-sans); text-decoration: none; cursor: pointer; text-align: left; transition: background-color .15s; }
.lq-nav__item:hover:not([aria-current="page"]) { background: var(--lq-hover); color: var(--lq-ink); }
.lq-nav__item[aria-current="page"] > .lq-ico { color: var(--lq-accent); }
.lq-nav__item > .lq-ico { color: var(--lq-muted); }
.lq-nav__item .lq-count { margin-left: auto; background: var(--lq-accent); color: var(--lq-on-accent); }
.lq-pagehead { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px; }
.lq-pagehead__body { flex: 1; min-width: 220px; }
.lq-pagehead__eyebrow { display: block; margin-bottom: 4px; color: var(--lq-muted); font-size: 13px; }
.lq-pagehead__title { margin: 0; font-family: var(--lq-font-sans); font-size: 28px; line-height: 34px; font-weight: 700; letter-spacing: -.03em; color: var(--lq-ink); text-wrap: balance; }
.lq-pagehead__text { margin: 3px 0 0; color: var(--lq-muted); font-size: 14px; }
.lq-pagehead__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.lq-topbar { display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 4px; }
.lq-crumbs { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--lq-muted); min-width: 0; }
.lq-crumbs b { color: var(--lq-ink); font-weight: 600; }
.lq-crumbs .lq-ico { width: 14px; height: 14px; color: var(--lq-faint); }

.lq-grid { display: grid; gap: 14px; }
.lq-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lq-grid--main { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); align-items: start; }
/* ═══ Navigation ═══ */
.lq-cmdk { width: 560px; max-width: 100%; border-radius: var(--lq-radius-2xl); background-color: var(--lq-glass-strong); -webkit-backdrop-filter: blur(30px) saturate(170%); backdrop-filter: blur(30px) saturate(170%); box-shadow: var(--lq-shadow-float); overflow: hidden; }
.lq-cmdk__input { display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 16px; border-bottom: 1px solid var(--lq-glass-line); }
.lq-cmdk__input > .lq-ico { width: 18px; height: 18px; color: var(--lq-muted); }
.lq-cmdk__input input { flex: 1; border: 0; outline: 0; background: none; color: var(--lq-ink); font: 400 16px var(--lq-font-sans); }
.lq-cmdk__input .lq-kbd { box-shadow: none; background: var(--lq-track); -webkit-backdrop-filter: none; backdrop-filter: none; }
.lq-cmdk__group { padding: 4px 8px; }
.lq-cmdk__sub { color: inherit; opacity: .6; font-weight: 400; }
.lq-cmdk__foot { display: flex; gap: 16px; padding: 10px 16px; border-top: 1px solid var(--lq-glass-line); font-size: 12px; color: var(--lq-muted); }
.lq-cmdk__foot .lq-kbd { height: 20px; min-width: 20px; box-shadow: none; background: var(--lq-track); -webkit-backdrop-filter: none; backdrop-filter: none; margin-right: 2px; }
.lq-accordion { display: flex; flex-direction: column; gap: 8px; }
.lq-acc { border-radius: var(--lq-radius-lg); background-color: var(--lq-glass); box-shadow: var(--lq-shadow-glass); }
.lq-acc__head { display: flex; align-items: center; gap: 10px; width: 100%; padding: 16px 18px; border: 0; background: none; color: var(--lq-ink); font: 600 14.5px/1.3 var(--lq-font-sans); text-align: left; cursor: pointer; }
.lq-acc__head span { flex: 1; } .lq-acc__head .lq-ico { color: var(--lq-muted); transition: transform .2s; }
.lq-acc.is-open { background-color: var(--lq-glass-strong); } .lq-acc.is-open .lq-acc__head .lq-ico { transform: rotate(180deg); }
.lq-acc__body { padding: 0 18px 16px; font-size: 14px; line-height: 21px; color: var(--lq-muted); }
.lq-steps { display: flex; align-items: center; gap: 8px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.lq-step { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--lq-muted); }
.lq-step:not(:last-child)::after { content: ""; width: 32px; height: 2px; border-radius: 2px; background: var(--lq-glass-line); margin-left: 4px; }
.lq-step.is-done:not(:last-child)::after { background: var(--lq-accent); }
.lq-step__mark { width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--lq-radius-xs); background-color: var(--lq-glass); box-shadow: var(--lq-shadow-glass); font-size: 12.5px; font-weight: 700; }
.lq-step__mark .lq-ico { width: 13px; height: 13px; stroke-width: 3; }
.lq-step.is-done .lq-step__mark { background: var(--lq-accent); color: #FFFFFF; box-shadow: var(--lq-shadow-accent); }
.lq-step.is-current { color: var(--lq-ink); font-weight: 600; }
.lq-step.is-current .lq-step__mark { background: var(--lq-lens); color: var(--lq-accent-ink); box-shadow: var(--lq-shadow-lens), 0 0 0 2px var(--lq-accent); }
.lq-steps--v { flex-direction: column; align-items: flex-start; gap: 0; }
.lq-steps--v .lq-step { flex-direction: row; } .lq-steps--v .lq-step:not(:last-child)::after { display: none; }
.lq-notif { position: relative; display: flex; align-items: flex-start; gap: 12px; padding: 12px; border-radius: var(--lq-radius-lg); }
.lq-notif:hover { background: var(--lq-hover); }
.lq-notif__text { font-size: 13.5px; line-height: 19px; color: var(--lq-ink-2); } .lq-notif__text b { color: var(--lq-ink); }
.lq-notif.is-unread { background: var(--lq-accent-soft); }
.lq-usermenu__me { display: flex; align-items: center; gap: 10px; padding: 8px 10px; } .lq-usermenu__me b { display: block; font-size: 14px; }
.lq-usermenu__theme { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 4px 6px 10px; font-size: 14px; }
.lq-credits { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 4px 0 10px; border: 0; border-radius: var(--lq-radius-sm); background-color: var(--lq-glass); box-shadow: var(--lq-shadow-glass); color: var(--lq-ink); font: 600 13px/1 var(--lq-font-sans); cursor: pointer; }
.lq-credits > .lq-ico { width: 14px; height: 14px; color: var(--lq-warning-dot); fill: var(--lq-warning-dot); }
.lq-credits__l { color: var(--lq-muted); font-weight: 500; }
.lq-credits__buy { height: 26px; padding: 0 9px; display: inline-flex; align-items: center; border-radius: 8px; background: var(--lq-accent); color: #FFFFFF; font-size: 12px; }

/* ═══ Retours ═══ */
.lq-spinner { display: inline-flex; align-items: center; gap: 8px; color: var(--lq-accent); font-size: 13.5px; } .lq-spinner span:last-child { color: var(--lq-muted); }
.lq-ring { position: relative; display: inline-flex; align-items: center; justify-content: center; }
.lq-ring svg { transform: rotate(-90deg); }
.lq-ring__track { fill: none; stroke: var(--lq-track); stroke-width: 6; }
.lq-ring__val { fill: none; stroke: var(--lq-accent); stroke-width: 6; stroke-linecap: round; transition: stroke-dashoffset .4s; }
.lq-ring b { position: absolute; font-size: 13px; }
.lq-alert { display: flex; gap: 10px; padding: 11px 14px; border-radius: var(--lq-radius-md); font-size: 13.5px; line-height: 19px; color: var(--lq-ink-2); }
.lq-alert > .lq-ico { margin-top: 1px; }
.lq-alert > div > b { display: block; color: var(--lq-ink); }
.lq-alert span b { font-weight: 600; color: var(--lq-ink); }
.lq-alert--info { background: var(--lq-accent-soft); } .lq-alert--info > .lq-ico { color: var(--lq-accent); }
.lq-alert--success { background: var(--lq-success-soft); } .lq-alert--success > .lq-ico { color: var(--lq-success); }
.lq-alert--warning { background: var(--lq-warning-soft); } .lq-alert--warning > .lq-ico { color: var(--lq-warning); }
.lq-alert--danger { background: var(--lq-danger-soft); } .lq-alert--danger > .lq-ico { color: var(--lq-danger); }
.lq-undo { display: inline-flex; align-items: center; gap: 12px; padding: 10px 10px 10px 16px; border-radius: 14px; background: var(--lq-tooltip); color: var(--lq-on-tooltip); font-size: 13.5px; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: var(--lq-shadow-float); }
.lq-undo .lq-toast__action { margin: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.lq-undo .lq-kbd { background: transparent; box-shadow: inset 0 0 0 1px currentColor; -webkit-backdrop-filter: none; backdrop-filter: none; color: inherit; opacity: .6; }

/* ── Compteur accent (menu latéral, onglets) ─────── */
.lq-count--accent { background: var(--lq-accent); color: var(--lq-on-accent); }
.lq-count--danger { background: var(--lq-danger-dot); color: var(--lq-on-accent); }

/* ── Menus déroulants (Base UI : DropdownMenu, Popover) ── */
.lq-menu { outline: none; max-height: var(--available-height, 70vh); overflow-y: auto; transform-origin: var(--transform-origin); transition: opacity .12s, transform .12s; }
.lq-menu--auto { width: auto; min-width: 200px; }
.lq-menu[data-starting-style], .lq-menu[data-ending-style] { opacity: 0; transform: scale(.97); }
.lq-menu__item { outline: none; text-decoration: none; }
.lq-menu__item[data-highlighted] { background: var(--lq-accent); color: var(--lq-on-accent); }
.lq-menu__item[data-highlighted] > .lq-ico, .lq-menu__item[data-highlighted] > svg, .lq-menu__item[data-highlighted] .lq-menu__check { color: var(--lq-on-accent); }
.lq-menu__item--danger[data-highlighted] { background: var(--lq-danger-dot); color: var(--lq-on-accent); }
/* Pastilles teintées dans une option survolée (fond accent plein) : posées sur la lentille blanche pour ne pas finir bleu sur bleu. */
.lq-menu__item:is(:hover, [data-highlighted], [data-active="true"]) :is(.lq-gicon, .lq-dv-gi, .lq-tint-ico, .lq-avatar:not(:has(img))) { background: var(--lq-lens); box-shadow: var(--lq-shadow-lens); }
.lq-menu__item[data-disabled], .lq-menu__item:disabled { opacity: .5; cursor: default; pointer-events: none; }
.lq-menu__item > svg:not(.lq-ico) { color: var(--lq-muted); }
.lq-popover { width: 300px; padding: 12px; border-radius: var(--lq-radius-lg); background-color: var(--lq-glass-strong); -webkit-backdrop-filter: blur(30px) saturate(170%); backdrop-filter: blur(30px) saturate(170%); box-shadow: var(--lq-shadow-float); color: var(--lq-ink); outline: none; font-family: var(--lq-font-sans); transform-origin: var(--transform-origin); transition: opacity .12s, transform .12s; }
.lq-popover[data-starting-style], .lq-popover[data-ending-style] { opacity: 0; transform: scale(.97); }

/* ── Fenêtre et panneau (Base UI Dialog) ───────────── */
.lq-overlay { position: fixed; inset: 0; z-index: 50; background: var(--lq-scrim); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: opacity .18s; }
.lq-overlay[data-starting-style], .lq-overlay[data-ending-style] { opacity: 0; }
.lq-modal { position: fixed; z-index: 50; top: 50%; left: 50%; transform: translate(-50%, -50%); width: calc(100% - 32px); max-height: calc(100dvh - 48px); overflow-y: auto; color: var(--lq-ink); outline: none; transition: opacity .18s, transform .18s; }
.lq-modal[data-starting-style], .lq-modal[data-ending-style] { opacity: 0; transform: translate(-50%, -48%) scale(.98); }
.lq-modal--sm { max-width: 400px; }
.lq-modal--lg { max-width: 820px; }
/* Très grande fenêtre (création en deux colonnes) : hauteur fixe, le corps remplit et ses colonnes défilent. */
.lq-modal--xl { max-width: 1160px; height: min(820px, calc(100dvh - 48px)); display: flex; flex-direction: column; overflow: hidden; }
.lq-modal--xl > .lq-modal__body { flex: 1; min-height: 0; overflow: hidden; padding-top: 10px; padding-bottom: 10px; }
.lq-modal--xl > .lq-modal__foot { align-items: center; border-top: 1px solid var(--lq-glass-line); padding-top: 14px; padding-bottom: 18px; }
@media (max-width: 767px) {
  .lq-modal--xl { width: 100%; max-width: none; height: 100dvh; max-height: none; border-radius: 0; }
  .lq-modal--xl > .lq-modal__body { overflow-y: auto; }
}
.lq-modal__head:not(:has(.lq-gicon, .gl-tile)) { padding-right: 56px; }
.lq-modal__head > div { min-width: 0; }
.lq-modal--center .lq-modal__text { max-width: 380px; }
.lq-drawer { position: fixed; z-index: 50; top: 8px; bottom: 8px; right: 8px; width: calc(100% - 16px); max-width: 440px; color: var(--lq-ink); outline: none; transition: opacity .2s, transform .2s; }
.lq-drawer--left { right: auto; left: 8px; }
.lq-drawer--wide { max-width: 560px; }
.lq-drawer--narrow { max-width: 320px; }
.lq-drawer[data-starting-style], .lq-drawer[data-ending-style] { opacity: 0; transform: translateX(24px); }
.lq-drawer--left[data-starting-style], .lq-drawer--left[data-ending-style] { transform: translateX(-24px); }
.lq-drawer__title { margin: 0; font-weight: 700; font-size: 16px; line-height: 22px; color: var(--lq-ink); }
.lq-drawer__sub { margin: 0; color: var(--lq-muted); font-size: 12.5px; line-height: 16px; }

/* ── Toast (sonner) ─────────────────────────────── */
.lq-toast { width: 356px; max-width: calc(100vw - 32px); box-sizing: border-box; color: var(--lq-ink); }
.lq-toast__x { margin: -2px -2px 0 0; }

/* ── Barre d'actions groupées flottante ───────────── */
.lq-bulk--fixed { position: fixed; bottom: 24px; z-index: 45; }
.lq-bulk--static { position: static; transform: none; display: inline-flex; }

/* ── Squelette, anneau ──────────────────────────── */
.lq-ring b { color: var(--lq-ink); }

/* ── Fond de l'app et coque (menu latéral flottant, contenu) ── */
.lq-app { background: radial-gradient(640px 460px at 0% 85%, var(--lq-backdrop-a), transparent 70%), radial-gradient(620px 440px at 100% 0%, var(--lq-backdrop-b), transparent 70%), var(--lq-bg); color: var(--lq-ink); }
.lq-sidebar { position: relative; flex: none; height: 100%; transition: width .2s; }
.lq-sidebar__panel { position: absolute; top: 14px; bottom: 14px; left: 14px; z-index: 40; width: 232px; padding: 14px 10px 10px; gap: 0; transition: width .2s, box-shadow .2s; overflow: hidden; }
.lq-sidebar.is-collapsed .lq-sidebar__panel { width: 64px; }
.lq-sidebar.is-peek .lq-sidebar__panel { width: 232px; z-index: 50; box-shadow: var(--lq-shadow-float); background-color: var(--lq-glass-strong); }
.lq-nav__logo a { display: inline-flex; border-radius: var(--lq-radius-sm); }
.lq-nav__logo a:focus-visible { outline: 2px solid var(--lq-accent); outline-offset: 2px; }
.lq-sidebar.is-collapsed:not(.is-peek) .lq-nav__logo { justify-content: center; padding-left: 0; padding-right: 0; }
.lq-nav__scroll { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; margin: 0 -10px; padding: 0 10px; }
.lq-nav__group { display: flex; flex-direction: column; gap: 2px; }
.lq-nav__foot { display: flex; flex-direction: column; gap: 2px; padding-top: 8px; margin-top: 8px; border-top: 1px solid var(--lq-glass-line); }
.lq-nav__item { position: relative; width: 100%; min-width: 0; box-sizing: border-box; white-space: nowrap; }
.lq-nav__item > svg:not(.lq-ico) { width: 17px; height: 17px; color: var(--lq-muted); }
.lq-nav__item[aria-current="page"] > svg:not(.lq-ico) { color: var(--lq-accent); }
.lq-nav__item[aria-expanded="true"]:not([aria-current="page"]) { background: var(--lq-hover); color: var(--lq-ink); }
.lq-nav__label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.lq-nav__item--sub { height: 34px; padding-left: 39px; font-size: 13.5px; }
.lq-nav__item--sub > svg:not(.lq-ico) { width: 15px; height: 15px; }
.lq-nav__item--locked { opacity: .55; }
.lq-nav__row { display: flex; align-items: center; gap: 2px; }
.lq-nav__row > .lq-nav__item { flex: 1; }
.lq-nav__toggle { flex: none; width: 30px; height: 30px; border-radius: var(--lq-radius-sm); }
.lq-nav__toggle svg { transition: transform .2s; }
.lq-nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.lq-nav.is-collapsed .lq-nav__item, .lq-sidebar.is-collapsed:not(.is-peek) .lq-nav__item { justify-content: center; padding: 0; gap: 0; }
.lq-nav .rl-mc-badge { border-radius: var(--lq-radius-xs); }
.lq-nav__collapse { width: 100%; height: 34px; margin-top: 4px; }
.lq-nav--sheet { width: auto; padding: 14px 10px; border-radius: 0; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.lq-sheet-nav { top: 8px !important; bottom: 8px !important; left: 8px !important; height: auto !important; width: min(280px, calc(100vw - 16px)) !important; border: 0 !important; border-radius: 26px; background-color: var(--lq-glass-strong) !important; -webkit-backdrop-filter: blur(30px) saturate(170%); backdrop-filter: blur(30px) saturate(170%); box-shadow: var(--lq-shadow-float) !important; overflow: hidden; gap: 0 !important; }
.lq-main { padding: 2px 18px 40px 4px; }
@media (max-width: 767px) { .lq-main { padding: 10px 8px 40px; } }
/* ═══ Scène, bande du haut et en-tête de page ═══
   `LqStage` (stage.tsx) : la barre du haut (`.lq-top`, posée par TopBar) flotte en haut de la scène ; elle porte la bande
   (titre de la page à gauche, recherche au centre, outils à droite) et la rangée onglets + actions de la page, que
   `PageHeader` remplit par portail. Le contenu (`.lq-main`) démarre 16 px sous ce bloc (`--lq-head-h`, mesuré par la barre). */
/* `--lq-head-h` : bas du bloc du haut (8 + 56, + 14 + 40 quand la page a une rangée) ; fixe, pour que le contenu ne saute
   pas quand la rangée passe en 32 px au défilement. Pages pleine hauteur : `height: 100%` ou `var(--lq-head-h)`. */
.lq-stage { --lq-head-h: calc(8px + var(--lq-topbar)); position: relative; display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; min-width: 0; }
.lq-stage:has(> .lq-top > .lq-top__row:not(:empty)) { --lq-head-h: calc(8px + var(--lq-topbar) + 14px + 40px); }
.lq-stage > .lq-main { padding-top: calc(var(--lq-head-h) + 16px); }

/* Bande : identité de la page (tuile 30 ou « ‹ » + avatar, titre 20/26, compteur, statut). */
.lq-ph { display: flex; align-items: center; gap: 10px; min-width: 0; height: 100%; }
.lq-ph__back { flex: none; }
.lq-ph__tile { flex: none; width: 30px; height: 30px; border-radius: var(--lq-radius-sm); display: grid; place-items: center; color: var(--c); background: linear-gradient(160deg, color-mix(in srgb, var(--c) 20%, transparent), color-mix(in srgb, var(--c) 6%, transparent)); box-shadow: inset 0 1px 0 var(--lq-glass-edge), inset 0 0 0 1px color-mix(in srgb, var(--c) 18%, transparent); }
.lq-ph__tile > svg { width: 15px; height: 15px; }
.lq-ph__lead { flex: none; display: inline-flex; align-items: center; }
.lq-ph__title { margin: 0; flex: 0 1 auto; min-width: min(4.5em, 100%); font: 700 20px/26px var(--lq-font-sans); letter-spacing: -.02em; color: var(--lq-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lq-ph__count { flex: none; display: inline-flex; align-items: center; height: 20px; padding: 0 6px; border-radius: var(--lq-radius-xs); background: var(--lq-track); color: var(--lq-muted); font: 600 12px/1 var(--lq-font-num); font-variant-numeric: tabular-nums; }
.lq-ph__status { flex: none; display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.lq-ph__after { flex: 0 100 auto; display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.lq-ph__after > * { flex-shrink: 0; }
.lq-ph--narrow .lq-ph__status .lq-status__main { font-size: 0; gap: 0; }
.lq-ph--narrow .lq-ph__status .lq-status__detail { display: none; }

/* Rangée sous la bande : onglets à gauche ; pastille d'attention, secondaires, principal, « ⋯ » à droite. */
.lq-ph-row { display: flex; align-items: center; gap: 10px; min-height: 40px; min-width: 0; }
.lq-ph-row__tabs { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 0 1 auto; }
.lq-stage[data-size="s"] .lq-ph-row__tabs { min-width: 96px; flex-shrink: 1000; }
/* Zone étroite : les onglets perdent leur icône (le libellé reste). */
.lq-stage:is([data-size="n"], [data-size="s"]) .lq-ph-row__tabs .lq-tab > svg { display: none; }
.lq-stage:is([data-size="n"], [data-size="s"]) .lq-ph-row__tabs .lq-tab { padding: 0 12px; }
.lq-ph-row__tabs > * { min-width: 0; }
.lq-ph-row__tabs .lq-tabs { padding: 2px 3px 5px; margin: -2px -3px -5px; scrollbar-width: none; }
.lq-ph-row__tabs .lq-tabs::-webkit-scrollbar { display: none; }
.lq-stage[data-size="s"] .lq-ph__tile, .lq-stage[data-size="s"] .lq-ph__lead { display: none; }
.lq-ph-row__acts { margin-left: auto; display: flex; align-items: center; gap: 8px; flex: none; }
/* Scène très étroite : si des contrôles libres ne tiennent pas, la zone d'actions défile plutôt que de déborder. */
.lq-stage[data-size="s"] .lq-ph-row__acts { flex: 0 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; padding: 6px 0 6px 6px; margin: -6px 0 -6px auto; }
.lq-stage[data-size="s"] .lq-ph-row__acts::-webkit-scrollbar { display: none; }
.lq-stage[data-size="s"] .lq-ph-row__acts > * { flex-shrink: 0; }
/* Rangée trop étroite pour onglets + actions (mesurée par PageHeader) : les actions se resserrent, les onglets restent entiers. */
.lq-ph-row:is([data-tight="2"], [data-tight="3"]) .lq-ph-btn--primary.lq-ph-btn--icon { aspect-ratio: 1; padding: 0; justify-content: center; }
.lq-ph-row:is([data-tight="2"], [data-tight="3"]) .lq-ph-btn--primary.lq-ph-btn--icon :is(.lq-ph-btn__label, .lq-ph-btn__kbd) { display: none; }
.lq-ph-row[data-tight] .lq-ph-row__acts .lq-chip { font-size: 0; gap: 6px; }
.lq-ph-row[data-tight] .lq-ph-row__acts .lq-chip__val { font-size: 13px; }
.lq-ph-row[data-tight="3"] .lq-ph-row__acts .lq-chip__val { display: none; }
/* Actions dans la bande (page sans onglets) : à droite du titre, taille de la barre. */
.lq-ph-row--band { flex: none; min-height: 0; margin-left: auto; padding-left: 12px; }
.lq-ph-btn__kbd { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 2px; border-radius: 5px; background: var(--lq-track); color: var(--lq-muted); font: 600 11px/1 var(--lq-font-num); }
.lq-ph-btn--primary .lq-ph-btn__kbd { background: rgba(255, 255, 255, .2); color: inherit; }
.lq-ph-btn__badge { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 6px; background: var(--lq-warning-dot); color: #FFFFFF; font: 700 11px/1 var(--lq-font-num); }
.lq-attn { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border: 0; border-radius: var(--lq-radius-sm); background: var(--lq-accent-soft); color: var(--lq-accent-ink); font: 600 12.5px/1 var(--lq-font-sans); white-space: nowrap; flex: none; text-decoration: none; cursor: default; }
:is(a, button).lq-attn { cursor: pointer; transition: filter .15s; }
:is(a, button).lq-attn:hover { filter: brightness(.97); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); }
.lq-attn b { font: 700 12.5px/1 var(--lq-font-num); font-variant-numeric: tabular-nums; }
.lq-attn > svg { width: 14px; height: 14px; flex: none; }
.lq-attn--warning { background: var(--lq-warning-soft); color: var(--lq-warning); }
.lq-attn--danger { background: var(--lq-danger-soft); color: var(--lq-danger); }
.lq-attn--compact .lq-attn__label, .lq-stage:is([data-size="n"], [data-size="s"]) .lq-ph-row .lq-attn:has(> b) .lq-attn__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* Défilé : rangée en 32 px. */
.lq-stage[data-scrolled] .lq-ph-row { min-height: 32px; }
.lq-stage[data-scrolled] .lq-ph-row .lq-tab { height: 30px; padding: 0 11px; }
.lq-stage[data-scrolled] .lq-ph-row :is(.lq-btn--sm, .lq-iconbtn--sm) { height: 32px; }
.lq-stage[data-scrolled] .lq-ph-row .lq-iconbtn--sm { width: 32px; }
.lq-stage[data-scrolled] .lq-ph-row .lq-ph-btn__kbd { display: none; }

/* Avant que la barre ne prenne l'en-tête (rendu serveur) : même place, dans le flux. */
.lq-ph-inline { position: relative; margin: -2px 0 16px; }
.lq-ph-inline__band { position: absolute; left: 0; bottom: calc(100% + 14px); height: var(--lq-topbar); display: flex; align-items: center; max-width: calc(50% - 220px); }
.lq-ph-inline--solo { margin: 0; }
.lq-ph-inline--solo > .lq-ph-inline__band { bottom: 16px; }
.lq-ph-inline--static { margin: 0 0 16px; }
.lq-ph-inline--static > .lq-ph-inline__band { position: static; max-width: none; margin-bottom: 14px; }

@media (max-width: 767px) {
  .lq-stage, .lq-stage:has(> .lq-top > .lq-top__row:not(:empty)) { --lq-head-h: 0px; }
  .lq-stage > .lq-main { padding-top: 10px; }
  .lq-ph { gap: 8px; }
  .lq-ph__tile, .lq-ph__lead, .lq-ph__status, .lq-ph__after { display: none; }
  .lq-ph__title { font-size: 17px; line-height: 22px; }
  .lq-ph-row__tabs { overflow-x: auto; scrollbar-width: none; padding: 2px 3px 5px; margin: -2px -3px -5px; }
  .lq-ph-row__tabs .lq-tabs { padding: 0; margin: 0; }
  .lq-ph-row .lq-attn { display: none; }
  .lq-ph-btn--primary.lq-ph-btn--icon { width: 40px; padding: 0; }
  .lq-ph-btn--primary.lq-ph-btn--icon :is(.lq-ph-btn__label, .lq-ph-btn__kbd) { display: none; }
  .lq-ph-inline { margin: 0 0 12px; }
  .lq-ph-inline__band { display: none; }
}

/* ── Mouvement réduit, mobile ────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .lq-skel, .lq-spin { animation: none; }
  [class*="lq-"] { transition: none !important; }
  .lq-btn:active, .lq-iconbtn:active, .lq-card--interactive:hover, .lq-choice:hover { transform: none; }
}
@media (max-width: 720px) {
  .lq-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lq-grid--main { grid-template-columns: 1fr; }
  .lq-modal { width: calc(100% - 16px); }
  .lq-modal__head, .lq-modal__body, .lq-modal__foot { padding-left: 20px; padding-right: 20px; }
  .lq-modal__foot { flex-wrap: wrap; }
  .lq-table__bar .lq-input--search { width: 100%; }
}
.lq-iconbtn { position: relative; }
/* Le bouton Fermer des fenêtres reste en haut à droite (la règle ci-dessus le replaçait dans le flux). */
.lq-modal .lq-modal__close { position: absolute; }
.lq-nav__item[data-active="true"] { background: var(--lq-lens); color: var(--lq-ink); font-weight: 600; box-shadow: var(--lq-shadow-lens); }
.lq-nav__item[data-active="true"] > svg:not(.lq-ico) { color: var(--lq-accent); }
.lq-nav__foot .lq-nav__section { padding-top: 4px; }
.lq-nav .sp-nav-dot { box-shadow: 0 0 0 2px var(--lq-glass-strong); }
.lq-nav__item .lq-count, .lq-nav__item .rl-mc-badge { margin-left: auto; }
.lq-count--soft, .lq-nav__item .lq-count--soft { background: var(--lq-accent-soft); color: var(--lq-accent-ink); }
.lq-count--success, .lq-nav__item .lq-count--success { background: var(--lq-success-soft); color: var(--lq-success); }

/* ── Dépôt de fichier ─────────────────────────────── */
.lq-filedrop-wrap { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.lq-filedrop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 230px; padding: 24px; border-radius: var(--lq-radius-xl); background-color: var(--lq-glass); -webkit-backdrop-filter: blur(24px) saturate(170%); backdrop-filter: blur(24px) saturate(170%); box-shadow: var(--lq-shadow-glass); outline: 2px dashed var(--lq-accent-ring); outline-offset: -10px; text-align: center; color: var(--lq-ink); cursor: pointer; transition: background-color .15s, outline-color .15s, transform .15s; }
.lq-filedrop:hover { background-color: var(--lq-glass-strong); }
.lq-filedrop:focus-visible { outline: 2px solid var(--lq-accent); outline-offset: 2px; }
.lq-filedrop.is-over { background-color: var(--lq-accent-soft); outline: 2px solid var(--lq-accent); transform: scale(1.005); }
.lq-filedrop.is-compact { min-height: 170px; padding: 18px; }
.lq-filedrop.is-disabled { opacity: .5; cursor: not-allowed; }
.lq-filedrop__title { margin-top: 2px; font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.lq-filedrop__hint { font-size: 13px; color: var(--lq-muted); }
.lq-filedrop__browse { color: var(--lq-accent-ink); font-weight: 600; }
.lq-filedrop__file { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 12px; border-radius: var(--lq-radius-lg); background-color: var(--lq-glass-strong); box-shadow: var(--lq-shadow-glass); }
.lq-filedrop__file.is-error { background-color: var(--lq-danger-soft); box-shadow: none; }
.lq-filedrop__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.lq-filedrop__name { font-size: 14px; font-weight: 600; color: var(--lq-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lq-filedrop__meta { font-size: 12.5px; color: var(--lq-muted); }
.lq-filedrop__err { font-size: 12.5px; color: var(--lq-danger); }

/* ── Liste déroulante (Select) ────────────────────── */
.lq-select--sm { height: 34px; border-radius: var(--lq-radius-sm); font-size: 13px; padding: 0 10px; gap: 6px; }
.lq-select--block { width: 100%; }
.lq-selval { display: inline-flex; align-items: center; gap: 7px; min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--lq-ink); }
.lq-selval__prefix { color: var(--lq-muted); }
.lq-selval__ico { flex: none; } .lq-selval > .lq-avatar, .lq-selval > .lq-ico { flex: none; }
.lq-selval__t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lq-selmenu { min-width: 200px; max-height: min(360px, 60dvh); overflow-y: auto; }
.lq-selopt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.lq-selopt small { color: var(--lq-muted); font-size: 12px; }
.lq-dot { --lq-dot: var(--lq-neutral-dot); display: inline-block; width: 8px; height: 8px; flex: none; border-radius: 3px; background: var(--lq-dot); }

/* ── Statut (status.tsx) : pastille verre GlassIcon, seule l'icône prend la couleur du statut ── */
.lq-status-ico { --lq-st: var(--lq-accent); color: var(--lq-st); background-color: var(--lq-lens); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lq-st) 28%, transparent), 0 3px 10px -4px color-mix(in srgb, var(--lq-st) 55%, transparent); }
.lq-status-ico--sm { width: 22px; height: 22px; border-radius: var(--lq-radius-xs); }
.lq-status-ico--sm .lq-ico, .lq-status-ico--sm > svg { width: 12px; height: 12px; }
.lq-status-ico--green { --lq-st: var(--lq-success-dot); }
.lq-status-ico--blue { --lq-st: var(--lq-accent); }
.lq-status-ico--orange { --lq-st: var(--lq-warning-dot); }
.lq-status-ico--red { --lq-st: var(--lq-danger-dot); }
.lq-status-ico--violet { --lq-st: var(--lq-tag-violet); }
.lq-status-ico--gray { --lq-st: var(--lq-muted); }
.lq-status-ico--ink { --lq-st: var(--lq-ink-2); }
.lq-status-ico--faint { --lq-st: var(--lq-faint); }
/* Statut en direct (campagne en cours d'envoi) : halo qui pulse autour de la pastille. */
.lq-status-ico--live::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; animation: lq-status-live 1.8s ease-out infinite; }
@keyframes lq-status-live { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--lq-st) 50%, transparent); } 70%, 100% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--lq-st) 0%, transparent); } }
@media (prefers-reduced-motion: reduce) { .lq-status-ico--live::after { animation: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--lq-st) 22%, transparent); } }
.lq-status-ico .lq-spin { width: 12px; height: 12px; border-width: 2px; }
.lq-status-ico--sm .lq-spin { width: 10px; height: 10px; }
.lq-status { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; }
.lq-status__main { display: inline-flex; align-items: center; gap: 7px; font: var(--lq-font-body-strong); color: var(--lq-ink); white-space: nowrap; }
.lq-status__detail { font: var(--lq-font-small); color: var(--lq-muted); padding-left: 29px; }

/* ── Filtres et tris déroulants (filter-menu.tsx) : même rendu que le menu « Statut » ── */
.lq-fmenu-chip .lq-status-ico, .lq-fmenu-chip .lq-gicon { width: 22px; height: 22px; margin-left: -6px; border-radius: var(--lq-radius-xs); }
.lq-fmenu-chip .lq-status-ico .lq-ico, .lq-fmenu-chip .lq-gicon .lq-ico { width: 12px; height: 12px; }
.lq-fmenu-chip .lq-chip__val { max-width: 180px; overflow: hidden; text-overflow: ellipsis; }
.lq-fmenu-chip[data-active="true"] { background-color: var(--lq-accent-soft); color: var(--lq-accent-ink); box-shadow: inset 0 0 0 1px var(--lq-accent-ring); }
.lq-fmenu { min-width: 240px; max-width: min(320px, calc(100vw - 32px)); }
.lq-fmenu__list { display: flex; flex-direction: column; }
.lq-fmenu__row { display: flex; align-items: center; gap: 10px; min-width: 0; width: 100%; }
.lq-fmenu__label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lq-fmenu__n { margin-left: auto; font: var(--lq-font-small); font-variant-numeric: tabular-nums; color: var(--lq-muted); font-family: var(--lq-font-num); }
.lq-fmenu .lq-menu__item:hover .lq-fmenu__n, .lq-fmenu .lq-menu__item[data-highlighted] .lq-fmenu__n { color: inherit; }
.lq-fmenu__dot { --lq-dot: var(--lq-neutral-dot); width: 10px; height: 10px; margin: 0 6px; flex: none; border-radius: 50%; background: var(--lq-dot); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lq-dot) 18%, transparent); }
.lq-fmenu__search { display: flex; align-items: center; gap: 8px; height: 34px; margin: 2px 2px 6px; padding: 0 10px; border-radius: var(--lq-radius-sm); background: var(--lq-lens); box-shadow: inset 0 0 0 1px var(--lq-glass-line); color: var(--lq-muted); }
.lq-fmenu__search .lq-ico { width: 14px; height: 14px; flex: none; }
.lq-fmenu__search input { flex: 1; min-width: 0; border: 0; outline: none; background: none; color: var(--lq-ink); font: var(--lq-font-body); }
.lq-fmenu__empty { padding: 10px; font: var(--lq-font-small); color: var(--lq-muted); }
.lq-fmenu__clear { color: var(--lq-muted); }

/* ── Signal (signal.tsx) ─────────────────────────────
   Tuile verre recolorée : on redéfinit localement les variables d'accent lues par .gl-tile
   (glass.css). Mélanges sur --lq-glass-top (blanc en clair, ardoise en sombre) : le mode sombre suit. */
.lq-sig-tone { display: inline-flex; flex: none; }
.lq-sig-tone--success { --lq-tone: var(--lq-success-dot); --lq-accent-ink: var(--lq-success); }
.lq-sig-tone--warning { --lq-tone: var(--lq-warning-dot); --lq-accent-ink: var(--lq-warning); }
.lq-sig-tone--danger { --lq-tone: var(--lq-danger-dot); --lq-accent-ink: var(--lq-danger); }
.lq-sig-tone--success, .lq-sig-tone--warning, .lq-sig-tone--danger {
  --lq-accent: var(--lq-tone);
  --lq-accent-400: color-mix(in srgb, var(--lq-tone) 70%, var(--lq-glass-top));
  --lq-accent-50: color-mix(in srgb, var(--lq-tone) 10%, var(--lq-glass-top));
  --lq-accent-200: color-mix(in srgb, var(--lq-tone) 36%, var(--lq-glass-top)); }

.lq-sig { --lq-sig: var(--lq-accent); position: relative; display: flex; align-items: center; gap: 18px; min-width: 0; padding: 18px 22px 18px 16px; border-radius: var(--lq-radius-xl); font-family: var(--lq-font-sans);
  background-color: var(--lq-glass); -webkit-backdrop-filter: blur(24px) saturate(170%); backdrop-filter: blur(24px) saturate(170%);
  background-image: radial-gradient(420px 160px at 0% 50%, color-mix(in srgb, var(--lq-sig) 14%, transparent), transparent 70%);
  box-shadow: var(--lq-shadow-glass), 0 0 0 1.5px color-mix(in srgb, var(--lq-sig) 30%, transparent), 0 18px 40px -24px color-mix(in srgb, var(--lq-sig) 70%, transparent); }
.lq-sig--success { --lq-sig: var(--lq-success-dot); }
.lq-sig--warning { --lq-sig: var(--lq-warning-dot); }
.lq-sig--danger { --lq-sig: var(--lq-danger-dot); }
.lq-sig--lg { padding: 22px 26px 22px 18px; }
.lq-sig--count { padding-right: 56px; }
.lq-sig .lq-sig-tone .lq-tile { margin: -18px -10px -18px -14px; }
.lq-sig--lg .lq-sig-tone .lq-tile { margin: -24px -12px -24px -18px; }
.lq-sig__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.lq-sig__eyebrow { font: var(--lq-font-badge); text-transform: uppercase; letter-spacing: .06em; color: var(--lq-accent-ink); }
.lq-sig--success .lq-sig__eyebrow { color: var(--lq-success); }
.lq-sig--warning .lq-sig__eyebrow { color: var(--lq-warning); }
.lq-sig--danger .lq-sig__eyebrow { color: var(--lq-danger); }
.lq-sig__title { font: var(--lq-font-title); color: var(--lq-ink); }
.lq-sig--lg .lq-sig__title { font: var(--lq-font-title-lg); letter-spacing: var(--lq-tracking-title-lg); }
.lq-sig__text { font: var(--lq-font-body); color: var(--lq-ink-2); }
.lq-sig__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; }
.lq-sig__count { position: absolute; top: 14px; right: 16px; min-width: 26px; height: 26px; padding: 0 8px; border-radius: var(--lq-radius-pill); display: inline-flex; align-items: center; justify-content: center; background: var(--lq-sig); color: var(--lq-on-accent); font: var(--lq-font-label); box-shadow: 0 4px 12px -4px var(--lq-sig); }
@container (max-width: 460px) { .lq-sig { flex-direction: column; align-items: flex-start; gap: 8px; } }

.lq-sigrows { display: flex; flex-direction: column; gap: 4px; }
.lq-sigrow { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 6px 8px 6px 4px; border-radius: var(--lq-radius-lg); font-family: var(--lq-font-sans); }
.lq-sigrow .lq-sig-tone .lq-tile { margin: -10px -8px; }
.lq-sigrow__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.lq-sigrow__title { font: var(--lq-font-body-strong); color: var(--lq-ink); }
.lq-sigrow__detail { font: var(--lq-font-small); color: var(--lq-muted); }
.lq-sigrow__action { display: flex; flex: none; align-items: center; gap: 6px; }
.lq-sigrow--warning { background: color-mix(in srgb, var(--lq-warning-dot) 8%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lq-warning-dot) 22%, transparent); }
.lq-sigrow--danger { background: color-mix(in srgb, var(--lq-danger-dot) 8%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lq-danger-dot) 24%, transparent); }

/* Bulle des `title=` natifs (LqTitleTooltips, monté dans app/layout.tsx) : même rendu que LqTooltip. */
.lq-titletip { position: fixed; z-index: 2147483000; pointer-events: none; display: block; white-space: pre-line; overflow-wrap: anywhere; }
.lq-titletip[hidden] { display: none; }

/* Valeur vide « — » (même rendu que la liste CRM `.crc-dash`) : Arial 400 12.5/18, couleur --lq-faint. Dans un tableau ou une fiche. */
.lq-dash { font: var(--lq-font-small); color: var(--lq-faint); font-variant-numeric: normal; }

/* Chiffre clé cliquable (KpiButton, kpi-button.tsx) : carte chiffre dans un bouton, chevron au survol, anneau quand actif. */
.lq-kbtn { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 0; border: 0; background: none; text-align: left; font: inherit; color: inherit; cursor: pointer; border-radius: var(--lq-radius-xl); }
.lq-kbtn > .lq-card { flex: 1; min-width: 0; box-sizing: border-box; transition: box-shadow .15s, transform .15s; }
.lq-kbtn:hover > .lq-card { box-shadow: var(--lq-shadow-float); transform: translateY(-1px); }
.lq-kbtn:focus-visible { outline: 2px solid var(--lq-accent); outline-offset: 2px; }
.lq-kbtn.is-on > .lq-card { box-shadow: var(--lq-shadow-glass), 0 0 0 1.5px var(--lq-accent); }
.lq-kbtn--danger.is-on > .lq-card { box-shadow: var(--lq-shadow-glass), 0 0 0 1.5px var(--lq-danger-dot); }
.lq-kbtn__go { position: absolute; top: 14px; right: 14px; z-index: 1; width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--lq-radius-xs); color: var(--lq-faint); opacity: 0; transition: opacity .15s, background-color .15s, color .15s; }
.lq-kbtn__go .lq-ico { width: 14px; height: 14px; }
.lq-kbtn:hover .lq-kbtn__go, .lq-kbtn:focus-visible .lq-kbtn__go { opacity: 1; background: var(--lq-accent-soft); color: var(--lq-accent-ink); }
.lq-kbtn .lq-stat__label { padding-right: 26px; }
.lq-kbtn .lq-stat__tile { margin-right: 14px; }
.lq-kbtn .lq-stat__foot { flex-wrap: wrap; }

/* Pastille d'objet lié (LinkChip, link-chip.tsx) : opportunité, facture, RDV, lien, pièce jointe. */
.lq-linkchip { display: inline-flex; align-items: center; gap: 6px; height: 24px; max-width: 100%; min-width: 0; padding: 0 9px 0 6px; border: 0; border-radius: var(--lq-radius-sm); background-color: var(--lq-glass-strong); box-shadow: var(--lq-shadow-glass); font: var(--lq-font-label); color: var(--lq-ink-2); white-space: nowrap; text-decoration: none; vertical-align: middle; }
.lq-linkchip__t { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.lq-linkchip > .lq-ico { width: 13px; height: 13px; flex: none; color: var(--lq-accent-ink); }
:is(a, button).lq-linkchip { cursor: pointer; transition: color .15s, background-color .15s; }
:is(a, button).lq-linkchip:hover { color: var(--lq-accent-ink); background-color: var(--lq-lens); }
:is(a, button).lq-linkchip:focus-visible { outline: 2px solid var(--lq-accent); outline-offset: 2px; }
.lq-linkchip.is-struck .lq-linkchip__t { text-decoration: line-through; opacity: .75; }

/* ═══ components/ui/liquid/data.css ═══ */
/* Composants de données (data.tsx, kpi.tsx, charts.tsx, stat-table.tsx) : port du catalogue « Composants de données »
   et de la maquette du Dashboard. Jetons --lq-* uniquement : le mode sombre suit sans conversion (dossier exclu de
   scripts/gen-dark-theme.ts). Petits chiffres en DM Sans tabulaire (--lq-font-num), gros chiffres en Inter tabulaire. */

.lq-dv-n { font-family: var(--lq-font-num); font-variant-numeric: tabular-nums; }

/* ── Carré verre teinté (icône des cartes) ── */
.lq-dv-gi { --lq-dv-c: var(--lq-accent); width: 32px; height: 32px; border-radius: var(--lq-radius-sm); display: grid; place-items: center; flex: none; color: var(--lq-dv-c); background: linear-gradient(160deg, color-mix(in srgb, var(--lq-dv-c) 18%, transparent), color-mix(in srgb, var(--lq-dv-c) 6%, transparent)); box-shadow: inset 0 1px 0 var(--lq-glass-edge), inset 0 0 0 1px color-mix(in srgb, var(--lq-dv-c) 16%, transparent); }
.lq-dv-gi .lq-ico { width: 16px; height: 16px; }
.lq-dv-gi--sm { width: 24px; height: 24px; border-radius: 8px; } .lq-dv-gi--sm .lq-ico { width: 13px; height: 13px; }
.lq-dv-gi--lg { width: 40px; height: 40px; border-radius: var(--lq-radius-md); } .lq-dv-gi--lg .lq-ico { width: 19px; height: 19px; }

/* ── Évolution ── */
.lq-dv-delta { display: inline-flex; align-items: center; gap: 3px; height: 22px; padding: 0 7px; border-radius: var(--lq-radius-pill); font: var(--lq-font-badge); font-family: var(--lq-font-num); font-variant-numeric: tabular-nums; white-space: nowrap; flex: none; }
.lq-dv-delta .lq-ico { width: 11px; height: 11px; stroke-width: 2.4; }
.lq-dv-delta--up { color: var(--lq-success); background: var(--lq-success-soft); }
.lq-dv-delta--down { color: var(--lq-danger); background: var(--lq-danger-soft); }
.lq-dv-delta--flat { color: var(--lq-muted); background: var(--lq-track); }
.lq-dv-delta--inv.lq-dv-delta--up { color: var(--lq-danger); background: var(--lq-danger-soft); }
.lq-dv-delta--inv.lq-dv-delta--down { color: var(--lq-success); background: var(--lq-success-soft); }
.lq-dv-dl { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; }
.lq-dv-delta-t { font: var(--lq-font-small); color: var(--lq-muted); min-width: 0; }

/* ── Compteur imagé, rang, en direct ── */
.lq-dv-lens { width: 22px; height: 22px; border-radius: var(--lq-radius-xs); display: grid; place-items: center; background: var(--lq-glass-strong); box-shadow: var(--lq-shadow-lens); color: var(--lq-dv-c, var(--lq-accent)); flex: none; }
.lq-dv-lens .lq-ico { width: 13px; height: 13px; }
.lq-dv-cc { --lq-dv-c: var(--lq-accent); display: inline-flex; align-items: center; gap: 7px; font: var(--lq-font-label); font-family: var(--lq-font-num); font-variant-numeric: tabular-nums; color: var(--lq-ink); white-space: nowrap; }
.lq-dv-cc small { font: var(--lq-font-small); color: var(--lq-muted); }
.lq-dv-cc.is-zero { color: var(--lq-faint); } .lq-dv-cc.is-zero .lq-dv-lens { opacity: .55; }
.lq-dv-cc--pill { height: 28px; padding: 0 10px 0 4px; border-radius: var(--lq-radius-pill); background: var(--lq-glass-strong); box-shadow: var(--lq-shadow-lens); }
.lq-dv-cc--pill .lq-dv-lens { box-shadow: none; background: color-mix(in srgb, var(--lq-dv-c) 12%, transparent); border-radius: 50%; }
.lq-dv-cc__wait { width: 26px; height: 10px; border-radius: 5px; background: linear-gradient(90deg, var(--lq-track), color-mix(in srgb, var(--lq-dv-c) 25%, transparent), var(--lq-track)); background-size: 200% 100%; animation: lq-dv-shim 1.2s linear infinite; }
.lq-dv-cc__ring { transform: rotate(-90deg); flex: none; }
.lq-dv-cc__ring .t { fill: none; stroke: var(--lq-track); } .lq-dv-cc__ring .v { fill: none; stroke: var(--lq-dv-c); stroke-linecap: round; }
.lq-dv-rank { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; font: var(--lq-font-badge); font-family: var(--lq-font-num); font-variant-numeric: tabular-nums; background: var(--lq-track); color: var(--lq-ink-2); flex: none; }
.lq-dv-rank--1 { background: linear-gradient(160deg, color-mix(in srgb, var(--lq-tag-yellow) 40%, var(--lq-lens)), color-mix(in srgb, var(--lq-tag-yellow) 18%, transparent)); color: color-mix(in srgb, var(--lq-tag-yellow) 55%, var(--lq-ink)); }
.lq-dv-rank--2 { background: linear-gradient(160deg, color-mix(in srgb, var(--lq-tag-gray) 28%, var(--lq-lens)), var(--lq-track)); }
.lq-dv-rank--3 { background: linear-gradient(160deg, color-mix(in srgb, var(--lq-tag-orange) 30%, var(--lq-lens)), color-mix(in srgb, var(--lq-tag-orange) 10%, transparent)); color: color-mix(in srgb, var(--lq-tag-orange) 60%, var(--lq-ink)); }
.lq-dv-live { display: inline-flex; align-items: center; gap: 6px; font: var(--lq-font-badge); color: var(--lq-success); white-space: nowrap; }
.lq-dv-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--lq-success-dot); position: relative; flex: none; }
.lq-dv-live i::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--lq-success-dot); animation: lq-dv-ping 1.6s infinite; }

/* ── Mini-graphiques ── */
.lq-dv-spark { --lq-dv-c: var(--lq-accent); display: block; overflow: visible; flex: none; }
.lq-dv-spark.is-full { width: 100%; }
.lq-dv-spark__l { fill: none; stroke: var(--lq-dv-c); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lq-dv-spark__d { fill: var(--lq-lens); stroke: var(--lq-dv-c); stroke-width: 2; }
.lq-dv-st0 { stop-color: var(--lq-dv-c, var(--lq-accent)); stop-opacity: .3; }
.lq-dv-st1 { stop-color: var(--lq-dv-c, var(--lq-accent)); stop-opacity: 0; }
.lq-dv-sbars { --lq-dv-c: var(--lq-accent); display: block; flex: none; }
.lq-dv-sbars rect { fill: var(--lq-dv-c); opacity: .45; } .lq-dv-sbars rect.is-last { opacity: 1; }

/* ── Carte KPI ── */
.lq-dv-kpi { --lq-dv-c: var(--lq-accent); position: relative; display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: var(--lq-radius-lg); background-color: var(--lq-glass); box-shadow: var(--lq-shadow-glass); min-width: 0; color: var(--lq-ink); }
.lq-dv-kpi.is-click { cursor: pointer; transition: transform .15s, box-shadow .15s; }
.lq-dv-kpi.is-click:hover { transform: translateY(-1px); box-shadow: var(--lq-shadow-float); }
.lq-dv-kpi.is-sel { box-shadow: 0 0 0 2px var(--lq-accent), var(--lq-shadow-float); }
.lq-dv-kpi.is-fill { height: 100%; }
.lq-dv-kpi:focus-visible, .lq-dv-goal:focus-visible, .lq-dv-strip__it:focus-visible, .lq-dv-chart__svg:focus-visible, .lq-dv-heat__c:focus-visible, .lq-dv-fn:focus-visible, .lq-dv-dleg__it:focus-visible, .lq-dv-legend button:focus-visible, .lq-dv-stbl tr.is-click:focus-visible, .lq-dv-th:focus-visible { outline: 2px solid var(--lq-accent); outline-offset: 2px; }
.lq-dv-kpi__top { display: flex; align-items: center; gap: 9px; min-width: 0; }
.lq-dv-kpi__l { font: var(--lq-font-caption); color: var(--lq-muted); flex: 1; min-width: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lq-dv-kpi__i { color: var(--lq-faint); display: inline-grid; vertical-align: -1px; margin-left: 4px; cursor: help; } .lq-dv-kpi__i .lq-ico { width: 12px; height: 12px; }
.lq-dv-kpi__go { color: var(--lq-faint); opacity: 0; transition: opacity .15s; display: inline-grid; } .lq-dv-kpi__go .lq-ico { width: 14px; height: 14px; }
.lq-dv-kpi.is-click:hover .lq-dv-kpi__go, .lq-dv-kpi.is-click:focus-visible .lq-dv-kpi__go { opacity: 1; }
.lq-dv-kpi__v { display: flex; align-items: baseline; gap: 6px; font: var(--lq-font-kpi); letter-spacing: var(--lq-tracking-kpi, -0.03em); font-variant-numeric: tabular-nums; white-space: nowrap; min-width: 0; }
.lq-dv-kpi__v small { font: var(--lq-font-title); color: var(--lq-muted); letter-spacing: 0; }
.lq-dv-kpi__f { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-height: 22px; }
.lq-dv-kpi__goal { display: inline-flex; align-items: center; gap: 4px; font: var(--lq-font-small); color: var(--lq-muted); }
.lq-dv-kpi__goal .lq-ico { width: 12px; height: 12px; color: var(--lq-tag-violet); }
.lq-dv-kpi__spark { height: 34px; margin: -2px -4px 0; }
.lq-dv-kpi--hero { background: linear-gradient(165deg, color-mix(in srgb, var(--lq-dv-c) 14%, transparent), transparent 60%), var(--lq-glass); }
.lq-dv-kpi--hero .lq-dv-kpi__v { font-size: 44px; line-height: 48px; }
.lq-dv-kpi--compact { flex-direction: row; align-items: center; padding: 12px 14px; gap: 12px; }
.lq-dv-kpi--compact .lq-dv-kpi__top { flex: 1; }
.lq-dv-kpi--compact .lq-dv-kpi__l { font: var(--lq-font-small); color: var(--lq-muted); display: block; white-space: nowrap; text-overflow: ellipsis; }
.lq-dv-kpi--compact .lq-dv-kpi__v { font: var(--lq-font-title-lg); font-size: 20px; line-height: 24px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.lq-dv-kpi__cv { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex: none; }
.lq-dv-sk { display: block; border-radius: 6px; background: linear-gradient(90deg, var(--lq-track), var(--lq-hover), var(--lq-track)); background-size: 200% 100%; animation: lq-dv-shim 1.3s linear infinite; }

/* ── Bandeau de KPI (place réelle : container query) ── */
.lq-dv-stripw { container-type: inline-size; width: 100%; min-width: 0; }
.lq-dv-strip { display: grid; grid-template-columns: repeat(var(--lq-dv-n, 4), minmax(0, 1fr)); background-color: var(--lq-glass); box-shadow: var(--lq-shadow-glass); border-radius: var(--lq-radius-lg); width: 100%; min-width: 0; }
.lq-dv-stripw--flat .lq-dv-strip { background: none; box-shadow: none; border-radius: 0; margin: 0 -6px; width: calc(100% + 12px); }
.lq-dv-strip__it { position: relative; padding: 12px 18px 12px 14px; display: flex; flex-direction: column; gap: 6px; min-width: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; border-radius: var(--lq-radius-lg); }
button.lq-dv-strip__it { cursor: pointer; }
button.lq-dv-strip__it:hover, .lq-dv-strip__it.is-sel { background: var(--lq-hover); }
.lq-dv-strip__it + .lq-dv-strip__it { box-shadow: inset 1px 0 0 var(--lq-glass-line); }
.lq-dv-strip__l { font: var(--lq-font-caption); color: var(--lq-muted); display: flex; align-items: center; gap: 7px; min-width: 0; white-space: nowrap; }
.lq-dv-strip__lt { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.lq-dv-strip__v { font: var(--lq-font-title-lg); font-size: 24px; line-height: 28px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: 5px; white-space: nowrap; }
.lq-dv-strip__v small { font: var(--lq-font-body-strong); color: var(--lq-muted); letter-spacing: 0; }
.lq-dv-strip__f { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-height: 20px; min-width: 0; }
.lq-dv-strip__f .lq-dv-delta-t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.lq-dv-strip__go { position: absolute; right: 8px; top: 12px; color: var(--lq-faint); opacity: 0; transition: opacity .15s; display: inline-grid; } .lq-dv-strip__go .lq-ico { width: 14px; height: 14px; }
.lq-dv-strip__it:hover .lq-dv-strip__go, .lq-dv-strip__it:focus-visible .lq-dv-strip__go { opacity: 1; }
.lq-dv-fixed { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: var(--lq-radius-pill); background: var(--lq-track); color: var(--lq-muted); font: var(--lq-font-badge); white-space: nowrap; flex: none; }
.lq-dv-fixed .lq-ico { width: 12px; height: 12px; }
@container (max-width: 520px) {
  .lq-dv-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lq-dv-strip__it + .lq-dv-strip__it { box-shadow: none; }
  .lq-dv-strip__it:nth-child(even) { box-shadow: inset 1px 0 0 var(--lq-glass-line); }
  .lq-dv-strip__it:nth-child(n + 3) { box-shadow: inset 0 1px 0 var(--lq-glass-line); }
  .lq-dv-strip__it:nth-child(even):nth-child(n + 3) { box-shadow: inset 1px 0 0 var(--lq-glass-line), inset 0 1px 0 var(--lq-glass-line); }
}

/* ── Objectif ── */
.lq-dv-goal { --lq-dv-c: var(--lq-tag-violet); display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: var(--lq-radius-lg); background: linear-gradient(165deg, color-mix(in srgb, var(--lq-dv-c) 10%, transparent), transparent 60%), var(--lq-glass); box-shadow: var(--lq-shadow-glass); min-width: 0; color: var(--lq-ink); }
.lq-dv-goal.is-click { cursor: pointer; }
.lq-dv-goal--small { padding: 12px 14px; gap: 8px; }
.lq-dv-goal__v { font: var(--lq-font-title-lg); font-size: 24px; line-height: 28px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lq-dv-goal__v span { color: var(--lq-faint); }
.lq-dv-gbar { --lq-dv-c: inherit; position: relative; height: 10px; border-radius: var(--lq-radius-pill); background: var(--lq-track); }
.lq-dv-gbar i { position: absolute; inset: 0 auto 0 0; border-radius: var(--lq-radius-pill); background: linear-gradient(90deg, color-mix(in srgb, var(--lq-dv-c) 60%, var(--lq-lens)), var(--lq-dv-c)); box-shadow: inset 0 1px 0 var(--lq-gauge-gloss), 0 3px 10px -3px color-mix(in srgb, var(--lq-dv-c) 70%, transparent); }
.lq-dv-gbar__x { position: absolute; top: 0; bottom: 0; margin-left: -6px; padding-left: 6px; border-radius: 0 var(--lq-radius-pill) var(--lq-radius-pill) 0; background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--lq-dv-c) 38%, transparent) 0 3px, color-mix(in srgb, var(--lq-dv-c) 12%, transparent) 3px 6px); }
.lq-dv-gbar__pace { position: absolute; top: -4px; bottom: -4px; width: 2px; margin-left: -1px; border-radius: 2px; background: var(--lq-ink-2); opacity: .4; }
.lq-dv-goal__f { display: flex; justify-content: space-between; align-items: center; gap: 8px; font: var(--lq-font-small); color: var(--lq-muted); flex-wrap: wrap; }
.lq-dv-goal__s { font: var(--lq-font-small); color: var(--lq-muted); margin-top: -4px; }
.lq-dv-pace { --lq-dv-c: var(--lq-accent); display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px 0 6px; border-radius: var(--lq-radius-pill); font: var(--lq-font-badge); color: color-mix(in srgb, var(--lq-dv-c) 80%, var(--lq-ink)); background: color-mix(in srgb, var(--lq-dv-c) 12%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lq-dv-c) 18%, transparent); white-space: nowrap; flex: none; }
.lq-dv-pace .lq-ico { width: 12px; height: 12px; color: var(--lq-dv-c); }

/* ── Graphiques ── */
.lq-dv-chart { --lq-dv-c: var(--lq-accent); position: relative; width: 100%; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.lq-dv-chart__box { position: relative; width: 100%; min-width: 0; }
.lq-dv-chart__svg { display: block; width: 100%; height: auto; overflow: visible; border-radius: var(--lq-radius-xs); }
.lq-dv-axis { font: var(--lq-font-caption); font-size: 11px; font-weight: 500; font-family: var(--lq-font-num); font-variant-numeric: tabular-nums; fill: var(--lq-faint); }
.lq-dv-grid line { stroke: var(--lq-glass-line); stroke-width: 1; }
.lq-dv-line { fill: none; stroke: var(--lq-dv-c); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.lq-dv-prev { fill: none; stroke: var(--lq-faint); stroke-width: 2; stroke-dasharray: 5 5; stroke-linecap: round; stroke-linejoin: round; }
.lq-dv-dot { fill: var(--lq-lens); stroke: var(--lq-dv-c); stroke-width: 2.5; }
.lq-dv-cross { stroke: var(--lq-glass-line); stroke-width: 1.5; }
.lq-dv-goalline { stroke: var(--lq-ink-2); stroke-width: 1.5; stroke-dasharray: 4 5; opacity: .45; }
.lq-dv-goalt { font-weight: 600; fill: var(--lq-muted); }
.lq-dv-bar { transition: opacity .15s; }
.lq-dv-bar.is-click { cursor: pointer; }
.lq-dv-bar.is-click:hover rect:not(.lq-dv-bar__hl), .lq-dv-bar.is-active rect:not(.lq-dv-bar__hl) { filter: saturate(1.15) brightness(1.03); }
.lq-dv-bar.is-dim { opacity: .32; }
.lq-dv-bar.is-sel rect:not(.lq-dv-bar__hl) { filter: drop-shadow(0 4px 8px color-mix(in srgb, var(--lq-ink) 18%, transparent)); }
.lq-dv-bar__hl { fill: var(--lq-accent-soft); opacity: .6; }
.lq-dv-bar__hit { fill: transparent; }
.lq-dv-bar.is-active .lq-dv-bar__hit { fill: var(--lq-hover); }
.lq-dv-tip { position: absolute; pointer-events: none; background-color: var(--lq-glass-strong); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: var(--lq-shadow-float); border-radius: var(--lq-radius-md); padding: 10px 12px; display: flex; flex-direction: column; gap: 5px; min-width: 170px; max-width: 260px; z-index: 5; color: var(--lq-ink); }
.lq-dv-tip > b { font: var(--lq-font-label); }
.lq-dv-tip__r { display: flex; align-items: center; gap: 7px; font: var(--lq-font-small); color: var(--lq-ink-2); }
.lq-dv-tip__r em { font-style: normal; margin-left: auto; padding-left: 10px; font: var(--lq-font-label); font-family: var(--lq-font-num); font-variant-numeric: tabular-nums; color: var(--lq-ink); }
.lq-dv-tip__r i { width: 8px; height: 8px; border-radius: 3px; flex: none; }
.lq-dv-tip__r i.is-dash { background: none !important; border-top: 2px dashed var(--lq-faint); height: 0; width: 10px; border-radius: 0; }
.lq-dv-legend { display: flex; flex-wrap: wrap; gap: 6px; }
.lq-dv-legend button, .lq-dv-legend > span { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 10px; border: 0; border-radius: var(--lq-radius-pill); background-color: var(--lq-glass-strong); box-shadow: var(--lq-shadow-lens); font: var(--lq-font-caption); color: var(--lq-ink-2); white-space: nowrap; }
.lq-dv-legend button { cursor: pointer; }
.lq-dv-legend i { width: 9px; height: 9px; border-radius: 3px; flex: none; }
.lq-dv-legend [aria-pressed="false"] { opacity: .45; box-shadow: none; background: var(--lq-track); }
.lq-dv-legend b { font: var(--lq-font-label); font-family: var(--lq-font-num); font-variant-numeric: tabular-nums; color: var(--lq-ink); }
.lq-dv-legend .is-dash i { background: none !important; border-top: 2px dashed var(--lq-faint); height: 0; width: 12px; border-radius: 0; }

/* Anneau de répartition */
.lq-dv-donutw { container-type: inline-size; width: 100%; min-width: 0; }
.lq-dv-donut { display: flex; align-items: center; gap: 24px; }
.lq-dv-donut svg { flex: none; overflow: visible; }
.lq-dv-donut.is-stack { flex-direction: column; align-items: stretch; gap: 12px; } .lq-dv-donut.is-stack svg { align-self: center; }
@container (max-width: 400px) { .lq-dv-donut:not(.is-row) { flex-direction: column; align-items: stretch; gap: 12px; } .lq-dv-donut:not(.is-row) svg { align-self: center; } }
.lq-dv-donut__t { fill: none; stroke: var(--lq-track); stroke-width: 18; }
.lq-dv-donut__a { fill: none; stroke-width: 18; stroke-linecap: round; transition: opacity .15s, stroke-width .15s; }
.lq-dv-donut__a.is-click { cursor: pointer; }
.lq-dv-donut__a.is-dim { opacity: .35; }
.lq-dv-donut__v { font: var(--lq-font-title-lg); font-size: 24px; font-variant-numeric: tabular-nums; fill: var(--lq-ink); }
.lq-dv-dleg { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.lq-dv-dleg__it { --lq-dv-c: var(--lq-accent); display: grid; grid-template-columns: 22px minmax(0, 1fr) auto 44px; align-items: center; gap: 8px; font: var(--lq-font-small); padding: 5px 8px; border: 0; border-radius: 9px; background: none; color: var(--lq-ink); text-align: left; width: 100%; }
button.lq-dv-dleg__it { cursor: pointer; }
button.lq-dv-dleg__it:hover, .lq-dv-dleg__it.is-sel { background: var(--lq-hover); }
.lq-dv-dleg__t { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lq-dv-dleg__it b { font: var(--lq-font-label); font-family: var(--lq-font-num); font-variant-numeric: tabular-nums; text-align: right; }
.lq-dv-dleg__it em { font-style: normal; font-family: var(--lq-font-num); font-variant-numeric: tabular-nums; color: var(--lq-muted); text-align: right; }
.lq-dv-si { --lq-dv-c: var(--lq-accent); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--lq-dv-c); color: var(--lq-on-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lq-dv-c) 18%, transparent); flex: none; }
.lq-dv-si .lq-ico { width: 12px; height: 12px; stroke-width: 2.2; }
.lq-dv-si--dot { width: 10px; height: 10px; margin: 6px; }

/* Entonnoir */
.lq-dv-funnel { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 100%; min-width: 0; }
.lq-dv-fn { --lq-dv-c: var(--lq-accent); display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 16px 0 10px; border: 0; border-radius: 16px; background: linear-gradient(100deg, color-mix(in srgb, var(--lq-dv-c) 22%, transparent), color-mix(in srgb, var(--lq-dv-c) 8%, transparent)); box-shadow: inset 0 1px 0 var(--lq-glass-edge), inset 0 0 0 1px color-mix(in srgb, var(--lq-dv-c) 20%, transparent); min-width: min(100%, 220px); max-width: 100%; color: var(--lq-ink); font: inherit; }
button.lq-dv-fn { cursor: pointer; }
button.lq-dv-fn:hover, .lq-dv-fn.is-sel { box-shadow: inset 0 1px 0 var(--lq-glass-edge), 0 0 0 2px var(--lq-dv-c); }
.lq-dv-fn__ico { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--lq-dv-c); color: var(--lq-on-accent); flex: none; }
.lq-dv-fn__ico .lq-ico { width: 14px; height: 14px; }
.lq-dv-fn__t { font: var(--lq-font-body-strong); flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: left; }
.lq-dv-fn__a { font: var(--lq-font-small); font-family: var(--lq-font-num); font-variant-numeric: tabular-nums; color: var(--lq-muted); white-space: nowrap; }
.lq-dv-fn__v { font: var(--lq-font-title); font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lq-dv-funnel.is-compact .lq-dv-fn { height: 38px; } .lq-dv-funnel.is-compact .lq-dv-fn__ico { width: 22px; height: 22px; } .lq-dv-funnel.is-compact .lq-dv-fn__ico .lq-ico { width: 12px; height: 12px; }
.lq-dv-fconv { display: inline-flex; align-items: center; gap: 5px; font: var(--lq-font-badge); color: var(--lq-muted); min-height: 20px; text-align: center; }
.lq-dv-fconv .lq-ico { width: 11px; height: 11px; flex: none; } .lq-dv-fconv b { color: var(--lq-ink-2); font-family: var(--lq-font-num); font-variant-numeric: tabular-nums; }
.lq-dv-fconv.is-worst b { color: var(--lq-warning); }
.lq-dv-fconv__w { margin-left: 4px; padding: 0 6px; border-radius: var(--lq-radius-pill); background: var(--lq-warning-soft); color: var(--lq-warning); }

/* Carte de chaleur */
.lq-dv-heatw { --lq-dv-c: var(--lq-tag-teal); display: flex; flex-direction: column; gap: 10px; width: 100%; min-width: 0; }
.lq-dv-heat { display: grid; gap: 4px; width: 100%; min-width: 0; }
.lq-dv-heat__h { font: var(--lq-font-caption); font-size: 11px; font-family: var(--lq-font-num); font-variant-numeric: tabular-nums; color: var(--lq-faint); display: grid; place-items: center; height: 24px; min-width: 0; overflow: hidden; white-space: nowrap; }
.lq-dv-heat__c { display: block; height: 24px; min-width: 0; padding: 0; border: 0; border-radius: 7px; background: color-mix(in srgb, var(--lq-dv-c) calc(var(--l, 0) * 100%), var(--lq-track)); box-shadow: inset 0 1px 0 color-mix(in srgb, var(--lq-lens) calc(var(--l, 0) * 40%), transparent); }
button.lq-dv-heat__c { cursor: pointer; }
button.lq-dv-heat__c:hover { filter: brightness(1.05) saturate(1.1); }
.lq-dv-heat__c.is-null { background: repeating-linear-gradient(135deg, var(--lq-track) 0 4px, transparent 4px 8px); }
.lq-dv-heat__c.is-best { box-shadow: 0 0 0 2px var(--lq-lens), 0 0 0 4px var(--lq-dv-c); }
.lq-dv-scale { display: flex; align-items: center; gap: 6px; font: var(--lq-font-small); color: var(--lq-muted); flex-wrap: wrap; }
.lq-dv-scale i { width: 14px; height: 10px; border-radius: 3px; background: color-mix(in srgb, var(--lq-dv-c) calc(var(--l) * 100%), var(--lq-track)); }
.lq-dv-scale__note { margin-left: auto; }

/* ── Tableau de statistiques ── */
.lq-dv-stblw { overflow-x: auto; width: 100%; min-width: 0; }
.lq-dv-stbl { width: 100%; border-collapse: collapse; }
.lq-dv-stbl caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lq-dv-stbl th { text-align: left; font: var(--lq-font-label); color: var(--lq-muted); padding: 8px 10px; white-space: nowrap; }
.lq-dv-stbl th.r, .lq-dv-stbl td.r { text-align: right; }
.lq-dv-stbl td { padding: 9px 10px; border-top: 1px solid var(--lq-glass-line); font: var(--lq-font-body); white-space: nowrap; color: var(--lq-ink); }
.lq-dv-stbl td.is-num { font-family: var(--lq-font-num); font-variant-numeric: tabular-nums; }
.lq-dv-stbl td.n { font: var(--lq-font-body-strong); max-width: 260px; overflow: hidden; text-overflow: ellipsis; }
.lq-dv-stbl td.n > span { display: inline-flex; align-items: center; gap: 9px; min-width: 0; max-width: 100%; }
.lq-dv-stbl tfoot td { font-weight: 600; background: linear-gradient(90deg, var(--lq-accent-soft), transparent 70%); }
.lq-dv-stbl tr.is-me td { background: linear-gradient(90deg, color-mix(in srgb, var(--lq-accent) 7%, transparent), transparent 80%); }
.lq-dv-stbl tbody tr.is-click { cursor: pointer; }
.lq-dv-stbl tbody tr.is-click:hover td { background-color: var(--lq-hover); }
.lq-dv-stbl__empty { text-align: center; color: var(--lq-muted); padding: 18px 10px !important; }
.lq-dv-th { display: inline-flex; align-items: center; gap: 3px; padding: 0; border: 0; border-radius: 4px; background: none; font: inherit; color: inherit; cursor: pointer; }
.lq-dv-th .lq-ico { width: 11px; height: 11px; } .lq-dv-th.is-on { color: var(--lq-accent-ink); }
.lq-dv-emoji { width: 26px; height: 26px; border-radius: 8px; display: inline-grid; place-items: center; background-color: var(--lq-glass-strong); box-shadow: var(--lq-shadow-lens); font-size: 14px; flex: none; }

/* ── Lecture et états ── */
.lq-dv-ins { --lq-dv-c: var(--lq-tag-teal); display: flex; align-items: flex-start; gap: 12px; padding: 14px; border-radius: var(--lq-radius-lg); background: linear-gradient(150deg, color-mix(in srgb, var(--lq-dv-c) 13%, transparent), transparent 70%), var(--lq-glass); box-shadow: var(--lq-shadow-glass); min-width: 0; color: var(--lq-ink); }
.lq-dv-ins__b { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.lq-dv-ins strong { display: block; font: var(--lq-font-body-strong); }
.lq-dv-ins__s { font: var(--lq-font-small); color: var(--lq-muted); }
.lq-dv-ins__a { align-self: flex-start; margin-top: 4px; padding: 0; border: 0; background: none; font: var(--lq-font-label); color: var(--lq-accent-ink); text-decoration: none; cursor: pointer; border-radius: 4px; }
.lq-dv-ins__a:hover { text-decoration: underline; }
.lq-dv-ins__a:focus-visible { outline: 2px solid var(--lq-accent); outline-offset: 2px; }
.lq-dv-ins--flat { background: none; box-shadow: none; padding: 10px 0 0; border-radius: 0; border-top: 1px solid var(--lq-glass-line); gap: 10px; }
.lq-dv-empty { position: relative; overflow: hidden; min-height: 150px; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 16px; color: var(--lq-muted); font: var(--lq-font-small); min-width: 0; }
.lq-dv-empty--panel { border-radius: var(--lq-radius-lg); background-color: var(--lq-glass); box-shadow: var(--lq-shadow-glass); }
.lq-dv-empty strong { color: var(--lq-ink); font: var(--lq-font-body-strong); }
.lq-dv-empty > *:not(.lq-dv-empty__ghost) { position: relative; }
.lq-dv-empty__ghost { position: absolute !important; inset: auto 0 0 0; width: 100%; height: 70px; opacity: .5; }
.lq-dv-empty__ghost path { fill: none; stroke: var(--lq-faint); stroke-width: 2; stroke-dasharray: 5 6; }
.lq-dv-empty__a { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 4px; }
.lq-dv-empty--load { gap: 10px; }
.lq-dv-skel { display: flex; align-items: flex-end; gap: 8px; height: 90px; width: 100%; }
.lq-dv-skel i { flex: 1; border-radius: 6px 6px 3px 3px; background: linear-gradient(90deg, var(--lq-track), var(--lq-hover), var(--lq-track)); background-size: 200% 100%; animation: lq-dv-shim 1.3s linear infinite; }
.lq-dv-skrow { display: flex; align-items: center; gap: 10px; width: 100%; }
.lq-dv-def { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border-radius: var(--lq-radius-md); background: var(--lq-track); font: var(--lq-font-small); color: var(--lq-ink-2); }
.lq-dv-def > .lq-ico { width: 14px; height: 14px; margin-top: 2px; color: var(--lq-muted); flex: none; }
.lq-dv-def b { font: var(--lq-font-label); color: var(--lq-ink); }
.lq-dv-def__src { display: inline-flex; align-items: center; gap: 4px; margin-left: 8px; color: var(--lq-success); font: var(--lq-font-badge); white-space: nowrap; }
.lq-dv-def__src .lq-ico { width: 12px; height: 12px; }

@keyframes lq-dv-shim { to { background-position: -200% 0; } }
@keyframes lq-dv-ping { 0% { transform: scale(1); opacity: .55; } 80%, 100% { transform: scale(2.2); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .lq-dv-cc__wait, .lq-dv-sk, .lq-dv-skel i, .lq-dv-live i::after { animation: none; }
  .lq-dv-kpi, .lq-dv-kpi__go, .lq-dv-strip__go, .lq-dv-bar, .lq-dv-donut__a { transition: none; }
  .lq-dv-kpi.is-click:hover { transform: none; }
}

/* ═══ components/ui/liquid/gauge.css ═══ */
/* Reachlist Liquide — jauges (gauge.tsx) : Gauge, GaugeCard, GaugeLegend, GaugeBreakdown, Meter, GaugeRing, MiniGauge.
   Une seule variable de couleur par élément, --lq-gc (posée par l'état ou par tintStyle → --lq-tint), le reste en jetons --lq-*.
   Sombre : les mélanges partent de --lq-lens / --lq-glass (déjà sombres), --lq-gauge-gloss/-stripe sont redéfinis sous .dark,
   et --lq-tint-k (tint.css) relève les teintes de fond. Feuille exclue de gen-dark-theme : jamais de couleur claire en dur. */

/* ══════════ Jauge de progression ══════════ */
.lq-g { --lq-h: 10px; --lq-gc: var(--lq-accent); position: relative; min-width: 0; }
.lq-g--sm { --lq-h: 6px; }
.lq-g--lg { --lq-h: 14px; }
.lq-g--paused { --lq-gc: var(--lq-warning-dot); }
.lq-g--done { --lq-gc: var(--lq-success-dot); }
.lq-g--draft { --lq-gc: var(--lq-neutral-dot); }
.lq-g--error { --lq-gc: var(--lq-danger-dot); }

.lq-g__track { position: relative; display: flex; gap: 2px; height: var(--lq-h); border-radius: var(--lq-radius-pill); background: var(--lq-track); box-shadow: inset 0 1px 2px color-mix(in srgb, var(--lq-ink) 8%, transparent), inset 0 0 0 1px var(--lq-glass-line); }
.lq-g__seg { position: relative; flex: none; min-width: 0; height: 100%; border-radius: var(--lq-radius-pill); overflow: hidden; transition: width .7s cubic-bezier(.2, .8, .2, 1); }
.lq-g__seg--done { background: linear-gradient(90deg, color-mix(in srgb, var(--lq-gc) 62%, var(--lq-lens)), var(--lq-gc)); box-shadow: inset 0 1px 0 var(--lq-gauge-gloss), 0 3px 10px -3px color-mix(in srgb, var(--lq-gc) 70%, transparent); }
.lq-g__seg--done::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, var(--lq-gauge-stripe) 50%, transparent 70%); transform: translateX(-120%); }
.lq-g--run .lq-g__seg--done::after { animation: lq-g-sheen 3.4s ease-in-out infinite; }
.lq-g--done .lq-g__seg--done::after { animation: lq-g-sheen 3.4s ease-in-out .4s 1; }
.lq-g__seg--flow { background-color: color-mix(in srgb, var(--lq-gc) 24%, transparent); background-image: repeating-linear-gradient(115deg, color-mix(in srgb, var(--lq-gc) 38%, transparent) 0 6px, transparent 6px 12px); background-size: 26px 100%; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lq-gc) 20%, transparent); }
.lq-g--run .lq-g__seg--flow { animation: lq-g-flow 1.1s linear infinite; }
.lq-g__seg--err { margin-left: auto; background: linear-gradient(90deg, color-mix(in srgb, var(--lq-danger-dot) 70%, var(--lq-lens)), var(--lq-danger-dot)); box-shadow: inset 0 1px 0 var(--lq-gauge-gloss); }

.lq-g__head { position: absolute; top: 50%; z-index: 1; display: grid; place-items: center; width: calc(var(--lq-h) + 8px); height: calc(var(--lq-h) + 8px); margin-left: calc((var(--lq-h) + 8px) / -2); transform: translateY(-50%); border-radius: 50%; background: var(--lq-lens); color: var(--lq-gc); box-shadow: 0 0 0 2.5px var(--lq-gc), 0 4px 10px -2px color-mix(in srgb, var(--lq-gc) 70%, transparent); transition: left .7s cubic-bezier(.2, .8, .2, 1); pointer-events: none; }
.lq-g--run .lq-g__head::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--lq-gc); animation: lq-g-ping 1.6s cubic-bezier(.2, .6, .4, 1) infinite; }
.lq-g__head .lq-ico { width: max(8px, calc(var(--lq-h) - 1px)); height: max(8px, calc(var(--lq-h) - 1px)); stroke-width: 2.4; }
.lq-g--sm .lq-g__head { width: 12px; height: 12px; margin-left: -6px; box-shadow: 0 0 0 2px var(--lq-gc), 0 2px 6px -1px color-mix(in srgb, var(--lq-gc) 70%, transparent); }

.lq-g__ticks { position: absolute; inset: 0; pointer-events: none; }
.lq-g__ticks i { position: absolute; top: 2px; bottom: 2px; width: 1px; background: var(--lq-glass-line); }
.lq-g__target { position: absolute; top: -4px; bottom: -4px; z-index: 2; width: 2px; margin-left: -1px; border-radius: 2px; background: var(--lq-ink-2); opacity: .55; pointer-events: none; }
.lq-g__target > span { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); font: var(--lq-font-badge); color: var(--lq-muted); white-space: nowrap; }
.lq-g--target { margin-top: 18px; }

/* Brouillon : piste pointillée, rien ne bouge. */
.lq-g--draft.is-empty .lq-g__track { background: transparent; box-shadow: none; background-image: repeating-linear-gradient(90deg, var(--lq-faint) 0 5px, transparent 5px 10px); background-size: 100% 1.5px; background-repeat: no-repeat; background-position: 0 50%; opacity: .7; }

/* ── Légende imagée ── */
.lq-gleg { display: flex; flex-wrap: wrap; gap: 6px 14px; min-width: 0; }
.lq-gleg__i { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; font: var(--lq-font-small); color: var(--lq-muted); white-space: nowrap; }
.lq-gleg__i b { font: var(--lq-font-label); font-variant-numeric: tabular-nums; color: var(--lq-ink); font-family: var(--lq-font-num); }
button.lq-gleg__i { cursor: pointer; border-radius: var(--lq-radius-xs); }
button.lq-gleg__i:hover { color: var(--lq-ink); }
button.lq-gleg__i:focus-visible { outline: 2px solid var(--lq-accent-ring); outline-offset: 2px; }
.lq-gsw { display: inline-block; flex: none; width: 10px; height: 10px; border-radius: 3px; }
.lq-gsw--done { background: linear-gradient(135deg, color-mix(in srgb, var(--lq-gc) 62%, var(--lq-lens)), var(--lq-gc)); }
.lq-gsw--flow { background-color: color-mix(in srgb, var(--lq-gc) 24%, transparent); background-image: repeating-linear-gradient(115deg, color-mix(in srgb, var(--lq-gc) 50%, transparent) 0 2px, transparent 2px 4px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lq-gc) 26%, transparent); }
.lq-gsw--wait { background: var(--lq-track); box-shadow: inset 0 0 0 1px var(--lq-glass-line); }
.lq-gsw--err { background: var(--lq-danger-dot); }

/* ── Pastille d'état ── */
.lq-gpill { --lq-gc: var(--lq-accent); display: inline-flex; flex: none; align-items: center; gap: 6px; height: 24px; padding: 0 9px 0 7px; border-radius: var(--lq-radius-pill); font: var(--lq-font-badge); color: color-mix(in srgb, var(--lq-gc) 82%, var(--lq-ink)); background: color-mix(in srgb, var(--lq-gc) 12%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lq-gc) 18%, transparent); white-space: nowrap; }
.lq-gpill--paused { --lq-gc: var(--lq-warning-dot); } .lq-gpill--done { --lq-gc: var(--lq-success-dot); } .lq-gpill--draft { --lq-gc: var(--lq-neutral-dot); } .lq-gpill--error { --lq-gc: var(--lq-danger-dot); }
.lq-gpill .lq-ico { width: 12px; height: 12px; stroke-width: 2.2; color: var(--lq-gc); }
.lq-gpill__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--lq-gc); }
.lq-gpill__dot::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--lq-gc); animation: lq-g-ping 1.6s cubic-bezier(.2, .6, .4, 1) infinite; }

/* ── Carte complète ── */
.lq-gcard { --lq-gc: var(--lq-accent); display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 16px; border-radius: var(--lq-radius-lg); background: linear-gradient(170deg, color-mix(in srgb, var(--lq-gc) calc(9% * var(--lq-tint-k, 1)), transparent), transparent 62%), var(--lq-glass); box-shadow: var(--lq-shadow-glass); color: var(--lq-ink); }
.lq-gcard--paused { --lq-gc: var(--lq-warning-dot); } .lq-gcard--done { --lq-gc: var(--lq-success-dot); } .lq-gcard--draft { --lq-gc: var(--lq-neutral-dot); } .lq-gcard--error { --lq-gc: var(--lq-danger-dot); }
.lq-gcard--flat { padding: 0; background: none; box-shadow: none; border-radius: 0; }
.lq-gcard__top { display: flex; align-items: center; gap: 10px; min-width: 0; }
.lq-gcard__title { flex: 1; min-width: 0; font: var(--lq-font-body-strong); }
.lq-gcard__title > span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lq-gcard__title small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: var(--lq-font-small); color: var(--lq-muted); }
.lq-gcard__acts { display: inline-flex; flex: none; align-items: center; gap: 4px; }
.lq-gcard__nums { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.lq-gcard__big { font: var(--lq-font-title-lg); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.lq-gcard__big b { font-weight: 700; }
.lq-gcard__big span { color: var(--lq-faint); font-weight: 600; }
.lq-gcard__unit { font: var(--lq-font-small); color: var(--lq-muted); }
.lq-gcard__pct { margin-left: auto; font: var(--lq-font-title); font-weight: 700; font-variant-numeric: tabular-nums; color: color-mix(in srgb, var(--lq-gc) 80%, var(--lq-ink)); font-family: var(--lq-font-num); }
.lq-gcard__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; }
.lq-gcard__eta { display: inline-flex; align-items: center; gap: 5px; font: var(--lq-font-small); color: var(--lq-muted); }
.lq-gcard__eta .lq-ico { width: 12px; height: 12px; stroke-width: 2.2; }

/* ══════════ Répartition par statut ══════════ */
.lq-gbd { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.lq-gbd__track { display: flex; gap: 3px; height: 14px; }
.lq-gbd__seg { --lq-gc: var(--lq-neutral-dot); position: relative; flex-basis: 0; min-width: 4px; height: 100%; border-radius: 5px; background: linear-gradient(180deg, color-mix(in srgb, var(--lq-gc) 72%, var(--lq-lens)), var(--lq-gc)); box-shadow: inset 0 1px 0 var(--lq-gauge-gloss); transition: transform .15s, filter .15s; outline: none; }
.lq-gbd__seg:first-child { border-top-left-radius: var(--lq-radius-pill); border-bottom-left-radius: var(--lq-radius-pill); }
.lq-gbd__seg:last-child { border-top-right-radius: var(--lq-radius-pill); border-bottom-right-radius: var(--lq-radius-pill); }
.lq-gbd--sm { gap: 10px; }
.lq-gbd--sm .lq-gbd__track { gap: 2px; height: 6px; }
.lq-gbd--sm .lq-gbd__seg { min-width: 3px; border-radius: 3px; }
.lq-gbd--sm .lq-gbd__seg:hover, .lq-gbd--sm .lq-gbd__seg.is-on { transform: scaleY(1.6); }
.lq-gbd__seg--wait { background: var(--lq-track); box-shadow: inset 0 0 0 1px var(--lq-glass-line); }
.lq-gbd__seg:hover, .lq-gbd__seg:focus-visible, .lq-gbd__seg.is-on { transform: scaleY(1.35); filter: saturate(1.15); }
.lq-gbd__seg:focus-visible { box-shadow: 0 0 0 2px var(--lq-accent-ring); }
.lq-gbd__legend { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.lq-gbd__li { --lq-gc: var(--lq-neutral-dot); display: flex; align-items: center; gap: 8px; min-width: 0; padding: 8px 10px; border: 0; border-radius: var(--lq-radius-md); background: linear-gradient(150deg, color-mix(in srgb, var(--lq-gc) calc(11% * var(--lq-tint-k, 1)), transparent), transparent 75%); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lq-gc) 12%, transparent); color: var(--lq-ink); text-align: left; font: inherit; }
button.lq-gbd__li { cursor: pointer; transition: background-color .15s, box-shadow .15s; }
button.lq-gbd__li:hover { background-color: var(--lq-hover); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lq-gc) 26%, transparent); }
button.lq-gbd__li:focus-visible { outline: 2px solid var(--lq-accent-ring); outline-offset: 2px; }
.lq-gbd__li[aria-pressed="true"] { background-color: var(--lq-lens); box-shadow: var(--lq-shadow-lens), inset 0 0 0 1px color-mix(in srgb, var(--lq-gc) 30%, transparent); }
.lq-gbd__si { display: grid; flex: none; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--lq-gc); color: var(--lq-on-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lq-gc) 18%, transparent); }
.lq-gbd__si--dot { width: 10px; height: 10px; margin: 0 6px; border-radius: 3px; }
.lq-gbd__si .lq-ico { width: 12px; height: 12px; stroke-width: 2.2; }
.lq-gbd__t { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: var(--lq-font-small); color: var(--lq-ink-2); }
.lq-gbd__v { font: var(--lq-font-label); font-variant-numeric: tabular-nums; font-family: var(--lq-font-num); }
.lq-gbd__p { width: 34px; flex: none; text-align: right; font: var(--lq-font-badge); font-variant-numeric: tabular-nums; color: var(--lq-muted); font-family: var(--lq-font-num); }

/* ══════════ Barre de comparaison ══════════ */
.lq-mtr-list { display: flex; flex-direction: column; min-width: 0; }
.lq-mtr { --lq-gc: var(--lq-accent); --lq-mtr-v: 58px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(90px, 2fr) var(--lq-mtr-v) 64px; align-items: center; gap: 14px; min-width: 0; padding: 10px 4px; }
.lq-mtr--nodelta { grid-template-columns: minmax(0, 1.3fr) minmax(90px, 2fr) var(--lq-mtr-v); }
.lq-mtr--nolabel { grid-template-columns: minmax(60px, 1fr) var(--lq-mtr-v) 64px; }
.lq-mtr--nolabel.lq-mtr--nodelta { grid-template-columns: minmax(60px, 1fr) var(--lq-mtr-v); }
.lq-mtr--bare { display: block; padding: 0; }
.lq-mtr__who, .lq-mtr__t, .lq-mtr__v { display: block; }
.lq-mtr__who { display: flex; }
.lq-mtr--stack { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "who v d" "bar bar bar"; gap: 8px 10px; }
.lq-mtr--stack.lq-mtr--nodelta { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "who v" "bar bar"; }
.lq-mtr--stack > .lq-mtr__who { grid-area: who; }
.lq-mtr--stack > .lq-mtr__bar { grid-area: bar; }
.lq-mtr--stack > .lq-mtr__v { grid-area: v; min-width: 0; font: var(--lq-font-label); font-variant-numeric: tabular-nums; font-family: var(--lq-font-num); }
.lq-mtr--stack > .lq-mtr__delta { grid-area: d; }
.lq-mtr--stack .lq-mtr__t { font: var(--lq-font-body); color: var(--lq-ink-2); }
.lq-mtr-list > .lq-mtr + .lq-mtr { border-top: 1px solid var(--lq-glass-line); }
.lq-mtr--compact { padding-block: 6px; }
.lq-mtr__who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.lq-mtr__who > .lq-tint-ico { flex: none; }
.lq-mtr__t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: var(--lq-font-body-strong); }
.lq-mtr__t small { display: block; overflow: hidden; text-overflow: ellipsis; font: var(--lq-font-small); color: var(--lq-muted); }
.lq-mtr__bar { display: block; position: relative; height: 8px; border-radius: var(--lq-radius-pill); background: var(--lq-track); box-shadow: inset 0 1px 1px color-mix(in srgb, var(--lq-ink) 6%, transparent); }
.lq-mtr__fill { display: block; position: absolute; top: 0; bottom: 0; left: 0; border-radius: var(--lq-radius-pill); background: linear-gradient(90deg, color-mix(in srgb, var(--lq-gc) 14%, transparent), color-mix(in srgb, var(--lq-gc) 60%, var(--lq-lens)) 55%, var(--lq-gc)); transition: width .8s cubic-bezier(.2, .8, .2, 1); }
.lq-mtr__fill::after { content: ""; position: absolute; top: 50%; right: -5px; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--lq-lens); box-shadow: 0 0 0 2.5px var(--lq-gc), 0 2px 8px -1px color-mix(in srgb, var(--lq-gc) 80%, transparent); }
.lq-mtr__fill.is-zero::after { display: none; }
.lq-mtr__obj { display: block; position: absolute; top: -5px; bottom: -5px; width: 2px; margin-left: -1px; border-radius: 2px; background: var(--lq-ink-2); opacity: .35; }
.lq-mtr__v { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: right; font: var(--lq-font-title); font-weight: 700; line-height: 20px; font-variant-numeric: tabular-nums; color: color-mix(in srgb, var(--lq-gc) 70%, var(--lq-ink)); font-family: var(--lq-font-num); }
.lq-mtr__v small { font: var(--lq-font-small); color: var(--lq-muted); }
.lq-mtr--muted .lq-mtr__v { color: var(--lq-faint); }
.lq-mtr__delta { display: inline-flex; justify-self: end; align-items: center; gap: 3px; height: 22px; padding: 0 7px; border-radius: var(--lq-radius-pill); font: var(--lq-font-badge); font-variant-numeric: tabular-nums; white-space: nowrap; font-family: var(--lq-font-num); }
.lq-mtr__delta .lq-ico { width: 12px; height: 12px; stroke-width: 2.2; }
.lq-mtr__delta--up { color: var(--lq-success); background: var(--lq-success-soft); }
.lq-mtr__delta--down { color: var(--lq-danger); background: var(--lq-danger-soft); }
.lq-mtr__delta--flat { color: var(--lq-muted); background: var(--lq-track); }
.lq-mtr--avg { margin-top: 6px; padding-inline: 10px; border-radius: var(--lq-radius-md); background: linear-gradient(90deg, var(--lq-accent-soft), transparent 80%); }
.lq-mtr-list > .lq-mtr--avg { border-top: 0; }

/* ══════════ Anneau ══════════ */
.lq-gring { --lq-gc: var(--lq-accent); position: relative; flex: none; }
.lq-gring svg { width: 100%; height: 100%; overflow: visible; transform: rotate(-90deg); }
.lq-gring__bg { fill: none; stroke: var(--lq-track); }
.lq-gring__fg { fill: none; stroke-linecap: round; transition: stroke-dashoffset 1s cubic-bezier(.2, .8, .2, 1); filter: drop-shadow(0 2px 4px color-mix(in srgb, var(--lq-gc) 55%, transparent)); }
.lq-gring__a { stop-color: color-mix(in srgb, var(--lq-gc) 55%, var(--lq-lens)); }
.lq-gring__b { stop-color: var(--lq-gc); }
.lq-gring__spin { fill: none; stroke: var(--lq-gauge-stripe); stroke-linecap: round; transform-origin: 50% 50%; animation: lq-g-rot 1.8s linear infinite; }
.lq-gring__c { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.lq-gring__c b { font: var(--lq-font-title); font-size: 17px; font-weight: 700; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--lq-ink); }
.lq-gring--sm .lq-gring__c b { font: var(--lq-font-badge); font-variant-numeric: tabular-nums; font-family: var(--lq-font-num); }
.lq-gringc { --lq-gc: var(--lq-accent); display: flex; align-items: center; gap: 14px; min-width: 0; padding: 16px; border-radius: var(--lq-radius-lg); background: linear-gradient(165deg, color-mix(in srgb, var(--lq-gc) calc(10% * var(--lq-tint-k, 1)), transparent), transparent 65%), var(--lq-glass); box-shadow: var(--lq-shadow-glass); }
.lq-gringc__t { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.lq-gringc__t strong { font: var(--lq-font-body-strong); }
.lq-gringc__t span { font: var(--lq-font-small); color: var(--lq-muted); }

/* ══════════ Mini-jauge de tableau ══════════ */
.lq-mini { --lq-gc: var(--lq-accent); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 10px; width: 220px; max-width: 100%; }
.lq-mini--paused { --lq-gc: var(--lq-warning-dot); } .lq-mini--done { --lq-gc: var(--lq-success-dot); } .lq-mini--draft { --lq-gc: var(--lq-neutral-dot); } .lq-mini--error { --lq-gc: var(--lq-danger-dot); }
.lq-mini__n { min-width: 0; overflow: hidden; text-overflow: ellipsis; font: var(--lq-font-label); font-variant-numeric: tabular-nums; color: var(--lq-ink); white-space: nowrap; font-family: var(--lq-font-num); }
.lq-mini__n span { color: var(--lq-faint); font-weight: 500; }
.lq-mini__n em { font: var(--lq-font-small); font-style: normal; color: var(--lq-muted); }
.lq-mini__p { text-align: right; font: var(--lq-font-badge); font-variant-numeric: tabular-nums; color: color-mix(in srgb, var(--lq-gc) 78%, var(--lq-ink)); white-space: nowrap; font-family: var(--lq-font-num); }
.lq-mini > .lq-g { grid-column: 1 / -1; }
.lq-mini__sub { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 2px 10px; min-width: 0; font: var(--lq-font-small); color: var(--lq-muted); }
.lq-mini__sub > i { display: inline-flex; align-items: center; gap: 5px; font-style: normal; white-space: nowrap; font-variant-numeric: tabular-nums; font-family: var(--lq-font-num); }
.lq-mini__sub .lq-gsw { width: 8px; height: 8px; border-radius: 2px; }

@keyframes lq-g-flow { to { background-position: 26px 0; } }
@keyframes lq-g-sheen { 0% { transform: translateX(-120%); } 45%, 100% { transform: translateX(120%); } }
@keyframes lq-g-ping { 0% { transform: scale(1); opacity: .55; } 80%, 100% { transform: scale(2.1); opacity: 0; } }
@keyframes lq-g-rot { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .lq-g *, .lq-g *::before, .lq-g *::after, .lq-gpill *::after, .lq-gbd__seg, .lq-mtr__fill, .lq-gring * { animation: none !important; transition: none !important; }
}

/* ═══ components/ui/liquid/channel-logo.css ═══ */
/* Logos de canaux (ChannelLogo / ChannelSlots) : maquette validée « Logos de canaux ».
   Jetons --lq-* uniquement, hors vraies couleurs de marque (passées en --lq-chlogo-c / --lq-chlogo-b).
   X et TikTok passent en clair dans le thème sombre (--lq-chlogo-x). */
:root { --lq-chlogo-x: #0F1419; }
.dark { --lq-chlogo-x: #F1F5F9; }

.lq-chlogo {
  --lq-chlogo-s: 24px;
  position: relative;
  width: var(--lq-chlogo-s);
  height: var(--lq-chlogo-s);
  flex: none;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: calc(var(--lq-chlogo-s) * 0.3);
  isolation: isolate;
  text-decoration: none;
  vertical-align: middle;
  transition: transform 0.15s, box-shadow 0.15s;
}
.lq-chlogo > svg { width: calc(var(--lq-chlogo-s) * 0.56); height: calc(var(--lq-chlogo-s) * 0.56); display: block; }
/* Cadrage optique validé : Instagram 66 %, YouTube 64 %, LinkedIn verre 64 %, Facebook verre 68 % (plein : 102 %, décalé de 16 %, pied coupé au bord bas). */
.lq-chlogo--instagram > svg { width: calc(var(--lq-chlogo-s) * 0.66); height: calc(var(--lq-chlogo-s) * 0.66); }
.lq-chlogo--youtube > svg { width: calc(var(--lq-chlogo-s) * 0.64); height: calc(var(--lq-chlogo-s) * 0.64); }
.lq-chlogo--glass.lq-chlogo--linkedin > svg { width: calc(var(--lq-chlogo-s) * 0.64); height: calc(var(--lq-chlogo-s) * 0.64); }
.lq-chlogo--glass.lq-chlogo--facebook > svg { width: calc(var(--lq-chlogo-s) * 0.68); height: calc(var(--lq-chlogo-s) * 0.68); }

.lq-chlogo--glass {
  background: var(--lq-lens);
  color: var(--lq-chlogo-c);
  box-shadow:
    inset 0 1px 0 var(--lq-glass-edge),
    inset 0 0 0 1px color-mix(in srgb, var(--lq-chlogo-c) 20%, transparent),
    0 calc(var(--lq-chlogo-s) * 0.12) calc(var(--lq-chlogo-s) * 0.34) calc(var(--lq-chlogo-s) * -0.16) color-mix(in srgb, var(--lq-chlogo-c) 60%, transparent),
    var(--lq-shadow-lens);
}
/* LinkedIn en verre : pastille entièrement bleue (pas de liseré blanc autour du carré « in »), validé le 2026-11-28. */
.lq-chlogo--glass.lq-chlogo--linkedin {
  background: #0A66C2;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 calc(var(--lq-chlogo-s) * 0.12) calc(var(--lq-chlogo-s) * 0.34) calc(var(--lq-chlogo-s) * -0.16) rgba(10, 102, 194, 0.6),
    var(--lq-shadow-lens);
}
/* Sources (2026-12-01). Google Maps : épingle quatre couleurs à 70 %. Pages Jaunes : pastille jaune pleine (comme LinkedIn), « PJ » noir. */
.lq-chlogo--google_maps > svg { width: calc(var(--lq-chlogo-s) * 0.7); height: calc(var(--lq-chlogo-s) * 0.7); }
.lq-chlogo--pages_jaunes > svg { width: calc(var(--lq-chlogo-s) * 0.74); height: calc(var(--lq-chlogo-s) * 0.74); }
.lq-chlogo--glass.lq-chlogo--pages_jaunes {
  background: #FFD100;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 calc(var(--lq-chlogo-s) * 0.12) calc(var(--lq-chlogo-s) * 0.34) calc(var(--lq-chlogo-s) * -0.16) rgba(229, 184, 0, 0.6),
    var(--lq-shadow-lens);
}
/* Cadre réservé (cartes de choix) : la pastille reste centrée dans un carré fixe. */
.lq-srclogo-frame { display: inline-grid; place-items: center; flex: none; }
.lq-srcname { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.lq-srcname > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lq-chlogo--solid {
  background: var(--lq-chlogo-b);
  color: var(--lq-on-accent);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    inset 0 -1px 0 rgba(0, 0, 0, 0.14),
    0 calc(var(--lq-chlogo-s) * 0.14) calc(var(--lq-chlogo-s) * 0.38) calc(var(--lq-chlogo-s) * -0.16) color-mix(in srgb, var(--lq-chlogo-c) 75%, transparent);
}
.lq-chlogo--solid::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 52%);
  pointer-events: none;
  z-index: -1;
}
.lq-chlogo--solid > svg { width: calc(var(--lq-chlogo-s) * 0.54); height: calc(var(--lq-chlogo-s) * 0.54); }
.lq-chlogo--solid.lq-chlogo--instagram > svg { width: calc(var(--lq-chlogo-s) * 0.66); height: calc(var(--lq-chlogo-s) * 0.66); }
/* Facebook plein : « f » à 102 %, décalé de 16 % vers le bas, pied coupé au bord bas (la bulle est en portail). */
.lq-chlogo--solid.lq-chlogo--facebook { overflow: hidden; }
.lq-chlogo--solid.lq-chlogo--facebook > svg { width: calc(var(--lq-chlogo-s) * 1.02); height: calc(var(--lq-chlogo-s) * 1.02); margin-top: calc(var(--lq-chlogo-s) * 0.16); }

a.lq-chlogo, button.lq-chlogo { cursor: pointer; }
a.lq-chlogo:hover, button.lq-chlogo:not(.is-disabled):hover, .lq-chlogo.has-tip:not(.is-disabled):hover { transform: translateY(-1px); }
a.lq-chlogo:focus-visible, button.lq-chlogo:focus-visible { outline: 2px solid var(--lq-accent-ring); outline-offset: 2px; }

/* Bulle au survol : LqTooltip (portail, tooltip.tsx) — plus de pseudo-élément CSS qu'un en-tête collant pourrait cacher. */
.lq-tooltip-pos { z-index: 1000; }
.lq-tooltip { font: var(--lq-font-caption); white-space: nowrap; max-width: min(360px, calc(100vw - 16px)); overflow: hidden; text-overflow: ellipsis; transition: opacity .12s; }
.lq-tooltip--wrap { white-space: normal; width: max-content; max-width: min(260px, calc(100vw - 16px)); }
.lq-tooltip[data-starting-style], .lq-tooltip[data-ending-style] { opacity: 0; }
.lq-chlogo.is-disabled { cursor: not-allowed; opacity: 0.55; transform: none; }

/* États */
.lq-chlogo.is-empty { background: var(--lq-track); box-shadow: none; }
.lq-chlogo.is-empty::after { display: none; }
.lq-chlogo.is-ghost { background: var(--lq-track); box-shadow: inset 0 0 0 1px var(--lq-glass-line); }
.lq-chlogo.is-ghost::after { display: none; }
.lq-chlogo.is-ghost > svg { opacity: 0.38; filter: grayscale(1); }
.lq-chlogo.is-soon { filter: grayscale(1); opacity: 0.55; cursor: default; }
.lq-chlogo__soon {
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0 4px;
  border-radius: 5px;
  background: var(--lq-lens);
  color: var(--lq-muted);
  font: 600 8.5px/13px var(--lq-font-sans);
  box-shadow: var(--lq-shadow-lens);
  white-space: nowrap;
}

.lq-chslots { display: inline-flex; align-items: center; gap: 6px; flex-wrap: nowrap; }
.lq-chslots__item { display: inline-flex; }

@media (prefers-reduced-motion: reduce) { .lq-chlogo, .lq-tooltip { transition: none; } }

/* ═══ components/ui/liquid/percent-ring.css ═══ */
/* PercentRing (percent-ring.tsx) : petit anneau dégradé + pourcentage. Jetons --lq-* uniquement (clair et
   sombre suivent). Feuille de la bibliothèque, exclue de scripts/gen-dark-theme.ts. */
.lq-pring { --lq-pring: var(--lq-accent); display: inline-flex; align-items: center; gap: 6px; vertical-align: middle; white-space: nowrap; }
.lq-pring svg { flex: none; display: block; }
.lq-pring__t { fill: none; stroke: var(--lq-track); }
.lq-pring__v { fill: none; stroke-linecap: round; }
.lq-pring__from { stop-color: color-mix(in srgb, var(--lq-pring) 55%, var(--lq-lens)); }
.lq-pring__to { stop-color: var(--lq-pring); }
.lq-pring__l { font: var(--lq-font-label); font-family: var(--lq-font-num); font-variant-numeric: tabular-nums; color: var(--lq-ink); }

/* ═══ components/ui/liquid/tint.css ═══ */
/* Reachlist Liquide — verre teinté en dégradé (tint.tsx).
   Une seule variable de couleur, --lq-tint (posée par tintStyle()), le reste en jetons --lq-*.
   Clair sur :root, sombre sous .dark : les mélanges partent de --lq-lens / --lq-glass, déjà sombres,
   et les pourcentages de teinte sont relevés en sombre (--lq-tint-k). Feuille exclue de gen-dark-theme. */

:root { --lq-tint-k: 1; --lq-tint-gloss: rgba(255, 255, 255, 0.95); }
.dark { --lq-tint-k: 1.45; --lq-tint-gloss: rgba(255, 255, 255, 0.10); }

/* ── Pastille ── */
.lq-tint-ico { --lq-tint: var(--lq-accent); position: relative; display: inline-flex; align-items: center; justify-content: center; flex: none; width: 26px; height: 26px; border-radius: 9px; color: var(--lq-tint); background-color: var(--lq-lens); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lq-tint) 28%, transparent), 0 3px 10px -4px color-mix(in srgb, var(--lq-tint) 55%, transparent); }
.lq-tint-ico .lq-ico { width: 13px; height: 13px; stroke-width: 1.9; }
.lq-tint-ico--20 { width: 22px; height: 22px; border-radius: var(--lq-radius-xs); } .lq-tint-ico--20 .lq-ico { width: 12px; height: 12px; }
.lq-tint-ico--32 { width: 34px; height: 34px; border-radius: var(--lq-radius-md); } .lq-tint-ico--32 .lq-ico { width: 16px; height: 16px; }
.lq-tint-ico--40 { width: 42px; height: 42px; border-radius: 14px; } .lq-tint-ico--40 .lq-ico { width: 19px; height: 19px; }
.lq-tint-ico--round { border-radius: var(--lq-radius-pill); }
.lq-tint-ico--solid { background-color: var(--lq-tint); color: var(--lq-on-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--lq-tint) 22%, transparent), 0 4px 12px -4px var(--lq-tint); }

/* ── Jauge ── */
.lq-tint-gauge { display: flex; align-items: center; gap: 8px; min-width: 0; font: var(--lq-font-badge); font-variant-numeric: tabular-nums; color: color-mix(in srgb, var(--lq-tint, var(--lq-accent)) 60%, var(--lq-muted)); font-family: var(--lq-font-num); }
.lq-tint-gauge__bar { flex: 1; min-width: 24px; height: 4px; border-radius: var(--lq-radius-pill); background: color-mix(in srgb, var(--lq-tint, var(--lq-accent)) calc(14% * var(--lq-tint-k)), transparent); overflow: hidden; }
.lq-tint-gauge__bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, color-mix(in srgb, var(--lq-tint, var(--lq-accent)) 40%, transparent), var(--lq-tint, var(--lq-accent))); }
.lq-tint-gauge__l { flex: none; white-space: nowrap; }

/* ── Anneau ── */
.lq-tint-ring { position: relative; display: inline-grid; place-items: center; flex: none; }
.lq-tint-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.lq-tint-ring__t { fill: none; stroke: color-mix(in srgb, var(--lq-tint) calc(16% * var(--lq-tint-k)), transparent); stroke-width: 3; }
.lq-tint-ring__v { fill: none; stroke: var(--lq-tint); stroke-width: 3; stroke-linecap: round; }
.lq-tint-ring b { position: relative; font: var(--lq-font-badge); font-size: 10px; line-height: 1; font-variant-numeric: tabular-nums; color: color-mix(in srgb, var(--lq-tint) 70%, var(--lq-ink)); font-family: var(--lq-font-num); }

/* ── Capsule ── */
.lq-tint-cap { --lq-tint: var(--lq-accent); position: relative; min-width: 0; border: 0; color: var(--lq-ink); font: var(--lq-font-body); text-align: left; }
.lq-tint-cap__n { display: inline-grid; place-items: center; flex: none; min-width: 20px; height: 18px; padding: 0 6px; border-radius: var(--lq-radius-pill); background: color-mix(in srgb, var(--lq-tint) calc(16% * var(--lq-tint-k)), transparent); color: color-mix(in srgb, var(--lq-tint) 70%, var(--lq-ink)); font: var(--lq-font-badge); font-variant-numeric: tabular-nums; font-family: var(--lq-font-num); }
.lq-tint-cap__acts { display: inline-flex; align-items: center; gap: 2px; flex: none; }

.lq-tint-cap--header { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px 10px; padding: 10px 8px 10px 10px; border-radius: var(--lq-radius-xl); background: linear-gradient(135deg, color-mix(in srgb, var(--lq-tint) calc(15% * var(--lq-tint-k)), var(--lq-lens)), color-mix(in srgb, var(--lq-tint) calc(5% * var(--lq-tint-k)), var(--lq-lens)) 70%); box-shadow: inset 0 1px 0 var(--lq-tint-gloss), inset 0 0 0 1px color-mix(in srgb, var(--lq-tint) 14%, transparent), 0 10px 22px -16px color-mix(in srgb, var(--lq-tint) 80%, transparent), var(--lq-shadow-lens); }
.lq-tint-cap--header .lq-tint-cap__acts { grid-column: 3; }
.lq-tint-cap__b { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.lq-tint-cap__t { display: flex; align-items: center; gap: 6px; min-width: 0; }
.lq-tint-cap__t b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: var(--lq-font-body-strong); color: color-mix(in srgb, var(--lq-tint) 62%, var(--lq-ink)); }
.lq-tint-cap__sum { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
.lq-tint-cap__sum b { flex: none; font: var(--lq-font-label); font-variant-numeric: tabular-nums; color: var(--lq-ink); white-space: nowrap; font-family: var(--lq-font-num); }
.lq-tint-cap__sum span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: var(--lq-font-caption); color: var(--lq-muted); font-variant-numeric: tabular-nums; }
.lq-tint-cap__gauge { grid-column: 1 / -1; }

.lq-tint-cap--inline, .lq-tint-cap--pill { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; border-radius: var(--lq-radius-pill); background: linear-gradient(90deg, color-mix(in srgb, var(--lq-tint) calc(15% * var(--lq-tint-k)), var(--lq-lens)), color-mix(in srgb, var(--lq-tint) calc(4% * var(--lq-tint-k)), var(--lq-lens))); box-shadow: inset 0 1px 0 var(--lq-tint-gloss), inset 0 0 0 1px color-mix(in srgb, var(--lq-tint) 14%, transparent), 0 8px 18px -14px var(--lq-tint); }
.lq-tint-cap--inline { height: 36px; padding: 0 14px 0 6px; }
.lq-tint-cap--inline .lq-tint-cap__name { font: var(--lq-font-body-strong); color: color-mix(in srgb, var(--lq-tint) 62%, var(--lq-ink)); }
.lq-tint-cap__sep { width: 1px; height: 16px; background: color-mix(in srgb, var(--lq-tint) 25%, transparent); }
.lq-tint-cap__v { font: var(--lq-font-label); font-variant-numeric: tabular-nums; color: var(--lq-ink); font-family: var(--lq-font-num); }
.lq-tint-cap__c { font: var(--lq-font-caption); font-variant-numeric: tabular-nums; color: var(--lq-muted); font-family: var(--lq-font-num); }
.lq-tint-cap--inline .lq-tint-cap__gauge { width: 110px; flex: none; }
.lq-tint-cap--pill { height: 28px; gap: 6px; padding: 0 10px 0 3px; color: color-mix(in srgb, var(--lq-tint) 65%, var(--lq-ink)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lq-tint) 16%, transparent); }
.lq-tint-cap--pill .lq-tint-cap__name { font: var(--lq-font-label); color: inherit; overflow: hidden; text-overflow: ellipsis; }
.lq-tint-cap--pill .lq-tint-cap__c { color: color-mix(in srgb, var(--lq-tint) 45%, var(--lq-muted)); }
.lq-tint-cap--pill:not(:has(.lq-tint-ico)) { padding-left: 10px; }
.lq-tint-cap--btn { cursor: pointer; transition: filter .15s, transform .15s; }
.lq-tint-cap--btn:hover { filter: saturate(1.15) brightness(1.02); }
.lq-tint-cap--btn:focus-visible { outline: 2px solid var(--lq-tint); outline-offset: 2px; }

/* ── Panneau ── */
.lq-tint-panel { --lq-tint: var(--lq-accent); position: relative; min-width: 0; border-radius: var(--lq-radius-2xl); -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%); transition: background .15s, box-shadow .15s; }
.lq-tint-panel--column { background: linear-gradient(180deg, color-mix(in srgb, var(--lq-tint) calc(12% * var(--lq-tint-k)), var(--lq-glass)) 0, color-mix(in srgb, var(--lq-tint) calc(4% * var(--lq-tint-k)), var(--lq-glass)) 240px, var(--lq-glass) 560px); box-shadow: inset 0 1px 0 var(--lq-glass-top), 0 10px 30px -18px color-mix(in srgb, var(--lq-tint) 35%, transparent); }
.lq-tint-panel--card { border-radius: var(--lq-radius-xl); background: linear-gradient(135deg, color-mix(in srgb, var(--lq-tint) calc(16% * var(--lq-tint-k)), var(--lq-glass-strong)), var(--lq-glass-strong) 75%); box-shadow: var(--lq-shadow-glass), 0 14px 32px -20px var(--lq-tint); }
.lq-tint-panel--pad { padding: 16px; }
.lq-tint-panel.is-active { background: linear-gradient(180deg, color-mix(in srgb, var(--lq-tint) calc(20% * var(--lq-tint-k)), var(--lq-glass)) 0, color-mix(in srgb, var(--lq-tint) calc(10% * var(--lq-tint-k)), var(--lq-glass)) 100%); box-shadow: inset 0 1px 0 var(--lq-glass-top), 0 0 0 2px color-mix(in srgb, var(--lq-tint) 55%, transparent), 0 18px 40px -20px var(--lq-tint); }
.lq-tint-panel--dashed::after { content: ""; position: absolute; inset: 5px; border-radius: calc(var(--lq-radius-xl) - 4px); border: 1.5px dashed color-mix(in srgb, var(--lq-tint) 50%, transparent); pointer-events: none; }

/* ── Chiffre clé ── */
.lq-tint-stat { --lq-tint: var(--lq-accent); position: relative; display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 14px 16px; border: 0; border-radius: var(--lq-radius-xl); text-align: left; color: var(--lq-ink); font: var(--lq-font-body); background: linear-gradient(135deg, color-mix(in srgb, var(--lq-tint) calc(14% * var(--lq-tint-k)), var(--lq-glass-strong)), color-mix(in srgb, var(--lq-tint) calc(3% * var(--lq-tint-k)), var(--lq-glass-strong)) 75%); box-shadow: inset 0 1px 0 var(--lq-tint-gloss), inset 0 0 0 1px color-mix(in srgb, var(--lq-tint) 12%, transparent), 0 12px 28px -20px var(--lq-tint), var(--lq-shadow-glass); }
.lq-tint-stat--btn { cursor: pointer; transition: transform .15s; } .lq-tint-stat--btn:hover { transform: translateY(-2px); }
.lq-tint-stat--btn:focus-visible { outline: 2px solid var(--lq-tint); outline-offset: 2px; }
.lq-tint-stat__label { display: flex; align-items: center; gap: 8px; min-width: 0; font: var(--lq-font-caption); color: var(--lq-muted); }
.lq-tint-stat__label > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lq-tint-stat__route { display: flex; align-items: center; gap: 6px; min-width: 0; font: var(--lq-font-label); }
.lq-tint-stat__end { --lq-tint: inherit; display: inline-flex; align-items: center; gap: 6px; min-width: 0; color: color-mix(in srgb, var(--lq-tint) 65%, var(--lq-ink)); }
.lq-tint-stat__end > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lq-tint-stat__dot { width: 8px; height: 8px; flex: none; border-radius: var(--lq-radius-pill); background: var(--lq-tint); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lq-tint) 18%, transparent); }
.lq-tint-stat__arrow { display: inline-flex; flex: none; color: var(--lq-faint); } .lq-tint-stat__arrow .lq-ico { width: 14px; height: 14px; }
.lq-tint-stat__value { display: flex; align-items: baseline; gap: 4px; font: var(--lq-font-kpi); letter-spacing: var(--lq-tracking-kpi); font-variant-numeric: tabular-nums; color: color-mix(in srgb, var(--lq-tint) 55%, var(--lq-ink)); }
.lq-tint-stat__value small { font: var(--lq-font-title); letter-spacing: 0; color: var(--lq-muted); }
.lq-tint-stat--sm { gap: 4px; padding: 12px 14px; border-radius: var(--lq-radius-lg); }
.lq-tint-stat--sm .lq-tint-stat__value { font: var(--lq-font-title-lg); letter-spacing: var(--lq-tracking-title-lg); }
.lq-tint-stat__delta { align-self: center; margin-left: 6px; padding: 2px 7px; border-radius: var(--lq-radius-xs); font: var(--lq-font-badge); letter-spacing: 0; }
.lq-tint-stat__delta.is-up { background: var(--lq-success-soft); color: var(--lq-success); }
.lq-tint-stat__delta.is-down { background: var(--lq-danger-soft); color: var(--lq-danger); }
.lq-tint-stat__cap { font: var(--lq-font-small); color: var(--lq-muted); font-variant-numeric: tabular-nums; }
.lq-tint-spark { display: block; width: 100%; height: 34px; }
.lq-tint-spark .a { fill: color-mix(in srgb, var(--lq-tint) calc(14% * var(--lq-tint-k)), transparent); }
.lq-tint-spark .l { fill: none; stroke: var(--lq-tint); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }

/* ── Légende ── */
.lq-tint-legend { display: inline-flex; flex-wrap: wrap; gap: 4px 12px; font: var(--lq-font-caption); color: var(--lq-muted); }
.lq-tint-legend__it { display: inline-flex; align-items: center; gap: 6px; }
.lq-tint-legend__it i { width: 10px; height: 10px; border-radius: var(--lq-radius-pill); background: var(--lq-tint); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lq-tint) 16%, transparent); }

/* ═══ components/ui/liquid/launcher.css ═══ */
/* Reachlist Liquide · Lanceur flottant (maquette Conversations, partie 9 « Bulle, fenêtres et appel flottants »).
   La bulle Messages (Lentille : pastille ronde de verre teinté bleuté, icône « Carré à queue »), son éventail, la lentille des appels
   manqués, la capsule d'appel (la même bulle ronde allongée en pilule), les cartes d'appel, l'aperçu d'un message entrant,
   les panneaux de verre (liste rapide, fenêtres de chat) et les fenêtres réduites.
   Jetons --lq-* seulement : le mode sombre suit sans conversion (verre sombre, couleurs et lueurs gardées).
   Deux courbes : ressort léger (.34, 1.56, .64, 1) pour ce qui apparaît, décélération franche (.2, .9, .25, 1)
   pour ce qui se transforme. */

/* ── La bulle ─────────────────────────────────────────────────────────────── */
.lq-ln { position: relative; width: 56px; height: 56px; flex: none; }
.lq-ln--sm { width: 48px; height: 48px; }
.lq-ln--dock { width: 36px; height: 36px; }
.lq-ln__btn {
  position: relative; width: 100%; height: 100%; display: grid; place-items: center; padding: 0; border: 0;
  cursor: pointer; touch-action: none; -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none;
}
.lq-ln__btn:focus-visible { outline: 3px solid var(--lq-accent-ring); outline-offset: 3px; }
.lq-ln.is-drag .lq-ln__btn { cursor: grabbing; }
.lq-ln.is-drag .lq-ln__btn, .lq-ln.is-drag .lq-ln__btn * { transition: none !important; }

/* Lentille (défaut) : pastille ronde de verre teinté bleuté, liseré clair, reflet en haut à gauche, flou ;
   icône « Carré à queue » au trait 1,9 en bleu accent. */
.lq-ln--lens .lq-ln__btn {
  border-radius: 50%; color: var(--lq-accent);
  background: radial-gradient(120% 120% at 30% 15%, var(--lq-glass-edge), transparent 55%), color-mix(in srgb, var(--lq-glass) 70%, var(--lq-accent-soft));
  -webkit-backdrop-filter: blur(14px) saturate(190%); backdrop-filter: blur(14px) saturate(190%);
  box-shadow: inset 0 0 0 1px var(--lq-glass-edge), inset 0 -8px 14px -8px var(--lq-accent-ring), 0 12px 26px -12px var(--lq-scrim), 0 4px 10px -6px var(--lq-scrim);
  transition: transform .18s cubic-bezier(.2, .9, .25, 1), box-shadow .18s cubic-bezier(.2, .9, .25, 1), background-color .18s ease-out;
}
.lq-ln--lens .lq-ln__btn:hover { transform: scale(1.05); }
.lq-ln--lens.is-drag .lq-ln__btn:hover { transform: none; }
.lq-ln--lens .lq-ln__btn:active { transform: scale(.97); }
.lq-ln--lens.is-open .lq-ln__btn { background: var(--lq-lens); }
.lq-ln--lens.is-fan .lq-ln__btn { box-shadow: inset 0 0 0 1px var(--lq-glass-edge), inset 0 -8px 14px -8px var(--lq-accent-ring), 0 12px 26px -12px var(--lq-scrim), 0 0 0 6px var(--lq-accent-soft); }
.lq-ln__ic, .lq-ln__ix { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.lq-ln__ic { transition: opacity .16s ease-out, transform .28s cubic-bezier(.2, .9, .25, 1); }
.lq-ln__ix { opacity: 0; transform: rotate(-45deg) scale(.6); transition: opacity .18s ease-out, transform .28s cubic-bezier(.34, 1.56, .64, 1); }
.lq-ln__ix .lq-ico { width: 22px; height: 22px; stroke-width: 2.1; }
.lq-ln.is-open .lq-ln__ic { opacity: 0; transform: scale(.6); }
.lq-ln.is-open .lq-ln__ix { opacity: 1; transform: none; }
.lq-ln__sq { width: 30px; height: 30px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.lq-ln__sq circle { fill: currentColor; stroke: none; }
.lq-ln--sm .lq-ln__sq { width: 26px; height: 26px; }
.lq-ln--dock .lq-ln__sq { width: 20px; height: 20px; }
.lq-ln--lens .lq-ln__ic > .lq-ico { width: 24px; height: 24px; }
/* Survol : les deux points sautillent une fois ; nouveau message : trois fois. */
.lq-ln--lens .lq-ln__btn:hover .lq-ln__sq circle { animation: lq-ln-dot .9s ease-in-out both; }
.lq-ln__ic.is-new .lq-ln__sq circle { animation: lq-ln-dot .9s ease-in-out 3 both; }
.lq-ln__sq circle:nth-of-type(2) { animation-delay: .12s !important; }
.lq-ln.is-drag .lq-ln__sq circle { animation: none !important; }
/* Logée dans « Masquer » : réduite à 0,6. */
.lq-ln.is-absorbed .lq-ln__btn { transform: scale(.6) !important; transition: transform .22s cubic-bezier(.34, 1.56, .64, 1) !important; }
.lq-ln.is-absorbed .lq-ln__badge, .lq-ln.is-absorbed .lq-ln__dnd { opacity: 0; }

/* Ancien bloc (variant="block") : carré arrondi bleu translucide à lueur. */
.lq-ln--block .lq-ln__btn {
  border-radius: var(--lq-radius-lg); background-color: var(--lq-accent); color: var(--lq-on-accent);
  box-shadow: var(--lq-shadow-accent); transition: transform .15s ease-out, box-shadow .15s ease-out, background-color .15s ease-out;
}
.lq-ln--block .lq-ln__btn::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 55%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
}
.lq-ln--block.lq-ln--sm .lq-ln__btn { border-radius: 15px; }
.lq-ln--block.lq-ln--dock .lq-ln__btn { border-radius: var(--lq-radius-md); }
.lq-ln--block .lq-ln__btn:hover { background-color: var(--lq-accent-hover); }
.lq-ln--block .lq-ln__btn:active { transform: scale(.96); }
.lq-ln--block .lq-ln__glyph { position: relative; display: grid; place-items: center; animation: lq-ln-glyph 180ms cubic-bezier(.2, .9, .25, 1) both; }
.lq-ln--block .lq-ln__btn .lq-ico { width: 24px; height: 24px; stroke-width: 2; }
.lq-ln--block.lq-ln--sm .lq-ln__btn .lq-ico { width: 21px; height: 21px; }
.lq-ln--block.lq-ln--dock .lq-ln__btn .lq-ico { width: 16px; height: 16px; }
.lq-ln--block .lq-ln__sq { width: 27px; height: 27px; }
.lq-ln--block.is-open .lq-ln__btn { background-color: var(--lq-glass-strong); color: var(--lq-ink); box-shadow: var(--lq-shadow-float); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
.lq-ln--block.is-open .lq-ln__btn::before { display: none; }
.lq-ln--block.is-fan .lq-ln__btn { box-shadow: var(--lq-shadow-accent), 0 0 0 6px var(--lq-accent-soft); }

/* Compteur de non-lus : pastille rouge en DM Sans, 99+ au-delà. */
.lq-ln__badge {
  position: absolute; top: -6px; right: -6px; z-index: 1; min-width: 20px; height: 20px; padding: 0 6px; box-sizing: border-box;
  display: inline-grid; place-items: center; border-radius: var(--lq-radius-pill); background: var(--lq-danger-dot);
  color: var(--lq-on-accent); font: var(--lq-font-badge); font-family: var(--lq-font-num); font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 2.5px var(--lq-lens); pointer-events: none; transition: opacity .16s ease-out;
}
.lq-ln--lens .lq-ln__badge { top: -4px; right: -4px; }
.lq-ln__badge.is-sm { min-width: 18px; height: 18px; top: -4px; right: -4px; padding: 0 5px; }
.lq-ln--dock .lq-ln__badge { min-width: 16px; height: 16px; top: -5px; right: -5px; padding: 0 4px; font-size: 10px; }
.lq-ln__badge.is-pop { animation: lq-ln-pop 550ms cubic-bezier(.34, 1.56, .64, 1) both; }
/* Ne pas déranger : lune en bas, compteur gardé. */
.lq-ln__dnd {
  position: absolute; right: -5px; bottom: -5px; width: 22px; height: 22px; display: grid; place-items: center;
  border-radius: 50%; background: var(--lq-ink); color: var(--lq-lens); box-shadow: 0 0 0 2.5px var(--lq-lens); pointer-events: none;
}
.lq-ln--block .lq-ln__dnd { border-radius: 8px; }
.lq-ln__dnd .lq-ico { width: 12px; height: 12px; }
/* Nouveau message (bloc) : deux ondes, une seule fois. */
.lq-ln__ring { position: absolute; inset: 0; border-radius: var(--lq-radius-lg); border: 2px solid var(--lq-accent); pointer-events: none; animation: lq-ln-wave 900ms ease-out 2 both; }
.lq-ln__ring.is-2 { animation-delay: 300ms; }

/* Lentille des appels manqués, accolée à la bulle. */
.lq-ln__miss {
  position: absolute; z-index: 2; height: 26px; display: inline-flex; align-items: center; gap: 4px; padding: 0 8px 0 7px;
  border: 0; border-radius: var(--lq-radius-sm); background-color: var(--lq-glass-top); box-shadow: var(--lq-shadow-float);
  color: var(--lq-danger-dot); cursor: pointer; white-space: nowrap; animation: lq-ln-pop 240ms cubic-bezier(.34, 1.56, .64, 1) both;
}
.lq-ln__miss:hover { box-shadow: var(--lq-shadow-float), 0 0 0 1px var(--lq-danger-soft); }
.lq-ln__miss .lq-ico { width: 13px; height: 13px; }
.lq-ln__miss b { font: var(--lq-font-badge); font-family: var(--lq-font-num); font-variant-numeric: tabular-nums; }

/* Éventail : boutons de verre qui sortent du centre de la bulle vers l'intérieur de l'écran. */
.lq-ln__fi { position: absolute; display: flex; align-items: center; gap: 8px; animation: lq-ln-fan 220ms cubic-bezier(.34, 1.56, .64, 1) both; }
.lq-ln__fi.is-left { flex-direction: row-reverse; }
.lq-ln__fb {
  position: relative; width: 44px; height: 44px; flex: none; display: grid; place-items: center; padding: 0; border: 0;
  border-radius: 14px; background-color: var(--lq-glass-strong); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  color: var(--lq-ink-2); box-shadow: var(--lq-shadow-float); cursor: pointer; transition: background-color .15s ease-out, color .15s ease-out;
}
.lq-ln__fb:hover { color: var(--lq-ink); background-color: var(--lq-glass-top); }
.lq-ln__fb:focus-visible { outline: 2px solid var(--lq-accent); outline-offset: 2px; }
.lq-ln__fb .lq-ico { width: 19px; height: 19px; }
.lq-ln__fb.is-call { background-color: var(--lq-success-dot); color: var(--lq-on-accent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 10px 22px -8px var(--lq-success-dot); }
.lq-ln__fb.is-call:hover { background-color: var(--lq-success-dot); filter: brightness(1.06); }
.lq-ln__mc {
  position: absolute; top: -5px; right: -6px; min-width: 16px; height: 16px; padding: 0 4px; box-sizing: border-box;
  display: inline-grid; place-items: center; border-radius: var(--lq-radius-pill); background: var(--lq-danger-dot); color: var(--lq-on-accent);
  font: var(--lq-font-badge); font-family: var(--lq-font-num); font-size: 10.5px; box-shadow: 0 0 0 2px var(--lq-lens);
}
.lq-ln__tip {
  display: none; align-items: center; gap: 6px; height: 28px; padding: 0 6px 0 10px; border-radius: var(--lq-radius-sm);
  background: var(--lq-tooltip); color: var(--lq-on-tooltip); font: var(--lq-font-label); white-space: nowrap; pointer-events: none;
}
.lq-ln__tip:not(:has(.lq-kbd)) { padding-right: 10px; }
.lq-ln__fi:hover .lq-ln__tip, .lq-ln__fi:focus-within .lq-ln__tip, .lq-ln__tip.is-shown { display: inline-flex; }
.lq-ln__tip .lq-kbd { height: 20px; min-width: 20px; background: rgba(255, 255, 255, .16); color: var(--lq-on-tooltip); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }

/* ── Capsule d'appel : la bulle ronde allongée en pilule (rayon 28) ────────── */
.lq-cap { --cap: var(--lq-success-dot); position: relative; height: 56px; width: 212px; flex: none; }
.lq-cap.is-out { --cap: var(--lq-accent); }
.lq-cap.is-hold { --cap: var(--lq-warning-dot); }
.lq-cap.is-ended { --cap: var(--lq-danger-dot); }
.lq-cap__body {
  position: relative; width: 100%; height: 100%; display: flex; align-items: center; gap: 10px; padding: 0 12px 0 8px; box-sizing: border-box;
  border: 0; border-radius: 28px; background-color: var(--cap); color: var(--lq-on-accent); text-align: left; cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .38), inset 0 -1px 0 rgba(0, 0, 0, .1), 0 10px 24px -8px color-mix(in srgb, var(--cap) 70%, transparent);
  transition: background-color 200ms ease-out, box-shadow 200ms ease-out;
  animation: lq-cap-in 320ms cubic-bezier(.2, .9, .25, 1) both;
}
.lq-cap__body::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(180deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, 0) 55%); }
.lq-cap--left .lq-cap__body { flex-direction: row-reverse; padding: 0 8px 0 12px; text-align: right; animation-name: lq-cap-in-left; }
.lq-cap__body:focus-visible { outline: 3px solid color-mix(in srgb, var(--cap) 35%, transparent); outline-offset: 3px; }
.lq-cap__ic {
  position: relative; width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 50%;
  background: rgba(255, 255, 255, .94); color: var(--cap); box-shadow: 0 2px 6px -2px rgba(0, 0, 0, .25);
  transition: color 200ms ease-out;
}
.lq-cap__ic .lq-ico { width: 19px; height: 19px; stroke-width: 2.2; animation: lq-ln-glyph 180ms cubic-bezier(.2, .9, .25, 1) both; }
.lq-cap__ic.is-shake .lq-ico { animation: lq-cap-shake 2s ease-in-out infinite; }
.lq-cap__t { position: relative; display: flex; flex-direction: column; min-width: 0; flex: 1; }
.lq-cap--left .lq-cap__t { align-items: flex-end; }
.lq-cap__t b { max-width: 100%; font: var(--lq-font-label); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lq-cap__l { display: flex; align-items: center; gap: 5px; font: var(--lq-font-caption); opacity: .92; white-space: nowrap; }
.lq-cap.is-out .lq-cap__l { opacity: .8; }
.lq-cap__tm { font-family: var(--lq-font-num); font-variant-numeric: tabular-nums; }
.lq-cap__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.lq-cap__dot.is-blink { animation: lq-ln-blink 1.2s ease-in-out infinite; }
.lq-cap__mute { position: relative; width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 9px; background: rgba(255, 255, 255, .22); }
.lq-cap__mute .lq-ico { width: 14px; height: 14px; }
.lq-cap__ring { position: absolute; inset: 0; border-radius: 28px; border: 2px solid var(--cap); pointer-events: none; animation: lq-ln-wave 1.6s ease-out infinite; }
.lq-cap__ring.is-2 { animation-delay: .8s; }
.lq-cap.is-out .lq-cap__ring { animation: lq-ln-wave 1.8s cubic-bezier(.2, .6, .3, 1) infinite; opacity: .6; }
.lq-cap.is-out .lq-cap__ring.is-2 { display: none; }
/* Appel entrant : la bulle reste ronde, verte, téléphone qui vibre. */
.lq-cap.is-in { width: 56px; }
.lq-cap.is-in .lq-cap__body { padding: 0; justify-content: center; animation: none; }
.lq-cap.is-in .lq-cap__ic { background: none; color: var(--lq-on-accent); box-shadow: none; }
.lq-cap.is-in .lq-cap__ic .lq-ico { width: 24px; height: 24px; }
.lq-cap.is-in .lq-cap__t { display: none; }
/* Raccroché : pressé ×.94 (90 ms), rouge 1,2 s, puis se rétracte en bulle (280 ms). */
.lq-cap.is-ended .lq-cap__body { animation: lq-cap-end 1580ms cubic-bezier(.2, .9, .25, 1) both; }
.lq-cap--left.is-ended .lq-cap__body { animation-name: lq-cap-end-left; }
/* Pastille des non-lus, sur le côté intérieur de la capsule. */
.lq-cap .lq-ln__badge { top: -8px; right: auto; left: -8px; }
.lq-cap--left .lq-ln__badge { left: auto; right: -8px; }

/* Onde de voix */
.lq-wave { display: inline-flex; align-items: center; gap: 2px; height: 18px; flex: none; }
.lq-wave i { width: 3px; height: 100%; border-radius: 2px; background: currentColor; opacity: .9; transform-origin: center; transform: scaleY(.35); }
.lq-wave.is-live i { animation: lq-wave-bar 1.1s ease-in-out infinite alternate; }
.lq-wave i:nth-child(2) { animation-delay: 90ms; } .lq-wave i:nth-child(3) { animation-delay: 180ms; } .lq-wave i:nth-child(4) { animation-delay: 270ms; }
.lq-wave i:nth-child(5) { animation-delay: 360ms; } .lq-wave i:nth-child(6) { animation-delay: 450ms; } .lq-wave i:nth-child(7) { animation-delay: 540ms; }
.lq-wave i:nth-child(8) { animation-delay: 630ms; } .lq-wave i:nth-child(9) { animation-delay: 720ms; } .lq-wave i:nth-child(10) { animation-delay: 810ms; }
.lq-wave i:nth-child(11) { animation-delay: 900ms; } .lq-wave i:nth-child(12) { animation-delay: 990ms; }
.lq-wave--lg { height: 26px; gap: 3px; color: var(--lq-success-dot); }

/* ── Panneaux de verre (liste rapide, fenêtres, aperçu, cartes d'appel) ───── */
.lq-lpanel {
  box-sizing: border-box; display: flex; flex-direction: column; overflow: hidden; color: var(--lq-ink);
  background-color: var(--lq-glass-strong); -webkit-backdrop-filter: blur(30px) saturate(170%); backdrop-filter: blur(30px) saturate(170%);
  box-shadow: var(--lq-shadow-float); border-radius: var(--lq-radius-xl);
  animation: lq-ln-rise 220ms cubic-bezier(.2, .9, .25, 1) both;
}
.lq-lpanel.is-dim { opacity: .9; }

/* Cartes d'appel (entrant, en cours), accrochées à la capsule */
.lq-ccard { width: 340px; padding: 14px; gap: 12px; overflow: visible; }
.lq-ccard__h { display: flex; align-items: center; gap: 7px; font: var(--lq-font-label); color: var(--lq-success); }
.lq-ccard__h .lq-cap__dot { color: var(--lq-success-dot); }
.lq-ccard__h.is-hold { color: var(--lq-warning); } .lq-ccard__h.is-hold .lq-cap__dot { color: var(--lq-warning-dot); }
.lq-ccard__h.is-out { color: var(--lq-accent-ink); } .lq-ccard__h.is-out .lq-cap__dot { color: var(--lq-accent); }
.lq-ccard--live .lq-ccard__h { color: var(--lq-ink); }
.lq-ccard__tm { font: var(--lq-font-label); font-family: var(--lq-font-num); font-variant-numeric: tabular-nums; color: var(--lq-ink); }
.lq-ccard__sp { flex: 1; }
.lq-ccard__sub { font: var(--lq-font-caption); color: var(--lq-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.lq-ccard__who { display: flex; align-items: center; gap: 10px; }
.lq-ccard__av { position: relative; display: inline-flex; flex: none; border-radius: 50%; }
.lq-ccard--in .lq-ccard__av { box-shadow: 0 0 0 4px var(--lq-success-soft); }
.lq-ccard__t { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.lq-ccard__t b { font: var(--lq-font-title); color: var(--lq-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lq-ccard__last { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: var(--lq-radius-md); background: var(--lq-track); font: var(--lq-font-small); color: var(--lq-ink-2); }
.lq-ccard__last .lq-ico { width: 14px; height: 14px; color: var(--lq-muted); flex: none; }
.lq-ccard__a { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lq-ccard__b {
  height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: var(--lq-radius-md);
  color: var(--lq-on-accent); font: var(--lq-font-body-strong); cursor: pointer; animation: lq-ln-pop 260ms cubic-bezier(.34, 1.56, .64, 1) both;
  transition: filter .15s ease-out, transform 90ms ease-out;
}
.lq-ccard__b:hover { filter: brightness(1.06); }
.lq-ccard__b:active { transform: scale(.94); }
.lq-ccard__b:focus-visible { outline: 2px solid var(--lq-accent); outline-offset: 2px; }
.lq-ccard__b .lq-ico { width: 17px; height: 17px; }
.lq-ccard__b .lq-kbd { height: 20px; background: rgba(255, 255, 255, .2); color: var(--lq-on-accent); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.lq-ccard__b.is-no { background-color: var(--lq-danger-dot); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 8px 18px -8px var(--lq-danger-dot); }
.lq-ccard__b.is-yes { background-color: var(--lq-success-dot); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 8px 18px -8px var(--lq-success-dot); animation-delay: 60ms; }
.lq-ccard__ctl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.lq-ccard__c { display: flex; flex-direction: column; align-items: center; gap: 5px; border: 0; background: none; padding: 0; cursor: pointer; font: var(--lq-font-caption); color: var(--lq-ink-2); }
.lq-ccard__c:disabled { opacity: .45; cursor: default; }
.lq-ccard__lens {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background-color: var(--lq-lens);
  box-shadow: var(--lq-shadow-lens); color: var(--lq-ink-2); transition: background-color .16s ease-out, color .16s ease-out;
}
.lq-ccard__c:not(:disabled):hover .lq-ccard__lens { color: var(--lq-ink); }
.lq-ccard__c:focus-visible { outline: none; }
.lq-ccard__c:focus-visible .lq-ccard__lens { outline: 2px solid var(--lq-accent); outline-offset: 2px; }
.lq-ccard__lens .lq-ico { width: 18px; height: 18px; }
.lq-ccard__c.is-on, .lq-ccard__c.is-on .lq-ccard__lens { color: var(--lq-accent-ink); }
.lq-ccard__c.is-on .lq-ccard__lens { background-color: var(--lq-accent-soft); box-shadow: inset 0 0 0 1px var(--lq-accent-ring); }
.lq-ccard__c.is-hold, .lq-ccard__c.is-hold .lq-ccard__lens { color: var(--lq-warning); }
.lq-ccard__c.is-hold .lq-ccard__lens { background-color: var(--lq-warning-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lq-warning-dot) 40%, transparent); }
.lq-ccard__f { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.lq-ccard__f .lq-btn { min-width: 0; padding: 0 8px; white-space: nowrap; justify-content: center; }

/* Aperçu d'un message entrant (6 s, pause au survol) */
.lq-peek { width: 340px; padding: 12px 12px 0; gap: 8px; }
.lq-peek__h { display: flex; align-items: center; gap: 10px; }
.lq-peek__t { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.lq-peek__t b { font: var(--lq-font-body-strong); color: var(--lq-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lq-peek__t span { font: var(--lq-font-caption); color: var(--lq-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lq-peek__time { font: var(--lq-font-caption); color: var(--lq-muted); white-space: nowrap; }
.lq-peek__ctx, .lq-peek__x, .lq-peek__a { padding-left: 46px; }
.lq-peek__ctx { display: flex; align-items: center; gap: 8px; }
.lq-peek__x { margin: 0; font: var(--lq-font-body); color: var(--lq-ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.lq-peek__a { display: flex; align-items: center; gap: 6px; }
.lq-peek__bar { height: 3px; margin: 4px -12px 0; background: var(--lq-track); }
.lq-peek__bar i { display: block; height: 100%; width: 100%; background: var(--lq-accent); border-radius: 0 var(--lq-radius-pill) var(--lq-radius-pill) 0; transform-origin: left; animation: lq-peek-bar var(--lq-peek-ms, 6000ms) linear both; }
.lq-peek:hover .lq-peek__bar i, .lq-peek:focus-within .lq-peek__bar i { animation-play-state: paused; }

/* Fenêtre réduite : capsule de verre flottante */
.lq-minichat {
  display: flex; align-items: center; gap: 8px; width: 250px; height: 46px; padding: 0 6px 0 8px; box-sizing: border-box;
  border-radius: var(--lq-radius-lg); background-color: var(--lq-glass-strong); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  box-shadow: var(--lq-shadow-float); color: var(--lq-ink); animation: lq-ln-rise 220ms cubic-bezier(.2, .9, .25, 1) both;
}
.lq-minichat__open { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 1; height: 100%; padding: 0; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; }
.lq-minichat__open:focus-visible { outline: 2px solid var(--lq-accent); outline-offset: 2px; border-radius: var(--lq-radius-sm); }
.lq-minichat b { font: var(--lq-font-label); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.lq-minichat__n { flex: none; }
.lq-minichat__i { width: 26px; height: 26px; flex: none; display: grid; place-items: center; padding: 0; border: 0; background: none; border-radius: var(--lq-radius-xs); color: var(--lq-muted); cursor: pointer; }
.lq-minichat__i:hover { background: var(--lq-hover); color: var(--lq-ink); }
.lq-minichat__i:focus-visible { outline: 2px solid var(--lq-accent); outline-offset: 1px; }
.lq-minichat__i .lq-ico { width: 14px; height: 14px; }
.lq-minichat.is-new {
  background: linear-gradient(90deg, color-mix(in srgb, var(--lq-accent) 18%, var(--lq-lens)), color-mix(in srgb, var(--lq-accent) 6%, var(--lq-lens)));
  box-shadow: var(--lq-shadow-float), inset 0 0 0 1px color-mix(in srgb, var(--lq-accent) 28%, transparent);
  animation: lq-ln-rise 220ms cubic-bezier(.2, .9, .25, 1) both, lq-mini-breathe 1.2s ease-in-out 220ms 3;
}
.lq-minichat.is-new b { color: var(--lq-accent-ink); }

/* ── Images clés ──────────────────────────────────────────────────────────── */
@keyframes lq-ln-pop { 0% { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.12); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
@keyframes lq-ln-wave { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(1.45); opacity: 0; } }
@keyframes lq-ln-fan { from { transform: translate(var(--fx, 0), var(--fy, 0)) scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes lq-ln-glyph { from { transform: rotate(-20deg) scale(.8); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes lq-ln-blink { 50% { opacity: .3; } }
@keyframes lq-ln-rise { from { transform: translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes lq-cap-shake { 0%, 16%, 100% { transform: none; } 2%, 6%, 10%, 14% { transform: rotate(-8deg); } 4%, 8%, 12% { transform: rotate(8deg); } }
@keyframes lq-cap-in { from { clip-path: inset(0 calc(100% - 56px) 0 0 round 28px); } to { clip-path: inset(0 0 0 0 round 28px); } }
@keyframes lq-cap-in-left { from { clip-path: inset(0 0 0 calc(100% - 56px) round 28px); } to { clip-path: inset(0 0 0 0 round 28px); } }
@keyframes lq-cap-end {
  0% { transform: scale(1); clip-path: inset(0 0 0 0 round 28px); }
  3% { transform: scale(.94); }
  9%, 82% { transform: scale(1); clip-path: inset(0 0 0 0 round 28px); opacity: 1; }
  100% { transform: scale(1); clip-path: inset(0 calc(100% - 56px) 0 0 round 28px); opacity: .9; }
}
@keyframes lq-cap-end-left {
  0% { transform: scale(1); clip-path: inset(0 0 0 0 round 28px); }
  3% { transform: scale(.94); }
  9%, 82% { transform: scale(1); clip-path: inset(0 0 0 0 round 28px); opacity: 1; }
  100% { transform: scale(1); clip-path: inset(0 0 0 calc(100% - 56px) round 28px); opacity: .9; }
}
@keyframes lq-wave-bar { 0% { transform: scaleY(.3); } 100% { transform: scaleY(1); } }
@keyframes lq-peek-bar { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@keyframes lq-mini-breathe { 50% { box-shadow: var(--lq-shadow-float), inset 0 0 0 1px color-mix(in srgb, var(--lq-accent) 28%, transparent), 0 0 0 5px var(--lq-accent-soft); } }
@keyframes lq-ln-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lq-ln-dot { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(-2.2px); } }

/* Mouvement réduit : fondus de 120 ms seuls ; ni ondes, ni vibration, ni ressort ; l'état reste lisible. */
@media (prefers-reduced-motion: reduce) {
  .lq-ln__ring, .lq-cap__ring { display: none; }
  .lq-cap__ic.is-shake .lq-ico, .lq-cap__dot.is-blink, .lq-wave.is-live i { animation: none !important; }
  .lq-wave i { transform: scaleY(.6); }
  .lq-ln__fi, .lq-ln__miss, .lq-ln__badge.is-pop, .lq-ln--block .lq-ln__glyph, .lq-cap__ic .lq-ico, .lq-cap__body, .lq-lpanel, .lq-ccard__b, .lq-minichat, .lq-minichat.is-new { animation: lq-ln-fade 120ms ease-out both !important; }
  .lq-ln__btn, .lq-cap__body { transition: none; }
  .lq-ln__ic, .lq-ln__ix { transition: opacity 120ms ease-out; }
  .lq-ln__ix { transform: none; }
  .lq-ln.is-open .lq-ln__ic { transform: none; }
  .lq-ln__sq circle { animation: none !important; }
  .lq-ln--lens .lq-ln__btn:hover, .lq-ln.is-absorbed .lq-ln__btn { transform: none !important; }
  /* La jauge de l'aperçu reste : c'est une information (temps restant), pas une décoration. */
}

/* ═══ components/ui/liquid/find-status.css ═══ */
/* FindStatus : état d'une recherche (enrichissement, extraction). Jetons --lq-* seulement (mode sombre automatique). */
.lq-find { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px 0 3px; border-radius: var(--lq-radius-pill); flex: none; font: var(--lq-font-badge); white-space: nowrap; transition: background-color .25s, color .25s, box-shadow .25s; }
.lq-find__ico { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; flex: none; }
.lq-find__ico .lq-ico { width: 10px; height: 10px; stroke-width: 3; }
.lq-find__spin { width: 11px; height: 11px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: lq-spin .7s linear infinite; }
.lq-find--icon { width: 22px; padding: 0; justify-content: center; }

/* En attente : contour pointillé discret */
.lq-find--waiting { color: var(--lq-faint); box-shadow: inset 0 0 0 1px var(--lq-glass-line); }
/* Recherche : bleu, la roue tourne */
.lq-find--searching { color: var(--lq-accent-ink); background: var(--lq-accent-soft); }
/* Trouvé : vert, coche blanche dans une pastille pleine qui « pop » à l'apparition */
.lq-find--found { color: var(--lq-success); background: var(--lq-success-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lq-success-dot) 22%, transparent); }
.lq-find--found .lq-find__ico { background: var(--lq-success-dot); color: #FFFFFF; animation: lq-find-pop .45s cubic-bezier(.34, 1.56, .64, 1); }
/* Introuvable : gris */
.lq-find--missing { color: var(--lq-muted); background: var(--lq-track); }

@keyframes lq-find-pop { 0% { transform: scale(.4); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .lq-find__spin, .lq-find--found .lq-find__ico { animation: none; } }
