/* ===================== Hub v434 ===================== */

/* ---------- Nouveautes : visuel, detail par zone, roadmap ---------- */
.nw-adm-h { display: flex; gap: 8px; }
.nw-vis { display: block; width: 100%; margin: 10px 0 12px; padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: zoom-in; background: #070914; box-shadow: 0 10px 30px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.06); }
.nw-vis img { display: block; width: 100%; height: auto; transition: transform .6s cubic-bezier(.16,1,.3,1); }
.nw-vis:hover img { transform: scale(1.015); }
.nw-sum { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 8px 0 4px; }
.nw-cnt { font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 99px; }
.t-a { color: #34d399; background: rgba(52,211,153,.12); box-shadow: inset 0 0 0 1px rgba(52,211,153,.3); }
.t-c { color: #38bdf8; background: rgba(56,189,248,.12); box-shadow: inset 0 0 0 1px rgba(56,189,248,.3); }
.t-f { color: #fbbf24; background: rgba(251,191,36,.12); box-shadow: inset 0 0 0 1px rgba(251,191,36,.3); }
.t-r { color: #f87171; background: rgba(248,113,113,.12); box-shadow: inset 0 0 0 1px rgba(248,113,113,.3); }
.nw-all { margin-left: auto; font: inherit; font-size: 12.5px; font-weight: 600; color: rgb(var(--accent-rgb)); background: rgba(var(--accent-rgb), .1); border: 0; border-radius: 10px; padding: 7px 12px; cursor: pointer; transition: background .2s; }
.nw-all:hover { background: rgba(var(--accent-rgb), .2); }
.nw-zones { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.nw-zone { border-radius: 14px; background: rgba(255,255,255,.025); box-shadow: inset 0 0 0 1px var(--border); overflow: hidden; transition: box-shadow .25s; }
.nw-zone.on { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--zc) 45%, transparent); }
.nw-zh { width: 100%; display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: 0; background: none; color: var(--text-primary); font: inherit; cursor: pointer; text-align: left; }
.nw-zi { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 10px; color: var(--zc); background: color-mix(in srgb, var(--zc) 16%, transparent); }
.nw-zh b { font-size: 14px; font-weight: 650; }
.nw-zc { display: flex; gap: 5px; flex-wrap: wrap; }
.nw-zc .nw-cnt { font-size: 10.5px; padding: 2px 8px; }
.nw-zh em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--text-muted); }
.nw-chev { width: 8px; height: 8px; border-right: 2px solid var(--text-muted); border-bottom: 2px solid var(--text-muted); transform: rotate(45deg); transition: transform .25s; margin: 0 4px 3px 6px; }
.nw-zone.on .nw-chev { transform: rotate(-135deg); margin-bottom: -3px; }
.nw-zb { display: none; padding: 0 14px 12px 56px; }
.nw-zone.on .nw-zb { display: block; animation: fr-rise .35s cubic-bezier(.16,1,.3,1) both; }
.nw-zb ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 7px; }
.nw-zb li { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; line-height: 1.5; color: var(--text-secondary); }
.nw-tag2 { flex: none; min-width: 70px; text-align: center; font-size: 10.5px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; padding: 3px 8px; border-radius: 8px; margin-top: 1px; }
.nw-lb { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; padding: 24px; background: rgba(3,5,12,.86); backdrop-filter: blur(6px); cursor: zoom-out; animation: fr-rise .25s both; }
.nw-lb img { max-width: min(1400px, 96vw); max-height: 92vh; border-radius: 16px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.nw-prev { margin-top: 12px; }
.nw-prev canvas { width: 100%; height: auto; border-radius: 14px; }
.nw-comp-r { grid-template-columns: 200px 1fr 200px; }
.nw-rmv { border-radius: 20px; overflow: hidden; background: #070914; box-shadow: 0 16px 50px rgba(0,0,0,.4), inset 0 0 0 1px rgba(255,255,255,.06); }
.nw-rmv canvas { display: block; width: 100%; height: auto; }
.nw-rm-stats { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 16px 0; }
.nw-rm-stats > div { padding: 12px 18px; border-radius: 14px; background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--border); }
.nw-rm-stats b { display: block; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.nw-rm-stats span { font-size: 12px; color: var(--text-muted); }
.nw-rm-stats .btn-secondary { margin-left: auto; }
.nw-qs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1200px) { .nw-qs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .nw-qs { grid-template-columns: 1fr; } .nw-comp-r { grid-template-columns: 1fr; } }
.nw-q { display: flex; flex-direction: column; gap: 8px; }
.nw-q-h { padding: 4px 4px 6px; }
.nw-q-h b { display: block; font-size: 15px; font-weight: 800; }
.nw-q-h span { font-size: 12px; color: var(--text-muted); }
.nw-qs .nw-rm { display: flex; gap: 10px; align-items: flex-start; padding: 11px 12px; }
.nw-qs .nw-rm > i { flex: none; width: 4px; align-self: stretch; border-radius: 4px; background: #a78bfa; }
.nw-qs .nw-rm.s-fait > i { background: #34d399; } .nw-qs .nw-rm.s-en_cours > i { background: #22b8d8; box-shadow: 0 0 10px #22b8d8; }
.nw-qs .nw-rm b { display: block; font-size: 13px; }
.nw-qs .nw-rm span { display: block; font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.nw-qs .nw-rm em { display: block; font-style: normal; font-size: 11px; font-weight: 700; margin-top: 5px; color: #a78bfa; }
.nw-qs .nw-rm.s-fait em { color: #34d399; } .nw-qs .nw-rm.s-en_cours em { color: #22b8d8; }
.nw-qs .nw-rm .nw-adm { margin: 0 0 0 auto; flex-direction: column; float: none; }
.nw-eta { font: inherit; font-size: 11px; padding: 3px 6px; border-radius: 8px; border: 0; background: rgba(255,255,255,.06); color: var(--text-primary); width: 118px; color-scheme: dark; }

/* ---------- Notifications ---------- */
#nf-root, #ac-root, #ov-root { width: 100%; max-width: 1240px; }
.nf-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.nf-kpi { padding: 10px 16px; border-radius: 14px; background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--border); }
.nf-kpi b { display: block; font-size: 20px; font-weight: 800; }
.nf-kpi span { font-size: 12px; color: var(--text-muted); }
.nf-tools { margin-left: auto; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.nf-tools .vd-search { width: 220px; }
.nf-cats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.nf-cat { display: inline-flex; align-items: center; gap: 7px; font: inherit; font-size: 12.5px; font-weight: 600; padding: 8px 12px; border-radius: 12px; border: 0; cursor: pointer; color: var(--text-secondary); background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--border); transition: all .2s; }
.nf-cat svg { color: var(--nc); }
.nf-cat em { font-style: normal; font-size: 11px; padding: 1px 7px; border-radius: 99px; background: rgba(255,255,255,.07); }
.nf-cat:hover { color: var(--text-primary); }
.nf-cat.on { color: #fff; background: color-mix(in srgb, var(--nc) 18%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nc) 55%, transparent); }
.nf-day { margin: 18px 4px 8px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--text-muted); }
.nf-list { display: flex; flex-direction: column; gap: 6px; }
.nf-it { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 0; cursor: pointer; text-align: left; font: inherit; color: var(--text-primary); background: rgba(255,255,255,.025); box-shadow: inset 0 0 0 1px var(--border); transition: transform .2s, background .2s; }
.nf-it:hover { transform: translateX(3px); background: rgba(255,255,255,.05); }
.nf-it.new { background: color-mix(in srgb, var(--nc) 7%, transparent); box-shadow: inset 3px 0 0 var(--nc), inset 0 0 0 1px color-mix(in srgb, var(--nc) 30%, transparent); }
.nf-ic { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 11px; color: var(--nc); background: color-mix(in srgb, var(--nc) 15%, transparent); }
.nf-tx { flex: 1; min-width: 0; }
.nf-tx b { display: block; font-size: 13.5px; font-weight: 600; }
.nf-tx span { display: block; font-size: 12.5px; color: var(--text-secondary); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.nf-meta { flex: none; text-align: right; }
.nf-meta em { display: block; font-style: normal; font-size: 11px; color: var(--nc); font-weight: 600; }
.nf-meta time { font-size: 11.5px; color: var(--text-muted); }

/* ---------- Succes & niveaux ---------- */
.ac-ring { position: relative; flex: none; }
.ac-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ac-ring circle { fill: none; stroke-width: 9; }
.ac-ring .bg { stroke: rgba(255,255,255,.07); }
.ac-ring .fg { stroke: var(--rc); stroke-linecap: round; filter: drop-shadow(0 0 6px var(--rc)); transition: stroke-dashoffset 1.2s cubic-bezier(.16,1,.3,1); }
.ac-ring > div { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.ac-ring small { font-size: 10px; color: var(--text-muted); font-weight: 700; text-transform: uppercase; }
.ac-ring b { font-size: 28px; font-weight: 900; }
.ac-k { display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
.ac-hero { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; padding: 24px 26px; border-radius: 22px; margin-bottom: 14px; background: radial-gradient(120% 140% at 0% 0%, rgba(34,184,216,.16), transparent 55%), radial-gradient(120% 140% at 100% 100%, rgba(255,138,91,.12), transparent 55%), rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--border); }
.ac-hero-t { flex: 1; min-width: 240px; }
.ac-hero-t h2 { margin: 4px 0 10px; font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.ac-bar { height: 10px; border-radius: 99px; background: rgba(255,255,255,.07); overflow: hidden; margin-bottom: 8px; }
.ac-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #22b8d8, #a78bfa, #ff8a5b); box-shadow: 0 0 12px rgba(34,184,216,.6); }
.ac-bar.sm { height: 6px; margin: 8px 0 4px; } .ac-bar.sm i { background: var(--ac); box-shadow: none; }
.ac-hero-s { display: flex; gap: 10px; }
.ac-hero-s > div { padding: 12px 16px; border-radius: 14px; background: rgba(255,255,255,.04); text-align: center; }
.ac-hero-s b { display: block; font-size: 22px; font-weight: 800; }
.ac-hero-s span { font-size: 11.5px; color: var(--text-muted); }
.ac-accs { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; margin-bottom: 18px; }
.ac-acc { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pc) 30%, transparent); }
.ac-acc .ac-ring b { font-size: 20px; }
.ac-acc b { display: block; font-size: 15px; }
.ac-acc .vd-muted { display: block; font-size: 12px; }
.ac-filters { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.ac-filters select { font: inherit; font-size: 13px; padding: 8px 12px; border-radius: 12px; border: 0; background: rgba(255,255,255,.05); color: var(--text-primary); box-shadow: inset 0 0 0 1px var(--border); }
.ac-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.ac-it { display: flex; gap: 12px; padding: 14px; border-radius: 16px; background: rgba(255,255,255,.025); box-shadow: inset 0 0 0 1px var(--border); opacity: .82; transition: transform .25s cubic-bezier(.16,1,.3,1), opacity .2s; }
.ac-it:hover { transform: translateY(-2px); opacity: 1; }
.ac-it.ok { opacity: 1; background: color-mix(in srgb, var(--ac) 8%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ac) 40%, transparent); }
.ac-ic { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 14px; color: var(--text-muted); background: rgba(255,255,255,.05); filter: grayscale(1); }
.ac-it.ok .ac-ic { color: var(--ac); background: color-mix(in srgb, var(--ac) 18%, transparent); filter: none; box-shadow: 0 0 18px color-mix(in srgb, var(--ac) 35%, transparent); }
.ac-tx { flex: 1; min-width: 0; }
.ac-tx b { display: block; font-size: 14px; }
.ac-tx > span { display: block; font-size: 12px; color: var(--text-secondary); margin-top: 2px; }
.ac-tx em { display: block; font-style: normal; font-size: 11px; color: var(--text-muted); margin-top: 5px; }
.ac-tx small { font-size: 11px; color: var(--text-muted); }
.ac-done { display: inline-block; margin-top: 7px; font-style: normal; font-size: 11px; font-weight: 700; color: var(--ac); }
.ac-how { margin-top: 18px; padding: 14px 18px; border-radius: 16px; background: rgba(255,255,255,.025); box-shadow: inset 0 0 0 1px var(--border); }
.ac-how summary { cursor: pointer; font-weight: 600; }
.ac-how-g { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; margin-top: 12px; }
.ac-how-g div { padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.03); }
.ac-how-g b { display: block; color: #34d399; font-size: 13px; }
.ac-how-g span { font-size: 12px; color: var(--text-secondary); }

/* ---------- Vue d'ensemble ---------- */
.ov-top { display: flex; justify-content: flex-end; margin-bottom: 12px; }
.ov-hero { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.ov-wallet { flex: 1; min-width: 300px; padding: 22px 24px; border-radius: 22px; background: radial-gradient(120% 160% at 0% 0%, rgba(9,177,186,.2), transparent 55%), radial-gradient(100% 140% at 100% 100%, rgba(124,92,255,.16), transparent 60%), rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--border); }
.ov-big { display: block; font-size: 42px; font-weight: 900; letter-spacing: -.03em; margin: 6px 0 2px; }
.ov-up { color: #34d399; font-weight: 600; font-size: 13px; } .ov-down { color: #f87171; font-weight: 600; font-size: 13px; }
.ov-mini { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.ov-mini div { padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.04); }
.ov-mini b { display: block; font-size: 16px; } .ov-mini span { font-size: 11.5px; color: var(--text-muted); }
.ov-lvl { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 22px; border: 0; cursor: pointer; text-align: left; font: inherit; color: var(--text-primary); background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--border); transition: transform .25s; }
.ov-lvl:hover { transform: translateY(-2px); }
.ov-lvl b { display: block; font-size: 18px; margin: 3px 0; }
.ov-sec { margin-bottom: 20px; }
.ov-sec h3 { font-size: 15px; font-weight: 700; margin: 0 0 10px 2px; }
.ov-alerts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.ov-al { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 16px; border: 0; cursor: pointer; text-align: left; font: inherit; color: var(--text-primary); background: rgba(251,191,36,.07); box-shadow: inset 0 0 0 1px rgba(251,191,36,.3); transition: transform .2s; }
.ov-al.hot { background: rgba(248,113,113,.08); box-shadow: inset 0 0 0 1px rgba(248,113,113,.4); animation: ov-pulse 2.4s ease-in-out infinite; }
@keyframes ov-pulse { 50% { box-shadow: inset 0 0 0 1px rgba(248,113,113,.7), 0 0 24px rgba(248,113,113,.18); } }
.ov-al:hover { transform: translateY(-2px); }
.ov-al-ic { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 12px; background: rgba(251,191,36,.15); color: #fbbf24; }
.ov-al.hot .ov-al-ic { background: rgba(248,113,113,.15); color: #f87171; }
.ov-al b { display: block; font-size: 14px; } .ov-al em { display: block; font-style: normal; font-size: 12px; color: var(--text-secondary); }
.ov-al i { margin-left: auto; font-style: normal; font-size: 20px; color: var(--text-muted); }
.ov-ok { display: flex; align-items: center; gap: 8px; padding: 14px 16px; border-radius: 16px; color: #34d399; background: rgba(52,211,153,.07); box-shadow: inset 0 0 0 1px rgba(52,211,153,.25); font-weight: 600; font-size: 13.5px; }
.ov-plats { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.ov-plat { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pc) 35%, transparent); }
.ov-plat.off { opacity: .55; box-shadow: inset 0 0 0 1px var(--border); }
.ov-plat .hub-pdot { margin-bottom: 4px; }
.ov-plat strong { font-size: 20px; font-weight: 800; }
.ov-plat .vd-muted { font-size: 12px; }
.ov-share { height: 5px; border-radius: 99px; background: rgba(255,255,255,.06); margin-top: 6px; overflow: hidden; } .ov-share i { display: block; height: 100%; background: var(--pc); }
.ov-accs { display: flex; flex-direction: column; gap: 6px; }
.ov-acc { display: grid; grid-template-columns: auto 1fr auto 90px; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 14px; background: rgba(255,255,255,.025); box-shadow: inset 0 0 0 1px var(--border); }
.ov-acc b { display: block; font-size: 14px; } .ov-acc .vd-muted { font-size: 12px; }
.ov-acc strong { font-size: 15px; }
.ov-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #64748b; margin: 0 4px 1px 2px; } .ov-dot.on { background: #34d399; box-shadow: 0 0 8px #34d399; }
@media (max-width: 640px) { .ov-mini { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ov-big { font-size: 34px; } .ov-acc { grid-template-columns: auto 1fr auto; } .ov-acc > span:last-child { display: none; } }

/* ---------- Integrations IA ---------- */
.ai-intro p { line-height: 1.6; }
.ai-pref { display: grid; grid-template-columns: 1.2fr 1fr 1fr auto; gap: 12px; align-items: end; margin-top: 14px; }
.ai-pref select { width: 100%; font: inherit; font-size: 13px; padding: 10px 12px; border-radius: 12px; border: 0; background: rgba(255,255,255,.05); color: var(--text-primary); box-shadow: inset 0 0 0 1px var(--border); }
.ai-note { font-size: 12px; margin-top: 10px; }
@media (max-width: 900px) { .ai-pref { grid-template-columns: 1fr; } }
.ai-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; margin-top: 12px; }
.ai-card { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 18px; background: rgba(255,255,255,.025); box-shadow: inset 0 0 0 1px var(--border); transition: box-shadow .25s; }
.ai-card.on { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ac) 45%, transparent); background: color-mix(in srgb, var(--ac) 5%, transparent); }
.ai-h { display: flex; align-items: center; gap: 12px; }
.ai-logo { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px; font-weight: 900; font-size: 18px; color: #0b0e1c; background: var(--ac); box-shadow: 0 0 16px color-mix(in srgb, var(--ac) 40%, transparent); }
.ai-h b { display: block; font-size: 14.5px; } .ai-h span { display: block; font-size: 12px; color: var(--text-muted); }
.ai-b { margin-left: auto; flex: none; font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 99px; }
.ai-b.ok { color: #34d399; background: rgba(52,211,153,.12); } .ai-b.ko { color: #f87171; background: rgba(248,113,113,.12); } .ai-b.sv { color: #38bdf8; background: rgba(56,189,248,.12); } .ai-b.soon { color: var(--text-muted); background: rgba(255,255,255,.06); }
.ai-d { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--text-secondary); }
.ai-k { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 10px; background: rgba(255,255,255,.04); }
.ai-k code { font-size: 12px; color: var(--text-primary); } .ai-k em { font-style: normal; font-size: 11.5px; color: var(--text-muted); }
.ai-k .fr-ib:first-of-type { margin-left: auto; }
.ai-form { display: flex; gap: 8px; flex-wrap: wrap; }
.ai-form .vd-search { flex: 1; min-width: 140px; }
.ai-tuto summary { cursor: pointer; font-size: 12.5px; font-weight: 600; color: rgb(var(--accent-rgb)); }
.ai-tuto ol { margin: 10px 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; line-height: 1.5; color: var(--text-secondary); }
.ai-tuto a { color: rgb(var(--accent-rgb)); }

/* ---------- IA qui apprend ---------- */
.ln-box { margin-top: 16px; padding: 16px; border-radius: 18px; background: linear-gradient(135deg, rgba(167,139,250,.08), rgba(34,184,216,.05)); box-shadow: inset 0 0 0 1px rgba(167,139,250,.3); }
.ln-h { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.ln-ic { font-size: 22px; }
.ln-h b { display: block; font-size: 14.5px; } .ln-h span { display: block; font-size: 12.5px; color: var(--text-secondary); line-height: 1.5; }
.ln-it { padding: 12px; border-radius: 14px; background: rgba(255,255,255,.035); margin-bottom: 8px; }
.ln-it.off { opacity: .5; }
.ln-q b { display: block; font-size: 13.5px; } .ln-q em { font-style: normal; font-size: 11.5px; color: var(--text-muted); }
.ln-it textarea { width: 100%; margin-top: 8px; font: inherit; font-size: 13px; color: var(--text-primary); background: rgba(255,255,255,.04); border: 0; box-shadow: inset 0 0 0 1px var(--border); border-radius: 10px; padding: 9px 11px; min-height: 56px; resize: vertical; }
.ln-a { display: flex; gap: 8px; margin-top: 8px; }
.ln-v { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 12.5px; }
.ln-v th { text-align: left; font-size: 11px; color: var(--text-muted); font-weight: 600; padding: 4px 6px; }
.ln-v td { padding: 7px 6px; border-top: 1px solid var(--border); color: var(--text-secondary); }
.ln-v tr.best td { color: var(--text-primary); }
.ln-best { font-size: 10.5px; font-weight: 700; color: #34d399; background: rgba(52,211,153,.12); padding: 2px 7px; border-radius: 99px; }
.ln-empty { font-size: 12.5px; color: var(--text-muted); padding: 6px 2px; }
.ln-pb { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); }
.ln-pb ul { margin: 0 0 10px; padding-left: 18px; display: flex; flex-direction: column; gap: 5px; font-size: 13px; color: var(--text-secondary); }

/* ---------- Chatbox : clients bloques ---------- */
.hg-bl-h { padding: 10px 12px; font-size: 12.5px; color: var(--text-secondary); }
.hg-bl { margin: 6px 8px; padding: 12px; border-radius: 14px; background: rgba(248,113,113,.05); box-shadow: inset 0 0 0 1px rgba(248,113,113,.22); }
.hg-bl.off { background: rgba(255,255,255,.02); box-shadow: inset 0 0 0 1px var(--border); opacity: .7; }
.hg-bl-top { display: flex; align-items: center; gap: 10px; }
.hg-bl-top img, .hg-bl-av { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex: none; }
.hg-bl-av { display: grid; place-items: center; background: rgba(255,255,255,.08); font-weight: 700; }
.hg-bl-top b { display: block; font-size: 13.5px; } .hg-bl-top span { display: block; font-size: 11.5px; color: var(--text-muted); }
.hg-bl-top .hg-tag { margin-left: auto; }
.hg-bl p { margin: 8px 0; font-size: 12.5px; line-height: 1.5; color: var(--text-secondary); }
.hg-bl-ph { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; cursor: zoom-in; display: block; margin-bottom: 8px; }
.hg-bl-empty, .hg-bl-load { padding: 30px 16px; text-align: center; font-size: 13px; color: var(--text-muted); }
.st-lotrow td { background: rgba(251,191,36,.05); }
/* filtres de la chatbox : une seule ligne qui defile */
/* onglets de la Chatbox : barre segmentee, tout reste lisible (retour a la ligne propre si le panneau est etroit) */
.conv-filters { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 13px; background: rgba(255,255,255,.035); border: 1px solid var(--border, rgba(255,255,255,.08)); overflow: visible; }
.conv-filters .conv-filter { flex: 1 1 auto; min-width: 0; white-space: nowrap; text-align: center; padding: 6px 9px; font-size: 11.5px; font-weight: 600; border: 0 !important; border-radius: 9px !important; background: transparent; color: var(--text-muted); display: inline-flex; align-items: center; justify-content: center; gap: 5px; }
.conv-filters .conv-filter:hover { background: rgba(255,255,255,.05); color: var(--text-primary, #fff); transform: none !important; }
.conv-filters .conv-filter.active { color: #fff; }
.conv-filters .conv-filter .hg-cnt:empty { display: none; }
#page-overview .page-header { display: block; }
