/* H&S Trading Group — espace membre et administration (s'ajoute à styles.css) */
body.app { background: var(--perle); font-size: 1rem; min-height: 100svh; }
body.app h1, body.app h2, body.app h3 { text-wrap: balance; }
.app-boot { min-height: 100svh; display: grid; place-items: center; color: var(--texte-doux); }

/* ---------- Connexion ---------- */
.gate { min-height: 100svh; display: grid; place-items: center; padding: 1.5rem; background: var(--panel); position: relative; overflow: hidden; }
.gate::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 72px 72px; -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 15%, transparent 70%); mask-image: radial-gradient(ellipse at 70% 30%, #000 15%, transparent 70%); }
.gate-card { position: relative; z-index: 1; width: min(100%, 460px); display: grid; gap: 1.2rem; padding: clamp(1.6rem, 4vw, 2.4rem); border-radius: 28px; background: var(--surface); border: 1px solid var(--brume); box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .6); }
.gate-card .mark { width: 56px; height: 56px; }
.gate-card h1 { font-size: clamp(1.8rem, 3vw + .6rem, 2.3rem); }
.gate-card p { color: var(--texte-doux); font-size: 1rem; }
.code-input { text-align: center; font-size: 1.5rem !important; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 1rem !important; }
.gate-foot { font-size: .95rem; color: var(--texte-doux); }
.gate-foot a { font-weight: 600; color: var(--marine); text-decoration: underline; text-underline-offset: 3px; }
.err { color: var(--txt-rouge); background: rgba(224, 101, 77, .12); border-radius: 10px; padding: .7rem .9rem; font-size: .95rem; }

/* ---------- Structure ---------- */
.shell { min-height: 100svh; display: grid; grid-template-columns: 1fr; }
.side { display: none; }
.tabbar { position: fixed; z-index: 40; inset: auto 0 0 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: .35rem .4rem calc(.35rem + env(safe-area-inset-bottom, 0px)); background: var(--verre); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-top: 1px solid var(--ligne); }
.tab { display: grid; justify-items: center; gap: .15rem; padding: .45rem .1rem; border-radius: 12px; font-size: .66rem; font-weight: 600; color: var(--texte-doux); position: relative; min-width: 0; }
.tab span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tab[aria-current="page"] { color: var(--marine); }
.tab[aria-current="page"]::before { content: ""; position: absolute; top: -.35rem; width: 28px; height: 3px; border-radius: 3px; background: var(--or-grad); }
.tab .badge-dot { position: absolute; top: .3rem; right: 28%; width: 9px; height: 9px; border-radius: 50%; background: var(--bougie); border: 2px solid #fff; }
.main { padding: 1rem var(--gutter) 2rem; width: min(100%, 1100px); margin-inline: auto; min-width: 0; }
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .8rem var(--gutter); background: var(--surface); border-bottom: 1px solid var(--ligne); position: sticky; top: 0; z-index: 30; }
.topbar .brand .mark { width: 32px; height: 32px; }
.topbar .who { display: flex; align-items: center; gap: .7rem; font-weight: 600; font-size: .95rem; }
.avatar-s { width: 38px; height: 38px; border-radius: 50%; background: var(--or-grad); display: grid; place-items: center; font-weight: 800; font-size: .8rem; color: var(--on-or); }
.icon-btn { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 12px; border: 1px solid var(--ligne); background: var(--surface); color: var(--marine); transition: background .3s, border-color .3s; flex: none; }
.icon-btn:hover { background: var(--perle); border-color: var(--panel); }
.icon-btn.danger:hover { background: rgba(224, 101, 77, .12); border-color: var(--bougie); color: var(--txt-rouge); }
@media (min-width: 900px) {
  .shell { grid-template-columns: 264px 1fr; padding-bottom: 0; }
  .tabbar { display: none; }
  .mm, .sq-btn { display: none !important; }
  .side nav { overflow-y: auto; min-height: 0; scrollbar-width: none; }
  .side { display: flex; flex-direction: column; gap: 1.4rem; padding: 1.4rem 1rem; background: linear-gradient(170deg, var(--panel-2), var(--panel) 55%, #0A1730); color: #fff; position: sticky; top: 0; height: 100svh; }
  .side .brand { padding: .2rem .6rem; color: #fff; }
  .side .brand .mark { color: #fff; width: 36px; height: 36px; }
  .side nav { display: grid; gap: .25rem; }
  .side .nv { display: flex; align-items: center; gap: .8rem; padding: .8rem .9rem; border-radius: 12px; font-weight: 600; color: rgba(255, 255, 255, .72); transition: background .3s, color .3s; position: relative; text-align: left; width: 100%; }
  .side .nv:hover { background: rgba(255, 255, 255, .08); color: #fff; }
  .side .nv[aria-current="page"] { background: var(--or-grad); color: var(--on-or); }
  .side .nv .badge-dot { margin-left: auto; width: 9px; height: 9px; border-radius: 50%; background: var(--bougie); }
  .side .side-foot { margin-top: auto; display: grid; gap: .8rem; padding: .6rem; font-size: .9rem; color: rgba(255, 255, 255, .72); }
  .side .side-foot strong { color: #fff; display: block; font-size: 1rem; }
  .side .side-foot .btn { justify-self: start; }
  .topbar { display: none; }
  .main { padding: 2rem 2.2rem 3rem; }
}
.page-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-block: .6rem 1.3rem; }
.page-title h1 { font-size: clamp(1.7rem, 2vw + 1rem, 2.4rem); }
.page-title p { color: var(--texte-doux); margin-top: .3rem; max-width: 56ch; }
.banner { display: flex; gap: .8rem; align-items: flex-start; background: var(--or-grad); color: var(--on-or); border-radius: 14px; padding: .9rem 1.1rem; font-weight: 600; margin-bottom: 1.2rem; }
.banner svg { flex: none; margin-top: .15rem; }

/* ---------- Cartes et pastilles ---------- */
.grid { display: grid; gap: 1rem; }
@media (min-width: 700px) { .grid.c2 { grid-template-columns: repeat(2, 1fr); } .grid.c3 { grid-template-columns: repeat(3, 1fr); } .grid.c4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 640px) and (max-width: 1100px) { .grid.c4 { grid-template-columns: repeat(2, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--brume); border-radius: 22px; padding: 1.3rem; box-shadow: 0 1px 0 rgba(7,18,42,.03); }
.card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.pill { display: inline-flex; align-items: center; gap: .35rem; padding: .22rem .7rem; border-radius: 999px; font-size: .8rem; font-weight: 700; background: var(--perle); color: var(--marine); white-space: nowrap; }
.pill.buy, .pill.tp, .pill.haussier, .pill.ok { background: rgba(52, 179, 138, .16); color: var(--txt-vert); }
.pill.sell, .pill.sl, .pill.baissier, .pill.ko { background: rgba(224, 101, 77, .16); color: var(--txt-rouge); }
.pill.open, .pill.gold { background: var(--or-pale); color: var(--or-encre); }
.pill.be, .pill.neutre, .pill.cancelled { background: var(--brume); color: var(--texte-doux); }
.muted { color: var(--texte-doux); }
.empty { text-align: center; padding: 2.5rem 1rem; color: var(--texte-doux); border: 1px dashed var(--ligne); border-radius: 16px; background: rgba(255, 255, 255, .6); }
.empty strong { display: block; color: var(--marine); font-size: 1.1rem; margin-bottom: .3rem; font-family: var(--f-display); }

/* ---------- Signaux ---------- */
.sig { display: grid; gap: 1rem; position: relative; overflow: hidden; }
.sig::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--ink, var(--or)); }
.sig.buy { --ink: #34B38A; } .sig.sell { --ink: #E0654D; }
.sig-head { display: flex; justify-content: space-between; align-items: center; gap: .8rem; }
.sig-pair { font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; letter-spacing: -.03em; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.levels { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
@media (min-width: 560px) { .levels { grid-template-columns: repeat(4, 1fr); } }
.lv { padding: .6rem .7rem; border-radius: 12px; background: var(--perle); display: grid; gap: .1rem; }
.lv small { font-size: .75rem; color: var(--texte-doux); font-weight: 600; }
.lv b { font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.lv.sl b { color: var(--txt-rouge); } .lv.tp b { color: var(--txt-vert); }
.sig-note { color: var(--texte-doux); font-size: .98rem; }
.sig-foot { display: flex; justify-content: space-between; gap: .6rem; font-size: .85rem; color: var(--texte-doux); flex-wrap: wrap; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; margin-bottom: 1.2rem; }
@media (min-width: 700px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--surface); border: 1px solid var(--brume); border-radius: 22px; padding: 1rem 1.1rem; display: grid; gap: .2rem; }
.stat b { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.6rem, 2vw + 1rem, 2.2rem); letter-spacing: -.04em; line-height: 1.1; }
.stat span { color: var(--texte-doux); font-size: .9rem; }
.stat.gold { background: var(--or-grad); border-color: transparent; } .stat.gold span { color: rgba(11, 27, 54, .8); }

/* ---------- Tableaux ---------- */
.tbl-wrap { background: var(--surface); border: 1px solid var(--brume); border-radius: 22px; overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .95rem; }
.tbl th { text-align: left; font-size: .78rem; font-weight: 700; color: var(--texte-doux); padding: .8rem 1rem; border-bottom: 1px solid var(--ligne); background: var(--fond); white-space: nowrap; }
.tbl td { padding: .8rem 1rem; border-bottom: 1px solid var(--ligne); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tr:hover td { background: var(--fond); }
.tbl .act { display: flex; gap: .4rem; justify-content: flex-end; }
.tbl .num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-weight: 700; letter-spacing: .04em; background: var(--perle); padding: .2rem .5rem; border-radius: 8px; font-size: .88rem; }
.toolbar { display: flex; gap: .7rem; flex-wrap: wrap; align-items: center; margin-bottom: 1rem; }
.toolbar .field { flex: 1 1 220px; max-width: 360px; }

/* ---------- Formations / analyses ---------- */
.course { display: grid; gap: .8rem; align-content: start; text-align: left; transition: transform .5s var(--ease), border-color .3s, box-shadow .5s var(--ease); cursor: pointer; padding: 0; overflow: hidden; }
.course:hover { transform: translateY(-3px); border-color: var(--or-vif); box-shadow: 0 22px 36px -26px rgba(11, 27, 54, .5); }
.course .thumb { aspect-ratio: 16 / 9; display: grid; place-items: center; background: linear-gradient(150deg, var(--panel-2), var(--panel)); color: var(--or-clair); position: relative; overflow: hidden; }
.course .thumb::before { content: ""; position: absolute; right: -8%; top: -30%; width: 55%; aspect-ratio: 1; border-radius: 50%; background: rgba(240, 210, 122, .12); }
.course .thumb img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.course .play { width: 58px; height: 58px; border-radius: 50%; background: var(--or-grad); color: var(--on-or); display: grid; place-items: center; position: relative; }
.course .info { padding: 0 1.1rem 1.1rem; display: grid; gap: .5rem; }
.course h3 { margin: 0; font-size: 1.15rem; }
.course p { color: var(--texte-doux); font-size: .95rem; }
.video { aspect-ratio: 16 / 9; width: 100%; border: 0; border-radius: 14px; background: #000; }
.prose-pre { white-space: pre-wrap; line-height: 1.7; }
.analysis { display: grid; gap: .6rem; }
.analysis header { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.analysis h3 { margin: 0; font-size: 1.25rem; }
.analysis .body { color: var(--texte); white-space: pre-wrap; line-height: 1.65; }
.analysis .body.clamp { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.link-btn { font-weight: 700; color: var(--marine); text-decoration: underline; text-underline-offset: 3px; justify-self: start; }
.pair-card { display: grid; gap: .8rem; }
.pair-card header { display: flex; justify-content: space-between; align-items: center; }
.pair-card .sig-pair { font-size: 1.3rem; }

/* ---------- Chat ---------- */
.chat { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; grid-template-columns: minmax(0, 1fr); height: calc(100svh - 230px); min-height: 340px; background: var(--surface); border: 1px solid var(--brume); border-radius: 24px; overflow: hidden; }
@media (min-width: 900px) { .chat { height: calc(100svh - 190px); } }
.main.chat-main { display: flex; flex-direction: column; min-height: calc(100dvh - 64px); }
.chat-main > .view { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.chat-main .chat { flex: 1; height: auto; min-height: 340px; }
@media (min-width: 900px) { .main.chat-main { min-height: 100dvh; } }
.chat-log { overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .55rem; scroll-behavior: smooth; overscroll-behavior: contain; }
.day { align-self: center; font-size: .75rem; font-weight: 700; color: var(--texte-doux); background: var(--perle); padding: .2rem .8rem; border-radius: 999px; margin-block: .5rem; }
.msg { max-width: min(82%, 520px); padding: .55rem .85rem .45rem; border-radius: 16px 16px 16px 4px; background: var(--perle); display: grid; gap: .1rem; position: relative; }
.msg .au { font-size: .78rem; font-weight: 800; color: var(--marine); display: flex; gap: .4rem; align-items: center; }
.msg .tx { overflow-wrap: anywhere; white-space: pre-wrap; line-height: 1.45; }
.msg time { font-size: .7rem; color: var(--texte-doux); justify-self: end; }
.msg.me { align-self: flex-end; background: var(--panel); color: #fff; border-radius: 16px 16px 4px 16px; }
.msg.me .au, .msg.me time { color: rgba(255, 255, 255, .7); }
.msg.adm { background: var(--or-pale); border: 1px solid rgba(184, 144, 47, .35); }
.msg .del { position: absolute; top: .3rem; right: .3rem; opacity: 0; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--surface); color: var(--txt-rouge); border: 1px solid var(--ligne); transition: opacity .2s; }
.msg:hover .del, .msg .del:focus-visible { opacity: 1; }
.composer { display: flex; gap: .6rem; padding: .7rem; border-top: 1px solid var(--ligne); background: var(--surface); }
.composer textarea { flex: 1; resize: none; border: 1px solid var(--ligne); border-radius: 14px; padding: .7rem .9rem; max-height: 120px; min-height: 46px; line-height: 1.4; }
.composer textarea:focus { outline: none; border-color: var(--panel); box-shadow: 0 0 0 4px rgba(217, 180, 80, .35); }
.composer .btn { padding: .7rem 1rem; }

/* ---------- Fenêtres, formulaires, toasts ---------- */
dialog.modal { border: 0; padding: 0; border-radius: 28px; width: min(94vw, 560px); max-height: 92svh; color: var(--marine); box-shadow: 0 40px 80px -20px rgba(11, 27, 54, .5); overflow: hidden; }
dialog.modal.wide { width: min(94vw, 820px); }
dialog.modal::backdrop { background: rgba(7, 18, 40, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
dialog.modal[open] { display: grid; grid-template-rows: auto 1fr; }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.2rem; border-bottom: 1px solid var(--ligne); gap: 1rem; }
.modal-head h3 { margin: 0; font-size: 1.2rem; }
.modal-body { padding: 1.2rem; overflow-y: auto; display: grid; gap: 1rem; align-content: start; }
.form { display: grid; gap: 1rem; }
.form .row2 { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .form .row2 { grid-template-columns: 1fr 1fr; } }
.field.check { grid-auto-flow: column; justify-content: start; align-items: center; gap: .6rem; }
.field.check input { width: 20px; height: 20px; accent-color: var(--marine); }
.field textarea { font-family: inherit; }
.form-actions { display: flex; gap: .7rem; justify-content: flex-end; flex-wrap: wrap; }
.toasts { position: fixed; z-index: 500; left: 50%; translate: -50% 0; bottom: calc(env(safe-area-inset-bottom, 0px) + 90px); display: grid; gap: .5rem; width: min(92vw, 420px); pointer-events: none; }
@media (min-width: 900px) { .toasts { bottom: 24px; } }
.toast { background: var(--panel); color: #fff; padding: .8rem 1.1rem; border-radius: 14px; font-weight: 600; box-shadow: 0 20px 40px -16px rgba(11, 27, 54, .6); opacity: 0; transform: translateY(14px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.toast.in { opacity: 1; transform: none; }
.toast.err { background: #8A2A18; } .toast.ok { background: #0F6B4F; }
.spin { width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid var(--ligne); border-top-color: var(--marine); animation: sp .8s linear infinite; margin: 2rem auto; }
@keyframes sp { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .chat-log { scroll-behavior: auto; } }

.tabbar.scroll { grid-auto-columns: minmax(72px, 1fr); overflow-x: auto; scrollbar-width: none; }
.tabbar.scroll::-webkit-scrollbar { display: none; }

/* ---------- v2 : porte unique, équipe, contrôle des clients ---------- */
body.app { padding-inline: 0; }
.preview-bar { position: sticky; top: 0; z-index: 60; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: .4rem 1rem; padding: .65rem 1rem .55rem; background: var(--or); color: var(--on-or); font-size: .95rem; text-align: center; }
.preview-bar .link-btn { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.shell.is-preview .topbar { top: 44px; }

.code { white-space: nowrap; display: inline-flex; align-items: center; gap: .4rem; font-family: var(--f-display); letter-spacing: .06em; cursor: pointer; border: 0; color: var(--encre); }
.code svg { opacity: .55; }
.code:hover svg { opacity: 1; }

.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { padding: .5rem .95rem .4rem; border-radius: 999px; background: var(--perle); font-weight: 600; font-size: .92rem; color: var(--texte-doux); }
.chip[aria-pressed="true"] { background: var(--panel); color: #fff; }

.msg .del.mute { right: 2.2rem; color: var(--encre); }

/* Équipe : une carte par personne */
.team-cards { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .team-cards { grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); } }
.person-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 1.1rem; padding: 1rem; align-items: start; }
.pc-photo { aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: #E4E8EE; display: grid; place-items: center; font-weight: 700; font-size: 1.6rem; color: var(--doux); }
.pc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; mix-blend-mode: multiply; }
.pc-body { display: grid; gap: .45rem; min-width: 0; }
.pc-body h3 { font-size: 1.2rem; }
.pc-body > p { font-size: .9rem; line-height: 1.35; }
.pc-meta { display: flex; flex-wrap: wrap; gap: .35rem; }
.pc-code { display: grid; gap: .25rem; margin-top: .2rem; }
.pc-code small { font-size: .78rem; color: var(--texte-doux); font-weight: 600; }
.pc-code .code { justify-self: start; font-size: 1rem; padding: .35rem .65rem; }
.pc-seen { font-size: .82rem !important; }
.person-card .act { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .3rem; }

/* Mobile : les tableaux de clients deviennent des fiches lisibles */
@media (max-width: 760px) {
  .tbl-wrap:has(.tbl.people) { background: none; border: 0; overflow: visible; }
  table.tbl.people { min-width: 0; display: block; }
  .tbl.people thead { display: none; }
  .tbl.people tbody { display: grid; gap: 12px; }
  .tbl.people tr { display: grid; gap: .55rem; padding: 1rem 1.1rem; background: var(--surface); border: 1px solid var(--brume); border-radius: 20px; }
  .tbl.people td { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: .8rem; padding: 0; border: 0; align-items: center; }
  .tbl.people td::before { content: attr(data-l); font-size: .78rem; font-weight: 700; color: var(--texte-doux); }
  .tbl.people td:first-child { grid-template-columns: 1fr; font-size: 1.05rem; }
  .tbl.people td:first-child::before, .tbl.people td:last-child::before { display: none; }
  .tbl.people td:last-child { grid-template-columns: 1fr; padding-top: .5rem; border-top: 1px solid var(--ligne); }
  .tbl.people .act { justify-content: flex-start; flex-wrap: wrap; }
  .tbl.people td > * { justify-self: start; }
  .tbl.people tr:hover td { background: none; }
  .person-card { grid-template-columns: 92px minmax(0, 1fr); }
}
/* Administration : 9 onglets, la barre du bas défile sur mobile */
.tabbar.scroll { grid-auto-columns: minmax(68px, 1fr); overflow-x: auto; scrollbar-width: none; }
.tabbar.scroll::-webkit-scrollbar { display: none; }

/* ---------- Carte signal (modèle validé) ---------- */
.sc { display: grid; gap: 1rem; padding: clamp(1.25rem, 3vw, 1.75rem); border-radius: 24px; background: var(--panel); color: #fff; align-content: start; }
.sc.is-closed { opacity: .92; }
.sc-top { display: flex; align-items: center; gap: .65rem; flex-wrap: wrap; }
.sc-top strong { font-size: 1.4rem; font-weight: 700; letter-spacing: -.01em; }
.sc-dir { padding: .32rem .75rem .22rem; border-radius: 999px; font-size: .85rem; font-weight: 600; }
.sc-dir.buy { background: rgba(110, 226, 164, .16); color: #6EE2A4; }
.sc-dir.sell { background: rgba(240, 138, 118, .16); color: #F08A76; }
.sc-state { padding: .32rem .75rem .22rem; border-radius: 999px; font-size: .8rem; font-weight: 600; background: rgba(255, 255, 255, .1); }
.sc-state.tp { color: #6EE2A4; } .sc-state.sl { color: #F08A76; }
.sc-tf { margin-left: auto; color: rgba(255, 255, 255, .7); font-size: .9rem; }
.sc-rows { margin: 0; }
.sc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .85rem 0 .55rem; border-top: 1px solid rgba(255, 255, 255, .14); }
.sc-row dt { color: rgba(255, 255, 255, .72); font-size: 1rem; }
.sc-row dd { margin: 0; font-size: clamp(1.9rem, 4.2vw, 2.8rem); font-weight: 600; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.sc-row.sl dd { color: #F08A76; } .sc-row.tp dd { color: #6EE2A4; }
.sc-bar { display: flex; gap: 4px; height: 10px; }
.sc-bar i { border-radius: 99px; background: #F08A76; min-width: 6px; }
.sc-bar i + i { background: #6EE2A4; }
.sc-note { color: rgba(255, 255, 255, .78); font-size: .98rem; }
.sc-comment { color: #fff; font-size: .98rem; padding: .8rem 1rem; border-radius: 14px; background: rgba(255, 255, 255, .07); }
.sc-foot { display: flex; justify-content: space-between; gap: 1rem; color: rgba(255, 255, 255, .6); font-size: .85rem; }

/* Calculateur du membre, dans la carte */
.mc { display: grid; gap: .8rem; padding: 1rem; border-radius: 18px; background: var(--surface); color: var(--encre); }
.mc-head { display: flex; align-items: center; gap: .5rem; font-weight: 700; }
.mc-head em { margin-left: auto; font-style: normal; font-weight: 500; font-size: .82rem; color: var(--texte-doux); }
.mc-in { display: grid; grid-template-columns: 1.4fr 1fr; gap: .6rem; }
.mc-in label { display: grid; gap: .3rem; font-size: .82rem; font-weight: 600; color: var(--texte-doux); }
.mc-in input { width: 100%; min-height: 48px; padding: .6rem .85rem .5rem; border: 1.5px solid var(--ligne); border-radius: 12px; font-size: 1.1rem; font-weight: 600; color: var(--encre); background: var(--perle); }
.mc-in input:focus { outline: none; border-color: var(--panel); background: var(--surface); }
.mc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: .5rem; }
.mc-cell { display: grid; gap: .2rem; padding: .7rem .8rem .55rem; border-radius: 12px; background: var(--perle); }
.mc-cell small { font-size: .76rem; font-weight: 600; color: var(--texte-doux); }
.mc-cell b { font-size: 1.3rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.mc-cell.lot { background: var(--or); color: var(--on-or); } .mc-cell.lot small { color: var(--on-or); }
.mc-cell.sl b { color: var(--txt-rouge); } .mc-cell.tp b { color: var(--txt-vert); }
.mc-hint { font-size: .88rem; color: var(--texte-doux); }

/* Éditeur de signal (admin) */
dialog.modal.xwide { width: min(1080px, calc(100vw - 1.5rem)); }
.se-grid { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .se-grid { grid-template-columns: 1.15fr 1fr; gap: 2rem; } .se-side { position: sticky; top: 0; align-self: start; } }
.se-form, .se-side { display: grid; gap: .9rem; align-content: start; }
.se h4 { font-size: .95rem; font-weight: 700; color: var(--texte-doux); margin-top: .4rem; }
.se .help { display: block; font-size: .8rem; color: var(--texte-doux); line-height: 1.35; }
.se .lbl { font-weight: 600; font-size: .95rem; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: var(--perle); }
.seg-b { min-height: 46px; border-radius: 10px; font-weight: 700; color: var(--texte-doux); }
.seg-b.buy[aria-pressed="true"] { background: #13784A; color: #fff; }
.seg-b.sell[aria-pressed="true"] { background: #B83A26; color: #fff; }
.se-results .mc-grid { grid-template-columns: repeat(2, 1fr); }

/* ---------- Notifications ---------- */
.side-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.side .bell { color: #fff; border-color: rgba(255, 255, 255, .25); background: transparent; }
.bell { position: relative; }
.bell-n { position: absolute; top: -5px; right: -5px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: #E0533D; color: #fff; font-size: .72rem; font-weight: 700; line-height: 19px; text-align: center; border: 2px solid #fff; }
.side .bell-n { border-color: var(--panel); }
.notif-list { display: grid; gap: .3rem; max-height: min(64vh, 560px); overflow-y: auto; margin: 0 -.4rem; }
.notif { width: 100%; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: .8rem; align-items: start; text-align: left; padding: .75rem .6rem; border-radius: 14px; }
.notif:hover { background: var(--perle); }
.notif.is-new { background: var(--tint-or); }
.notif-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--perle); color: var(--encre); }
.notif-ico.k-signal { background: var(--panel); color: #6EE2A4; }
.notif-ico.k-due, .notif-ico.k-payment { background: var(--or); }
.notif-ico.k-account { background: var(--tint-rouge); color: var(--txt-rouge); }
.notif-tx { display: grid; gap: .2rem; min-width: 0; }
.notif-tx b { font-size: 1rem; line-height: 1.3; }
.notif-tx span { font-size: .92rem; color: var(--texte-doux); line-height: 1.4; }
.notif-tx time { font-size: .78rem; color: var(--texte-doux); }
.notif-ask { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1rem; border-radius: 14px; background: var(--perle); font-size: .95rem; }

.banner.due { background: var(--tint-or); border-color: #EAD9A8; color: var(--encre); }
.banner.due.urgent { background: var(--tint-rouge); border-color: #F2C4BA; }
.due-list { display: grid; gap: .5rem; margin-top: .8rem; }
.due-list li { display: grid; grid-template-columns: 1.4fr 1fr auto auto auto; gap: .8rem; align-items: center; padding: .55rem 0; border-top: 1px solid var(--ligne); }
@media (max-width: 760px) { .due-list li { grid-template-columns: 1fr auto; } .due-list li > span.muted, .due-list li > span:empty { display: none; } }

/* ---------- Rendement ---------- */
.perf { display: grid; gap: 1rem; }
.perf-filters { display: grid; gap: .6rem; }
.perf-filters .chips { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; padding-bottom: 2px; }
.perf-filters .chips::-webkit-scrollbar { display: none; }
.perf-filters .chip { white-space: nowrap; flex: none; }
.stat.neg b { color: var(--txt-rouge); }
.perf-card { display: grid; gap: 1rem; padding: clamp(1.1rem, 3vw, 1.75rem); border-radius: 24px; background: var(--panel); color: #fff; }
.perf-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.perf-head h3 { font-size: 1.3rem; color: #fff; }
.perf-head p { color: rgba(255, 255, 255, .65); font-size: .9rem; margin-top: .2rem; }
.perf-head strong { font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -.03em; line-height: 1; white-space: nowrap; }
.perf-head .up { color: #6EE2A4; } .perf-head .down { color: #F08A76; }
.perf-svg { width: 100%; height: auto; display: block; font-family: var(--f-display); }
.pg-grid { stroke: rgba(255, 255, 255, .08); }
.pg-zero { stroke: rgba(255, 255, 255, .35); stroke-dasharray: 4 4; }
.pg-ax { fill: rgba(255, 255, 255, .55); font-size: 13px; }
.pg-line { fill: none; stroke: #E2B64A; stroke-width: 2.6; stroke-linejoin: round; stroke-linecap: round; }
.pg-dot { stroke: var(--encre); stroke-width: 2; }
.pg-dot.w { fill: #6EE2A4; } .pg-dot.l { fill: #F08A76; } .pg-dot.b { fill: #fff; }
.perf-empty { padding: 3rem 1rem; text-align: center; color: rgba(255, 255, 255, .6); border: 1px dashed rgba(255, 255, 255, .2); border-radius: 16px; }
.perf-legend { display: flex; flex-wrap: wrap; gap: 1.2rem; font-size: .85rem; color: rgba(255, 255, 255, .7); }
.perf-legend span::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: .45rem; background: var(--surface); }
.perf-legend .w::before { background: #6EE2A4; } .perf-legend .l::before { background: #F08A76; }
.tbl .pos { color: var(--txt-vert); font-weight: 700; } .tbl .neg { color: var(--txt-rouge); font-weight: 700; }

/* ---------- Graphiques de marché ---------- */
.tv { display: grid; gap: .8rem; }
.tv-tabs { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
.tv-tabs::-webkit-scrollbar { display: none; }
.tv-tabs .chip { white-space: nowrap; flex: none; }
.tv-frame { border-radius: 22px; overflow: hidden; background: var(--panel); height: clamp(420px, 68vh, 760px); }
.tv-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

.pair-pick { gap: .35rem; }
.pair-pick .chip[aria-pressed="true"] { background: var(--panel); color: #fff; }

/* ---------- Chat : images et notes vocales ---------- */
.composer { display: block; padding: .6rem; }
.composer-row { display: flex; gap: .45rem; align-items: flex-end; }
.composer-row .icon-btn { flex: none; width: 46px; height: 46px; }
.composer.is-busy { opacity: .6; pointer-events: none; }
.rec-bar { display: flex; align-items: center; gap: .7rem; min-height: 46px; padding: 0 .3rem; }
.rec-dot { width: 12px; height: 12px; border-radius: 50%; background: #E0533D; animation: rec 1s ease-in-out infinite alternate; }
@keyframes rec { to { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .rec-dot { animation: none; } }
.rec-time { font-weight: 700; font-variant-numeric: tabular-nums; min-width: 3ch; }
.rec-lbl { flex: 1; color: var(--texte-doux); font-size: .9rem; }
.msg-img { display: block; padding: 0; margin: .3rem 0; border-radius: 14px; overflow: hidden; max-width: min(280px, 100%); }
.msg-img img { display: block; width: 100%; height: auto; max-height: 320px; object-fit: cover; }
.img-full { width: 100%; height: auto; border-radius: 14px; display: block; }
.msg-audio { display: flex; align-items: center; gap: .5rem; margin: .3rem 0; }
.msg-audio audio { height: 38px; max-width: 230px; }
.msg-audio span { font-size: .8rem; opacity: .7; }
.chat-ttl { font-size: .82rem; color: var(--texte-doux); text-align: center; padding: .55rem 1rem; border-bottom: 1px solid var(--ligne); background: var(--fond); }
.chat-note { padding: 1rem; text-align: center; color: var(--texte-doux); border-top: 1px solid var(--ligne); }

/* ---------- Graphique de trading H&S ---------- */
.charts { display: grid; gap: .9rem; }
.charts-switch { max-width: 420px; }
.charts-switch .seg-b[aria-pressed="true"] { background: var(--panel); color: #fff; }
.tc { display: grid; gap: .8rem; padding: clamp(.9rem, 2.4vw, 1.4rem); border-radius: 24px; background: #0B1730; color: #fff; }
.tc-head { display: grid; gap: .7rem; }
.tc-pairs { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
.tc-pairs::-webkit-scrollbar { display: none; }
.tc .chip { background: rgba(255, 255, 255, .07); color: rgba(255, 255, 255, .75); white-space: nowrap; flex: none; }
.tc .chip[aria-pressed="true"] { background: var(--or); color: var(--on-or); }
.tc-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .6rem 1rem; }
.tc-quote { display: flex; align-items: baseline; gap: .7rem; }
.tc-quote strong { font-size: 1.1rem; color: rgba(255, 255, 255, .75); }
.tc-quote b { font-size: clamp(1.6rem, 3.6vw, 2.2rem); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.tc-quote .up { color: #6EE2A4; font-weight: 600; } .tc-quote .down { color: #F08A76; font-weight: 600; }
.tc-tools { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.tc-tools .icon-btn { background: rgba(255, 255, 255, .07); color: #fff; border-color: transparent; font-size: 1.2rem; font-weight: 700; }
.tc-tf { background: rgba(255, 255, 255, .07); grid-template-columns: repeat(4, auto); }
.tc-tf .seg-b { min-height: 36px; padding: 0 .7rem; color: rgba(255, 255, 255, .7); }
.tc-tf .seg-b[aria-pressed="true"] { background: var(--surface); color: var(--encre); }
.tc-tools .btn[aria-pressed="true"] { background: var(--surface); border-color: #fff; }
.tc-body { display: grid; gap: .8rem; }
@media (min-width: 1100px) { .tc.has-ticket .tc-body { grid-template-columns: minmax(0, 1fr) 300px; } }
.tc-stage { position: relative; min-height: 360px; border-radius: 16px; overflow: hidden; background: #0E1C38; }
.tc-svg { display: block; width: 100%; height: auto; font-family: var(--f-display); touch-action: pan-y; }
.tc-msg { display: grid; place-items: center; min-height: 360px; color: rgba(255, 255, 255, .7); padding: 1rem; text-align: center; }
.tc-grid { stroke: rgba(255, 255, 255, .06); }
.tc-ax { fill: rgba(255, 255, 255, .5); font-size: 11.5px; }
.tc-up { fill: #3FCB8C; stroke: #3FCB8C; } .tc-dn { fill: #F0725D; stroke: #F0725D; }
.tc-up.w, .tc-dn.w { stroke-width: 1.2; fill: none; }
.tc-zone.win { fill: rgba(63, 203, 140, .12); } .tc-zone.risk { fill: rgba(240, 114, 93, .13); }
.tc-l { stroke-width: 1.6; stroke-dasharray: 6 5; }
.tc-l.in { stroke: #fff; stroke-dasharray: none; } .tc-l.sl { stroke: #F0725D; } .tc-l.tp { stroke: #3FCB8C; }
.tc-lab { font-size: 12px; font-weight: 700; }
.tc-lab.in { fill: #fff; } .tc-lab.sl { fill: #F0725D; } .tc-lab.tp { fill: #3FCB8C; }
.tc-tag.in { fill: #fff; } .tc-tag.sl { fill: #E0533D; } .tc-tag.tp { fill: #1E9E66; } .tc-tag.last { fill: var(--or); }
.tc-tagt { fill: #fff; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.tc-tag.in + .tc-tagt, .tc-tagt.dark { fill: var(--encre); }
.tc-last { stroke: var(--or); stroke-width: 1; stroke-dasharray: 2 3; }
.tc-hit { stroke: #0B1730; stroke-width: 2.5; } .tc-hit.tp { fill: #3FCB8C; } .tc-hit.sl { fill: #F0725D; } .tc-hit.be { fill: #fff; }
.tc-cross line { stroke: rgba(255, 255, 255, .45); stroke-dasharray: 3 3; }
.tc-cross rect { fill: #fff; } .tc-cross text { fill: var(--encre); font-size: 12px; font-weight: 700; }
.tc-hitarea { cursor: crosshair; } .tc-hitarea.pick { cursor: copy; }
.tc-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1.2rem; font-size: .82rem; color: rgba(255, 255, 255, .6); }
.tc-ohlc { font-variant-numeric: tabular-nums; } .tc-ohlc b { color: #fff; margin-right: .5rem; }

/* Ticket de trade (admin) */
.tc-ticket { display: grid; gap: .6rem; padding: 1rem; border-radius: 18px; background: var(--surface); color: var(--encre); align-content: start; }
.tk-head { display: grid; gap: .2rem; }
.tk-head b { font-size: 1.05rem; } .tk-head span { font-size: .8rem; color: var(--texte-doux); }
.tk-row { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; gap: .5rem; padding: .25rem; border-radius: 12px; }
.tk-row.is-pick { background: var(--tint-or); box-shadow: inset 0 0 0 2px var(--or); }
.tk-pick { text-align: left; font-weight: 700; font-size: .9rem; padding: .4rem .5rem; border-radius: 8px; }
.tk-row.in .tk-pick { color: var(--encre); } .tk-row.sl .tk-pick { color: var(--txt-rouge); } .tk-row.tp .tk-pick { color: var(--txt-vert); }
.tk-row input { width: 100%; min-height: 42px; padding: .45rem .7rem .35rem; border: 1.5px solid var(--ligne); border-radius: 10px; font-size: 1.05rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.tk-now { justify-self: end; font-size: .82rem; margin-top: -.3rem; }
.tk-calc { display: grid; grid-template-columns: repeat(4, 1fr); gap: .35rem; padding: .6rem; border-radius: 12px; background: var(--perle); }
.tk-calc div { display: grid; gap: .1rem; } .tk-calc small { font-size: .7rem; color: var(--texte-doux); font-weight: 600; }
.tk-calc b { font-size: .95rem; font-variant-numeric: tabular-nums; } .tk-calc .sl { color: var(--txt-rouge); } .tk-calc .tp { color: var(--txt-vert); }
.tk-ref { font-size: .76rem; color: var(--texte-doux); }
.tc-ticket textarea { width: 100%; border: 1.5px solid var(--ligne); border-radius: 10px; padding: .55rem .7rem; font-size: .92rem; resize: vertical; }
.tk-err { color: var(--txt-rouge); font-weight: 600; font-size: .88rem; }
.sc-chart { color: var(--or-clair); font-size: .85rem; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Graphique : outils de dessin, plein écran, nouveau ticket ---------- */
.tc-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem; }
.tc-drawtools { display: flex; flex-wrap: wrap; gap: .3rem; padding: .25rem; border-radius: 14px; background: rgba(255, 255, 255, .06); }
.tc-drawtools .tool { display: inline-flex; align-items: center; gap: .35rem; min-height: 38px; padding: 0 .65rem; border-radius: 10px; color: rgba(255, 255, 255, .78); font-size: .85rem; font-weight: 600; }
.tc-drawtools .tool[aria-pressed="true"] { background: var(--or); color: var(--on-or); }
.tc-drawtools .tool:hover { background: rgba(255, 255, 255, .1); }
@media (max-width: 760px) { .tc-drawtools .tool span { display: none; } }
.tc-share { gap: .45rem; }
.tc-bg { fill: #0E1C38; }
.tc-draw line, .tc-draw circle { stroke: #7FB2FF; stroke-width: 2; }
.tc-draw circle { fill: #0E1C38; }
.tc-draw .h { stroke: #C8A6FF; stroke-dasharray: 8 4; }
.tc-draw .lbl { fill: #C8A6FF; font-size: 11.5px; font-weight: 700; }
.tc-draw .z { fill: rgba(127, 178, 255, .14); stroke: #7FB2FF; stroke-width: 1.5; }
.tc-draw .tx { fill: #fff; font-size: 14px; font-weight: 700; paint-order: stroke; stroke: #0E1C38; stroke-width: 4px; }
.tc-draw.preview { opacity: .7; }
.tc.is-max, .tc:fullscreen { position: fixed; inset: 0; z-index: 1000; width: 100vw; height: 100dvh; border-radius: 0; display: flex; flex-direction: column; overflow: hidden; padding: max(.6rem, env(safe-area-inset-top)) max(.8rem, env(safe-area-inset-right)) max(.6rem, env(safe-area-inset-bottom)) max(.8rem, env(safe-area-inset-left)); gap: .5rem; }
.tc.is-max .tc-body { flex: 1; min-height: 0; grid-template-rows: minmax(0, 1fr); }
.tc.is-max .tc-stage { height: 100%; min-height: 0; }
.tc.is-max .tc-svg { width: 100%; height: 100%; }
.tc.is-max.has-ticket .tc-body { grid-template-columns: minmax(0, 1fr) 300px; }
.tc.is-max .tc-ticket-box { overflow-y: auto; min-height: 0; }
@media (max-width: 760px) { .tc.is-max .tc-pairs, .tc.is-max .tc-inds { display: none; } .tc.is-max.has-ticket .tc-body { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) minmax(0, 42%); } }
body.tc-max-open { overflow: hidden; }

.tk-head { position: relative; }
.tk-dir { justify-self: start; padding: .25rem .7rem .15rem; border-radius: 999px; font-size: .8rem; font-weight: 700; color: #fff; }
.tk-dir.buy { background: #13784A; } .tk-dir.sell { background: #B83A26; }
.tk-help { font-size: .78rem; color: var(--texte-doux); }
.tk-grid3 { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: .35rem; }
.tk-money { display: grid; gap: .2rem; }
.tk-money small { font-size: .72rem; font-weight: 700; color: var(--texte-doux); }
.tk-money span { display: flex; align-items: center; border: 1.5px solid var(--ligne); border-radius: 10px; padding-right: .5rem; background: var(--surface); }
.tk-money input { width: 100%; min-width: 0; border: 0; padding: .5rem .55rem .4rem; font-size: 1rem; font-weight: 700; background: transparent; }
.tk-money em { font-style: normal; color: var(--texte-doux); font-weight: 600; }
.tk-ratio { display: grid; gap: .3rem; }
.tk-ratio small { font-size: .72rem; font-weight: 700; color: var(--texte-doux); }
.tk-ratio .chip { padding: .35rem .7rem .28rem; font-size: .85rem; }
.tk-warn { font-size: .8rem; color: var(--txt-ambre); background: var(--tint-or); padding: .5rem .6rem; border-radius: 10px; }
.tk-err:not([hidden]) { display: block; padding: .6rem .7rem; border-radius: 10px; background: var(--tint-rouge); }

/* ---------- Analyse technique ---------- */
.ta-card { padding: 0; overflow: hidden; display: grid; }
.ta-img { display: block; padding: 0; background: #0E1C38; }
.ta-img img { width: 100%; height: auto; display: block; aspect-ratio: 16 / 9; object-fit: cover; }
.ta-body { display: grid; gap: .5rem; padding: 1rem 1.1rem 1.2rem; }
.ta-meta { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; }
.ta-date { margin-left: auto; font-size: .82rem; }
.ta-text { color: var(--texte-doux); white-space: pre-line; }
.sub-h { font-size: 1.25rem; margin: .4rem 0 .2rem; }

/* ---------- Analyse fondamentale ---------- */
.fa-card { display: grid; gap: .5rem; border-left: 5px solid var(--ligne); }
.fa-card.impact-high { border-left-color: #E0533D; } .fa-card.impact-medium { border-left-color: var(--or); }
.fa-top { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.fa-imp { padding: .25rem .65rem .18rem; border-radius: 999px; font-size: .78rem; font-weight: 700; background: var(--perle); color: var(--texte-doux); }
.fa-imp.high { background: var(--tint-rouge); color: var(--txt-rouge); } .fa-imp.medium { background: var(--tint-or); color: var(--txt-ambre); }
.fa-cc { padding: .22rem .55rem .15rem; border-radius: 8px; background: var(--panel); color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .04em; }
.fa-until { margin-left: auto; font-size: .82rem; font-weight: 700; color: var(--txt-rouge); }
.fa-when { font-weight: 600; }
.fa-nums { display: flex; gap: 1.2rem; margin: 0; }
.fa-nums div { display: grid; } .fa-nums dt { font-size: .75rem; color: var(--texte-doux); } .fa-nums dd { margin: 0; font-weight: 700; }
.fa-pairs { font-size: .9rem; color: var(--texte-doux); } .fa-pairs b { color: var(--encre); }
.fa-text { white-space: pre-line; padding: .7rem .8rem; border-radius: 12px; background: var(--perle); }
.cal-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .5rem; }
.cal-list { display: grid; }
.cal-list li { display: grid; grid-template-columns: 9.5rem 3.4rem 4.6rem minmax(0, 1fr) auto; gap: .7rem; align-items: center; padding: .65rem 0; border-top: 1px solid var(--ligne); }
.cal-when { font-size: .88rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.cal-t { display: grid; } .cal-t small { color: var(--texte-doux); font-size: .8rem; }
@media (max-width: 760px) { .cal-list li { grid-template-columns: auto auto 1fr; } .cal-list li .cal-t { grid-column: 1 / -1; } .cal-list li .btn { grid-column: 1 / -1; justify-self: start; } }

/* Menu mobile carré qui se déplie */
.sq-btn { position: relative; z-index: 61; width: 46px; height: 46px; border-radius: 14px; background: var(--panel); color: #fff; display: grid; place-items: center; flex: none; transition: background .25s; }
.sq-ic { display: grid; grid-template-columns: 7px 7px; gap: 4px; transition: transform .35s cubic-bezier(.3, 1.4, .5, 1); }
.sq-ic i { width: 7px; height: 7px; border-radius: 2px; background: currentColor; }
.sq-btn[aria-expanded="true"] { background: var(--or-grad, #D8AD4C); color: var(--on-or); }
.sq-btn[aria-expanded="true"] .sq-ic { transform: rotate(45deg); }
.mm { position: fixed; inset: 0; z-index: 60; background: rgba(7, 18, 42, .32); opacity: 0; pointer-events: none; transition: opacity .2s; }
.mm.open { opacity: 1; pointer-events: auto; }
.mm-card { position: absolute; top: calc(70px + env(safe-area-inset-top, 0px)); right: var(--gutter); left: var(--gutter); max-height: calc(100dvh - 90px); overflow-y: auto; padding: .7rem; border-radius: 22px; background: var(--surface); box-shadow: 0 24px 60px rgba(7, 18, 42, .28); transform-origin: calc(100% - 23px) -20px; transform: scale(.2); opacity: 0; transition: transform .32s cubic-bezier(.2, .9, .25, 1.05), opacity .18s; }
.mm.open .mm-card { transform: none; opacity: 1; }
.shell.is-preview .mm-card { top: 114px; }
.mm .tabbar { position: static; display: grid; grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .45rem; padding: 0; background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; overflow: visible; }
.mm .tab { position: relative; display: grid; justify-items: center; gap: .35rem; padding: .95rem .3rem .75rem; border-radius: 14px; background: var(--perle, #F1F3F7); font-size: .8rem; font-weight: 600; color: var(--encre, #0F1F3D); text-align: center; }
.mm .tab[aria-current="page"] { background: var(--panel); color: #fff; }
.mm .tab[aria-current="page"]::before { display: none; }
.mm .tab .badge-dot { position: absolute; top: .55rem; right: .7rem; width: 9px; height: 9px; border-radius: 50%; background: var(--bougie, #E0533D); }
.mm .tab:last-child:nth-child(3n+1) { grid-column: 1 / -1; display: flex; justify-content: center; align-items: center; gap: .6rem; }
.mm-foot { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; margin-top: .45rem; }
.mm-act { display: flex; align-items: center; justify-content: center; gap: .45rem; min-height: 48px; border-radius: 14px; border: 1px solid var(--ligne); font-weight: 600; font-size: .9rem; }
body.mm-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .mm-card, .sq-ic { transition: none; } }

/* Graphique H&S : navigation, indicateurs, tracés */
.tc-tf { position: relative; }
.tc-tf .tc-tf-pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px - 12px) / 4); border-radius: 10px; background: var(--surface); transform: translateX(calc(var(--i, 1) * (100% + 4px))); transition: transform .32s cubic-bezier(.3, 1.2, .4, 1); }
.tc-tf { grid-template-columns: repeat(4, minmax(48px, 1fr)); }
.tc-tf .seg-b { position: relative; z-index: 1; transition: color .25s; }
.tc-tf .seg-b[aria-pressed="true"] { background: transparent; color: var(--encre); }
.tc-nav { display: flex; gap: .3rem; }
.tc-nav .icon-btn { width: 40px; height: 40px; }
.tc-stage { touch-action: pan-y; }
.tc-stage::after { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--or); opacity: 0; transition: opacity .2s; }
.tc-stage.is-loading::after, .tc-stage.is-switch::after { opacity: 1; animation: tcbar 1s ease-in-out infinite; }
@keyframes tcbar { from { left: 0; width: 0; } 50% { left: 20%; width: 50%; } to { left: 100%; width: 0; } }
.tc-stage .tc-svg { transition: opacity .25s, filter .25s; }
.tc-stage.is-switch .tc-svg { opacity: .45; filter: blur(1.5px); }
.tc-in { animation: tcin .35s ease-out; }
@keyframes tcin { from { opacity: 0; } }
.tc-hitarea { cursor: grab; } .tc-hitarea.grabbing { cursor: grabbing; } .tc-hitarea.grab-lvl { cursor: ns-resize; } .tc-hitarea.pick { cursor: crosshair; }
.tc-inds { flex-wrap: wrap; }
.tc .chip.ind { display: inline-flex; align-items: center; gap: .45rem; font-size: .82rem; }
.ind-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .4); }
.ind-dot.trend { background: linear-gradient(90deg, #3FCB8C 50%, #F0725D 50%); } .ind-dot.vp { background: #E2B64A; }
.tc .chip.ind[aria-pressed="false"] { opacity: .65; }
.tc .chip.ind[aria-pressed="true"] { background: rgba(255, 255, 255, .16); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.tc-trend { font-size: .78rem; font-weight: 700; padding: .25rem .65rem .18rem; border-radius: 999px; align-self: center; }
.tc-trend.s1 { background: rgba(63, 203, 140, .16); color: #6EE2A4; } .tc-trend.s-1 { background: rgba(240, 114, 93, .16); color: #F49A88; } .tc-trend.s0 { background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .6); }
.tc-quote { flex-wrap: wrap; }
.tc-st { fill: none; stroke-width: 2.2; stroke-linejoin: round; }
.tc-st.s1 { stroke: #3FCB8C; } .tc-st.s-1 { stroke: #F0725D; } .tc-st.s0 { stroke: rgba(255, 255, 255, .35); stroke-dasharray: 4 4; }
.tc-stm.s1 { fill: #3FCB8C; } .tc-stm.s-1 { fill: #F0725D; }
.tc-vp { fill: rgba(226, 182, 74, .16); } .tc-vp.va { fill: rgba(226, 182, 74, .32); } .tc-vp.poc { fill: rgba(226, 182, 74, .7); }
.tc-poc { stroke: #E2B64A; stroke-width: 1; stroke-dasharray: 6 4; opacity: .8; }
.tc-poct { fill: #E2B64A; font-size: 11px; font-weight: 700; }
.tc-draw .fz { fill: rgba(226, 182, 74, .16); stroke: none; }
.tc-draw .fl { stroke: rgba(255, 255, 255, .4); stroke-width: 1; } .tc-draw .fl.k { stroke: #E2B64A; stroke-width: 1.4; }
.tc-draw .fd { stroke: rgba(255, 255, 255, .5); stroke-width: 1; stroke-dasharray: 3 4; }
.tc-draw .fbt { fill: rgba(255, 255, 255, .7); font-size: 11px; font-weight: 600; } .tc-draw .fbt.k { fill: #E2B64A; font-weight: 700; }
.tc-draw.sel { filter: drop-shadow(0 0 4px rgba(255, 255, 255, .55)); }
.tc-draw .hd { fill: #fff; stroke: #0E1C38; stroke-width: 1.5; }
.tc-meas .mz { fill: rgba(127, 178, 255, .12); } .tc-meas.dn .mz { fill: rgba(240, 114, 93, .12); }
.tc-meas line { stroke: #7FB2FF; stroke-width: 1.5; stroke-dasharray: 4 3; }
.tc-meas .mb { fill: #7FB2FF; } .tc-meas.dn .mb { fill: #F0725D; } .tc-meas .mt { fill: #0B1730; font-size: 11.5px; font-weight: 700; }
.tc-lv.drag .tc-l { stroke-width: 2; } .tc-lv.on .tc-l { stroke-width: 3; }
.tc-grip { fill: rgba(255, 255, 255, .14); } .tc-gripl { stroke: rgba(255, 255, 255, .85); stroke-width: 1.5; }
.tool-sep { width: 1px; align-self: stretch; margin: .3rem .2rem; background: rgba(255, 255, 255, .15); }
.tc-drawtools .tool:disabled { opacity: .35; pointer-events: none; }
.tk-ratio-row { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.tk-rin { display: flex; align-items: center; gap: .3rem; font-weight: 700; }
.tk-rin input { width: 70px; min-height: 38px; padding: .35rem .5rem .25rem; border: 1.5px solid var(--or); border-radius: 10px; font-size: 1rem; font-weight: 700; text-align: center; }
.tv-head { display: flex; align-items: center; gap: .6rem; }
.tv-head .tv-tabs { flex: 1; min-width: 0; }
.tv-fs { flex: none; }
.tv-note { font-size: .82rem; }
.tv.is-max, .tv:fullscreen { position: fixed; inset: 0; z-index: 1000; background: var(--panel); padding: max(.6rem, env(safe-area-inset-top)) .8rem max(.6rem, env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: .5rem; width: 100vw; height: 100dvh; }
.tv.is-max .tv-frame { flex: 1; height: auto; border-radius: 14px; }
.tv.is-max .tv-note { display: none; }
.tv.is-max .chip { background: rgba(255, 255, 255, .08); color: #fff; } .tv.is-max .tv-fs { background: rgba(255, 255, 255, .1); color: #fff; }
@media (prefers-reduced-motion: reduce) { .tc-tf .tc-tf-pill, .tc-in, .tc-stage .tc-svg { transition: none; animation: none; } }
.tc-ticket .chip { background: var(--perle); color: var(--encre); }
.tc-ticket .chip[aria-pressed="true"] { background: var(--or); color: var(--on-or); }
.tk-head .tk-dir { color: #fff; font-size: .8rem; }
.banner.push { align-items: center; }
.banner.push .btn { margin-left: auto; flex: none; }
.banner-x { flex: none; width: 32px; height: 32px; border-radius: 10px; font-size: 1.3rem; line-height: 1; color: var(--texte-doux); }

/* Espace membre mobile : compact, l'essentiel en un écran */
@media (max-width: 699px) {
  .main { padding: .6rem 14px 1.5rem; }
  .topbar { padding: .55rem 14px; }
  .topbar .brand .brand-text span { display: none; }
  .page-title { margin-block: .3rem .8rem; }
  .page-title h1 { font-size: 1.55rem; }
  .page-title p { font-size: .9rem; margin-top: .15rem; }
  .sc { padding: 1rem 1.1rem; gap: .6rem; border-radius: 20px; }
  .sc-row { padding: .5rem 0 .35rem; }
  .sc-row dd { font-size: 1.6rem; }
  .sc-row dt { font-size: .92rem; }
  .banner { padding: .65rem .85rem; font-size: .9rem; margin-bottom: .8rem; }
  .tc { padding: .7rem; gap: .55rem; border-radius: 18px; }
  .tc-nav .icon-btn { width: 36px; height: 36px; }
  .sc-rows { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; }
  .sc-row { display: grid; gap: .25rem; justify-content: stretch; padding: .6rem .6rem .45rem; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .06); }
  .sc-row dt { font-size: .75rem; }
  .sc-row dd { font-size: 1.15rem; letter-spacing: -.01em; }
  .mc { padding: .8rem; gap: .55rem; }
  .mc-in input { min-height: 42px; }
}

/* Mode nuit : champs et cartes */
.composer textarea { background: var(--surface); color: var(--encre); }
:root[data-theme="dark"] body.app { background: var(--papier); }
:root[data-theme="dark"] .side { background: linear-gradient(170deg, #12213F, #0D1830 55%, #070E1D); border-right: 1px solid var(--ligne); }
:root[data-theme="dark"] .gate { background: #060C19; }
:root[data-theme="dark"] .gate-card { box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8); }
:root[data-theme="dark"] .mm { background: rgba(0, 0, 0, .5); }
:root[data-theme="dark"] .mm-card, :root[data-theme="dark"] .menu-card { box-shadow: 0 24px 60px rgba(0, 0, 0, .55); border: 1px solid var(--ligne); }
:root[data-theme="dark"] .mm .tab[aria-current="page"] { background: var(--or); color: var(--on-or); }
:root[data-theme="dark"] .sq-btn { background: var(--panel-2); }
:root[data-theme="dark"] .err { color: #F49A88; }
:root[data-theme="dark"] .tk-warn { color: #E7C66F; }
:root[data-theme="dark"] .tk-err:not([hidden]) { color: #F49A88; }
:root[data-theme="dark"] .tc-ticket { border: 1px solid var(--ligne); }
.dev-list { display: grid; gap: .5rem; }
.dev-list li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .8rem .9rem; border-radius: 14px; background: var(--fond); }
.dev-list li div { display: grid; gap: .15rem; } .dev-list .muted { font-size: .85rem; }
.dev-btn { font-size: inherit; }
.mc-lot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem .95rem .65rem; border-radius: 14px; background: var(--or); color: var(--on-or); }
.mc-lot div { display: grid; gap: .1rem; }
.mc-lot small { font-size: .78rem; font-weight: 700; }
.mc-lot b { font-size: 2rem; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.mc-lot.is-empty { background: var(--perle); color: var(--texte-doux); }
.mc-copy { padding: .5rem .9rem .4rem; border-radius: 999px; background: var(--on-or); color: var(--or); font-weight: 700; font-size: .85rem; }
.mc-cap, .mm-alert { display: grid; gap: .15rem; padding: .6rem .8rem; border-radius: 12px; background: var(--tint-rouge); color: var(--txt-rouge); font-size: .88rem; font-weight: 600; }
.mm-alert b { font-size: .95rem; }
.mm-alert span { font-weight: 500; }
@media (hover: none) { .msg.me .del { opacity: .9; } }
.msg.me { padding-right: 2.4rem; }
.msg.confirm .del { opacity: 1; width: auto; padding: 0 .55rem; font-size: .75rem; font-weight: 700; background: var(--rouge); color: #fff; border-color: transparent; }
.msg.gone { opacity: 0; transform: scale(.92); transition: opacity .25s, transform .25s; }

/* ---------- Vie de l'espace : apparitions, salut du jour, chiffres ---------- */
@media (prefers-reduced-motion: no-preference) {
  .view > *, .view .grid > *, .view .sc-list > *, .view .stats > *, .view .tbl tbody tr, .view .people > *, .view .ta-list > *, .view .feat > * { animation: up .55s cubic-bezier(.2, .8, .2, 1) both; }
  .view > *:nth-child(2) { animation-delay: .06s; } .view > *:nth-child(3) { animation-delay: .12s; } .view > *:nth-child(4) { animation-delay: .18s; }
  .view .grid > *:nth-child(2), .view .stats > *:nth-child(2), .view .tbl tbody tr:nth-child(2) { animation-delay: .07s; }
  .view .grid > *:nth-child(3), .view .stats > *:nth-child(3), .view .tbl tbody tr:nth-child(3) { animation-delay: .14s; }
  .view .grid > *:nth-child(4), .view .stats > *:nth-child(4), .view .tbl tbody tr:nth-child(4) { animation-delay: .21s; }
  .view .grid > *:nth-child(n+5), .view .stats > *:nth-child(n+5), .view .tbl tbody tr:nth-child(n+5) { animation-delay: .28s; }
  .pt-ico { animation: popin .5s cubic-bezier(.3, 1.6, .5, 1) .1s both; }
  .mc-lot.pop b { animation: pop .45s cubic-bezier(.3, 1.6, .5, 1); }
  .hello-spark { animation: float 3.6s ease-in-out infinite; }
  .sq-btn:active, .btn:active, .chip:active, .icon-btn:active { transform: scale(.95); }
  .sc, .stat, .mc-cell, .ta, .course { transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .sc:hover, .stat:hover, .ta:hover, .course:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(7, 18, 42, .45); } }
@keyframes up { from { opacity: 0; transform: translateY(14px); } }
@keyframes popin { from { opacity: 0; transform: scale(.4) rotate(-20deg); } }
@keyframes pop { 40% { transform: scale(1.18); } }
@keyframes float { 50% { transform: translateY(-5px) rotate(4deg); } }
.page-title h1 { display: flex; align-items: center; gap: .55rem; }
.pt-ico { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--or); color: var(--on-or); flex: none; }
.hello { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .85rem 1.1rem .75rem; margin-bottom: .9rem; border-radius: 18px; background: linear-gradient(120deg, var(--panel), var(--panel-2)); color: #fff; overflow: hidden; position: relative; }
.hello div { display: grid; gap: .1rem; }
.hello b { font-size: 1.15rem; }
.hello span { color: var(--or-clair, #E7C66F); font-size: .92rem; font-weight: 600; }
.hello-spark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: rgba(216, 173, 76, .18); color: var(--or); flex: none; }
.hello::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 220, 140, .16) 50%, transparent 65%); transform: translateX(-120%); animation: shine 7s ease-in-out 1s infinite; pointer-events: none; }
@keyframes shine { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.confetti { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 2000; }
@media (prefers-reduced-motion: reduce) { .hello::after { display: none; } }
.stat.gold, .stat.gold b { color: var(--on-or); } .stat.gold span { color: color-mix(in srgb, var(--on-or) 80%, transparent); }
.notif-ico.k-due, .notif-ico.k-payment { color: var(--on-or); }

/* Annonces */
.an { display: grid; gap: 1rem; max-width: 760px; }
.an-new { display: grid; gap: .8rem; }
.an-new textarea { width: 100%; border: 1.5px solid var(--ligne); border-radius: 14px; padding: .8rem 1rem; font-size: 1rem; background: var(--surface); color: var(--encre); resize: vertical; }
.an-how { display: flex; gap: .6rem; align-items: flex-start; padding: .7rem .85rem; border-radius: 12px; background: var(--tint-or); color: var(--encre); font-size: .9rem; }
.an-how svg { flex: none; color: var(--or-encre); margin-top: .1rem; }
.an-list { display: grid; gap: .5rem; }
.an-list li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .75rem .9rem; border-radius: 14px; background: var(--surface); border: 1px solid var(--ligne); }
.an-list li.is-on { border-color: var(--or); box-shadow: inset 3px 0 0 var(--or); }
.an-list p { font-weight: 600; } .an-list small { color: var(--texte-doux); font-size: .8rem; } .an-list small b { color: var(--or-encre); }
.an-sec { font-size: .82rem; display: flex; align-items: center; gap: .3rem; }
/* Couverture des formations */
.img-drop { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 7; border-radius: 16px; border: 1.5px dashed var(--ligne-forte); background: var(--fond); cursor: pointer; overflow: hidden; transition: border-color .2s; }
.img-drop:hover { border-color: var(--or); }
.img-drop-prev { width: 100%; height: 100%; display: grid; place-items: center; }
.img-drop-prev img { width: 100%; height: 100%; object-fit: cover; }
.img-drop-prev span { display: grid; justify-items: center; gap: .4rem; color: var(--texte-doux); font-weight: 600; font-size: .9rem; }
.cv-cell { display: flex; align-items: center; gap: .7rem; }
.cv-thumb { width: 56px; height: 36px; border-radius: 8px; object-fit: cover; flex: none; }
.cv-empty { display: grid; place-items: center; background: var(--fond); color: var(--texte-doux); }
.pair-in { text-transform: uppercase; }

/* Graphique H&S plus compact : boutons et textes réduits */
.tc { gap: .55rem; }
.tc .chip { padding: .38rem .75rem .3rem; font-size: .8rem; min-height: 0; }
.tc-quote b { font-size: clamp(1.35rem, 2.6vw, 1.8rem); }
.tc-quote strong { font-size: .95rem; }
.tc-tf .seg-b { min-height: 32px; padding: 0 .55rem; font-size: .82rem; }
.tc-tools .icon-btn, .tc-nav .icon-btn { width: 34px; height: 34px; border-radius: 10px; }
.tc-tools .icon-btn svg { width: 16px; height: 16px; }
.tc-tools .btn--sm { min-height: 34px; padding: .1rem .85rem 0; font-size: .85rem; }
.tc-drawtools .tool { min-height: 32px; padding: 0 .5rem; font-size: .78rem; gap: .3rem; }
.tc-drawtools .tool svg { width: 15px; height: 15px; }
.tc-share { min-height: 34px; padding: .1rem .85rem 0; font-size: .82rem; }
.tc-toolbar { flex-wrap: nowrap; gap: .4rem; }
.tc-drawtools { flex: 1; min-width: 0; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
.tc-drawtools::-webkit-scrollbar { display: none; }
.tc-inds .chip.ind { font-size: .75rem; }
.tc-ax { font-size: 11px; }
.tc-draw .vpz { fill: rgba(226, 182, 74, .05); stroke: rgba(226, 182, 74, .35); stroke-dasharray: 3 3; }
.tc-draw .vpb { fill: rgba(226, 182, 74, .3); stroke: none; } .tc-draw .vpb.poc { fill: rgba(226, 182, 74, .75); }
.tc-draw .vpl { stroke: #E2B64A; stroke-width: 1; stroke-dasharray: 5 4; }
.charts-switch { display: inline-grid; grid-template-columns: auto auto; margin-bottom: .6rem; }
.charts-switch .seg-b { min-height: 36px; padding: 0 1rem; font-size: .88rem; }
.tv-frame { height: clamp(420px, 68vh, 760px); }
.tc-drawtools .tool, .tc-drawtools .tool svg { flex: none; }
.tc { grid-template-columns: minmax(0, 1fr); } .tc > * { min-width: 0; }

.notif-k { font-size: .74rem; font-weight: 700; color: var(--or-encre); }
.notif-k time { font-weight: 500; color: var(--texte-doux); }
.notif-k.k-signal { color: var(--txt-vert); } .notif-k.k-due, .notif-k.k-payment { color: var(--txt-ambre); } .notif-k.k-account { color: var(--txt-rouge); }
.notif-go { font-style: normal; font-size: .8rem; font-weight: 700; color: var(--encre); margin-top: .15rem; }
.img-drop { aspect-ratio: auto; height: 170px; }
