/* =====================================================================
   Velora UI — design system (06/11/2026), la couche commune chargée EN DERNIER (après ds.css, tg.css, finance.css).
   Un seul langage pour toute l'appli : repères (hauteurs, espacements, rayons, tailles de texte), champs et formulaires,
   menus déroulants, cases et interrupteurs, boutons, sélecteurs à pastilles, cartes, tableaux, badges, fenêtres, menus,
   états vides et de chargement, transitions (onglets, menus, fenêtres, thème). Violet de Velora discret, sans néon.
   Les zones d'écriture des messageries (composer), la recherche du sélecteur de créatrice et les outils compacts gardent
   leur dessin propre (exclus ci-dessous).
   ===================================================================== */
:root {
  --ctl-h: 36px; --ctl-h-sm: 30px; --ctl-r: 9px; --card-r: 12px; --card-p: 20px;
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 20px; --sp-6: 24px; --sp-8: 32px;
  --fs-xs: 11.5px; --fs-sm: 12.5px; --fs-base: 13.5px; --fs-md: 15px; --fs-lg: 18px; --fs-xl: 22px;
  --ctl-bg: var(--bg); --ctl-line: var(--line); --ring: color-mix(in srgb, var(--accent) 22%, transparent);
  --ok-soft: color-mix(in srgb, var(--ok) 14%, transparent); --warn-soft: color-mix(in srgb, var(--warn) 14%, transparent); --danger-soft: color-mix(in srgb, var(--danger) 14%, transparent);
}
:root[data-theme="light"] { --ctl-bg: #ffffff; --ctl-line: #dcdce1; }

/* ---------- champs : une hauteur, une bordure discrète, un focus net ---------- */
html body .app :is(input:is([type="text"], [type="email"], [type="password"], [type="number"], [type="search"], [type="url"], [type="tel"], [type="date"], [type="time"], [type="datetime-local"], [type="month"], :not([type])), select):not(#ctx-q):not(.ui-bare):not(:is(.mc-ai-tools, .vai, .rl-bar, .mc-bar, .tg-comp, .chat-box, .composer, .iac-scr-h, .sm-folder, .mt-ctl, .ib-filters) *) {
  height: var(--ctl-h) !important; min-height: var(--ctl-h); padding: 0 12px !important; border: 1px solid var(--ctl-line) !important; border-radius: var(--ctl-r) !important;
  background-color: var(--ctl-bg) !important; color: var(--fg) !important; font-family: inherit; font-size: var(--fs-base); line-height: normal; box-shadow: none !important;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease; max-width: 100%;
}
html body .app textarea:not(#ib-draft):not(#tg-draft):not(#input):not(#co-input):not(#ag-input):not(#fm-input):not(.ui-bare):not(:is(.mc-ai-tools, .vai, .rl-box, .mc-box, .tg-comp, .chat-box, .composer) *) {
  min-height: 84px; padding: 10px 12px !important; border: 1px solid var(--ctl-line) !important; border-radius: var(--ctl-r) !important; background-color: var(--ctl-bg) !important;
  color: var(--fg) !important; font-family: inherit; font-size: var(--fs-base); line-height: 1.5; resize: vertical; box-shadow: none !important; transition: border-color .15s ease, box-shadow .15s ease; max-width: 100%;
}
html body .app select:not(.ui-bare):not(:is(.mc-ai-tools, .vai, .iac-scr-h, .rl-bar, .mc-bar, .tg-comp) *) {
  appearance: none; -webkit-appearance: none; padding-right: 32px !important; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b8b93' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important; background-position: right 10px center !important; background-size: 16px !important;
}
html body .app :is(input, select, textarea):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not(:is(#input, #co-input, #ag-input, #fm-input, #ib-draft, #tg-draft, #ctx-q, .ui-bare)):not(:is(.mc-ai-tools, .vai, .rl-box, .mc-box, .tg-comp, .chat-box, .composer) *):hover:not(:focus):not(:disabled) { border-color: var(--line-2) !important; }
html body .app :is(input, select, textarea):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not(:is(#input, #co-input, #ag-input, #fm-input, #ib-draft, #tg-draft, #ctx-q, .ui-bare)):not(:is(.mc-ai-tools, .vai, .rl-box, .mc-box, .tg-comp, .chat-box, .composer) *):focus { outline: none !important; border-color: color-mix(in srgb, var(--accent) 70%, var(--line)) !important; box-shadow: 0 0 0 3px var(--ring) !important; }
html body .app :is(input, select, textarea):disabled { opacity: .55; cursor: not-allowed; }
html body .app :is(input, textarea)::placeholder { color: var(--muted); opacity: .8; }
html body .app input[type="number"] { font-variant-numeric: tabular-nums; }
html body .app input:is([type="date"], [type="time"], [type="datetime-local"], [type="month"]) { color-scheme: dark; }
:root[data-theme="light"] .app input:is([type="date"], [type="time"], [type="datetime-local"], [type="month"]) { color-scheme: light; }
/* erreurs : visibles une fois le champ touché (pas avant), avec le message du navigateur à l'envoi */
html body .app :is(input, select, textarea):user-invalid { border-color: color-mix(in srgb, var(--danger) 75%, var(--line)) !important; }
html body .app :is(input, select, textarea):user-invalid:focus { box-shadow: 0 0 0 3px var(--danger-soft) !important; }
html body .app .field-hint { display: block; margin-top: 4px; font-size: var(--fs-xs); color: var(--muted); font-weight: 400; }
html body .app .field-err { display: block; margin-top: 4px; font-size: var(--fs-xs); color: var(--danger); font-weight: 500; }
/* cases et boutons radio : la couleur de Velora, une taille lisible */
html body .app :is(input[type="checkbox"], input[type="radio"]):not(.ui-bare) { accent-color: var(--accent-btn); width: 16px; height: 16px; margin: 0; flex: none; cursor: pointer; vertical-align: -3px; }
/* libellés au-dessus de leur champ (formulaires des cartes et des fenêtres) */
html body .app :is(.card, .co-card, .tr-mcard, .ps-card, form, .iac-edbody, .set-panel) label:has(> :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), select, textarea)):not(.mc-price):not(.chk):not(.ui-inline) {
  display: flex; flex-direction: column; gap: 6px; font-size: var(--fs-sm); font-weight: 550; color: var(--fg-2); min-width: 0;
}
html body .app :is(.card, .co-card, form) label:has(> :is(input[type="checkbox"], input[type="radio"])) { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }

/* ---------- boutons : deux styles, deux tailles, un retour au clic ---------- */
html body .app :is(.btn-main, .btn-ghost) {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: var(--ctl-h); min-height: var(--ctl-h); padding: 0 14px; border-radius: var(--ctl-r) !important;
  font-family: inherit; font-size: 13px; font-weight: 600; line-height: 1; white-space: nowrap; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .08s ease, opacity .15s ease;
}
html body .app :is(.btn-main, .btn-ghost).sm, html body .app :is(.btn-main, .btn-ghost).btn-sm { height: var(--ctl-h-sm); min-height: var(--ctl-h-sm); padding: 0 11px; font-size: var(--fs-sm); }
html body .app .btn-main { background: var(--accent-btn) !important; color: var(--on-accent, #fff) !important; border: 1px solid transparent !important; box-shadow: none !important; }
html body .app .btn-main:hover:not(:disabled) { background: color-mix(in srgb, var(--accent-btn) 86%, #fff) !important; }
html body .app .btn-ghost { background: transparent !important; color: var(--fg) !important; border: 1px solid var(--line) !important; box-shadow: none !important; }
html body .app .btn-ghost:hover:not(:disabled) { background: var(--surface-2) !important; border-color: var(--line-2) !important; }
html body .app .btn-ghost.danger-btn { color: var(--danger) !important; border-color: color-mix(in srgb, var(--danger) 35%, var(--line)) !important; }
html body .app :is(.btn-main, .btn-ghost, .v-ibtn):active:not(:disabled) { transform: scale(.98); }
html body .app :is(.btn-main, .btn-ghost):disabled { opacity: .5; cursor: not-allowed; }
html body .app :is(button, a):focus-visible { outline: 2px solid color-mix(in srgb, var(--accent) 70%, transparent); outline-offset: 2px; }
html body .app .v-ibtn { transition: background-color .15s ease, color .15s ease, transform .08s ease; }

/* ---------- sélecteurs à pastilles (périodes, vues, filtres exclusifs) : un seul dessin ---------- */
html body .app :is(.ct-tabs, .seg-mini, .fx3-seg, .tm-seg, .sm-folder, .seg, .cp-seg:not(fieldset), .auth-seg, .db-seg, .dbx-seg) {
  display: inline-flex !important; flex-wrap: nowrap; gap: 2px !important; padding: 3px !important; border: 1px solid var(--line) !important; border-radius: 10px !important;
  background: var(--bg-2) !important; max-width: 100%; overflow-x: auto; scrollbar-width: none; vertical-align: middle;
}
html body .app :is(.ct-tabs, .seg-mini, .fx3-seg, .tm-seg, .sm-folder, .seg, .cp-seg:not(fieldset), .auth-seg, .db-seg, .dbx-seg) > button {
  flex: none; height: 28px !important; min-height: 28px; padding: 0 12px !important; border: 0 !important; border-radius: 7px !important; background: transparent !important;
  color: var(--muted) !important; font-family: inherit; font-size: var(--fs-sm) !important; font-weight: 550 !important; white-space: nowrap; box-shadow: none !important; cursor: pointer; transition: background-color .15s ease, color .15s ease;
}
html body .app :is(.ct-tabs, .seg-mini, .fx3-seg, .tm-seg, .sm-folder, .seg, .cp-seg:not(fieldset), .auth-seg, .db-seg, .dbx-seg) > button:hover { color: var(--fg) !important; }
html body .app :is(.ct-tabs, .seg-mini, .fx3-seg, .tm-seg, .sm-folder, .seg, .cp-seg:not(fieldset), .auth-seg, .db-seg, .dbx-seg) > button:is([aria-selected="true"], [aria-pressed="true"], [aria-checked="true"], .on, .active) {
  background: var(--surface-3) !important; color: var(--fg) !important; font-weight: 600 !important; box-shadow: 0 1px 2px rgba(0, 0, 0, .25) !important;
}
:root[data-theme="light"] .app :is(.ct-tabs, .seg-mini, .fx3-seg, .tm-seg, .sm-folder, .seg, .cp-seg:not(fieldset), .auth-seg, .db-seg, .dbx-seg) > button:is([aria-selected="true"], [aria-pressed="true"], [aria-checked="true"], .on, .active) { background: #fff !important; box-shadow: 0 1px 2px rgba(16, 16, 24, .12) !important; }

/* ---------- cartes : une marge intérieure, un en-tête, un écart entre elles ---------- */
html body .app .view .card { border-radius: var(--card-r) !important; border: 1px solid var(--line) !important; background: var(--surface) !important; padding: var(--card-p) !important; box-shadow: none !important; }
html body .app .view .card > :is(h2, h3, .ct-h):first-child, html body .app .view .card-head :is(h2, h3) { font-size: var(--fs-md) !important; font-weight: 650 !important; letter-spacing: -.01em; margin: 0 0 var(--sp-3) !important; }
html body .app .view .card-head { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); flex-wrap: wrap; margin-bottom: var(--sp-3); }
html body .app .view .card-head :is(h2, h3) { margin: 0 !important; }
html body .app .view .stack { gap: var(--sp-4); }
html body .app .view .card p.muted.small, html body .app .view .card .muted.small { font-size: var(--fs-sm); line-height: 1.5; }

/* ---------- tableaux : en-têtes discrets, lignes aérées, chiffres alignés ---------- */
html body .app .view table:not(.ui-bare) { width: 100%; border-collapse: collapse; font-size: var(--fs-base); }
html body .app .view table:not(.ui-bare) th { padding: 10px 12px !important; font-size: var(--fs-xs) !important; font-weight: 600 !important; letter-spacing: .04em; text-transform: uppercase; color: var(--muted) !important; text-align: left; border-bottom: 1px solid var(--line) !important; background: transparent !important; white-space: nowrap; }
html body .app .view table:not(.ui-bare) td { padding: 11px 12px !important; border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent) !important; vertical-align: middle; }
html body .app .view table:not(.ui-bare) tbody tr { transition: background-color .12s ease; }
html body .app .view table:not(.ui-bare) tbody tr:hover td { background: color-mix(in srgb, var(--surface-2) 70%, transparent); }
html body .app .view table:not(.ui-bare) tbody tr:last-child td { border-bottom: 0 !important; }
html body .app .view :is(td, th).num, html body .app .view td[data-num] { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- badges : une taille, des variantes de statut ---------- */
html body .app :is(.pill, .badge):not(.ui-bare) { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 999px; font-size: var(--fs-xs); font-weight: 600; line-height: 1; white-space: nowrap; vertical-align: middle; }
html body .app .ui-badge { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 999px; font-size: var(--fs-xs); font-weight: 600; border: 1px solid var(--line); background: var(--surface-2); color: var(--fg-2); }
html body .app .ui-badge.ok { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
html body .app .ui-badge.warn { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
html body .app .ui-badge.danger { background: var(--danger-soft); color: var(--danger); border-color: transparent; }
html body .app .ui-badge.accent { background: var(--accent-soft); color: var(--accent); border-color: transparent; }

/* ---------- fenêtres et menus : ouverture douce, ombre légère, fond voilé ---------- */
.co-modal { background: rgba(0, 0, 0, .55) !important; backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
:root[data-theme="light"] .co-modal { background: rgba(20, 20, 30, .32) !important; }
.co-modal :is(.co-card, .tr-mcard, .ps-card) { border-radius: 14px !important; border: 1px solid var(--line) !important; background: var(--surface) !important; box-shadow: var(--shadow-pop) !important; }
.co-modal.in :is(.co-card, .tr-mcard, .ps-card) { animation: uiModalIn .22s var(--ease) both; }
@keyframes uiModalIn { from { opacity: 0; transform: translateY(8px) scale(.985); } to { opacity: 1; transform: none; } }
:is(.ctx-pop, .um-pop, .theme-pop, .advpop, .rp-pop, [role="menu"]):not([hidden]) { animation: uiPopIn .14s var(--ease) both; transform-origin: top left; }
:is(.ctx-pop, .um-pop, .theme-pop, .advpop, [role="menu"]) { border-radius: 12px !important; border: 1px solid var(--line) !important; box-shadow: var(--shadow-pop) !important; }
@keyframes uiPopIn { from { opacity: 0; transform: translateY(-4px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- états vides et chargement ---------- */
html body .app .view :is(p.empty, div.empty, .msg-empty) { padding: 34px 16px !important; text-align: center; color: var(--muted) !important; font-size: var(--fs-base); line-height: 1.5; }
html body .app .view :is(p.empty, div.empty)::before {
  content: ""; display: block; width: 38px; height: 38px; margin: 0 auto 12px; border-radius: 11px; border: 1px solid var(--line); background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b8b93' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16M4 12h10M4 17h7'/%3E%3C/svg%3E") center / 18px no-repeat;
}
html body .app .sk { background: linear-gradient(90deg, var(--surface-2) 0%, var(--surface-3) 50%, var(--surface-2) 100%) !important; background-size: 200% 100% !important; animation: uiShimmer 1.3s linear infinite !important; border-radius: 8px; }
@keyframes uiShimmer { to { background-position: -200% 0; } }

/* ---------- en-tête de page : les actions à droite, sur une ligne ---------- */
html body .app .view:has(> .secbar:not([hidden])) > .viewbar { justify-content: flex-end !important; padding: 14px 28px 0 !important; min-height: 0 !important; }
html body .app .view:has(> .secbar:not([hidden])) > .viewbar > .viewbar-tools { margin-left: auto; display: flex; align-items: center; gap: var(--sp-2); flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 760px) { html body .app .view:has(> .secbar:not([hidden])) > .viewbar { padding: 10px 12px 0 !important; } html body .app .view:has(> .secbar:not([hidden])) > .viewbar > .viewbar-tools { justify-content: flex-start; margin-left: 0; } }

/* ---------- changement de thème : un fondu, pas un saut ---------- */
html.theme-switching, html.theme-switching *, html.theme-switching *::before, html.theme-switching *::after { transition: background-color .3s ease, color .3s ease, border-color .3s ease, fill .3s ease !important; }

@media (prefers-reduced-motion: reduce) {
  .co-modal.in :is(.co-card, .tr-mcard, .ps-card), :is(.ctx-pop, .um-pop, .theme-pop, .advpop, .rp-pop, [role="menu"]):not([hidden]), html body .app .sk { animation: none !important; }
  html.theme-switching * { transition: none !important; }
}

/* sélecteurs à pastilles en boutons radio (Expert / Rapide de l'Assistant…) : l'option choisie bien visible */
html body .app [role="radiogroup"] > button[role="radio"][aria-checked="true"] { background: var(--surface-3) !important; color: var(--fg) !important; font-weight: 600 !important; }
:root[data-theme="light"] .app [role="radiogroup"] > button[role="radio"][aria-checked="true"] { background: #fff !important; box-shadow: 0 1px 2px rgba(16, 16, 24, .12) !important; }
/* formulaires en grille : les champs d'une même ligne alignés en bas, même si un libellé a une indication en plus */
html body .app :is(.co-grid, .cp-form, .ct-plan-form, .of-form, .insta-form) { align-items: end; }

/* ---------- graphiques en barres (Tableau de bord, Revenus) : barres fines arrondies, couleur douce, survol net ---------- */
html body .app .evo-bars { gap: 3px !important; }
html body .app .evo-bars > span > i { border-radius: 4px 4px 1px 1px !important; background: color-mix(in srgb, var(--accent) 62%, var(--surface-2)) !important; transition: background-color .15s ease, transform .2s var(--ease); transform-origin: bottom; animation: uiBarIn .5s var(--ease) both; }
html body .app .evo-bars > span:hover > i, html body .app .evo-bars > span.best > i { background: var(--accent) !important; }
html body .app .evo-bars > span > i.zero { background: var(--line) !important; animation: none; }
html body .app .evo-grid > span { border-top: 1px dashed color-mix(in srgb, var(--line) 80%, transparent) !important; }
html body .app .evo-grid em, html body .app .evo-x small { color: var(--muted) !important; font-size: var(--fs-xs) !important; }
@keyframes uiBarIn { from { transform: scaleY(.04); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { html body .app .evo-bars > span > i { animation: none; } }

/* ---------- écrans tactiles : tout se touche au doigt (pastilles et petits boutons à 36 px au moins) ---------- */
@media (pointer: coarse), (max-width: 760px) {
  html body .app :is(.ct-tabs, .seg-mini, .fx3-seg, .tm-seg, .sm-folder, .seg, .cp-seg:not(fieldset), .auth-seg, .db-seg, .dbx-seg) > button { height: 34px !important; min-height: 34px; padding: 0 14px !important; }
  html body .app :is(.btn-main, .btn-ghost).sm, html body .app :is(.btn-main, .btn-ghost).btn-sm { height: 36px; min-height: 36px; padding: 0 13px; }
  html body .app :is(.btn-main, .btn-ghost) { height: 40px; min-height: 40px; }
}

/* =====================================================================
   Messagerie (06/11/2026) : liste lisible (plateforme en petite icône), filtres sur une ligne, en-tête de conversation
   compact (statut, priorité, chatter à côté du nom), emojis repliés derrière un bouton, indications sur une seule ligne.
   ===================================================================== */
html body .app .msg-chips { gap: 2px !important; padding: 3px !important; margin: 0 12px 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-2); flex-wrap: nowrap !important; overflow-x: auto; scrollbar-width: none; }
html body .app .msg-chips > button { flex: none; height: 28px; padding: 0 10px; border: 0 !important; border-radius: 7px !important; background: transparent !important; color: var(--muted) !important; font-size: var(--fs-sm) !important; font-weight: 550; }
html body .app .msg-chips > button[aria-selected="true"] { background: var(--surface-3) !important; color: var(--fg) !important; font-weight: 600; }
html body .app .msg-chips > button em { font-style: normal; margin-left: 4px; padding: 0 5px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 11px; }
html body .app #ib-who, html body .app #ib-tag, html body .app #ib-pf { height: 32px !important; min-height: 32px; font-size: var(--fs-sm) !important; }
.mr-pf { display: inline-flex; align-items: center; gap: 3px; height: 18px; padding: 0 5px; border-radius: 5px; font-size: 10.5px; font-weight: 650; letter-spacing: .02em; color: var(--muted); background: var(--surface-2); }
.mr-pf svg { width: 12px; height: 12px; fill: none; stroke: #4fa3e0; stroke-width: 1.8; }
.mr-pf.tg { color: #4fa3e0; } .mr-pf.of { color: #3aa7e8; }
html body .app .msg-row .mr-prev { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body .app .mt-head { flex-wrap: nowrap !important; gap: 10px; min-height: 56px; }
html body .app .mt-head .mt-who { min-width: 0 !important; }
html body .app .mt-ctl { flex: none; flex-wrap: nowrap !important; margin-left: auto; }
html body .app .mt-ctl select { height: 30px !important; min-height: 30px !important; max-width: 132px !important; padding: 0 26px 0 10px !important; font-size: 12px !important; border: 1px solid var(--line) !important; border-radius: 8px !important; background-color: var(--bg) !important; color: var(--fg) !important; }
@media (max-width: 1180px) { html body .app .mt-head { flex-wrap: wrap !important; } html body .app .mt-ctl { width: 100%; justify-content: flex-start; margin-left: 0; } }
/* emojis : repliés tant qu'on ne les a pas ouverts (bouton 😊 de la barre) */
html body .app :is(.mt-comp, .tg-comp):not(.emo-open) .mc-emo { display: none !important; }
html body .app :is(.mt-comp, .tg-comp).emo-open [data-emo-toggle] { color: var(--accent); background: var(--accent-soft); }
html body .app .mc-emo { animation: uiPopIn .14s var(--ease) both; }
/* indications sous / au-dessus de la zone d'écriture : une ligne, le détail au survol */
html body .app :is(.mc-hint, .tg-from) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: var(--fs-xs) !important; color: var(--muted) !important; }

/* champs de recherche avec loupe (v-search) : le texte commence après l'icône */
html body .app .v-search > input:not(#_a):not(#_b):not(#_c) { padding-left: 34px !important; }
html body .app .v-search > svg { z-index: 1; }
/* l'en-tête de conversation suit la largeur de SA colonne (pas de l'écran) : étroite → les listes passent sous le nom */
html body .app #ib-detail { container-type: inline-size; }
@container (max-width: 640px) {
  html body .app .mt-head { flex-wrap: wrap !important; row-gap: 8px; }
  html body .app .mt-head .mt-ctl { width: 100%; margin-left: 0 !important; justify-content: flex-start; }
  html body .app .mt-head .mt-ctl select { flex: 1 1 0; max-width: none !important; min-width: 0; }
}

/* iPhone : les listes compactes de la messagerie restent à 16 px au toucher (sinon Safari zoome) */
@media (pointer: coarse), (max-width: 760px) {
  html body .app #ib-who, html body .app #ib-tag, html body .app #ib-pf, html body .app .mt-ctl select { font-size: 16px !important; height: 36px !important; min-height: 36px !important; }
}

/* =====================================================================
   Créatrices (06/11/2026) : cartes avec une action principale (le reste dans « ⋯ »), état en badge de couleur, vue tableau.
   Toute l'appli : une barre d'onglets internes avec un seul onglet visible est cachée.
   ===================================================================== */
html body .app .ui-onetab { display: none !important; }
html body .app .crx-search { flex: 0 1 260px; }
html body .app .crx-st { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: 999px; font-size: var(--fs-xs); font-weight: 600; white-space: nowrap; background: var(--surface-2); color: var(--muted); border: 0; }
html body .app .crx-st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
html body .app .crx-st.ok { background: var(--ok-soft); color: var(--ok); }
html body .app .crx-st.warn { background: var(--warn-soft); color: var(--warn); }
html body .app .crx-st.bad { background: var(--danger-soft); color: var(--danger); }
html body .app .crx-card footer { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
html body .app .crx-card footer .grow { flex: 1; }
.crx-menu { position: relative; }
.crx-menu > summary { list-style: none; cursor: pointer; }
.crx-menu > summary::-webkit-details-marker { display: none; }
.crx-menu > summary svg { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.crx-menu-pop { position: absolute; right: 0; bottom: calc(100% + 6px); z-index: 20; min-width: 220px; padding: 5px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); box-shadow: var(--shadow-pop); display: flex; flex-direction: column; animation: uiPopIn .14s var(--ease) both; }
.crx-table .crx-menu-pop { bottom: auto; top: calc(100% + 6px); }
.crx-menu-pop button { text-align: left; height: 34px; padding: 0 10px; border: 0; border-radius: 7px; background: none; color: var(--fg); font: inherit; font-size: var(--fs-sm); cursor: pointer; }
.crx-menu-pop button:hover { background: var(--surface-2); }
html body .app .crx-grid.crx-table-mode { display: block !important; }
.crx-tablewrap { border: 1px solid var(--line); border-radius: var(--card-r); background: var(--surface); overflow: auto; }
.crx-tname { display: flex; align-items: center; gap: 10px; min-width: 180px; }
.crx-tname > span:last-child { display: flex; flex-direction: column; } .crx-tname small { font-size: var(--fs-xs); color: var(--muted); }
.crx-table .crx-av { width: 30px; height: 30px; font-size: 12px; }
.crx-d { font-style: normal; font-size: 11.5px; font-weight: 600; } .crx-d.up { color: var(--ok); } .crx-d.down { color: var(--danger); }
.crx-tacts { display: inline-flex; align-items: center; gap: 4px; justify-content: flex-end; }
@media (max-width: 760px) { html body .app .crx-search { flex: 1 1 100%; } .crx-table { min-width: 720px; } }
html body .app .crx-card > header { display: flex; align-items: center; gap: 8px; }
html body .app .crx-card > header > div { flex: 1; min-width: 0; }
html body .app .crx-card .crx-menu-pop { bottom: auto; top: calc(100% + 6px); }
@media (min-width: 761px) { html body .app .view:has(> .secbar:not([hidden])) > .viewbar > .viewbar-tools { flex-wrap: nowrap; } }

/* =====================================================================
   Revenus et statistiques (06/11/2026) : les graphiques par plateforme prennent toute la largeur quand il n'y en a qu'un,
   même dessin de barres que le tableau de bord ; en-têtes de tableaux et chiffres alignés.
   ===================================================================== */
html body .app .fx2-charts { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important; gap: var(--sp-4) !important; }
html body .app .fx2-bars { height: 160px !important; gap: 3px !important; border-bottom: 1px solid var(--line) !important; }
html body .app .fx2-bars i { border-radius: 4px 4px 1px 1px !important; background: color-mix(in srgb, var(--accent) 62%, var(--surface-2)) !important; opacity: 1 !important; transform-origin: bottom; animation: uiBarIn .5s var(--ease) both; transition: background-color .15s ease; }
html body .app .fx2-bars span:hover i { background: var(--accent) !important; }
html body .app .fx2-chart header { font-size: var(--fs-sm); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { html body .app .fx2-bars i { animation: none; } }
html body .app .fx3-row { display: flex; align-items: center !important; gap: var(--sp-3); margin-bottom: var(--sp-3); }
html body .app .fx3-row > :is(h2, h3, .ct-h) { margin: 0 !important; }

/* =====================================================================
   Équipe (06/11/2026) : pour qui gère l'équipe, la gestion des membres d'abord (colonne principale), la discussion à côté ;
   le formulaire d'invitation sur deux colonnes, séparé de la liste.
   ===================================================================== */
@media (min-width: 1100px) { html body .app .ag-space:has(#fm-team-card:not([hidden])) { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) !important; } }
html body .app .ag-space:has(#fm-team-card:not([hidden])) > .stack { order: -1; }
html body .app .ag-space > .stack > #fm-team-card { order: -3; }
html body .app #tm-invite { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--sp-3) var(--sp-4); margin-top: var(--sp-4); padding-top: var(--sp-4); border-top: 1px solid var(--line); }
html body .app #tm-invite > :is(h4, .field:has(.tm-seg), button, p) { grid-column: 1 / -1; }
html body .app #tm-invite > button { justify-self: start; }
html body .app #tm-invite label.field { display: flex; flex-direction: column; gap: 6px; font-size: var(--fs-sm); font-weight: 550; color: var(--fg-2); }
html body .app #tm-invite .field small { font-weight: 400; color: var(--muted); }
html body .app .tm-intro { margin-bottom: var(--sp-3); }
@media (max-width: 760px) { html body .app #tm-invite { grid-template-columns: minmax(0, 1fr); } }
html body .app #tm-invite { align-items: end; }
/* pastilles à deux lignes (rôle : Chatter / la messagerie) : hauteur libre, texte à gauche */
html body .app .tm-seg > button { height: auto !important; min-height: 40px; padding: 6px 14px !important; display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center; line-height: 1.25; text-align: left; }
html body .app .tm-seg > button small { font-size: 11px; font-weight: 400; color: var(--muted); }
html body .app .tm-seg > button[aria-checked="true"] small { color: var(--fg-2); }
html body .app #tm-invite > h4 { font-size: var(--fs-md, 15px); font-weight: 650; color: var(--fg); margin: 0; }
html body .app #tm-invite .tm-seg { display: inline-flex; width: auto; justify-self: start; }
html body .app #tm-invite .tm-seg > button:not(#_a):not(#_b) { height: auto !important; min-height: 42px; padding: 6px 16px !important; line-height: 1.25 !important; }
html body .app #tm-invite div.field { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; font-size: var(--fs-sm); font-weight: 550; color: var(--fg-2); }
html body .app .tm-seg > button small { display: block; line-height: 1.3 !important; margin-top: 2px; }
html body .app .tm-seg { flex-wrap: wrap; max-width: 100%; }
html body .app :is(.rl2-tag, .rl2-sens) { font-size: 11px !important; }

/* =====================================================================
   Paramètres (06/11/2026) : listes de réglage à largeur lisible (le texte ne colle plus à la flèche),
   menu des catégories qui reste visible, en-têtes de catégorie compacts.
   ===================================================================== */
html body .app #pf-lang { min-width: 200px; }
html body .app .set-stack select:not([multiple]):not(#_a) { min-width: 160px; padding-right: 34px !important; }
@media (min-width: 761px) { html body .app .set-tabs { top: var(--sp-4, 16px); max-height: calc(100vh - 140px); overflow-y: auto; scrollbar-width: thin; } }
/* clé + bouton : sur une ligne, un champ assez large pour coller une clé ; le texte à gauche prend le reste */
html body .app .opt-row:has(> .set-inline) { flex-wrap: nowrap; }
html body .app .opt-row > .set-inline { flex: none; flex-direction: row; flex-wrap: nowrap; align-items: center; }
html body .app .opt-row > .set-inline input { width: 240px; }
html body .app .opt-row > span:first-child { min-width: 0; }
@media (max-width: 900px) { html body .app .opt-row:has(> .set-inline) { flex-wrap: wrap; } html body .app .opt-row > .set-inline { width: 100%; } html body .app .opt-row > .set-inline input { flex: 1; width: auto; min-width: 0; } }
/* un texte suivi de boutons : de l'air entre les deux */
html body .app .set-stack .card p + .actions, html body .app .set-stack .card .muted + .actions { margin-top: var(--sp-3); }
html body .app :is(.tag-new, .tag-soon) { font-size: 10.5px !important; }

/* =====================================================================
   Automatisation (06/11/2026) : règles en premier (alertes vides en une ligne, sous les règles), chaque règle lue
   « Quand… / Alors… », actions homogènes (Supprimer en bouton discret rouge au survol).
   ===================================================================== */
html body .app #au-alerts-card.au-quiet { padding-block: var(--sp-3); }
html body .app #au-alerts-card.au-quiet .empty { display: block; padding: 0; margin: 4px 0 0; text-align: left; font-size: var(--fs-sm); }
html body .app #au-alerts-card.au-quiet .empty::before { display: none !important; }
html body .app .au-flow { display: grid; gap: 4px; margin: 6px 0 4px; font-size: var(--fs-sm); color: var(--fg-2); font-weight: 400; }
html body .app .au-flow > span { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
html body .app .au-flow em { flex: none; width: 50px; font-style: normal; font-size: 11px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
html body .app .au-flow > span:last-child em { color: var(--accent); }
html body .app .au-acc { font-style: normal; font-size: var(--fs-xs); padding: 1px 7px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
html body .app .au-acts { display: flex; align-items: center; gap: 6px; flex: none; }
html body .app .au-del:hover { color: var(--danger) !important; border-color: color-mix(in srgb, var(--danger) 45%, var(--line)) !important; background: var(--danger-soft) !important; }
@media (max-width: 760px) { html body .app .au-acts { width: 100%; } }
html body .app #au-alerts-card.au-quiet #au-alerts .empty:not(#_a):not(#_b) { padding: 0 !important; min-height: 0 !important; margin: 6px 0 0 !important; display: block !important; text-align: left !important; background: none !important; border: 0 !important; }
html body .app #au-alerts-card.au-quiet .ct-rev-bar { margin: 0 !important; min-height: 0; }
/* tableaux en lignes (.ct-row) dont la dernière colonne (actions) est « auto » : chaque ligne la calculait à sa façon
   (vide dans l'en-tête, large dans les lignes) et les titres ne tombaient plus au-dessus des valeurs. Les lignes partagent
   maintenant les colonnes du tableau (subgrid) : même largeur pour tout le monde. Ordinateur seulement (le téléphone a ses colonnes). */
@media (min-width: 761px) {
  html body .app .ct-table:has(> .ct-row.cp) { display: grid; grid-template-columns: minmax(0, 1.6fr) .8fr 1.4fr 1fr auto; }
  html body .app .ct-table:has(> .ct-row.st) { display: grid; grid-template-columns: minmax(0, 1.4fr) 1fr 1fr 1.3fr 1fr auto; }
  html body .app .ct-table:has(> .ct-row.adm-ref) { display: grid; grid-template-columns: minmax(0, 2fr) 1fr 1fr 1fr auto; }
  html body .app .ct-table:has(> .ct-row.tr) { display: grid; grid-template-columns: minmax(0, 1.5fr) 1fr .9fr .7fr .7fr .8fr .8fr auto; }
  html body .app .ct-table:has(> .ct-row.rl) { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(7, minmax(0, .8fr)) auto; }
  html body .app .ct-table > .ct-row:is(.cp, .st, .adm-ref, .tr, .rl) { grid-column: 1 / -1; grid-template-columns: subgrid; }
}
html body .app .cp-acts { display: flex; align-items: center; gap: 6px; justify-content: flex-end; }
html body .app .ct-row.st select { min-width: 96px; }

/* =====================================================================
   Velora IA (06/11/2026) : Coach, Assistant, Générateur de scripts, Chatter IA.
   ===================================================================== */
/* libellé + précision (« optionnel », « du moins cher au plus cher ») sur une ligne : les champs voisins restent alignés */
html body .app label.field > span:first-child small { display: inline; margin-left: 4px; font-size: var(--fs-xs); font-weight: 400; color: var(--muted); }
/* zone d'écriture de l'Assistant : le cadre est celui de la boîte, pas un second autour du texte */
html body .app :is(#input, #co-input, #ag-input, #fm-input):focus { box-shadow: none !important; outline: none !important; }
html body .app .composer:focus-within { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)) !important; box-shadow: 0 0 0 3px var(--ring, rgba(103, 103, 102, .15)), 0 10px 30px rgba(0, 0, 0, .18) !important; }
/* un bloc repliable fermé n'a pas d'espace vide sous son titre */
html body .app details.card:not([open]) { gap: 0 !important; }
/* générateur de scripts : la dernière indication de la colonne ne colle plus au bouton */
html body .app .s-cols { padding-bottom: var(--sp-4); }
/* Assistant, accueil : les 4 questions en 2 × 2 (en 4 colonnes étroites, chaque question prenait 6 lignes) */
@media (min-width: 761px) { html body .app #thread .intro .chips { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } html body .app #thread .intro .chips .chip { min-height: 0; } }
html body .app .s-cols { padding-bottom: 28px; -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 26px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 26px), transparent); }

/* =====================================================================
   Tableau de bord (06/11/2026) : le graphique « Évolution » remplit sa carte (plus de vide sous l'axe quand la colonne
   « Derniers achats » est plus haute), valeurs « pas encore lu » alignées sur les chiffres.
   ===================================================================== */
html body .app .dbx-card:has(> .dbx3-charts) { display: flex; flex-direction: column; }
html body .app .dbx-card > .dbx3-charts { flex: 1; grid-auto-rows: minmax(0, 1fr); }
html body .app .dbx-card > .dbx3-charts > .dbx3-chart.evo { display: flex; flex-direction: column; min-height: 0; }
html body .app .dbx-card > .dbx3-charts > .dbx3-chart.evo > .evo-plot { flex: 1; height: auto; min-height: 190px; }
html body .app .dbx3-cell .dbx-na { font-size: 15px; line-height: 1; padding-top: 6px; color: var(--muted); font-weight: 550; }

/* =====================================================================
   Formulaires (06/11/2026) : l'erreur sous le champ (public/fields.js), champ en erreur cerclé de rouge — partout,
   y compris la connexion (hors .app).
   ===================================================================== */
.field-err[data-auto] { display: block; margin-top: 5px; font-size: 12px; line-height: 1.35; color: var(--danger, #e5484d); font-weight: 500; animation: uiPopIn .14s var(--ease, ease) both; }
.field-err[data-auto]::before { content: "! "; font-weight: 700; }
:is(input, select, textarea)[aria-invalid="true"]:not(#_a):not(#_b) { border-color: color-mix(in srgb, var(--danger, #e5484d) 75%, var(--line)) !important; }
:is(input, select, textarea)[aria-invalid="true"]:focus:not(#_a):not(#_b) { box-shadow: 0 0 0 3px var(--danger-soft, rgba(229, 72, 77, .15)) !important; }


/* =====================================================================
   Parité CRM (06/11/2026), d'après le relevé d'OnlyMonster (docs/onlymonster-reference-2026-11-06.md) :
   fond sombre uniforme un cran plus clair que le noir (une seule teinte de surface), bordures 1 px, arrivée douce de
   chaque page, en-têtes de tableau 44 px triables, états vides en pointillés avec titre, chiffres avec info au survol.
   Le violet Velora reste l'accent.
   ===================================================================== */
:root:root:not([data-theme="light"]), :root:root.studio-ui.studio-ui:not([data-theme="light"]) { --bg: #111113; --bg-2: #141417; --surface: #18181b; --surface-2: #1e1e22; --surface-3: #26262b; --line: #2a2a30; --fg: #ebebe9; --fg-2: #c8c8cc; --muted: #8e8e96; }
/* chaque page arrive en fondu (160 ms, 4 px), jamais brutalement */
@keyframes uiViewIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
html body .app .view:not([hidden]) { animation: uiViewIn .16s var(--ease, ease-out) both; }
/* onglets de section : le soulignement glisse sous l'onglet choisi */
@keyframes uiUnderline { from { transform: scaleX(.4); opacity: 0; } to { transform: none; opacity: 1; } }
html body .app .secbar button[aria-current="page"] { position: relative; border-bottom-color: transparent !important; }
html body .app .secbar button[aria-current="page"]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--fg); animation: uiUnderline .18s var(--ease, ease-out) both; transform-origin: center; }
/* tableaux : en-tête 44 px, petites capitales, tri au clic */
html body .app :is(.crx-table, .fans-table, .fx-table, .tr-table) thead th { height: 44px; font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); border-bottom: 1px solid var(--line); white-space: nowrap; }
html body .app .crx-th { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 4px; margin: 0 -4px; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; border-radius: 6px; }
html body .app .crx-th:hover { color: var(--fg); background: var(--surface-3); }
html body .app .crx-th i { font-style: normal; font-size: 11px; opacity: .45; } html body .app .crx-th.on { color: var(--fg); } html body .app .crx-th.on i { opacity: 1; color: var(--accent); }
html body .app .crx-table tbody tr { transition: background .12s; } html body .app .crx-table tbody tr:hover { background: var(--surface-2); }
/* états vides : un cadre en pointillés autour de l'icône, le texte en dessous */
html body .app .view :is(p.empty, div.empty)::before { border: 1.5px dashed var(--line) !important; background: transparent !important; width: 56px !important; height: 56px !important; border-radius: 14px !important; }
/* chiffres du tableau de bord et des statistiques : un libellé pointillé = une explication au survol */
html body .app :is(.dbx-k, .an-kpi, .fx-kpi, .kpi) [title] { text-decoration: underline dotted; text-underline-offset: 3px; text-decoration-color: var(--muted); cursor: help; }
/* menu replié : rail de 64 px, icônes centrées, entrée active marquée */
html body.side-mini .app .side .nav button[aria-current="page"], html body.side-mini .app .side .nav button.on { background: var(--surface-3) !important; }
@media (prefers-reduced-motion: reduce) { html body .app .view:not([hidden]), html body .app .secbar button[aria-current="page"]::after { animation: none !important; } }


/* =====================================================================
   Velora AI (06/11/2026) : un seul en-tête et une seule barre d'onglets pour toute la section (public/vai.js),
   vue d'ensemble en tuiles + tableau + fils d'activité, personas en tableau, réglages en panneau.
   ===================================================================== */
html body .app .vai-page > .viewbar > div:first-child { display: none; }
html body .app .vai-page > .viewbar { min-height: 0; padding-top: 0; padding-bottom: 8px; }
html body .app .vai-page > .viewbar:not(:has(.viewbar-tools > :not([hidden]))) { display: none; }
html body .app #iac-tabs [data-iac-tab], html body .app #iac-all { display: none !important; }
html body .app #iac-tabs { display: none; }
html body .app .vai-hub { flex: none; display: flex; flex-direction: column; background: var(--bg); border-bottom: 1px solid var(--line); }
html body .app .vai-hub.in { animation: uiViewIn .18s var(--ease, ease-out) both; }
html body .app .vai-top { display: flex; align-items: center; gap: 14px; height: 64px; padding: 0 28px; }
html body .app .vai-av { width: 40px; height: 40px; flex: none; display: grid; place-items: center; }
html body .app .vai-ttl h1 { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: -.01em; line-height: 1.1; }
html body .app .vai-stl { margin-top: 3px; }
html body .app .vai-st { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
html body .app .vai-st .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
html body .app .vai-st.ok { color: var(--ok); } html body .app .vai-st.ok .dot { background: var(--ok); }
html body .app .vai-st.warn { color: var(--warn); } html body .app .vai-st.warn .dot { background: var(--warn); }
html body .app .vai-st.bad { color: var(--danger); } html body .app .vai-st.bad .dot { background: var(--danger); }
@keyframes vaiPulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 45%, transparent); } 60% { box-shadow: 0 0 0 6px transparent; } }
html body .app .vai-st .dot.live { animation: vaiPulse 1.8s ease-out infinite; }
html body .app .vai-ctx select { height: 34px !important; min-height: 34px; min-width: 190px; font-size: var(--fs-sm) !important; }
html body .app .vai-acts { display: inline-flex; gap: 8px; }
html body .app .vai-tabs { display: flex; gap: 4px; padding: 0 20px; overflow-x: auto; scrollbar-width: none; }
html body .app .vai-tabs button { flex: none; position: relative; height: 42px; padding: 0 12px; border: 0; background: none; color: var(--muted); font: inherit; font-size: 13.5px; font-weight: 500; cursor: pointer; transition: color .15s; }
html body .app .vai-tabs button:hover { color: var(--fg); }
html body .app .vai-tabs button[aria-selected="true"] { color: var(--fg); font-weight: 600; }
html body .app .vai-tabs button[aria-selected="true"]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--accent); animation: uiUnderline .18s var(--ease, ease-out) both; }
/* tuiles de chiffres : compactes, une ligne de 6 */
html body .app .vai-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--card-r, 12px); background: var(--surface); overflow: hidden; }
html body .app .vai-tile { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 0; border-right: 1px solid var(--line); background: none; color: var(--fg); text-align: left; font: inherit; cursor: pointer; transition: background .12s; min-width: 0; }
html body .app .vai-tile:last-child { border-right: 0; } html body .app .vai-tile:hover { background: var(--surface-2); }
html body .app .vai-tile small { font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body .app .vai-tile b { font-size: 24px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
html body .app .vai-tile b em { font-style: normal; font-size: 14px; font-weight: 500; color: var(--muted); margin-left: 4px; }
html body .app .vai-tile span { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body .app .vai-tile.warn b { color: var(--warn); } html body .app .vai-tile.bad b { color: var(--danger); }
/* panneaux */
html body .app .vai-panel { border: 1px solid var(--line); border-radius: var(--card-r, 12px); background: var(--surface); overflow: hidden; }
html body .app .vai-panel > header { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px; border-bottom: 1px solid var(--line); }
html body .app .vai-panel > header h2 { margin: 0; font-size: 14px; font-weight: 650; }
html body .app .vai-panel > header .v-search { flex: 0 1 240px; } html body .app .vai-panel > header .v-search input { height: 32px !important; min-height: 32px; }
html body .app .vai-all { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
html body .app .vai-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
/* tableau dense */
html body .app .vai-table { display: flex; flex-direction: column; }
html body .app .vai-tr { display: grid; grid-template-columns: minmax(170px, 1.2fr) minmax(130px, .9fr) minmax(250px, 1.4fr) 120px minmax(140px, 1fr) auto; gap: 12px; align-items: center; min-height: 52px; padding: 6px 16px; border-bottom: 1px solid var(--line); font-size: 13px; }
html body .app .vai-tr:last-child { border-bottom: 0; }
html body .app .vai-tr.th { min-height: 40px; padding: 0 16px; background: var(--surface-2); font-size: 11.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
html body .app .vai-tr:not(.th):hover { background: var(--surface-2); }
html body .app .vai-tr.pers { grid-template-columns: minmax(170px, 1.2fr) minmax(130px, .9fr) minmax(200px, 1.4fr) 150px auto; cursor: pointer; }
html body .app .vai-tr.lvl { grid-template-columns: 150px minmax(0, 1fr); min-height: 44px; }
html body .app .vai-who { display: flex; align-items: center; gap: 10px; min-width: 0; } html body .app .vai-who > span { display: flex; flex-direction: column; min-width: 0; } html body .app .vai-who b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body .app .vai-pers { display: flex; align-items: center; gap: 8px; } html body .app .vai-pers > span { display: flex; flex-direction: column; line-height: 1.2; } html body .app .vai-pers small { color: var(--muted); font-size: 11.5px; }
html body .app .vai-todo { font-size: 12.5px; color: var(--muted); }
html body .app .vai-run { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); } html body .app .vai-run .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); } html body .app .vai-run .dot.ok { background: var(--ok); }
html body .app .vai-last { display: flex; flex-direction: column; line-height: 1.25; } html body .app .vai-last b { font-weight: 550; font-size: 12.5px; } html body .app .vai-last small { color: var(--muted); font-size: 11.5px; }
html body .app .vai-rowacts { display: inline-flex; gap: 6px; justify-content: flex-end; }
html body .app .vai-seg { display: inline-flex; padding: 2px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg-2); }
html body .app .vai-seg button { height: 26px; padding: 0 9px; border: 0; border-radius: 6px; background: none; color: var(--muted); font: inherit; font-size: 12px; font-weight: 550; cursor: pointer; transition: background .12s, color .12s; }
html body .app .vai-seg button[aria-checked="true"] { background: var(--surface-3); color: var(--fg); }
html body .app .vai-seg button[aria-checked="true"][data-v="auto"], html body .app .vai-seg button[aria-checked="true"][data-v="hybrid"] { color: var(--accent); }
/* fils d'activité */
html body .app .vai-feed { list-style: none; margin: 0; padding: 0; }
html body .app .vai-feed li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 10px; align-items: center; min-height: 44px; padding: 6px 16px; border-bottom: 1px solid var(--line); font-size: 12.5px; animation: uiViewIn .2s var(--ease, ease-out) both; }
html body .app .vai-feed li:last-child { border-bottom: 0; }
html body .app .vai-ft { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; } html body .app .vai-ft b { font-weight: 550; } html body .app .vai-ft small { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body .app .vai-feed time { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
html body .app .vai-quick { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
html body .app .vai-help { border: 1px solid var(--line); border-radius: 10px; padding: 0 14px; background: var(--surface); }
html body .app .vai-help > summary { cursor: pointer; height: 40px; display: flex; align-items: center; font-size: 13px; font-weight: 550; color: var(--muted); }
html body .app .vai-help[open] > summary { color: var(--fg); border-bottom: 1px solid var(--line); }
html body .app .vai-help .iac-sec { padding: 10px 0; }
html body .app .vai-sk { display: grid; gap: 12px; } html body .app .vai-sk .sk { height: 84px; border-radius: 12px; } html body .app .vai-sk .sk:nth-child(2) { height: 220px; } html body .app .vai-sk .sk:nth-child(3) { height: 160px; }
@media (max-width: 1100px) { html body .app .vai-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } html body .app .vai-tile:nth-child(3n) { border-right: 0; } html body .app .vai-tile:nth-child(-n+3) { border-bottom: 1px solid var(--line); } html body .app .vai-cols { grid-template-columns: 1fr; } html body .app .vai-tr, html body .app .vai-tr.pers { grid-template-columns: minmax(0, 1fr) auto; } html body .app .vai-tr.th { display: none; } html body .app .vai-tr > :is(.vai-pers, .vai-run, .vai-last, .vai-todo) { display: none; } }
@media (max-width: 760px) { html body .app .vai-top { height: auto; flex-wrap: wrap; padding: 10px 14px; gap: 10px; } html body .app .vai-ctx { flex: 1 1 100%; } html body .app .vai-ctx select { width: 100%; } html body .app .vai-tabs { padding: 0 8px; } html body .app .vai-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } html body .app .vai-tile { border-bottom: 1px solid var(--line); } html body .app .vai-tile:nth-child(2n) { border-right: 0; } }
/* Velora AI : fond uniforme (plus de halo), tableaux pleine largeur, onglets internes du Chatter IA en pastilles compactes */
html body .app #view-iaconfig > main.scroll { background: var(--bg) !important; }
html body .app .iac-acc { max-width: none !important; }
html body .app .vai-page > .vtabs { margin: 14px 28px 0; width: fit-content; max-width: calc(100% - 56px); padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-2); gap: 2px; }
html body .app .vai-page > .vtabs > button { height: 30px !important; padding: 0 12px !important; border: 0 !important; border-radius: 7px !important; background: transparent !important; color: var(--muted) !important; font-size: 13px !important; font-weight: 550; }
html body .app .vai-page > .vtabs > button[aria-selected="true"] { background: var(--surface-3) !important; color: var(--fg) !important; font-weight: 600; }
html body .app .vai-page > .vtabs > button[aria-selected="true"]::after { display: none; }
html body .app .vai-tr { grid-template-columns: minmax(170px, 1.2fr) minmax(130px, .9fr) minmax(300px, 1.5fr) 120px minmax(140px, 1fr) auto; }
html body .app .vai-seg button { white-space: nowrap; flex: none; overflow: visible; line-height: 26px; }


/* =====================================================================
   Tableau de bord (06/11/2026) : une bande de 8 chiffres, graphiques, tableaux denses (part des revenus), et la ligne
   « à faire » en trois colonnes compactes à la place de trois cartes de texte.
   ===================================================================== */
html body .app .dbx-strip { display: grid; grid-template-columns: 1.7fr repeat(7, minmax(0, 1fr)); gap: 0 !important; border: 1px solid var(--line); border-radius: var(--card-r, 12px); background: var(--surface); overflow: hidden; margin-top: 4px; }
html body .app .dbx-strip > .dbx-k { border: 0 !important; border-right: 1px solid var(--line) !important; border-radius: 0 !important; background: none !important; padding: 14px 16px !important; min-width: 0; grid-column: auto !important; }
html body .app .dbx-strip > .dbx-k:last-child { border-right: 0 !important; }
html body .app .dbx-strip > .dbx-k:hover { background: var(--surface-2) !important; }
html body .app .dbx-strip > .dbx-k.big { grid-column: auto !important; }
html body .app .dbx-strip > .dbx-k small { font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body .app .dbx-strip > .dbx-k > b, html body .app .dbx-strip .dbx3-cell b { font-size: 22px !important; letter-spacing: -.02em; }
html body .app .dbx-strip > .dbx-k.big > b { font-size: 28px !important; }
html body .app .dbx-strip > .dbx-k .s { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body .app .dbx-tables .dbx-card { padding: 0 !important; }
html body .app .dbx-tables .dbx-card > header { padding: 0 16px; height: 48px; margin: 0; border-bottom: 1px solid var(--line); }
html body .app .vai-tr.dbr { grid-template-columns: minmax(110px, 1.3fr) minmax(76px, .8fr) 56px 72px minmax(84px, .9fr); gap: 10px; min-height: 46px; }
html body .app .vai-tr.dbr3 { grid-template-columns: minmax(100px, 1.2fr) minmax(90px, 1fr) 56px; gap: 10px; min-height: 46px; }
html body .app .vai-tr .num { text-align: right; font-variant-numeric: tabular-nums; }
html body .app .dbx-part { display: flex; align-items: center; gap: 8px; } html body .app .dbx-part i { flex: 1; height: 6px; border-radius: 3px; background: var(--surface-3); position: relative; overflow: hidden; } html body .app .dbx-part i::after { content: ""; position: absolute; inset: 0; width: inherit; background: var(--accent); border-radius: 3px; } html body .app .dbx-part small { width: 36px; text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
html body .app .dbx-part i::after { width: var(--w, 0); }
/* les trois blocs du bas (semaine, relances, équipe) : une seule ligne en trois colonnes, sans grandes cartes */
html body .app .db-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--card-r, 12px); background: var(--surface); overflow: hidden; }
html body .app .db-cols > .card { border: 0 !important; border-right: 1px solid var(--line) !important; border-radius: 0 !important; background: none !important; padding: 12px 16px !important; box-shadow: none !important; }
html body .app .db-cols > .card:last-child { border-right: 0 !important; }
html body .app .db-cols .card-head { margin-bottom: 6px; } html body .app .db-cols .card-head h2 { font-size: 13px; }
html body .app .db-cols .db-body { font-size: 12.5px; color: var(--muted); }
html body .app .db-cols .db-body > div, html body .app .db-cols .db-body > p { background: none !important; border: 0 !important; padding: 0 !important; margin: 0 !important; }
html body .app .db-cols .db-body .btn-main, html body .app .db-cols .db-body .btn-ghost { margin-top: 8px; height: 30px; font-size: 12.5px; }
@media (max-width: 1100px) { html body .app .dbx-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } html body .app .dbx-strip > .dbx-k:nth-child(-n+3) { border-bottom: 1px solid var(--line) !important; } html body .app .db-cols { grid-template-columns: 1fr; } html body .app .db-cols > .card { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; } }
@media (max-width: 760px) { html body .app .dbx-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } html body .app .dbx-strip > .dbx-k { border-bottom: 1px solid var(--line) !important; } html body .app .dbx-strip > .dbx-k:nth-child(2n+1) { border-right: 0 !important; } html body .app .vai-tr.dbr, html body .app .vai-tr.dbr3 { grid-template-columns: minmax(0, 1fr) auto; } html body .app .vai-tr.dbr > :nth-child(n+3), html body .app .vai-tr.dbr3 > :nth-child(3) { display: none; } }
html body .app .db-cols { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
html body .app .db-cols .card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
html body .app .db-cols .db-body p { color: var(--muted); }
/* les blocs du bas : une seule rangée à bordure unique, autant de colonnes que de blocs visibles */
html body .app .db-more { display: grid; grid-template-columns: 1fr 2fr; gap: 0; border: 1px solid var(--line); border-radius: var(--card-r, 12px); background: var(--surface); overflow: hidden; }
html body .app .db-more > .db-cols { display: grid !important; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); grid-template-columns: none !important; border: 0 !important; border-radius: 0 !important; background: none !important; }
html body .app .db-more > .db-cols:first-child { border-right: 1px solid var(--line) !important; }
html body .app .db-cols > .card:last-child { border-right: 0 !important; }
html body .app .db-cols .card-head { flex-wrap: nowrap !important; }
html body .app .dbx-strip .dbx-na { font-size: 13px; }
@media (max-width: 900px) { html body .app .db-more { grid-template-columns: 1fr; } html body .app .db-more > .db-cols:first-child { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; } }


/* =====================================================================
   Créatrices (06/11/2026) : bande de 4 chiffres, filtre d'état + recherche + affichage sur une ligne, tableau dense par
   défaut (plateforme, état, revenus, acheteurs, abonnés, chatters, actions), cartes au choix.
   ===================================================================== */
html body .app .crx-kpis.dbx-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
html body .app .crx-stf { height: 34px !important; min-height: 34px; min-width: 150px; font-size: var(--fs-sm) !important; }
html body .app .crx-table { width: 100%; border-collapse: collapse; }
html body .app .crx-table tbody td { height: 54px; padding: 6px 14px; border-bottom: 1px solid var(--line); font-size: 13px; vertical-align: middle; }
html body .app .crx-table tbody tr:last-child td { border-bottom: 0; }
html body .app .crx-table thead th { padding: 0 14px; text-align: left; } html body .app .crx-table th.num, html body .app .crx-table td.num { text-align: right; font-variant-numeric: tabular-nums; }
html body .app .crx-table .pf-badge { font-size: 11.5px; }
html body .app .crx-tacts { opacity: .85; transition: opacity .12s; } html body .app .crx-table tr:hover .crx-tacts { opacity: 1; }
@media (max-width: 760px) { html body .app .crx-kpis.dbx-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
html body .app .crx-pf { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; } html body .app .crx-pf .pf-lbl { font-size: 12.5px; color: var(--fg-2); }


/* =====================================================================
   Performance › Revenus (06/11/2026) : total et plateformes en bande, onglets soulignés, tableaux denses
   (en-tête 42 px), plus de dégradé.
   ===================================================================== */
html body .app .fx4-head { display: grid; grid-template-columns: minmax(260px, 1.4fr) repeat(auto-fit, minmax(220px, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--card-r, 12px); background: var(--surface); overflow: hidden; }
html body .app .fx4-total, html body .app .fx4-pf { border: 0 !important; border-right: 1px solid var(--line) !important; border-radius: 0 !important; background: none !important; padding: 14px 16px !important; }
html body .app .fx4-head > :last-child { border-right: 0 !important; }
html body .app .fx4-pf.of, html body .app .fx4-pf.tg { border-top: 0 !important; }
html body .app .fx4-big { font-size: 28px !important; letter-spacing: -.02em; } html body .app .fx3-big { font-size: 22px !important; }
html body .app #fx2-tabs { margin: 0 28px; padding: 0; border: 0 !important; background: none !important; border-bottom: 1px solid var(--line) !important; border-radius: 0 !important; gap: 4px; }
html body .app #fx2-tabs > button { position: relative; height: 42px !important; padding: 0 12px !important; border: 0 !important; border-radius: 0 !important; background: none !important; color: var(--muted) !important; font-size: 13.5px !important; font-weight: 500; }
html body .app #fx2-tabs > button[aria-selected="true"] { color: var(--fg) !important; font-weight: 600; }
html body .app #fx2-tabs > button[aria-selected="true"]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--accent); animation: uiUnderline .18s var(--ease, ease-out) both; }
html body .app .fx2-tbl table { width: 100%; border-collapse: collapse; }
html body .app .fx2-tbl thead th { height: 42px; padding: 0 14px; font-size: 11.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); border-bottom: 1px solid var(--line); white-space: nowrap; text-align: left; }
html body .app .fx2-tbl tbody td { height: 44px; padding: 4px 14px; border-bottom: 1px solid var(--line); font-size: 13px; }
html body .app .fx2-tbl tbody tr:last-child td { border-bottom: 0; } html body .app .fx2-tbl tbody tr:hover td { background: var(--surface-2); }
html body .app #view-banking .card.stack:has(> .fx2-tbl) { padding: 0 !important; gap: 0 !important; }
html body .app #view-banking .card.stack:has(> .fx2-tbl) > :not(.fx2-tbl) { padding: 12px 16px; margin: 0; }
html body .app #view-banking .card.stack:has(> .fx2-tbl) > .fx3-row { border-bottom: 1px solid var(--line); }
html body .app .fx2-tbl { border: 0 !important; border-radius: 0 !important; }
@media (max-width: 900px) { html body .app .fx4-head { grid-template-columns: 1fr; } html body .app .fx4-total, html body .app .fx4-pf { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; } }
/* (mobile) bande de chiffres : le libellé peut passer à la ligne plutôt que d'être coupé ; blocs du bas : l'action passe sous le titre ; onglets Revenus : défilent */
html body .app .dbx-strip > .dbx-k small { white-space: normal; overflow: visible; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
html body .app #fx2-tabs { overflow-x: auto; scrollbar-width: none; max-width: calc(100% - 56px); }
@media (max-width: 760px) { html body .app .db-cols .card-head { flex-wrap: wrap !important; } html body .app #fx2-tabs { margin: 0 14px; max-width: calc(100% - 28px); } }
html body .app .db-cols .db-body .btn-ghost:not(#_a), html body .app .db-cols .db-body .btn-main:not(#_a) { white-space: normal !important; overflow: visible !important; height: auto !important; min-height: 36px; padding: 6px 12px !important; text-align: left; line-height: 1.25; }
@media (max-width: 1100px) {
  html body .app #view-createurs .viewbar-tools { flex-wrap: wrap !important; justify-content: flex-start; }
  html body .app .crx-stf { flex: 0 1 auto; }
}
@media (max-width: 760px) { html body .app .crx-stf { flex: 1 1 100%; } }
@media (max-width: 1100px) { html body .app .db-cols .db-body .btn-ghost:not(#_a), html body .app .db-cols .db-body .btn-main:not(#_a) { display: block; width: 100%; max-width: 100%; } html body .app .db-cols { overflow: hidden; } html body .app .db-cols > .card { min-width: 0; } }


/* =====================================================================
   Équipe (06/11/2026) : les membres en lignes de tableau (nom, rôle, comptes, score, retirer), l'invitation en fenêtre.
   ===================================================================== */
html body .app #fm-team-card { padding: 0 !important; }
html body .app #fm-team-card > .card-head { height: 52px; padding: 0 16px; margin: 0; border-bottom: 1px solid var(--line); flex-wrap: nowrap; }
html body .app #fm-team-card > .tm-intro { padding: 10px 16px; margin: 0; border-bottom: 1px solid var(--line); }
html body .app #tm-members { display: flex; flex-direction: column; }
html body .app #tm-members::before { content: "Membre\00a0\00a0·\00a0\00a0Rôle\00a0\00a0·\00a0\00a0Comptes"; display: block; height: 36px; line-height: 36px; padding: 0 16px; background: var(--surface-2); border-bottom: 1px solid var(--line); font-size: 11.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
html body .app .tm-member { display: grid !important; grid-template-columns: minmax(200px, 1.2fr) auto minmax(220px, 1.4fr); grid-template-areas: "top role accs" "chips chips chips" "note note note"; align-items: center; gap: 8px 18px !important; padding: 10px 16px !important; border: 0 !important; border-bottom: 1px solid var(--line) !important; border-radius: 0 !important; background: none !important; min-height: 60px; }
html body .app .tm-member:last-child { border-bottom: 0 !important; }
html body .app .tm-member:hover { background: var(--surface-2) !important; }
html body .app .tm-member .tm-top { grid-area: top; display: flex; align-items: center; gap: 10px; min-width: 0; }
html body .app .tm-member .tm-top .tm-id { min-width: 0; } html body .app .tm-member .tm-top small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body .app .tm-member .tm-x { order: 10; margin-left: auto; }
html body .app .tm-member .tm-line:not(.tm-accs-line) { grid-area: role; display: flex; align-items: center; gap: 8px; margin: 0; }
html body .app .tm-member .tm-accs-line { grid-area: accs; display: flex; align-items: center; gap: 8px; margin: 0; min-width: 0; }
html body .app .tm-member .tm-accs { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 12.5px; } html body .app .tm-member .tm-accs-names { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body .app .tm-member .tm-lbl { font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
html body .app .tm-member .of-chips { grid-area: chips; padding: 6px 0 2px; } html body .app .tm-member .tm-note { grid-area: note; margin: 0; font-size: 12px; color: var(--muted); }
html body .app .tm-member .tm-seg.sm > button { min-height: 34px; padding: 3px 10px !important; line-height: 1.15 !important; }
html body .app .tm-member .tm-seg.sm > button small { font-size: 10.5px; }
html body .app #tm-invites { padding: 12px 16px 16px; } html body .app #tm-invites .co-sub { margin-top: 0; }
html body .app #tm-members > .empty { margin: 0; }
html body .app .tm-mcard { width: min(560px, 100%); }
html body .app .tm-mcard h2 { margin: 0 0 12px; font-size: 18px; }
html body .app .tm-modal #tm-invite { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: 0; padding-top: 0; border-top: 0; }
html body .app .tm-modal #tm-invite > h4 { display: none; }
@media (max-width: 1100px) { html body .app .tm-member { grid-template-columns: minmax(0, 1fr); grid-template-areas: "top" "role" "accs" "chips" "note"; } html body .app #tm-members::before { display: none; } }
html body .app #tm-members::before { content: "Membre · Rôle · Comptes"; }
html body .app .tm-member .tm-line, html body .app .tm-member .tm-accs-line { flex-direction: row !important; flex-wrap: nowrap !important; }
html body .app .tm-member .tm-seg { flex-wrap: nowrap !important; width: auto !important; }
html body .app .tm-member .tm-lbl { white-space: nowrap; }
html body .app .tm-member .tm-x { position: static !important; }
html body .app .tm-member { grid-template-columns: minmax(180px, 1fr) auto minmax(0, 1.3fr); }
html body .app .tm-member .tm-line:not(.tm-accs-line) > .tm-lbl { display: none; }
html body .app .tm-member .tm-accs { flex-wrap: wrap; } html body .app .tm-member .tm-accs-names { white-space: normal; overflow: visible; }
html body .app .tm-member .tm-seg.sm > button { padding: 3px 9px !important; }


/* =====================================================================
   Automatisation (06/11/2026) : règles en tableau (interrupteur, règle « Quand / Alors », dernier passage, actions),
   exemples dans un menu, exécutions en lignes denses.
   ===================================================================== */
html body .app .au-card { padding: 0 !important; }
html body .app .au-head { height: 52px; padding: 0 16px; margin: 0; border-bottom: 1px solid var(--line); flex-wrap: nowrap; }
html body .app .au-head .ct-h { margin: 0; }
html body .app .au-tplmenu { position: relative; } html body .app .au-tplmenu > summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; } html body .app .au-tplmenu > summary::-webkit-details-marker { display: none; }
html body .app .au-tplmenu > summary svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
html body .app .au-tplmenu .au-tpl { top: calc(100% + 6px); right: 0; left: auto; bottom: auto; min-width: 280px; }
html body .app .au-tplmenu .au-tpl button { text-align: left; height: 36px; padding: 0 12px; border: 0; border-radius: 7px; background: none; color: var(--fg); font: inherit; font-size: var(--fs-sm); cursor: pointer; width: 100%; }
html body .app .au-tplmenu .au-tpl button:hover { background: var(--surface-2); }
html body .app .au-thead, html body .app .au-rule { display: grid !important; grid-template-columns: 52px minmax(0, 1fr) 150px auto !important; gap: 0 14px !important; align-items: center !important; padding: 0 16px !important; }
html body .app .au-thead { height: 38px; background: var(--surface-2); border-bottom: 1px solid var(--line); font-size: 11.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
html body .app .au-rule { min-height: 64px; padding: 10px 16px !important; border-top: 0 !important; border-bottom: 1px solid var(--line) !important; }
html body .app .au-rule:last-child { border-bottom: 0 !important; } html body .app .au-rule:hover { background: var(--surface-2); }
html body .app .au-rule .au-main > b { font-size: 13.5px; }
html body .app .au-last { display: flex; flex-direction: column; line-height: 1.25; font-size: 12.5px; } html body .app .au-last small { color: var(--muted); font-size: 11.5px; }
html body .app #au-rules > .ctx-note, html body .app #au-rules > .empty { padding: 12px 16px; margin: 0; }
html body .app .au-card .au-log { max-height: none; padding: 0; }
html body .app .au-card .au-log li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 2px 14px; padding: 8px 16px; border-top: 0; border-bottom: 1px solid var(--line); font-size: 13px; }
html body .app .au-card .au-log li:last-child { border-bottom: 0; } html body .app .au-card .au-log li small { grid-row: span 2; align-self: center; } html body .app .au-card .au-log li span { flex-basis: auto; color: var(--muted); font-size: 12.5px; }
html body .app .au-card > .empty, html body .app .au-card > #au-log > .empty { margin: 0; }
@media (max-width: 760px) { html body .app .au-thead { display: none !important; } html body .app .au-rule { grid-template-columns: 44px minmax(0, 1fr) !important; } html body .app .au-last { grid-column: 2; } html body .app .au-rule .au-acts { grid-column: 1 / -1; } }


/* =====================================================================
   Messages › « Choisir une créatrice » (06/11/2026), d'après la référence fournie : titre à gauche, filtres à droite,
   groupes par plateforme, deux colonnes de cartes horizontales compactes (photo + pastille de plateforme + point de
   connexion, nom, état, conversations en attente, « Ouvrir »).
   ===================================================================== */
html body .app .ibp { flex: 1; min-height: 0; overflow-y: auto; padding: 22px 28px 40px; }
html body .app .ibp[hidden] { display: none; }
html body .app .ibx[hidden] { display: none !important; }
html body .app .ibp-h { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; max-width: 1180px; margin: 0 auto 18px; }
html body .app .ibp-h h2 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
html body .app .ibp-q { flex: 0 1 220px; } html body .app .ibp-q input { height: 34px !important; min-height: 34px; }
html body .app .ibp-seg { display: inline-flex; padding: 3px; gap: 2px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-2); }
html body .app .ibp-seg > button { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border: 0; border-radius: 7px; background: none; color: var(--muted); font: inherit; font-size: 12.5px; font-weight: 550; cursor: pointer; transition: background .12s, color .12s; }
html body .app .ibp-seg > button[aria-checked="true"] { background: var(--surface-3); color: var(--fg); }
html body .app .ibp-chip { height: 34px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-2); color: var(--muted); font: inherit; font-size: 12.5px; font-weight: 550; cursor: pointer; }
html body .app .ibp-chip[aria-pressed="true"] { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); background: var(--accent-soft); }
html body .app .ibp-n { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; color: var(--muted); white-space: nowrap; }
html body .app .ibp-body { max-width: 1180px; margin: 0 auto; display: flex; flex-direction: column; gap: 22px; }
html body .app .ibp-grp h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-2); }
html body .app .ibp-grp h3 > span { color: var(--muted); font-weight: 600; letter-spacing: 0; }
html body .app .ibp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
html body .app .ibp-sk { height: 76px; border-radius: 12px; }
html body .app .ibp-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 14px; min-height: 76px; padding: 12px 14px 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; transition: border-color .15s, background .15s, transform .15s; animation: uiViewIn .2s var(--ease, ease-out) both; }
html body .app .ibp-card:hover { border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); background: var(--surface-2); }
html body .app .ibp-card.dim .ibp-who b { color: var(--fg-2); }
html body .app .ibp-av { position: relative; width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center; background: hsl(var(--h, 270) 35% 26%); color: #fff; font-weight: 700; font-size: 17px; }
html body .app .ibp-av > img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
html body .app .ibp-av.sm { width: 26px; height: 26px; font-size: 12px; background: var(--surface-3); }
html body .app .ibp-pfi { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; font-style: normal; font-size: 8.5px; font-weight: 800; letter-spacing: -.02em; color: #fff; flex: none; }
html body .app .ibp-pfi.of { background: #1d6bf0; } html body .app .ibp-pfi.tg { background: #229ed9; }
html body .app .ibp-pfi svg { width: 11px; height: 11px; fill: #fff; stroke: none; }
html body .app .ibp-av > .ibp-pfi { position: absolute; top: -3px; right: -5px; width: 17px; height: 17px; box-shadow: 0 0 0 2px var(--surface); }
html body .app .ibp-dot { position: absolute; right: 0; bottom: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--muted); box-shadow: 0 0 0 2px var(--surface); }
html body .app .ibp-dot.ok { background: var(--ok); } html body .app .ibp-dot.warn { background: var(--warn); } html body .app .ibp-dot.off { background: var(--danger); }
html body .app .ibp-who { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
html body .app .ibp-who b { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body .app .ibp-st { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body .app .ibp-st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
html body .app .ibp-st.ok { color: var(--ok); } html body .app .ibp-st.warn { color: var(--warn); } html body .app .ibp-st.off { color: var(--danger); }
html body .app .ibp-new { font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: .03em; padding: 1px 6px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); animation: vaiPulse 1.8s ease-out 2; }
html body .app .ibp-cnt { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 9px; border: 1px solid color-mix(in srgb, var(--danger) 55%, transparent); border-radius: 999px; background: color-mix(in srgb, var(--danger) 10%, transparent); color: var(--danger); font-size: 12.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
html body .app .ibp-cnt svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; }
html body .app .ibp-cnt.zero { border-color: var(--line); background: none; color: var(--muted); font-weight: 600; }
html body .app .ibp-open { height: 34px; padding: 0 16px; border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); border-radius: 9px; background: color-mix(in srgb, var(--accent) 16%, var(--surface)); color: color-mix(in srgb, var(--accent) 70%, #fff); font: inherit; font-size: 13px; font-weight: 650; cursor: pointer; transition: background .12s, border-color .12s; }
html body .app .ibp-open:hover { background: color-mix(in srgb, var(--accent) 28%, var(--surface)); border-color: var(--accent); }
html body .app .ibp-open.ghost { background: none; border-color: var(--line); color: var(--fg-2); }
html body .app .ibp-all { display: flex; justify-content: center; }
html body .app .ibp-err { max-width: 460px; margin: 30px auto; }
/* le bouton de retour, en tête de la liste des conversations : la créatrice ouverte */
html body .app .ibp-back { display: flex; align-items: center; gap: 8px; width: 100%; height: 42px; padding: 0 8px; margin-bottom: 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-2); color: var(--fg); font: inherit; text-align: left; cursor: pointer; transition: background .12s; }
html body .app .ibp-back:hover { background: var(--surface-2); }
html body .app .ibp-back > svg { width: 16px; height: 16px; fill: none; stroke: var(--muted); stroke-width: 2; flex: none; }
html body .app .ibp-cur { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; } html body .app .ibp-cur b { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } html body .app .ibp-cur small { font-size: 11.5px; color: var(--muted); }
html body .app .msg-lh { flex-wrap: wrap; }
[data-theme="light"] html body .app .ibp-open, html[data-theme="light"] body .app .ibp-open { color: var(--accent); }
@media (max-width: 900px) { html body .app .ibp-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) {
  html body .app .ibp { padding: 14px 12px 90px; }
  html body .app .ibp-h h2 { flex: 1 1 100%; }
  html body .app .ibp-q { flex: 1 1 100%; }
  html body .app .ibp-seg { flex: 1 1 auto; } html body .app .ibp-seg > button { flex: 1; justify-content: center; height: 34px; font-size: 13px; }
  html body .app .ibp-chip { flex: 1 1 100%; height: 38px; }
  html body .app .ibp-card { grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; }
  html body .app .ibp-open { grid-column: 1 / -1; height: 38px; }
}
html body .app #view-inbox.ibp-mode > .viewbar { display: none; }
html body .app .ibp-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; max-width: 1180px; margin: -6px auto 18px; }
html body .app .ibp-tools .ibp-q { flex: 1 1 240px; max-width: 320px; }
@media (max-width: 760px) { html body .app .ibp-tools .ibp-q { max-width: none; } }
html body .app .ibp-h > .grow { flex: 1 1 auto; }
html body .app .ibp-av > img { z-index: 1; }


/* Combiner des créatrices (06/11/2026) : carte combinée (deux logos), fenêtre de combinaison */
html body .app .ibp-pfi.combo { background: var(--accent); } html body .app .ibp-pfi.combo svg { fill: none; stroke: #fff; stroke-width: 2.4; }
html body .app .ibp-pfs { display: inline-flex; gap: 3px; margin-left: 2px; } html body .app .ibp-pfs .ibp-pfi { width: 16px; height: 16px; font-size: 7.5px; }
html body .app .ibp-card.combo { border-color: color-mix(in srgb, var(--accent) 28%, var(--line)); }
html body .app .ibp-h #ibp-combine { height: 34px; }
.cb-card { width: min(720px, 100%); max-height: calc(100vh - 60px); overflow-y: auto; }
.cb-card h2 { margin: 0 0 6px; font-size: 18px; }
.cb-h { margin: 18px 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.cb-list { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.cb-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.cb-row:last-child { border-bottom: 0; }
.cb-who { display: flex; flex-direction: column; min-width: 0; } .cb-who small { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cb-sw { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.cb-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 10px; }
.cb-col { border: 1px solid var(--line); border-radius: 10px; padding: 10px; display: flex; flex-direction: column; gap: 4px; }
.cb-col h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--fg-2); }
.cb-acc { display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: center; gap: 10px; padding: 7px 8px; border-radius: 8px; cursor: pointer; }
.cb-acc:hover { background: var(--surface-2); } .cb-acc span:last-child { display: flex; flex-direction: column; line-height: 1.2; } .cb-acc small { color: var(--muted); font-size: 11.5px; }
.cb-acts { display: flex; align-items: center; gap: 8px; margin-top: 16px; }
.cb-name { margin-top: 4px; }
@media (max-width: 760px) { .cb-cols { grid-template-columns: 1fr; } .cb-row { grid-template-columns: auto minmax(0, 1fr); } .cb-row > .cb-sw, .cb-row > button { grid-column: 2; justify-self: start; } }
.cb-modal .ibp-av { position: relative; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); color: var(--fg); font-weight: 700; font-size: 12px; flex: none; }
.cb-modal .ibp-pfi { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; font-style: normal; font-size: 8.5px; font-weight: 800; color: #fff; }
.cb-modal .ibp-pfi.of { background: #1d6bf0; } .cb-modal .ibp-pfi.tg { background: #229ed9; } .cb-modal .ibp-pfi svg { width: 11px; height: 11px; fill: #fff; }
.cb-modal .iac-sw input:focus-visible + span { outline: 2px solid var(--accent); }


/* =====================================================================
   Conversations (06/11/2026) : épinglées, non lues, programmées, joignables (Telegram 24 h), menu « ⋯ », annonce et note
   épinglée en haut de la conversation, fenêtre « Programmer un message ».
   ===================================================================== */
html body .app .msg-rowwrap { position: relative; }
html body .app .msg-rowwrap > .ib-more { position: absolute; right: 8px; bottom: 8px; z-index: 2; width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--muted); cursor: pointer; opacity: 0; transition: opacity .12s; }
html body .app .msg-rowwrap:hover > .ib-more, html body .app .msg-rowwrap > .ib-more:focus-visible { opacity: 1; }
html body .app .msg-rowwrap > .ib-more svg { width: 15px; height: 15px; fill: currentColor; }
@media (hover: none) { html body .app .msg-rowwrap > .ib-more { opacity: 1; } }
html body .app .msg-row:not(.unread) .mr-top b { font-weight: 550; } html body .app .msg-row.unread .mr-top b { font-weight: 700; }
html body .app .msg-row.pinned { box-shadow: inset 2px 0 0 var(--accent); }
html body .app .mr-flag { display: inline-flex; align-items: center; gap: 2px; height: 16px; padding: 0 4px; margin-left: 4px; border-radius: 5px; font-style: normal; font-size: 10.5px; font-weight: 650; color: var(--muted); background: var(--surface-2); flex: none; }
html body .app .mr-flag svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 2; }
html body .app .mr-flag.pin { color: var(--accent); background: var(--accent-soft); } html body .app .mr-flag.sch { color: #4fa3e0; }
html body .app .mr-flag.off { color: var(--muted); } html body .app .mr-flag.warn { color: var(--warn); background: var(--warn-soft); }
/* (15/11/2026) right / bottom de .crx-menu-pop annulés : en position fixe, ils étiraient le menu jusqu'au bord droit et
   l'écrasaient à 12 px de haut (boutons sans fond, vus dans la messagerie) */
.ib-menu { position: fixed; z-index: 60; min-width: 240px; right: auto; bottom: auto; width: max-content; max-width: calc(100vw - 16px); }
.ib-menu button { text-align: left; height: 34px; padding: 0 10px; border: 0; border-radius: 7px; background: none; color: var(--fg); font: inherit; font-size: 13px; cursor: pointer; }
.ib-menu button:hover { background: var(--surface-2); }
html body .app .ib-annbtn { flex: none; margin-left: auto; }
html body .app .ib-ann { flex: 1 1 100%; display: flex; flex-direction: column; gap: 6px; }
html body .app .ib-ann[hidden] { display: none; }
html body .app .ib-annrow, html body .app .ib-bn { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 9px; font-size: 12.5px; border: 1px solid color-mix(in srgb, var(--warn) 45%, var(--line)); background: color-mix(in srgb, var(--warn) 10%, var(--surface)); }
html body .app .ib-annrow i, html body .app .ib-bn i { font-style: normal; font-size: 10.5px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: var(--warn); white-space: nowrap; }
html body .app .ib-annrow small, html body .app .ib-bn small { color: var(--muted); font-size: 11px; white-space: nowrap; }
html body .app .ib-banners { display: flex; flex-direction: column; gap: 6px; padding: 8px 14px 0; }
html body .app .ib-bn { grid-template-columns: auto minmax(0, 1fr) auto auto; }
html body .app .ib-bn.note { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); background: color-mix(in srgb, var(--accent) 9%, var(--surface)); } html body .app .ib-bn.note i { color: var(--accent); }
/* (21/11/2026) notes d'équipe épinglées et étiquettes du fan, en haut de la conversation */
html body .app .ib-bn.team { grid-template-columns: auto minmax(0, 1fr) auto auto auto; }
html body .app .ib-bn.tags { grid-template-columns: auto minmax(0, 1fr); border-color: var(--line); background: var(--surface); } html body .app .ib-bn.tags i { color: var(--muted); }
html body .app .ib-tagrow { display: flex; flex-wrap: wrap; gap: 4px; min-width: 0; }
@media (max-width: 640px) { html body .app .ib-bn.team { grid-template-columns: auto minmax(0, 1fr); } html body .app .ib-bn.team small, html body .app .ib-bn.team .linkish { grid-column: 2; justify-self: start; } }
html body .app .fp-pin { font-style: normal; font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: .05em; color: var(--accent); }
.ib-askcard, .sch-card { width: min(560px, 100%); } .ib-askcard h2, .sch-card h2 { margin: 0 0 12px; font-size: 18px; }
.sch-card { max-height: calc(100vh - 60px); overflow-y: auto; display: flex; flex-direction: column; gap: 12px; }
.sch-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sch-silent { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px 12px; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.sch-silent legend { padding: 0 4px; font-size: 13px; font-weight: 600; }
.sch-silent .seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.sch-opt { display: flex; align-items: flex-start; gap: 8px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 9px; cursor: pointer; }
.sch-opt:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.sch-opt span { display: flex; flex-direction: column; } .sch-opt small { color: var(--muted); font-size: 11.5px; }
.sch-chk { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.sch-list { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.sch-list > p { padding: 10px 12px; margin: 0; }
.sch-row { display: grid; grid-template-columns: 130px minmax(0, 1fr) auto auto; align-items: center; gap: 10px; padding: 8px 12px; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.sch-row:last-child { border-bottom: 0; } .sch-when { color: var(--muted); } .sch-txt { display: flex; flex-direction: column; min-width: 0; } .sch-txt small { color: var(--muted); font-size: 11.5px; }
@media (max-width: 760px) { .sch-grid, .sch-silent .seg { grid-template-columns: 1fr; } .sch-row { grid-template-columns: minmax(0, 1fr) auto; } .sch-when { grid-column: 1 / -1; } }
html body .app .ib-annrow { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; row-gap: 2px; }
html body .app .ib-annrow > small { margin-left: auto; order: 2; }
html body .app .ib-annrow > i { order: 1; } html body .app .ib-annrow > span { order: 3; flex: 1 1 100%; color: var(--fg); line-height: 1.35; }
html body .app .ib-annbtn:not([hidden]) { display: grid; }

/* Accès à un canal (06/11/2026) */
.chx-card { width: min(560px, 100%); display: flex; flex-direction: column; gap: 12px; } .chx-card h2 { margin: 0; font-size: 18px; }
.chx-modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.chx-price[hidden] { display: none !important; }
@media (max-width: 760px) { .chx-modes { grid-template-columns: 1fr; } }

/* la galerie Telegram par-dessus la fenêtre en cours */
.tg-modal.tg-pickm { z-index: 120; }
html body .tg-range input[type="time"] { width: 116px !important; min-width: 116px; }

/* variables d'un brouillon : ce qui manque (surnom non noté, prénom deviné) */
html body .app .mc-varwarn { margin: 6px 2px 0; font-size: 12px; color: var(--warn, #b7791f); line-height: 1.35; }

/* séries de scripts : l'étape suivante proposée au-dessus de la zone de rédaction */
html body .app .mc-series { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0 0 8px; padding: 8px 10px; border: 1px solid var(--line, #e5e7eb); border-left: 3px solid var(--accent, #676766); border-radius: 8px; font-size: 12.5px; background: var(--bg2, rgba(103, 103, 102, .04)); }
html body .app .mc-series[hidden] { display: none; }
html body .app .mc-series .mcs-t { flex: 1 1 auto; min-width: 180px; }
html body .app .mc-series .mcs-n { color: var(--muted, #6b7280); }
html body .app .mc-series .btn-main.sm { padding: 4px 10px; font-size: 12px; }

/* listes à conditions (ET / OU) */
html body .app .ls-form .lf-join select { margin-left: 4px; }
html body .app .ls-form .lf-rules { display: grid; gap: 6px; }
html body .app .ls-form .lf-rule { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
html body .app .ls-form .lf-rule select, html body .app .ls-form .lf-rule input { min-width: 0; flex: 1 1 70px; height: 30px; font-size: 12.5px; }
html body .app .ls-form .lf-rule input[type=number] { flex: 0 1 70px; }
html body .app .ls-form .lf-rule em { font-style: normal; font-size: 12px; color: var(--muted, #6b7280); }
html body .app .ls-form .lf-x { border: 0; background: none; font-size: 16px; line-height: 1; padding: 2px 6px; cursor: pointer; color: var(--muted, #6b7280); }
html body .app .ls-form .lf-x:hover { color: var(--bad, #dc2626); }
html body .app .ls-form .lf-add { justify-self: start; font-size: 12.5px; }
html body .app .ls-form .lf-prev { margin: 2px 0 0; font-size: 12.5px; padding: 6px 8px; border-radius: 6px; background: var(--bg2, rgba(103, 103, 102, .06)); }

/* statistiques d'une automatisation Telegram : taux de réponse, délai */
html body .app .tg-rst { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; margin-top: 4px; font-size: 12px; color: var(--muted, #6b7280); }
html body .app .tg-rst b { color: var(--text, inherit); }
html body .app .tg-rstb { display: inline-flex; gap: 6px; }
html body .app .tg-rstb i { font-style: normal; position: relative; padding: 1px 6px; border-radius: 4px; background: linear-gradient(90deg, rgba(103, 103, 102, .18) var(--w), rgba(103, 103, 102, .05) var(--w)); }
html body .app .tg-rstb em { font-style: normal; opacity: .75; }

/* variables du message (zone de rédaction) */
html body .app .mc-vrow { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; padding-bottom: 6px; font-size: 12px; color: var(--muted, #6b7280); }
html body .app .mc-vrow[hidden] { display: none; }
html body .app .mc-vrow .mc-var { border: 1px solid var(--line, #e5e7eb); background: none; border-radius: 6px; padding: 2px 7px; font: 12px ui-monospace, monospace; cursor: pointer; color: inherit; }
html body .app .mc-vrow .mc-var:hover { border-color: var(--accent, #676766); color: var(--accent, #676766); }
html body .app .mc-vbtn { font: 600 12px ui-monospace, monospace; }

/* campagne guidée (8 étapes) */
html body .app .cpw { display: block; }
html body .app .cpw-nav { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; counter-reset: none; }
html body .app .cpw-nav button { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line, #e5e7eb); background: none; border-radius: 999px; padding: 4px 10px 4px 4px; font-size: 12px; cursor: pointer; color: var(--muted, #6b7280); }
html body .app .cpw-nav button i { font-style: normal; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--bg2, #f3f4f6); font-size: 11px; font-weight: 600; }
html body .app .cpw-nav button.on { border-color: var(--accent, #676766); color: var(--text, inherit); font-weight: 600; }
html body .app .cpw-nav button.on i { background: var(--accent, #676766); color: #fff; }
html body .app .cpw-nav button.done i { background: rgba(103, 103, 102, .18); color: var(--accent, #676766); }
html body .app .cpw-step { display: grid; gap: 10px; animation: uiPopIn .14s var(--ease, ease) both; }
html body .app .cpw-step[hidden] { display: none; }
html body .app .cpw-step h3 { margin: 0; font-size: 15px; }
html body .app .cpw-goals { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
html body .app .cpw-goals button { text-align: left; border: 1px solid var(--line, #e5e7eb); background: none; border-radius: 8px; padding: 10px 12px; cursor: pointer; display: grid; gap: 2px; color: inherit; }
html body .app .cpw-goals button small { color: var(--muted, #6b7280); font-size: 12px; }
html body .app .cpw-goals button.on { border-color: var(--accent, #676766); box-shadow: 0 0 0 2px rgba(103, 103, 102, .15); }
html body .app .cpw-count { margin: 0; padding: 8px 10px; border-radius: 6px; background: var(--bg2, rgba(103, 103, 102, .06)); font-size: 13px; }
html body .app .cpw-count:empty { display: none; }
html body .app .cpw-var { border: 1px solid var(--line, #e5e7eb); background: none; border-radius: 5px; padding: 0 5px; font: 11.5px ui-monospace, monospace; cursor: pointer; color: inherit; }
html body .app .cpw-fu { border: 1px solid var(--line, #e5e7eb); border-radius: 8px; padding: 8px 10px; display: grid; gap: 8px; }
html body .app .cpw-fub { display: grid; gap: 8px; }
html body .app .cpw-fub[hidden] { display: none; }
html body .app .cpw-sum { display: grid; gap: 1px; border: 1px solid var(--line, #e5e7eb); border-radius: 8px; overflow: hidden; margin-bottom: 10px; }
html body .app .cpw-sum > div { display: grid; grid-template-columns: 140px 1fr; gap: 2px 10px; padding: 7px 10px; font-size: 13px; background: var(--bg, #fff); }
html body .app .cpw-sum > div + div { border-top: 1px solid var(--line, #e5e7eb); }
html body .app .cpw-sum span { color: var(--muted, #6b7280); }
html body .app .cpw-sum small { grid-column: 2; color: var(--muted, #6b7280); font-size: 12px; }
html body .app .cpw-fut { font-size: 12.5px; color: var(--muted, #6b7280); }
html body .app .cpw-fut em { font-style: normal; font-weight: 600; margin-right: 4px; }
html body .app .cpw-foot { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line, #e5e7eb); }
html body .app .cpw-foot #cpw-n { margin-right: auto; }
html body .app .cpw-foot #cpw-back:not([hidden]) + #cpw-n { margin-left: 0; }
html body .app .cp-fu { display: block; color: var(--muted, #6b7280); }

/* liens de suivi : provenance estimée */
html body .app .tr-src.est { background: rgba(217,119,6,.12); color: #b45309; }
html body .app .tr-legend { margin: 8px 0 0; line-height: 1.7; }

/* équipe : planning (shifts ouverts, présence), tableau, réattribution */
html body .app .pl-sum { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0 0 10px; font-size: 12.5px; }
html body .app .pl-sum:empty { display: none; }
html body .app .pl-sum .pl-p small { color: var(--muted, #6b7280); }
html body .app .pl-sum .pl-p.open b { color: var(--accent, #676766); }
html body .app .pl-slot.open { border-style: dashed; border-color: var(--accent, #676766); background: rgba(103, 103, 102, .05); }
html body .app .pl-slot .pl-claim { margin-top: 4px; padding: 3px 8px; font-size: 11.5px; }
html body .app .ct-row.bd { grid-template-columns: minmax(0, 2fr) 1fr .8fr .8fr .8fr .8fr .8fr .8fr .6fr; }
@media (max-width: 900px) { html body .app .ct-row.bd { grid-template-columns: minmax(0, 1.6fr) 1fr .8fr; } }
html body .app .ct-feed li { position: relative; }
html body .app .ct-move { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; }
html body .app .ct-move select { font-size: 12px; padding: 2px 6px; max-width: 140px; }
html body .app .ct-move small { color: var(--muted, #6b7280); font-size: 11px; }

/* tableau de bord : répartition, projection, en shift, dépenses et bénéfice */
html body .app .dbx-extra { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
html body .app .dbx-bars { display: grid; gap: 8px; }
html body .app .dbx-bars > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; align-items: center; font-size: 13px; }
html body .app .dbx-bars i { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--accent, #676766) var(--w), rgba(103, 103, 102, .1) var(--w)); }
html body .app .dbx-bars small { grid-column: 1 / -1; color: var(--muted, #6b7280); font-size: 11.5px; }
html body .app .dbx-proj-k { display: flex; gap: 18px; flex-wrap: wrap; margin: 4px 0 8px; }
html body .app .dbx-proj-k small { display: block; color: var(--muted, #6b7280); font-size: 11.5px; }
html body .app .dbx-proj-k b { font-size: 18px; font-variant-numeric: tabular-nums; }
html body .app .dbx-pl { display: grid; gap: 0; border: 1px solid var(--line, #e5e7eb); border-radius: 8px; overflow: hidden; margin-bottom: 8px; }
html body .app .dbx-pl > div { display: grid; grid-template-columns: 1fr auto; gap: 1px 10px; padding: 8px 10px; font-size: 13px; }
html body .app .dbx-pl > div + div { border-top: 1px solid var(--line, #e5e7eb); }
html body .app .dbx-pl small { grid-column: 1 / -1; color: var(--muted, #6b7280); font-size: 11.5px; }
html body .app .dbx-pl b { font-variant-numeric: tabular-nums; }
html body .app .dbx-pl .m b { color: var(--muted, #6b7280); }
html body .app .dbx-pl .t { background: var(--bg2, rgba(103, 103, 102, .05)); }
html body .app .dbx-pl .t b { font-size: 16px; }
html body .app .dbx-pl .t.down b { color: var(--bad, #dc2626); }

/* conversations en sourdine, fans avec tips */
html body .app .msg-row.muted { opacity: .72; }
html body .app .mr-flag.mute svg { stroke: currentColor; fill: none; stroke-width: 2; }
html body .app .mr-flag.tips { font-style: normal; font-weight: 700; font-size: 11px; color: #15803d; }

/* flou des médias de la messagerie (Paramètres › Devise et affichage) */
html.blur-media #ib-detail :is(img, video):not(.unblur):not(:hover), html.blur-media #ib-fan :is(img, video):not(.unblur):not(:hover) { filter: blur(14px) saturate(.6); transition: filter .15s; }
html.blur-media #ib-detail :is(img, video), html.blur-media #ib-fan :is(img, video) { transition: filter .15s; }
html.blur-media #ib-detail .mt-head img, html.blur-media #ib-detail .ib-av img { filter: none; }

/* listes manuelles */
html body .app .ls-man { border: 1px solid var(--line, #e5e7eb); border-radius: 8px; padding: 10px 12px; margin: 0 0 12px; display: grid; gap: 8px; }
html body .app .ls-chips { display: flex; flex-wrap: wrap; gap: 6px; }
html body .app .ls-chips .v-tag button { border: 0; background: none; cursor: pointer; margin-left: 4px; color: inherit; }
html body .app .ls-chips .v-tag.add { cursor: pointer; border: 1px dashed var(--accent, #676766); background: none; }
html body .app .ls-manadd { display: flex; gap: 8px; align-items: center; font-size: 13px; }
html body .app .ls-manadd input { max-width: 260px; }
html body .app #ls-newman { margin-left: 8px; }

/* canaux Telegram : arrivées, départs, liens par source */
html body .app .tg-chst:empty { display: none; }
html body .app .tg-chst { display: grid; gap: 6px; margin-top: 6px; font-size: 12.5px; }
html body .app .tg-chk { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; }
html body .app .tg-chk small { color: var(--muted, #6b7280); }
html body .app .tg-chsp { display: inline-flex; align-items: flex-end; gap: 1px; height: 22px; }
html body .app .tg-chsp i { width: 4px; height: 100%; background: linear-gradient(to top, var(--accent, #676766) var(--a), transparent var(--a)), linear-gradient(to top, #cbd5e1 var(--b), transparent var(--b)); border-radius: 1px; opacity: .9; }
html body .app .tg-chl { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
html body .app .tg-chli { padding: 2px 8px; border: 1px solid var(--line, #e5e7eb); border-radius: 999px; }

/* aperçu de l'import CSV des fans */
html body .fx-csvprev { width: 100%; border-collapse: collapse; font-size: 12.5px; margin: 6px 0; }
html body .fx-csvprev th, html body .fx-csvprev td { text-align: left; padding: 4px 6px; border-bottom: 1px solid var(--line, #e5e7eb); }
html body .fx-csvprev tr.bad td { color: var(--bad, #dc2626); }
html body .app .fx-csv-tpl { margin-right: 6px; font-size: 12.5px; }

/* campagne en envoi automatique */
html body .app .cpw-mode { border: 1px solid var(--line, #e5e7eb); border-radius: 8px; padding: 10px 12px; display: grid; gap: 8px; }
html body .app .cpw-auto { display: grid; gap: 8px; padding-left: 24px; }
html body .app .cpw-auto[hidden] { display: none; }
html body .app .cpw-risk { border: 1px solid rgba(220,38,38,.35); background: rgba(220,38,38,.05); border-radius: 8px; padding: 8px 10px; font-size: 12.5px; display: grid; gap: 6px; }
html body .app .cpw-risk p { margin: 0; }
html body .app .cpw-sum-auto b { color: #b45309; }
html body .app .cp-auto { font-style: normal; margin-left: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; padding: 1px 6px; border-radius: 4px; background: rgba(217,119,6,.15); color: #b45309; }
html body .app .cp-stopwhy { display: block; color: var(--bad, #dc2626); }
html body .app .cp-stopall { border-color: rgba(220,38,38,.45); color: var(--bad, #dc2626); }

/* supervision des automatisations */
html body .app .sup-head { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
html body .app .sup-worker { display: flex; gap: 10px; align-items: center; flex: 1 1 320px; padding: 10px 12px; border: 1px solid var(--line, #e5e7eb); border-radius: 10px; }
html body .app .sup-worker > i { width: 10px; height: 10px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 4px rgba(22,163,74,.15); flex: none; }
html body .app .sup-worker.late > i { background: #d97706; box-shadow: 0 0 0 4px rgba(217,119,6,.15); }
html body .app .sup-worker small { display: block; color: var(--muted, #6b7280); font-size: 12px; }
html body .app .sup-kill { border: 1px solid #dc2626; background: #dc2626; color: #fff; font-weight: 700; border-radius: 10px; padding: 10px 16px; cursor: pointer; }
html body .app .sup-kill:hover { background: #b91c1c; }
html body .app .sup-stopped { flex: 1 1 100%; padding: 10px 12px; border-radius: 10px; background: rgba(220,38,38,.08); border: 1px solid rgba(220,38,38,.4); color: #991b1b; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
html body .app .sup-kpis { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; }
@media (max-width: 1100px) { html body .app .sup-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
html body .app .sup-k { border: 1px solid var(--line, #e5e7eb); background: var(--bg, #fff); border-radius: 8px; padding: 8px 10px; text-align: left; cursor: pointer; color: inherit; }
html body .app .sup-k b { display: block; font-size: 20px; font-variant-numeric: tabular-nums; }
html body .app .sup-k small { color: var(--muted, #6b7280); font-size: 11.5px; }
html body .app .sup-k.on { border-color: var(--accent, #676766); box-shadow: 0 0 0 2px rgba(103, 103, 102, .15); }
html body .app .sup-st { display: inline-block; font-size: 11px; font-weight: 650; padding: 2px 8px; border-radius: 999px; white-space: nowrap; background: #eef2ff; color: #4338ca; }
html body .app .sup-st.active { background: rgba(22,163,74,.12); color: #15803d; }
html body .app .sup-st.scheduled { background: #e0f2fe; color: #0369a1; }
html body .app .sup-st.running { background: rgba(103, 103, 102, .12); color: #585857; }
html body .app .sup-st.waiting { background: rgba(217,119,6,.12); color: #b45309; }
html body .app .sup-st.suspended { background: #f1f5f9; color: #475569; }
html body .app .sup-st.intervention { background: rgba(220,38,38,.12); color: #b91c1c; }
html body .app .sup-st.done { background: #f1f5f9; color: #64748b; }
html body .app .sup-st.failed { background: rgba(220,38,38,.18); color: #991b1b; }
html body .app .sup-k.intervention b, html body .app .sup-k.failed b { color: #b91c1c; }
html body .app .sup-tr { grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) auto minmax(0, 1.8fr) auto; align-items: center; }
html body .app .sup-why small { display: block; color: var(--muted, #6b7280); }
html body .app .sup-acts { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
html body .app .sup-job { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line, #e5e7eb); font-size: 13px; }
html body .app .sup-job small { display: block; color: var(--muted, #6b7280); }
html body .app .sup-ctr { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto auto 90px minmax(0, 1fr) auto; align-items: center; }
html body .app .sup-ctr select, html body .app .sup-ctr input[type=number] { font-size: 12.5px; padding: 4px 6px; max-width: 100%; }
html body .app .sup-hours { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
html body .app .sup-hours input { width: 84px; font-size: 12px; padding: 3px 4px; }
html body .app .sup-hours small { width: 100%; color: var(--muted, #6b7280); font-size: 11px; }
html body .app .sup-pfs { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 10px; font-size: 13px; }
html body .app .sup-events { display: grid; gap: 4px; max-height: 420px; overflow: auto; }
html body .app .sup-ev { display: flex; gap: 8px; align-items: baseline; font-size: 12.5px; padding: 4px 0; border-top: 1px solid var(--line, #e5e7eb); }
html body .app .sup-ev small { color: var(--muted, #6b7280); white-space: nowrap; }
html body .app .sup-cap { margin-bottom: 12px; }
html body .app .sup-cap h4 { margin: 0 0 6px; display: flex; gap: 8px; align-items: center; }
html body .app .sup-cap table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
html body .app .sup-cap td { padding: 5px 6px; border-top: 1px solid var(--line, #e5e7eb); vertical-align: top; }
@media (max-width: 900px) { html body .app .sup-tr, html body .app .sup-ctr { grid-template-columns: 1fr; } }

/* coach : refaire la semaine */
html body .app .co-replan { margin-left: 10px; font-size: 12.5px; }
/* (08/11/2026) Vue d'ensemble de Velora IA sans le Chatter IA (en réserve) : trois chiffres, quatre colonnes */
html body .app .vai-tiles.kept { grid-template-columns: repeat(3, minmax(0, 1fr)); }
html body .app .vai-tr.kept { grid-template-columns: minmax(170px, 1.2fr) minmax(130px, .9fr) minmax(180px, 1.4fr) auto; }
@media (max-width: 760px) { html body .app .vai-tiles.kept { grid-template-columns: 1fr; } html body .app .vai-tr.kept { grid-template-columns: minmax(0, 1fr) auto; } html body .app .vai-tr.kept > .vai-pers, html body .app .vai-tr.kept > .vai-last, html body .app .vai-tr.th.kept > span:nth-child(n+2) { display: none; } }

/* (21/11/2026) Équipe › Alertes (public/alertes.js) */
html body .app #view-alertes .al-tabs { display: flex; gap: 4px; padding: 0 2px 10px; border-bottom: 1px solid var(--line); margin-bottom: 12px; overflow-x: auto; }
html body .app #view-alertes .al-tabs button { border: 1px solid transparent; background: none; color: var(--muted); font-weight: 600; padding: 6px 12px; border-radius: 8px; cursor: pointer; white-space: nowrap; }
html body .app #view-alertes .al-tabs button[aria-selected="true"] { color: var(--text); background: var(--surface); border-color: var(--line); }
html body .app #view-alertes .al-tabs button[hidden] { display: none; }
html body .app .al-list { display: grid; gap: 6px; }
html body .app .al-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font-size: 13px; }
html body .app .al-row.new { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
html body .app .al-row i { font-style: normal; font-size: 10.5px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
html body .app .al-row[data-k="banned"] i { color: var(--bad, #f87171); } html body .app .al-row[data-k="idle"] i { color: var(--warn, #f5b941); }
html body .app .al-row span { min-width: 0; overflow-wrap: anywhere; } html body .app .al-row small { color: var(--muted); white-space: nowrap; }
html body .app .al-set { display: grid; gap: 10px; max-width: 760px; }
html body .app .al-set .card { padding: 14px 16px; } html body .app .al-set p { margin: 6px 0 0; line-height: 1.9; }
html body .app .al-set input[type="number"] { width: 78px; } html body .app .al-set input[type="time"] { width: 104px; }
html body .app .al-sw { display: flex; align-items: center; gap: 8px; cursor: pointer; }
html body .app .al-acts { display: flex; justify-content: flex-end; }
@media (max-width: 640px) { html body .app .al-row { grid-template-columns: minmax(0, 1fr) auto; } html body .app .al-row span { grid-column: 1 / -1; } }

/* (23/11/2026) Velora IA › Cerveau : mêmes onglets que la page Alertes */
html body .app #view-cerveau .al-tabs { display: flex; gap: 4px; padding: 0 2px 10px; border-bottom: 1px solid var(--line); margin-bottom: 12px; overflow-x: auto; flex: none; min-height: 44px; } /* (23/11/2026) flex: none : la barre d'onglets était écrasée à quelques pixels par la zone qui défile (vue en colonne flex) */
html body .app #view-cerveau .al-tabs button { border: 1px solid transparent; background: none; color: var(--muted); font-weight: 600; padding: 6px 12px; border-radius: 8px; cursor: pointer; white-space: nowrap; }
html body .app #view-cerveau .al-tabs button[aria-selected="true"] { color: var(--text); background: var(--surface); border-color: var(--line); }
html body .app #view-cerveau .al-tabs button[hidden] { display: none; }
/* (25/11/2026) onglets et contenu du Cerveau alignés sur les autres pages (même largeur que .wrap.wide, plus collés au menu) */
html body .app #view-cerveau .al-tabs { width: 100%; max-width: 72rem; margin-inline: auto; padding-inline: 16px; }
