/* Layout: barre collante (marque, palier, état du flux), grille 2 colonnes en bureau (marché | portefeuille + news), onglets en bas sur mobile. */
:root{
  --bg:#0A0A0A; --surface:#121212; --surface-2:#1A1A1A; --ink:#F5F5EF; --ink-2:#B3B3AB; --ink-3:#86867F;
  --line:#2A2A2A; --accent:#FF8A00; --accent-ink:#0A0A0A; --accent-soft:#2E1E0A;
  --up:#3DD598; --down:#FF7A62; --up-soft:rgba(61,213,152,.16); --down-soft:rgba(255,122,98,.16);
  --c1:#FF8A00; --c2:#3CC7BF; --c3:#F0B03A; --c4:#E566A5; --c5:#8F8F88;
  --f-display:'IBM Plex Mono',ui-monospace,SFMono-Regular,Menlo,monospace;
  --f-body:'IBM Plex Sans',system-ui,-apple-system,'Segoe UI',sans-serif;
  --f-mono:'IBM Plex Mono',ui-monospace,SFMono-Regular,Menlo,monospace;
  color-scheme:dark;
}
*{box-sizing:border-box}
body{
  font-family:var(--f-body); font-size:14px; line-height:1.45; background:var(--bg); color:var(--ink);
  padding-block:0 88px;
  padding-left:max(16px,env(safe-area-inset-left,0px)); padding-right:max(16px,env(safe-area-inset-right,0px));
}
body::before{content:""; position:fixed; inset:0 0 auto; height:env(safe-area-inset-top,0px); z-index:10; background:var(--bg)}
html,body{touch-action:pan-x pan-y}
h1,h2,h3,p,ul,ol{margin:0}
ul,ol{padding:0;list-style:none}
button,input,select{font:inherit; color:inherit}
button{cursor:pointer}
:focus-visible{outline:2px solid var(--accent); outline-offset:2px}
.wrap{max-width:1360px; margin:0 auto}
.num,.mono{font-family:var(--f-mono); font-variant-numeric:tabular-nums}
.up{color:var(--up)} .down{color:var(--down)}

/* Barre du haut */
.top{position:sticky; top:env(safe-area-inset-top,0px); z-index:5; background:var(--bg); padding-block:12px 10px; border-bottom:1px solid var(--line); margin-bottom:16px}
.bar{display:flex; flex-wrap:wrap; align-items:center; gap:10px 20px}
.brand{display:flex; align-items:center; gap:10px; margin-right:auto; min-width:0}
.brand svg{flex:none; color:var(--accent)}
.logo-img{display:block; height:30px; width:auto; flex:none}
.brand b{font-family:var(--f-display); font-size:20px; font-weight:700; letter-spacing:-.01em}
.brand small{color:var(--ink-3); font-size:12px; text-transform:uppercase; letter-spacing:.08em}
.tier{display:inline-flex; background:var(--surface-2); border:1px solid var(--line); border-radius:8px; padding:3px; gap:2px}
.tier button{border:0; background:transparent; padding:6px 14px; border-radius:6px; font-weight:600; font-size:13px; color:var(--ink-2)}
.tier button[aria-checked="true"]{background:var(--accent); color:var(--accent-ink)}
.status{white-space:nowrap; flex:none; display:inline-flex; align-items:center; gap:8px; font-size:12px; color:var(--ink-2); border:1px solid var(--line); border-radius:999px; padding:5px 11px; background:var(--surface)}
.status.live,.status{display:inline-flex}
.status i{flex:none; width:8px; height:8px; border-radius:50%; background:var(--c3)}
.status.live i{background:var(--up)}
.status.qlimp i{background:#F0B03A}
.status.qoff i{background:var(--down)}
.tiernote{flex-basis:100%; color:var(--ink-2); font-size:13px}
.tiernote b{color:var(--ink); font-weight:600}

/* Panneaux */
.main{display:grid; gap:16px}
.col{display:contents}
.panel{background:var(--surface); border:1px solid var(--line); border-radius:10px; padding:16px; min-width:0}
.ph{display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px 12px; margin-bottom:12px}
.ph h2{font-family:var(--f-display); font-size:18px; font-weight:700; letter-spacing:-.01em}
.tag{font-size:11px; text-transform:uppercase; letter-spacing:.07em; color:var(--ink-2); background:var(--surface-2); border:1px solid var(--line); border-radius:4px; padding:2px 7px; white-space:nowrap}
.tag.acc{background:var(--accent-soft); border-color:transparent; color:var(--accent)}
.muted{color:var(--ink-3)}
.lbl{font-size:11px; text-transform:uppercase; letter-spacing:.07em; color:var(--ink-3)}

/* Graphique */
.chead{display:flex; flex-wrap:wrap; align-items:flex-end; justify-content:space-between; gap:10px 16px; margin-bottom:8px}
.cname{display:flex; align-items:center; gap:10px; flex-wrap:wrap}
.cname h2{font-size:22px}
.sel{background:var(--surface-2); border:1px solid var(--line); border-radius:6px; padding:5px 8px; font-size:13px; max-width:150px}
.cprice{display:flex; align-items:baseline; gap:10px; flex-wrap:wrap}
.cprice .big{font-size:30px; font-weight:500; letter-spacing:-.01em}
.pill{font-family:var(--f-mono); font-size:13px; padding:2px 8px; border-radius:5px; font-variant-numeric:tabular-nums}
.pill.up{background:var(--up-soft)} .pill.down{background:var(--down-soft)}
.hover{font-size:12px; color:var(--ink-2); font-family:var(--f-mono); min-height:18px; margin-bottom:4px}
.chart-host{width:100%; min-width:0}
.chart{display:block; touch-action:pan-y; overflow:visible}
.chart.u{--ln:var(--up)} .chart.d{--ln:var(--down)}
.chart .s0{stop-color:var(--ln); stop-opacity:.26}
.chart .s1{stop-color:var(--ln); stop-opacity:0}
.chart .grid{stroke:var(--line); stroke-width:1; stroke-dasharray:3 4}
.chart .ax{fill:var(--ink-3); font-family:var(--f-mono); font-size:11px}
.chart .ln{stroke:var(--ln); stroke-width:2; stroke-linejoin:round; stroke-linecap:round}
.chart .halo{fill:var(--ln); fill-opacity:.2}
.chart .dot{fill:var(--ln)}
.chart .xh{stroke:var(--ink-3); stroke-width:1}
.chart .xd{fill:var(--surface); stroke:var(--ln); stroke-width:2}
.cstats{display:flex; flex-wrap:wrap; gap:8px 28px; margin-top:12px; padding-top:12px; border-top:1px solid var(--line)}
.cstats div{display:flex; flex-direction:column; gap:2px}
.cstats .num{font-size:14px}

/* Logos, sentiment, peur et cupidité */
.logo{--h:210; width:28px; height:28px; border-radius:50%; flex:none; display:grid; place-items:center; font-family:var(--f-mono); font-size:9px; font-weight:600; letter-spacing:-.01em; color:#fff; background:hsl(var(--h) 52% 40%)}
.logo.lg{width:34px; height:34px; font-size:11px}
.logo{position:relative; overflow:hidden}
.logo img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; border-radius:50%; background:var(--surface)}
.h1w{display:flex; align-items:center; gap:10px; min-width:0}
.sent{display:inline-flex; align-items:center; gap:4px; font-size:11px; font-weight:600; padding:2px 7px; border-radius:4px}
.sent.bull{color:var(--up); background:var(--up-soft)}
.sent.bear{color:var(--down); background:var(--down-soft)}
.sent.neu{color:var(--ink-2); background:var(--surface-2); border:1px solid var(--line)}
.fgval{display:flex; align-items:baseline; gap:12px; flex-wrap:wrap}
.fgval .big{font-size:34px; font-weight:500; letter-spacing:-.01em}
.fglbl{font-family:var(--f-display); font-size:17px; font-weight:700}
.fgbar{position:relative; height:10px; border-radius:5px; background:linear-gradient(90deg,var(--down),var(--c3),var(--up)); margin:20px 6px 8px}
.fgmark{position:absolute; top:50%; width:18px; height:18px; border-radius:50%; background:var(--surface); border:3px solid var(--ink); transform:translate(-50%,-50%); transition:left .6s ease}
.fgscale{display:flex; justify-content:space-between; gap:8px; font-size:11px; color:var(--ink-3); text-transform:uppercase; letter-spacing:.06em}
.fgcmp{display:flex; flex-wrap:wrap; gap:8px 28px; margin-top:12px; padding-top:12px; border-top:1px solid var(--line)}
.fgcmp div{display:flex; flex-direction:column; gap:2px}
.fgsrc{margin-top:10px; font-size:12px; color:var(--ink-3)}
.modlink{cursor:pointer}

/* Tableau marché */
.tools{display:flex; flex-wrap:wrap; gap:8px; align-items:center}
.search{background:var(--surface-2); border:1px solid var(--line); border-radius:6px; padding:6px 10px; width:150px; min-width:0}
.perbox{margin:4px 0 10px}
.perbox em{font-style:normal; font-size:11px; font-weight:700; color:var(--accent); background:var(--accent-soft); border:1px solid color-mix(in srgb,var(--accent) 45%,transparent); border-radius:4px; padding:0 6px; margin-left:6px}
.seg{display:inline-flex; border:1px solid var(--line); border-radius:6px; overflow:hidden}
.seg button{border:0; background:transparent; padding:6px 10px; font-size:12px; color:var(--ink-2); border-right:1px solid var(--line)}
.seg button:last-child{border-right:0}
.seg button[aria-pressed="true"]{background:var(--accent-soft); color:var(--accent); font-weight:600}
.tscroll{overflow:visible; border-top:1px solid var(--line); margin-inline:-16px; padding-inline:16px}
table{width:100%; border-collapse:collapse}
th{position:sticky; top:0; background:var(--surface); z-index:1; text-align:left; font-weight:500; font-size:11px; text-transform:uppercase; letter-spacing:.07em; color:var(--ink-3); padding:8px 6px; border-bottom:1px solid var(--line)}
th.num,td.num{text-align:right}
td{padding:7px 6px; border-bottom:1px solid var(--line); vertical-align:middle}
tbody tr{cursor:pointer}
tbody tr:hover td{background:var(--surface-2)}
tbody tr.sel td{background:var(--accent-soft)}
.c-asset{display:flex; align-items:center; gap:10px; min-width:0}
.rk{width:20px; color:var(--ink-3); font-family:var(--f-mono); font-size:11px; text-align:right; flex:none}
.nm{display:flex; flex-direction:column; min-width:0; line-height:1.2}
.nm b{font-weight:600}
.nm small{color:var(--ink-3); font-size:12px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.spark{display:block; margin-left:auto}
.spark polyline{fill:none; stroke-width:1.5; stroke-linejoin:round; stroke-linecap:round}
.spark.u polyline{stroke:var(--up)} .spark.d polyline{stroke:var(--down)}
.nores{padding:18px 6px; color:var(--ink-3)}

/* Portefeuille */
.total{display:flex; flex-wrap:wrap; align-items:baseline; gap:8px 12px}
.total .big{font-size:28px; font-weight:500; letter-spacing:-.01em}
.total .pnlr{margin-left:auto; display:flex; flex-direction:column; align-items:flex-end; gap:2px; text-align:right}
.total .pnlr .num{font-size:14px}
@media (max-width:640px){.pfmain .total{flex-wrap:nowrap; gap:8px}.pfmain .total .big{font-size:23px}.pfmain .total .pnlr{white-space:nowrap}.pfmain .total .pnlr .lbl{font-size:9px}}
@media (max-width:380px){.pfmain .total{flex-wrap:wrap}}
.alloc{display:flex; height:8px; border-radius:4px; overflow:hidden; gap:2px; margin:14px 0 8px}
.alloc span{display:block; min-width:3px}
.legend{display:flex; flex-wrap:wrap; gap:4px 14px; font-size:12px; color:var(--ink-2)}
.legend i{display:inline-block; width:8px; height:8px; border-radius:2px; margin-right:5px}
.hold{margin-top:12px; border-top:1px solid var(--line)}
.hrow{display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(0,1fr) 28px; align-items:center; gap:8px; padding:8px 0; border-bottom:1px solid var(--line)}
.hrow .h1{display:flex; flex-direction:column; line-height:1.2; min-width:0}
.hrow .h1 small{color:var(--ink-3); font-size:12px}
.hrow .r{text-align:right; font-family:var(--f-mono); font-size:13px; font-variant-numeric:tabular-nums; min-width:0}
.hrow .r small{display:block; font-size:12px}
.xbtn{border:0; background:transparent; color:var(--ink-3); width:28px; height:28px; border-radius:6px; font-size:16px; line-height:1}
.xbtn:hover{background:var(--surface-2); color:var(--down)}
.add{display:flex; flex-wrap:wrap; gap:8px; margin-top:12px}
.add select,.add input{background:var(--surface-2); border:1px solid var(--line); border-radius:6px; padding:7px 9px; min-width:0}
.add select{flex:1 1 110px}
.add input{flex:1 1 90px}
.btn{border:1px solid var(--accent); background:var(--accent); color:var(--accent-ink); border-radius:4px; padding:7px 14px; font-weight:600; font-family:var(--f-mono); letter-spacing:.01em}
.btn.ghost{background:transparent; color:var(--accent)}
.err{flex-basis:100%; color:var(--down); font-size:12px; min-height:0}

/* News */
.nbar{display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-bottom:10px}
.toggle{display:inline-flex; align-items:center; gap:7px; border:1px solid var(--line); background:var(--surface-2); border-radius:6px; padding:6px 10px; font-size:12px}
.toggle[aria-pressed="true"]{background:var(--accent-soft); border-color:transparent; color:var(--accent); font-weight:600}
.toggle[aria-disabled="true"]{color:var(--ink-3); cursor:not-allowed}
.hint{font-size:12px; color:var(--ink-3)}
.banner{display:flex; gap:10px; align-items:flex-start; padding:10px 12px; border-radius:8px; font-size:13px; margin-bottom:10px; background:var(--surface-2); border:1px dashed var(--line); color:var(--ink-2)}
.banner.live{background:var(--up-soft); border:1px solid transparent; color:var(--ink)}
.banner b{font-weight:600; color:var(--ink)}
.topbar{display:flex; gap:6px; overflow-x:auto; padding:2px 0 8px; margin-bottom:6px; scrollbar-width:none}
.topbar::-webkit-scrollbar{display:none}
.topbar button{flex:0 0 auto; border:1px solid var(--line); background:transparent; color:var(--ink-2); border-radius:999px; padding:5px 11px; font-size:12px; white-space:nowrap; cursor:pointer}
.topbar button[aria-pressed="true"]{background:var(--accent-soft); color:var(--accent); border-color:transparent; font-weight:600}
.ntop{display:inline-block; font-size:11px; padding:1px 7px; border-radius:999px; background:var(--surface-2); color:var(--ink-2)}
.nmsum{font-size:14px; line-height:1.55; color:var(--text); margin:6px 0 10px}
.nlist{max-height:720px; overflow:auto; margin-inline:-16px; padding-inline:16px}
.news{padding:11px 0; border-top:1px solid var(--line)}
.news:first-child{border-top:0}
.nmeta{display:flex; gap:8px; font-size:12px; color:var(--ink-3); margin-bottom:3px}
.nmeta span+span::before{content:"·"; margin-right:8px}
.news p{font-weight:500; line-height:1.35; text-wrap:pretty}
.chips{display:flex; flex-wrap:wrap; gap:6px; margin-top:7px}
.chip{display:inline-flex; gap:6px; align-items:center; border:1px solid var(--line); background:var(--surface-2); border-radius:5px; padding:2px 7px; font-size:12px; font-family:var(--f-mono)}
.chip b{font-weight:600}
.chip:hover{border-color:var(--accent)}

/* Offres */
.plans{margin-top:16px}
.pgrid{display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr)); gap:12px}
.plan{border:1px solid var(--line); border-radius:10px; padding:16px; display:flex; flex-direction:column; gap:12px; background:var(--surface); min-width:0}
.plan.cur{border:2px solid var(--accent); padding:15px}
.plan h3{font-family:var(--f-display); font-size:18px; display:flex; justify-content:space-between; align-items:center; gap:8px}
.price{font-family:var(--f-mono); font-size:26px; font-weight:500; letter-spacing:-.01em}
.price.trial s{color:var(--ink-3,#86867F); text-decoration-color:var(--accent,#FF8A00); text-decoration-thickness:2px}
/* Formule mise en avant (« Most popular ») et offre de lancement Apex : prix normal barré au-dessus du prix de lancement. */
.plan.pop{border-color:var(--accent,#FF8A00)}
.plan .popb{align-self:flex-start; font-family:var(--f-mono); font-size:11px; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:var(--accent,#FF8A00); border:1px solid var(--accent,#FF8A00); padding:3px 8px; border-radius:3px}
.price.launch s{display:block; margin-bottom:4px; font-size:14px; color:var(--ink-3,#86867F); text-decoration-color:var(--accent,#FF8A00); text-decoration-thickness:2px}
.tfree{font-family:var(--f-mono); font-size:14px; font-weight:700; color:var(--accent,#FF8A00)}
.tbadge{font-family:var(--f-mono); font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:#0A0A0A; background:var(--accent,#FF8A00); padding:4px 8px; border-radius:3px; white-space:nowrap}
.tysched{display:flex; flex-direction:column; border:1px solid var(--line,#2A2A2A); border-radius:8px; font-family:var(--f-mono); font-size:13px}
.tysched div{display:flex; justify-content:space-between; gap:12px; padding:12px 16px}
.tysched div+div{border-top:1px solid var(--line,#2A2A2A)}
.tysched span{color:var(--ink-2,#B3B3AB)}
.taxn{font-size:12px; color:var(--ink-3); margin-top:-6px}
.price small{font-size:13px; color:var(--ink-3); font-weight:400}
.plan ul{display:flex; flex-direction:column; gap:7px; font-size:13px; color:var(--ink-2); flex:1}
.plan li{display:flex; gap:8px}
.plan li::before{content:""; flex:none; width:6px; height:6px; margin-top:7px; border-radius:50%; background:var(--accent)}
.plan .ptag{font-size:12px; line-height:1.5; color:var(--ink-2); margin-top:-4px}
.plan .ptag .pvb{display:block; margin-bottom:2px; font:700 10.5px var(--f-mono); letter-spacing:.08em; text-transform:uppercase; color:var(--accent)}
.plan li.pgh{margin-top:6px; font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--ink)}
.plan li.pgh::before,html.tv2 .plansdlg .plan li.pgh::before{content:none; display:none}
.foot{margin-top:16px; font-size:12px; color:var(--ink-3); max-width:90ch}

/* Onglets mobile */
.tabbar{position:fixed; left:0; right:0; bottom:0; z-index:6; display:flex; background:var(--surface); border-top:1px solid var(--line); padding:6px max(8px,env(safe-area-inset-right,0px)) calc(6px + env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left,0px))}
.tabbar button{flex:1; border:0; background:transparent; padding:9px 4px; font-size:12px; font-weight:600; color:var(--ink-3); border-radius:6px; border-top:2px solid transparent}
.tabbar button[aria-current="page"]{color:var(--accent); border-top-color:var(--accent)}

@media (max-width:1023px){
  .plans{margin-top:0}
  .foot{margin-top:16px}
}
@media (min-width:1024px){
  .tabbar{display:none}
  body{padding-block:0 32px}
  .main{grid-template-columns:minmax(0,1.65fr) minmax(0,1fr); align-items:stretch}
  .col{display:grid; gap:16px; align-content:start; min-width:0}
}
@media (max-width:540px){
  .c-spark,.th-spark{display:none}
  .search{width:100%}
  .cprice .big{font-size:26px}
  .tier button{padding:6px 11px}
}
@media (prefers-reduced-motion: reduce){*{animation:none!important; transition:none!important}}

/* Langue, opérations, historique */
.langsel button{padding:5px 9px; font-size:12px; font-weight:600}
.hrow{grid-template-columns:minmax(0,1.25fr) minmax(0,.9fr) minmax(0,1fr) auto}
.mini{border:1px solid var(--line); background:var(--surface-2); color:var(--accent); border-radius:6px; padding:4px 9px; font-size:12px; font-weight:600}
.mini:hover{border-color:var(--accent)}
.txseg{flex:1 1 100%}
.txseg button{flex:1; padding:7px 12px; font-size:13px}
.txhelp{flex-basis:100%; font-size:12px; color:var(--ink-3)}
.ptfbox{flex-basis:100%; display:flex; flex-direction:column; gap:6px}
.ptfl{font-size:12px; color:var(--ink-2)}
.ptfr{display:flex; gap:8px}.ptfr input{flex:1 1 auto; min-width:0}
.ptfh{font-size:12px; color:var(--ink-3); margin:0}.ptfh.err{color:var(--down)}
.ptfhits{display:flex; flex-direction:column; gap:4px; max-height:220px; overflow:auto}
.ptfhit{display:grid; grid-template-columns:auto 1fr; gap:2px 10px; text-align:left; padding:8px 10px; border:1px solid var(--line); border-radius:8px; background:transparent; color:var(--ink); cursor:pointer; font:inherit}
.ptfhit small{grid-column:1/-1; color:var(--ink-3); font-size:11px}.ptfhit span{overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.ptfhit:hover:not([disabled]){border-color:var(--accent)}.ptfhit[disabled]{opacity:.5; cursor:not-allowed}
.add .err:empty{display:none}
.add input#addPrice{flex:2 1 150px}
.hist{margin-top:14px; border-top:1px solid var(--line); padding-top:10px}
.taxbtn{margin-top:12px}
/* Bouton « Taxes / Fiscalité » masqué pour le moment (mobile #pfTax et Terminal #tvPfTax). La fonction reste en place : supprimer cette ligne pour le réafficher. */
#pfTax,#tvPfTax{display:none!important}
.ov .dlg.taxdlg{width:min(1040px,100%); max-width:none; gap:12px}
.taxsub{font-size:12.5px; color:var(--ink-3); margin-top:2px}
.taxbar{display:flex; align-items:center; gap:8px; flex-wrap:wrap}
.taxyl{display:flex; align-items:center; gap:8px; font-size:13px; color:var(--ink-2)}
.taxyl select,.taxin input,.taxtbl input[type=text]{background:var(--surface-2); color:var(--ink); border:1px solid var(--line); border-radius:6px; padding:5px 8px; font:inherit; font-size:13px}
.taxsp{flex:1}
.taxb{display:flex; flex-direction:column; gap:10px; min-width:0}
.taxk{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px}
.taxk>div{border:1px solid var(--line); border-radius:8px; padding:10px 12px; display:flex; flex-direction:column; gap:2px; min-width:0}
.taxk span,.taxk small{font-size:11.5px; color:var(--ink-3)}
.taxk b{font-family:var(--f-mono); font-size:18px; font-weight:600}
.taxk b.up,.taxtbl td.up{color:var(--up)} .taxk b.down,.taxtbl td.down{color:var(--down)}
.taxscroll{overflow-x:auto; border:1px solid var(--line); border-radius:8px}
.taxtbl{width:100%; min-width:820px; border-collapse:collapse; font-size:12px}
.taxtbl th{font-weight:600; font-size:11px; color:var(--ink-3); text-align:right; vertical-align:bottom; padding:8px; border-bottom:1px solid var(--line)}
.taxtbl td{padding:7px 8px; border-bottom:1px solid var(--line); text-align:right; font-family:var(--f-mono); white-space:nowrap; vertical-align:top}
.taxtbl tr:last-child td{border-bottom:0}
.taxtbl th:nth-child(-n+2),.taxtbl td:nth-child(-n+2){text-align:left}
.taxtbl td small{display:block; font-size:10.5px; color:var(--ink-3); margin-top:2px}
.taxtbl input[type=text]{width:118px; text-align:right; padding:3px 6px; font-family:var(--f-mono); font-size:12px}
.taxtbl tr.off td:not(:last-child){opacity:.45}
.taxin{display:flex; align-items:center; gap:10px; flex-wrap:wrap; font-size:13px; color:var(--ink-2)}
.taxin input{width:140px; text-align:right}
.taxh{font-size:14px; font-weight:600; margin-top:6px}
.taxnote{font-size:12px; color:var(--ink-3); line-height:1.5}
.taxwarn{font-size:12px; color:var(--accent); line-height:1.5}
.taxacc{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:4px}
.taxacc li{display:flex; gap:10px; flex-wrap:wrap; font-size:13px; align-items:baseline}
.taxacc span{font-size:12px; color:var(--ink-3)}
.taxhow summary{cursor:pointer; font-size:13px; font-weight:600; color:var(--ink-2)}
.taxhow p{margin-top:6px}
.taxdisc{font-size:11.5px; color:var(--ink-3); border-top:1px solid var(--line); padding-top:10px; line-height:1.5}
@media (max-width:640px){.taxk{grid-template-columns:1fr}}
html.tv2 .taxdlg{border-radius:4px; font-family:var(--f-mono); font-size:12px; box-shadow:inset 0 2px 0 var(--accent)}
html.tv2 .taxdlg .btn{border-radius:0; font-family:var(--f-mono); text-transform:uppercase; font-size:11px; border:1px solid var(--line)}
html.tv2 .taxk>div,html.tv2 .taxscroll,html.tv2 .taxyl select,html.tv2 .taxin input,html.tv2 .taxtbl input[type=text]{border-radius:0}
.hist summary{cursor:pointer; font-weight:600; font-size:13px; color:var(--ink-2); padding:4px 0}
.trow{display:grid; grid-template-columns:auto minmax(0,1fr) 28px; align-items:center; gap:10px; padding:8px 0; border-bottom:1px solid var(--line)}
.tmid{display:flex; flex-direction:column; min-width:0; line-height:1.25}
.tmid .mono{font-size:13px; overflow-wrap:anywhere}
.tmid small{color:var(--ink-3); font-size:12px}
.ttag{font-size:11px; font-weight:600; padding:2px 7px; border-radius:4px; background:var(--accent-soft); color:var(--accent); white-space:nowrap}
.ttag.sell{background:var(--surface-2); border:1px solid var(--line); color:var(--ink-2)}
.pnl{margin-top:12px}
@media (max-width:540px){.langsel button{padding:5px 7px}}

/* Compte et profil */
.acct{display:flex; align-items:center; gap:8px}
.btn.sm{padding:6px 12px; font-size:13px}
.btn.sec{background:var(--surface-2); color:var(--ink); border-color:var(--line)}
.btn.delbtn,.btn.delbtn:hover{color:var(--down); border-color:var(--down)}
.btn.danger{background:var(--down); border-color:var(--down); color:var(--accent-ink)}
.avbtn{display:inline-flex; align-items:center; gap:8px; border:1px solid var(--line); background:var(--surface); border-radius:999px; padding:3px 12px 3px 3px; font-weight:600; font-size:13px; max-width:100%}
.avbtn:hover{border-color:var(--accent)}
.av{width:28px; height:28px; border-radius:50%; background:var(--accent); color:var(--accent-ink); display:grid; place-items:center; font-size:12px; font-weight:700; font-family:var(--f-mono); flex:none}
.av.lg{width:56px; height:56px; font-size:20px}
.avn{max-width:120px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
#gate{display:none; position:fixed; inset:0; z-index:28; background:var(--bg); place-items:center; padding:24px; overflow-y:auto}
body.gated #gate{display:grid}
body.gated{overflow:hidden}
.gatebox{width:min(420px,100%); text-align:center; display:flex; flex-direction:column; align-items:center; gap:14px}
.gatebox img{height:44px; width:auto; margin-bottom:8px}
.gatebox h1{font-family:var(--f-display); font-size:26px; margin:0}
.gatebox p{color:var(--ink-2); margin:0; line-height:1.5}
.gatebtns{display:flex; flex-direction:column; gap:10px; width:100%; margin-top:10px}
.gatebtns .btn{width:100%; justify-content:center; padding:12px 16px; font-size:15px}
.gateback{font-size:13px; color:var(--ink-3); margin-top:6px}
.gateback:hover{color:var(--accent)}
.ov{position:fixed; inset:0; z-index:30; background:rgba(0,0,0,.55); display:grid; place-items:center; padding:max(16px,env(safe-area-inset-top,0px)) max(16px,env(safe-area-inset-right,0px)) max(16px,env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px))}
.dlg{width:min(440px,100%); max-height:100%; overflow:auto; background:var(--surface); border:1px solid var(--line); border-radius:12px; padding:20px; display:flex; flex-direction:column; gap:14px}
.dlg-h{display:flex; justify-content:space-between; align-items:center; gap:12px}
.dlg-h h2{font-family:var(--f-display); font-size:20px; letter-spacing:-.01em}
/* Parrainage (Profil) */
#prRf[hidden]{display:none}
.rfrow{display:flex; gap:8px; flex-wrap:wrap; align-items:center}
.rfrow .inp{flex:1 1 220px; min-width:0; font-family:var(--f-mono); font-size:13px}
/* Fenêtre de résiliation (raison, offres, commentaire) */
.cxdlg{width:min(520px,100%)}
.cxk{font-family:var(--f-mono,monospace); font-size:11px; letter-spacing:.12em; text-transform:uppercase; color:var(--accent)}
.cxdlg h2{font-family:var(--f-display); font-size:20px; letter-spacing:-.01em; margin:0}
.cxdlg .hint{margin:0}
.cxr{display:flex; flex-direction:column; gap:6px}
.cxr label{display:flex; gap:10px; align-items:center; padding:9px 12px; border:1px solid var(--line); border-radius:6px; font-size:14px; cursor:pointer}
.cxr label:has(input:checked){border-color:var(--accent)}
.cxr input,.cxn input{accent-color:var(--accent); margin:0}
.cxbox{background:var(--surface-2); border:1px solid var(--line); border-radius:6px; padding:12px 14px; display:flex; flex-direction:column; gap:10px; font-size:14px}
.cxbox[hidden]{display:none}
.cxo{display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap}
.cxo>span{display:flex; flex-direction:column; gap:2px; min-width:0; flex:1 1 220px}
.cxo>span>span{font-size:12px; color:var(--ink-3)}
.cxf{display:flex; flex-direction:column; gap:6px; font-size:14px}
.cxf textarea{resize:vertical; font:inherit; font-size:14px}
.cxn{display:flex; gap:10px; align-items:center; font-size:14px}
.cxn[hidden]{display:none}
.cxa{display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end}
.cxgo{background:transparent; border-color:var(--down); color:var(--down)}
.cxgo:hover{background:transparent; filter:brightness(1.15)}
.stack{display:flex; flex-direction:column; gap:12px}
.fld{display:flex; flex-direction:column; gap:5px; min-width:0}
.fld label{font-size:12px; font-weight:600; color:var(--ink-2)}
.inp{background:var(--surface-2); border:1px solid var(--line); border-radius:6px; padding:9px 10px; width:100%; min-width:0}
.inp[readonly]{color:var(--ink-3)}
.chk{display:flex; gap:9px; align-items:flex-start; font-size:13px; color:var(--ink-2)}
.chk input{margin-top:2px; accent-color:var(--accent); flex:none}
.chk.dis{color:var(--ink-3)}
.note{font-size:12px; color:var(--ink-3)}
.demo{font-size:12px; padding:9px 11px; border-radius:8px; background:var(--surface-2); border:1px dashed var(--line); color:var(--ink-2)}
.bad{color:var(--down); font-size:13px}
.bad:empty{display:none}
.ok{color:var(--up); font-size:13px; min-height:18px}
.row{display:flex; flex-wrap:wrap; gap:8px; align-items:center}
.profile{display:grid; gap:16px; max-width:1040px; margin:0 auto}
.pbar{display:flex; align-items:center; gap:14px; flex-wrap:wrap}
.pbar h1{font-family:var(--f-display); font-size:26px; letter-spacing:-.01em}
.pcols{display:grid; gap:16px; grid-template-columns:minmax(0,1fr)}
.pcol{display:grid; gap:16px; min-width:0; align-content:start}
@media (min-width:900px){.pcols{grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start}}
.idrow{display:flex; gap:14px; align-items:center; margin-bottom:14px; min-width:0}
.idrow b{font-size:16px; overflow-wrap:anywhere}
.planpick{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin-bottom:12px}
.planpick button{border:1px solid var(--line); background:var(--surface-2); border-radius:8px; padding:10px 8px; display:flex; flex-direction:column; gap:2px; align-items:flex-start; text-align:left; min-width:0}
.planpick button[aria-pressed="true"]{border:2px solid var(--accent); padding:9px 7px; background:var(--accent-soft)}
.planpick b{font-family:var(--f-display)}
.planpick span{font-family:var(--f-mono); font-size:12px; color:var(--ink-2)}
.flist{display:flex; flex-direction:column; gap:7px; font-size:13px; color:var(--ink-2); margin-bottom:10px}
.flist li{display:flex; gap:8px}
.flist li::before{content:""; flex:none; width:6px; height:6px; margin-top:7px; border-radius:50%; background:var(--accent)}
@media (max-width:540px){.avn{display:none}.avbtn{padding:3px}}
.gain{align-self:flex-start; font-size:12px; font-weight:600; color:var(--up); background:var(--up-soft); border-radius:5px; padding:3px 8px}
.planpick{grid-template-columns:repeat(auto-fit,minmax(min(100%,110px),1fr))}
button.brand{background:none; border:0; padding:0; color:inherit; text-align:left; cursor:pointer}
.langsel{padding:6px 8px; font-weight:600}

/* Navigation du haut, pages, menu de langue */
body{padding-block:0 32px}
.top{margin-bottom:0}
.brand{margin-right:0}
.menu{display:flex; gap:2px; margin-right:auto}
.menu button{border:0; background:transparent; padding:8px 14px; font-weight:600; font-size:14px; color:var(--ink-2); border-radius:6px; border-bottom:2px solid transparent}
.menu button:hover{color:var(--ink); background:var(--surface-2)}
.menu button[aria-current="page"]{color:var(--accent); border-bottom-color:var(--accent); border-radius:6px 6px 0 0}
.poslink{cursor:pointer}
.demobar{display:none}
.top{margin-bottom:16px}
.demobar .tiernote{flex:1 1 220px; margin:0; color:var(--ink-2); font-size:13px}
.page{display:flex; flex-direction:column; gap:16px}

.allocbox{margin-top:12px; border-top:1px solid var(--line); padding-top:8px}
.allochd{font-weight:600; font-size:13px; color:var(--ink-2); padding:4px 0 8px}
.lm{position:relative}
.fprefs{display:none; flex-wrap:wrap; align-items:center; gap:10px; margin-top:20px; padding-top:16px; border-top:1px solid var(--line)}
.fprefs .lm-list{top:auto; bottom:calc(100% + 6px); left:0; right:auto}
.linkbtn{background:none; border:0; padding:0; color:var(--ink-3); font-size:12px; text-decoration:underline; text-underline-offset:3px; cursor:pointer; text-align:left}
.linkbtn:hover{color:var(--accent)}
.unsubbox{border:1px solid var(--line); border-radius:8px; padding:12px; background:var(--surface-2); display:grid; gap:10px; margin-top:10px}
.unsubbox .planpick{margin-bottom:0}
.ccysel{background:var(--surface); border:1px solid var(--line); border-radius:8px; padding:6px 8px; font:inherit; font-size:13px; font-weight:600; color:var(--ink); cursor:pointer; height:34px}
.lm-btn{display:inline-flex; align-items:center; gap:8px; background:var(--surface); border:1px solid var(--line); border-radius:8px; padding:6px 10px; font-size:13px; font-weight:600; color:var(--ink)}
.lm-btn:hover{border-color:var(--accent)}
.lm-caret{color:var(--ink-3)}
:lang(ja) body,:lang(ja) button,:lang(ja) input,:lang(ja) select{font-family:'IBM Plex Sans','Hiragino Sans','Hiragino Kaku Gothic ProN','Noto Sans JP','Yu Gothic','Meiryo',system-ui,sans-serif}
:lang(zh-HK) body,:lang(zh-HK) button,:lang(zh-HK) input,:lang(zh-HK) select{font-family:'IBM Plex Sans','PingFang HK','Noto Sans HK','Microsoft JhengHei',system-ui,sans-serif}
.flag{display:inline-flex; width:20px; height:14px; border-radius:2px; overflow:hidden; box-shadow:0 0 0 1px rgba(0,0,0,.2); flex:none}
.flag svg{width:100%; height:100%; display:block}
.lm-list{position:absolute; right:0; top:calc(100% + 6px); z-index:9; min-width:100%; margin:0; padding:4px; background:var(--surface); border:1px solid var(--line); border-radius:8px; box-shadow:0 14px 34px -12px rgba(0,0,0,.35)}
.lm-list li{display:flex; align-items:center; gap:10px; padding:8px 10px; border-radius:6px; font-size:13px; font-weight:500; cursor:pointer; white-space:nowrap}
.lm-list li:hover,.lm-list li:focus{background:var(--surface-2); outline:none}
.lm-list li:focus-visible{outline:2px solid var(--accent); outline-offset:-2px}
.lm-list li[aria-selected="true"]{color:var(--accent); font-weight:600}
.lm-block .lm-btn{width:100%; justify-content:flex-start; padding:9px 10px}
.lm-block .lm-caret{margin-left:auto}
.lm-block .lm-list{left:0; right:0}
@media (max-width:640px){
  .brand{margin-right:auto}
  .menu{order:5; flex:1 1 100%; margin:0}
  .menu button{flex:1; padding:9px 4px; font-size:13px; white-space:nowrap}
  .brand small{display:none}
  .bar{gap:8px 12px}
}

.live{display:grid}
.lrow{display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:10px; padding:11px 0; border-top:1px solid var(--line); background:none; border-left:0; border-right:0; border-bottom:0; width:100%; text-align:left; color:inherit; cursor:pointer}
.lrow:first-child{border-top:0}
.lrow:hover .ln b{color:var(--accent)}
.ln{display:flex; flex-direction:column; line-height:1.25; min-width:0}
.ln small{color:var(--ink-3); font-size:12px}
.lp{display:flex; flex-direction:column; align-items:flex-end; gap:3px}
.pfmain{display:flex; flex-direction:column; cursor:pointer}
.pfmain .chart-host{flex:1; min-height:260px}
@media (max-width:640px){.pfmain .chart-host{min-height:0}.lvpanel{display:none}}
.pfmain .btn{align-self:flex-start; margin-top:12px}
.pfmain .pfempty{padding:28px 0; color:var(--ink-3); font-size:13px}
.pfcta{display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; gap:8px; height:100%; min-height:220px; padding:24px 16px; border:1px dashed var(--line); border-radius:12px; background:var(--surface-2); cursor:default}
.xcta{grid-column:1/-1; min-height:200px}
.pfcta-ic{display:grid; place-items:center; width:52px; height:52px; border-radius:50%; background:var(--accent-soft); color:var(--accent); margin-bottom:4px}
.pfcta b{font-family:var(--f-display); font-size:18px}
.pfcta p{margin:0; max-width:380px; color:var(--ink-2); font-size:13px}
.pfcta .btn{align-self:center; margin-top:8px}
#pfChart .pfcta{min-height:240px; margin:6px 0 14px}
.pfmain .chart-host:has(.pfcta){display:flex; flex-direction:column}
.sfseg{display:inline-flex}
.duo{display:grid; gap:16px; margin-top:16px}
@media (min-width:1024px){.duo{grid-template-columns:minmax(0,2fr) minmax(0,1fr); align-items:start}}
.col2{display:grid; gap:16px; min-width:0; align-content:start}
.dwev{max-height:340px}
.sfgrid{display:grid; grid-template-columns:minmax(0,1fr); grid-auto-rows:max-content; align-content:start; gap:12px; padding-top:5px; max-height:300px; overflow:auto}
@media (min-width:1024px){#sfPanel .sfgrid{max-height:405px; min-height:405px}}
.sfc{border:1px solid var(--line); border-radius:10px; padding:12px; background:var(--surface-2); display:flex; flex-direction:column; gap:8px}
.sfh{display:flex; align-items:center; gap:8px; font-size:12px; color:var(--ink-3)}
.sfh b{color:var(--ink); font-size:13px}
.sfav{width:26px; height:26px; border-radius:50%; background:var(--accent); color:#fff; display:grid; place-items:center; font-size:11px; font-weight:700; flex:none}
.sfsrc{margin-left:auto; font-size:10px; font-weight:700; letter-spacing:.04em; padding:2px 6px; border-radius:4px; border:1px solid var(--line); color:var(--ink-2)}
.sfc{transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease}
.sfc[data-pid]{cursor:pointer}
.sfc[data-pid]:hover,.sfc[data-pid]:focus-visible{transform:translateY(-3px); box-shadow:0 6px 18px rgba(0,0,0,.12); border-color:var(--accent); background:var(--surface)}
.sfc[data-pid]:active{transform:translateY(-1px)}
.sfc p{line-height:1.4; font-size:14px; text-wrap:pretty}
.sfc{min-width:0; max-width:100%; overflow:hidden}
.sfc p,.sfc a{overflow-wrap:anywhere; word-break:break-word; min-width:0}
.sfc img,.sfc video,.sfc iframe{max-width:100%; height:auto}
.sfh>div{min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.sfc .chips{min-width:0}
.whgrid{display:grid; gap:16px}
.whtoggle{display:none; width:100%; align-items:center; justify-content:space-between; gap:8px; background:var(--surface-2); border:1px solid var(--line); border-radius:8px; padding:10px 12px; font-size:14px; font-weight:600; color:var(--ink)}
.whtoggle[aria-expanded="true"] .lm-caret{transform:rotate(180deg)}
.whmanage{margin-top:0}
@media (max-width:1023px){.whtoggle{display:flex} .whmanage{margin-top:10px} .whmanage[data-open="0"]{display:none}}
@media (min-width:1024px){.whgrid{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr); align-items:start}}
.whrow{display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; align-items:center; padding:10px 0; border-top:1px solid var(--line)}
.whrow b{font-size:14px}
.whrow small{display:block; color:var(--ink-3); font-size:12px; overflow-wrap:anywhere}
.whtools{display:flex; flex-wrap:wrap; gap:8px; margin-bottom:8px}
.whev{list-style:none; max-height:620px; overflow:auto}
.whev li{display:grid; grid-template-columns:auto minmax(0,1fr); gap:4px 10px; padding:10px 0; border-top:1px solid var(--line); align-items:start}
.whev .wt{font-size:13px; line-height:1.35}
.whev small{display:block; color:var(--ink-3); font-size:12px}
.chain{font-size:10px; font-weight:700; letter-spacing:.04em; padding:1px 5px; border-radius:4px; border:1px solid var(--line); color:var(--ink-2); margin-left:6px}
.menu button[data-page=whales]::after{content:"EDGE+"; margin-left:6px; font-size:9px; font-weight:700; letter-spacing:.05em; padding:1px 4px; border-radius:3px; background:var(--accent-soft); color:var(--accent); vertical-align:2px}
body[data-tier=pro] .menu button[data-page=whales]::after{display:none}
.menu button[data-page=hf]::after{content:"PULSE+"; margin-left:6px; font-size:9px; font-weight:700; letter-spacing:.05em; padding:1px 4px; border-radius:3px; background:var(--accent-soft); color:var(--accent); vertical-align:2px}
body:not([data-tier=free]) .menu button[data-page=hf]::after{display:none}
.menu button[data-page=geo]::after{content:"APEX"; margin-left:6px; font-size:9px; font-weight:700; letter-spacing:.05em; padding:1px 4px; border-radius:3px; background:var(--accent-soft); color:var(--accent); vertical-align:2px}
body[data-tier=pro] .menu button[data-page=geo]::after{display:none}
.lockbox{border:1px dashed var(--line); border-radius:8px; padding:14px; color:var(--ink-2); font-size:13px; background:var(--surface-2)}
.lockpage h3{font-size:16px}
.lockpage{max-width:640px}
.trio{display:grid; gap:16px; margin-bottom:16px}
@media (min-width:1024px){.trio{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1360px){.trio{grid-template-columns:minmax(0,1.2fr) repeat(3,minmax(0,1fr))}}
.gstats{display:grid; grid-template-columns:1fr 1fr; gap:12px 16px}
.gstats .lbl{display:block}
.gstats .num{font-size:15px}
.gbig{font-size:26px; display:block; margin:4px 0}
.coinback{margin-bottom:12px; width:auto; display:inline-flex}
.coingrid{display:grid; gap:16px}
@media (min-width:1024px){.coingrid{grid-template-columns:minmax(0,1.65fr) minmax(0,1fr); align-items:start}}
@media (max-width:1023px){.coingrid>#slotCoin,.coingrid>.col2{display:contents}.coingrid>#slotCoin>.panel,.coingrid .col2>.panel{margin-top:0!important}.coingrid #ciPanel{order:99}}
.dvls{display:flex; height:8px; border-radius:4px; overflow:hidden; margin:6px 0 4px; background:var(--down)} .dvls i{background:var(--up)}
.paform{display:flex; gap:8px; align-items:flex-end} .paform .fld{flex:1}
.lnkbtn{background:none; border:0; padding:0; color:var(--accent); font-size:13px; font-weight:600; cursor:pointer}
.alsec{margin-top:14px} .alsec:first-child{margin-top:0}
.alsec h3{font-size:12px; text-transform:uppercase; letter-spacing:.06em; color:var(--ink-3); margin:0 0 8px; display:flex; justify-content:space-between; align-items:center}
.allist{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:6px}
.allist li{display:flex; align-items:center; gap:10px; padding:10px; border:1px solid var(--line); border-radius:8px; cursor:pointer}
.allist li:hover{background:var(--surface-2)} .allist li.off{opacity:.65}
.allist .alm{flex:1; min-width:0; display:flex; flex-direction:column; gap:2px} .allist .alm b{font-size:14px} .allist .alm small{color:var(--ink-3); font-size:12px}
.allist .padel{background:none; border:0; color:var(--ink-3); font-size:20px; line-height:1; padding:4px 6px; cursor:pointer} .allist .padel:hover{color:var(--down)}
.hrow[data-row]{cursor:pointer}
.palist{list-style:none; margin:12px 0 0; padding:0; display:flex; flex-direction:column; gap:6px}
.palist li{display:flex; align-items:center; justify-content:space-between; gap:8px; font-size:14px; padding:8px 10px; border:1px solid var(--line); border-radius:6px}
.palist li.off{color:var(--ink-3)} .palist .padel{background:none; border:0; color:var(--ink-3); font-size:18px; line-height:1; padding:0 4px}
.palist .padel:hover{color:var(--down)}
.dvlsl{display:flex; justify-content:space-between; font-size:12px; color:var(--ink-3)}
.kv{display:grid; grid-template-columns:1fr auto; gap:8px 12px; font-size:14px}
.kv dt{color:var(--ink-3)} .kv dd{text-align:right}
.pos2{display:grid; grid-template-columns:1fr 1fr; gap:8px 32px}
@media (max-width:640px){.pos2{gap:0 16px} .pos2 .kv{grid-template-columns:1fr; gap:2px} .pos2 .kv dd{text-align:left; margin:0 0 10px; font-size:15px}}
.tbody tr{cursor:pointer}
.ldot{display:inline-block; width:6px; height:6px; border-radius:50%; background:var(--up); vertical-align:middle; margin-left:3px}
.mklegend{flex-basis:100%; order:3; margin:0}
.pmrow{display:grid; grid-template-columns:minmax(0,9rem) minmax(0,1fr) 3.2rem; align-items:center; gap:10px; padding:7px 0; font-size:13px}
.pmbar{height:8px; border-radius:4px; background:var(--surface-2); border:1px solid var(--line); overflow:hidden}
.pmbar i{display:block; height:100%; background:var(--accent)}
.pmbar.dn i{background:var(--down)}
.pmrow .mono{text-align:right}
.votes{display:grid; grid-template-columns:repeat(3,1fr); gap:8px}
.vbtn{display:flex; flex-direction:column; align-items:center; gap:2px; padding:10px 4px; border:1px solid var(--line); border-radius:8px; background:var(--surface-2); color:var(--ink); font-size:20px}
.vbtn small{font-size:12px; color:var(--ink-2)}
.vbtn[aria-pressed=true]{border-color:var(--accent); background:var(--accent-soft)}
.vsplit{display:flex; height:8px; border-radius:4px; overflow:hidden; margin:12px 0 6px; background:var(--surface-2)}
.vsplit i{display:block; height:100%}
.infodl{display:grid; grid-template-columns:auto 1fr; gap:6px 14px; font-size:14px; margin-bottom:10px}
.infodl dt{color:var(--ink-3)}
.hm{position:relative; width:100%; height:380px; border-radius:8px; overflow:hidden; background:var(--surface-2)}
@media (max-width:640px){.hm{height:340px}}
.hmc{position:absolute; border:1px solid var(--surface); padding:4px 6px; overflow:hidden; text-align:left; color:var(--ink); display:flex; flex-direction:column; justify-content:center; align-items:center; gap:1px; line-height:1.15; cursor:pointer; font-family:inherit}
.hmc:hover{outline:2px solid var(--accent); outline-offset:-2px; z-index:2}
.hmc b{font-size:13px}
.hmc small{font-size:11px; font-family:var(--f-mono)}
.hmc.tiny b,.hmc.tiny small{display:none}
.hmc.sm small{display:none}
.hmleg{display:flex; flex-wrap:wrap; gap:6px 14px; font-size:12px; color:var(--ink-3); margin-top:8px}
.hmleg i{display:inline-block; width:12px; height:12px; border-radius:3px; vertical-align:-2px; margin-right:4px}
.adrow{border-top:1px solid var(--line); padding:12px 0}
.adhead{display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px; justify-content:space-between}
.adhead b{font-size:14px}
.adhead small{display:block; color:var(--ink-3); font-size:12px; overflow-wrap:anywhere}
.adacts{display:flex; gap:8px; flex-wrap:wrap}
.adtok{display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:10px; align-items:center; padding:8px 0; font-size:13px}
.adtok .r{text-align:right}
.adwarn{border:1px dashed var(--line); border-radius:8px; padding:10px 12px; font-size:12px; color:var(--ink-2); background:var(--surface-2); margin:8px 0}
.sfseg button.lk::after,.nzseg button.lk::after{content:" · " attr(data-min); font-size:10px; color:var(--accent); font-weight:700}
.nzgrid{display:grid; gap:16px}
@media (min-width:1024px){.nzgrid{grid-template-columns:minmax(0,2fr) minmax(0,1fr); align-items:start}}
.fbadge{margin-left:6px; min-width:18px; height:18px; padding:0 5px; border-radius:9px; background:var(--accent); color:#fff; font-size:11px; font-weight:700; display:inline-grid; place-items:center}
.nzbar{display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin-bottom:10px}
.nzbar .search{flex:1 1 160px; min-width:0}
.nzlist{list-style:none}
.nzit{padding:10px 0; border-top:1px solid var(--line)}
.nzit:first-child{border-top:0}
.nzit .sfc{background:var(--surface-2)}
li.news.nzit{display:block}
.nzsts{display:flex; flex-wrap:wrap; align-items:center; gap:6px 22px; margin:0 0 10px; font-size:13px}
.nzsts>span{display:inline-flex; align-items:center; gap:8px; min-width:0}
.nzsts b{color:var(--ink-2); font-weight:600}
.nzst{color:var(--ink-3)} .nzst.ok{color:var(--up); font-weight:600}
@media (max-width:640px){.menu{overflow-x:auto; scrollbar-width:none} .menu::-webkit-scrollbar{display:none} .menu button{flex:1 0 auto; padding:9px 10px}}
.nwdlg{width:min(560px,100%)}
.nwdlg h2{font-size:18px; line-height:1.3}
.imp{font-family:var(--f-mono); font-size:12px; padding:2px 7px; border-radius:5px; white-space:nowrap; font-variant-numeric:tabular-nums}
.imp.up{background:var(--up-soft); color:var(--up)} .imp.down{background:var(--down-soft); color:var(--down)} .imp:empty{display:none}
.impbox{border:1px solid var(--line); border-radius:10px; padding:12px 14px; background:var(--surface-2); display:flex; flex-direction:column; gap:8px}
.impbox table{width:100%; border-collapse:collapse; font-size:14px} .impbox th{font-size:12px; font-weight:600; color:var(--ink-3); text-align:right; padding:2px 0 6px}
.impbox th:first-child,.impbox td:first-child{text-align:left} .impbox td{text-align:right; padding:4px 0; font-family:var(--f-mono); font-variant-numeric:tabular-nums}
.impbox p{font-size:13px; line-height:1.45; color:var(--ink-2)}
.mclist{list-style:none; margin:0; padding:0; display:flex; flex-direction:column}
.mclist li{display:flex; justify-content:space-between; gap:4px 12px; flex-wrap:wrap; padding:9px 0; border-bottom:1px solid var(--line)}
.mclist li:last-child{border-bottom:0}
.mclist b{font-size:14px} .mclist .mcwhen{font-size:12px; color:var(--ink-3)} .mclist .mcin{font-size:12px; color:var(--ink-2); text-align:right; white-space:nowrap}
.mclist .mcin.soon{color:var(--accent); font-weight:600} .mclist .mccons{flex-basis:100%; font-size:12px; color:var(--ink-3)}
.mcpanel{margin-top:16px} .mcgrid{display:grid; gap:12px 24px; align-items:start}
@media (min-width:900px){.mcgrid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}
.mcstats th+th,.mcstats td+td{padding-left:8px}
.mcsym button{padding:3px 10px; font-size:12px}
@media (max-width:520px){.mcstats table{font-size:12px} .mcstats th{font-size:10px}}
.aibox{border:1px solid var(--line); border-radius:10px; padding:12px 14px; background:var(--surface-2); display:flex; flex-direction:column; gap:8px}
.aihd{display:flex; flex-wrap:wrap; gap:6px 10px; align-items:center}
.aitag{font-size:11px; font-weight:700; letter-spacing:.04em; padding:2px 7px; border-radius:4px; background:var(--accent-soft); color:var(--accent)}
.aibox ul{padding-left:18px; list-style:disc; display:grid; gap:4px; font-size:14px}
.aibox p{font-size:14px; line-height:1.45}
.nmact{display:flex; flex-wrap:wrap; gap:8px}
li.news[data-nid]{cursor:pointer}
li.news[data-nid]:hover p{color:var(--accent)}
.nzsoc{max-height:none}
.nmore{margin-left:auto; font-size:12px; color:var(--accent); font-weight:600}
@media (min-width:1024px){.nmore{margin-right:10px}}
.htl{display:flex; align-items:center; gap:10px; flex-wrap:wrap}
.ind{display:inline-flex; align-items:center; gap:7px; font-weight:700; font-size:12px; letter-spacing:.02em; color:var(--ink); white-space:nowrap}
.ind i{width:9px; height:9px; border-radius:50%; background:var(--up); box-shadow:0 0 0 3px color-mix(in srgb,var(--up) 25%,transparent)}
.ind.live i,.ind.late i{animation:indblink 1.4s ease-in-out infinite}
@keyframes indblink{0%,100%{opacity:1}50%{opacity:.25}}
.ind.late i{background:#E08A00; box-shadow:0 0 0 3px color-mix(in srgb,#E08A00 25%,transparent)}
.ind.off i{background:var(--down); box-shadow:0 0 0 3px color-mix(in srgb,var(--down) 25%,transparent)}
.banner .ind{margin-right:4px}
.nzind{align-items:center}
.offtog{display:inline-flex; align-items:center; gap:6px; font-size:12px; color:var(--ink-3); flex-basis:100%}
.blurred{filter:blur(5px); pointer-events:none; user-select:none; margin-top:10px; opacity:.85}
.postq{margin:0; padding:12px 14px; border-left:3px solid var(--accent); background:var(--surface-2); border-radius:0 8px 8px 0; font-size:16px; line-height:1.45}
.whclick{cursor:pointer}
.whclick:hover .wt b{color:var(--accent)}
.nmkv{font-size:13px; grid-template-columns:auto 1fr}
.nmkv dd{text-align:right; min-width:0}
.brk{overflow-wrap:anywhere; font-size:12px}
.trcar{display:contents}
.cdots{display:none}
.trio .panel{display:flex; flex-direction:column; padding:14px}
@media (max-width:640px){
  .trcar,.cdots{display:none}
}
.trio .ph{margin-bottom:8px}
.trio .ph h2{font-size:15px}
.trio .tag{font-size:9px; padding:2px 5px}
.trio .live{flex:1; grid-auto-rows:1fr}
.trio .lrow{padding:6px 0; gap:8px}
.trio .logo.lg{width:26px; height:26px; font-size:9px}
.trio .ln b{font-size:13px}
.trio .ln small{font-size:11px}
.trio .lpv{font-size:12px}
.trio .pill{font-size:11px; padding:1px 6px}
.trio .gbig{font-size:22px; margin:2px 0}
.trio .gstats{gap:8px 14px; margin-top:10px!important}
.trio .gstats .num{font-size:13px}
.trio .lbl{font-size:10px}
.trio .lp{flex-direction:row; align-items:center; gap:8px}
.trio #gChg{align-self:flex-start}
.plansdlg{width:min(980px,100%)}
.plansdlg.plans{margin-top:0}
.phr{display:flex; align-items:center; gap:10px; flex-wrap:wrap; justify-content:flex-end}
.folg{border:1px solid var(--line); border-radius:8px; padding:8px 12px 10px; margin:12px 0 0; min-width:0}
.folg legend{font-size:12px; font-weight:700; padding:0 6px; color:var(--ink-2)}
.folact{display:flex; gap:6px; margin-bottom:4px}
.folrow{display:flex; align-items:center; gap:10px; padding:6px 0; cursor:pointer}
.folrow .bell{margin-left:auto; display:inline-flex; align-items:center; justify-content:center; padding:5px 8px}
.folrow .bell.off{color:var(--ink-3)}
.folrow small{color:var(--ink-3)}
.folmine{border-top:1px dashed var(--line); margin-top:8px}
.folg legend+.folmine{border-top:0; margin-top:0}
.folmine .folrow .mini{flex:none}
.nwlock{list-style:none; margin:8px 0}
html.tv2 .nwlock{text-align:center}
.whrow.muted>div{opacity:.55}
.ibtn{display:inline-flex; align-items:center; justify-content:center; width:30px; height:30px; flex:none; border:1px solid var(--line); background:var(--surface); color:var(--ink-2); border-radius:50%; cursor:pointer; padding:0}
.ibtn:hover{border-color:var(--accent); color:var(--accent)}
.ibtn.on{background:var(--accent-soft); color:var(--accent); border-color:transparent}
.whact{display:inline-flex; align-items:center; gap:8px; flex:none}
.subh{font-size:13px; font-weight:600; margin:2px 0 8px; display:flex; align-items:center; gap:8px; flex-wrap:wrap}
.bl{filter:blur(5px); pointer-events:none; user-select:none; opacity:.85}
.unlock{display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; padding:10px 12px; margin:6px 0; border:1px dashed var(--line); border-radius:8px; background:var(--surface-2); font-size:13px; color:var(--ink-2); list-style:none}
.pager{display:flex; justify-content:center; align-items:center; gap:4px; flex-wrap:wrap; margin-top:10px}
.pager button{min-width:32px; height:32px; padding:0 8px; border:1px solid var(--line); background:var(--surface); color:var(--ink); border-radius:6px; font:inherit; font-size:13px; cursor:pointer}
.pager button:hover:not(:disabled){border-color:var(--accent); color:var(--accent)}
.pager button[aria-current=page]{background:var(--accent); color:#fff; border-color:var(--accent)}
.pager button:disabled{opacity:.4; cursor:default}
.pager .gap{color:var(--ink-3); padding:0 2px}
.nzlist,.nzsoc{max-height:70vh; overflow:auto; position:relative}
.nzsoc{padding-right:4px}
@media (min-width:1024px){
 .nzgrid{align-items:stretch}
 .nzgrid>.panel{display:flex; flex-direction:column; height:calc(100vh - 250px); min-height:560px; max-height:860px}
 .nzgrid .nzlist,.nzgrid .nzsoc{flex:1; min-height:0; max-height:none}
}

/* Comptes en ligne */
.authlink{align-self:flex-start; border:0; background:none; padding:0; color:var(--accent); font-size:13px; font-weight:600; text-decoration:underline; text-underline-offset:3px}
.authlink:hover{color:var(--ink)}
.ok:empty{display:none}
.btn[disabled]{opacity:.6; cursor:progress}
.promobox{display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin:2px 0 12px}
.promobox .inp{flex:1 1 160px; max-width:240px; text-transform:uppercase; letter-spacing:.04em}
.promobox .promomsg{flex-basis:100%}
.promobox .promomsg.err{color:var(--down)}
.promobox .promomsg.okp{color:var(--up); font-weight:600}
.planpick .pp{font-family:var(--f-body); font-size:11px; font-weight:600; color:var(--up)}
.pushask{position:fixed; left:50%; transform:translateX(-50%); bottom:calc(16px + env(safe-area-inset-bottom,0px)); z-index:45; width:min(460px,calc(100% - 24px)); display:flex; gap:12px; align-items:flex-start; background:var(--surface); border:1px solid var(--accent); border-radius:14px; padding:14px; box-shadow:0 18px 50px -18px rgba(0,0,0,.7)}
.pushask[hidden]{display:none}
.pushask-ic{flex:none; display:grid; place-items:center; width:40px; height:40px; border-radius:50%; background:var(--accent-soft); color:var(--accent)}
.pushask b{font-family:var(--f-display); font-size:15px}
.pushask p{margin:4px 0 10px; font-size:13px; color:var(--ink-2)}
.pushask .row{display:flex; gap:8px; flex-wrap:wrap}
@media (max-width:640px){.pushask{bottom:calc(84px + env(safe-area-inset-bottom,0px))}}
#prPlans{grid-template-columns:repeat(auto-fit,minmax(min(100%,135px),1fr)); gap:10px}
@media (max-width:540px){#prPlans{grid-template-columns:1fr}}
#prPlans .pcard{padding:14px 12px; gap:6px; border-radius:10px; cursor:pointer; transition:border-color .15s}
#prPlans .pcard:hover{border-color:var(--accent)}
#prPlans .pcard.pop{border-color:var(--accent); background:var(--accent-soft)}
#prPlans .pcard>b{font-size:15px}
.planpick .ppx{display:flex; align-items:baseline; gap:2px; font-family:var(--f-body); color:var(--ink)}
.planpick .ppx strong{font-family:var(--f-mono); font-size:15px; font-weight:600}
#prPlans .ppx strong{font-size:22px; letter-spacing:-.01em}
.planpick .ppx{flex-wrap:wrap}
.planpick .ppx small{font-size:12px; color:var(--ink-3); white-space:nowrap}
.planpick .pps{font-family:var(--f-body); font-size:11px; color:var(--ink-3)}
.planpick .ppf{list-style:none; margin:6px 0 0; padding:0; display:flex; flex-direction:column; gap:4px; font-size:12px; color:var(--ink-2); font-family:var(--f-body)}
.planpick .ppf li{display:flex; gap:6px}
.planpick .ppf li::before{content:"✓"; color:var(--accent); flex:none}
.planpick .ppc{margin-top:auto; padding-top:8px; font-family:var(--f-body); font-size:13px; font-weight:600; color:var(--accent)}
.synct{position:fixed; left:50%; bottom:calc(16px + env(safe-area-inset-bottom,0px)); transform:translateX(-50%); z-index:40; max-width:min(520px,calc(100% - 32px)); background:var(--ink); color:var(--bg); border-radius:8px; padding:10px 14px; font-size:13px; box-shadow:0 10px 30px -12px rgba(0,0,0,.5)}
@media (max-width:640px){.synct{bottom:calc(88px + env(safe-area-inset-bottom,0px))}}

.ccysel#ccySel{width:100%; height:auto; padding:9px 10px}
.mi{display:none}
.rngseg{margin:2px 0 8px}
/* Graphique d'analyse technique (TradingView Lightweight Charts, attribution dans les CGU) */
.tabar{display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:2px 0 8px}
.tabar .seg{margin:0}
.tabar .tind{display:flex; flex-wrap:wrap; gap:4px}
.tabar .tind button{font:inherit; font-family:var(--f-mono); font-size:11px; letter-spacing:.03em; padding:4px 8px; border:1px solid var(--line); background:transparent; color:var(--ink-3); cursor:pointer; border-radius:4px}
.tabar .tind button[aria-pressed=true]{color:var(--ink); border-color:var(--ink-3)}
.tabar .tind button i{display:inline-block; width:8px; height:2px; vertical-align:middle; margin-right:5px}
html.tv2 .tabar .tind button{border-radius:0}
.tahost{position:relative; width:100%; height:420px; margin-bottom:8px}
.taleg{position:absolute; left:8px; top:6px; z-index:3; pointer-events:none; font-family:var(--f-mono); font-size:11px; color:var(--ink-2); display:flex; flex-wrap:wrap; gap:4px 10px; max-width:calc(100% - 90px)}
.taleg b{color:var(--ink); font-weight:500}
.taleg .up{color:var(--up)} .taleg .down{color:var(--down)}
.tamsg{position:absolute; inset:0; display:flex; align-items:center; justify-content:center; color:var(--ink-3); font-size:13px; font-family:var(--f-mono)}
#pgCoin.tacandle #chRange,#pgCoin.tacandle #hoverRead,#pgCoin.tacandle #chart{display:none}
.menu .sh{display:none}
.menu button[data-page=social]{display:none}
.pwabtn{display:none}
.dlbtn{display:none}
.pwabox{display:none}
@media (max-width:640px), (pointer:coarse) and (max-width:1023px){
  body{padding-bottom:calc(76px + env(safe-area-inset-bottom,0px))}
  .menu{position:fixed; left:0; right:0; bottom:0; top:auto; order:0; margin:0; z-index:25; display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:0; overflow:visible; background:var(--surface); border-top:1px solid var(--line); padding:6px max(4px,env(safe-area-inset-right,0px)) calc(6px + env(safe-area-inset-bottom,0px)) max(4px,env(safe-area-inset-left,0px)); box-shadow:0 -8px 24px -16px rgba(0,0,0,.35)}
  .menu button,.menu button[aria-current="page"]{display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; padding:6px 2px; min-width:0; font-size:11px; font-weight:600; line-height:1.15; color:var(--ink-3); border:0; border-radius:10px; background:transparent; flex:none}
  .menu button span{max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
  .menu button[aria-current="page"]{color:var(--accent); background:var(--accent-soft)}
  .menu .mi{display:block}
  .menu button[data-page=social]{display:flex}
  body.kbd .menu{display:none}
  /* Mentions légales (CGU, confidentialité, risques, société) : sur mobile, seulement sur la page Profil. */
  body:not([data-pg=profile]) .footlg{display:none}
  /* App installée (écran d'accueil) : iOS garde parfois une hauteur de fenêtre réduite après la fermeture du clavier,
     et une barre ancrée en bas remonte au milieu de l'écran. On l'ancre au bas de l'écran réel (100lvh) plutôt qu'au bas de la fenêtre. */
  @media (display-mode:standalone){.menu{top:var(--apph,100lvh); bottom:auto; transform:translateY(-100%)}}
  /* Menu du bas : Cryptos · News · Home · Social · Tracker (le Portfolio s'ouvre depuis l'en-tête). */
  nav.menu button.sbonly{display:flex!important}
  .menu button[data-page=portfolio]{display:none!important}
  .menu button[data-page=cryptos]{order:1}
  .menu button[data-page=news]{order:2}
  .menu button[data-page=dash]{order:3}
  .menu button[data-page=social]{order:4}
  .menu button[data-page=whales]{order:5}
  /* En-tête mobile connecté : profil (prénom + formule) à gauche, accès Portfolio à droite, sans logo. */
  body.authed .bar .brand{display:none}
  body.authed .acct{flex:1; min-width:0}
  body.authed .acct .avbtn{display:inline-flex; align-items:center; gap:8px; min-width:0; padding:3px 12px 3px 3px}
  body.authed .acct .avn{display:none}
  body.authed .acct .avfn{display:block; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-weight:600}
  body.authed .acct .avtier{display:inline-block; flex:none; font-size:10px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:var(--accent); background:var(--accent-soft); border-radius:999px; padding:2px 7px}
  body.authed .acct .pfico{display:inline-flex; align-items:center; justify-content:center; margin-left:auto; flex:none; width:40px; height:40px; border-radius:50%; border:1px solid var(--line); background:var(--surface); color:var(--ink); cursor:pointer}
  .acct .chico{display:inline-flex; align-items:center; justify-content:center; flex:none; width:40px; height:40px; border-radius:50%; border:1px solid var(--line); background:var(--surface); color:var(--ink); cursor:pointer}
  body.authed .acct .chico{margin-left:auto}
  .acct .chico{position:relative}
  .acct .chico.unread{color:var(--accent); border-color:var(--accent); background:var(--accent-soft)}
  .acct .chico.unread::after{content:attr(data-n); position:absolute; top:-4px; right:-4px; min-width:18px; height:18px; padding:0 5px; border-radius:999px; background:var(--down); color:#fff; font-size:11px; font-weight:700; line-height:18px; text-align:center; box-shadow:0 0 0 2px var(--bg); animation:chpulse 1.6s ease-out 3}
  @keyframes chpulse{0%{box-shadow:0 0 0 2px var(--bg),0 0 0 2px rgba(255,107,94,.6)}100%{box-shadow:0 0 0 2px var(--bg),0 0 0 10px rgba(255,107,94,0)}}
  body.authed .acct .chico+.pfico{margin-left:8px}
  body:not(.authed) .acct .chico{width:36px; height:36px}
  body.authed[data-pg=portfolio] .acct .pfico{color:var(--accent); border-color:var(--accent); background:var(--accent-soft)}
  #pgNews[data-view="social"] #nzFilt,#pgNews[data-view="social"] #nzNewsP,#pgNews[data-view="news"] #nzSocP{display:none}
  .menu .lg{display:none}
  .menu .sh{display:inline}
  .menu button[data-page=whales]::after{display:none!important}
  .fprefs{display:flex}
  .pwabtn{display:inline-flex; align-items:center; gap:8px; background:var(--surface); border:1px solid var(--line); border-radius:8px; padding:7px 10px; font-size:13px; font-weight:600; color:var(--ink); height:34px}
  .pwabtn[hidden]{display:none}
  body:not(.pwa) .acct .dlbtn{display:inline-flex; align-items:center; gap:6px; flex:none; height:36px; padding:0 12px; border-radius:999px; border:1px solid var(--accent); background:var(--accent-soft); color:var(--accent); font-size:13px; font-weight:700; white-space:nowrap; cursor:pointer}
  body:not(.authed) .acct .dlbtn{display:none!important}
  .dlbox{margin-bottom:12px}
  body.authed:not(.pwa) .acct .dlbtn{margin-left:auto} body.authed:not(.pwa) .acct .dlbtn+.chico{margin-left:0}
  @media (max-width:379px){body.authed:not(.pwa) .acct .dlbtn{padding:0 9px; gap:4px; font-size:12px} body.authed:not(.pwa) .acct .avtier{display:none} body.authed:not(.pwa) .acct .avbtn{padding-right:3px}}
  body.authed:not(.pwa) .acct .avfn{display:none} body.authed:not(.pwa) .acct{flex:1 1 auto} body.authed:not(.pwa) .acct .avbtn{flex:none}
  .pwabox{display:block; width:100%; font-size:13px; color:var(--ink-2); background:var(--surface-2); border:1px solid var(--line); border-radius:8px; padding:10px 12px}
  .pwabox[hidden]{display:none}
  .pwabox p+p{margin-top:6px}
}

.gbtn{display:flex; align-items:center; justify-content:center; gap:10px; width:100%}
.gauth{display:flex; flex-direction:column; gap:10px}
.orsep{display:flex; align-items:center; gap:10px; color:var(--ink-3); font-size:12px}
.orsep::before,.orsep::after{content:""; flex:1; height:1px; background:var(--line)}
/* PC : menu latéral à gauche, repliable (le mobile garde sa barre du bas) */
.sbtog,.logo-ico,.dtop,.avtier,.avfn,.pfico,.chico{display:none}
.aadlg{width:min(640px,100%)}
.pfadd{margin-left:auto; flex:none}
.pfrng{width:max-content; max-width:100%}
.ph:has(.pfadd) #pfTag{order:3; flex-basis:100%; width:max-content; max-width:max-content}
.aadlg .subh:first-child{margin-top:0}
.pfkind{margin-top:6px}
.ptsum{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin:10px 0 4px}
.ptsum>div{display:flex; flex-direction:column; gap:2px}
.ptsum .num{font-family:var(--f-mono); font-size:15px}
.ptpos{display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:10px; align-items:center; padding:8px 0; border-bottom:1px solid var(--line); font-size:13px}
.ptpos:last-child{border-bottom:0}
.ptp1{display:flex; flex-direction:column; min-width:0; line-height:1.3}
.ptp1 small{font-size:12px; overflow-wrap:anywhere}
.ptpos .r{text-align:right; display:flex; flex-direction:column; font-variant-numeric:tabular-nums}
.ptpos .r small{font-family:var(--f-mono); font-size:12px}
.ptside{font-size:10px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; padding:1px 6px; border-radius:4px; margin-left:4px; vertical-align:1px}
.ptside.up{color:var(--up); background:var(--up-soft)}
.ptside.down{color:var(--down); background:var(--down-soft,color-mix(in srgb,var(--down) 15%,transparent))}
.menu button.sbonly{display:none!important}
.menu .nl2,.menu .smenu,.menu .mhead{display:none}
.socbar{display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin:0 0 16px}
.socbar h2{font-family:var(--f-display); font-size:22px; margin:0}
.socbar .btn{margin-left:auto}
.socgrid{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px}
@media (max-width:1279px){.socgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:720px){.socgrid{grid-template-columns:1fr}}
.soccol{display:flex; flex-direction:column; min-width:0; height:min(calc(75vh - 90px),570px); min-height:360px}
.socgrid.few .soccol{height:min(calc(100vh - 120px),760px); min-height:480px}
.soccol .ph{gap:10px; align-items:center}
.soccol .ph .sfav{flex:none}
.soccol .ph div{min-width:0; display:flex; flex-direction:column}
.soccol .ph b{font-size:15px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.soccol .ph small{color:var(--ink-3); font-size:12px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.soccol .ph a{margin-left:auto; flex:none; font-size:12px; color:var(--ink-3)}
.soccol .ph a:hover{color:var(--accent)}
.soclist{flex:1; min-height:0; overflow-y:auto; display:flex; flex-direction:column; gap:10px; padding-right:2px}
.soclist .sfc{flex:none}
.soclist .hmore{flex:none; align-self:center; margin:4px 0 8px}
.soclist .hend{flex:none; text-align:center; margin:4px 0 8px}
@media (max-width:1023px){.soccol,.socgrid.few .soccol{height:auto; min-height:0; max-height:80vh}}
@media (min-width:1024px){
  .menu .nl1{display:none}
  .menu .nl2{display:inline}
  .menu .smenu{display:flex; flex-direction:column; gap:2px; margin:-2px 0 4px 22px; padding-left:12px; border-left:1px solid var(--line)}
  .menu .smenu button,.menu .smenu button[aria-current="page"]{padding:6px 10px; font-size:13px; font-weight:500; color:var(--ink-3)}
  .menu .smenu button:hover{color:var(--ink)}
  .menu .smenu button[aria-current="page"]{color:var(--accent); background:var(--accent-soft)}
  body.sbmin .menu .smenu{display:none}
  .menu .mhead{display:flex; align-items:center; gap:12px; padding:10px 12px; font-size:14px; font-weight:600; color:var(--ink-2); cursor:default; white-space:nowrap}
  .menu .mhead .mi{display:block; flex:none}
  nav.menu>button[data-page=cryptos]{display:none}
  body.sbmin .menu .mhead{display:none}
  body.sbmin nav.menu>button[data-page=cryptos]{display:flex; justify-content:center; padding:10px 0}
  .menu .smenu button.soon{cursor:default; opacity:.55}
  .menu .smenu button.soon:hover{color:var(--ink-3); background:transparent}
  .menu .smenu button.soon::after{content:"SOON"; margin-left:auto; font-size:9px; font-weight:700; letter-spacing:.05em; padding:1px 4px; border-radius:3px; background:var(--surface-2); color:var(--ink-3)}
}
@media (min-width:1024px){
  :root{--sbw:232px}
  body.sbmin{--sbw:76px}
  body{padding-left:calc(var(--sbw) + 24px)}
  .top{position:fixed; top:0; left:0; bottom:0; width:var(--sbw); margin:0; padding:18px 12px 16px; border-bottom:0; border-right:1px solid var(--line); background:var(--surface); overflow-y:auto; overflow-x:hidden; z-index:20; transition:width .18s ease}
  .bar{flex-direction:column; flex-wrap:nowrap; align-items:stretch; gap:6px; height:100%}
  .brand{margin:0 0 14px; padding:0 6px; justify-content:flex-start; min-height:46px}
  .logo-img{height:30px}
  .sbtog{display:grid; place-items:center; position:absolute; top:26px; right:10px; width:30px; height:30px; border:1px solid var(--line); border-radius:8px; background:var(--bg); color:var(--ink-2)}
  .sbtog:hover{color:var(--ink); border-color:var(--accent)}
  .menu{flex-direction:column; align-items:stretch; gap:4px; margin:0}
  .menu button.sbonly{display:flex!important}
  .wrap{padding-top:20px}
  .menu button,.menu button[aria-current="page"]{display:flex; align-items:center; gap:12px; padding:10px 12px; border:0; border-radius:8px; font-size:14px; font-weight:600; text-align:left; white-space:nowrap}
  .menu button[aria-current="page"]{color:var(--accent); background:var(--accent-soft)}
  .menu .mi{display:block; flex:none}
  .menu button[data-page=whales]::after{margin-left:auto}
  .acct{margin-top:auto; flex-direction:column; align-items:stretch; padding-top:12px; border-top:1px solid var(--line)}
  .acct .btn{width:100%; justify-content:center}
  .acct .avbtn{border-color:transparent; background:transparent; padding:6px 8px; border-radius:8px; width:100%}
  .acct .avbtn:hover{background:var(--surface-2); border-color:transparent}
  .acct .avn{max-width:none; flex:1; text-align:left}
  .acct .avtier{display:inline-block; flex:none; font-size:10px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:var(--accent); background:var(--accent-soft); border-radius:999px; padding:2px 7px}
  body.sbmin .acct .avtier{display:none}
  .dtop{display:flex; justify-content:flex-end; padding:18px 0 15px}
  .dtop .btn{gap:6px}
  .pfadd{display:none}
  body:not([data-pg=dash]):not([data-pg=portfolio]) .dtop{display:none}
  /* Replié : favicon, icônes seules */
  body.sbmin .top{padding-inline:10px}
  body.sbmin .logo-img{display:none}
  body.sbmin .logo-ico{display:block; width:32px; height:32px; border-radius:7px}
  body.sbmin .brand{justify-content:center; padding:0; margin-bottom:8px}
  body.sbmin .sbtog{position:static; margin:0 auto 10px}
  body.sbmin .sbtog svg{transform:scaleX(-1)}
  body.sbmin .menu button{justify-content:center; padding:10px 0}
  body.sbmin .menu button span,body.sbmin .menu button[data-page=whales]::after{display:none}
  body.sbmin .acct .avn,body.sbmin .acct [data-act=signup]{display:none}
  body.sbmin .acct .avbtn{justify-content:center; padding:4px 0}
  body.sbmin .acct [data-act=login]{padding-inline:0; font-size:11px}
}

/* Terminal V2 (ordinateur) : barre du haut avec recherche et menu horizontal, bandeau de prix, sous-menu vertical à gauche selon la section, barre d'état en bas. Activé par la classe html.tv2. */
html.tv2 body{padding:86px 0 34px; padding-left:0}
html.tv2 body.tvsub{padding-left:210px}
html.tv2 .wrap{max-width:none; padding:0 16px}
html.tv2 .top{position:fixed; top:0; left:0; right:0; bottom:auto; width:auto; height:52px; margin:0; padding:0 16px; border-right:0; border-bottom:1px solid var(--line); background:#0F0F0F; overflow:visible; z-index:30; display:flex; align-items:center}
html.tv2 .bar{flex-direction:row; flex-wrap:nowrap; align-items:center; gap:18px; height:auto; width:100%}
html.tv2 .brand{margin:0; padding:0; min-height:0; flex:none}
html.tv2 .logo-img{display:block; height:22px}
html.tv2 .logo-ico,html.tv2 .sbtog{display:none!important}
html.tv2 .top .menu{flex-direction:row; align-items:center; gap:2px; margin:0; flex:none}
html.tv2 .top .menu .mi{display:none}
html.tv2 .top nav.menu>button,html.tv2 .top nav.menu>button[aria-current="page"]{display:flex; align-items:center; gap:6px; padding:8px 12px; border:0; border-radius:0; background:transparent; color:var(--ink-2); font-family:var(--f-mono); font-size:12px; font-weight:500; letter-spacing:.04em; text-transform:uppercase}
html.tv2 .top nav.menu>button:hover{color:var(--ink)}
html.tv2 .top nav.menu>button.tvon{background:var(--accent); color:#0A0A0A; font-weight:600}
html.tv2 .top nav.menu>button[data-page=cryptos]{display:flex}
html.tv2 .top nav.menu>button[data-page=social],html.tv2 .top nav.menu .mhead,html.tv2 .top nav.menu .smenu{display:none!important}
html.tv2 .top nav.menu>button[data-page=whales]::after{margin-left:4px}
html.tv2 .top nav.menu>button.tvon[data-page=whales]::after{background:#0A0A0A; color:var(--accent)}
html.tv2 .top nav.menu>button[data-page=hf]::after{margin-left:4px}
html.tv2 .top nav.menu>button.tvon[data-page=hf]::after{background:#0A0A0A; color:var(--accent)}
html.tv2 .top nav.menu>button[data-page=geo]::after{margin-left:4px}
html.tv2 .top nav.menu>button.tvon[data-page=geo]::after{background:#0A0A0A; color:var(--accent)}
/* Barre du haut avec Perps Hyperflow et Qubo AI : espacements resserrés sous 1800 px pour que tout tienne dès 1280 px. */
@media (max-width:1899px){html.tv2 .top nav.menu>button,html.tv2 .top nav.menu>button[aria-current="page"]{padding:8px 6px; letter-spacing:.02em} html.tv2 .top .tvsearch{min-width:120px}}
/* Qubo AI (choix de Paul, 8 novembre 2026) : invite terminal « > QUBO AI » détachée à droite du menu, après un séparateur,
   cadre orange en pointillés et curseur qui clignote ; plein orange quand la page est ouverte. */
html.tv2 .top nav.menu .qsep{width:1px; height:24px; margin:0 8px; background:#333; flex:none}
html.tv2 .top nav.menu>button[data-page=scr],html.tv2 .top nav.menu>button[data-page=scr][aria-current="page"]{gap:6px; height:32px; padding:0 10px; border:1px dashed rgba(255,138,0,.6); border-radius:2px; background:#0A0A0A; color:#fff; font-weight:700; letter-spacing:.04em; white-space:nowrap}
html.tv2 .top nav.menu>button[data-page=scr]:hover{border-color:var(--accent); color:#fff}
html.tv2 .top nav.menu>button[data-page=scr] .qpr{display:inline; color:var(--accent); font-weight:700}
html.tv2 .top nav.menu>button[data-page=scr] .qcur{display:inline-block; width:7px; height:13px; background:currentColor; animation:qcur 1.1s steps(1) infinite}
html.tv2 .top nav.menu>button[data-page=scr].tvon{background:var(--accent); border-color:var(--accent); color:#0A0A0A}
html.tv2 .top nav.menu>button[data-page=scr].tvon .qpr{color:#0A0A0A}
@keyframes qcur{0%,49%{opacity:1}50%,100%{opacity:0}}
/* Qubo Research (proposition C choisie par Paul, 10 novembre 2026) : « // » orange devant, comme les titres des menus
   latéraux, en réponse au « > » de Qubo AI ; texte blanc en gras ; fond orange sombre quand la page est ouverte. */
html.tv2 .top nav.menu>button[data-page=rep],html.tv2 .top nav.menu>button[data-page=rep][aria-current="page"]{color:#F5F5EF; font-weight:700; letter-spacing:.04em; white-space:nowrap; border-radius:2px}
html.tv2 .top nav.menu>button[data-page=rep]>span::before{content:"// "; color:var(--accent); white-space:pre}
html.tv2 .top nav.menu>button[data-page=rep]:hover{color:#fff}
html.tv2 .top nav.menu>button[data-page=rep].tvon{background:#1F1408; color:var(--accent); box-shadow:none}
@media (prefers-reduced-motion:reduce){html.tv2 .top nav.menu>button[data-page=scr] .qcur{animation:none}}
/* Sous 1400 px, Communauté (pas encore ouverte) passe en icône, comme GeoEnergy, pour laisser la place à Qubo AI. */
@media (max-width:1399px){html.tv2 .top nav.menu>button[data-page=disc]>span,html.tv2 body .top nav.menu>button[data-page=disc].soon::after{display:none!important} html.tv2 .top nav.menu>button[data-page=disc]>.mi{display:block; width:18px; height:18px}}
.qpr,.qcur{display:none}
@media (max-width:1599px){html.tv2 .top nav.menu .qsep{margin:0 6px} html.tv2 .top nav.menu>button[data-page=scr],html.tv2 .top nav.menu>button[data-page=scr][aria-current="page"]{padding:0 8px}}
/* Avec GeoEnergy dans la barre du haut : sous 1600 px, les étiquettes de formule (PULSE+, EDGE+, APEX) du menu du haut sont masquées pour que tout tienne. */
@media (max-width:1599px){html.tv2 .top nav.menu>button::after,html.tv2 body[data-tier] .top nav.menu>button::after{display:none!important}}
@media (max-width:1599px){html.tv2 .top nav.menu>button,html.tv2 .top nav.menu>button[aria-current="page"]{padding:8px 4px; font-size:11px; letter-spacing:0} html.tv2 .top .tvsearch{min-width:80px} html.tv2 .top nav.menu>button[data-page=geo]>span{display:none} html.tv2 .top nav.menu>button[data-page=geo]>.mi{display:block; width:18px; height:18px}}
@media (max-width:1299px){html.tv2 .top .tvsearch{min-width:56px}}
html.tv2 body[data-tier=free] .top nav.menu>button[data-page=news]::after{content:"PULSE+"; margin-left:4px; font-size:9px; font-weight:700; letter-spacing:.05em; padding:1px 4px; border-radius:3px; background:var(--accent-soft); color:var(--accent)}
html.tv2 body[data-tier=free] .top nav.menu>button.tvon[data-page=news]::after{background:#0A0A0A; color:var(--accent)}
html.tv2 .acct{margin:0 0 0 auto; flex-direction:row; align-items:center; padding:0; border:0; gap:8px; flex:none}
html.tv2 .acct .btn{width:auto}
html.tv2 .acct .avbtn{width:auto; padding:0; border:0; border-radius:2px; background:none}
html.tv2 .acct .avbtn:hover .av{filter:brightness(1.12)}
html.tv2 .acct .avn,html.tv2 .acct .avtier,html.tv2 .acct .avfn,html.tv2 .acct .dlbtn,html.tv2 .acct .chico{display:none!important}
html.tv2 .acct .av{border-radius:2px; width:32px; height:32px; font-size:13px}
.tvsearch,.tvplans,.tvsup,.tvtick,.tvsubnav,.tvstat,#wlPanel{display:none}
html.tv2 .tvsearch{position:relative; display:flex; align-items:center; gap:8px; flex:0 1 340px; min-width:180px; height:32px; padding:0 10px; background:#0A0A0A; border:1px solid var(--line); border-radius:2px}
html.tv2 .tvsearch:focus-within{border-color:var(--accent)}
.tvsearch>span{color:var(--accent); font-family:var(--f-mono)}
.tvsearch input{flex:1; min-width:0; background:transparent; border:0; outline:none; color:var(--ink); font:inherit; font-family:var(--f-mono); font-size:12px}
.tvsug{position:absolute; left:-1px; right:-1px; top:calc(100% + 4px); z-index:40; background:#0F0F0F; border:1px solid var(--line); margin:0; padding:4px; list-style:none; box-shadow:0 14px 34px -12px rgba(0,0,0,.6)}
.tvsug[hidden]{display:none}
.tvsug button{display:flex; width:100%; gap:10px; align-items:center; padding:7px 8px; border:0; background:transparent; color:var(--ink); font-family:var(--f-mono); font-size:12px; text-align:left; cursor:pointer}
.tvsug button:hover,.tvsug button[aria-selected="true"]{background:#1A1A1A}
.tvsug small{color:var(--ink-3); margin-left:auto}
html.tv2 .acct{order:9}
html.tv2 .tvplans{display:inline-flex; order:7; margin-left:auto; align-items:center; font-family:var(--f-mono); font-size:12px; letter-spacing:.04em; text-transform:uppercase; cursor:pointer; background:transparent; border:1px solid var(--accent); color:var(--accent); padding:5px 10px; border-radius:2px; white-space:nowrap}
html.tv2 .tvplans:hover{background:var(--accent-soft)}
html.tv2 .tvsup{display:grid; order:8; place-items:center; width:32px; height:32px; padding:0; border:1px solid var(--line); border-radius:2px; background:#1A1A1A; color:var(--ink); cursor:pointer; position:relative; flex:none}
html.tv2 .tvsup:hover{border-color:var(--accent)}
html.tv2 .tvsup.unread{color:var(--accent); border-color:var(--accent)}
html.tv2 .tvsup.unread::after{content:attr(data-n); position:absolute; top:-6px; right:-6px; min-width:16px; height:16px; padding:0 4px; border-radius:999px; background:var(--down); color:#fff; font-size:10px; line-height:16px; text-align:center}
html.tv2 .acct{margin-left:-8px}
html.tv2 .tvsup{margin-left:auto}
html.tv2 .tvplans:not([hidden]) ~ .tvsup{margin-left:-8px}
html.tv2 .tvbell+.tvsup{margin-left:-8px}
html.tv2 .tvadm[hidden]{display:none!important}
html.tv2 .tvadm:not([hidden])+.tvsup{margin-left:-8px}
html.tv2 .tvptn{width:auto; padding:0 10px; font:600 11px var(--f-mono); letter-spacing:.06em; text-decoration:none; white-space:nowrap}
html.tv2 .tvptn[hidden]{display:none!important}
html.tv2 .tvptn.on{background:var(--accent); border-color:var(--accent); color:#0A0A0A}
html.tv2 .tvptn:not([hidden]) ~ .tvsup{margin-left:-8px}
html.tv2 #prPushBtn.ptest{display:none!important}
/* Bloc « Alertes de prix » de la page actif, au style du Terminal */
html.tv2 #paPanel .paform{display:flex; align-items:stretch; gap:0; flex-wrap:wrap}
html.tv2 #paPanel .paform .fld{flex:1 1 160px; min-width:0; margin:0; gap:6px}
html.tv2 #paPanel .paform label{font-family:var(--f-mono); font-size:11px; color:var(--ink-3); text-transform:uppercase; letter-spacing:.04em; font-weight:500}
html.tv2 #paPanel .paform .inp{height:36px; min-height:36px; border-radius:0; background:#0A0A0A; border:1px solid var(--line); font-family:var(--f-mono); font-size:12px; padding:0 10px}
html.tv2 #paPanel .paform .inp:focus{border-color:var(--accent); box-shadow:none}
html.tv2 #paPanel .paform .btn{align-self:flex-end; height:36px; border-radius:0; border:1px solid var(--accent); border-left:0; font-family:var(--f-mono); font-size:12px; font-weight:600; text-transform:uppercase; letter-spacing:.03em; padding:0 14px}
html.tv2 #paPanel .hint{font-family:var(--f-mono); font-size:11px; color:var(--ink-3); line-height:1.5}
html.tv2 #paPanel .btn.ghost{border-radius:0; font-family:var(--f-mono); text-transform:uppercase; font-size:11px; border:1px solid var(--line); background:transparent}
html.tv2 #paPanel .palist{margin:10px 0 0; padding:0; list-style:none}
html.tv2 #paPanel .palist li{display:flex; justify-content:space-between; align-items:center; gap:10px; padding:8px 0; border-bottom:1px solid #1A1A1A; border-radius:0; background:transparent; font-family:var(--f-mono); font-size:12px}
html.tv2 #paPanel .palist li.off{opacity:.6}
html.tv2 #paPanel .padel{width:22px; height:22px; border-radius:0; border:1px solid var(--line); background:transparent; color:var(--ink-3); cursor:pointer}
html.tv2 #paPanel .padel:hover{color:var(--down); border-color:var(--down)}
html.tv2 #paPanel .err{font-family:var(--f-mono); font-size:11px}
html.tv2 .tvbell.on{color:var(--accent); border-color:var(--accent)}
html.tv2 .tvbell.on::after{content:attr(data-n); position:absolute; top:-6px; right:-6px; min-width:16px; height:16px; padding:0 4px; border-radius:999px; background:var(--accent); color:#0A0A0A; font-size:10px; font-weight:600; line-height:16px; text-align:center}
.tvalov .dlg{max-width:620px}
.tvpwov .dlg{max-width:440px}
#tvPwOv #prPwForm{display:flex; flex-direction:column; gap:10px}
#tvPwOv #prPwForm .note{display:none}
#tvPwOv #prPwForm label{font-family:var(--f-mono); font-size:11px; color:var(--ink-3); text-transform:uppercase; letter-spacing:.04em}
#tvPwOv #prPwForm .inp{height:36px; min-height:36px; border-radius:0; background:#0A0A0A; border:1px solid var(--line); font-family:var(--f-mono); font-size:12px; padding:0 10px}
#tvPwOv #prPwForm .inp:focus{border-color:var(--accent); box-shadow:none; outline:none}
#tvPwOv #prPwForm .btn{height:36px; border-radius:0; background:var(--accent); color:#0A0A0A; border:1px solid var(--accent); font-family:var(--f-mono); font-size:12px; font-weight:600; text-transform:uppercase; letter-spacing:.03em; padding:0 14px}
#tvPwOv #prPwForm .bad,#tvPwOv #prPwForm .ok{font-family:var(--f-mono); font-size:11px}
#tvAlB{display:flex; flex-direction:column; gap:10px; font-family:var(--f-mono); font-size:12px}
.tvalp{margin:0; color:var(--ink-2); line-height:1.5}
.tvalf{display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) auto; gap:8px; align-items:end}
.tvalf label{display:flex; flex-direction:column; gap:5px; min-width:0}
.tvalf label span{color:var(--ink-3); font-size:11px; text-transform:uppercase; letter-spacing:.04em; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.tvalf select,.tvalf input{height:36px; padding:0 10px; background:#0A0A0A; border:1px solid var(--line); color:var(--ink); font-family:var(--f-mono); font-size:12px; border-radius:0; min-width:0}
.tvalf input:focus,.tvalf select:focus{outline:none; border-color:var(--accent)}
.tvalf .tvbtn{height:36px}
#tvAlB .err{margin:0; color:var(--down)} #tvAlB .err:empty{display:none}
.tvalq{display:flex; justify-content:space-between; align-items:center; margin-top:6px; color:var(--ink-2); text-transform:uppercase; letter-spacing:.04em; font-size:11px}
#tvAlB .q{display:block; height:4px; background:#1A1A1A} #tvAlB .q i{display:block; height:4px; background:var(--accent)}
.tvall{display:flex; flex-direction:column; max-height:260px; overflow:auto}
.tvall .mut{margin:6px 0; color:var(--ink-3)}
.tvalr{display:grid; grid-template-columns:64px minmax(0,1fr) auto; gap:10px; align-items:center; padding:8px 0; border-bottom:1px solid #1A1A1A}
.tvalr .s{background:none; border:0; padding:0; color:var(--ink); font:inherit; font-weight:600; text-align:left; cursor:pointer}
.tvalr .s:hover{color:var(--accent)}
.tvalr>span{display:flex; flex-direction:column; gap:2px; min-width:0}
.tvalr b{font-weight:500}
.tvalr small{color:var(--ink-3); font-size:11px}
.tvalr.off{opacity:.6}
.tvalfoot{display:flex; justify-content:space-between; align-items:center; gap:10px; flex-wrap:wrap; margin-top:6px; padding-top:10px; border-top:1px solid #1A1A1A}
.tvalfoot .mut{color:var(--ink-3); font-size:11px; line-height:1.5; flex:1; min-width:200px}
html.tv2 .tvtick{display:block; position:fixed; top:52px; left:0; right:0; z-index:29; height:34px; overflow:hidden; white-space:nowrap; border-bottom:1px solid var(--line); background:var(--bg)}
.tvtick>div{display:inline-flex; animation:tvtick 60s linear infinite}
.tvtick:hover>div,.tvtick:focus-within>div{animation-play-state:paused}
.tvtick button{font-family:var(--f-mono); font-size:12px; color:var(--ink-2); background:transparent; border:0; padding:9px 16px; cursor:pointer; white-space:nowrap}
.tvtick button:hover{color:var(--ink); background:#1A1A1A}
.tvtick b{font-weight:500; color:var(--ink); margin:0 6px}
@keyframes tvtick{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (prefers-reduced-motion: reduce){.tvtick>div{animation:none}}
html.tv2 body.tvsub .tvsubnav{display:flex; flex-direction:column; gap:2px; position:fixed; top:86px; left:0; bottom:34px; width:210px; padding:14px 10px; border-right:1px solid var(--line); background:var(--bg); overflow-y:auto; z-index:20}
.tvsubnav .tvst{padding:4px 10px 10px; color:var(--accent); font-family:var(--f-mono); font-size:12px; font-weight:600; letter-spacing:.06em; text-transform:uppercase}
html.tv2 .tvsubnav .smenu{display:flex!important; flex-direction:column; gap:2px; margin:0; padding:0; border:0}
html.tv2 .tvsubnav button{display:flex; align-items:center; justify-content:space-between; gap:8px; width:100%; padding:9px 10px; border:0; border-radius:0; background:transparent; color:var(--ink-2); font-family:var(--f-mono); font-size:12.5px; font-weight:500; text-align:left; cursor:pointer}
html.tv2 .tvsubnav button:hover{color:var(--ink)}
html.tv2 .tvsubnav button[aria-current="page"]{background:#1A1A1A; color:var(--ink); box-shadow:inset 2px 0 0 var(--accent)}
html.tv2 .tvsubnav button.sub{padding-left:24px; font-size:12px}
html.tv2 .tvsubnav button.sub::before{content:""; flex:none; width:6px; height:1px; margin-right:-2px; background:var(--ink-3); order:-1}
html.tv2 .tvsubnav button.sub span{margin-right:auto}
html.tv2 .tvsubnav button.soon{cursor:default; color:var(--ink-3); opacity:1}
html.tv2 .tvsubnav button.soon::after{content:"SOON"; font-size:9px; letter-spacing:.05em; padding:1px 5px; border:1px solid var(--line); color:var(--ink-3); background:transparent}
html.tv2 .tvstat{display:flex; align-items:center; gap:20px; position:fixed; left:0; right:0; bottom:0; z-index:29; height:34px; padding:0 16px; border-top:1px solid var(--line); background:#0F0F0F; font-family:var(--f-mono); font-size:11px; color:var(--ink-3); letter-spacing:.04em}
.tvstat i{font-style:normal; color:var(--up)}
.tvstat i.off{color:var(--down)}
.tvstat i.limp{color:#F0B03A}
.tvstat .r{margin-left:auto; letter-spacing:0}
html.tv2 .demobar{display:none}
html.tv2 .dtop{padding:12px 0 10px}
/* Accueil : grille en trois colonnes */
html.tv2 #pgDash{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1px; background:var(--line); border:1px solid var(--line); margin-bottom:16px}
html.tv2 #pgDash[hidden]{display:none}
html.tv2 #pgDash>.main,html.tv2 #pgDash .col,html.tv2 #pgDash>.duo,html.tv2 #pgDash .col2{display:contents}
html.tv2 #pgDash .panel{border:0; border-radius:0; margin:0!important; background:var(--bg)}
html.tv2 #psCard{grid-column:span 2; order:1}
html.tv2 #fgPanel{order:2}
html.tv2 #pgDash .lvpanel,html.tv2 #dwPanel{display:none!important}
html.tv2 #wlPanel{display:flex; flex-direction:column; order:3}
html.tv2 #nwPanel{order:4}
html.tv2 #sfPanel{order:5}
html.tv2 #mcPanel{grid-column:1/-1; order:6}
html.tv2 #pgDash .ph h2{font-family:var(--f-mono); font-size:12px; letter-spacing:.06em; text-transform:uppercase; color:var(--accent); font-weight:600}
html.tv2 #sfPanel .sfseg,html.tv2 #sfInd{display:none}
html.tv2 #sfPanel .sfgrid{max-height:none; min-height:0}
/* Timeline : heure, source, crypto, titre, impact en pixels et tonalité */
.tl{display:grid!important; grid-template-columns:40px minmax(0,1fr) auto; gap:12px; align-items:center; padding:9px 4px; border:0; border-bottom:1px solid #1A1A1A; border-radius:0; background:transparent; margin:0; cursor:pointer; list-style:none; font-family:var(--f-mono)}
.tl:hover{background:#121212}
.tl:focus-visible{outline:2px solid var(--accent); outline-offset:-2px}
.tl time{color:var(--ink-3); font-size:12px}
.tl .tx{display:flex; flex-direction:column; gap:3px; min-width:0}
.tl .src{color:var(--ink-3); font-size:11px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.tl .src b{color:var(--ink); font-weight:500}
.tl .h{font-size:12.5px; color:var(--ink); white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.tl .im{display:flex; flex-direction:column; align-items:flex-end; gap:4px}
.tl .bars{display:flex; gap:2px}
.tl .bars i{width:7px; height:7px; background:#2A2A2A}
.tl .bars i.on{background:var(--accent)}
.tl .tone{font-size:10.5px; color:var(--ink-2)}
.tl .tone.bull{color:var(--up)} .tl .tone.bear{color:var(--down)}
.tl.bl{filter:blur(3px); pointer-events:none}
html.tv2 #nlist,html.tv2 #sfGrid.tlg:not([hidden]){display:block; padding:0; margin:0}
html.tv2 #nzSoc:not([hidden]){display:block}
html.tv2 #nzList .tl,html.tv2 #nzSoc .tl{padding:10px 6px}
/* Watchlist */
#wlPanel .wlrow{display:grid; grid-template-columns:minmax(0,1fr) auto 72px 22px; gap:10px; align-items:center; padding:7px 2px; border-bottom:1px solid #1A1A1A; font-family:var(--f-mono); font-size:12.5px; cursor:pointer}
#wlPanel .wlrow:hover{background:#121212}
#wlPanel .wlrow small{color:var(--ink-3); font-size:10px; margin-left:6px}
#wlPanel .wlrow .c{text-align:right}
#wlPanel .wlx{border:0; background:transparent; color:var(--ink-3); cursor:pointer; font-size:14px; padding:0}
#wlPanel .wlx:hover{color:var(--down)}
#wlPanel .wladd{font-family:var(--f-mono); font-size:11px; cursor:pointer; border:1px solid var(--line); background:transparent; color:var(--ink); padding:3px 8px; border-radius:2px}
#wlPanel .wlf{display:flex; gap:6px; margin:8px 0; position:relative}
#wlPanel .wlf[hidden]{display:none}
#wlPanel .wlf input{flex:1; min-width:0; height:30px; padding:0 8px; background:#0A0A0A; border:1px solid var(--line); color:var(--ink); font-family:var(--f-mono); font-size:12px}
#wlPanel .wlnote{margin-top:auto; padding:10px; border:1px dashed var(--line); color:var(--ink-3); font-size:12px; line-height:1.5}
#wlPanel .wlempty{color:var(--ink-3); font-size:12px; padding:10px 0}
/* Accueil sur un seul écran : portefeuille + Fear & Greed (avec watchlist), puis News, Social Feed, Macro Calendar */
html.tv2 body.gated .top,html.tv2 body.gated .tvtick,html.tv2 body.gated .tvstat,html.tv2 body.gated .tvsubnav{display:none!important}
html.tv2 body.gated{padding:0!important}
html.tv2 .dtop,html.tv2 .foot{display:none!important}
html.tv2 body[data-pg=dash]{overflow:hidden}
html.tv2 #pgDash{height:calc(100vh - 86px - 34px - 24px); min-height:520px; margin:12px 0; grid-template-rows:minmax(0,1fr) minmax(0,1fr); overflow:hidden}
html.tv2 #pgDash .panel{min-height:0; overflow:hidden; display:flex; flex-direction:column; padding:12px 16px}
html.tv2 #pgDash .ph{margin-bottom:8px}
html.tv2 .pfmain .chart-host{min-height:0}
html.tv2 #mcPanel{grid-column:auto; order:6}
html.tv2 #nwPanel [data-topbar],html.tv2 #nwPanel .hint,html.tv2 #nwInd,html.tv2 #nwPend{display:none!important}
html.tv2 #nwPanel .nlist{max-height:none; flex:1; min-height:0; overflow:hidden; margin:0; padding:0; position:relative}
html.tv2 #sfPanel>div[style]{display:none}
html.tv2 #sfGrid{flex:1; min-height:0; overflow:hidden; position:relative}
html.tv2 #pgDash .tl{padding:7px 2px}
html.tv2 #fgPanel>:not(.ph):not(.tvfg):not(#wlPanel):not(#psPerp){display:none!important}
html.tv2 #fgPanel>#psPerp[hidden]{display:none!important}
html.tv2 #fgPanel>#psPerp{flex:0 1 auto; min-height:94px; max-height:40%; overflow-y:auto; scrollbar-width:thin; scrollbar-color:#2A2A2A transparent; margin-top:12px; padding-top:10px; border-top:1px solid #1A1A1A}
html.tv2 #fgPanel>#psPerp .ptpos{padding:5px 0; gap:8px; border-bottom-color:#1A1A1A; font-family:var(--f-mono); font-size:12.5px}
html.tv2 #fgPanel>#psPerp .ptpos .logo{width:20px; height:20px; font-size:7px}
html.tv2 #fgPanel>#psPerp .ptp1 small{display:none}
html.tv2 #fgPanel>#psPerp .ptpos .r{flex-direction:row; gap:14px; align-items:baseline}
html.tv2 #fgPanel>#psPerp .ptpos .r small{min-width:78px; text-align:right}
html.tv2 #fgPanel>#psPerp+#wlPanel{min-height:110px}
html.tv2 #fgPanel>#psPerp .subh{margin:0 0 4px!important; font-family:var(--f-mono); font-size:11px; font-weight:500; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-3)}
.tvfg{display:flex; flex-direction:column; gap:8px; font-family:var(--f-mono)}
.tvfg .fgh{display:flex; align-items:baseline; gap:12px}
.tvfg .fgh b{font-size:38px; font-weight:500; line-height:1}
.tvfg .fgh span{font-size:15px}
.tvfg .sg{display:flex; gap:3px}
.tvfg .sg i{flex:1; height:12px; background:#2A2A2A}
.tvfg .sg i.on{background:var(--accent)}
.tvfg .sc{display:flex; justify-content:space-between; color:var(--ink-3); font-size:10.5px; text-transform:uppercase}
.tvfg .cmp{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; border-top:1px solid #1A1A1A; padding-top:8px; font-size:12px}
.tvls .fgh b{font-size:30px}
.tvls .sg i{opacity:.9}
.tvfg .cmp span{display:block; color:var(--ink-3); font-size:10.5px; text-transform:uppercase; margin-bottom:2px}
html.tv2 #wlPanel{display:flex; flex-direction:column; flex:1; min-height:0; margin-top:10px; padding-top:10px; border-top:1px solid #1A1A1A}
#wlPanel .wlh{display:flex; align-items:center; justify-content:space-between; margin-bottom:8px}
#wlPanel .wlh h3{margin:0; font-family:var(--f-mono); font-size:12px; letter-spacing:.06em; text-transform:uppercase; color:var(--accent); font-weight:600}
#wlPanel .wlnote{display:none}
#wlPanel .wll{display:grid; grid-template-columns:repeat(auto-fill,minmax(100px,1fr)); gap:6px; overflow:auto; min-height:0; align-content:start}
#wlPanel .wlc{position:relative; display:flex; flex-direction:column; align-items:flex-start; text-align:left; gap:2px; padding:7px 10px; border:1px solid var(--line); border-radius:2px; background:#0F0F0F; cursor:pointer; font-family:var(--f-mono); font-size:12px}
#wlPanel .wlc:hover{border-color:var(--accent)}
#wlPanel .wlc:focus-visible{outline:2px solid var(--accent); outline-offset:1px}
#wlPanel .wlc b{font-weight:600}
#wlPanel .wlc .c{font-size:11px}
#wlPanel .wlc .wlx{position:absolute; top:3px; right:5px; opacity:0}
#wlPanel .wlc:hover .wlx,#wlPanel .wlc:focus-within .wlx{opacity:1}
#wlPanel .wlempty{grid-column:1/-1; margin:0}
html.tv2 #mcPanel>:not(.ph):not(.tvmc){display:none!important}
html.tv2 #mcPanel .ph .tag{display:none}
.tvmc{flex:1; min-height:0; overflow:hidden; font-family:var(--f-mono); font-size:11.5px}
.tvmc .r{display:grid; grid-template-columns:auto minmax(0,1fr) auto 50px 50px; height:44px; box-sizing:border-box; padding-top:0!important; padding-bottom:0!important; gap:8px; align-items:center; padding:7px 2px; border-bottom:1px solid #1A1A1A}
.tvmc .r.hd{height:24px; color:var(--ink-3); font-size:10px; letter-spacing:.04em; text-transform:uppercase; padding-top:0}
.tvmc .r.soon{background:#120D06}
.tvmc .w{color:var(--ink-2); white-space:nowrap}
.tvmc .ev{display:flex; flex-direction:column; gap:2px; min-width:0}
.tvmc .en{white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.tvmc .ev small{color:var(--ink-3); font-size:10.5px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.tvmc i.cc{font-style:normal; color:var(--ink-3); margin-right:6px}
.tvmc .in{color:var(--ink-2)}
.tvmc .soon .in{color:var(--accent)}
.tvmc .soon .w{color:var(--accent)}
.tvmc .n,.tvmc .a{text-align:right; color:var(--ink-2); white-space:nowrap}
.tvmc .a.hi{color:var(--accent)}
.tvmc .a.md{color:var(--ink)}
.tvmc button.a{border:0; background:transparent; padding:0; font:inherit; color:var(--ink-3); cursor:pointer}
.tvmc button.a:hover{color:var(--accent)}
.tvmc .nt{color:var(--ink-3); font-size:10.5px; margin:8px 2px 0; line-height:1.5}
.tvmc .empty{color:var(--ink-3); padding:10px 2px}
.tvstat .r a{color:var(--ink-3); text-decoration:none}
.tvmore{display:none}
html.tv2 .modlink{cursor:default}
html.tv2 .tvmore{display:block; flex:none; align-self:flex-end; width:auto; margin-top:8px; padding:6px 0; border:0; background:transparent; color:var(--accent); font-family:var(--f-mono); font-size:11.5px; letter-spacing:.06em; text-transform:uppercase; text-align:right; cursor:pointer}
html.tv2 .tvmore:hover{color:var(--ink)}
.tvstat .r a:hover{color:var(--accent)}
.tvstat .r i{color:var(--line); margin:0 8px}
/* Fenêtre « Upgrade your plan » : même direction artistique que le bloc Plans de la landing */
html.tv2 .plansdlg{width:min(1080px,100%); border-radius:4px; border-color:#2A2A2A; background-color:#0A0A0A; background-image:radial-gradient(#1F1F1F 1px,transparent 1px); background-size:24px 24px; box-shadow:inset 0 2px 0 var(--accent),0 30px 80px -20px rgba(0,0,0,.8); padding:28px 32px; gap:16px; font-family:var(--f-mono)}
html.tv2 .plansdlg .dlg-h h2{font-family:var(--f-mono); font-size:26px; font-weight:700; letter-spacing:-.02em}
html.tv2 .plansdlg .dlg-h h2::before{content:"$ qubo plans --upgrade"; display:block; margin-bottom:10px; font-size:12px; font-weight:500; letter-spacing:0; color:var(--accent)}
html.tv2 .plansdlg .htl{align-items:flex-end}
html.tv2 .plansdlg .tag{border-radius:2px; font-family:var(--f-mono)}
html.tv2 .plansdlg .xbtn{border-radius:2px}
html.tv2 .plansdlg .hint{font-family:var(--f-mono); font-size:13px; color:var(--ink-2); line-height:1.7; max-width:70ch}
html.tv2 .plansdlg .perbox .seg{display:inline-flex; border:1px solid var(--line); border-radius:0; background:#0F0F0F; padding:0; gap:0}
html.tv2 .plansdlg .perbox .seg button{border:0; border-radius:0; background:transparent; padding:9px 16px; font-family:var(--f-mono); font-size:13px; font-weight:600; color:var(--ink-2)}
html.tv2 .plansdlg .perbox .seg button+button{border-left:1px solid var(--line)}
html.tv2 .plansdlg .perbox .seg button[aria-pressed="true"]{background:var(--accent-soft); color:var(--accent)}
.tvperrow{display:contents}
html.tv2 .tvperrow{display:flex; flex-wrap:wrap; align-items:flex-start; justify-content:space-between; gap:12px}
html.tv2 .plansdlg .perbox{margin:0}
html.tv2 .plansdlg .perbox .seg button{display:inline-flex; align-items:center; gap:8px}
html.tv2 .plansdlg .perbox .seg em{font-style:normal; font-size:11px; font-weight:700; color:var(--accent); background:var(--accent-soft); padding:1px 6px}
html.tv2 .plansdlg .promobox{margin:0; gap:0; justify-content:flex-end; max-width:420px}
html.tv2 .plansdlg .promobox>.btn{flex:none; width:auto}
html.tv2 .plansdlg .promobox .inp{flex:none; width:200px; max-width:none; height:auto; border:1px solid var(--line); border-radius:0; background:#0F0F0F; font-family:var(--f-mono); font-size:13px; padding:9px 14px}
html.tv2 .plansdlg .promobox .inp:focus{border-color:var(--accent); outline:none}
html.tv2 .plansdlg .promobox .btn{border:1px solid var(--line); border-left:0; border-radius:0; background:#0F0F0F; color:var(--accent); font-size:13px; padding:9px 16px}
html.tv2 .plansdlg .promobox .btn:hover{background:var(--accent-soft)}
html.tv2 .plansdlg .promobox .promomsg{text-align:right; margin-top:6px}
html.tv2 .plansdlg .btn{border-radius:2px}
html.tv2 .plansdlg .pgrid{grid-template-columns:repeat(auto-fit,minmax(0,1fr)); gap:12px}
html.tv2 .plansdlg .plan{border-radius:4px; background:#0F0F0F; border-color:var(--line); padding:24px; gap:14px}
html.tv2 .plansdlg .plan.pop{border-color:var(--accent)}
html.tv2 .plansdlg .plan h3{font-family:var(--f-mono); font-size:20px; font-weight:600}
html.tv2 .plansdlg .price{font-size:30px}
html.tv2 .plansdlg .taxn{font-size:12px; color:var(--ink-3); margin-top:-8px}
html.tv2 .plansdlg .plan ul{gap:9px; font-family:var(--f-mono); font-size:13px; line-height:1.5}
html.tv2 .plansdlg .plan li{gap:10px}
html.tv2 .plansdlg .plan li::before{content:"■"; width:auto; height:auto; margin-top:3px; border-radius:0; background:none; color:var(--accent); font-size:10px}
html.tv2 .plansdlg .plan .btn{padding:12px 18px; font-size:14px}
.plan .phd{display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap}
.apsw{display:flex; width:100%; align-items:center; gap:10px; border:1px solid var(--accent); background:var(--accent-soft); color:var(--accent); font:inherit; font-size:13px; font-weight:700; text-align:left; line-height:1.35; padding:10px 12px; cursor:pointer; border-radius:2px}
.apsw .tr{width:34px; height:18px; border:1px solid var(--accent); position:relative; flex:none}
.apsw .tr::after{content:""; position:absolute; top:3px; left:3px; width:10px; height:10px; background:var(--accent); opacity:.55; transition:left .15s,opacity .15s}
.apsw:hover{background:rgba(255,138,0,.22)}
.apsw em{margin-left:auto; flex:none}
.plan .apsw{margin:0 0 10px}
.plan .apsw:not([aria-checked="true"]),.plan .apsw:not([aria-checked="true"]):hover{background:transparent}
.apsw[aria-checked="true"]{background:var(--accent); color:#0A0A0A}
.apsw[aria-checked="true"] .tr{border-color:#0A0A0A}
.apsw[aria-checked="true"] .tr::after{left:19px; background:#0A0A0A; opacity:1}
.apsw[aria-checked="true"] em{background:#0A0A0A}
.apsw em,.pkhd em{font-style:normal; font-size:10px; font-weight:700; color:var(--accent); background:var(--accent-soft); padding:1px 6px; letter-spacing:.04em}
.plansdlg .plan.plus{border-color:var(--accent)}
.plansdlg .plan .btn[disabled]{opacity:.55; cursor:default}
.packs{border:1px solid var(--line); background:#0F0F0F; border-radius:4px; padding:20px}
.pkhd h3{font-size:16px; font-weight:600; display:flex; align-items:center; gap:10px; flex-wrap:wrap}
.pkhd p,.pknote{font-size:13px; line-height:1.5; color:var(--ink-2); margin:6px 0 0}
.pknote{color:var(--ink-3); font-size:12px; margin-top:14px}
.pkgift{margin-top:14px; padding:10px 12px; border-radius:10px; background:rgba(255,140,0,.1); border:1px solid rgba(255,140,0,.35); font-size:13px; line-height:1.5; color:var(--ink)}
.pkgift+.pknote{margin-top:8px}
.pkgrid{display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:10px; margin-top:14px}
.pk{border:1px solid var(--line); padding:12px; display:flex; flex-direction:column; gap:4px; min-width:0}
.pk b{font-size:14px; font-weight:600}
.pk .pkp{font-size:18px; font-weight:500; color:var(--accent)}
.pk .pktx{font-size:11px; color:var(--ink-3); margin-top:-2px}
.pk .pkl{font-size:12px; color:var(--ink-3); line-height:1.4}
html.tv2 .packs,html.tv2 .apsw{font-family:var(--f-mono)}
html.tv2 #plIntro{display:none}
@media (max-width:900px){.pkgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
/*TVP-CSS*/
/* Terminal V2 : pages Markets, Portfolio, News & Social, Tracker, actif et profil */
.tvpg,.tvonly{display:none}
html.tv2 .tvonly{display:flex}
/* Boutons réservés au Terminal (Hyperflow, Intel, GeoEnergy) : jamais dans la barre du bas mobile */
html:not(.tv2) nav.menu>button.tvonly{display:none!important}
html.tv2 #pgCryptos>:not(.tvpg),html.tv2 #pgPortfolio>:not(.tvpg),html.tv2 #pgNews>:not(.tvpg),html.tv2 #pgWhales>:not(.tvpg){display:none!important}
html.tv2 .tvpg{display:grid; gap:12px; height:calc(100vh - 86px - 34px - 24px); min-height:560px; margin:12px 0; font-family:var(--f-mono); font-size:12px; color:var(--ink)}
html.tv2 body[data-pg=cryptos],html.tv2 body[data-pg=portfolio],html.tv2 body[data-pg=news],html.tv2 body[data-pg=social],html.tv2 body[data-pg=whales]{overflow:hidden}
.tvpg .mut,.tvpg .tvmut{color:var(--ink-3)}
.tvpg .up{color:var(--up)} .tvpg .down{color:var(--down)}
.tvpg .n{text-align:right}
.tvbox{display:flex; flex-direction:column; min-height:0; border:1px solid var(--line); background:var(--bg)}
.tvbh{display:flex; align-items:center; gap:10px; padding:10px 14px; border-bottom:1px solid #1A1A1A; flex-wrap:wrap; flex:none}
.tvt{margin:0; color:var(--accent); font-family:var(--f-mono); font-size:12px; font-weight:600; letter-spacing:.06em; text-transform:uppercase}
.tvsp{flex:1}
.tvscroll{flex:1; min-height:0; overflow-y:auto; scrollbar-width:thin; scrollbar-color:#2A2A2A transparent}
.tvscroll:focus-visible{outline:1px solid var(--accent); outline-offset:-1px}
.tvseg{display:inline-flex; border:1px solid var(--line)}
.tvseg button{font-family:var(--f-mono); font-size:11.5px; padding:4px 10px; border:0; background:transparent; color:var(--ink-3); cursor:pointer; letter-spacing:.03em; text-transform:uppercase}
.tvseg button+button{border-left:1px solid #1A1A1A}
.tvseg button:hover{color:var(--ink)}
.tvseg button[aria-pressed="true"]{background:#2E1E0A; color:var(--accent)}
.tvq{display:flex; align-items:center; gap:6px; width:220px; height:28px; padding:0 8px; border:1px solid var(--line); margin-left:auto}
.tvq:focus-within{border-color:var(--accent)}
.tvq span{color:var(--ink-3)}
#tvNwF{display:flex; gap:6px; flex:none}
.tvtl>.tvbh .tvq{width:auto; flex:1 1 140px; max-width:220px}
.tvq input{flex:1; min-width:0; background:transparent; border:0; outline:none; color:var(--ink); font:inherit; font-family:var(--f-mono); font-size:12px}
.tvsel{height:28px; padding:0 8px; background:#0A0A0A; border:1px solid var(--line); color:var(--ink); font-family:var(--f-mono); font-size:11.5px}
.tvr{display:grid; gap:12px; align-items:center; padding:8px 14px; border-bottom:1px solid #1A1A1A}
.tvr.hd{padding:6px 14px; color:var(--ink-3); font-size:11px; letter-spacing:.04em; text-transform:uppercase; flex:none}
.tvr[role=link],.tvr[role=button],.tvr[role=listitem]{cursor:pointer}
.tvr[role]:hover{background:#121212}
.tvr:focus-visible{outline:2px solid var(--accent); outline-offset:-2px}
.tvr .as{white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.tvr .as b{font-weight:600}
.tvempty{padding:16px 14px; color:var(--ink-3); margin:0; line-height:1.5}
/* Rapports mensuels (page « Reports » du Terminal) : bibliothèque et lecteur protégé (maquette validée, 2026-11-10) */
.reppg{padding:18px 28px 24px; display:flex; flex-direction:column; gap:14px; overflow:auto}
.reppg .mono,.rpx .mono{font-family:var(--f-mono)}
.rpdots{background-color:#0E0E0E; background-image:radial-gradient(#262626 1px,transparent 1px); background-size:10px 10px}
.rphd{display:flex; align-items:flex-end; gap:24px; flex-wrap:wrap}
.rphd .tx{display:flex; flex-direction:column; gap:6px; min-width:0}
.rphd .cmd{margin:0; font-family:var(--f-mono); font-size:12px; color:var(--accent); letter-spacing:.04em}
.rphd h2{margin:0; font-family:var(--f-mono); font-size:28px; font-weight:600; letter-spacing:-.01em}
.rphd .in{margin:0; font-size:14px; color:var(--ink-2)}
.rpst{margin-left:auto; display:flex; gap:1px; background:var(--line); border:1px solid var(--line)}
.rpst>div{background:var(--surface); padding:12px 18px; display:flex; flex-direction:column; gap:4px; min-width:170px}
.rpst span{font-family:var(--f-mono); font-size:11px; letter-spacing:.08em; color:var(--ink-3); text-transform:uppercase}
.rpst b{font-family:var(--f-mono); font-size:20px; font-weight:600} .rpst b small{color:var(--ink-3); font-size:14px; font-weight:500} .rpst sup{font-size:11px}
.rpfeat{display:flex; border:1px solid var(--line); background:var(--surface)}
.rpfeat .cv{width:440px; flex:none; min-height:246px; padding:28px; display:flex; flex-direction:column; justify-content:space-between; gap:14px; border-right:1px solid var(--line)}
.rpfeat .cv .ey{display:flex; justify-content:space-between; gap:10px; font-family:var(--f-mono); font-size:11px; letter-spacing:.1em; color:var(--accent); text-transform:uppercase} .rpfeat .cv .ey i{font-style:normal; color:var(--ink-3)}
.rpfeat .cv .sy{font-family:var(--f-mono); font-size:44px; font-weight:700; letter-spacing:-.02em; line-height:1; word-break:break-word}
.rpfeat .cv .sy.ln{font-size:28px; line-height:1.1}
.rpfeat .cv h3{margin:10px 0 0; font-family:var(--f-mono); font-size:18px; font-weight:600; line-height:1.3}
.rpfeat .cv .tg{font-family:var(--f-mono); font-size:10px; letter-spacing:.14em; color:var(--ink-3)}
.rpfeat .bd{flex:1; min-width:0; padding:24px 28px; display:flex; flex-direction:column; gap:16px}
.rpfeat .bd .hd{display:flex; align-items:center; gap:10px; font-family:var(--f-mono); font-size:12px; color:var(--ink-3)}
.rpfeat .bd .hd b{font-size:11px; letter-spacing:.1em; color:#0A0A0A; background:var(--accent); padding:3px 7px; font-weight:600}
.rpfeat .pts{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px 28px}
.rpfeat .pts div{display:flex; flex-direction:column; gap:4px} .rpfeat .pts b{font-family:var(--f-mono); font-size:20px; font-weight:600; color:var(--accent)}
.rpfeat .pts span,.rpfeat .th{font-size:13px; color:var(--ink-2); line-height:1.45; margin:0}
.rpfeat .ac{margin-top:auto; display:flex; gap:10px; align-items:center; flex-wrap:wrap}
.rpfeat .ac .sc{margin-left:auto; font-family:var(--f-mono); font-size:12px; color:var(--ink-3); max-width:46%; text-align:right}
/* Deux rapports à la une, côte à côte */
.rpfeats{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px}
.rpfeats .rpfeat{min-width:0}
.rpfeats .rpfeat .cv{width:250px; min-height:220px; padding:22px}
.rpfeats .rpfeat .cv .sy{font-size:34px} .rpfeats .rpfeat .cv .sy.ln{font-size:22px}
.rpfeats .rpfeat .cv h3{font-size:15px}
.rpfeats .rpfeat .bd{padding:20px 22px; gap:12px}
.rpfeats .rpfeat .pts b{font-size:17px}
.rpfeats .rpfeat .ac .sc{display:none} .rpfeats .rpfeat .bd .hd b{white-space:nowrap}
.rpfeats .rpfeat .cv .ey{font-size:10px} .rpfeats .rpfeat .cv .ey i{display:none}
.rpbig{height:40px; padding:0 18px; border:0; background:var(--accent); color:#0A0A0A; font-family:var(--f-mono); font-weight:600; font-size:13px; letter-spacing:.05em; cursor:pointer; text-transform:uppercase}
.rpbig:disabled{opacity:.6; cursor:default}
.rpord{border:1px solid var(--line); background:var(--surface); display:flex; align-items:center; gap:12px; padding:12px 16px; flex-wrap:wrap}
.rpord .lb{display:flex; flex-direction:column; gap:3px; width:250px; flex:none} .rpord .lb b{font-family:var(--f-mono); font-size:11px; letter-spacing:.1em; color:var(--accent); font-weight:500; text-transform:uppercase} .rpord .lb span{font-size:12px; color:var(--ink-3)}
.rpord form{display:flex; align-items:center; gap:10px; flex-wrap:wrap}
.rpin{display:flex; align-items:center; gap:8px; border:1px solid var(--line); background:var(--bg); height:36px; padding:0 10px; font-family:var(--f-mono); font-size:12px; box-sizing:border-box}
.rpin::before{content:'>'; color:var(--accent)}
.rpin input{flex:1; min-width:0; background:transparent; border:0; color:var(--ink); font-family:inherit; font-size:12px; outline:none}
.rpin:focus-within{border-color:var(--accent)}
.rpqx{flex:none; background:transparent; border:0; color:var(--ink-3,#8a8a8a); font:16px/1 var(--f-mono); width:22px; height:22px; padding:0; cursor:pointer; display:inline-flex; align-items:center; justify-content:center}
.rpqx:hover,.rpqx:focus-visible{color:var(--accent); outline:none}
.rpqx[hidden]{display:none}
.rpord .rpin{width:190px}
.rpseg{display:flex; border:1px solid var(--line); height:36px; font-family:var(--f-mono); font-size:11px}
.rpseg button{border:0; background:transparent; color:var(--ink-2); padding:0 9px; font:inherit; cursor:pointer; text-transform:uppercase} .rpseg button+button{border-left:1px solid var(--line)}
.rpseg button[aria-pressed=true]{background:var(--accent-soft); color:var(--accent); font-weight:600}
.rpsel{height:36px; background:var(--bg); border:1px solid var(--line); color:var(--ink-2); font-family:var(--f-mono); font-size:11px; padding:0 8px; text-transform:uppercase}
.rpord .go{height:36px; padding:0 16px; border:0; background:var(--accent); color:#0A0A0A; font-family:var(--f-mono); font-weight:600; font-size:12px; letter-spacing:.05em; cursor:pointer; text-transform:uppercase}
.rpord .go:disabled{background:var(--surface-2); color:var(--ink-3); cursor:default}
.rpord .sep{width:1px; align-self:stretch; background:var(--line); margin:0 4px}
.rpord .mine{font-family:var(--f-mono); font-size:11px; letter-spacing:.08em; color:var(--ink-3); text-transform:uppercase}
.rpord .oc{font-family:var(--f-mono); font-size:12px; border:1px solid var(--line); padding:6px 10px; display:inline-flex; gap:6px; align-items:center; background:transparent; color:var(--ink)}
.rpord .oc .preparing{color:#FFB04D} .rpord .oc .ready{color:var(--up)} .rpord .oc .failed{color:var(--down)}
.rpord .oc button{background:none; border:0; color:var(--accent); font:inherit; cursor:pointer; text-decoration:underline; padding:0 0 0 4px}
.rpmsg{width:100%; margin:0; font-size:12px; color:var(--accent)} .rpmsg.bad{color:var(--down)}
.rpbar{display:flex; align-items:center; gap:8px; flex-wrap:wrap}
.rptabs{display:flex; border:1px solid var(--line); font-family:var(--f-mono); font-size:12px; letter-spacing:.05em}
.rptabs button{height:34px; padding:0 14px; border:0; background:transparent; color:var(--ink-2); font:inherit; cursor:pointer; text-transform:uppercase} .rptabs button+button{border-left:1px solid var(--line)}
.rptabs button[aria-selected=true]{background:var(--accent); color:#0A0A0A; font-weight:600}
.rpbar .rpsel{height:34px; font-size:12px; letter-spacing:.05em}
.rpsrch{margin-left:auto; position:relative; width:300px}
.rpsrch .rpin{height:34px; width:100%}
.rpsug{position:absolute; top:38px; left:0; right:0; z-index:5; border:1px solid var(--line); background:#151515; box-shadow:0 12px 32px rgba(0,0,0,.6)}
.rpsug p{margin:0; padding:10px 12px; font-family:var(--f-mono); font-size:11px; letter-spacing:.06em; color:var(--ink-3); text-transform:uppercase}
.rpsug button{width:100%; display:flex; align-items:center; gap:10px; padding:12px; background:var(--accent-soft); border:0; border-top:1px solid var(--line); color:var(--ink); font-family:var(--f-mono); font-size:12px; text-align:left; cursor:pointer}
.rpsug button b{color:var(--accent)} .rpsug button span{flex:1} .rpsug button small{display:block; color:var(--ink-3); font-size:11px}
.rparh{margin:0; font-size:13px; color:var(--ink-2)}
.rparl{display:flex; flex-direction:column; gap:18px}
.rpmo h3{margin:0 0 10px; display:flex; align-items:baseline; gap:12px; font-family:var(--f-mono); font-size:13px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--accent); border-bottom:1px solid var(--line); padding-bottom:8px}
.rpmo h3 small{font-size:11px; color:var(--ink-3); font-weight:400}
.rptabs button.ar{color:var(--ink-3)} .rptabs button.ar[aria-selected=true]{color:#0A0A0A}
html.tv2 #pgRep .reppg>.rparl{flex:1 1 auto; min-height:0; overflow-y:auto; padding-bottom:6px}
.rpgrid{display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:14px}
.rpcard{display:flex; flex-direction:column; border:1px solid var(--line); background:var(--surface); text-align:left; padding:0; color:var(--ink); font:inherit; cursor:pointer}
.rpcard:hover{border-color:var(--ink-3)} .rpcard.on{border-color:var(--accent)} .rpcard:focus-visible{outline:2px solid var(--accent); outline-offset:2px}
.rpcard .cv{height:118px; padding:14px; display:flex; flex-direction:column; justify-content:space-between; border-bottom:1px solid var(--line); width:100%}
.rpcard .ey{font-family:var(--f-mono); font-size:10px; letter-spacing:.1em; color:var(--accent); text-transform:uppercase} .rpcard .ey.mu{color:var(--ink-2)}
.rpcard .sy{font-family:var(--f-mono); font-size:26px; font-weight:700; word-break:break-word} .rpcard .sy.ln{font-size:17px; line-height:1.15}
.rpcard .bd{padding:12px 14px; display:flex; flex-direction:column; gap:8px; flex:1; width:100%}
.rpcard .bd>span{font-size:13px; line-height:1.4}
.rpcard .ft{margin-top:auto; display:flex; justify-content:space-between; align-items:center; gap:8px; font-family:var(--f-mono); font-size:11px; color:var(--ink-3)}
/* Fond des vignettes (piste « C+G 2 » validée le 2026-11-10) : symbole géant rempli d'un dégradé à la couleur de la catégorie, sur le pointillé neutre. */
.rpcard .cv,.rpfeat .cv{position:relative; overflow:hidden}
.rpcard .cv>:not(.rpmg),.rpfeat .cv>:not(.rpmg){position:relative}
.rpcard .cv .sy,.rpfeat .cv .sy,.rpfeat .cv h3{text-shadow:0 1px 10px rgba(0,0,0,.7)}
.rpmg{position:absolute; right:-14px; bottom:-30px; font-family:var(--f-mono); font-weight:700; font-style:normal; font-size:110px; line-height:1; letter-spacing:-.04em; white-space:nowrap; pointer-events:none; color:transparent;
  background:linear-gradient(180deg,rgba(var(--rpc),.38),rgba(var(--rpc),0) 80%); -webkit-background-clip:text; background-clip:text; -webkit-text-stroke:1px rgba(var(--rpc),.3)}
.rpmg.ln{background-image:linear-gradient(180deg,rgba(var(--rpc),.22),rgba(var(--rpc),0) 75%); -webkit-text-stroke:1px rgba(var(--rpc),.18)}
/* Piste D1 « Tracé » (2026-11-14) : le contour est un texte SVG posé sur le monogramme (même police, même place) qui se
   dessine en 1,8 s, puis le dégradé apparaît. Sans animation (animations réduites, vignette écrite plus tard), on voit
   directement l'état final, identique au fond fixe d'avant. */
@property --rpa{syntax:'<number>'; inherits:false; initial-value:1}
.rpmg{--rpa:1}
.rpmgo{position:absolute; left:0; top:0; width:100%; height:100%; overflow:visible; display:none}
.rpmg.dw{-webkit-text-stroke:0; background-image:linear-gradient(180deg,rgba(var(--rpc),calc(.38*var(--rpa))),rgba(var(--rpc),0) 80%); animation:rpmgf .9s ease-out both; animation-delay:calc(var(--mgt,0ms) + 1500ms)}
.rpmg.ln.dw{background-image:linear-gradient(180deg,rgba(var(--rpc),calc(.22*var(--rpa))),rgba(var(--rpc),0) 75%)}
.rpmg.dw .rpmgo{display:block}
.rpmgo text{fill:none; stroke:rgba(var(--rpc),.3); stroke-width:1px; stroke-dasharray:8.2em; stroke-dashoffset:0}
.rpmg.ln .rpmgo text{stroke:rgba(var(--rpc),.18)}
.rpmg.dw .rpmgo text{animation:rpmgd 1.8s cubic-bezier(.4,0,.2,1) both; animation-delay:var(--mgt,0ms)}
@keyframes rpmgd{from{stroke-dashoffset:8.2em}to{stroke-dashoffset:0}}
@keyframes rpmgf{from{--rpa:0}to{--rpa:1}}
.bgc>b{position:relative; font:inherit}
.bgc .rpmgo text{stroke:rgba(var(--rpc),.45); stroke-width:1.5px}
.rpaf .bn .bg .rpmgo text{stroke:rgba(var(--rpc),.3); stroke-width:2px}
.bgc.dw>b{-webkit-text-stroke-color:transparent}
.bgc.dw .rpmgo{display:block}
.bgc.dw .rpmgo text{animation:rpmgd 1.8s cubic-bezier(.4,0,.2,1) both; animation-delay:var(--mgt,0ms)}
.rpfeat .rpmg{font-size:200px; bottom:-52px; right:-22px} .rpfeats .rpfeat .rpmg{font-size:150px; bottom:-40px; right:-18px}
.rpk-stock{--rpc:255,138,0} .rpk-crypto{--rpc:110,150,255} .rpk-etf{--rpc:70,200,220} .rpk-index{--rpc:170,130,255} .rpk-fx{--rpc:240,110,150}
.rpk-metal{--rpc:214,190,130} .rpk-cmd{--rpc:215,95,60} .rpk-sector{--rpc:235,232,220} .rpk-ideas{--rpc:190,215,80}
.rptag{font-family:var(--f-mono); font-size:10px; letter-spacing:.06em; text-transform:uppercase; padding:1px 5px; font-weight:600; font-style:normal}
.rptag.sector{background:#F5F5EF; color:#0A0A0A} .rptag.ideas{border:1px solid var(--accent); color:var(--accent)} .rptag.deepdive{background:var(--accent); color:#0A0A0A}
.rpk-macro{--rpc:120,205,165} .rptag.preview{border:1px solid currentColor; color:var(--ink-2)} .rptag.flash{background:var(--accent); color:#0A0A0A}
/* Agenda des previews et notes flash (piste B, 2026-11-11) : date géante, vignette de l'actif, cases Preview et Flash */
.rpag{display:flex; flex-direction:column}
.rpagm{display:flex; align-items:baseline; gap:14px; padding:18px 0 10px; border-bottom:1px solid var(--line)}
.rpagm h3{margin:0; font-family:var(--f-mono); font-size:40px; font-weight:700; letter-spacing:-.02em; line-height:1}
.rpagm span{font-family:var(--f-mono); font-size:12px; color:var(--ink-3); letter-spacing:.08em; text-transform:uppercase}
.rpagr{display:grid; grid-template-columns:180px minmax(0,1fr) minmax(220px,300px) minmax(220px,300px); border-bottom:1px solid var(--line); min-height:164px}
.rpagr .day{padding:16px 16px 16px 0; display:flex; flex-direction:column; gap:6px; border-right:1px solid var(--line); min-width:0}
.rpagr .day b{font-family:var(--f-mono); font-size:92px; font-weight:700; line-height:.85; letter-spacing:-.05em}
.rpagr .day span{font-family:var(--f-mono); font-size:11px; letter-spacing:.1em; color:var(--ink-3); text-transform:uppercase}
.rpagr .day em{font-style:normal; font-family:var(--f-mono); font-size:12px; color:var(--accent); letter-spacing:.06em; text-transform:uppercase}
.rpagr.nx .day b{color:var(--accent)} .rpagr.old .day b{color:var(--ink-3)} .rpagr.old .day em{color:var(--ink-3)}
.rpagr .ev{position:relative; overflow:hidden; padding:16px 22px; display:flex; flex-direction:column; justify-content:space-between; gap:10px; border-right:1px solid var(--line); min-width:0}
.rpagr .ev>:not(.rpmg){position:relative}
.rpagr .ev .ey{font-family:var(--f-mono); font-size:11px; letter-spacing:.1em; color:var(--accent); text-transform:uppercase}
.rpagr .ev .tx{display:flex; flex-direction:column; gap:4px}
.rpagr .ev .sy{font-family:var(--f-mono); font-size:38px; font-weight:700; line-height:1; text-shadow:0 1px 10px rgba(0,0,0,.7)}
.rpagr .ev .lb{font-size:15px; color:var(--ink); text-shadow:0 1px 8px #000}
.rpagr .ev .rpmg{font-size:170px; bottom:-44px; right:-16px}
.rpslot{padding:14px 16px; display:flex; flex-direction:column; gap:8px; border:0; border-right:1px solid var(--line); background:var(--surface); color:var(--ink); font:inherit; text-align:left; min-width:0}
.rpslot:last-child{border-right:0}
button.rpslot{cursor:pointer} button.rpslot:hover{background:#181818; box-shadow:inset 0 0 0 1px var(--ink-3)} button.rpslot:focus-visible{outline:2px solid var(--accent); outline-offset:-2px}
.rpslot .h{display:flex; justify-content:space-between; align-items:center; gap:8px}
.rpslot .w{font-family:var(--f-mono); font-size:12px; color:var(--ink-2); white-space:nowrap}
.rpslot .w.nr{color:var(--accent); font-size:11px; letter-spacing:.08em; text-transform:uppercase; font-weight:600}
.rpslot .p{font-size:13px; color:var(--ink); line-height:1.45}
.rpslot .f{margin-top:auto; display:flex; justify-content:space-between; align-items:center; gap:8px; font-family:var(--f-mono); font-size:11px; color:var(--ink-3)}
.rpslot.wait .p{color:var(--ink-3)}
.rpslot.con{position:relative; overflow:hidden; background:#0D0D0D} .rpslot.con>*{position:relative; z-index:1}
.rpcon{display:flex; flex-direction:column; gap:3px; font-family:var(--f-mono); font-size:12px; line-height:1.5; color:var(--ink-3); min-width:0}
.rpcon>span{white-space:nowrap; overflow:hidden; text-overflow:ellipsis} .rpcon i{font-style:normal} .rpcon .pr{color:var(--accent)} .rpcon b{color:var(--ink); font-weight:500}
.rpcon b.ok{color:var(--up)} .rpcon b.ti{white-space:normal; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; font-family:var(--f-body); font-size:13px; line-height:1.4}
.rpcon>span:has(b.ti){white-space:normal; display:flex; gap:4px}
.rpcon .rd{display:inline-block; height:10px; background:#050505; box-shadow:inset 0 0 0 1px #262626; vertical-align:-1px}
.rpcon .cur{display:inline-block; width:8px; height:14px; vertical-align:-2px; background:var(--ink-2); animation:rpcur 1s steps(1) infinite} .rpslot.flash .rpcon .cur{background:var(--accent)}
@keyframes rpcur{50%{opacity:0}} @media (prefers-reduced-motion:reduce){.rpcon .cur{animation:none}}
.rpstamp{position:absolute!important; z-index:2!important; right:16px; top:62px; transform:rotate(-8deg); font-family:var(--f-mono); font-style:normal; font-weight:700; font-size:15px; letter-spacing:.14em; padding:6px 10px; border:2px solid currentColor; color:var(--ink-2); text-align:center; line-height:1.25; pointer-events:none; background:rgba(13,13,13,.55)}
.rpstamp small{display:block; font-size:10px; letter-spacing:.1em; font-weight:500}
.rpslot.flash .rpstamp{color:var(--accent)}
.rpstamp.ok{color:var(--up); top:13px; right:12px; font-size:10px; letter-spacing:.12em; padding:2px 6px; border-width:1.5px; transform:rotate(-3deg); background:#0D0D0D}
.rpstamp.ok small{font-size:9px; display:inline; margin-left:6px}
button.rpslot.con:hover .rpstamp.ok{background:#152019}
.rpslot.no{background:#0C0C0C} .rpslot.no .rptag{opacity:.4} .rpslot.no .p{color:var(--ink-3); font-size:12px}
@media (max-width:1280px){.rpagr{grid-template-columns:130px minmax(0,1fr) minmax(0,1fr)} .rpagr .day{grid-row:span 2} .rpagr .ev{grid-column:span 2; border-right:0; border-bottom:1px solid var(--line)} .rpagr .day b{font-size:68px}}
.rpacc{font-family:var(--f-mono); font-size:11px; white-space:nowrap; text-transform:uppercase} .rpacc.tk{color:var(--accent); border:1px solid var(--accent); padding:3px 6px}
.rpacc.ok{color:var(--up)} .rpacc.gift{color:#0A0A0A; background:var(--accent); padding:3px 6px; font-weight:600} .rpacc.soon{color:var(--ink-3); border:1px solid var(--line); padding:3px 6px}
.rperr{margin:0; color:var(--down); font-size:12px}
.rpdisc{margin:4px 0 0; font-size:12px; color:var(--ink-3); line-height:1.5}
/* Lecteur intégré : le PDF n'est jamais ouvert dans un onglet ; rendu en image dans le Terminal, filigrane de licence */
.rpx{display:flex; min-height:calc(100vh - 140px); border:1px solid var(--line); margin:-18px -28px -24px; border-width:0}
.rpx aside.ls{width:400px; flex:none; border-right:1px solid var(--line); display:flex; flex-direction:column; background:#0D0D0D}
.rpx .lsh{padding:18px 14px 12px; display:flex; flex-direction:column; gap:10px; border-bottom:1px solid var(--line)}
.rpx .lsh .cmd{margin:0; font-family:var(--f-mono); font-size:12px; color:var(--accent)}
.rpx .lsh .bk{align-self:flex-start; background:none; border:0; padding:0; color:var(--ink-2); font-family:var(--f-mono); font-size:11px; letter-spacing:.06em; cursor:pointer; text-transform:uppercase} .rpx .lsh .bk:hover{color:var(--accent)}
.rpx .chips{display:flex; gap:6px; flex-wrap:wrap}
.rpx .chips button{font-family:var(--f-mono); font-size:11px; padding:5px 9px; border:1px solid var(--line); color:var(--ink-2); background:transparent; cursor:pointer; text-transform:uppercase}
.rpx .chips button[aria-pressed=true]{border-color:var(--accent); color:var(--accent)}
.rpx .row{display:grid; grid-template-columns:104px minmax(0,1fr) 84px; gap:10px; align-items:center; padding:0 14px; min-height:52px; border:0; border-bottom:1px solid #1E1E1E; font-size:13px; background:transparent; color:var(--ink); width:100%; text-align:left; cursor:pointer; font-family:var(--f-body)}
.rpx .row.hd{min-height:30px; font-family:var(--f-mono); font-size:10px; letter-spacing:.08em; color:var(--ink-3); cursor:default}
.rpx .row:not(.hd):hover{background:#121212} .rpx .row.on{background:#1A1208; box-shadow:inset 2px 0 0 var(--accent)}
.rpx .row b{font-family:var(--f-mono); font-weight:600; overflow:hidden; text-overflow:ellipsis} .rpx .row span{white-space:nowrap; overflow:hidden; text-overflow:ellipsis; color:var(--ink-2)} .rpx .row.on span{color:var(--ink)}
.rpx .row .rpacc{text-align:right; justify-self:end}
.rpx .lsl{overflow:auto; flex:1; min-height:0}
.rpx .lsf{padding:14px; border-top:1px solid var(--line); display:flex; justify-content:space-between; align-items:center; font-family:var(--f-mono)}
.rpx .lsf span{font-size:11px; color:var(--ink-3); letter-spacing:.06em; text-transform:uppercase} .rpx .lsf b{font-size:13px}
.rpx section.rd{flex:1; min-width:0; display:flex; flex-direction:column}
.rpx .tb{min-height:52px; flex:none; display:flex; align-items:center; gap:14px; padding:0 22px; border-bottom:1px solid var(--line); flex-wrap:wrap}
.rpx .tb .ti{font-family:var(--f-mono); font-size:15px; font-weight:600} .rpx .tb .mt{font-family:var(--f-mono); font-size:11px; color:var(--ink-3); letter-spacing:.06em; text-transform:uppercase}
.rpx .tb .nv{margin-left:auto; display:flex; gap:8px; align-items:center}
.rpx .tb .nv button{height:34px; min-width:34px; padding:0 12px; border:1px solid var(--line); background:transparent; color:var(--ink); font-family:var(--f-mono); font-size:12px; letter-spacing:.05em; cursor:pointer; text-transform:uppercase}
/* Suivre une série (2026-11-11) */
.rpfol{height:40px; padding:0 14px; border:1px solid var(--line); background:transparent; color:var(--ink-2); font-family:var(--f-mono); font-size:12px; letter-spacing:.05em; cursor:pointer; text-transform:uppercase; white-space:nowrap}
.rpfol:hover{color:var(--ink); border-color:var(--ink-3)} .rpfol.on{color:var(--accent); border-color:var(--accent)}
.rpx .tb .nv button.rpfol.on{color:var(--accent); border-color:var(--accent)}
.rpx .tb .nv button:disabled{opacity:.35; cursor:default} .rpx .tb .nv output{font-family:var(--f-mono); font-size:12px; color:var(--ink-2); padding:0 6px}
.rpx .bdy{flex:1; min-height:0; display:flex; gap:20px; padding:20px 22px}
.rpx .stage{flex:1; min-width:0; display:flex; flex-direction:column; gap:12px}
.rpx .sl{position:relative; width:100%; aspect-ratio:16/9; border:1px solid var(--line); background:#0E0E0E; display:grid; place-items:center; overflow:hidden; user-select:none; -webkit-user-select:none}
.rpx .sl canvas{width:100%; height:100%; object-fit:contain; display:block; pointer-events:none}
.rpx .sl .ar{position:absolute; top:50%; transform:translateY(-50%); width:48px; height:72px; border:1px solid var(--line); background:rgba(10,10,10,.72); color:var(--ink); font:600 30px var(--f-mono); line-height:1; cursor:pointer; display:grid; place-items:center; opacity:.55; transition:opacity .15s, border-color .15s, color .15s; z-index:2}
.rpx .sl .ar.l{left:12px} .rpx .sl .ar.r{right:12px}
.rpx .sl:hover .ar{opacity:1} .rpx .sl .ar:hover,.rpx .sl .ar:focus-visible{border-color:var(--accent); color:var(--accent); opacity:1}
.rpx .sl p{margin:0; font-family:var(--f-mono); font-size:12px; color:var(--ink-3); position:absolute}
.rpx .lic{display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; font-family:var(--f-mono); font-size:11px; color:var(--ink-3); letter-spacing:.04em; border:1px solid var(--line); padding:8px 12px; background:var(--surface)}
.rpx .lic b{color:var(--accent); font-weight:600; letter-spacing:.08em}
.rpx .ths{display:flex; gap:8px; overflow-x:auto; padding-bottom:4px}
.rpx .ths button{flex:none; width:104px; aspect-ratio:16/9; border:1px solid var(--line); padding:0; background:#0E0E0E; cursor:pointer; position:relative; overflow:hidden}
.rpx .ths button[aria-current=true]{border-color:var(--accent)}
.rpx .ths img{width:100%; height:100%; object-fit:contain; display:block; pointer-events:none}
.rpx .ths i{position:absolute; left:4px; top:3px; font-style:normal; font-family:var(--f-mono); font-size:9px; color:var(--ink-3); background:rgba(10,10,10,.7); padding:0 3px}
.rpx .ths button[aria-current=true] i{color:var(--accent)}
.rpx aside.sd{width:300px; flex:none; display:flex; flex-direction:column; gap:14px}
.rpx .box{border:1px solid var(--line); background:var(--surface); padding:16px; display:flex; flex-direction:column; gap:12px}
.rpx .box h4{margin:0; font-family:var(--f-mono); font-size:11px; letter-spacing:.1em; color:var(--ink-3); font-weight:500; text-transform:uppercase}
.rpx .box .pt{display:flex; gap:10px} .rpx .box .pt b{font-family:var(--f-mono); color:var(--accent); font-weight:600; font-size:13px; width:78px; flex:none; overflow-wrap:anywhere}
.rpx .box .pt span,.rpx .box p{font-size:12px; color:var(--ink-2); line-height:1.45; margin:0}
.rpx .box.nt{border-style:dashed; border-color:var(--accent)} .rpx .box.nt h4{color:var(--accent)}
.rpx:fullscreen{background:var(--bg); margin:0} .rpx:fullscreen aside.ls{display:none}
@media (max-width:1280px){.rpx aside.sd{display:none} .rpx aside.ls{width:320px} .rpfeat .cv{width:360px} .rpfeats .rpfeat .cv{width:200px}}
@media print{#pgRep{display:none!important}}
/* Comme le reste du Terminal : la page ne défile pas, seule la grille (ou la liste du lecteur) défile à l'intérieur. */
html.tv2 body[data-pg=rep]{overflow:hidden}
html.tv2 #pgRep{height:calc(100vh - 86px - 34px - 24px); min-height:560px; margin:12px 0; gap:0; overflow:hidden}
html.tv2 #pgRep>.reppg{height:100%; overflow:hidden; padding:6px 12px 0}
html.tv2 #pgRep .reppg>*{flex:none}
html.tv2 #pgRep .reppg>.rpgrid{flex:1 1 auto; min-height:0; overflow-y:auto; align-content:start; padding:2px 2px 6px; margin:-2px}
html.tv2 #pgRep .reppg>.rpag{flex:1 1 auto; min-height:0; overflow-y:auto; padding-bottom:6px}
html.tv2 #pgRep .rpagm{position:sticky; top:0; z-index:2; background:var(--bg)}
html.tv2 #pgRep .rpdisc{margin:0 0 4px}
html.tv2 #pgRep .rpx{flex:1 1 auto; height:100%; min-height:0; margin:-6px -12px 0; border-width:1px 0 0}
html.tv2 #pgRep .rpx aside.ls,html.tv2 #pgRep .rpx section.rd{min-height:0}
html.tv2 #pgRep .rpx .bdy{min-height:0; overflow:hidden}
html.tv2 #pgRep .rpx .stage{min-height:0}
/* Slide au ratio figé 16:9 : elle prend la plus grande taille qui tient dans la place disponible, sans jamais être coupée. */
html.tv2 #pgRep .rpx .slw,.rpx:fullscreen .slw{flex:1 1 auto; min-height:0; container-type:size; display:grid; place-items:center}
html.tv2 #pgRep .rpx .slw .sl,.rpx:fullscreen .slw .sl{width:min(100cqw,100cqh*16/9); height:auto; aspect-ratio:16/9}
html.tv2 #pgRep .rpx .lic,html.tv2 #pgRep .rpx .ths{flex:none}
html.tv2 #pgRep .rpx aside.sd{overflow-y:auto; min-height:0}
@media (max-height:820px){html.tv2 #pgRep .rpfeat .cv{min-height:0; padding:18px 22px} html.tv2 #pgRep .rpfeat .cv .sy{font-size:34px} html.tv2 #pgRep .rpfeat .bd{padding:16px 22px; gap:10px}}
.repcf{position:fixed; inset:0; z-index:9000; background:rgba(0,0,0,.6); display:grid; place-items:center; padding:16px}
.repcf .bx{width:min(420px,100%); border:1px solid var(--line); border-top:2px solid #FF8A00; background:var(--surface); padding:18px 20px; display:flex; flex-direction:column; gap:12px}
.repcf h3{margin:0; font-family:'IBM Plex Mono',monospace; font-size:16px; font-weight:600}
.repcf dl{margin:0; display:grid; grid-template-columns:1fr auto; gap:6px 12px; font-size:13px} .repcf dt{color:var(--ink-3)} .repcf dd{margin:0; font-family:'IBM Plex Mono',monospace; text-align:right}
.repcf dd.pr{color:#FF8A00; font-weight:600} .repcf p{margin:0; font-size:12px; color:var(--ink-3); line-height:1.5}
.repcf .bt{display:flex; justify-content:flex-end; gap:8px}
/* Menu vertical des rapports (Terminal PC) */
html.tv2 .tvsubnav .rpnav button i{font-style:normal; flex:none}
html.tv2 .tvsubnav .rpnav button i.n{color:var(--ink-3); font-size:11px; font-weight:400}
html.tv2 .tvsubnav .rpnav button[aria-current="page"] i.n{color:var(--accent)}
html.tv2 .tvsubnav .rpnav button i.pl{color:var(--accent); font-weight:600}
html.tv2 .tvsubnav .rpnav button i.tg{font-size:9px; letter-spacing:.05em; padding:1px 5px; border:1px solid var(--accent); color:var(--accent)}
html.tv2 .tvsubnav .rpnav button.lk{color:var(--ink-3)}
html.tv2 .tvsubnav .rpnav button.bk{color:var(--ink-2); font-size:11px; letter-spacing:.06em; text-transform:uppercase; margin-bottom:6px}
html.tv2 .tvsubnav .rpnav+.tvst{margin-top:14px}
html.tv2 .tvsubnav .rpnav button span{min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.tvsubnav .rpnlic{margin-top:auto; border:1px solid var(--line); background:var(--surface); padding:12px; display:flex; flex-direction:column; gap:5px; font-family:var(--f-mono)}
.tvsubnav .rpnlic span{font-size:10px; letter-spacing:.08em; color:var(--ink-3)} .tvsubnav .rpnlic b{font-size:12px; font-weight:600} .tvsubnav .rpnlic small{font-size:10px; color:var(--ink-3)}
/* Classes d'actif en boutons */
.rpkinds{display:flex; border:1px solid var(--line); flex-wrap:wrap}
.rpkinds button{height:32px; padding:0 12px; border:0; border-left:1px solid var(--line); background:transparent; color:var(--ink-2); font-family:var(--f-mono); font-size:11px; letter-spacing:.04em; text-transform:uppercase; cursor:pointer}
.rpkinds button:first-child{border-left:0} .rpkinds button:hover{color:var(--ink)}
.rpkinds button[aria-pressed=true]{background:#2E1E0A; color:var(--accent); font-weight:600}
/* Archives : liste */
.rpal{border:1px solid var(--line); background:#0D0D0D}
.rpar{display:grid; grid-template-columns:110px minmax(0,1fr) 110px 120px 60px 96px; gap:14px; align-items:center; padding:0 16px; min-height:46px; border-bottom:1px solid #1E1E1E; font-size:13px}
.rpar:last-child{border-bottom:0} .rpar.hd{min-height:32px; font-family:var(--f-mono); font-size:10px; letter-spacing:.08em; color:var(--ink-3); position:sticky; top:0; background:#0D0D0D; z-index:1}
.rpar b{font-family:var(--f-mono); font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap} .rpar .ti{white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.rpar .mu{font-family:var(--f-mono); font-size:11px; color:var(--ink-2); text-transform:uppercase}
.rpar button{justify-self:end; height:28px; padding:0 10px; border:1px solid var(--line); background:transparent; color:var(--ink); font-family:var(--f-mono); font-size:11px; letter-spacing:.05em; cursor:pointer}
.rpar button:hover{border-color:var(--accent); color:var(--accent)} .rpar .rperr{grid-column:1/-1; margin:0 0 8px}
html.tv2 #pgRep .reppg>.rpal{flex:1 1 auto; min-height:0; overflow-y:auto}
/* Popups Commander un rapport et Mes commandes */
.rppop .bx{padding:0; gap:0; border-top:1px solid var(--line); box-shadow:0 24px 64px rgba(0,0,0,.7)}
.rppop .bx.wd{width:min(620px,100%)} .rppop .bx.wd2{width:min(760px,100%)}
.rppop .ph{display:flex; align-items:center; gap:12px; padding:14px 20px; border-bottom:1px solid var(--line)}
.rppop .ph h3{font-size:13px; letter-spacing:.06em; color:var(--accent)} .rppop .ph small{font-family:var(--f-mono); font-size:11px; color:var(--ink-3)}
.rppop .ph .x{margin-left:auto; width:32px; height:32px; border:1px solid var(--line); background:transparent; color:var(--ink-2); font-size:18px; line-height:1; cursor:pointer} .rppop .ph .x:hover{color:var(--ink); border-color:var(--ink-3)}
.rppop .pb{padding:18px 20px; display:flex; flex-direction:column; gap:16px; margin:0}
.rppop .pb>p{font-size:14px; color:var(--ink-2); line-height:1.5} .rppop p.mu,.rppop span.mu{font-size:12px; color:var(--ink-3); line-height:1.5}
.rppop .fs{display:flex; flex-direction:column; gap:8px} .rppop .lb{font-family:var(--f-mono); font-size:11px; letter-spacing:.08em; color:var(--ink-3)}
.rppop .tys{display:flex; gap:8px}
.rppop .tys button{flex:1; display:flex; flex-direction:column; gap:6px; padding:12px 14px; border:1px solid var(--line); background:#0D0D0D; color:var(--ink); text-align:left; cursor:pointer}
.rppop .tys button b{font-family:var(--f-mono); font-size:12px; font-weight:600} .rppop .tys button span{font-size:12px; color:var(--ink-2); line-height:1.4}
.rppop .tys button[aria-checked=true]{border-color:var(--accent); background:#1A1208} .rppop .tys button[aria-checked=true] b{color:var(--accent)}
.rppop .tys button:disabled{opacity:.5; cursor:default}
.rppop .ln{display:grid!important; grid-template-columns:minmax(0,1fr) auto; gap:8px; align-items:stretch} .rppop .ln .rpin{flex:1 1 auto; width:auto; min-width:0; height:40px; box-sizing:border-box; display:flex; align-items:center} .rppop .ln .rpin input{height:100%} .rppop .ln .rpsel{flex:none; width:190px; height:40px}
.rppop dl.kp{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1px; background:var(--line); border:1px solid var(--line); font-family:var(--f-mono)}
.rppop dl.kp div{background:#0D0D0D; padding:10px 14px; display:flex; flex-direction:column; gap:4px}
.rppop dl.kp dt{font-size:10px; letter-spacing:.08em; color:var(--ink-3); text-transform:uppercase} .rppop dl.kp dd{margin:0; text-align:left; font-size:15px; font-weight:600} .rppop dl.kp dd small{font-size:11px; color:var(--ink-3); font-weight:400}
.rppop .pf{display:flex; justify-content:flex-end; align-items:center; gap:10px; padding:14px 20px; border-top:1px solid var(--line)} .rppop .pb .pf{margin:0 -20px -18px}
.rppop .pf span.mu{margin-right:auto}
.rppop .ofl{display:flex; gap:6px; padding:12px 20px; border-bottom:1px solid var(--line); flex-wrap:wrap}
.rppop .ofl button{height:28px; padding:0 10px; border:1px solid var(--line); background:transparent; color:var(--ink-2); font-family:var(--f-mono); font-size:11px; cursor:pointer}
.rppop .ofl button[aria-pressed=true]{border-color:var(--accent); background:#2E1E0A; color:var(--accent); font-weight:600}
.rppop .ors{max-height:min(52vh,420px); overflow-y:auto}
.rppop .orw{display:grid; grid-template-columns:100px minmax(0,1fr) 210px 100px; gap:14px; align-items:center; padding:0 20px; min-height:54px; border-bottom:1px solid #1E1E1E; font-size:13px}
.rppop .orw.hd{min-height:30px; font-family:var(--f-mono); font-size:10px; letter-spacing:.08em; color:var(--ink-3)}
.rppop .orw.on{background:#1A1208; box-shadow:inset 2px 0 0 var(--accent)}
.rppop .orw b{font-family:var(--f-mono); font-weight:600; overflow:hidden; text-overflow:ellipsis}
.rppop .orw .dc{display:flex; flex-direction:column; gap:2px; min-width:0} .rppop .orw .dc span{white-space:nowrap; overflow:hidden; text-overflow:ellipsis} .rppop .orw .dc small{font-family:var(--f-mono); font-size:11px; color:var(--ink-3)}
.rppop .orw .st{font-family:var(--f-mono); font-size:11px; display:flex; align-items:center; gap:6px} .rppop .orw .st.ready{color:var(--up)} .rppop .orw .st.preparing{color:#FFB04D} .rppop .orw .st.failed{color:var(--down)} .rppop .orw .st.opened{color:var(--ink-3)}
.rppop .orw .st .pd{display:inline-flex; gap:3px} .rppop .orw .st .pd i{width:4px; height:4px; background:var(--accent); animation:saidot 1.2s infinite ease-in-out} .rppop .orw .st .pd i:nth-child(2){animation-delay:.2s} .rppop .orw .st .pd i:nth-child(3){animation-delay:.4s}
.rppop .orw .eta{font-family:var(--f-mono); font-size:11px; color:var(--ink-3); text-align:right} .rppop .orw .tvbtn{justify-self:end}
.rppop .rpmsg{margin:0}
/* Document déjà au calendrier de publication (2026-11-14) : remplace la commande. */
.rppop .rpsch{display:flex; flex-wrap:wrap; align-items:center; gap:6px 12px; padding:10px 12px; border:1px solid var(--accent); border-radius:6px; background:color-mix(in srgb,var(--accent) 8%,transparent)}
.rppop .rpsch b{flex:1 1 100%; font-size:11px; letter-spacing:.06em; color:var(--accent)}
.rppop .rpsch p{flex:1 1 220px; margin:0; font-size:12px; line-height:1.45}
.rppop .rpsch .rpfol{flex:0 0 auto}
.rppop #repOSch:empty{display:none}
.rppop form.sch .kp,.rppop form.sch>.mu,.rppop form.sch button[type=submit]{display:none}
/* Confirmation de commande (2026-11-12, remise le 2026-11-14) */
.rppop .bx.rpok{width:min(480px,100%); border-top:2px solid var(--accent)}
.rppop .okh{display:flex; gap:14px; align-items:flex-start}
.rppop .okh .ic{flex:none; width:40px; height:40px; display:grid; place-items:center; border:1px solid var(--accent); background:#1A1208; color:var(--accent); font-family:var(--f-mono); font-size:20px; font-weight:600}
.rppop .okh.ex .ic{border-color:var(--line); background:#0D0D0D; color:var(--ink-2); font-style:italic}
.rppop .okh b{display:block; font-family:var(--f-mono); font-size:15px; font-weight:600; margin-bottom:4px}
.rppop .okh p{margin:0; font-size:13px; color:var(--ink-2); line-height:1.5}
.rppop dl.rcp{display:block; margin:0; border:1px solid var(--line); background:#0D0D0D; font-family:var(--f-mono)}
.rppop dl.rcp div{display:flex; justify-content:space-between; gap:12px; padding:9px 14px; border-bottom:1px solid #1E1E1E} .rppop dl.rcp div:last-child{border-bottom:0}
.rppop dl.rcp dt{font-size:11px; letter-spacing:.06em; color:var(--ink-3); text-transform:uppercase} .rppop dl.rcp dd{margin:0; font-size:13px; font-weight:600; text-align:right}
.rppop dl.rcp dd.pr{color:var(--accent)}
.tvbtn{font-family:var(--f-mono); font-size:12px; cursor:pointer; background:transparent; border:1px solid var(--line); color:var(--ink); padding:9px 12px; border-radius:2px; letter-spacing:.03em; text-transform:uppercase; white-space:nowrap; text-decoration:none; display:inline-flex; align-items:center; justify-content:center; gap:6px}
.tvbtn:hover{border-color:var(--ink-2)}
.tvbtn.acc{background:#2E1E0A; border-color:var(--accent); color:var(--accent)}
.tvbtn.acc span{color:var(--ink-2)}
.tvbtn.pri{background:var(--accent); border-color:var(--accent); color:#0A0A0A; font-weight:600}
.tvbtn.sm{padding:4px 9px; font-size:11px}
.tvlnk{font-family:var(--f-mono); font-size:12px; background:transparent; border:0; padding:0; color:var(--accent); cursor:pointer; text-decoration:underline; text-underline-offset:3px; text-align:left}
.tvx{width:26px; height:26px; flex:none; display:grid; place-items:center; padding:0; font-family:var(--f-mono); font-size:14px; cursor:pointer; background:transparent; border:1px solid var(--line); color:var(--ink-3)}
.tvx:hover{color:var(--down); border-color:var(--down)}
.tvpg .mu,.tvdlg .mu{width:26px; height:26px; flex:none; display:grid; place-items:center; padding:0; cursor:pointer; background:transparent; border:1px solid var(--line); color:var(--ink-3)}
.tvpg .mu.on,.tvdlg .mu.on{background:#2E1E0A; border-color:var(--accent); color:var(--accent)}
.tvdlg .mu.mbell.lit{border-color:var(--accent); color:var(--accent)}
.tvdlg .mu:disabled{opacity:.35; cursor:not-allowed}
.tvpg .mu:hover,.tvdlg .mu:hover{color:var(--ink)}
.tvprompt{margin:0 0 6px; color:var(--accent); font-family:var(--f-mono); font-size:11px}
.tvcta{display:flex; flex-direction:column; align-items:flex-start; gap:10px; margin:14px; padding:14px; border:1px dashed var(--line); color:var(--ink-2); line-height:1.5}
.tvcta p{margin:0}
.tvcta.sm{flex-direction:row; align-items:center; justify-content:space-between; padding:10px 12px; margin:10px 14px}
.tvmsg{position:fixed; left:50%; bottom:48px; transform:translateX(-50%); z-index:60; margin:0; padding:10px 14px; background:#0F0F0F; border:1px solid var(--accent); color:var(--ink); font-family:var(--f-mono); font-size:12px; max-width:560px}
/* KPI */
.tvkpi{display:grid; border:1px solid var(--line); background:var(--bg)}
.tvkpi>div{display:flex; flex-direction:column; gap:5px; padding:12px 16px; border-right:1px solid #1A1A1A; min-width:0}
.tvkpi>div:last-child{border-right:0}
.tvkpi .l{color:var(--ink-3); font-size:11px; letter-spacing:.04em; text-transform:uppercase}
.tvkpi b{font-size:18px; font-weight:500; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.tvkpi .c{font-size:11.5px; color:var(--ink-3)}
/* Markets */
html.tv2 .tvmk{grid-template-rows:auto 130px minmax(0,1fr)}
html.tv2 .tvwa{grid-template-rows:minmax(0,1fr)}
.tvwaq{position:relative; width:280px}
.tvwaq .tvsug{position:absolute; top:calc(100% + 4px); left:-1px; right:-1px; z-index:40}
.tvwanote{padding:8px 14px; border-top:1px solid #1A1A1A; margin:0; font-size:11px}
.tvwae{display:flex; flex-direction:column; align-items:center; gap:12px; padding:40px 0}
/* Watchlist en cartes (refonte 2026-11-10) : grille de cartes à hauteur égale + fil « Sur votre watchlist aujourd'hui » */
.wcw{flex:1; min-height:0; display:grid; grid-template-columns:minmax(0,1fr) 320px; border-top:0}
.wcm{display:flex; flex-direction:column; min-height:0; min-width:0}
.wcm>[hidden]{display:none!important}
#tvWaT{display:flex; flex-direction:column; min-height:0; flex:1}
.wcg{display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); grid-auto-rows:1fr; gap:14px; padding:16px; align-items:stretch}
.wcc{border:1px solid #1A1A1A; background:#0F0F0F; display:flex; flex-direction:column; min-width:0; cursor:pointer; outline:none}
.wcc:hover,.wcc:focus-visible{border-color:#3A3A36}
.wcc:focus-visible{box-shadow:inset 0 0 0 1px var(--accent)}
.wcc .wct{padding:16px 16px 12px; display:flex; flex-direction:column; gap:10px}
.wcc .wch{display:flex; align-items:center; gap:8px; min-width:0}
.wcc .wch .mut{overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:11px}
.wcc .wch .star{margin-left:auto; background:transparent!important; border:0!important; color:var(--accent)!important; width:auto; height:auto; padding:2px 4px; font-size:14px; line-height:1; cursor:pointer}
.wcc .wcp{display:flex; align-items:baseline; justify-content:space-between; gap:8px}
.wcc .wcp b:first-child{font-size:20px; font-weight:600}
.wcc .wcs{display:block; height:64px}
.wcc .wcs svg{display:block; width:100%; height:64px}
.wcc .wcs polyline{fill:none; stroke-width:1.2}
.wcc .wcs .up{stroke:var(--up)}.wcc .wcs .down{stroke:var(--down)}
.wcc .wcs polygon.up{fill:rgba(61,213,152,.10); stroke:none}.wcc .wcs polygon.down{fill:rgba(255,122,98,.10); stroke:none}
.wcc .wcx{display:flex; justify-content:space-between; font-size:10px; color:var(--ink-3)}
.wcc .wcy{margin:0 16px; border-top:1px solid #1A1A1A; padding:10px 0 12px; display:flex; flex-direction:column; gap:6px}
.wcc .wcyh{display:flex; align-items:center; gap:6px; font-size:10px; letter-spacing:.06em}
.wcc .wcyh b{color:var(--accent); font-weight:700; text-transform:uppercase}
.wcc .wcyh span{margin-left:auto; color:var(--ink-3)}
.wcc .wcyt{font-family:var(--f-body); font-size:13px; line-height:1.4; height:36px; margin:0; overflow:hidden; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; color:var(--ink)}
.wcc .wcyt.mut{color:var(--ink-3)}
.wcc .wcyt.lk{color:var(--ink-3); cursor:pointer}
.wcc .wcp .ld:before{margin:0}
.wcc .wcyt.lk:hover{color:var(--ink-2)}
.wcc .wcys{font-size:10px; color:var(--ink-3); height:14px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis}
.wcc .wcg2{display:flex; align-items:flex-start; gap:6px; flex-wrap:nowrap; overflow:hidden; box-sizing:content-box; height:20px; padding:0 16px 14px; margin-top:auto}
.wcg2 span{flex:none; box-sizing:border-box; height:20px; font-size:10px; padding:0 6px; border:1px solid var(--line); color:var(--ink-3); white-space:nowrap; line-height:18px}
.wcg2 .am{border-color:#F0B03A; color:#F0B03A}.wcg2 .up{border-color:var(--up); color:var(--up)}
.wcadd{border:1px dashed var(--line); background:transparent; color:var(--ink-3); min-height:200px; font:12px/1.8 var(--f-mono); cursor:pointer}
.wcadd:hover{color:var(--ink); border-color:#3A3A36}
.wcadd small{display:block; font-size:10px}
.wcf{border-left:1px solid #1A1A1A; display:flex; flex-direction:column; min-height:0}
.wcfh{display:flex; align-items:center; padding:12px 14px; font-size:11px; font-weight:700; letter-spacing:.04em; color:var(--accent); flex:none; text-transform:uppercase}
.wcfh span{margin-left:auto; color:var(--up); font-size:10px; font-weight:500}
.wcfl{list-style:none; margin:0; padding:0 14px}
.wcfl li{display:grid; grid-template-columns:40px 1fr; gap:10px; padding:10px 0; border-bottom:1px solid #1A1A1A}
.wcfl li[data-wanid]{cursor:pointer; outline:none}
.wcfl li[data-wanid]:hover .wcfx,.wcfl li[data-wanid]:focus-visible .wcfx{color:var(--accent)}
.wcfl time{color:var(--ink-3); font-size:11px}
.wcfl .wcfk{display:flex; gap:6px; align-items:center}
.wcfl .wcfk{height:18px}
.wcfl .wcfk i{flex:none; display:inline-block; box-sizing:border-box; height:18px; font-style:normal; font-size:9px; line-height:16px; padding:0 5px; border:1px solid var(--line); color:var(--ink-3)}
.wcfl .wcfk b{line-height:18px}
.wcfl .wcfk i.am{border-color:#F0B03A; color:#F0B03A}
.wcfl .wcfk b{font-size:11px}
.wcfx{font-family:var(--f-body); font-size:13px; line-height:1.35; color:var(--ink); margin-top:4px; display:block}
.wcfe{padding:14px; color:var(--ink-3); font-size:12px; line-height:1.5; margin:0}
.wcfe .tvbtn{margin-top:10px}
.wcfa{display:block; padding:12px 14px; font-size:11px; color:var(--accent); text-decoration:none; border-top:1px solid #1A1A1A; flex:none; background:none; border-left:0; border-right:0; border-bottom:0; text-align:left; cursor:pointer; font-family:var(--f-mono)}
.wcfa:hover{color:#FFB257}
@media (max-width:1180px){.wcw{grid-template-columns:minmax(0,1fr)}.wcf{display:none}}
#tvWaSy.up{color:var(--up)}
#tvMkK{grid-template-columns:repeat(5,minmax(0,1fr))}
.tvhm{display:grid; grid-template-columns:3fr 2fr 1.2fr 1fr 1fr 1fr 1fr 1fr; grid-template-rows:1fr 1fr; gap:2px}
.tvhm button{display:flex; flex-direction:column; justify-content:space-between; align-items:flex-start; padding:7px 10px; border:0; color:var(--ink-2); font-family:var(--f-mono); font-size:11px; cursor:pointer; min-width:0; text-align:left}
.tvhm button b{color:var(--ink); font-weight:600}
.tvhm button.big{grid-row:span 2; font-size:14px}
.tvhm button:hover,.tvhm button:focus-visible{outline:1px solid var(--accent); outline-offset:-1px}
.tvmkr{grid-template-columns:22px 34px minmax(0,1.5fr) repeat(5,minmax(0,1fr)) 110px}
.tvmkr .star,.tvtfr .star{border:0; background:transparent; padding:0; cursor:pointer; font-size:14px; color:#4A4A45; line-height:1}
.tvmkr .star.on,.tvtfr .star.on{color:var(--accent)}
.tvmkr .star:hover,.tvtfr .star:hover{color:var(--accent)}
.tvmkr .sp svg{width:100%; height:22px; display:block}
html.tv2 #mktMenu [data-tvmk]{order:-1}
html.tv2 #mktMenu [data-tvmk] small{color:var(--ink-3); font-size:11px}
html.tv2 .tvsubnav .smenu>button{order:0}
/* Taux directeurs (Markets › Central banks) */
html.tv2 body[data-pg=rates]{overflow:hidden}
html.tv2 .tvcb{grid-template-rows:auto minmax(0,1fr); position:relative}
.tvcbr{grid-template-columns:minmax(0,1.5fr) minmax(0,1.4fr) 140px minmax(0,1.1fr) minmax(0,1.5fr) 150px; padding:10px 14px}
.tvcbr.hd{padding:6px 14px}
.tvcbr[aria-pressed="true"]{background:#121212; box-shadow:inset 2px 0 0 var(--cbc,var(--accent))}
.tvcbr .bk{display:flex; align-items:center; gap:10px; min-width:0}
.tvcbr .cc{width:30px; height:22px; flex:none; display:grid; place-items:center; border:1px solid var(--line); font-size:10px; color:var(--ink-2)}
.tvcbr .st{display:flex; flex-direction:column; gap:3px; min-width:0}
.tvcbr .st>*{white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.tvcbr .bk b{font-weight:600; font-size:12.5px}
.tvcbr small{font-size:11px; color:var(--ink-3)}
.tvcbr .rt{font-size:17px; font-weight:500; text-align:right; white-space:nowrap; font-variant-numeric:tabular-nums}
.tvcbr .pill{margin-left:6px; font-size:10px; letter-spacing:.06em; padding:1px 6px; border:1px solid currentColor}
.tvcbr .nx small{color:var(--accent)}
.tvcbr .sp svg{width:100%; height:26px; display:block}
.tvcbl{display:grid; grid-template-columns:minmax(0,1.7fr) minmax(0,1fr); gap:12px; min-height:0}
.tvcbc{flex:1; min-height:0; overflow:hidden; margin:10px 8px 0}
.tvcbc svg{display:block}
.tvcbleg{display:flex; gap:6px 16px; flex-wrap:wrap; padding:8px 14px 12px; font-size:11px; flex:none}
.tvcbleg button{display:inline-flex; align-items:center; gap:6px; background:none; border:0; padding:2px 0; color:var(--ink-3); font:inherit; cursor:pointer; font-variant-numeric:tabular-nums}
.tvcbleg button:hover,.tvcbleg button[aria-pressed="true"]{color:var(--ink)}
.tvcbleg i{width:12px; height:2px; display:block}
.tvcbe{display:grid; grid-template-columns:52px minmax(0,1fr) auto; gap:12px; align-items:center; padding:10px 14px; border-bottom:1px solid #1A1A1A}
.tvcbe .d{display:flex; flex-direction:column; align-items:center; border:1px solid var(--line); padding:4px 0}
.tvcbe .d b{font-size:16px; font-weight:500}
.tvcbe .d span{font-size:10px; color:var(--ink-3); letter-spacing:.06em; text-transform:uppercase}
.tvcbe .w{display:flex; flex-direction:column; gap:3px; min-width:0}
.tvcbe .w>*{white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.tvcbe .w small{color:var(--ink-3); font-size:11px}
.tvcbe .j{color:var(--accent); font-size:11.5px; white-space:nowrap}
.tvcb.locked>section,.tvcb.locked>.tvcbl{filter:blur(3px); pointer-events:none; user-select:none}
.tvcb .tvlock .tvcta h3{margin:0; color:var(--accent); font-size:13px; font-weight:600; letter-spacing:.06em; text-transform:uppercase}
.tvcb .tvlock .tvcta ul{margin:0; padding:0; list-style:none; text-align:left; color:var(--ink-2); display:flex; flex-direction:column; gap:4px}
.tvcb .tvlock .tvcta li::before{content:"› "; color:var(--accent)}
html.tv2 #mktMenu [data-tvcb] small{font-size:9px; letter-spacing:.05em; padding:1px 5px; border:1px solid var(--accent); color:var(--accent)}
/* Calendrier personnalisé (Markets › Calendrier) */
html.tv2 body[data-pg=cal]{overflow:hidden}
html.tv2 .tvcal{grid-template-columns:minmax(0,1fr) 320px; grid-template-rows:minmax(0,1fr)}
html.tv2 #mktMenu [data-tvcal]{order:1}
.tvcalf{padding:8px 14px}
.tvcald{display:flex; gap:10px; align-items:baseline; padding:14px 14px 6px; border-bottom:1px solid #1A1A1A; position:sticky; top:0; background:var(--bg); z-index:1}
.tvcald b{color:var(--accent); font-weight:600; letter-spacing:.06em; text-transform:uppercase; font-size:11px}
.tvcald b:empty{display:none}
.tvcald span{color:var(--ink-2); font-size:11px; letter-spacing:.04em; text-transform:uppercase}
.tvcale{display:grid; grid-template-columns:52px 136px minmax(0,1fr) minmax(0,220px) 110px; gap:12px; align-items:center; padding:9px 14px; border-bottom:1px solid #1A1A1A}
.tvcale.past{opacity:.55}
.tvcale.spec{box-shadow:inset 2px 0 0 var(--accent)}
.tvcale .tm{font-variant-numeric:tabular-nums; color:var(--ink)}
.tvcale .ty{font-size:10px; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-3); white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.tvcale.k-cb .ty{color:#8FB4FF} .tvcale.k-earn .ty{color:#3DD598} .tvcale.k-div .ty{color:#E7C66B} .tvcale.k-exp .ty{color:#FF7A62} .tvcale.k-macro .ty{color:var(--accent)}
.tvcale .w,.tvcala .w{display:flex; flex-direction:column; gap:3px; min-width:0}
.tvcale .w>*,.tvcala .w>*{white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.tvcale .w small,.tvcala .w small{color:var(--ink-3); font-size:11px}
.tvcale .tc{display:flex; gap:4px; flex-wrap:wrap; justify-content:flex-end}
.tvcale .j,.tvcala .j{color:var(--accent); font-size:11.5px; white-space:nowrap; text-align:right}
.tvcale.past .j{color:var(--ink-3)}
.calc{display:inline-block; border:1px solid var(--line); background:transparent; color:var(--ink-2); font:inherit; font-size:10.5px; padding:1px 6px; white-space:nowrap}
button.calc{cursor:pointer} button.calc:hover{color:var(--ink); border-color:var(--ink-3)}
.calc.on{color:var(--accent); border-color:var(--accent)}
.calc.all{border-style:dashed}
.tvcala{display:grid; grid-template-columns:64px minmax(0,1fr) auto; gap:10px; align-items:center; padding:9px 14px; border-bottom:1px solid #1A1A1A}
.tvcala .calc{text-align:center}
/* Screener multi-critères (Qubo Lens › Screener) */
html.tv2 body[data-pg=scr]{overflow:hidden}
html.tv2 .tvscr{grid-template-columns:340px minmax(0,1fr); grid-template-rows:auto minmax(0,1fr)}
html.tv2 .tvscr>.scrask{grid-column:1/-1}
/* Recherche par la phrase uniquement : plus de panneau de critères manuels */
html.tv2 .tvscr{grid-template-columns:minmax(0,1fr)}
.tvscr>.scrcl{display:none}
.scrai p.cr{color:var(--ink-3); font-size:11.5px}
.tvscr .scrwait{padding:40px 20px; text-align:center; color:var(--ink-3); line-height:1.6}
.tvscr .tvscroll{overscroll-behavior:contain}
/* Screener en fil de discussion */
html.tv2 .tvscr{grid-template-rows:minmax(0,1fr)}
.tvscr>.scrask{display:none}
.saichat{position:relative; background:var(--bg)}
.saithr{position:relative; flex:1; min-height:0; overflow-y:auto; overscroll-behavior:contain; padding:22px max(20px,calc(50% - 440px)) 12px; display:flex; flex-direction:column; gap:14px}
/* Fil collé en bas, juste au-dessus du champ (comme une messagerie) ; il défile vers le haut quand il s'allonge. */
.saithr>:first-child{margin-top:auto}
.saiu{display:flex; justify-content:flex-end; align-items:flex-start; gap:6px}
.saiu .bub{max-width:min(72%,560px); background:#1C1C1C; border:1px solid #2A2A2A; border-radius:14px 14px 4px 14px; padding:9px 13px}
.saiu .bub p{margin:0; color:var(--ink); font-family:var(--f-body); font-size:14.5px; line-height:1.5; white-space:pre-wrap; word-break:break-word}
.saiic{order:-1; align-self:center; background:none; border:0; color:var(--ink-3); cursor:pointer; padding:6px; border-radius:6px; opacity:0; transition:opacity .15s}
.saiu:hover .saiic,.saiic:focus-visible{opacity:1}
.saiic:hover{color:var(--ink); background:#161616}
.saia{display:flex; gap:10px; align-items:flex-start}
.saia .av{flex:none; width:24px; height:24px; border-radius:6px; background:var(--accent); color:#0A0A0A; font-weight:700; font-size:12px; display:grid; place-items:center; margin-top:1px}
.saia .msg{flex:1; min-width:0; display:flex; flex-direction:column; gap:6px}
.saia .msg b{color:var(--ink); font-weight:600; font-size:14.5px}
.saia .msg>p{margin:0; color:var(--ink-2); font-family:var(--f-body); font-size:14.5px; line-height:1.6}
.saia .msg p.nt{color:var(--accent); font-size:13px}
.saia.err .av{background:#3A1A1A; color:var(--down)}
.saia.err .msg>p{color:var(--down)}
.saia .act{display:flex; align-items:center; gap:4px; flex-wrap:wrap; margin-top:2px}
.saia .act small{color:var(--ink-3); font-size:11.5px; margin-right:6px}
.saia .act button{display:inline-flex; align-items:center; gap:5px; background:none; border:1px solid transparent; color:var(--ink-3); font:inherit; font-size:12px; padding:4px 8px; border-radius:6px; cursor:pointer}
.saia .act button:hover:not(:disabled){color:var(--ink); border-color:var(--line); background:#121212}
.saia .act button:disabled{opacity:.4; cursor:default}
.saia .sugg{display:flex; flex-direction:column; align-items:flex-start; gap:6px; margin-top:4px}
.saia .sugg small{color:var(--ink-3); font-size:11px; letter-spacing:.06em; text-transform:uppercase}
.saia .sugg button{font:inherit; font-size:13.5px; text-align:left; background:transparent; border:1px solid var(--line); color:var(--ink-2); padding:7px 11px; border-radius:10px; cursor:pointer; max-width:100%}
.saia .sugg button:hover{color:var(--ink); border-color:var(--ink-3)}
.saires{margin-top:4px}
.saires .scrres{border:1px solid var(--line); border-radius:8px; overflow:hidden; background:var(--bg)}
.saires .scrres #tvScrAi{display:none}
.saires .scrres #tvScrB{max-height:min(46vh,440px)}
.scrres[hidden]{display:none!important}
.saidots{display:flex; align-items:center; gap:4px; color:var(--ink-3)!important; font-size:13px!important}
.saidots i{width:6px; height:6px; border-radius:50%; background:var(--ink-3); animation:saidot 1.2s infinite ease-in-out}
.saidots i:nth-child(2){animation-delay:.15s} .saidots i:nth-child(3){animation-delay:.3s}
.saidots span{margin-left:6px}
@keyframes saidot{0%,80%,100%{opacity:.25; transform:translateY(0)} 40%{opacity:1; transform:translateY(-3px)}}
@media (prefers-reduced-motion:reduce){.saidots i{animation:none}}
/* Chargement : points orange (Screener et toutes les pages qui attendent une réponse). Pendant une demande du Screener, les anciens messages sont masqués. */
.saidots i{background:var(--accent)}
.qldw{display:flex; align-items:center; justify-content:center; min-height:100%; padding:28px 16px}
.qldw .saidots{margin:0}
.ld:before{content:''; display:inline-block; flex:none; width:24px; height:9px; margin-right:9px; vertical-align:-1px;
  background:radial-gradient(circle,var(--accent) 2.6px,transparent 3.2px) 0 3px/6px 6px no-repeat,radial-gradient(circle,var(--accent) 2.6px,transparent 3.2px) 9px 3px/6px 6px no-repeat,radial-gradient(circle,var(--accent) 2.6px,transparent 3.2px) 18px 3px/6px 6px no-repeat;
  animation:lddot 1.2s infinite ease-in-out}
.ipoe.ld:before{margin:0 0 2px}
@keyframes lddot{0%,60%,100%{background-position:0 3px,9px 3px,18px 3px} 15%{background-position:0 0,9px 3px,18px 3px} 30%{background-position:0 3px,9px 0,18px 3px} 45%{background-position:0 3px,9px 3px,18px 0}}
@media (prefers-reduced-motion:reduce){.ld:before{animation:none}}
.saicmp{flex:none; padding:4px max(20px,calc(50% - 440px)) 12px; background:var(--bg)}
.saicmp .box{display:flex; align-items:flex-end; gap:8px; background:#111; border:1px solid var(--line); border-radius:14px; padding:6px 6px 6px 14px; transition:border-color .15s}
.saicmp .box:focus-within{border-color:var(--accent)}
.saicmp textarea{flex:1; min-width:0; resize:none; background:none; border:0; outline:none; color:var(--ink); font-family:var(--f-body); font-size:14.5px; line-height:1.5; padding:6px 0; height:35px; max-height:140px}
.saicmp .cost{flex:none; align-self:center; font-size:10.5px; letter-spacing:.04em; color:var(--accent); border:1px solid #3A2A12; background:#140F07; border-radius:999px; padding:3px 8px; white-space:nowrap}
.saicmp .go{flex:none; width:32px; height:32px; border-radius:10px; border:0; background:var(--accent); color:#0A0A0A; display:grid; place-items:center; cursor:pointer}
.saicmp .go:disabled{opacity:.4; cursor:default}
/* Screener : fiche d'un actif en popup */
.scrfpov .dlg.scrfp{max-width:600px; gap:12px}
.scrfp .fph{display:flex; align-items:center; gap:10px; min-width:0}
.scrfp .fph .logo{flex:none; width:28px; height:28px; font-size:9px}
.scrfp .fph b{font-family:var(--f-mono); font-size:17px; color:var(--ink)}
.scrfp .fph .nm{color:var(--ink-2); overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.scrfp .fph .tg{font-family:var(--f-mono); font-size:10px; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-3); border:1px solid var(--line); padding:2px 6px; border-radius:2px; white-space:nowrap}
.scrfp .fppx{display:flex; align-items:baseline; gap:12px; flex-wrap:wrap}
.scrfp .fppx .v{font-family:var(--f-mono); font-size:26px; font-weight:600; color:var(--ink); font-variant-numeric:tabular-nums}
.scrfp .fppx .c{font-family:var(--f-mono); font-size:14px}
.scrfp .fprg{display:flex; gap:4px}
.scrfp .fprg button{font-family:var(--f-mono); font-size:11px; padding:4px 10px; background:transparent; border:1px solid var(--line); color:var(--ink-3); border-radius:2px; cursor:pointer}
.scrfp .fprg button[aria-selected=true]{border-color:var(--accent); color:var(--accent)}
.scrfp .fprg button:disabled{opacity:.35; cursor:not-allowed}
.scrfp .fpch{height:170px; position:relative; border:1px solid var(--line); border-radius:2px; padding:8px 0}
.scrfp .fpch svg{display:block; width:100%; height:100%}
.scrfp .fpch .em{position:absolute; inset:0; display:grid; place-items:center; color:var(--ink-3); font-size:12px; text-align:center; padding:0 16px}
.scrfp .fpchm{display:flex; gap:14px; flex-wrap:wrap; font-family:var(--f-mono); font-size:11px; color:var(--ink-3)}
.scrfp .fpchm b{font-weight:500; color:var(--ink-2)}
.scrfp .fpgr{display:grid; grid-template-columns:repeat(auto-fill,minmax(120px,1fr)); border-top:1px solid var(--line); border-left:1px solid var(--line)}
.scrfp .fpgr>div{border-right:1px solid var(--line); border-bottom:1px solid var(--line); padding:8px 10px; display:flex; flex-direction:column; gap:3px; min-width:0}
.scrfp .fpgr small{font-family:var(--f-mono); font-size:10px; letter-spacing:.05em; text-transform:uppercase; color:var(--ink-3); overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.scrfp .fpgr span{font-family:var(--f-mono); font-size:13px; color:var(--ink); font-variant-numeric:tabular-nums}
.scrfp .fpac{display:flex; gap:8px; flex-wrap:wrap}
.scrfp .fpds{margin:0; font-size:11px}
.scrfp:focus{outline:none}
.saisrc{list-style:none; margin:2px 0 0; padding:0; display:flex; flex-direction:column; gap:4px}
.saisrc li{display:flex; align-items:baseline; gap:8px; min-width:0; font-size:13px}
.saifh{display:block; margin:14px 0 6px; font-family:var(--f-mono); font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--ink-3)}
.saifx{display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); border:1px solid var(--line); border-radius:8px; overflow:hidden; max-width:640px}
.saifx>div{display:flex; flex-direction:column; gap:3px; padding:9px 11px; background:var(--surface,#111); border-right:1px solid var(--line); min-width:0}
.saifx>div:last-child{border-right:0}
.saifx span{font-family:var(--f-mono); font-size:10.5px; letter-spacing:.04em; text-transform:uppercase; color:var(--ink-3); line-height:1.3}
.saifx b{font-family:var(--f-mono); font-size:14.5px; font-weight:600; color:var(--ink)}
.saifx i{font-style:normal; font-size:11px; color:var(--ink-3)}
@media (max-width:760px){.saifx{grid-template-columns:repeat(3,minmax(0,1fr))} .saifx>div:nth-child(3){border-right:0} .saifx>div:nth-child(-n+3){border-bottom:1px solid var(--line)}}
.saiclr{display:flex; justify-content:center; margin:4px 0 2px}
.saiclr button{font:inherit; font-family:var(--f-mono); font-size:11.5px; background:transparent; border:0; color:var(--ink-3); cursor:pointer; padding:6px 10px}
.saiclr button:hover{color:var(--ink); text-decoration:underline}
.saisrc a{color:var(--ink-2); text-decoration:none; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; min-width:0}
.saisrc a:hover{color:var(--ink); text-decoration:underline}
.saisrc a span{font-family:var(--f-mono); font-size:11px; color:var(--accent); margin-right:8px; text-transform:uppercase; letter-spacing:.04em}
.saisrc small{flex:none; color:var(--ink-3); font-size:11px}
.saicmp .hint{margin:6px 2px 0; color:var(--ink-2); font-size:10.5px; text-align:center}
.saichat .sailk{margin-top:4px}
.scrsec{padding:12px 14px; border-bottom:1px solid #1A1A1A}
.scrsec>h3{margin:0 0 8px; font-size:10.5px; letter-spacing:.08em; text-transform:uppercase; color:var(--ink-3); font-weight:500; display:flex; align-items:center; gap:8px}
.scrsec>h3 span{flex:1}
.scru{display:flex; flex-wrap:wrap; gap:6px}
.scrk{font:inherit; font-size:11px; padding:4px 8px; border:1px solid var(--line); background:transparent; color:var(--ink-2); cursor:pointer; display:inline-flex; gap:6px; align-items:center; letter-spacing:.03em}
.scrk:hover{color:var(--ink); border-color:var(--ink-3)}
.scrk[aria-pressed=true]{color:var(--accent); border-color:var(--accent); background:#2E1E0A}
.scrk small{font-size:9px; letter-spacing:.05em; padding:0 4px; border:1px solid var(--accent); color:var(--accent)}
.scrk.lk{color:var(--ink-3); border-style:dashed}
.scrc{display:grid; grid-template-columns:minmax(0,1fr) 22px; gap:6px 8px; padding:8px 0; border-top:1px dashed #1F1F1F}
.scrc:first-child{border-top:0; padding-top:0}
.scrc .r1{display:flex; gap:6px; min-width:0}
.scrc .r2{display:flex; gap:6px; align-items:center; grid-column:1; min-width:0; flex-wrap:wrap}
.scrc select,.scrc input,.scrnm input{background:#0D0D0D; border:1px solid var(--line); color:var(--ink); font:inherit; font-size:12px; height:28px; padding:0 6px; min-width:0}
.scrc select{flex:1}
.scrc select.op{flex:none; width:118px}
.scrc input{width:88px}
.scrc .un{color:var(--ink-3); font-size:11px}
.scrc .x{grid-column:2; grid-row:1; align-self:center; background:transparent; border:0; color:var(--ink-3); cursor:pointer; font-size:16px; line-height:1; padding:0}
.scrc .x:hover{color:var(--down)}
.scrc .lkm{grid-column:1/-1; color:var(--accent); font-size:11px; margin:0}
.scrc .lkm button{font:inherit; color:inherit; background:none; border:0; text-decoration:underline; cursor:pointer; padding:0}
.scradd{margin-top:8px}
.scrpre{display:flex; flex-direction:column; gap:2px}
.scrpre button{font:inherit; font-size:12px; text-align:left; background:transparent; border:0; border-left:2px solid transparent; color:var(--ink-2); padding:5px 8px; cursor:pointer; display:flex; gap:8px; align-items:center}
.scrpre button:hover{color:var(--ink); border-left-color:var(--accent); background:#121212}
.scrpre button span{flex:1}
.scrpre button small{font-size:9px; letter-spacing:.05em; padding:0 4px; border:1px solid var(--accent); color:var(--accent)}
.scrsv{display:flex; align-items:center; gap:8px; padding:6px 0; border-top:1px dashed #1F1F1F}
.scrsv:first-child{border-top:0}
.scrsv .nm{flex:1; min-width:0; font:inherit; font-size:12px; background:none; border:0; color:var(--ink); text-align:left; cursor:pointer; padding:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.scrsv.on .nm{color:var(--accent)}
.scrsv .ct{color:var(--ink-3); font-size:11px; font-variant-numeric:tabular-nums}
.scrsv .scrbl,.scrsv .scrx{background:none; border:0; cursor:pointer; color:var(--ink-3); padding:2px; display:inline-flex}
.scrsv .scrbl svg{width:14px; height:14px}
.scrsv .scrbl[aria-pressed=true]{color:var(--accent)}
.scrsv .scrx:hover{color:var(--down)}
.scrnm{display:flex; gap:6px; margin-top:8px}
.scrnm input{flex:1}
.scrmsg{margin:6px 0 0; font-size:11px; color:var(--ink-3); line-height:1.5}
.scrmsg.err{color:var(--down)}
.tvscrr{grid-template-columns:34px minmax(0,1.6fr) repeat(var(--nc,6),minmax(0,1fr))}
.tvscrr .as{display:flex; align-items:center; gap:8px; min-width:0}
.tvscrr .as .logo{flex:none; width:20px; height:20px; font-size:7px}
.tvscrr .as .mut{overflow:hidden; text-overflow:ellipsis}
.tvscrr>.n{font-variant-numeric:tabular-nums; text-align:right}
.tvscrr.hd>span[data-scrs]{cursor:pointer; user-select:none}
.tvscrr.hd>span[data-scrs]:hover{color:var(--ink)}
.tvscrr.hd>span[aria-sort]{color:var(--accent)}
.tvscrr .sec{font-size:10px; letter-spacing:.05em; text-transform:uppercase; color:var(--ink-3)}
.tvscr .tvbh .tvbtn{padding:5px 10px}
/* Qubo Lens › Screener : recherche en langage naturel au-dessus des critères et des résultats */
.scrask{padding:12px 14px; display:flex; flex-direction:column; gap:8px}
.scrask .hd{display:flex; align-items:baseline; gap:10px; flex-wrap:wrap}
.scrask .hd .tvprompt,.scrask .hd .tvt{margin:0}
.scrask .hd .tvmut{font-size:11.5px}
.saif{display:flex; gap:10px; align-items:stretch}
.saif textarea{flex:1; min-width:0; box-sizing:border-box; resize:none; height:40px; background:#0D0D0D; border:1px solid var(--line); color:var(--ink); font:inherit; font-size:13px; padding:10px 12px; line-height:1.4}
.saif textarea:focus{outline:none; border-color:var(--accent)}
.saif .tvbtn{flex:none; white-space:nowrap}
.saist{color:var(--ink-3); font-size:11.5px; margin:0}
.saierr{color:var(--down); margin:0; line-height:1.5; font-size:12px}
.saiex{display:flex; flex-wrap:wrap; gap:6px; align-items:center}
.saiex>span{font-size:10.5px; letter-spacing:.08em; text-transform:uppercase; color:var(--ink-3); margin:0 2px 0 4px}
.saiex>span:first-child{margin-left:0}
.saiex button{font:inherit; font-size:11.5px; text-align:left; background:transparent; border:1px solid var(--line); color:var(--ink-2); padding:4px 9px; cursor:pointer; max-width:420px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.saiex button:hover{color:var(--ink); border-color:var(--ink-3)}
.saiex button.r{border-style:dashed}
.sailk{display:flex; align-items:center; gap:12px; flex-wrap:wrap; color:var(--ink-2); font-size:12.5px; line-height:1.5}
.sailk p{margin:0; flex:1; min-width:240px}
.scrai{margin:10px 14px; padding:10px 12px; border:1px solid #3A2A12; background:#140F07; display:flex; flex-direction:column; gap:6px; flex:none}
.scrai .hd{display:flex; align-items:flex-start; gap:8px}
.scrai .hd .tvprompt{flex:1; margin:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.scrai .scrx{background:none; border:0; color:var(--ink-3); cursor:pointer; font-size:16px; line-height:1; padding:0}
.scrai b{color:var(--ink); font-weight:600}
.scrai p{margin:0; color:var(--ink-2); line-height:1.55; font-size:12.5px}
.scrai p.nt{color:var(--accent); font-size:11.5px}
.scrai small{color:var(--ink-3); font-size:11px}
/* Marchés traditionnels (Markets › Actions US, ETF, Indices, Forex, Matières premières) */
html.tv2 #mktMenu>button.soon{display:none}
#mktMenu .tvmg{display:none}
html.tv2 #mktMenu .tvmg{display:block; margin-top:14px}
html.tv2 #mktMenu>button.soon.nft{display:flex}
html.tv2 #mktMenu [data-tvcb]{order:1} html.tv2 #mktMenu [data-tvmk]{order:2} html.tv2 #mktMenu .tvmg[data-g=tf]{order:3}
html.tv2 #mktMenu [data-tf=stock]{order:4} html.tv2 #mktMenu [data-tf=etf]{order:5} html.tv2 #mktMenu [data-tf=index]{order:6} html.tv2 #mktMenu [data-tf=fx]{order:7} html.tv2 #mktMenu [data-tf=cmd]{order:8}
html.tv2 #mktMenu .tvmg[data-g=bc]{order:9} html.tv2 #mktMenu [data-page=cryptos]{order:10} html.tv2 #mktMenu [data-nft]{order:11}
html.tv2 #mktMenu [data-tf] small{font-size:9px; letter-spacing:.05em; padding:1px 5px; border:1px solid var(--accent); color:var(--accent)}
html.tv2 #mktMenu [data-tf] .tfsoon{font-style:normal; font-size:9px; letter-spacing:.05em; padding:1px 5px; border:1px solid var(--line); color:var(--ink-3); margin-left:6px}
/* étiquette de formule masquée quand l'abonnement la couvre déjà */
body[data-tier=light] #mktMenu [data-min=light] small,body[data-tier=scale] #mktMenu [data-min] small,body[data-tier=pro] #mktMenu [data-min] small{display:none}
html.tv2 body[data-pg=tf]{overflow:hidden}
html.tv2 .tvtf{position:relative}
#tvTfK{grid-template-columns:repeat(5,minmax(0,1fr))}
.tvtfh>div{display:flex; flex-direction:column; justify-content:space-between; align-items:flex-start; padding:7px 10px; color:var(--ink-2); font-family:var(--f-mono); font-size:11px; min-width:0}
.tvtfh>div b{color:var(--ink); font-weight:600}
.tvtfh>div.big{grid-row:span 2; font-size:14px}
.tvtfr{grid-template-columns:22px 34px minmax(0,1.7fr) repeat(4,minmax(0,1fr)) minmax(0,1.3fr) 110px}
.tvtfr .as{display:flex; align-items:center; gap:8px; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.tvtfr .as .logo{flex:none; width:20px; height:20px; font-size:6.5px; letter-spacing:-.03em}
.tvtfr .as .mut{overflow:hidden; text-overflow:ellipsis}
.tvtfr small{color:var(--ink-3); font-size:11px}
.tvtfr>.n{font-variant-numeric:tabular-nums}
.tvtfr .sp svg{width:100%; height:22px; display:block}
.tvtfr .rgw{display:flex; flex-direction:column; gap:5px; min-width:0}
.tvtfr>span:nth-child(8){padding-left:18px}
.tvtfr .rg{position:relative; height:3px; background:#2A2A2A}
.tvtfr .rg i{position:absolute; top:-3px; width:2px; height:9px; background:var(--accent)}
.tvtf.locked>section{filter:blur(3px); pointer-events:none; user-select:none}
.tvtf .tvlock .tvcta h3{margin:0; color:var(--accent); font-size:13px; font-weight:600; letter-spacing:.06em; text-transform:uppercase}
.tvtf .tvlock .tvcta ul{margin:0; padding:0; list-style:none; text-align:left; color:var(--ink-2); display:flex; flex-direction:column; gap:4px}
.tvtf .tvlock .tvcta li::before{content:"› "; color:var(--accent)}
/* Portfolio */
html.tv2 .tvpf{grid-template-columns:repeat(4,minmax(0,1fr)); grid-template-rows:auto auto minmax(0,1fr) minmax(0,1fr)}
.tvpfr2{grid-column:1/-1; grid-template-columns:repeat(5,minmax(0,1fr))}
.tvpfr2>div{padding:8px 16px; gap:3px}
.tvpfr2 b{font-size:15px}
.tvpfr2 .c{white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.tvpfk{grid-column:1/-1; grid-template-columns:repeat(3,minmax(0,1fr)) minmax(0,1.9fr)}
.tvpfk b{font-size:20px}
.tvpfk>div:first-child b{font-size:26px}
.tvpfk .acts{flex-direction:row; align-items:center; justify-content:flex-end; gap:8px}
.tvpfp{grid-column:span 2}
.tvpfca{grid-column:span 2}
.tvpfcab{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.15fr); flex:1; min-height:0}
.tvpfcab>#tvPfC{justify-content:center; border-right:1px solid #1A1A1A; padding:16px}
.tvpfcab>#tvPfA{padding:16px 18px}
.tvpfcab .tvpie{max-height:300px}
.tvpfp .tvbh{border-bottom:0}
#tvPfRng{display:flex; gap:8px}
html.tv2 #tvPfRng .seg{margin:0; background:transparent; border:1px solid var(--line); border-radius:0; padding:0; gap:0}
html.tv2 #tvPfRng .seg button{font-family:var(--f-mono); font-size:11.5px; padding:4px 10px; border-radius:0; background:transparent; color:var(--ink-3); border:0}
html.tv2 #tvPfRng .seg button[aria-pressed="true"]{background:#2E1E0A; color:var(--accent); box-shadow:none}
.tvch{flex:1; min-height:0; padding:0 14px 10px; overflow:hidden}
html.tv2 .tvch .chart-host{min-height:0; height:100%}
#tvPfA{display:flex; flex-direction:column; gap:10px; padding:12px 14px; flex:1; min-height:0; overflow:auto}
.tvbar{display:flex; height:10px; gap:2px}
.tvbar span{display:block; min-width:2px}
.tval{display:grid; grid-template-columns:10px minmax(0,1fr) auto 52px; gap:10px; align-items:center}
.tval i{width:10px; height:10px; display:block}
.tval>span:nth-child(2){white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.tvbw{margin-top:auto; border-top:1px solid #1A1A1A; padding-top:10px; display:grid; grid-template-columns:1fr 1fr; gap:8px}
.tvbw>div{display:flex; flex-direction:column; gap:3px}
.tvpfs{grid-column:1/-1}
#tvPfC{display:flex; flex-direction:column; align-items:center; gap:12px; padding:10px 14px; flex:1; min-height:0; overflow:hidden}
.tvpie{position:relative; flex:1 1 0; min-height:120px; max-height:255px; max-width:100%; width:auto; aspect-ratio:1; border-radius:50%}
.tvpie span{position:absolute; inset:21%; border-radius:50%; background:var(--bg); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; pointer-events:none}
.tvpie b{font-family:var(--f-mono); font-size:13px; letter-spacing:.05em; color:var(--ink)}
.tvpie small{font-family:var(--f-mono); font-size:11px; color:var(--ink-3)}
.tvpiel{align-self:stretch; display:flex; flex-direction:column; gap:8px}
/* Portfolio : vues Staking et Active positions (menu vertical) */
html.tv2 #pgPortfolio[data-pfv=stk] #tvPf,html.tv2 #pgPortfolio[data-pfv=pos] #tvPf,html.tv2 #pgPortfolio:not([data-pfv=stk]) #tvStk,html.tv2 #pgPortfolio:not([data-pfv=pos]) #tvPos{display:none}
html.tv2 .tvstk{grid-template-columns:repeat(3,minmax(0,1fr)); grid-template-rows:auto minmax(0,1fr) 220px}
html.tv2 .tvpos{grid-template-columns:repeat(3,minmax(0,1fr)); grid-template-rows:auto minmax(0,1fr) 200px}
.tvstk>.tvkpi,.tvpos>.tvkpi{grid-column:1/-1; grid-template-columns:repeat(4,minmax(0,1fr))}
.tvstk .tvkpi b,.tvpos .tvkpi b{font-size:20px; font-weight:500}
.tvstk .tvkpi .l,.tvpos .tvkpi .l{color:var(--ink-3); font-size:11px; letter-spacing:.06em; text-transform:uppercase}
.tvstk .tvkpi .c,.tvpos .tvkpi .c{font-size:11.5px}
.tvstk b.acc,.tvpos .acc,.tvstk .acc{color:var(--accent)}
.tvstk .tvmain,.tvpos .tvmain{grid-column:1/-1}
.tvstk .tvmain2{grid-column:span 2}
.tvskr{grid-template-columns:minmax(0,1fr) minmax(0,1.5fr) minmax(0,.9fr) repeat(3,minmax(0,1fr)) minmax(0,1.2fr) minmax(0,1.5fr)}
.tvpsr{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) 76px repeat(4,minmax(0,1fr)) 56px repeat(2,minmax(0,1fr))}
.tvskr .as,.tvpsr .as,.tvmkr .as{display:flex; align-items:center; gap:8px; min-width:0}
#tvCoinH>.logo{flex:none; width:24px; height:24px; font-size:9px; align-self:center}
.tvskr .as .logo,.tvpsr .as .logo,.tvmkr .as .logo{flex:none; width:20px; height:20px; font-size:8px}
.tvsd{font-style:normal; font-size:10px; font-weight:600; letter-spacing:.06em; padding:2px 6px; text-transform:uppercase; white-space:nowrap}
.tvsd.L,.tvsd.A{background:var(--up-soft); color:var(--up)}
.tvsd.S{background:var(--down-soft); color:var(--down)}
.tvsd.U{background:#2E1E0A; color:var(--accent)}
.tvsd.I{border:1px solid var(--line); color:var(--ink-3)}
.tvhb{display:flex; flex-direction:column; gap:12px; padding:14px; overflow-y:auto; min-height:0}
.tvhb>div{display:flex; flex-direction:column; gap:6px}
.tvhb .ln{display:flex; justify-content:space-between; gap:8px; flex-direction:row}
.tvhb .b{height:6px; background:#1A1A1A}
.tvhb .b>i{display:block; height:6px}
.tvhb>.tvseg{display:flex; flex-direction:row; gap:2px; height:20px; border:0}
.tvseg i{flex:1; background:#1A1A1A}
.tvseg i.g{background:var(--up)} .tvseg i.r{background:var(--down)}
.tvrw{flex:1; min-height:0; display:flex; align-items:flex-end; gap:3px; padding:14px; border-bottom:0}
.tvrw i{flex:1; background:var(--up); opacity:.85}
/* Solde de tokens (en-tête) et popup de recharge */
html.tv2 .tvtok{display:inline-flex; order:7; align-items:stretch; height:32px; margin-left:-8px; border:1px solid var(--line); border-radius:2px; background:#1A1A1A; font-family:var(--f-mono); font-size:12px; letter-spacing:.04em; white-space:nowrap}
html.tv2 .tvtok[hidden]{display:none}
html.tv2 .tvtokv{display:flex; align-items:center; gap:6px; padding:0 10px; color:var(--ink); text-transform:uppercase}
html.tv2 .tvtokv small{color:var(--ink-3); font-size:11px}
html.tv2 .tvtokp{width:30px; border:0; border-left:1px solid var(--line); background:transparent; color:var(--accent); font:inherit; font-size:16px; font-weight:600; cursor:pointer; padding:0}
html.tv2 .tvtokp:hover{background:var(--accent-soft)}
html.tv2 .tvtok:not([hidden]) ~ .tvsup{margin-left:-8px}
#tvTkOv .dlg{max-width:820px; width:calc(100% - 32px)}
#tvTkOv .pkhd{font-family:var(--f-mono); font-size:12px; line-height:1.5}
#tvTkOv .pk .pkp{font-size:16px}
#tvTkOv .pknote{font-family:var(--f-mono); font-size:11px}
.tvtkbal{display:flex; align-items:baseline; gap:10px; padding:4px 0 14px; border-bottom:1px solid var(--line); font-family:var(--f-mono)}
.tvtkbal b{font-size:24px; font-weight:500} .tvtkbal span{color:var(--ink-3); font-size:12px; text-transform:uppercase; letter-spacing:.06em}
.tvtkov .pkgrid{grid-template-columns:repeat(5,minmax(0,1fr))}
.tvtkov .pk{font-family:var(--f-mono); cursor:pointer; background:transparent; color:var(--ink); text-align:left; border-radius:0}
.tvtkov .pk[aria-pressed="true"]{border-color:var(--accent); background:var(--accent-soft)}
.tvtkov .tvtkact{display:flex; justify-content:flex-end; gap:8px; margin-top:16px}
@media (max-width:760px){.tvtkov .pkgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Qubo Lens */
html:not(.tv2) .menu button[data-page=intel]{display:none!important}
html.tv2 .tvqi{gap:12px}
html.tv2 .tvqi.v-lock{grid-template-columns:minmax(0,1fr); grid-template-rows:auto; align-content:start}
html.tv2 .tvqi.v-an{grid-template-columns:minmax(0,1fr) 340px; grid-template-rows:auto auto minmax(0,1fr)}
html.tv2 .tvqi.v-hi{grid-template-columns:minmax(0,1fr); grid-template-rows:auto minmax(0,1fr)}
html.tv2 .tvqi.v-sc{grid-template-columns:minmax(0,1fr); grid-template-rows:auto auto auto minmax(0,1fr)}
/* IPO Scanner (Qubo Lens) : liste des introductions en Bourse américaines à venir et fiche de chaque opération. */
html.tv2 .tvqi.v-ipo{grid-template-columns:minmax(0,1fr); grid-template-rows:auto auto minmax(0,1fr)}
html.tv2 .tvqi.v-ipd{display:flex; flex-direction:column; gap:12px; overflow-y:auto; scrollbar-width:thin; scrollbar-color:#2A2A2A transparent}
.ipoh{display:flex; flex-wrap:wrap; gap:24px; align-items:flex-end; padding:22px 26px; border:1px solid var(--line); background:var(--surface)}
.ipoh .ipotx{flex:999 1 480px; min-width:0; display:flex; flex-direction:column; gap:10px}
.ipoh .cmd{color:var(--ink-3); font-size:13px}
.ipoh .ipott{display:flex; align-items:center; gap:12px; flex-wrap:wrap}
.ipoh h2{margin:0; font-size:26px; font-weight:600; color:var(--ink)}
.ipofree{font-size:11px; font-weight:700; letter-spacing:.06em; background:var(--up-soft); color:var(--up); padding:3px 8px}
.ipoh p{margin:0; max-width:640px; font-family:var(--f-body); font-size:14px; line-height:1.55; color:var(--ink-2)}
.ipost{flex:0 1 340px; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); border:1px solid var(--line)}
.ipost div{padding:14px 16px; border-right:1px solid var(--line)} .ipost div:last-child{border-right:0}
.ipost span,.ipol,.ipotile span{display:block; font-size:11px; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-3)}
.ipost b{display:block; margin-top:6px; font-size:22px; white-space:nowrap; font-weight:600; color:var(--ink)}
.ipobar{display:flex; align-items:center; gap:10px; flex-wrap:wrap}
.ipobar .seg{display:flex; border:1px solid var(--line)}
.ipobar .seg button{padding:8px 14px; border:0; background:transparent; color:var(--ink-2); font-family:var(--f-mono); font-size:12px; cursor:pointer}
.ipobar .seg button[aria-pressed="true"]{background:var(--accent); color:#0A0A0A; font-weight:600}
.ipochips{display:flex; gap:6px}
.ipochips button{height:32px; padding:0 12px; border:1px solid var(--line); background:transparent; color:var(--ink-2); font-family:var(--f-mono); font-size:12px; cursor:pointer}
.ipochips button[aria-pressed="true"]{border-color:var(--accent); color:var(--accent); background:var(--accent-soft)}
.iposrch{margin-left:auto; display:flex; align-items:center; gap:8px; min-width:220px; height:32px; padding:0 12px; border:1px solid var(--line); color:var(--ink-3)}
.iposrch input{flex:1; min-width:0; border:0; background:transparent; color:var(--ink); font-family:var(--f-mono); font-size:12px; outline:none}
.ipotb{width:100%; border-collapse:collapse}
.ipotb th{position:sticky; top:0; z-index:1; background:var(--surface); padding:10px 10px; border-bottom:1px solid var(--line); font-size:11px; font-weight:500; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-3); text-align:left; white-space:nowrap}
.ipotb td{padding:12px 10px; border-bottom:1px solid #1F1F1F; font-size:13px; white-space:nowrap; vertical-align:middle}
.ipotb tr.r:hover td{background:#161616}
.ipotb .n{text-align:right}
.ipotb .m{color:var(--ink-2)}
.ipotb .ipopct{display:block; margin-top:3px; font-size:11px; color:var(--ink-3)}
.ipotile b.mut{color:var(--ink-3); font-size:20px}
/* TGE Scanner */
.tgety{display:inline-block; padding:4px 8px; font-size:11px; font-weight:700; letter-spacing:.06em; white-space:nowrap}
.tgety.spot{border:1px solid var(--line); color:var(--ink)} .tgety.air{background:var(--up-soft); color:var(--up)} .tgety.pool{background:var(--accent-soft); color:var(--accent)} .tgety.pre{background:rgba(120,160,255,.16); color:#9DB8FF}
.tgexs{display:flex; gap:4px; flex-wrap:wrap; max-width:220px}
.tgex{display:inline-flex; align-items:center; height:22px; padding:0 7px; border:1px solid var(--line); font-size:11px; font-weight:600; color:var(--ink)}
.tgecd{display:block; margin-top:3px; font-size:11px; color:var(--ink-3)} .tgecd.soon{color:var(--accent)}
.ipotb .tgepx small{display:block; margin-top:3px; font-size:11px} .ipotb .tgepx small.up{color:var(--up)} .ipotb .tgepx small.dn{color:var(--down)}
.ipotb .wk.old td{color:var(--ink-3)}
.tgewarn{display:flex; align-items:center; gap:12px; padding:12px 18px; border:1px solid #5A3A12; background:#1A1206; color:var(--accent)}
.tgewarn svg{flex:none}
.tgewarn p{margin:0; font-family:var(--f-body); font-size:13px; line-height:1.55; color:#F5D9B5} .tgewarn b{color:#FFB15C}
.tgech{display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; padding-right:18px; border-bottom:1px solid var(--line)}
.ipocard .tgech h3{border-bottom:0}
.tgetabs{display:flex; border:1px solid var(--line)}
.tgetabs button{padding:6px 12px; border:0; background:transparent; color:var(--ink-2); font-family:var(--f-mono); font-size:12px; cursor:pointer}
.tgetabs button[aria-pressed="true"]{background:var(--accent); color:#0A0A0A; font-weight:600}
.tgenote{margin:0; padding:0 18px 16px; font-family:var(--f-body); font-size:12px; line-height:1.5; color:var(--ink-3)}
.tgebar{padding:18px 18px 14px; border-bottom:1px solid var(--line)}
.tgebar .tgebr{display:flex; height:14px; border:1px solid var(--line); background:#1F1F1F} .tgebar .tgebr span{display:block; height:100%; background:var(--accent)}
.tgebar .lg{display:flex; flex-wrap:wrap; gap:20px; margin-top:12px; font-size:12px; color:var(--ink-2)}
.tgebar .lg span{display:inline-flex; align-items:center; gap:8px} .tgebar .lg i{width:10px; height:10px; background:#1F1F1F; border:1px solid var(--line)} .tgebar .lg i.c{background:var(--accent); border-color:var(--accent)}
.tgeaddr{display:flex; align-items:center; gap:10px; padding:14px 18px; font-size:13px}
.tgeaddr .m{color:var(--ink-3)} .tgeaddr code{flex:1; text-align:right; font-family:var(--f-mono); font-size:12px; color:var(--ink)}
.tgecp{padding:4px 8px; border:1px solid var(--line); background:transparent; color:var(--ink-2); font-family:var(--f-mono); font-size:11px; cursor:pointer} .tgecp:hover{color:var(--ink)}
.tgeann span{overflow:hidden; text-overflow:ellipsis}
.ipotb .wk td{padding:18px 10px 8px; border-bottom:1px solid var(--line); color:var(--accent); font-size:11px; font-weight:700; letter-spacing:.08em}
.ipoco{display:flex; align-items:center; gap:12px}
.ipoav{flex:none; display:inline-flex; align-items:center; justify-content:center; width:32px; height:32px; border:1px solid var(--line); background:var(--surface-2); color:var(--c3); font-size:11px; font-weight:700}
.ipoco b{display:block; max-width:300px; overflow:hidden; text-overflow:ellipsis; font-family:var(--f-body); font-size:14px; font-weight:600}
.ipoco small{display:block; margin-top:2px; font-size:11px; color:var(--ink-3)}
.ipopill{display:inline-block; padding:4px 8px; font-size:11px; font-weight:700; letter-spacing:.06em}
.ipopill.priced{background:var(--up-soft); color:var(--up)} .ipopill.upcoming{background:var(--accent-soft); color:var(--accent)} .ipopill.filed{border:1px solid var(--line); color:var(--ink-2)} .ipopill.listed{border:1px solid var(--up); color:var(--up)}
.ipotb td small.mk{display:block; color:var(--ink-3); font-size:11px; margin-top:2px}
.ipogo{display:inline-flex; align-items:center; gap:6px; padding:8px 12px; border:1px solid #5A3A12; background:transparent; color:var(--accent); font-family:var(--f-mono); font-size:12px; font-weight:700; letter-spacing:.06em; cursor:pointer; white-space:nowrap}
.ipogo:hover{background:var(--accent-soft)} a.ipogo{text-decoration:none}
.ipoft{margin:0; padding:12px 16px; border-top:1px solid var(--line); font-family:var(--f-body); font-size:12px; color:var(--ink-3)}
.ipoe{display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; padding:48px 24px; text-align:center; color:var(--ink-2)}
.ipoe.err b{color:var(--down)}
.ipoback{align-self:flex-start; display:inline-flex; align-items:center; gap:8px; padding:4px 0; border:0; background:transparent; color:var(--ink-2); font-family:var(--f-mono); font-size:12px; letter-spacing:.06em; cursor:pointer}
.ipoback:hover{color:var(--ink)}
.ipohd{display:flex; flex-wrap:wrap; gap:24px; align-items:center; padding:22px 26px; border:1px solid var(--line); background:var(--surface)}
.ipohd .id{flex:999 1 480px; min-width:0; display:flex; align-items:center; gap:18px}
.ipohd .ipoav{width:64px; height:64px; font-size:20px}
.ipoav{position:relative; overflow:hidden} .ipoav img{position:absolute; inset:0; width:100%; height:100%; object-fit:contain; background:var(--surface-2)} .ipoav img.fav{background:#FFF; padding:5px} .ipohd .ipoav img.fav{padding:10px}
.ipohd .ipott{display:flex; align-items:center; gap:12px; flex-wrap:wrap}
.ipohd h2{margin:0; font-size:26px; font-weight:600; color:var(--ink)}
.ipohd .tag{padding:3px 8px; border:1px solid var(--line); font-size:12px; font-weight:700}
.ipohd .tag.m{font-weight:400; color:var(--ink-2)}
.ipohd .sub{margin-top:8px; font-family:var(--f-body); font-size:14px; color:var(--ink-2)}
.ipohd .dt{flex:1 1 380px; display:flex; justify-content:flex-end; gap:32px}
.ipohd .dt b{display:block; margin-top:6px; font-size:22px; font-weight:600}
.ipohd .dt small{display:block; margin-top:4px; font-size:12px; color:var(--ink-3)}
.ipotiles{display:grid; grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); border:1px solid var(--line); background:var(--surface)}
.ipotile{padding:18px 20px; border-right:1px solid var(--line)} .ipotile:last-child{border-right:0}
.ipotile b{display:block; margin-top:8px; font-size:24px; font-weight:600; color:var(--ink)}
.ipotile b.a{color:var(--accent)}
.ipotile small{display:block; margin-top:4px; font-size:12px; color:var(--ink-3)}
.ipocols{display:flex; flex-wrap:wrap; gap:12px; align-items:flex-start}
.ipocols>.l{flex:999 1 560px; min-width:0; display:flex; flex-direction:column; gap:12px}
.ipocols>.r{flex:1 1 340px; min-width:0; display:flex; flex-direction:column; gap:12px}
.ipocard{border:1px solid var(--line); background:var(--surface)}
.ipocard h3{margin:0; padding:14px 18px; border-bottom:1px solid var(--line); color:var(--accent); font-size:12px; font-weight:700; letter-spacing:.08em; text-transform:uppercase}
.ipocard .desc{padding:16px 18px 4px; font-family:var(--f-body); font-size:14px; line-height:1.6; color:var(--ink-2)}
.ipocard .desc p{margin:0 0 12px}
.ipomore{margin:0 18px 16px; padding:0; border:0; background:transparent; color:var(--accent); font-family:var(--f-mono); font-size:12px; font-weight:600; letter-spacing:.04em; cursor:pointer}
button.ipodoc{width:100%; border:0; border-bottom:1px solid #1F1F1F; background:transparent; text-align:left; font-family:var(--f-mono); cursor:pointer}
.tvqmd.ipord{padding:16px 24px}
.tvqmd.full.ipord .box{width:min(1200px,100%); height:calc(100vh - 32px); max-height:none}
.tvqmd.ipord .hd{align-items:center}
.tvqmd.ipord .hd .tvbtn{margin-left:auto; height:32px; border-radius:0}
.tvqmd.ipord .hd .x{margin-left:0}
.tvqmd.ipord .bd{display:block; padding:0; background:#F5F5EF}
.ipord .bd .ipoe{height:100%; background:var(--surface)}
.ipord iframe{display:block; width:100%; height:100%; border:0; background:#FFF}
.ipokv{margin:0}
.ipokv div{display:flex; justify-content:space-between; gap:16px; padding:11px 18px; border-bottom:1px solid #1F1F1F; font-size:13px}
.ipokv div:last-child{border-bottom:0}
.ipokv.two{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:24px}
.ipokv.two div:nth-last-child(2):nth-child(odd){border-bottom:0}
.ipokv dt{color:var(--ink-3)}
.ipokv dd a{color:var(--accent)}
.ipokv dd{margin:0; text-align:right; color:var(--ink); font-family:var(--f-body); overflow-wrap:anywhere}
.ipotl{list-style:none; margin:0; padding:18px; display:grid; grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}
.ipotl li{display:flex; flex-direction:column; gap:8px; padding-right:12px}
.ipotl .ipoln{display:flex; flex-direction:row; align-items:center} .ipotl .ipoln i{flex:none; width:12px; height:12px; box-sizing:border-box; border:2px solid var(--line)} .ipotl .ipoln u{display:block; flex:1; height:0; margin:0 6px; border-top:2px dotted #3A3A3A} .ipotl li:last-child .ipoln u{visibility:hidden} .ipotl li.done .ipoln u{border-top-color:var(--accent)}
.ipotl li.done .ipoln i{background:var(--accent); border-color:var(--accent)} .ipotl li.next .ipoln i{border-color:var(--accent)}
.ipotl small{font-size:11px; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-3)}
.ipotl span{font-family:var(--f-body); font-size:13px; line-height:1.4; color:var(--ink-2)}
.ipotl li.next span{color:var(--ink); font-weight:600}
.ipodoc{display:flex; align-items:center; gap:12px; padding:12px 18px; border-bottom:1px solid #1F1F1F; color:var(--ink); text-decoration:none; font-size:13px}
.ipodoc:hover{background:#161616}
.ipodoc em{min-width:56px; padding:3px 6px; border:1px solid var(--line); font-style:normal; font-size:11px; font-weight:700; text-align:center}
.ipodoc span{flex:1; font-family:var(--f-body)}
.ipodoc small{color:var(--ink-3); font-size:12px}
.ipodisc{margin:0; font-family:var(--f-body); font-size:12px; line-height:1.5; color:var(--ink-3)}
.iposr{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap}
#ipoL{overflow-x:auto}
.ipotb th.n{white-space:normal; text-align:right; max-width:110px}
.ipotb .sc{max-width:170px; overflow:hidden; text-overflow:ellipsis; font-family:var(--f-body)}
.ipoco b{max-width:230px}
.tvqsh{display:flex; align-items:center; gap:14px; flex-wrap:wrap}
.tvqsh h2{margin:0; font-size:16px; font-weight:600; color:var(--ink)}
.tvqsh .tvmut{font-size:11px}
.tvqsh .seg{margin-left:auto; display:flex; border:1px solid var(--line)}
.tvqsh .seg button{padding:7px 14px; border:0; background:transparent; color:var(--ink-2); font-family:var(--f-mono); font-size:12px; cursor:pointer}
.tvqsh .seg button[aria-pressed="true"]{background:var(--accent); color:#0A0A0A; font-weight:600}
.tvqsh .tvbtn{height:32px; border-radius:0; font-weight:700; letter-spacing:.06em}
.tvqsh .tvbtn[disabled]{opacity:.7; cursor:progress}
.tvqss{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px}
.tvqss:empty{display:none}
.tvqss .v.y{color:#FFC24D} .tvqss .v.c{color:#3CC7BF}
.tvqss .v small.up{color:var(--up)} .tvqss .v small.dn{color:var(--down)}
.tvqsl{grid-row:4; min-height:0; overflow:hidden}
.tvqsl .tvscroll{position:relative}
.tvqsr{display:grid; grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,1.8fr) 80px minmax(0,1.2fr) 130px 110px 90px; gap:12px; align-items:center; padding:7px 16px; border-top:1px solid #1A1A1A; font-size:12px}
.tvqsr.hd{flex:none; color:var(--ink-3); font-size:11px; letter-spacing:.04em; text-transform:uppercase; border-top:0; border-bottom:1px solid var(--line)}
.tvqsr .n{text-align:right} .tvqsr b{font-weight:600; color:var(--ink)} .tvqsr i{font-style:normal; color:var(--ink-3)}
.tvqsr .a{color:var(--accent); font-weight:600} .tvqsr .y{color:#FFC24D}
.tvqsr .vb{display:flex; align-items:center; gap:8px; color:var(--ink-2)}
.tvqsr .vb>i{position:relative; flex:1; height:6px; background:var(--line)}
.tvqsr .vb em{position:absolute; left:0; top:0; height:6px; background:var(--ink-3)} .tvqsr .vb em.hot{background:#FFC24D} .tvqsr .vb em.calm{background:#3CC7BF}
.tvqsr .vb u{position:absolute; left:50%; top:-3px; width:1px; height:12px; background:var(--ink-3)}
.tvqsr .tvlnk{text-decoration:none; background:transparent; border:0; padding:0; color:var(--accent); font-family:var(--f-mono); font-size:12px; cursor:pointer}
.tvqsn{flex:none; margin:0; padding:8px 16px; border-top:1px solid var(--line); font-size:11px; color:var(--ink-3)}
.tvqsn:empty{display:none}
.tvqiem.err{color:var(--down)}
.tvqmd{position:fixed; inset:0; z-index:60; display:grid; place-items:center; padding:24px; background:rgba(0,0,0,.72)}
.tvqmd[hidden]{display:none}
.tvqmd.full .box{height:min(720px,100%)}
.tvqmd:not(.full) .bd{display:block}
.tvqmd .box{display:flex; flex-direction:column; width:min(1180px,100%); max-height:100%; background:var(--surface); border:1px solid var(--line); font-family:var(--f-mono); font-size:12px; color:var(--ink)}
.tvqmd .hd{flex:none; display:flex; align-items:baseline; gap:14px; padding:14px 16px; border-bottom:1px solid var(--line)}
.tvqmd .hd h2{margin:0; font-size:17px; font-weight:600}
.tvqmd .hd .tvmut{color:var(--ink-3); font-size:11.5px}
.tvqmd .x{margin-left:auto; width:32px; height:32px; border:1px solid var(--line); background:transparent; color:var(--ink); font-size:18px; line-height:1; cursor:pointer}
.tvqmd .bd{flex:1; min-height:0; display:grid; grid-template-columns:minmax(0,1fr) 330px; gap:12px; padding:12px}
.tvqmd .mc{display:flex; flex-direction:column; min-height:0; border:1px solid var(--line)}
.tvqmd .mc .tvqisvg{margin:8px}
.tvqmd .tvqis{grid-column:2; grid-row:1}
.tvqmd .sm{grid-column:1/-1; display:flex; flex-direction:column; align-items:flex-start; gap:14px; padding:8px 4px}
.tvqmd .sm .tvqss{width:100%}
.tvqmd .sm .tvqit .v small{font-size:13px; color:var(--ink-3)}
.tvqmd .sm .up{color:var(--up)} .tvqmd .sm .dn{color:var(--down)}
.tvqmd .sm>p{margin:0; max-width:640px; color:var(--ink-2); font-family:var(--f-body); font-size:13px; line-height:1.55}
.tvqmd .sm .tvbtn{height:40px; border-radius:0; font-weight:700; letter-spacing:.06em}
.tvqmd .sm .tvbtn[disabled]{opacity:.7; cursor:progress}
.tvqmd .sm .err{color:var(--down)}
.tvqi .tvbox{background:var(--surface)}
.tvqi .tvqih{padding:28px; gap:12px}
.tvqi .tvqih h2{margin:0; font-size:26px; font-weight:600; color:var(--ink)}
.tvqi .tvqih p{margin:0; max-width:720px; color:var(--ink-2); line-height:1.6; font-size:13px}
.tvqi .tvqih p.tvmut{color:var(--ink-3)}
.tvqi .tvqia{display:flex; gap:8px; flex-wrap:wrap; margin-top:6px}
.tvqits{grid-column:1/-1; display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:12px}
.tvqit{padding:12px 16px}
.tvqit .l{display:flex; justify-content:space-between; gap:8px; font-size:11px; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-3)}
.tvqit .v{margin-top:6px; font-size:26px; font-weight:600; color:var(--ink)}
.tvqit .v small{font-size:13px; color:var(--ink-3); font-weight:400}
.tvqit .b{height:5px; margin-top:8px; background:var(--line)}
.tvqit .b i{display:block; height:5px; background:var(--accent)}
.tvqit p{margin:8px 0 0; color:var(--ink-2); font-family:var(--f-body); font-size:12.5px; line-height:1.45}
.tvqic{grid-column:1; grid-row:3; overflow:hidden}
.tvqich{flex:none; display:flex; align-items:baseline; gap:14px; flex-wrap:wrap; padding:12px 16px 0}
.tvqich h2{margin:0; font-size:17px; font-weight:600; color:var(--ink)}
.tvqich b{font-size:20px; font-weight:600; color:var(--ink)}
.tvqich .tvmut{font-size:11px}
.tvqich em{margin-left:auto; font-style:normal; font-size:11px; color:var(--accent)}
.tvqilg{flex:none; display:flex; gap:14px; flex-wrap:wrap; padding:8px 16px; font-size:11px; color:var(--ink-2); white-space:nowrap}
.tvqilg:empty{display:none}
.tvqilg i{display:inline-block; width:14px; vertical-align:middle; margin-right:6px}
.tvqilg i.h{height:2px; background:var(--ink)} .tvqilg i.z{height:10px; background:rgba(255,138,0,.42)} .tvqilg i.s{height:1px; background:rgba(245,245,239,.5)}
.tvqilg i.g{height:10px; background:linear-gradient(90deg,#3DD598 50%,#FF7A62 50%); opacity:.6} .tvqilg i.m{height:0; border-top:1px dashed #FFC24D}
.tvqisvg{flex:1; min-height:0; position:relative; margin:0 8px}
.tvqisvg svg{position:absolute; inset:0; display:block}
.tvqisvg svg path{stroke-width:1}
.tvqisvg text{font-family:var(--f-mono); font-size:11px}
.tvqisvg text.ax{fill:var(--ink-3)} .tvqisvg text.nw{fill:var(--accent)} .tvqisvg text.mk{fill:#FFC24D}
/* Animation du cône (nouveau résultat) : historique tracé, scénarios un à un, zones 50 → 80 → 95 %, bougies fantômes, puis repères. */
@media (prefers-reduced-motion:no-preference){
.tvqisvg svg.qan .qh path,.tvqisvg svg.qan .qs path{stroke-dasharray:1; stroke-dashoffset:1; animation:qaDraw .9s cubic-bezier(.4,0,.2,1) forwards}
.tvqisvg svg.qan .qs path{animation-duration:.45s; animation-delay:calc(1s + var(--i)*70ms)}
.tvqisvg svg.qan .qn{opacity:0; animation:qaIn .2s ease-out .85s forwards}
.tvqisvg svg.qan .qn circle{transform-box:fill-box; transform-origin:center; animation:qaPop .4s cubic-bezier(.3,1.6,.5,1) .85s both}
.tvqisvg svg.qan .qz rect{transform-box:fill-box; transform-origin:left; transform:scaleX(0); animation:qaGrow .6s cubic-bezier(.4,0,.2,1) forwards}
.tvqisvg svg.qan .qz.z50 rect{animation-delay:3.4s} .tvqisvg svg.qan .qz.z80 rect{animation-delay:3.85s} .tvqisvg svg.qan .qz.z95 rect{animation-delay:4.3s}
.tvqisvg svg.qan .qg>g{opacity:0; animation:qaIn .18s ease-out forwards; animation-delay:calc(5s + var(--i)*70ms)}
.tvqisvg svg.qan .qm{opacity:0; animation:qaIn .4s ease-out 5.9s forwards}
#qsL.qan .tvqsr{opacity:0; animation:qaIn .25s ease-out forwards; animation-delay:calc(var(--i)*45ms)}
#qsL.qan .vb em{transform-origin:left; transform:scaleX(0); animation:qaGrow .7s cubic-bezier(.2,.7,.2,1) forwards; animation-delay:calc(200ms + var(--i)*45ms)}
#qsS.qan .tvqit{opacity:0; animation:qaIn .3s ease-out forwards; animation-delay:calc(var(--i)*90ms)}
}
@keyframes qaIn{to{opacity:1}} @keyframes qaGrow{to{transform:scaleX(1)}} @keyframes qaDraw{to{stroke-dashoffset:0}} @keyframes qaPop{from{transform:scale(0)}to{transform:scale(1)}}
.tvqie{position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; padding:24px; text-align:center}
.tvqie b{font-size:14px; color:var(--ink); font-weight:600}
.tvqie p{margin:0; max-width:520px; color:var(--ink-2); line-height:1.55}
.tvqie p.err,.tvqierr{color:var(--down)}
.tvqitb{flex:none; width:100%; border-collapse:collapse; border-top:1px solid var(--line); font-size:12px}
.tvqitb th{padding:7px 16px; font-weight:500; font-size:11px; letter-spacing:.04em; text-transform:uppercase; color:var(--ink-3); text-align:right}
.tvqitb td{padding:6px 16px; text-align:right; border-top:1px solid #1A1A1A; color:var(--ink)}
.tvqitb th:first-child,.tvqitb td:first-child{text-align:left; color:var(--ink-2)}
.tvqitb td.m{color:var(--ink-3)} .tvqitb td.a{color:var(--accent); font-weight:600}
.tvqif2{grid-column:1; grid-row:2; flex-direction:row; flex-wrap:wrap; align-items:flex-end; padding:12px 16px}
.tvqif2 label{display:flex; flex-direction:column; gap:6px; min-width:0}
.tvqif2 label>span:first-child{font-size:11px; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-3)}
.tvqif2 label.a{flex:2 1 0} .tvqif2 label.a>span:first-child{color:var(--accent)}
.tvqif2 label.h{flex:1 1 0}
.tvqif2 .in{display:flex; align-items:center; gap:8px; height:38px; padding:0 10px; background:var(--bg); border:1px solid var(--accent)}
.tvqif2 .in b{color:var(--accent); font-weight:400}
.tvqif2 .in input{flex:1; min-width:0; background:transparent; border:0; outline:none; color:var(--ink); font:inherit; text-transform:uppercase}
.tvqif2 .in em{font-style:normal; color:var(--ink-3); white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.tvqif2 select{height:38px; padding:0 10px; background:var(--bg); border:1px solid var(--line); border-left:0; border-radius:0; color:var(--ink); font-family:var(--f-mono); font-size:12px}
.tvqif2 .tvbtn{height:38px; border-radius:0; font-weight:700; letter-spacing:.06em}
.tvqif2 .tvbtn[disabled]{opacity:.55; cursor:progress}
.tvqierr{flex:1 0 100%; margin:8px 0 0; font-size:12px}
.tvqis{grid-column:2; grid-row:2/4; display:flex; flex-direction:column; gap:12px; min-height:0}
.tvqim{flex:none}
.tvqim .sec{padding:11px 16px; border-bottom:1px solid var(--line)} .tvqim .sec:last-child{border-bottom:0}
.tvqim .l,.tvqir .l{font-size:11px; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-3)}
.tvqim .row{display:flex; align-items:baseline; gap:10px; margin-top:5px; color:var(--ink-2); font-family:var(--f-body); font-size:12.5px; line-height:1.4}
.tvqim .row b{flex:none; font-family:var(--f-mono); font-size:20px; font-weight:600; color:var(--ink)}
.tvqim .row b.y{color:#FFC24D} .tvqim .row b.up{color:var(--up)} .tvqim .row b.dn{color:var(--down)}
.tvqim .row.z{gap:12px}
.tvqim .vm{margin-top:4px; font-size:11.5px; color:var(--ink-2)} .tvqim .vm.calm{color:#3CC7BF} .tvqim .vm.hot{color:#FFC24D}
.tvqir{flex:1; min-height:0; overflow-y:auto; padding:12px 16px; scrollbar-width:thin}
.tvqir .l{color:var(--accent)}
.tvqir p{margin:8px 0 0; color:var(--ink); font-family:var(--f-body); font-size:13px; line-height:1.55}
.tvqir p.tvmut{color:var(--ink-2)}
.tvqir .f{margin-top:10px; font-size:11px; color:var(--ink-3)}
.tvqir p.tvqitrk{color:var(--ink-2); font-size:12px; border-left:2px solid var(--accent); padding-left:8px}
.tvqir p.tvqitrk a{color:var(--accent); white-space:nowrap}
.tvqiag{flex:none; height:42px; border-color:var(--accent); color:var(--accent); font-weight:700; letter-spacing:.06em}
.tvqiag:hover{background:var(--accent-soft)}
.tvqiag[disabled]{opacity:.55; cursor:progress}
.tvqihi{grid-column:1; min-height:0}
.tvqihi .tvbh{gap:14px}
.tvqhr{display:grid; grid-template-columns:110px 70px 70px minmax(0,1.6fr) minmax(0,1fr) minmax(0,1.4fr) 80px 76px; gap:12px; align-items:center; padding:9px 16px; border-top:1px solid #1A1A1A; font-size:12px}
.tvqhr.hd{flex:none; color:var(--ink-3); font-size:11px; letter-spacing:.04em; text-transform:uppercase; border-top:1px solid var(--line)}
.tvqhr .n{text-align:right}
.tvqhn{margin:0; padding:10px 16px 12px; font-size:11px; line-height:1.5}
.tvqhr b{font-weight:600; color:var(--ink)}
.tvqhr.sc b{color:var(--accent); font-weight:500}
.tvqhr .up{color:var(--up); font-weight:600} .tvqhr .dn{color:var(--down); font-weight:600} .tvqhr .w{color:var(--ink-3)}
.tvqiem{margin:0; padding:24px 16px; color:var(--ink-3)}
.tvpfr{grid-template-columns:minmax(0,1.9fr) repeat(6,minmax(0,1fr)) 76px 110px 70px}
.tvpfr .as{display:flex; align-items:center; gap:8px; min-width:0}
.tvpfr .as .logo{flex:none; width:20px; height:20px; font-size:8px}
.tvpfr .as>.mut{white-space:nowrap; overflow:hidden; text-overflow:ellipsis; min-width:0}
.tvpfr .cat{font-size:10px; letter-spacing:.05em; color:var(--ink-2)}
.tvpfr>.cat{justify-self:start; margin-left:16px; border:1px solid var(--line); padding:1px 6px}
.tvpfr.hd>span:nth-child(8){padding-left:16px}
.tvpfr .w{display:flex; align-items:center; justify-content:flex-end; gap:6px}
.tvpfr .w>i{width:40px; height:4px; background:#1A1A1A; display:block}
.tvpfr .w>i>i{display:block; height:4px; background:var(--accent)}
.tvpfr .w>i{flex:none}
.tvpfr .w{font-variant-numeric:tabular-nums}
.tvpfr .w>span.wp{display:inline-block; min-width:46px; text-align:right}
.tvpfr .tag{font-size:10px}
#tvPfHi .hist{margin:10px 14px; border:0}
#tvPfHi summary{cursor:pointer; color:var(--ink-3); font-family:var(--f-mono); font-size:12px; text-transform:uppercase; letter-spacing:.04em}
#tvPfL .tvempty .pfcta{margin:20px auto; max-width:420px}
/* Fenêtre des sources (fenêtre « Ajouter » du portefeuille) */
html.tv2 #aaOv[data-tvm] #aaBody>[data-tvs]{display:none!important}
html.tv2 #aaOv[data-tvm="tx"] #aaBody>[data-tvs="tx"]:not([hidden]),html.tv2 #aaOv[data-tvm="src"] #aaBody>[data-tvs="src"]:not([hidden]),html.tv2 #aaOv[data-tvm="wal"] #aaBody>[data-tvs="wal"]:not([hidden]),html.tv2 #aaOv[data-tvm="plat"] #aaBody>[data-tvs="plat"]:not([hidden]),html.tv2 #aaOv[data-tvm="wal"] #aaBody>[data-tvs="back"]:not([hidden]),html.tv2 #aaOv[data-tvm="plat"] #aaBody>[data-tvs="back"]:not([hidden]){display:revert!important}
html.tv2 #aaOv[data-tvm="wal"] #adForm,html.tv2 #aaOv[data-tvm="plat"] #ptForm:not([hidden]),html.tv2 #aaOv[data-tvm="tx"] #addForm{display:flex!important}
html.tv2 #aaOv[data-tvm="src"] #aaBody>.tvsrc{display:flex!important}
html.tv2 #aaOv[data-tvm] .aadlg{width:min(680px,94vw); max-width:none; background-color:#0A0A0A; background-image:radial-gradient(#1F1F1F 1px,transparent 1px); background-size:24px 24px; border:1px solid var(--line); border-radius:4px; box-shadow:inset 0 2px 0 var(--accent)}
html.tv2 #aaOv[data-tvm] #aaTitle{font-family:var(--f-mono); font-size:20px}
.tvsrc{flex-direction:column; gap:8px; font-family:var(--f-mono); font-size:12px}
.tvsrc .tvsh{display:flex; justify-content:space-between; margin:8px 0 0; color:var(--ink-3); letter-spacing:.06em; text-transform:uppercase}
.tvsrc .tvsh small{letter-spacing:0; text-transform:none; font-size:12px}
.tvsrow{display:grid; grid-template-columns:minmax(0,1fr) auto auto 26px; gap:14px; align-items:center; padding:10px 12px; border:1px solid var(--line); background:#0F0F0F}
.tvsrow>span:first-child{display:flex; flex-direction:column; gap:3px; min-width:0}
.tvsrow small{color:var(--ink-3); white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.tvsrow .v{color:var(--ink-2)}
.tvsrow .st.up{color:var(--up)} .tvsrow .st.down{color:var(--down)} .tvsrow .st.mut{color:var(--ink-3)}
.tvsrow .tvlnk{grid-column:3/-1; justify-self:end}
.tvsrow.man{grid-template-columns:minmax(0,1fr) auto}
html.tv2 #aaOv[data-tvm="tx"] #addForm{flex-wrap:wrap}
html.tv2 #aaOv[data-tvm="tx"] #addForm select,html.tv2 #aaOv[data-tvm="tx"] #addForm input{flex:1 1 200px; min-width:0}
.tvcards{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px}
.tvcard{display:flex; flex-direction:column; align-items:flex-start; gap:8px; padding:12px; border:1px solid var(--line); background:#0F0F0F}
.tvcard small{color:var(--ink-3)}
.tvro{margin:6px 0 0; padding:10px; border:1px dashed var(--line); color:var(--ink-3); line-height:1.5; font-family:var(--f-mono); font-size:12px}
.tvcsvmsg{margin:4px 0 0; color:var(--accent)}
.tvsrcbk{background:transparent; border:0; padding:0 0 10px; color:var(--accent); font-family:var(--f-mono); font-size:12px; cursor:pointer}
/* News & Social */
html.tv2 .tvnw{grid-template-columns:minmax(0,1fr) 440px; gap:0; border:1px solid var(--line)}
/* Social en cartes (Paul, 2026-11-09) : cartes par post sur X, Telegram, Truth Social, WH & Fed ; cartes par sujet sur « Tout ». */
html.tv2 .tvnw.socv{grid-template-columns:minmax(0,1fr)}
html.tv2 .tvnw.socv .tvtl{border-right:0}
html.tv2 .tvnw.socv #tvNwPv,html.tv2 .tvnw.socv #tvNwHd{display:none}
.scg{display:flex; gap:12px; align-items:flex-start; padding:12px}
.scc{flex:1 1 0; min-width:0; display:flex; flex-direction:column; gap:12px}
.scd{position:relative; display:flex; flex-direction:column; gap:11px; padding:14px; background:var(--surface); border:1px solid var(--line); font-family:var(--f-mono); font-size:12px}
.scd.big{border-color:#5A3A10; box-shadow:inset 2px 0 0 var(--accent)}
.scd.isnew{padding-top:24px}
.scd .scnew{position:absolute; top:-1px; left:-1px; background:var(--accent); color:#0A0A0A; font-size:9px; font-weight:700; letter-spacing:.06em; padding:2px 6px}
.scwho{display:flex; align-items:center; gap:9px; min-width:0}
.scav{width:30px; height:30px; flex:none; display:grid; place-items:center; font-weight:700; font-size:11px; background:#1F2A3A; color:#9CC3FF}
.scav.x{background:#14251C; color:var(--up)} .scav.tg{background:#10283A; color:#5CB8F0} .scav.ts{background:#2A1430; color:#E566A5} .scav.wh,.scav.fed{background:#2A2414; color:#F0B03A}
.scwho .scn{display:flex; flex-direction:column; min-width:0; flex:1} .scwho .scn b{font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis} .scwho .scn span{color:var(--ink-3); font-size:10.5px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.scty{font-style:normal; font-size:9.5px; padding:1px 5px; border:1px solid var(--line); color:var(--ink-2); flex:none}
.sctm{color:var(--ink-3); font-size:10.5px; text-align:right; white-space:nowrap; line-height:1.4}
.sctx{margin:0; font-family:var(--f-body); font-size:14px; line-height:1.5; color:var(--ink); white-space:pre-line; overflow-wrap:anywhere}
.scd.big .sctx{font-size:17px; line-height:1.42; font-weight:500}
.scch{display:flex; flex-wrap:wrap; gap:6px}
.scch .chipt{font-size:11px; padding:3px 7px}
.scmeta{display:flex; align-items:center; flex-wrap:wrap; gap:10px; border-top:1px solid #1E1E1E; padding-top:10px}
.scmeta .bars{display:flex; gap:2px} .scmeta .bars i{width:7px; height:7px; background:#2A2A2A} .scmeta .bars i.on{background:var(--accent)}
.sctone{font-size:10.5px; padding:1px 6px; color:var(--ink-3); background:#1A1A1A} .sctone.bear{color:var(--down); background:rgba(255,122,98,.1)} .sctone.bull{color:var(--up); background:rgba(61,213,152,.1)}
.scrx{display:flex; gap:9px; margin-left:auto; font-size:10px; color:var(--ink-3); white-space:nowrap} .scrx b{font-weight:500; margin-left:3px}
.scact{display:flex; flex-wrap:wrap; gap:6px}
.scact .tvbtn{padding:4px 9px; font-size:10.5px; min-height:0}
.sctop h3{margin:0; font-family:var(--f-body); font-size:17px; font-weight:600; line-height:1.35}
.sctl{display:flex; align-items:center; gap:10px; color:var(--ink-3); font-size:10.5px} .sctl .sp{flex:1}
.scmv{display:grid; grid-template-columns:auto minmax(0,1fr); gap:14px; align-items:center}
.scmv>div b{display:block; font-size:20px; font-weight:600} .scmv>div span{color:var(--ink-3); font-size:10.5px}
.scsv{position:relative; height:54px; min-width:0} .scsv svg{position:absolute; inset:0; width:100%; height:100%; display:block}
.scsv i{position:absolute; width:8px; height:8px; margin:-4px 0 0 -4px; border-radius:50%; background:var(--accent); box-shadow:0 0 0 1.5px var(--surface)}
.scai{margin:0; background:#0F0F0F; border-left:2px solid var(--accent); padding:9px 11px; font-family:var(--f-body); font-size:12.5px; color:var(--ink-2); line-height:1.5}
.scai small{display:block; font-family:var(--f-mono); color:var(--accent); font-size:10px; letter-spacing:.05em; margin-bottom:3px; text-transform:uppercase}
.scps{display:flex; flex-direction:column; border-top:1px solid #1E1E1E}
.scps button{display:grid; grid-template-columns:40px 46px minmax(0,1fr); gap:8px; align-items:baseline; padding:7px 0; border:0; border-bottom:1px solid #1A1A1A; background:transparent; color:inherit; text-align:left; font:inherit; cursor:pointer}
.scps button:hover span{color:var(--ink)}
.scps time{color:var(--ink-3); font-size:10.5px} .scps i{font-style:normal; font-size:9px; color:var(--ink-3); border:1px solid var(--line); text-align:center}
.scps span{font-family:var(--f-body); font-size:12.5px; color:var(--ink-2); white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.scmore{align-self:flex-start; background:transparent; border:0; padding:0; color:var(--accent); font-family:var(--f-mono); font-size:10.5px; cursor:pointer}
.tvtl{display:flex; flex-direction:column; min-height:0; border-right:1px solid var(--line)}
.tvnwr{grid-template-columns:44px minmax(0,1fr) 96px}
.tvnwr time{color:var(--ink-3)}
.tvnwr .tx{display:flex; flex-direction:column; gap:3px; min-width:0}
.tvnwr .src{display:flex; align-items:center; gap:6px; color:var(--ink-3); font-size:11px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.tvnwr .src b{color:var(--ink); font-weight:500}
.tvnwr .ty{font-style:normal; font-size:9.5px; padding:1px 5px; border:1px solid var(--line); color:var(--ink-2); flex:none}
.tvnwr .h{font-size:12.5px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.tvnwr .im{display:flex; flex-direction:column; align-items:flex-end; gap:4px}
.tvnwr .bars{display:flex; gap:2px}
.tvnwr .bars i{width:7px; height:7px; background:#2A2A2A}
.tvnwr .bars i.on{background:var(--accent)}
.tvnwr .tone{font-size:10.5px; color:var(--ink-2)}
.tvnwr .tone.bull{color:var(--up)} .tvnwr .tone.bear{color:var(--down)}
.tvnwr[aria-current="true"]{background:#1A1206; box-shadow:inset 2px 0 0 var(--accent)}
.tvft{flex:none; padding:9px 14px; border-top:1px solid #1A1A1A; color:var(--ink-3); text-align:right}
.tvpv{display:flex; flex-direction:column; gap:14px; padding:0 20px 18px; background:#0F0F0F; overflow-y:auto; min-height:0}
.tvpv .tvbh{padding:14px 0 0; border:0}
.tvpv .pvh{margin:0; font-size:18px; line-height:1.4; font-weight:600}
.tvpv .pvt{margin:0; color:var(--ink-2); line-height:1.65; white-space:pre-line}
.pvalso{margin:-4px 0 0; font-size:12px}
.pvai{display:flex; flex-direction:column; gap:6px} .pvai ul{margin:0; padding-left:18px; list-style:disc; display:grid; gap:4px; color:var(--ink-2); line-height:1.5} .pvai small{color:var(--ink-2); font-size:11px; opacity:.75}
.tvpv .chips{display:flex; flex-wrap:wrap; gap:6px}
.chipt{font-family:var(--f-mono); font-size:12px; padding:3px 8px; border:1px solid var(--line); background:transparent; color:var(--ink)}
button.chipt{cursor:pointer}
button.chipt:hover{border-color:var(--accent)}
.chipt.bull{color:var(--up)} .chipt.bear{color:var(--down)} .chipt.neu{color:var(--ink-2)}
.tvreact{border:1px solid var(--line); background:#0A0A0A}
.tvreact p{margin:0; padding:8px 12px; border-bottom:1px solid #1A1A1A; color:var(--ink-3); text-transform:uppercase; letter-spacing:.04em}
.tvreact>div{display:grid; grid-template-columns:repeat(3,minmax(0,1fr))}
.tvreact span{display:flex; flex-direction:column; gap:4px; padding:10px 12px}
.tvreact span+span{border-left:1px solid #1A1A1A}
.tvreact small{color:var(--ink-3)}
.tvreact b{font-size:16px; font-weight:500}
.tvpv .pva{margin-top:auto; display:flex; gap:8px}
.tvpv .pva>*{flex:1}
.tvpv .pvn{margin:0; color:var(--ink-3); font-size:11px; line-height:1.5}
.tvnwnav{display:flex; flex-direction:column; gap:2px; flex:1}
/* Page News : sélecteur Live wire / Stories, classes d'actifs, top stories, vue Stories */
.tvnw>[hidden],.nwmv[hidden]{display:none!important}
html.tv2 .tvsubnav .nwvw{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); margin:0 0 14px}
html.tv2 .tvsubnav .nwvw button{justify-content:center; padding:8px 0; border:1px solid var(--line); font-size:11px; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-2)}
html.tv2 .tvsubnav .nwvw button+button{border-left:0}
html.tv2 .tvsubnav .nwvw button[aria-pressed="true"]{background:var(--accent); border-color:var(--accent); color:var(--accent-ink); font-weight:600; box-shadow:none}
html.tv2 .tvsubnav .nwn{color:var(--ink-3); font-size:11px; font-weight:400}
html.tv2 .tvsubnav .nwmy{margin-top:14px; flex:none}
html.tv2 .tvsubnav .nwmy button{font-size:12px}
.tvnw.nwx .tvnwr{grid-template-columns:44px minmax(0,1fr) 150px 96px}
.tvnw.nwx .tvnwr .ty{text-transform:uppercase}
.tvnw.nwx .tvq{flex:1 1 140px; min-width:120px}
.tvnw.nwx .tvq input{width:100%}
.tvnw.nwx .tvnwr .as{display:flex; flex-wrap:wrap; gap:4px; min-width:0}
.nwas{border:1px solid var(--line); padding:1px 5px; font-size:10.5px; white-space:nowrap}
.nwsrc{border:0; background:transparent; padding:0; color:var(--accent); font:inherit; font-size:11px; cursor:pointer}
.nwsrc:hover{text-decoration:underline}
.nwmv{display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border-bottom:1px solid var(--line); flex:none}
.nwmvc{display:flex; flex-direction:column; gap:6px; padding:12px 14px; color:var(--ink); text-decoration:none; transition:background .18s ease, box-shadow .18s ease}
.nwmvc+.nwmvc{border-left:1px solid #1A1A1A}
.nwmvc:hover,.nwmvc:focus-visible{background:#15100A; box-shadow:inset 0 -2px 0 var(--accent); outline:0}
.nwmvt{display:flex; justify-content:space-between; gap:8px; color:var(--ink-3); font-size:11px; text-transform:uppercase}
.nwmvt>span{white-space:nowrap} .nwmvt>span:first-child{min-width:0; overflow:hidden; text-overflow:ellipsis} .nwmvt>span+span{flex:none}
.nwmvh{font-family:var(--f-body); font-size:13px; line-height:1.35; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; transition:color .18s ease}
.nwmvc:hover .nwmvh{color:#FFB050}
.nwmvg{margin-top:auto; color:var(--accent); font-size:11px; opacity:.75; transition:opacity .18s ease}
.nwmvg .arr{display:inline-block; transition:transform .18s ease}
.nwmvc:hover .nwmvg{opacity:1} .nwmvc:hover .nwmvg .arr{transform:translateX(4px)}
.tvseg .nwbu[aria-pressed="false"]{color:var(--up)} .tvseg .nwbe[aria-pressed="false"]{color:var(--down)}
.nwbar,.nwre i{display:block; height:3px; background:#1A1A1A; margin-top:4px}
.nwbar>i,.nwre i>i{display:block; height:3px; margin:0; background:var(--ink-3)}
.nwbar.up>i,.nwre i.up>i{background:var(--up)} .nwbar.down>i,.nwre i.down>i{background:var(--down)}
.nwcov{display:flex; flex-direction:column}
.nwcov p{margin:0 0 4px; font-size:11px; text-transform:uppercase; letter-spacing:.04em}
.nwcov>span{display:flex; justify-content:space-between; padding:6px 0; border-bottom:1px solid #1A1A1A; color:var(--ink-2)}
.nwcov .tvlnk{align-self:flex-start; margin-top:8px; border:0; background:transparent; padding:0; color:var(--accent); font:inherit; cursor:pointer}
html.tv2 .tvnw.nwsv{grid-template-columns:minmax(0,1fr)}
.nwst{display:flex; flex-direction:column; min-height:0}
.nwsth{flex:none; border-bottom:1px solid var(--line)}
.nwstg{flex:1; min-height:0; display:grid; grid-template-columns:minmax(260px,360px) minmax(0,1fr) minmax(240px,340px)}
.nwstl,.nwstm,.nwsta{min-height:0; overflow-y:auto}
.nwstl{border-right:1px solid var(--line); display:flex; flex-direction:column}
.nwsti{display:flex; flex-direction:column; gap:6px; flex:none; text-align:left; padding:12px 16px; border:0; border-bottom:1px solid #161616; background:transparent; color:var(--ink); font:inherit; cursor:pointer}
.nwsti:hover{background:#141414}
.nwsti[aria-current="true"]{background:#1A1206; box-shadow:inset 2px 0 0 var(--accent)}
.nwstm1{display:flex; justify-content:space-between; gap:8px; color:var(--ink-3); font-size:11px}
.nwstm1 b{color:var(--accent); font-weight:600}
.nwsth2{font-family:var(--f-body); font-size:14px; line-height:1.35; font-weight:500}
.nwsti .im{display:flex; align-items:center; gap:8px}
.nwsti .bars{display:flex; gap:2px} .nwsti .bars i{width:7px; height:7px; background:#2A2A2A} .nwsti .bars i.on{background:var(--accent)}
.nwst .tone{font-size:10.5px; color:var(--ink-2)} .nwst .tone.bull{color:var(--up)} .nwst .tone.bear{color:var(--down)}
.nwstm{padding:20px 24px; display:flex; flex-direction:column; gap:16px; border-right:1px solid var(--line)}
.nwstk{margin:0; font-size:11px; text-transform:uppercase} .nwstk b{color:var(--accent)}
.nwstt{margin:0; font-family:var(--f-body); font-size:24px; line-height:1.25; font-weight:600}
.nwstm .pvt{margin:0; color:var(--ink-2); line-height:1.65}
.nwtl{display:flex; flex-direction:column}
.nwtl>p{margin:0 0 6px; font-size:11px; text-transform:uppercase; letter-spacing:.04em}
.nwtlr{display:grid; grid-template-columns:44px 10px minmax(0,1fr) 70px 16px; gap:0 10px; align-items:start; padding:9px 0; border-bottom:1px solid #161616}
.nwtlr time{color:var(--ink-3)}
.nwtlr .dot{display:block; width:8px; height:8px; margin-top:4px; background:var(--ink-3)} .nwtlr .dot.bull{background:var(--up)} .nwtlr .dot.bear{background:var(--down)}
.nwtlb{display:flex; flex-direction:column; gap:2px; text-align:left; border:0; background:transparent; padding:0; color:var(--ink); font:inherit; cursor:pointer; min-width:0}
.nwtlb span:last-child{font-size:12.5px; line-height:1.4; transition:color .18s ease}
.nwtlb:hover span:last-child{color:#FFB050}
.nwtlr .tone{text-align:right}
.nwext{color:var(--ink-3); text-decoration:none} .nwext:hover{color:var(--accent)}
.nwsta{background:#0F0F0F; padding:18px 20px; display:flex; flex-direction:column; gap:14px}
.nwsth3{margin:0; color:var(--accent); font-size:11px; font-weight:600; letter-spacing:.06em; text-transform:uppercase}
.nwhit{display:flex; flex-direction:column; gap:6px; padding-bottom:12px; border-bottom:1px solid #1A1A1A}
.nwhit>div:first-child{display:flex; justify-content:space-between; align-items:baseline; font-size:14px}
.nwre{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px}
.nwre>span{display:flex; flex-direction:column; gap:2px} .nwre small{color:var(--ink-3); font-size:10px} .nwre b{font-weight:500}
.nwpf{border:1px solid var(--line); padding:12px; display:flex; flex-direction:column; gap:6px; color:var(--ink-2); line-height:1.5}
.nwpf p{margin:0; font-size:11px; text-transform:uppercase; letter-spacing:.04em}
/* Stories de Social : réseaux, avatar dans la chronologie, comptes les plus actifs */
.scnets{display:flex; gap:4px} .scnet{font-style:normal; font-size:9.5px; padding:0 4px; letter-spacing:.04em; background:#1F2A3A; color:#9CC3FF; flex:none}
.scnet.x{background:#14251C; color:var(--up)} .scnet.tg{background:#10283A; color:#5CB8F0} .scnet.truth{background:#2A1430; color:#E566A5} .scnet.wh,.scnet.fed{background:#2A2414; color:#F0B03A}
.nwtlr.sctlr{grid-template-columns:44px 10px 30px minmax(0,1fr) 70px 16px}
.sctlr .nwtlb span:last-child{font-family:var(--f-body); font-size:13px; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden}
.scwh{display:flex; gap:6px; align-items:center; font-size:11.5px; color:var(--ink-2); min-width:0} .scwh b{color:var(--ink); font-weight:500}
.scsplit{display:flex; flex-wrap:wrap; gap:14px; font-size:11.5px; color:var(--ink-2)} .scsplit>span{display:flex; gap:6px; align-items:center}
.scstl{margin:0; color:var(--accent); font-size:11px; letter-spacing:.06em; text-transform:uppercase}
.scsmv{border:1px solid var(--line); padding:14px 16px} .scsmv .scsv{height:140px}
.scacc>span{display:flex; justify-content:space-between; gap:8px}
.tvms{margin-top:auto; display:flex; flex-direction:column; border-top:1px solid #1A1A1A; padding-top:14px; font-family:var(--f-mono); font-size:12.5px}
.tvms p{margin:0; padding:4px 10px 8px; color:var(--ink-3); letter-spacing:.06em; text-transform:uppercase; font-size:12px}
.tvms>span{display:flex; justify-content:space-between; padding:8px 10px; color:var(--ink-2)}
.tvms .tvlnk{margin:6px 10px 0}
html.tv2 .tvsubnav .tvms .tvlnk{display:block; width:auto; padding:0; background:transparent; color:var(--accent); font-size:12px}
/* Gérer les sources */
.tvmsov .tvdlg{width:min(820px,94vw); max-width:none; background-color:#0A0A0A; background-image:radial-gradient(#1F1F1F 1px,transparent 1px); background-size:24px 24px; border:1px solid var(--line); border-radius:4px; box-shadow:inset 0 2px 0 var(--accent); font-family:var(--f-mono); font-size:12px}
.tvmsov h2{margin:0; font-family:var(--f-mono); font-size:22px}
.tvmsg2{display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:14px}
.tvmsc{display:flex; flex-direction:column; gap:8px; padding:14px; border:1px solid var(--line); background:#0F0F0F; min-width:0}
.tvmsc .hd{display:flex; justify-content:space-between; align-items:baseline}
.tvmsc .hd b{font-size:14px}
.tvmsc .q{display:block; height:4px; background:#1A1A1A}
.tvmsc .q i{display:block; height:4px; background:var(--accent)}
.tvmsc form{display:flex; margin:4px 0 0}
.tvmsc input{flex:1; min-width:0; height:36px; padding:0 12px; background:#0A0A0A; border:1px solid var(--line); color:var(--ink); font-family:var(--f-mono); font-size:12px}
.tvmsc input:focus{outline:none; border-color:var(--accent)}
.tvmsc form button{font-family:var(--f-mono); font-size:12px; font-weight:600; cursor:pointer; background:transparent; border:1px solid var(--line); border-left:0; color:var(--accent); padding:0 14px}
.tvmsc .err{margin:0; color:var(--down); min-height:0}
.tvmsc .err:empty{display:none}
.tvmsc .mut{color:var(--ink-3); margin:0}
.tvmsr{display:grid; grid-template-columns:minmax(0,1fr) auto auto auto; gap:6px; align-items:center; padding:8px 0; border-bottom:1px solid #1A1A1A}
.tvmsr>span{display:flex; align-items:center; gap:8px; min-width:0}
.tvmsr b{font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.tvmsr i{font-style:normal; font-size:9px; padding:1px 5px; border:1px solid var(--accent); color:var(--accent)}
.tvmsr.m b{color:var(--ink-3)}
.tvmsr small{color:var(--ink-3)}
.tvmsov .tvro{margin-top:12px}
/* Tracker */
html.tv2 .tvwh{grid-template-columns:minmax(0,1fr) 420px; gap:0; border:1px solid var(--line); position:relative}
html.tv2 .tvwh.prof{grid-template-columns:minmax(0,1fr); border:0}
.tvwcl,.tvwcr{display:flex; flex-direction:column; min-height:0}
.tvwcl{border-right:1px solid var(--line)}
.tvwcl .tvbh,.tvwcr .tvbh{border:0}
.tvwcards{display:grid; grid-template-columns:repeat(auto-fill,minmax(270px,1fr)); gap:12px; padding:0 14px 14px; align-content:start}
.tvwcard{background:#121212; border:1px solid var(--line); padding:14px; display:flex; flex-direction:column; gap:10px; cursor:pointer; text-align:left; font:inherit; color:inherit; min-width:0}
.tvwcard:hover,.tvwcard:focus-visible{border-color:var(--accent); outline:none}
.tvwcard .a{display:flex; align-items:center; gap:8px; min-width:0}
.tvwcard .a b{flex:1; font-size:14px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.tvwcard .tag,.tvwph .tag{font-size:10px; border:1px solid var(--line); color:var(--ink-2); padding:2px 6px; white-space:nowrap}
.tvwcard .b{display:flex; justify-content:space-between; gap:8px; color:var(--ink-3)}
.tvwcard .sp svg{display:block; width:100%; height:36px}
.tvwcard .kp,.tvwpk{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px}
.tvwcard .kp>div,.tvwpk>div{background:#1A1A1A; padding:6px 8px; display:flex; flex-direction:column; gap:2px; min-width:0}
.tvwcard .kp span,.tvwpk span{color:var(--ink-3); font-size:10px; letter-spacing:.06em; text-transform:uppercase}
.tvwcard .kp b{white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.tvwh .up{color:var(--up)} .tvwh .dn{color:var(--down)}
.tvwcard .al{min-height:23px}
.tvwcard .al span{display:block; font-size:11px; color:#FFB25C; background:#2E1E0A; padding:5px 8px}
.tvwcard .al span.m{color:var(--ink-3); background:#1A1A1A}
.tvwcard.m .a b{color:var(--ink-3)}
.tvwcard .ft{border-top:1px solid var(--line); padding-top:8px; text-align:right}
.tvwcard .ft .tvlnk{text-decoration:none}
.tvwcard.add{border-style:dashed; align-items:center; justify-content:center; min-height:230px; background:transparent; color:var(--ink-3)}
.tvwcard.add .pl{font-size:26px; color:var(--accent)} .tvwcard.add b{color:var(--ink)}
.tvwf{display:flex; flex-direction:column; gap:8px; padding:0 14px 10px; border-bottom:1px solid #1A1A1A}
.tvwf .tvwfs{display:flex; gap:8px} .tvwf .tvsel{flex:1}
.tvwf .tvseg{display:flex} .tvwf .tvseg button{flex:auto; padding:4px 6px; font-size:10.5px; white-space:nowrap}
.tvwev{display:grid; grid-template-columns:48px minmax(0,1fr) auto; gap:4px 10px; padding:9px 14px; border-bottom:1px solid #1A1A1A; cursor:pointer}
.tvwev:hover{background:#121212}
.tvwev time{color:var(--ink-3)}
.tvwev .w{display:flex; gap:8px; align-items:center; min-width:0}
.tvwev .w b{white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.tvwev .v{text-align:right}
.tvwev .el{white-space:nowrap; overflow:hidden; text-overflow:ellipsis; min-width:0}
.tvwev .g{text-align:right}
.tvwev .k,.tvwhh .k{font-style:normal; font-size:10px; padding:2px 6px; border:1px solid var(--line); white-space:nowrap; color:var(--ink-2)}
.tvwev .k.toEx,.tvwhh .k.toEx{color:var(--down); border-color:#4A1E16}
.tvwev .k.fromEx,.tvwhh .k.fromEx{color:var(--up); border-color:#14402C}
.tvwh .tvwg{text-decoration:none; white-space:nowrap}
.tvwh .tvwg:hover,.tvwh .tvwg:focus-visible{text-decoration:underline; text-underline-offset:3px}
.tvwcr .tvwgs{max-height:34%}
.tvwp{grid-column:1/-1; overflow:hidden; min-height:0; display:flex; flex-direction:column; gap:12px}
.tvwp>*{flex:none}
/* Page Profil : la page ne défile pas, seuls les modules défilent (même principe que Hyperflow). */
.tvwp>.tvwbd{flex:1 1 0; min-height:0; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,400px); gap:12px}
.tvwbd>.col{display:flex; flex-direction:column; gap:12px; min-height:0}
.tvwbd .tvwpc{display:flex; flex-direction:column; min-height:0}
.tvwbd .tvwpc>*{flex:none}
.tvwbd .tvwpc>.sc{flex:1 1 0; min-height:0; overflow-y:auto; scrollbar-width:thin; scrollbar-color:#2A2A2A transparent}
.tvwbd .tvwdf{flex:0 1 auto; max-height:46%}
.tvwbd .tvwdf>.tvwdg{flex:1 1 auto; min-height:0}
.tvwbd .tvwdf .tvwdc{overflow-y:auto; min-height:0; scrollbar-width:thin; scrollbar-color:#2A2A2A transparent}
.tvwbd .tvwphi{flex:1 1 0; min-height:160px}
.tvwbd .tvwcps{flex:1 1 0; min-height:120px}
.tvwbd .tvwphi>.tvwhh.hd{border-bottom:1px solid var(--line)}
.tvwbd .tvwhh{grid-template-columns:104px 150px minmax(80px,1fr) 110px 100px 76px 70px 86px}
.tvwbd .tvwdc .tvr{font-size:11px} .tvwbd .tvwdc .tvr>span{white-space:nowrap; overflow:hidden; text-overflow:ellipsis; min-width:0}
.tvwbd .tvwdt{grid-template-columns:78px minmax(0,.8fr) minmax(0,1.4fr) 70px 64px}
@media (max-width:1100px){.tvwbd{grid-template-columns:minmax(0,1fr)} .tvwbd>.col.r{display:none}}
.tvwpb .tvlnk{text-decoration:none}
.tvwph{border:1px solid var(--line); padding:18px; display:flex; gap:20px; align-items:flex-start}
.tvwph .av{width:56px; height:56px; border-radius:50%; border:2px solid var(--accent); background:#2E1E0A; flex:none}
.tvwph .id{flex:1; display:flex; flex-direction:column; gap:8px; min-width:0}
.tvwph .hn{display:flex; flex-direction:row; align-items:center; gap:8px; flex-wrap:wrap}
.tvwph h2{text-align:left}
.tvwph h2{margin:0; font-size:20px; font-family:var(--f-mono)}
.tvwph .tag.m{color:var(--ink-3)}
.tvwph .ad{display:flex; gap:14px; align-items:center; flex-wrap:wrap; color:var(--ink-2); word-break:break-all}
.tvwph .ad .tvlnk{text-decoration:none}
.tvwph .al{color:#FFB25C}
.tvwph .act{display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end}
.tvwpk{grid-template-columns:repeat(6,minmax(0,1fr)); gap:8px}
.tvwpk>div{background:#121212; border:1px solid var(--line); padding:10px 12px}
.tvwpk b{font-size:16px}
.tvwpm{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,480px); gap:12px}
.tvwpc{border:1px solid var(--line); min-width:0}
.tvwpc .tvbh{border-bottom:0}
.tvwfl{padding:0 14px 12px} .tvwfl svg{display:block; width:100%; height:140px}
.tvwfl .ax{display:flex; justify-content:space-between; color:var(--ink-3); font-size:10px; margin-top:4px}
.tvwcp{padding:0 14px 8px}
.tvwcp .r{display:grid; grid-template-columns:12px minmax(0,1fr) auto auto; gap:10px; align-items:center; padding:8px 0; border-top:1px solid #1A1A1A}
.tvwcp i{width:10px; height:10px; border-radius:50%; border:2px solid #86867F; box-sizing:border-box}
.tvwcp i.ex{border-color:#5B9BFF}
.tvwcp .cn{white-space:nowrap; overflow:hidden; text-overflow:ellipsis; text-align:left}
.tvwhh{grid-template-columns:120px 170px minmax(0,1fr) 140px 100px 90px 70px 100px; cursor:pointer}
.tvwhh:not(.hd):hover{background:#121212}
.tvwhh time{color:var(--ink-3)}
.tvwhh .n{text-align:right} .tvwhh .v{font-weight:500} .tvwhh .g{text-align:right}
.tvwhh .el{white-space:nowrap; overflow:hidden; text-overflow:ellipsis; min-width:0}
.tvwhh a{color:var(--ink-2)} .tvwhh a:hover{color:var(--accent)}
.tvwpmo{padding:10px 14px; text-align:center}
.tvwdg{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:0; border-top:1px solid #1A1A1A}
.tvwdc{padding:12px 14px; min-width:0}
.tvwdc+.tvwdc{border-left:1px solid #1A1A1A}
.tvwdc h4{margin:0 0 10px; font-size:11px; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-2); font-weight:600}
.tvwdc .tvempty{padding:4px 0}
.tvwdc .kp{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; margin-bottom:8px}
.tvwdc .kp>div{background:#1A1A1A; padding:6px 8px; display:flex; flex-direction:column; gap:2px}
.tvwdc .kp span{color:var(--ink-3); font-size:10px; letter-spacing:.06em; text-transform:uppercase}
.tvwdc .tvr{padding:7px 0; gap:10px}
.tvwdp{grid-template-columns:minmax(0,1.4fr) minmax(0,.8fr) repeat(4,minmax(0,1fr))}
.tvwdt{grid-template-columns:100px minmax(0,1fr) minmax(0,1.3fr) 90px 80px}
.tvwdc .n{text-align:right}
.tvwdc .sd{font-style:normal; font-size:10px; padding:1px 5px; border:1px solid currentColor; margin-left:4px}
.tvwdc .k{font-style:normal; font-size:10px; padding:2px 6px; border:1px solid var(--line); white-space:nowrap; color:var(--ink-2)}
.tvwdc .k.borrow{color:var(--down); border-color:#4A1E16} .tvwdc .k.lend,.tvwdc .k.yield{color:var(--up); border-color:#14402C} .tvwdc .k.stake,.tvwdc .k.restake{color:#5B9BFF; border-color:#1E3050}
.tvwdc .ex{display:flex; flex-direction:column; gap:4px; margin-top:8px; color:var(--ink-2)}
.tvwdc .ex b{color:var(--ink-3); font-weight:500; text-transform:uppercase; font-size:10px; letter-spacing:.06em; margin-right:6px}
.tvwdtot{display:flex; justify-content:space-between; padding:8px 0 0; border-top:1px solid var(--line); margin-top:2px}
.tvwdn{margin:8px 0 0; color:var(--ink-3); font-size:11px; line-height:1.5} .tvwdn.wr{color:#FFB25C}
.tvwl{display:flex; flex-direction:column; min-height:0; border-right:1px solid var(--line)}
.tvwl .tvbh{border:0}
.tvwl .tvbh .tvbtn{margin-left:auto}
#tvWhForm{padding:4px 0 0}
.tvwmod{position:fixed; inset:0; z-index:85; background:rgba(0,0,0,.62); display:flex; align-items:center; justify-content:center; padding:24px}
.tvwmod[hidden]{display:none}
.tvwmod .bx{width:min(480px,100%); background:#0E0E0E; border:1px solid var(--line); box-shadow:0 20px 60px rgba(0,0,0,.6); padding:0 16px 16px}
.tvwmod .tvbh{padding:14px 0 6px; border:0}
.tvwmod .tvmut{margin:0 0 10px}
html.tv2 #tvWhForm #whForm .btn[type=submit]{background:var(--accent); border-color:var(--accent); color:#0A0A0A; font-weight:600}
html.tv2 #tvWhForm #whForm{display:flex!important; flex-direction:column; gap:6px; margin:0}
html.tv2 #tvWhForm #whForm input{flex:none!important; width:100%; height:36px; padding:0 10px; background:#0A0A0A; border:1px solid var(--line); border-radius:0; color:var(--ink); font-family:var(--f-mono); font-size:12px; flex:none}
html.tv2 #tvWhForm #whForm .btn{border-radius:2px; font-family:var(--f-mono); font-size:12px}
#tvWhG{padding:0 14px 10px}
#tvWhG .tvseg{display:flex}
#tvWhG .tvseg button{flex:1}
.tvwr{display:grid; grid-template-columns:minmax(0,1fr) auto; gap:4px 10px; padding:10px 16px; border-bottom:1px solid #1A1A1A; cursor:pointer}
.tvwr:hover{background:#121212}
.tvwr.on{background:#1A1A1A; box-shadow:inset 2px 0 0 var(--accent)}
.tvwr.m b{color:var(--ink-3)}
.tvwr .a,.tvwr .b{display:flex; justify-content:space-between; gap:8px; min-width:0}
.tvwr .a{grid-column:1} .tvwr .b{grid-column:1}
.tvwr .a b{white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-weight:600}
.tvwr .c{grid-column:2; grid-row:1/span 2; align-self:center}
.tvmv{display:flex; flex-direction:column; min-height:0}
.tvwhr{grid-template-columns:52px 150px minmax(0,1fr) 120px 110px 90px 70px 100px}
.tvwhr .tvwg{text-decoration:none; white-space:nowrap; justify-self:end}
.tvwhr .tvwg:hover,.tvwhr .tvwg:focus-visible{text-decoration:underline; text-underline-offset:3px}
.tvwgs{border-top:1px solid var(--line); max-height:42%; display:flex; flex-direction:column; min-height:0}
.tvwgsl{overflow:auto; min-height:0}
.tvwgr .b span:first-child{white-space:nowrap; flex:none}
.tvwgr .b span:last-child{white-space:nowrap; overflow:hidden; text-overflow:ellipsis; min-width:0}
.tvwhr .g{display:flex; justify-content:flex-end}
.tvwhr .el{white-space:nowrap; overflow:hidden; text-overflow:ellipsis; min-width:0}
.tvwhr .mv{display:flex; align-items:center; gap:8px; min-width:0}
.tvwhr .k{font-style:normal; font-size:10px; padding:2px 6px; border:1px solid var(--line); white-space:nowrap; color:var(--ink-2)}
.tvwhr .k.toEx{color:var(--down); border-color:#4A1E16}
.tvwhr .k.fromEx{color:var(--up); border-color:#14402C}
.tvwhr .v{font-weight:500}
.tvwhr a{color:var(--ink-2)} .tvwhr a:hover{color:var(--accent)}
.tvwh.locked>aside,.tvwh.locked>section{filter:blur(3px); pointer-events:none}
.tvlock{position:absolute; inset:0; display:grid; place-items:center; background:rgba(10,10,10,.55); z-index:2}
.tvlock[hidden]{display:none}
html.tv2 .tvpg.tvlk{position:relative; overflow:hidden!important}
html.tv2 .tvpg.tvlk>:not(.tvlock){filter:blur(3px); pointer-events:none; user-select:none}
.tvlock .tvcta{background:#0F0F0F; border-style:solid; max-width:420px; align-items:center; text-align:center}
.tvnw{position:relative}
.tvnw.locked>section{filter:blur(3px); pointer-events:none}
/* Détail d'un actif */
.tvch2{display:none}
html.tv2 #pgCoin .coinback{display:none}
html.tv2 #pgCoin #pmPanel,html.tv2 #pgCoin #ciPanel,html.tv2 #pgCoin .col2>section:has(#votes){display:none!important}
html.tv2 #pgCoin .col2 .kv:not(#cnPos .kv){gap:4px 12px; font-size:13px}
html.tv2 #pgCoin .col2{gap:10px}
html.tv2 #pgCoin .col2 .panel{padding:12px 14px}
html.tv2 #pgCoin #cnPos .kv dd{margin-bottom:4px}
html.tv2 #pgCoin .col2 .ph{margin-bottom:8px}
html.tv2 .tvcoinh{display:flex; align-items:center; gap:16px; flex-wrap:wrap; padding:12px 0; margin:12px 0; border-bottom:1px solid var(--line); font-family:var(--f-mono)}
.tvcoinh .bc{color:var(--ink-3); background:transparent; border:0; padding:0; font:inherit; cursor:pointer; text-transform:uppercase}
.tvcoinh .bc:hover{color:var(--accent)}
.tvcoinh .s{font-size:18px; font-weight:600}
.tvcoinh .px{font-size:26px; font-weight:500; margin-left:12px}
.tvcoinh .ch{font-size:14px}
.tvcoinh .acts{margin-left:auto; display:flex; gap:8px}
html.tv2 #pgCoin .coingrid{display:grid; grid-template-columns:minmax(0,2fr) minmax(0,1fr); gap:12px; align-items:start}
html.tv2 #pgCoin #slotCoin,html.tv2 #pgCoin .col2{display:flex; flex-direction:column; gap:12px; min-width:0}
html.tv2 #pgCoin .panel,html.tv2 #profile .panel{margin:0!important; border:1px solid var(--line); border-radius:0; background:var(--bg); padding:14px 16px; box-shadow:none}
html.tv2 #pgCoin .ph h2,html.tv2 #profile .ph h2{font-family:var(--f-mono); font-size:12px; letter-spacing:.06em; text-transform:uppercase; color:var(--accent); font-weight:600}
html.tv2 #pgCoin .chead,html.tv2 #pgCoin #chPanel .cstats{display:none}
html.tv2 #pgCoin #chPanel .seg{margin:0 0 6px}
.tvcduo{display:none}
html.tv2 .tvcduo{display:grid; grid-template-columns:1fr 1fr; gap:12px}
html.tv2 .tvcduo>.panel{min-width:0}
.tvcwh .tvr{grid-template-columns:44px minmax(0,1fr) auto; padding:8px 0}
.tvcwh .tvr .tx{display:flex; flex-direction:column; gap:3px; min-width:0}
.tvcwh .tvr small{color:var(--ink-3); font-size:11px}
.tvcwh .tvr span.h{white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.tvcwh time{color:var(--ink-3)}
html.tv2 .tvcwh{order:2}
html.tv2 #pgCoin{font-family:var(--f-mono)}
html.tv2 #cnPos .pos2{display:grid; grid-template-columns:1fr 1fr; gap:4px 16px}
html.tv2 #cnPos .kv{display:flex; flex-direction:column; gap:3px; margin:0}
html.tv2 #cnPos .kv dt{color:var(--ink-3); font-size:11px; text-transform:uppercase; letter-spacing:.04em}
html.tv2 #cnPos .kv dd{margin:0 0 8px; font-size:14px; text-align:left}
html.tv2 #cnNews li{font-family:var(--f-mono); font-size:12px; padding:8px 0; border:0; border-bottom:1px solid #1A1A1A; border-radius:0; background:transparent; margin:0}
html.tv2 #cnNews li p{margin:3px 0 0; font-size:12.5px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
html.tv2 #cnNews li .chips{display:none}
html.tv2 #cnNews li .nmeta{color:var(--ink-3); font-size:11px}
html.tv2 #dvPanel:not(.ispro) .ph::after{content:"EDGE+"; margin-left:auto; font-family:var(--f-mono); font-size:9px; padding:1px 5px; background:#2E1E0A; color:var(--accent)}
/* Fiche d'un actif traditionnel */
.tvtfd{position:relative; font-family:var(--f-mono); font-size:12px; color:var(--ink); margin:0}
.tvtfd.locked>.tdgrid{filter:blur(3px); pointer-events:none}
.tdgrid{display:grid; grid-template-columns:minmax(0,2fr) minmax(0,1fr); gap:12px; align-items:start}
.tdl,.tdr{display:flex; flex-direction:column; gap:12px; min-width:0}
.tvtfd .panel{margin:0; border:1px solid var(--line); border-radius:0; background:var(--bg); padding:14px 16px; box-shadow:none}
.tvtfd .ph{display:flex; align-items:center; margin-bottom:8px}
.tvtfd .ph h2{font-family:var(--f-mono); font-size:12px; letter-spacing:.06em; text-transform:uppercase; color:var(--accent); font-weight:600; margin:0}
.tvtfd .hint{font-size:11.5px; color:var(--ink-3); margin:0 0 8px}
.tdcmp{margin-left:auto; font:inherit; font-family:var(--f-mono); font-size:11px; padding:4px 8px; border:1px solid var(--line); background:transparent; color:var(--ink-3); cursor:pointer}
.tdcmp i{display:inline-block; width:12px; height:0; border-top:2px dashed #9A9A92; vertical-align:middle; margin-right:6px}
.tdcmp[aria-pressed=true]{color:var(--ink); border-color:var(--ink-3)}
.tdst{display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); border-top:1px solid var(--line); margin:0 -16px -14px}
.tdst>div{padding:10px 14px; border-right:1px solid #1A1A1A; display:flex; flex-direction:column; gap:4px; min-width:0}
.tdst>div:last-child{border-right:0}
.tdst .lbl,.tdpf .lbl{color:var(--ink-3); font-size:11px; text-transform:uppercase; letter-spacing:.04em; min-height:13px}
.tdst .num{font-size:13.5px; white-space:nowrap}
.tdduo{display:grid; grid-template-columns:1fr 1fr; gap:12px}
.tdduo .panel{padding:10px 14px}
.tdduo .tdpf{gap:8px 12px}
.tdduo .tdcr{padding:3px 0}
.tdduo .hint{display:none}
.tdrw{overflow-y:auto; scrollbar-width:thin; scrollbar-color:#2A2A2A transparent}
.tdpf{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px 12px}
.tdpf>div{display:flex; flex-direction:column; gap:4px}
.tdpf .num{font-size:14px}
.tdcr{display:grid; grid-template-columns:44px minmax(0,1fr) 52px; align-items:center; gap:10px; padding:6px 0}
.tdcr .bar{position:relative; height:6px; background:#141414}
.tdcr .bar i{position:absolute; top:0; bottom:0}
.tdcr .bar::after{content:""; position:absolute; left:50%; top:-3px; bottom:-3px; width:1px; background:var(--line)}
.tdcr b{text-align:right; font-weight:500}
.tdkv{display:grid; grid-template-columns:auto minmax(0,1fr); gap:8px 12px; font-size:13px; margin:0}
.tdkv dt{color:var(--ink-3)}
.tdkv dd{margin:0; text-align:right}
.tdkv .rgw{justify-content:flex-end}
.tdpr{grid-template-columns:minmax(0,1fr) auto 70px; gap:10px; padding:7px 0; cursor:pointer}
.tdpr .as{display:flex; align-items:center; gap:8px; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.tdpr .as .logo{flex:none; width:20px; height:20px; font-size:6.5px; letter-spacing:-.03em}
.tdpr:hover b,.tvtfr[data-tfs]:hover b{color:var(--accent)}
.tvtfr[data-tfs],.tvtfh [data-tfs]{cursor:pointer}
.tdpeers .tvr+.tvr{border-top:1px solid #1A1A1A}
.tdmk{--c:var(--down); display:inline-flex; align-items:center; gap:7px; font-size:12px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--c); padding:5px 10px; border:1px solid color-mix(in srgb,var(--c) 55%,transparent); background:color-mix(in srgb,var(--c) 12%,transparent)}
.tdmk i{width:7px; height:7px; border-radius:50%; background:var(--c)}
.tdmk.open{--c:var(--up)}
.tdmk.open i{box-shadow:0 0 0 3px color-mix(in srgb,var(--up) 25%,transparent)}
.tdmk.pre,.tdmk.post{--c:#F0B03A}
.tdvix{display:flex; align-items:baseline; gap:10px}
.tdvix b{font-size:22px; font-weight:500}
.tdvix .pill{margin-left:auto}
.tdgauge{position:relative; height:6px; margin:12px 0 4px; background:linear-gradient(90deg,var(--up) 0 33.3%,#F0B03A 33.3% 44.4%,#FF8A00 44.4% 66.7%,var(--down) 66.7%)}
.tdgauge i{position:absolute; top:-4px; bottom:-4px; width:2px; background:var(--ink)}
.tdgl{position:relative; height:14px; font-size:10.5px; color:var(--ink-3)}
.tdgl span{position:absolute; transform:translateX(-50%)}
.tdgl span:first-child{transform:none}
.tdgl span:last-child{transform:translateX(-100%)}
.tdsess{display:grid; grid-template-columns:1fr 1fr; gap:8px}
.tdsess>div{border:1px solid var(--line); padding:8px 10px; display:flex; flex-direction:column; gap:2px; font-size:12px}
.tdsess b{font-weight:500; color:var(--ink-3); font-size:11px}
.tdsess .on{border-color:rgba(61,213,152,.4)}
.tdsess .on b{color:var(--up)}
.tdconv label,.tdconv .out{display:flex; align-items:center; gap:10px; border:1px solid var(--line); padding:8px 10px}
.tdconv input{flex:1; min-width:0; background:transparent; border:0; color:var(--ink); font:inherit; font-family:var(--f-mono); font-size:15px; outline:none}
.tdconv .out .mono{flex:1; font-size:15px}
.tdconv button{display:block; margin:6px auto}
.logo svg{display:block; width:100%; height:100%}
.logo.tffx{background:transparent; overflow:visible}
.logo.tffx i{position:absolute; width:72%; height:72%; border-radius:50%; overflow:hidden}
.logo.tffx i:first-child{left:0; top:0; z-index:1; box-shadow:0 0 0 1.5px var(--bg)}
.logo.tffx i:last-child{right:0; bottom:0}
.logo.tffx1{width:22px; height:22px}
/* Profil */
html.tv2 #profile{max-width:none; padding:12px 16px 24px; font-family:var(--f-mono)}
html.tv2 #profile .pbar{display:flex; align-items:center; gap:14px; margin:0 0 12px}
html.tv2 #profile .pbar h1{font-family:var(--f-mono); font-size:14px; letter-spacing:.06em; text-transform:uppercase; color:var(--accent); margin:0}
html.tv2 #profile .pcols{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; align-items:start}
html.tv2 #profile .pcol{display:contents}
html.tv2 #profile .panel{background:#0F0F0F}
html.tv2 #profile .panel::before{display:block; margin:0 0 8px; color:var(--accent); font-size:11px; font-weight:400; text-transform:none; letter-spacing:0}
html.tv2 #profile section[aria-labelledby=prIdT]{order:1} html.tv2 #profile section[aria-labelledby=prIdT]::before{content:"$ qubo account"}
html.tv2 #profile section[aria-labelledby=prPlT]{order:2; box-shadow:inset 0 2px 0 var(--accent)} html.tv2 #profile section[aria-labelledby=prPlT]::before{content:"$ qubo plan --status"}
html.tv2 #profile #tvConn{order:3} html.tv2 #profile #tvConn::before{content:"$ qubo connections"}
html.tv2 #profile section[aria-labelledby=prRfT]{order:3} html.tv2 #profile section[aria-labelledby=prRfT]::before{content:"$ qubo invite"}
html.tv2 #profile section[aria-labelledby=prPrT]{order:4} html.tv2 #profile section[aria-labelledby=prPrT]::before{content:"$ qubo notify --list"}
html.tv2 #profile section[aria-labelledby=prSeT]{order:5} html.tv2 #profile section[aria-labelledby=prSeT]::before{content:"$ qubo security"}
html.tv2 #profile section[aria-labelledby=prAcT]{order:6} html.tv2 #profile section[aria-labelledby=prAcT]::before{content:"$ qubo logout"}
html.tv2 #profile section[aria-labelledby=prDaT]{order:7; border-color:#4A1E16} html.tv2 #profile section[aria-labelledby=prDaT]::before{content:"$ qubo account --delete"}
html.tv2 #profile .btn{border-radius:2px; font-family:var(--f-mono); text-transform:uppercase; letter-spacing:.03em; font-size:12px}
html.tv2 #profile #prForm .btn[type=submit]{background:#1A1A1A; border:1px solid var(--accent); color:var(--accent)}
html.tv2 #profile .inp,html.tv2 #profile select{border-radius:0; background:#0A0A0A; font-family:var(--f-mono)}
html.tv2 #profile #prUnsub{display:block; margin:0 auto; font-size:10px; color:var(--ink-3); text-decoration:underline; text-underline-offset:3px}
html.tv2 #profile #prUnsub[hidden]{display:none}
.tvconn{display:none}
html.tv2 .tvconn{display:block}
.tvconn .tvcr{display:grid; grid-template-columns:minmax(0,1fr) auto; gap:3px 10px; padding:9px 0; border-bottom:1px solid #1A1A1A; font-size:12px}
.tvconn .tvcr b{font-weight:600}
.tvconn .tvcr small{color:var(--ink-3); grid-column:1}
.tvconn .tvcr .st{color:var(--up)}
.tvconn .tvcr{align-items:center; min-height:30px; padding:7px 0}
.tvconn .tvcr>b{grid-row:1}
.tvconn .tvcr .tvbtn{grid-column:2; grid-row:1; justify-self:end}
.tvconn .tvcr.on .st{grid-column:2; grid-row:1; justify-self:end; color:var(--up); font-size:11px; text-transform:uppercase; letter-spacing:.04em}
.tvconn .tvcr.on .tvlk{grid-column:2; grid-row:2; justify-self:end; color:var(--ink-2); font-size:11px}
.tvconn .tvcr.on .tvlk:hover{color:var(--ink)}
.tvconn .tvcsv{display:flex; flex-direction:column; align-items:flex-start; gap:3px; width:100%; margin-top:14px; padding:12px; background:transparent; border:1px dashed var(--line); color:var(--ink); font:inherit; font-size:12px; text-align:left; cursor:pointer}
.tvconn .tvcsv:hover{border-color:var(--accent)}
.tvconn .tvcsv b{color:var(--accent); font-weight:600}
.tvconn .tvcsv small{color:var(--ink-3); font-size:11px}
.tvsug .nws{color:var(--accent)}
#tvWhG:empty{display:none}
.tvwfirst{margin:auto; max-width:420px; text-align:center; align-items:center; padding:40px 20px}
#tvWhE.tvctr{display:flex; flex-direction:column; align-items:center; justify-content:center}
#tvWhL .tvwfirst.sm{display:flex!important; flex-direction:column!important; grid-template-columns:none; gap:10px; margin:0 14px 12px; padding:14px; text-align:left; align-items:flex-start}
#tvWhL .tvwfirst.sm p{margin:0}
/* Profil (Terminal) : menu latéral + grille 3 colonnes sur un écran, comme la maquette */
.tvprof{display:none}
html.tv2 #profile{padding:12px 16px 24px}
html.tv2 #profile .pbar,html.tv2 #profile .pcols{display:none}
html.tv2 .tvprof{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); grid-template-rows:auto auto; gap:12px; min-height:max(600px,calc(100vh - 86px - 34px - 24px))}
/* Les rangées suivent leur contenu : à hauteur fixe, « $ qubo connections » (11 plateformes + import CSV) était coupé en bas. */
.tvpc{display:flex; flex-direction:column; gap:12px; min-height:0; min-width:0}
.tvpc.s2{grid-column:span 2}
html.tv2 .tvpc>.panel{flex:1 1 auto; min-height:0; overflow:auto; padding:16px 18px}
html.tv2 #tvPrE>section[aria-labelledby=prDaT],html.tv2 #tvPrE>section[aria-labelledby=prAcT]{flex:0 0 auto}
html.tv2 #tvPrE>section[aria-labelledby=prAcT] .btn{background:transparent; border:1px solid var(--line); color:var(--ink); padding:6px 12px}
html.tv2 #tvPrE>section[aria-labelledby=prAcT] .btn:hover{border-color:var(--accent); color:var(--accent)}
html.tv2 .tvpc>.panel>.ph{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap}
html.tv2 .tvpc>.panel::before{margin:0 0 14px!important}
html.tv2 #profile #prDev{flex-direction:row; flex-wrap:wrap} html.tv2 #profile #prDev>label{color:var(--ink); text-transform:none; letter-spacing:0; font-size:12px; font-weight:400} html.tv2 #profile #prDev .row{justify-content:flex-end}
html.tv2 #profile .panel{position:relative}
html.tv2 #profile .panel.tvfl{animation:tvfl 1.2s ease-out}
@keyframes tvfl{0%{border-color:var(--accent)}100%{border-color:var(--line)}}
html.tv2 #profile .panel h2:focus{outline:none}
/* Compte */
html.tv2 #profile .idrow{margin:0 0 12px}
html.tv2 #profile .av.lg{border-radius:0; width:48px; height:48px; background:#2E1E0A; color:var(--accent)}
html.tv2 #profile #prForm{gap:10px}
html.tv2 #profile #prForm .note{display:none}
html.tv2 #profile .fld label{font-size:11px; color:var(--ink-3); text-transform:uppercase; letter-spacing:.05em; font-weight:500}
html.tv2 #profile .inp,html.tv2 #profile select.ccysel{height:34px; min-height:34px; padding:0 10px; font-size:12px; border:1px solid var(--line)}
html.tv2 .tvprl{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px}
html.tv2 .tvprl .note{display:none}
html.tv2 .tvprl .lm-block>button{height:34px; border-radius:0; background:#0A0A0A; font-family:var(--f-mono); font-size:12px}
/* Formule */
html.tv2 #profile section[aria-labelledby=prPlT]{display:flex; flex-direction:column; gap:10px}
html.tv2 #profile section[aria-labelledby=prPlT]>*{margin:0}
html.tv2 #profile #prPer,html.tv2 #profile #prCur,html.tv2 #profile #prUpL,html.tv2 #profile #prPromo,html.tv2 #profile #prPlans,html.tv2 #profile #prFeat,html.tv2 #profile section[aria-labelledby=prPlT]>p.note[data-i18n="pr.planNote"]{display:none!important}
html.tv2 #profile #prBcW{order:5} html.tv2 #profile #prBcW .note{display:none}
html.tv2 #profile section[aria-labelledby=prPlT]>.row{order:6; margin-top:auto!important}
html.tv2 #profile #prUnsubBox{order:7}
html.tv2 .tvpls{display:flex; flex-direction:column; gap:12px; font-size:12px}
.tvpls .pl{display:flex; align-items:baseline; gap:12px; flex-wrap:wrap}
.tvpls .pl b{font-size:24px; font-weight:600}
.tvpls .pl .ok{margin-left:auto; padding:2px 8px; border:1px solid var(--up); color:var(--up); font-size:11px; text-transform:uppercase}
.tvpls .mut{color:var(--ink-3)}
.tvpls .us{display:flex; flex-direction:column; gap:10px; border-top:1px solid #1A1A1A; padding-top:12px}
.tvpls .us:empty{display:none}
.tvpls .u>span{display:flex; justify-content:space-between; margin-bottom:5px}
.tvpls .u i{display:block; height:4px; background:#1A1A1A}
.tvpls .u i b{display:block; height:4px; background:var(--accent)}
.tvpls .u i b.hi{background:var(--down)}
.tvpls .bt{display:flex; gap:8px}
.tvpls .bt:empty{display:none}
.tvpls .bt .tvbtn{flex:1; justify-content:center; padding:10px; text-transform:uppercase}
/* Notifications */
html.tv2 #profile section[aria-labelledby=prPrT] .stack{gap:0}
html.tv2 #profile section[aria-labelledby=prPrT] .chk,html.tv2 .tvsr,html.tv2 #profile #prDev{display:flex; align-items:center; justify-content:space-between; gap:12px; padding:11px 0; margin:0; border-bottom:1px solid #1A1A1A; font-size:12px}
html.tv2 #profile section[aria-labelledby=prPrT] .chk{flex-direction:row-reverse}
html.tv2 #profile section[aria-labelledby=prPrT] .chk input{appearance:none; -webkit-appearance:none; flex:none; width:30px; height:16px; margin:0; position:relative; border:1px solid var(--line); background:#0A0A0A; border-radius:0; cursor:pointer}
html.tv2 #profile section[aria-labelledby=prPrT] .chk input::after{content:""; position:absolute; top:2px; left:2px; width:10px; height:10px; background:#4A4A45; transition:left .15s}
html.tv2 #profile section[aria-labelledby=prPrT] .chk input:checked{border-color:var(--accent); background:#2E1E0A}
html.tv2 #profile section[aria-labelledby=prPrT] .chk input:checked::after{left:16px; background:var(--accent)}
html.tv2 #profile section[aria-labelledby=prPrT] .chk input:disabled{cursor:not-allowed; opacity:.5}
html.tv2 #profile section[aria-labelledby=prPrT] .chk input:focus-visible{outline:1px solid var(--accent); outline-offset:2px}
html.tv2 #profile #prDev>label{margin:0}
html.tv2 #profile #prDev .note{font-size:11px}
html.tv2 #profile #prAlerts{display:none!important}
.tvsr{display:none}
html.tv2 .tvsr>span{display:flex; flex-direction:column; gap:3px; min-width:0}
html.tv2 .tvsr small{color:var(--ink-3); font-size:11px}
html.tv2 .tvsr b{font-weight:500}
.tvlk{background:none; border:0; padding:0; color:var(--accent); font:inherit; cursor:pointer}
/* Sécurité */
html.tv2 #profile section[aria-labelledby=prSeT] #prPwForm{display:none; margin-top:10px; gap:10px}
html.tv2 #profile #prPwForm .note{display:none}
html.tv2 #profile section[aria-labelledby=prSeT].pwo #prPwForm{display:flex}
html.tv2 #profile section[aria-labelledby=prDaT] .note{color:var(--ink-3); line-height:1.5; margin:0 0 8px}
html.tv2 #profile section[aria-labelledby=prDaT] .delbtn{border:1px solid var(--down); color:var(--down); background:transparent; padding:6px 10px}
/* Menu latéral */
html.tv2 .tvsubnav .tvlo{margin-top:auto; color:var(--ink-3)}

/*/TVP-CSS*/
/*MQ-CSS*/
/* App mobile (html.mq) : ses styles sont dans app/mobile.css, chargé sur téléphone seulement. Ici, uniquement ce qui cache
   sur PC les blocs que l'app ajoute aux pages. */
html:not(.mq) .mqonly,html:not(.mq) #mqCock,html:not(.mq) #mqFlux,html:not(.mq) #mqMk,html:not(.mq) #mqAl,html:not(.mq) #mqCoin,html:not(.mq) #mqCoinL,html:not(.mq) #mqCoinA,
html:not(.mq) #mqAiNav,html:not(.mq) #mqRdNav,html:not(.mq) #pgQai,html:not(.mq) #mqRd,html:not(.mq) #mqNotif,html:not(.mq) #mqGv,html:not(.mq) #mqGf,html:not(.mq) #mqPtr,html:not(.mq) .mqsheet{display:none!important}
.mql,.mqic{display:none}
/*/MQ-CSS*/
/* GeoEnergy Vector (page du menu du haut, Terminal, formule Apex) */
.gepg .tvbox{background:var(--surface)}
.gepg>*{flex:none}
.gepg .gehd{padding:20px 24px; gap:8px}
.gepg .gehd h2{font-size:24px}
.gekpis{display:grid; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); gap:12px}
.gek{display:flex; flex-direction:column; gap:6px; padding:12px 16px; border:1px solid var(--line); background:var(--surface); min-width:0}
.gek .l{font-size:11px; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-3)}
.gek .v{font-size:20px; font-weight:600}
.gek .s{font-size:12px; color:var(--ink-2)} .gek .s.up{color:var(--up)} .gek .s.down{color:var(--down)} .gek .s.mut{color:var(--ink-3)}
.gecvw canvas{position:absolute; inset:0; width:100%; height:100%; display:block; cursor:grab; touch-action:none}
.gecvw canvas.gegl{pointer-events:none; cursor:auto}
.gectl{position:absolute; right:12px; top:12px; display:flex; flex-direction:column; gap:6px}
.gectl .tvbtn{width:32px; height:32px; padding:0; justify-content:center; font-size:15px}
.gectl .tvbtn[aria-pressed=true]{background:var(--accent-soft); color:var(--accent); border-color:#5A3A12}
.gelg{display:flex; flex-wrap:wrap; align-items:flex-start; gap:12px 22px; padding:12px 14px; border-top:1px solid #1A1A1A; font-size:11px; color:var(--ink-2)}
.gelg .gp{display:flex; flex-direction:column; gap:6px} .gelg .gh{font-size:10px; letter-spacing:.08em; text-transform:uppercase; color:var(--ink-3)} .gelg .gr{display:flex; flex-wrap:wrap; gap:6px}
.gelg .key{flex-basis:100%; display:flex; flex-wrap:wrap; gap:6px 16px; color:var(--ink-3); font-size:10.5px} .gelg .key b{font-weight:400; color:var(--ink-2)}
.gelg .dot{width:7px; height:7px; border-radius:50%; display:inline-block; margin-right:5px; vertical-align:0}
.gelg span{display:inline-flex; align-items:center; gap:7px}
.gelg .ln{width:18px; height:3px} .gelg .ln.dt{height:0; border-top:2px dotted #B3B3AB}
.gelg .rg{width:10px; height:10px; border-radius:50%; border:2px solid #E566A5}
.gesr i,.gewr i{display:block; height:4px; background:#222} .gesr u,.gewr u{display:block; height:100%; text-decoration:none}
.gesr small{color:var(--ink-3); font-size:11px}
.geev{display:grid; grid-template-columns:90px 110px minmax(0,1fr) 150px; gap:12px; align-items:center; padding:9px 14px; border-top:1px solid #1A1A1A; font-size:12px}
.geev:first-child{border-top:0}
.geev .tm{color:var(--ink-3)} .geev .c{font-size:10.5px; letter-spacing:.05em; color:#E566A5}
.geev a{color:var(--ink); font-family:var(--f-body); font-size:13px; text-decoration:none; line-height:1.4} .geev a:hover{color:var(--accent)}
.geev .z{display:flex; flex-direction:column; align-items:flex-end; gap:2px; font-size:11px; color:var(--ink-2); text-align:right} .geev .z small{color:var(--ink-3); font-size:10px}
.geev.k{grid-template-columns:auto minmax(0,1fr); gap:4px 12px} .geev.k a{grid-column:1/-1; order:3} .geev.k .z{display:none}
.gelv{display:inline-block; vertical-align:middle; margin-left:10px; font-size:11px; font-weight:600; letter-spacing:.06em; padding:3px 8px; border:1px solid}
.gebig{display:flex; flex-direction:column; align-items:flex-end; gap:2px}
.gebig .l{font-size:11px; letter-spacing:.06em; color:var(--ink-3); text-transform:uppercase} .gebig .v{font-size:44px; font-weight:600; line-height:1}
.getr{padding:12px 14px; display:flex; flex-direction:column; gap:10px}
.gest,.gemk{display:flex; flex-wrap:wrap; gap:28px}
.gemk{padding:12px 14px; gap:20px 28px}
.gest .l,.gemk .l{display:block; font-size:11px; letter-spacing:.06em; color:var(--ink-3); text-transform:uppercase}
.gemk .v.up{color:var(--up)} .gemk .v.down{color:var(--down)}
.gexl{display:flex; justify-content:space-between; font-size:11px; color:var(--ink-3)}
.gecl{margin:0; font-size:11px}
.gewhy{padding:12px 14px; display:flex; flex-direction:column; gap:12px}
.gewr i{height:6px} .gewr u{background:var(--accent)} .gewr b{color:var(--ink)}
.gewhy p{margin:0; font-size:11px}
.gecvw{position:relative; flex:1; min-height:320px; overflow:hidden}
html.tv2 .tvqi.gefull{grid-template-columns:minmax(0,1fr) 380px; grid-template-rows:auto minmax(0,1fr); overflow:hidden}
.gefull>#geK{grid-column:1; grid-row:1; min-width:0}
.gefull>.geglb{grid-column:1; grid-row:2; display:flex; flex-direction:column; min-height:0; min-width:0}
.gefull>.geside{grid-column:2; grid-row:1/3; display:flex; flex-direction:column; gap:12px; min-height:0}
.geside>.gesc{flex:none} .geside>.geevb{flex:1; min-height:0; display:flex; flex-direction:column}
.gescr{flex:1; min-height:0; overflow-y:auto; scrollbar-width:thin; scrollbar-color:#2A2A2A transparent}
.gesr{display:grid; grid-template-columns:minmax(0,1fr) 110px 30px; gap:12px; align-items:center; width:100%; padding:8px 14px; border:0; border-top:1px solid #1A1A1A; background:transparent; color:var(--ink); font:inherit; text-align:left; cursor:pointer}
.gesr:first-child{border-top:0} .gesr:hover{background:var(--surface-2)} .gesr[aria-current=true]{background:var(--surface-2); box-shadow:inset 2px 0 0 var(--accent)}
.gesr b{font-weight:500; font-size:12.5px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis} .gesr em{font-style:normal; font-weight:600; font-size:13px; text-align:right}
.geev.s{grid-template-columns:auto auto minmax(0,1fr); gap:4px 10px; padding:9px 14px} .geev.s a{grid-column:1/-1; order:3; font-size:12.5px} .geev.s .z{flex-direction:row; justify-content:flex-end} .geev.s .z small{display:none}
.gepop{position:absolute; left:0; top:0; z-index:3; width:380px; max-width:calc(100% - 24px); max-height:calc(100% - 24px); overflow-y:auto; background:rgba(12,12,12,.97); border:1px solid #3A2A16; box-shadow:0 12px 40px rgba(0,0,0,.6); scrollbar-width:thin; scrollbar-color:#2A2A2A transparent; will-change:transform}
.gepop .tvbh{border-top:1px solid #1A1A1A}
.gepoph{display:flex; align-items:flex-start; gap:14px; padding:14px 14px 6px}
.gepoph>div:first-child{flex:1; min-width:0; display:flex; flex-direction:column; align-items:flex-start; gap:8px}
.gepoph h3{margin:0; font-size:18px; font-weight:600} .gepoph .gelv{margin-left:0}
.gepoph .gebig .v{font-size:34px}
.gepx{flex:none; width:26px; height:26px; padding:0; border:1px solid var(--line); background:transparent; color:var(--ink-2); font:inherit; font-size:16px; line-height:1; cursor:pointer} .gepx:hover{color:var(--ink); border-color:#555}
.gepd{margin:0; padding:0 14px 12px; font-family:var(--f-body); font-size:12.5px; line-height:1.5; color:var(--ink-2)}
.gepop .gest{gap:20px} .gest .v,.gemk .v{font-size:18px; font-weight:600}
.getr svg{width:100%; height:110px; display:block}
.gewr{display:grid; grid-template-columns:minmax(0,1fr) 80px 56px; gap:10px; align-items:center; font-size:11.5px; color:var(--ink-2)}
.gepop .gemk{gap:14px 22px}
.gefull .gekpis{grid-template-columns:repeat(5,minmax(0,1fr)); gap:10px} .gefull .gek{padding:10px 14px; gap:4px} .gefull .gek .v{font-size:18px}
.gefull .gek .s,.gefull .gek .l{white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.gelg button{display:inline-flex; align-items:center; gap:8px; padding:6px 11px 6px 9px; border:1px solid #2E2E2E; border-radius:999px; background:#121212; color:var(--ink); font:inherit; font-size:11px; cursor:pointer; transition:border-color .15s, background .15s, opacity .15s}
.gelg button::before{content:''; width:12px; height:12px; flex:none; border-radius:3px; border:1px solid #FF8A00; background:#FF8A00 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%230B0B0B' stroke-width='1.8'/%3E%3C/svg%3E") center/12px no-repeat}
.gelg button[aria-pressed=true]{border-color:rgba(255,138,0,.45); background:rgba(255,138,0,.07)}
.gelg button[aria-pressed=false]{color:var(--ink-3)} .gelg button[aria-pressed=false]::before{background:transparent; border-color:#4A4A4A} .gelg button[aria-pressed=false] i{opacity:.35; filter:grayscale(1)}
.gelg button:hover{border-color:#5A5A5A} .gelg button:focus-visible{outline:2px solid #FF8A00; outline-offset:2px} .gelg .ln+.ln{margin-left:-4px}
.gelg .sq{width:12px; height:12px; border-radius:50%; border:1.5px solid #B9B9B1; background:radial-gradient(circle,#B9B9B1 0 2.6px,transparent 3px)} .gelg .sqt{border-radius:1px; width:11px; height:11px; background:#B9B9B1; box-shadow:inset 0 0 0 2.5px #0B0B0B} .gelg .cy{width:10px; height:10px; border-radius:50%; border:2px solid #FF8A00; border-right-color:transparent; border-left-color:transparent} .gelg .dm{width:8px; height:8px; background:#7FA6E8; transform:rotate(45deg)} .gelg .tri{width:0; height:0; border-left:5px solid transparent; border-right:5px solid transparent; border-bottom:9px solid #FF8A00}
.geev .c.c-fire{color:#FF7A3D}
/* GeoEnergy v2 : variation du score, âge des données, gravité des faits, frise sur 7 jours, actifs exposés, flotte fantôme. */
html.tv2 .gesr{grid-template-columns:minmax(0,1fr) 90px 30px 34px}
.gedl{font-size:10.5px; text-align:right; white-space:nowrap}
.gebd{font-size:11px; white-space:nowrap}
.gefr{display:flex; flex-wrap:wrap; gap:4px 18px; margin:8px 2px 0; font-size:10.5px; color:var(--ink-3)} .gefr b{font-weight:400; color:var(--ink-2)}
.geev .sv{display:inline-block; width:6px; height:6px; border-radius:50%; margin-right:6px; vertical-align:1px; background:#55554F} .geev .sv2{background:#F0B03A} .geev .sv3{background:#FF4D4D}
#geEF .tvseg+.tvseg{margin-left:10px}
.gedy{margin:0; padding:10px 14px 6px; border-top:1px solid #1A1A1A; font-size:11px; letter-spacing:.06em; text-transform:uppercase; color:var(--accent)}
.geside>.gexb{flex:none}
.gexr{display:grid; grid-template-columns:64px minmax(0,1fr) auto; gap:10px; align-items:center; width:100%; padding:8px 14px; border:0; border-top:1px solid #1A1A1A; background:transparent; color:var(--ink); font:inherit; font-size:12px; text-align:left; cursor:pointer}
.gexr:first-child{border-top:0} .gexr:hover{background:var(--surface-2)} .gexr span{color:var(--ink-3); white-space:nowrap; overflow:hidden; text-overflow:ellipsis} .gexr em{font-style:normal} .gexr em.up{color:var(--up)} .gexr em.down{color:var(--down)}
.gelg .fxi{width:10px; height:10px; border-radius:50%; border:1.5px dashed #FF7A62; display:inline-block}
.gests{display:flex; flex-direction:column; align-items:flex-start; gap:4px; padding:10px 14px; border-top:1px solid #1A1A1A; font-size:12px} .gests .gelv{margin-left:0}
.nmimg{display:block; width:100%; max-height:240px; object-fit:cover; border-radius:6px; margin:4px 0 10px; background:var(--surface-2)}
.geevs{grid-column:1/-1; order:3; padding:0; border:0; background:transparent; color:var(--ink); font-family:var(--f-body); font-size:12.5px; line-height:1.4; text-align:left; cursor:pointer} .geevs:hover{color:var(--accent)}
.geev.f .geevs{grid-column:auto; order:0}
.geside>.gesc{max-height:46%; display:flex; flex-direction:column} .geside>.gesc>#geSL{flex:1; min-height:0; overflow-y:auto; scrollbar-width:thin; scrollbar-color:#2A2A2A transparent}
.gepop .v.gesm{font-size:13px; font-weight:500}
.gepl{padding:10px 14px 14px; border-top:1px solid #1A1A1A}
.gepoph>div:first-child .tvmut{font-size:11px}
.gefull .gekpis{grid-template-columns:repeat(6,minmax(0,1fr))}
@media (max-width:1399px){html.tv2 .tvqi.gefull{grid-template-columns:minmax(0,1fr) 320px} .gefull .gegsl{display:none} .gefull .gekpis{grid-template-columns:repeat(5,minmax(0,1fr))} .gefull .geglb .tvbh .tvmut{display:none} .gepop{width:320px} .gefull .gek .s{font-size:11px}}
/* Perps Hyperflow (Qubo Lens) */
.hfgrid{display:flex; flex-wrap:wrap; gap:12px; align-items:flex-start}
.hfgrid>.hfm{flex:2 1 560px; min-width:0} .hfgrid>.hfs{flex:1 1 300px; min-width:0; display:flex; flex-direction:column; gap:12px}
.hfcard{border:1px solid var(--line); background:var(--surface); min-width:0}
.hfch{display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; padding:12px 16px; border-bottom:1px solid var(--line)}
.hfch h3{margin:0; font-size:12px; letter-spacing:.1em; color:var(--accent); font-weight:600; text-transform:uppercase}
.hfch .tvmut{font-size:12px}
.hfseg{display:inline-flex; flex-wrap:wrap; border:1px solid var(--line)}
.hfseg button{padding:6px 11px; border:0; background:transparent; color:var(--ink-2); font-family:var(--f-mono); font-size:12px; cursor:pointer}
.hfseg button[aria-pressed="true"]{background:var(--accent); color:#0A0A0A; font-weight:600}
.hfscr{overflow-x:auto}
.hftb{width:100%; border-collapse:collapse}
.hftb th{padding:9px 14px; border-bottom:1px solid var(--line); font-size:11px; font-weight:500; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-3); text-align:left; white-space:nowrap; background:var(--surface)}
.hftb td{padding:10px 14px; border-bottom:1px solid #1F1F1F; font-size:13px; white-space:nowrap; vertical-align:middle}
.hftb .n{text-align:right} .hftb .m{color:var(--ink-3)}
.hftb tr.sep td{color:var(--ink-3); font-size:11px; letter-spacing:.1em; background:#0E0E0E; padding:8px 14px}
.hftb tr.r{cursor:pointer} .hftb tr.r:hover td{background:#161616} .hftb tr.r:focus-visible{outline:2px solid var(--accent); outline-offset:-2px}
.hftb tr.big td{background:#1A1206}
.hftb small{display:block; margin-top:2px; font-size:11px; color:var(--ink-3)}
.hftb .up{color:var(--up)} .hftb .down{color:var(--down)}
.hfbar{display:flex; height:8px; width:140px; background:var(--down)} .hfbar i{display:block; height:100%; background:var(--up)}
.tvsd.C{background:#1F1F1F; color:var(--ink-2)}
.hftag{display:inline-block; margin-left:8px; padding:2px 6px; border:1px solid #5A3A12; color:#FFB15C; font-size:10px; letter-spacing:.06em; white-space:nowrap; vertical-align:middle}
.hfaddr{color:var(--ink); text-decoration:none; border-bottom:1px dotted var(--ink-3); font-family:var(--f-mono)}
.hfkv>div{display:flex; justify-content:space-between; gap:12px; padding:11px 16px; border-bottom:1px solid #1F1F1F; font-size:13px}
.hfkv>div:last-child{border-bottom:0} .hfkv span{color:var(--ink-3)}
.hfnote{margin:0; padding:12px 16px; font-family:var(--f-body); font-size:12px; line-height:1.5; color:var(--ink-3)}
.hfbias>div{display:flex; justify-content:space-between; align-items:center; padding:12px 16px; border-bottom:1px solid #1F1F1F; font-size:13px}
.hfchart{padding:12px 16px 8px} .hfchart svg{display:block; width:100%}
.hfavc{position:relative; width:100%; cursor:crosshair; touch-action:pan-y} .hfavc .hl{position:absolute; top:0; width:1px; background:rgba(255,138,0,.55); pointer-events:none; display:none}
.hfavc .hd{position:absolute; width:9px; height:9px; margin:-4.5px 0 0 -4.5px; border-radius:50%; background:#FF8A00; box-shadow:0 0 0 3px rgba(255,138,0,.25); pointer-events:none; display:none}
.hfavc .ht{position:absolute; top:0; transform:translateX(-50%); background:#161616; border:1px solid #2A2A2A; padding:6px 9px; font-size:11px; line-height:1.45; white-space:nowrap; pointer-events:none; display:none; z-index:2}
.hfavc .ht b{display:block; font-size:13px; color:var(--ink)} .hfavc .ht span{color:var(--ink-3)} .hfavc.on .hl,.hfavc.on .hd,.hfavc.on .ht{display:block}
.hflg{display:flex; gap:16px; flex-wrap:wrap; font-size:12px; color:var(--ink-2)} .hflg span{display:inline-flex; align-items:center; gap:6px} .hflg i{display:inline-block; width:14px; height:2px}
.hflad{padding:8px 16px 12px}
.hflr{display:grid; grid-template-columns:96px minmax(0,1fr) 84px; align-items:center; gap:12px; height:22px; font-size:12px}
.hflr .p{color:var(--ink-2); text-align:right} .hflr .v{color:var(--ink-3); text-align:right}
.hflr .t{height:12px; background:#161616} .hflr .t i{display:block; height:100%}
.hflr .t i.s{background:var(--down)} .hflr .t i.l{background:var(--up)}
.hflr.now{height:28px; color:var(--accent); font-weight:600} .hflr.now hr{border:0; border-top:1px dashed var(--accent); margin:0} .hflr.now .p,.hflr.now .v{color:var(--accent)}
.hfwall{display:grid; grid-template-columns:90px 70px minmax(0,1fr) 64px; gap:10px; align-items:center; padding:9px 16px; border-bottom:1px solid #1F1F1F; font-size:12px}
.hfwall.hd{color:var(--ink-3); font-size:11px; letter-spacing:.06em} .hfwall.px{background:#1A1206; color:var(--accent)}
.hfwall .b{height:10px; background:#161616} .hfwall .b i{display:block; height:100%}
.hfform{display:flex; gap:8px; flex-wrap:wrap; align-items:center; padding:12px 16px}
.hfform label{font-size:11px; letter-spacing:.08em; color:var(--ink-3)}
.hfform input{flex:1 1 300px; min-width:0; height:36px; padding:0 12px; background:#0A0A0A; border:1px solid var(--line); color:var(--ink); font-family:var(--f-mono); font-size:13px}
.hfform input:focus{outline:none; border-color:var(--accent)}
.hfform .tvbtn{height:36px; border-radius:0; font-weight:600}
.hferr{margin:0; padding:0 16px 12px; color:var(--down); font-size:12px}
.hfhd{display:flex; flex-wrap:wrap; justify-content:space-between; gap:16px; align-items:center; padding:20px 24px; border:1px solid var(--line); background:var(--surface)}
.hfhd h2{margin:0; font-size:24px; font-weight:600}
.hfhd .tt{display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-top:10px}
.hfhd .cmd{color:var(--ink-3); font-size:13px}
.hfhd .act{display:flex; gap:8px; flex-wrap:wrap}
.hfhd .tvbtn{border-radius:0; font-weight:600}
.hfsc{display:flex; align-items:baseline; gap:10px; padding:16px} .hfsc b{font-size:44px; font-weight:600; color:var(--accent)} .hfsc small{margin-left:auto; font-size:12px; color:var(--ink-2); text-align:right}
.hfsr{padding:11px 16px; border-bottom:1px solid #1F1F1F; font-size:13px} .hfsr div{display:flex; justify-content:space-between}
.hfsr .mt{height:6px; background:#1F1F1F; margin-top:6px} .hfsr .mt i{display:block; height:100%; background:var(--accent)}
.hfai{padding:14px 16px; font-family:var(--f-body); font-size:14px; line-height:1.6; color:#D9D9D2}
.hfai p{margin:0 0 10px} .hfai b{color:var(--ink)} .hfai ul{margin:0; padding-left:18px} .hfai li{margin-bottom:6px}
.hfai .tvbtn{border-radius:0; font-weight:600}
.hfcap{padding:12px 16px; border-bottom:1px solid var(--line)} .hfcap.full{background:#1A1206}
.hfcap .ln{display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px; font-size:12px; color:var(--ink-2)} .hfcap .ln b{color:var(--ink)}
.hfcap .cb{height:6px; background:#1F1F1F; margin-top:8px} .hfcap .cb i{display:block; height:100%; background:var(--accent)}
.hfcap .act{margin-top:12px; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px; font-family:var(--f-body); font-size:13px; line-height:1.5; color:var(--ink-2)}
.hfcap.full .act{color:#F5D9B5} .hfcap .act b{color:var(--accent)} .hfcap .act .tvbtn{border-radius:0; font-weight:600}
.hfwarn{display:flex; gap:12px; align-items:center; justify-content:space-between; flex-wrap:wrap; padding:12px 16px; border-bottom:1px solid var(--line); background:#1F0E0A; color:#FFD3C8; font-family:var(--f-body); font-size:13px; line-height:1.5}
.hfwarn b{color:var(--down)} .hfwarn .tvbtn{border-radius:0}
.hfbell{font-family:var(--f-mono); font-size:11px; letter-spacing:.06em; padding:5px 9px; cursor:pointer; border:1px solid var(--line); background:transparent; color:var(--ink-3); position:relative; z-index:1}
.hfbell[aria-pressed="true"]{border-color:var(--accent); color:var(--accent); background:#1A1206}
.hfrm{margin-left:6px; position:relative; z-index:1}
.hfev{display:flex; gap:12px; padding:12px 16px; border-bottom:1px solid #1F1F1F; font-size:13px; cursor:pointer}
.hfev:hover{background:#161616} .hfev time{flex:none; width:48px; color:var(--ink-3); font-size:12px} .hfev p{margin:0; line-height:1.5} .hfev small{display:block; margin-top:3px; color:var(--ink-3); font-size:11px}
.hfmatch{font-size:11px; letter-spacing:.06em; padding:3px 7px; font-weight:600} .hfmatch.y{color:var(--accent); background:#2E1E0A} .hfmatch.n{color:var(--ink-2); background:#1F1F1F}
.hfav{display:inline-flex; width:26px; height:26px; align-items:center; justify-content:center; margin-right:10px; background:#2E1E0A; color:var(--accent); font-size:10px; font-weight:600; vertical-align:middle}
.hflive{max-height:620px; overflow-y:auto; scrollbar-width:thin; scrollbar-color:#2A2A2A transparent}
/* Perps Hyperflow sur ordinateur : la page tient dans l'écran, ce sont les modules qui défilent. */
html.tv2 #hfPg.hffit{overflow:hidden}
html.tv2 #hfPg.hffit>*{flex:none}
html.tv2 #hfPg.hffit .ipoh{padding:16px 22px}
html.tv2 #hfPg.hffit.hfwon>.ipoh{display:none} html.tv2 #hfPg.hffit .hfhd{padding:14px 22px}
html.tv2 #hfPg.hffit .hffill{flex:1 1 0; min-height:0}
html.tv2 #hfPg.hffit #hfWB.hffill{display:flex; flex-direction:column; gap:12px}
html.tv2 #hfPg.hffit #hfWB>*{flex:none} html.tv2 #hfPg.hffit #hfWB>.hffill{flex:1 1 0}
html.tv2 #hfPg.hffit .hfgrid.hffill{flex-wrap:nowrap; align-items:stretch}
html.tv2 #hfPg.hffit .hffill>.hfm,html.tv2 #hfPg.hffit .hffill>.hfs,html.tv2 #hfPg.hffit #hfVT.hffill{min-height:0; overflow-y:auto; scrollbar-width:thin; scrollbar-color:#2A2A2A transparent}
html.tv2 #hfPg.hffit .hfcol{display:flex; flex-direction:column; gap:12px}
html.tv2 #hfPg.hffit .hfcol>*,html.tv2 #hfPg.hffit .hffill>.hfs>*{flex:none}
html.tv2 #hfPg.hffit .hfgrow,html.tv2 #hfPg.hffit .hfflex{flex:1 1 0; min-height:200px; display:flex; flex-direction:column}
html.tv2 #hfPg.hffit .hffill>.hfflex,html.tv2 #hfPg.hffit #hfVT.hffill{overflow:hidden}
html.tv2 #hfPg.hffit #hfVT.hffill{display:flex; flex-direction:column}
html.tv2 #hfPg.hffit .hfgrid>.hfm.hfgrow,html.tv2 #hfPg.hffit .hfgrid>.hfm.hfflex{flex:2 1 560px}
html.tv2 #hfPg.hffit .hfgrow>.hfcard{flex:1 1 0; min-height:0; display:flex; flex-direction:column}
html.tv2 #hfPg.hffit .hfflex>*,html.tv2 #hfPg.hffit .hfgrow>.hfcard>*{flex:none}
html.tv2 #hfPg.hffit .hfflex>.hfscr,html.tv2 #hfPg.hffit .hfgrow>.hfcard>.hfscr{flex:1 1 0; min-height:0; max-height:none; overflow:auto; scrollbar-width:thin; scrollbar-color:#2A2A2A transparent}
html.tv2 #hfPg.hffit .hfscr thead th{position:sticky; top:0; z-index:1}
.hfdot{display:inline-block; width:7px; height:7px; border-radius:50%; background:var(--up); margin-right:8px} .hfdot.off{background:var(--ink-3)}
.hfempty{padding:24px 16px; color:var(--ink-3); font-size:13px; line-height:1.5; margin:0}
@media (max-width:900px){.hfhd{padding:16px} .hflr{grid-template-columns:72px minmax(0,1fr) 64px}}
/* Alertes « Signaux Qubo » (régime, mouvements, divergences, GeoEnergy) : bloc commun à la page Alertes, au Terminal et au mobile. */
.sg{margin-top:18px}
.sghd{display:flex; justify-content:space-between; align-items:baseline; gap:10px; flex-wrap:wrap; margin:0 0 4px}
.sghd h3{margin:0}
.sgrg{font-size:13px; color:var(--ink-2); margin:4px 0 8px}
.sgst{font-family:var(--f-mono); font-weight:600; color:var(--ink-2)}
.sgst.on{color:var(--up)} .sgst.off{color:var(--down)}
.sgintro{font-size:12px; color:var(--ink-3); margin:0 0 6px; line-height:1.45}
.sgrow{display:flex; gap:12px; align-items:flex-start; justify-content:space-between; padding:10px 0; border-top:1px solid var(--line)}
.sgrow>span{min-width:0}
.sgrow b{display:block; font-size:13px; font-weight:600; color:var(--ink)}
.sgrow small{display:block; font-size:12px; color:var(--ink-3); margin-top:2px; line-height:1.4}
.sgrow input[type=checkbox]:not(.mqsw){flex:none; width:18px; height:18px; margin:2px 0 0; accent-color:var(--accent); cursor:pointer}
.sgtag{flex:none; font-family:var(--f-mono); font-size:10px; letter-spacing:.06em; border:1px solid var(--line); color:var(--accent); background:none; padding:3px 6px; cursor:pointer}
.sgopts{display:flex; flex-wrap:wrap; gap:10px 14px; padding:10px 0; border-top:1px solid var(--line)}
.sgopts label{display:flex; flex-direction:column; gap:4px; font-size:11px; color:var(--ink-3); text-transform:uppercase; letter-spacing:.04em}
.sgopts select{background:var(--surface-2); color:var(--ink); border:1px solid var(--line); padding:6px 8px; font-size:13px; min-width:130px; text-transform:none; letter-spacing:0}
.sgz{display:flex; flex-wrap:wrap; gap:6px; padding:0 0 10px}
.sgz label{display:inline-flex; gap:5px; align-items:center; font-size:12px; color:var(--ink-2); border:1px solid var(--line); padding:4px 8px; cursor:pointer}
.sgz input{accent-color:var(--accent); margin:0}
.sgnote{font-size:12px; color:var(--ink-3); margin:8px 0 0; line-height:1.45}
.sgerr{font-size:12px; color:var(--down); margin:6px 0 0}
.sgerr:empty{display:none}
.tvaltabs{display:flex; margin:0 0 12px; border-bottom:1px solid var(--line)}
.tvaltabs button{background:none; border:0; border-bottom:2px solid transparent; color:var(--ink-3); font-family:var(--f-mono); font-size:11px; text-transform:uppercase; letter-spacing:.06em; padding:8px 14px; cursor:pointer}
.tvaltabs button[aria-selected=true]{color:var(--ink); border-bottom-color:var(--accent)}
.mqgrpb .sg{margin-top:0}
.mqgrpb .sgrow .mqsw{flex:none}
.sgtv{margin-top:0}
/* Header du Terminal en tiroirs (Paul, 8 novembre 2026) : Accueil = logo ; Communauté, Tracker, Perps Hyperflow et GeoEnergy passent dans les tiroirs. */
html.tv2 .top nav.menu>button[data-page=dash],html.tv2 .top nav.menu>button[data-page=disc],html.tv2 .top nav.menu>button[data-page=whales],html.tv2 .top nav.menu>button[data-page=hf],html.tv2 .top nav.menu>button[data-page=geo]{display:none!important}
html.tv2 .top nav.menu>button[data-page=news] .nl1{display:inline!important} html.tv2 .top nav.menu>button[data-page=news] .nl2{display:none!important}
html:not(.tv2) .hdcar{display:none}
/* « // » devant tous les titres des menus latéraux du Terminal, comme dans les tiroirs du header */
html.tv2 .tvsubnav .tvst::before,html.tv2 .tvsubnav .tvms>p::before{content:"// "}
html.tv2 .tvsubnav .hdsub{margin:2px 0 6px}
html.tv2 .tvsubnav .hdsub button{padding-left:24px; font-size:12px}
/* Sous-entrées : petit chevron orange « > » (comme l’invite de recherche) au lieu du tiret */
html.tv2 .tvsubnav .hdsub button::before,html.tv2 .tvsubnav button.sub::before{content:">"; flex:none; width:auto; height:auto; margin-right:-2px; background:none; color:var(--accent); font-weight:600; order:-1}
html.tv2 .tvsubnav .hdsub button span{margin-right:auto}
html.tv2 .tvsubnav [data-hdr] .hdtg{font-size:9px; letter-spacing:.05em; padding:1px 5px; border:1px solid var(--accent); color:var(--accent)}
html.tv2 .tvsubnav [data-hdr] .hdtg[hidden]{display:none}
html.tv2 .top nav.menu>button[data-hd] .hdcar{font-style:normal; font-size:9px; opacity:.7; margin-left:-2px}
html.tv2 .top nav.menu>button.hdon:not(.tvon){color:var(--ink); background:#1A1A1A}
.hddr{position:absolute; top:100%; margin-top:1px; min-width:270px; max-width:340px; background:#0F0F0F; border:1px solid var(--line); border-top:2px solid var(--accent); box-shadow:0 18px 40px rgba(0,0,0,.6); font-family:var(--f-mono); z-index:40; padding-bottom:2px}
.hddr[hidden]{display:none}
.hddr .hdp{margin:0; padding:9px 14px; font-size:11px; color:var(--ink-3); border-bottom:1px solid #1F1F1F} .hddr .hdp b{color:var(--accent); font-weight:500}
.hddr .hdg{margin:0; padding:10px 14px 2px; font-size:10.5px; color:var(--accent); letter-spacing:.04em; text-transform:uppercase}
.hddr button{display:grid; grid-template-columns:24px minmax(0,1fr) auto; align-items:center; gap:8px; width:100%; padding:8px 14px; border:0; border-left:2px solid transparent; background:transparent; color:var(--ink); font:500 12px var(--f-mono); letter-spacing:.04em; text-transform:uppercase; text-align:left; cursor:pointer}
.hddr button:hover,.hddr button:focus-visible{background:#1A1206; border-left-color:var(--accent); outline:0}
.hddr button[aria-current="page"]{color:var(--accent)}
.hddr button:disabled{color:#666; cursor:default} .hddr button:disabled:hover{background:transparent; border-left-color:transparent}
.hddr .hdn{color:#555; font-size:10.5px}
.hddr .hdl small{display:block; margin-top:2px; font:11.5px var(--f-body); letter-spacing:0; text-transform:none; color:var(--ink-3)}
.hddr .hdtag{font-size:9px; font-weight:700; letter-spacing:.05em; padding:2px 5px; background:var(--accent-soft); color:var(--accent); white-space:nowrap}
.hddr .hdsoon{font-size:9px; font-weight:700; letter-spacing:.05em; padding:2px 5px; background:#222; color:var(--ink-3)}
.hddr .hdcnt{font-size:10px; font-weight:600; padding:1px 5px; border:1px solid var(--line); color:var(--ink-3)}
.hddr .hdft{margin:4px 0 0; padding:7px 14px 6px; border-top:1px solid #1F1F1F; font-size:10.5px; color:#555}
/* Sous-menu Markets de gauche dans l'ordre des tiroirs : Watchlist, Banques centrales, Calendrier, Actions & TradFi, Blockchain */
html.tv2 #mktMenu [data-tvmk]{order:1} html.tv2 #mktMenu [data-tvcb]{order:2} html.tv2 #mktMenu [data-tvcal]{order:3} html.tv2 #mktMenu .tvmg[data-g=tf]{order:4}
html.tv2 #mktMenu [data-tf=stock]{order:5} html.tv2 #mktMenu [data-tf=etf]{order:6} html.tv2 #mktMenu [data-tf=index]{order:7} html.tv2 #mktMenu [data-tf=fx]{order:8} html.tv2 #mktMenu [data-tf=cmd]{order:9}
html.tv2 #mktMenu .tvmg[data-g=bc]{order:10} html.tv2 #mktMenu [data-page=cryptos]{order:11} html.tv2 #mktMenu [data-nft]{order:12}
/* ---------- Qubo Research dans le Terminal : fiches d'actifs, Watchlist, Portfolio, « Mes actifs » (2026-11-11) ---------- */
.rsxp{border-color:rgba(255,138,0,.45)}
.rsxp .ph h2{color:var(--accent)}
.rsxper{margin-left:auto; font-family:var(--f-mono); font-size:10.5px; letter-spacing:.06em; color:var(--ink-3); border:1px solid var(--line); padding:2px 7px}
.rsxcv{display:flex; gap:12px; align-items:stretch; margin:2px 0 12px}
.rsxcv .cv{position:relative; overflow:hidden; flex:none; width:132px; height:74px; border:1px solid var(--line); padding:0; cursor:pointer; text-align:left}
.rsxcv .cv .rpmg{font-size:58px; right:-8px; bottom:-16px}
.rsxcv .cv .ey{position:absolute; left:8px; top:7px; font-family:var(--f-mono); font-size:9px; letter-spacing:.08em; color:var(--accent); text-transform:uppercase}
.rsxcv .cv .sy{position:absolute; left:8px; bottom:7px; font-family:var(--f-mono); font-weight:700; font-size:15px; color:var(--ink)}
.rsxcv .cv:hover{border-color:var(--accent)}
.rsxcv .tx{min-width:0; display:flex; flex-direction:column; justify-content:center; gap:6px}
.rsxcv .tx p{margin:0; font-size:13px; line-height:1.45; color:var(--ink)}
.rsxcv .tx .mt{font-family:var(--f-mono); font-size:11px; color:var(--ink-3); text-transform:uppercase; letter-spacing:.04em}
.rsxcv .tx .mt .rpacc{font-size:10.5px; padding:1px 5px}
.rsxno{margin:2px 0 10px; font-size:13px; color:var(--ink-2)}
.rsxac{display:flex; gap:8px}
.rsxb,.rsxac .rpfol{flex:1; height:34px; padding:0 12px; border:1px solid var(--line); background:transparent; color:var(--ink-2); font-family:var(--f-mono); font-size:12px; letter-spacing:.05em; text-transform:uppercase; cursor:pointer; white-space:nowrap}
.rsxb:hover{color:var(--ink); border-color:var(--ink-3)}
.rsxb.p{background:var(--accent); border-color:var(--accent); color:#0A0A0A; font-weight:600}
.rsxb.p:hover{filter:brightness(1.08); color:#0A0A0A}
.rsxac .rpfol.on,.rsxar .rpfol.on{color:var(--accent); border-color:var(--accent)}
.rsxb.sm,.rpfol.sm{flex:none; height:28px; font-size:11px; padding:0 10px}
.rsxev{margin-top:12px; border:1px dashed var(--line); padding:8px 10px; background:rgba(255,255,255,.015)}
.rsxev h4{margin:0 0 4px; font-family:var(--f-mono); font-weight:600; font-size:10.5px; letter-spacing:.08em; color:var(--ink-3); text-transform:uppercase}
.rsxe{display:grid; grid-template-columns:62px minmax(0,1fr) auto; gap:10px; align-items:center; width:100%; padding:6px 0; border:0; border-top:1px solid var(--line); background:none; font:inherit; font-size:12.5px; color:var(--ink-2); text-align:left}
.rsxev h4+.rsxe{border-top:0}
.rsxe .tg{font-family:var(--f-mono); font-weight:600; font-size:10px; letter-spacing:.06em; padding:2px 0; text-align:center; border:1px solid var(--line); color:var(--ink-3)}
.rsxe .ti{overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.rsxe .dt{font-family:var(--f-mono); font-size:11px; color:var(--ink-3); white-space:nowrap; cursor:help; border-bottom:1px dotted var(--ink-3)}
.rsxe .nw{font-style:normal; font-family:var(--f-mono); font-size:9.5px; letter-spacing:.06em; color:#0A0A0A; background:var(--accent); padding:1px 4px; margin-left:4px; vertical-align:1px}
.rsxe.on{grid-template-columns:62px minmax(0,1fr) auto auto; cursor:pointer; color:var(--ink)}
.rsxe.on .rd{font-family:var(--f-mono); font-size:11px; letter-spacing:.04em; text-transform:uppercase; white-space:nowrap}
.rsxe.pv.on .tg{color:#7FB8FF; border-color:#7FB8FF} .rsxe.pv.on .rd{color:#7FB8FF}
.rsxe.fl.on .tg{color:var(--accent); border-color:var(--accent)} .rsxe.fl.on .rd{color:var(--accent)}
.rsxe.on:hover .ti{text-decoration:underline; text-underline-offset:3px}
.rsxe.due{color:var(--ink-3)} .rsxe.due .tg{border-style:dashed}
.rsxe.nx .tg{color:var(--ink-2)}
.rsxot{border-top:1px solid var(--line); margin-top:12px; padding-top:2px}
.rsxot button{display:flex; gap:10px; align-items:center; width:100%; padding:7px 0; border:0; border-bottom:1px dashed var(--line); background:none; font:inherit; font-size:12.5px; color:var(--ink-2); text-align:left; cursor:pointer}
.rsxot button:last-child{border-bottom:0}
.rsxot button:hover span{color:var(--ink); text-decoration:underline; text-underline-offset:3px}
.rsxot b{font-family:var(--f-mono); font-weight:600; font-size:10.5px; color:var(--accent); letter-spacing:.06em; text-transform:uppercase; white-space:nowrap}
.rsxot span{flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.rsxot small{font-family:var(--f-mono); font-size:11px; color:var(--ink-3)}
/* Badges (cartes de la Watchlist, lignes du Portfolio, Mes actifs) */
.rsxbd{flex:none; display:inline-flex; align-items:center; gap:4px; box-sizing:border-box; height:20px; padding:0 6px; border:1px solid var(--accent); background:rgba(255,138,0,.06); color:var(--accent); font-family:var(--f-mono); font-weight:600; font-size:10px; letter-spacing:.05em; text-transform:uppercase; white-space:nowrap; cursor:pointer; line-height:18px}
.rsxbd:hover{background:rgba(255,138,0,.16)}
.rsxbd.pv{border-color:#7FB8FF; color:#7FB8FF; background:rgba(127,184,255,.06)} .rsxbd.pv:hover{background:rgba(127,184,255,.16)}
.rsxbd.due{border-style:dashed; background:transparent}
.rsxbd.g{border-color:var(--line); color:var(--ink-2); background:transparent} .rsxbd.g:hover{color:var(--ink); border-color:var(--ink-3)}
.rsxsl{display:inline-flex; gap:6px; flex:none; margin-left:auto}
.rsxsl:empty{display:none}
.tvpfr .as.rsxon>.mut{max-width:150px}
/* Bandeau du Portfolio */
.rsxband{display:flex; align-items:center; gap:14px; margin:10px 16px 6px; padding:9px 12px; border:1px solid var(--line); border-left:3px solid var(--accent); background:linear-gradient(90deg,rgba(255,138,0,.08),transparent 60%)}
.rsxband .k{font-family:var(--f-mono); font-weight:600; font-size:11px; letter-spacing:.08em; color:var(--accent); white-space:nowrap}
.rsxband .t{flex:1; min-width:0; font-size:13px; color:var(--ink); overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.rsxband .m{font-family:var(--f-mono); font-size:11px; color:var(--ink-3); letter-spacing:.04em; text-transform:uppercase; white-space:nowrap}
.rsxband .rsxb{flex:none; height:30px; font-size:11.5px}
/* Bloc de la Watchlist (colonne de droite) */
.rsxwl{margin:12px; padding:12px; border:1px solid rgba(255,138,0,.45); background:#0F0F0F}
.rsxwl h3{margin:0 0 6px; font-family:var(--f-mono); font-weight:600; font-size:11px; letter-spacing:.08em; color:var(--accent)}
.rsxwl .ls>*{display:flex; gap:10px; align-items:center; width:100%; padding:7px 0; border:0; border-bottom:1px dashed var(--line); background:none; font:inherit; font-size:12.5px; color:var(--ink-2); text-align:left}
.rsxwl .ls>button{cursor:pointer} .rsxwl .ls>button:hover span{color:var(--ink); text-decoration:underline; text-underline-offset:3px}
.rsxwl .ls>:last-child{border-bottom:0}
.rsxwl .ls b{font-family:var(--f-mono); font-weight:600; font-size:10.5px; color:var(--accent); letter-spacing:.06em; white-space:nowrap; min-width:44px}
.rsxwl .ls .pv b,.rsxwl .ls .due b{color:#7FB8FF}
.rsxwl .ls .due{color:var(--ink-3)}
.rsxwl .ls span{flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.rsxwl .ls small{font-family:var(--f-mono); font-size:11px; color:var(--ink-3); white-space:nowrap}
.rsxwl .ls small[data-tip]{cursor:help; border-bottom:1px dotted var(--ink-3)}
.rsxwl .rsxms{margin:6px 0 0; font-family:var(--f-mono); font-size:11px; color:var(--ink-3)}
.rsxlk{margin-top:8px; padding:0; border:0; background:none; color:var(--accent); font-family:var(--f-mono); font-size:11.5px; letter-spacing:.04em; text-transform:uppercase; cursor:pointer}
.rsxlk:hover{text-decoration:underline; text-underline-offset:3px}
/* Qubo Research › Mes actifs */
.rsxah{display:flex; align-items:center; gap:14px; margin:0 0 12px; padding:10px 14px; border:1px solid var(--line); border-left:3px solid var(--accent); background:linear-gradient(90deg,rgba(255,138,0,.08),transparent 60%)}
.rsxah b{flex:1; font-weight:500; font-size:13.5px; color:var(--ink)}
.rsxah .rsxb{flex:none}
.rsxal{border:1px solid var(--line)}
.rsxar{display:grid; grid-template-columns:150px 170px minmax(0,1fr) 220px 210px; gap:14px; align-items:center; padding:10px 14px; border-top:1px solid var(--line)}
.rsxar.hd{border-top:0; padding:8px 14px; font-family:var(--f-mono); font-size:10.5px; letter-spacing:.08em; color:var(--ink-3)}
.rsxar .as{display:flex; align-items:center; gap:8px; min-width:0}
.rsxar .as .logo{flex:none; width:22px; height:22px; font-size:8px}
.rsxar .as b{font-family:var(--f-mono); font-size:13px; color:var(--ink)}
.rsxar .src{display:flex; flex-wrap:wrap; gap:4px}
.rsxar .src i{font-style:normal; font-family:var(--f-mono); font-size:10px; letter-spacing:.05em; padding:1px 5px; border:1px solid var(--line); color:var(--ink-3)}
.rsxar .src i.pf{color:var(--ink-2)}
.rsxar .ti{min-width:0; padding:0; border:0; background:none; font:inherit; font-size:13px; color:var(--ink); text-align:left; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.rsxar button.ti{cursor:pointer} .rsxar button.ti:hover{text-decoration:underline; text-underline-offset:3px}
.rsxar .ti small{display:block; margin-top:2px; font-family:var(--f-mono); font-size:10.5px; color:var(--ink-3); text-transform:uppercase; letter-spacing:.04em}
.rsxar .ti.no{color:var(--ink-3)}
.rsxar .evs{display:flex; flex-wrap:wrap; gap:6px}
.rsxar .ac{display:flex; gap:6px; justify-content:flex-end}
.rsxar.miss .as b{color:var(--ink-2)}
/* Bulle d'explication des dates */
.rsxtip{position:fixed; z-index:10000; max-width:300px; padding:8px 10px; background:#151515; border:1px solid var(--ink-3); color:var(--ink); font-size:12px; line-height:1.45; pointer-events:none; box-shadow:0 6px 20px rgba(0,0,0,.5)}
.rsxtip[hidden]{display:none}
/* Mes actifs au format de la bibliothèque (Paul, 2026-11-11) */
.rsxcov{margin-left:auto; font-family:var(--f-mono); font-size:11.5px; color:var(--ink-3); letter-spacing:.03em; white-space:nowrap}
.rpbar .rsxord{flex:none; height:34px}
.rsxmiss .cv{opacity:.55} .rsxmiss:hover .cv{opacity:.8}
.rsxmiss .bd>span:first-child{color:var(--ink-2)}
/* Mes suivis en calendrier (proposition, 2026-11-11) */
.rsxfg{margin:0 0 26px}
.rsxfg h3{display:flex; align-items:baseline; gap:14px; margin:0 0 10px; font-family:var(--f-mono); font-weight:700; font-size:34px; letter-spacing:-.01em; color:var(--ink)}
.rsxfg h3 small{font-weight:400; font-size:11px; letter-spacing:.08em; color:var(--ink-3); text-transform:uppercase}
.rsxfr{display:grid; grid-template-columns:170px minmax(0,1fr) 340px 320px; min-height:150px; border-top:1px solid var(--line); border-bottom:1px solid var(--line)}
.rsxfr+.rsxfr{border-top:0}
.rsxfr .dt{display:flex; flex-direction:column; justify-content:center; gap:4px; padding:14px 0}
.rsxfr .dt b{font-family:var(--f-mono); font-weight:700; font-size:64px; line-height:1; color:var(--ink); letter-spacing:-.03em}
.rsxfg:first-child .rsxfr:first-of-type .dt b{color:var(--accent)}
.rsxfr .dt span{font-family:var(--f-mono); font-size:11px; letter-spacing:.08em; color:var(--ink-3)}
.rsxfr .dt em{font-style:normal; font-family:var(--f-mono); font-size:11px; letter-spacing:.08em; color:var(--accent)}
.rsxfr .bn{position:relative; overflow:hidden; display:flex; flex-direction:column; justify-content:flex-end; padding:16px 20px; border-left:1px solid var(--line)}
.rsxfr .bn .rpmg{font-size:120px; bottom:-34px}
.rsxfr .bn .ey{position:absolute; top:14px; left:20px; font-family:var(--f-mono); font-size:10.5px; letter-spacing:.08em; color:var(--accent)}
.rsxfr .bn .sy{position:relative; font-family:var(--f-mono); font-weight:700; font-size:30px; color:var(--ink)}
.rsxfr .bn .nm{position:relative; font-size:13px; color:var(--ink-2)}
.rsxfr .c{display:flex; flex-direction:column; gap:8px; padding:14px 16px; border:0; border-left:1px solid var(--line); background:repeating-linear-gradient(135deg,rgba(255,255,255,.012) 0 6px,transparent 6px 12px); font:inherit; color:inherit; text-align:left}
.rsxfr button.c{cursor:pointer} .rsxfr button.c:hover{background-color:rgba(255,138,0,.05)} .rsxfr button.c:hover .tx{color:var(--ink)}
.rsxfr .c .hd{display:flex; justify-content:space-between; align-items:center; gap:8px; font-family:var(--f-mono); font-size:11px; color:var(--ink-2)}
.rsxfr .c .rptag{font-style:normal; font-family:var(--f-mono); font-size:10px; letter-spacing:.06em; padding:1px 5px; border:1px solid var(--ink-3); color:var(--ink-2); text-transform:uppercase}
.rsxfr .c .rptag.nxt{border-color:var(--accent); color:#0A0A0A; background:var(--accent); font-weight:600}
.rsxfr .c .tx{font-size:12.5px; line-height:1.5; color:var(--ink-2)} .rsxfr .c .tx.mu{color:var(--ink-3)}
.rsxfr .c .pv{align-self:flex-start; font-family:var(--f-mono); font-size:10.5px; letter-spacing:.05em; color:#7FB8FF; border:1px dashed #7FB8FF; padding:1px 6px; cursor:help}
.rsxfr .c .ft{margin-top:auto; display:flex; justify-content:space-between; align-items:center; font-family:var(--f-mono); font-size:11px; color:var(--ink-3)}
.rsxfr .c .rpacc{font-size:10.5px}
/* Suivis par actif : tous les documents de l'actif */
.rsxfr .c .ln{display:grid; grid-template-columns:62px minmax(0,1fr) auto; gap:8px; align-items:center; width:100%; padding:4px 0; border:0; border-bottom:1px dashed var(--line); background:none; font:inherit; font-size:12px; color:var(--ink-2); text-align:left}
.rsxfr .c button.ln{cursor:pointer} .rsxfr .c button.ln:hover span{color:var(--ink); text-decoration:underline; text-underline-offset:3px}
.rsxfr .c .ln span{overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.rsxfr .c .ln small{font-family:var(--f-mono); font-size:10.5px; color:var(--ink-3); white-space:nowrap}
.rsxfr .c .ln small[data-tip]{cursor:help; border-bottom:1px dotted var(--ink-3)}
.rsxfr .c .ln .k{text-align:center; padding:1px 0; background:none}
.rsxfr .c .ln .k.d-report{color:var(--accent); border-color:var(--accent)} .rsxfr .c .ln .k.d-ideas{color:#BED750; border-color:#BED750} .rsxfr .c .ln .k.d-sector{color:var(--ink); border-color:var(--ink-2)}
.rsxfr .c .ln .k.d-preview,.rsxfr .c .ln.pv .k{color:#7FB8FF; border-color:#7FB8FF} .rsxfr .c .ln .k.d-flash{color:var(--accent); border-color:var(--accent)}
.rsxfr .c .ln.pv .k{border-style:dashed}
.rsxfr .c .ln.up{color:var(--ink-3)}
.rsxfr .c .ln .nw{font-style:normal; font-family:var(--f-mono); font-size:9px; color:#0A0A0A; background:var(--accent); padding:0 4px; margin-left:4px}
.rsxfr .c .ft{justify-content:flex-end; gap:6px; flex-wrap:wrap}
.rsxfr .c .ln.miss{cursor:pointer; color:var(--ink-3)} .rsxfr .c .ln.miss .k{border-style:dashed; color:var(--ink-3)}
.rsxfr .c .ln.miss .or{color:var(--accent); border:1px solid var(--accent); padding:2px 6px} .rsxfr .c .ln.miss:hover .or{background:var(--accent); color:#0A0A0A}
.rpbar+.rsxfg h3{margin-top:8px}
.rsxfr.nd{grid-template-columns:minmax(0,1fr) 340px 320px}
/* Mes actifs : bandeau de l'actif sur toute la ligne, vignettes des documents posées à droite */
.rsxfr.nd2{display:grid; grid-template-columns:minmax(0,1fr); min-height:0; position:relative; margin-bottom:12px; border-top:1px solid var(--line)}
.rsxfr.nd2{--tr:min(var(--tw), 100% - 320px)}
.rsxfr.nd2 .bn{grid-area:1/1; border-left:0; min-height:224px; padding:16px 20px; padding-right:calc(var(--tr) + 20px)}
.rsxfr.nd2 .bn .rpmg{right:calc(var(--tr) - 10px)}
.rsxfr.nd2 .bn .fo{position:relative; display:flex; gap:6px; flex-wrap:wrap; margin-top:10px}
.rsxfr.nd2 .bn .fo .rpfol{background:#0A0A0A}
.rsxfr.nd2 .rsxth{grid-area:1/1; justify-self:end; align-self:center; position:relative; display:grid; grid-auto-flow:column; grid-auto-columns:250px; gap:0; padding:0; align-self:stretch; max-width:calc(100% - 320px); overflow-x:auto; overflow-y:hidden; overscroll-behavior-x:contain; scroll-snap-type:x proximity; scrollbar-width:thin; scrollbar-color:rgba(255,138,0,.55) #151515}
/* Trop de documents : le bandeau de l'actif garde au moins 320 px, les vignettes défilent à l'horizontale (demande de Paul, 2026-11-12) */
.rsxfr.nd2 .rsxth>*{scroll-snap-align:start}
.rsxfr.nd2 .rsxth::-webkit-scrollbar{height:6px} .rsxfr.nd2 .rsxth::-webkit-scrollbar-track{background:#151515} .rsxfr.nd2 .rsxth::-webkit-scrollbar-thumb{background:rgba(255,138,0,.55)}
.rsxfr.nd2 .rsxth>*{height:100%; margin:0}
.rsxfr.nd2 .rsxth>*+*{border-left:0!important}
.rsxfr.nd2 .rsxth .rpcard{background:#111}
.rsxcta{border:1px dashed var(--accent)!important; background:rgba(255,138,0,.04); cursor:pointer; text-align:left}
.rsxcta .cv{position:relative; display:flex; align-items:center; justify-content:center; height:118px; border-bottom:1px dashed rgba(255,138,0,.4)}
.rsxcta .cv .ey{position:absolute; top:12px; left:14px; font-family:var(--f-mono); font-size:10px; letter-spacing:.1em; color:var(--accent)}
.rsxcta .cv .pl{font-family:var(--f-mono); font-size:56px; line-height:1; color:var(--accent)}
.rsxcta:hover{background:rgba(255,138,0,.1)} .rsxcta:hover .rpacc{background:var(--accent); color:#0A0A0A}
/* Fond du bandeau de « Mes actifs » : symbole géant en fil de fer (piste C, validée par Paul) */
.rsxfr.nd2 .bn .bg{position:absolute; inset:0; right:var(--tr); pointer-events:none}
/* Le symbole tient toujours en entier dans le bandeau, même réduit à 320 px (demande de Paul, 2026-11-12) */
.rsxfr.nd2 .bn .bg{container-type:size}
.rsxfr.nd2 .bn .bg b{font:inherit; font-size:min(1em, (100cqw - 14px) / (var(--n) * .6), 100cqh)}
.rsxfr.nd2 .bn .ey,.rsxfr.nd2 .bn .sy,.rsxfr.nd2 .bn .nm,.rsxfr.nd2 .bn .fo{z-index:1}
@media (max-width:640px){.rsxfr.nd2 .bn{padding-right:20px; min-height:150px} .rsxfr.nd2 .bn .rpmg{right:-10px} .rsxfr.nd2 .bn .bg{right:0} .rsxfr.nd2 .rsxth{grid-area:2/1; justify-self:stretch; max-width:100%; grid-auto-columns:min(250px, 78vw)}}
.bgc{display:flex; align-items:center; justify-content:flex-end; padding-right:10px; overflow:hidden; font-family:var(--f-mono); font-weight:800; font-size:230px; letter-spacing:-.04em; color:transparent; -webkit-text-stroke:1.5px rgba(var(--rpc),.45); line-height:1}
html.tv2 #pgRep .reppg>.rsxsc{flex:1 1 auto; min-height:0; overflow-y:auto; padding-bottom:6px}
/* Archives (maquettes validées par Paul, 2026-11-11) : frises par actif ou par série, tuiles des secteurs et des idées */
html.tv2 #pgRep .reppg>.rpaw{flex:1 1 auto; min-height:0; overflow-y:auto; padding-bottom:6px}
.rpaw{display:flex; flex-direction:column; gap:10px}
.rpaf{display:flex; height:212px; flex:none; border:1px solid var(--line); background:#0C0C0C}
.rpaf .bn{width:300px; flex:none; position:relative; overflow:hidden; padding:16px; display:flex; flex-direction:column; align-items:flex-start; gap:10px; border-right:1px solid var(--line)}
.rpaf .bn .bg{position:absolute; inset:0; pointer-events:none; -webkit-text-stroke:2px rgba(var(--rpc),.3)}
.rpaf .bn>:not(.bg){position:relative}
.rpaf .bn .ey{font-family:var(--f-mono); font-size:10.5px; letter-spacing:.06em; color:rgb(var(--rpc))}
.rpaf .bn .nm{margin-top:auto; margin-bottom:auto; display:flex; flex-direction:column; gap:2px; text-shadow:0 1px 10px rgba(0,0,0,.8)}
.rpaf .bn .nm b{font-family:var(--f-mono); font-size:26px; font-weight:700; color:var(--ink)}
.rpaf .bn .nm span{font-size:13px; color:var(--ink-2)}
.rpaf .bn .rpfol{background:#0A0A0A}
.rpaf .st{flex:1; min-width:0; display:flex; overflow-x:auto; scrollbar-width:thin}
.rpaf .yr{width:40px; flex:none; display:flex; align-items:center; justify-content:center; border-right:1px solid var(--line); background:#0E0E0E}
.rpaf .yr span{transform:rotate(-90deg); font-family:var(--f-mono); font-size:13px; font-weight:700; letter-spacing:.2em; color:var(--ink); white-space:nowrap}
/* Vignette d'une édition (fond « GF2 ») */
.rpaf .ed{width:206px; flex:none; display:flex; flex-direction:column; padding:0; border:0; border-right:1px solid var(--line); background:transparent; color:var(--ink); font:inherit; text-align:left; cursor:pointer}
.rpaf .ed:hover{background:#121212} .rpaf .ed:focus-visible{outline:2px solid var(--accent); outline-offset:-2px}
.rpaf .ed .cv{height:100px; flex:none; position:relative; overflow:hidden; padding:10px 12px; border-bottom:1px solid var(--line); background:#0E0E0E}
.rpaf .ed.cur .cv{background:#141008}
.rpaf .tp{position:absolute; inset:-24px -50px; display:flex; flex-direction:column; gap:2px; transform:rotate(-12deg); font-family:var(--f-mono); font-size:10px; font-weight:600; letter-spacing:.2em; white-space:pre; pointer-events:none;
  color:rgba(var(--rpc),.26); -webkit-mask-image:linear-gradient(90deg,transparent 10%,#000 70%); mask-image:linear-gradient(90deg,transparent 10%,#000 70%)}
.rpaf .cal{position:absolute; right:10px; bottom:10px; display:grid; grid-template-columns:repeat(7,6px); gap:3px}
.rpaf .cal i{width:6px; height:6px; display:block; background:#262626}
.rpaf .cal i.p{background:rgba(var(--rpc),.55)} .rpaf .cal i.on{background:var(--accent); outline:2px solid rgba(255,138,0,.35)} .rpaf .cal i.x{background:transparent}
.rpaf .ed .fg{position:relative; display:flex; flex-direction:column; justify-content:space-between; align-items:flex-start; height:100%}
.rpaf .ed .bdg{font-style:normal; font-family:var(--f-mono); font-size:9.5px; letter-spacing:.06em; padding:1px 5px; background:var(--accent); color:#0A0A0A; font-weight:600}
.rpaf .ed .pe{font-style:normal; font-family:var(--f-mono); font-size:9.5px; letter-spacing:.06em; color:var(--ink-3); background:#0E0E0E; padding:0 2px}
.rpaf .ed .mo{font-family:var(--f-mono); font-size:17px; font-weight:700; color:var(--accent); background:rgba(14,14,14,.85); padding:0 3px 0 0}
.rpaf .ed .bd{flex:1; display:flex; flex-direction:column; gap:8px; padding:10px 12px; min-height:0}
.rpaf .ed .ti{font-size:12px; line-height:1.35; font-weight:600; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden}
.rpaf .ed .ft{margin-top:auto; display:flex; justify-content:space-between; align-items:center; gap:6px; font-family:var(--f-mono); font-size:10.5px; color:var(--ink-3)}
.rpaf .rperr{margin:0; font-size:11px}
/* Previews & flash : une paire par date, preview au-dessus de la flash, icône pixel par type d'événement */
.rpaf.nf .pr{width:300px; flex:none; display:flex; flex-direction:column; border-right:1px solid var(--line)}
.rpaf.nf .ph{display:flex; align-items:baseline; gap:8px; padding:8px 12px; border-bottom:1px solid var(--line); background:#0E0E0E}
.rpaf.nf .ph b{font-size:24px; font-weight:700; line-height:1; color:var(--ink)}
.rpaf.nf .ph span{font-family:var(--f-mono); font-size:13px; font-weight:600; color:rgb(var(--rpc))}
.rpaf.nf .ph small{margin-left:auto; font-family:var(--f-mono); font-size:10.5px; color:var(--ink-3)}
.rpaf.nf .nt{flex:1; min-height:0; display:flex; padding:0; border:0; border-bottom:1px solid #191919; background:transparent; color:var(--ink); font:inherit; text-align:left}
.rpaf.nf .nt:last-child{border-bottom:0} .rpaf.nf button.nt{cursor:pointer} .rpaf.nf button.nt:hover{background:#121212}
.rpaf.nf .nt .cv{width:120px; flex:none; position:relative; overflow:hidden; padding:8px 9px; display:flex; flex-direction:column; justify-content:space-between; align-items:flex-start; border-right:1px solid #191919; background:#0E0E0E}
.rpaf.nf .nt .cv>.rptag,.rpaf.nf .nt .cv small{position:relative; z-index:1}
.rpaf.nf .nt .cv .rptag{font-size:9.5px; background-color:#0E0E0E} .rpaf.nf .nt .cv .rptag.flash{background:var(--accent)}
.rpaf.nf .nt .cv small{font-family:var(--f-mono); font-size:9.5px; color:#D6D3CB; background:rgba(14,14,14,.85); padding-right:2px}
.rpaf.nf .nt .t{padding:8px 10px; font-size:12px; line-height:1.35; display:flex; flex-direction:column; justify-content:center; gap:4px}
.rpaf.nf .nt .t>span:first-child{display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden}
.rpaf.nf .nt.no .t{color:var(--ink-3); font-size:11.5px}
.rpaf.nf .px{position:absolute; right:7px; top:9px; display:grid; grid-template-columns:repeat(12,4px)}
.rpaf.nf .px i,.rpaf.nf .spk i{display:block; width:4px; height:4px}
.rpaf.nf .px.p i.o{background:#3A3A3A} .rpaf.nf .px.f i.o{background:rgb(var(--rpc))}
.rpaf.nf .px.f i.o:nth-child(7n){animation:rpatw 2.4s steps(2) infinite} .rpaf.nf .px.f i.o:nth-child(11n){animation:rpatw 3.1s steps(2) infinite .6s}
.rpaf.nf .spk{position:absolute; right:3px; top:3px; z-index:2; display:grid; grid-template-columns:repeat(3,3px)} .rpaf.nf .spk i{width:3px; height:3px}
.rpaf.nf .spk i.o{background:var(--accent); animation:rpatw 1s steps(2) infinite}
@keyframes rpatw{0%{opacity:1} 50%{opacity:.3}}
@media (prefers-reduced-motion:reduce){.rpaf.nf .px i.o,.rpaf.nf .spk i.o{animation:none}}
/* Secteurs (2 lignes de 5) et idées (5 par ligne, module défilant) : tuile du sujet, éditions listées sous le titre */
.rpat{display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px}
.rpat .col{height:348px; border:1px solid var(--line); background:#0C0C0C; display:flex; flex-direction:column; min-width:0}
.rpat .ch{height:108px; flex:none; position:relative; overflow:hidden; padding:12px 14px; display:flex; flex-direction:column; justify-content:space-between; align-items:flex-start; border:0; border-bottom:1px solid var(--line); color:var(--ink); font:inherit; text-align:left; cursor:pointer}
.rpat .ch:hover{filter:brightness(1.15)} .rpat .ch>:not(.rpmg){position:relative}
.rpat .ch .rpmg{font-size:92px; bottom:-26px; right:-10px}
.rpat .ch .rptag{font-size:9.5px}
.rpat .ch .hh{display:flex; flex-direction:column; gap:2px; min-width:0; max-width:100%; text-shadow:0 1px 10px rgba(0,0,0,.8)}
.rpat .ch .hh b{font-family:var(--f-mono); font-size:17px; font-weight:700; letter-spacing:.02em; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.rpat .ch .hh small{font-size:12px; color:var(--ink-2); overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.rpat .ls{flex:1; min-height:0; overflow-y:auto; scrollbar-width:thin; display:flex; flex-direction:column}
.rpat .dk{display:grid; grid-template-columns:64px minmax(0,1fr); gap:10px; align-items:center; padding:10px 14px; border:0; border-bottom:1px solid #191919; background:transparent; color:var(--ink-2); font:inherit; text-align:left; cursor:pointer}
.rpat .dk:hover{background:#121212} .rpat .dk:hover .t{color:var(--ink)}
.rpat .dk .pe{font-family:var(--f-mono); font-size:17px; font-weight:700; line-height:1.1; color:var(--ink)}
.rpat .dk .pe small{display:block; font-weight:600; font-size:12px; margin-top:2px; color:var(--ink-2)}
.rpat .dk .t{font-size:13px; line-height:1.35; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden}
.rpat .dk.cur{background:#120E07} .rpat .dk.cur .pe{color:var(--accent)}
.rpat.ideas .dk.cur{background:#11140A} .rpat.ideas .dk.cur .pe{color:#BED750}
.rpat .rperr{margin:0 14px 6px; font-size:11px}
.rpat .ft{flex:none; padding:6px 14px; border-top:1px solid var(--line); display:flex; justify-content:space-between; align-items:center; gap:8px; font-family:var(--f-mono); font-size:10px; color:var(--ink-3)}
.rpat .ft .rpfol.sm{height:24px; font-size:10px; padding:0 8px}
@media (max-width:1280px){.rpat{grid-template-columns:repeat(4,minmax(0,1fr))}}
/* Macro Calendar, vue calendrier (piste A, 2026-11-12) : 5 semaines, mois suivant en orange, Previews / Flash Research. */
html.tv2 #mcPanel .ph{flex-wrap:nowrap}
#mcPanel .ph h2{margin-right:auto}
.mcgnav{display:flex; align-items:center}
.mcgnav .nav{display:flex; gap:6px; align-items:center; font-family:var(--f-mono); font-size:10.5px; color:var(--ink-3)}
.mcgnav button{border:1px solid var(--line); border-radius:4px; background:transparent; color:var(--ink-2); font:inherit; height:20px; min-width:20px; padding:0 5px; cursor:pointer}
.mcgnav button.rg{border-color:transparent; color:var(--ink-3)} .mcgnav button.rg:not([disabled]){color:var(--accent); border-color:var(--accent-soft)}
.mcgnav button:hover:not([disabled]){color:var(--accent); border-color:var(--accent)}
.mcgseg{display:flex; border:1px solid var(--line); border-radius:4px; overflow:hidden}
.mcgseg button{border:0; background:transparent; padding:2px 9px; font:600 10px var(--f-mono); letter-spacing:.04em; text-transform:uppercase; color:var(--ink-3); cursor:pointer}
.mcgseg button[aria-pressed="true"]{background:var(--accent-soft); color:var(--accent)}
.tvmc.cal{display:flex; flex-direction:column; container-type:inline-size}
.mcg .rptag .sf{display:none}
@container (max-width:760px){
  .mcg .rptag .lf{display:none} .mcg .rptag .sf{display:inline}
  .mcg .c.we .ch.rs{flex-wrap:nowrap} .mcg .c.we .ch.rs .t{flex-basis:auto}
  .mcg .ch.rs .st{display:none}
}
@container (max-width:520px){
  .mcg{grid-template-columns:26px repeat(5,minmax(0,1fr)) repeat(2,minmax(0,.7fr))}
  .mcg .ch b,.mcg .c .d em,.mcg .ch .px{display:none}
  .mcg .c{padding:3px 4px}
}
.mcg{flex:1; min-height:0; display:grid; grid-template-columns:30px repeat(5,minmax(0,1fr)) repeat(2,minmax(0,.8fr)); grid-template-rows:22px repeat(5,minmax(0,1fr)); border-top:1px solid var(--line)}
.mcg .dh{display:flex; align-items:center; padding-left:6px; color:var(--ink-3); font-size:10px; letter-spacing:.04em; text-transform:uppercase; border-bottom:1px solid var(--line)}
.mcg .wk{color:var(--ink-3); font-size:9.5px; padding:6px 0 0 2px; border-bottom:1px solid #1A1A1A; line-height:1.3}
.mcg .wk.cur{color:var(--accent)}
.mcg .c{display:flex; flex-direction:column; gap:3px; min-width:0; overflow:hidden; padding:4px 5px; border-left:1px solid #1A1A1A; border-bottom:1px solid #1A1A1A}
.mcg .c .d{display:flex; justify-content:space-between; color:var(--ink-2); font-size:10.5px}
.mcg .c .d em{font-style:normal; color:var(--ink-3); font-size:9.5px; text-transform:uppercase}
.mcg .c.we{background:#0C0C0C} .mcg .c.we .d{color:var(--ink-3)}
.mcg .c.past .d{color:#4A4A46}
.mcg .c.today{box-shadow:inset 0 0 0 1px var(--accent)} .mcg .c.today .d,.mcg .c.today .d em{color:var(--accent)} .mcg .c.today .d em{font-weight:600}
.mcg .c.nm{background:#140D05} .mcg .c.nm.we{background:#100A04} .mcg .c.nm .d{color:#E0A458}
.mcg .c.nm .ch:not(.rs){background:#1E150A}
.mcg .c.nm1{box-shadow:inset 2px 0 0 var(--accent)} .mcg .c.nmt{box-shadow:inset 0 2px 0 var(--accent)} .mcg .c.nm1.nmt{box-shadow:inset 2px 2px 0 var(--accent)}
.mcg .c .d .mo{color:var(--accent); font-weight:600; text-transform:uppercase}
.mcg .ch{display:flex; align-items:center; gap:4px; flex:none; border:0; border-left:2px solid var(--c,var(--ink-3)); background:#151515; padding:2px 4px; white-space:nowrap; overflow:hidden; font:inherit; font-size:10.5px; line-height:1.35; color:var(--ink); text-align:left; cursor:default}
.mcg .ch b{font-weight:500; color:var(--ink-2)} .mcg .ch .t{flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis}
.mcg .ch .px{margin-left:auto}
.mcg .ch.rs{background:transparent; border:1px dashed #333; border-left:2px solid var(--ink-3); color:var(--ink-2)}
.mcg .ch.rs .rptag{font-size:8.5px; letter-spacing:.02em; padding:0 3px; flex:none}
.mcg .ch.rs .st{margin-left:auto; flex:none; font-size:9.5px; color:var(--ink-3)}
.mcg .ch.rs.no{opacity:.75} .mcg .ch.rs.no .st{display:none} .mcg .ch.rs.no .t{color:var(--ink-3)}
.mcg .ch.rs.fl{border-left-color:var(--accent)}
.mcg .ch.rs.ok{border:1px solid #3A3A3A; border-left:2px solid var(--ink); background:#1C1C1C; cursor:pointer}
.mcg .ch.rs.ok.fl{border-left-color:var(--accent)} .mcg .ch.rs.ok .t{color:var(--ink); font-weight:500} .mcg .ch.rs.ok .st{color:var(--up)}
.mcg .ch.rs.ok:hover,.mcg .ch.rs.ok:focus-visible{border-color:var(--accent); outline:0}
.mcg .c.we .ch.rs{flex-wrap:wrap; row-gap:2px} .mcg .c.we .ch.rs .t{flex-basis:100%}
.mcg .c .d .more{color:var(--accent); font-size:9.5px}
.tvmc .k-mac{--c:var(--accent)} .tvmc .k-cb{--c:#E566A5} .tvmc .k-ern{--c:#3CC7BF} .tvmc .k-exp{--c:#F0B03A}
.tvmc .px{display:inline-flex; gap:2px; vertical-align:1px} .tvmc .px i{width:5px; height:5px; background:#2A2A2A} .tvmc .px i.f{background:var(--c,var(--accent))}
.mcglg{display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; padding-top:6px; color:var(--ink-3); font-size:10.5px}
.mcglg .lg{display:flex; flex-wrap:wrap; gap:2px 12px; white-space:nowrap; align-items:center}
.mcglg .lg>span:not(.nk)::before{content:""; display:inline-block; width:7px; height:7px; margin-right:5px; background:var(--c)}
.mcglg .rptag{font-size:9px; padding:0 4px} .mcglg b.ok{color:var(--up); font-weight:400}
.mcgtip{position:fixed; z-index:60; width:260px; background:#161616; border:1px solid #3A3A3A; box-shadow:0 12px 30px -8px rgba(0,0,0,.8); padding:9px 11px; font-family:var(--f-mono); font-size:11px; line-height:1.55; color:var(--ink); pointer-events:none}
.mcgtip .h{color:var(--accent); font-size:10px; letter-spacing:.05em; text-transform:uppercase}
.mcgtip .n{font-weight:600; font-size:12px; margin:2px 0 4px} .mcgtip .n .cc{font-style:normal; color:var(--ink-3); font-weight:400}
.mcgtip .n .rptag{font-size:9px; padding:0 4px; vertical-align:1px}
.mcgtip .sb{color:var(--ink-3); font-size:10.5px} .mcgtip .sb.ok{color:var(--up)}
.mcgtip .r{display:flex; justify-content:space-between; gap:10px; color:var(--ink-2)} .mcgtip .r b{color:var(--ink); font-weight:500}
/* Suites d'un rapport (notes hebdo, points de mi-mois) : bloc rapport + liste, Library, Mes actifs et Archives (Paul, 2026-11-13). */
.rpgrid{grid-auto-flow:row dense}
.rpgrid>.rpw{grid-column:span 2}
.rpw{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); height:188px; border:1px solid var(--line); background:var(--surface); overflow:hidden}
.rpw>.rpcard{border:0; border-right:1px solid var(--line); height:100%}
.rpw>.rpcard .ft.vw{justify-content:flex-start}
.rpw>.rpcard .ft.vw b{color:var(--accent); font-family:var(--f-mono); font-size:11px; font-weight:600; letter-spacing:.08em}
.rpw>.rpcard:hover .ft.vw b{text-decoration:underline}
.rpw .fu{display:flex; flex-direction:column; min-width:0; min-height:0}
.rpw .fu .hd{flex:none; height:28px; display:flex; align-items:center; justify-content:space-between; gap:8px; padding:0 12px; border-bottom:1px solid var(--line); font-family:var(--f-mono); font-size:9.5px; letter-spacing:.1em; color:var(--ink-3); white-space:nowrap}
.rpw .fu .hd b{color:var(--ink-2); font-weight:600}
.rpw .fu .ls{flex:1; display:flex; flex-direction:column; overflow-y:auto; scrollbar-width:thin; scrollbar-color:rgba(255,138,0,.55) #151515}
.rpw .row{display:flex; align-items:center; gap:10px; flex:1 1 0; min-height:32px; padding:0 12px; box-sizing:border-box; border:0; border-bottom:1px solid #1F1F1F; background:none; color:var(--ink); font:inherit; text-align:left; width:100%; cursor:pointer}
.rpw .row:last-child{border-bottom:0}
.rpw button.row:hover{background:#171717}
.rptag.fu{flex:none; width:74px; box-sizing:border-box; text-align:center; position:static; font-style:normal; font-family:var(--f-mono); font-size:9.5px; letter-spacing:.06em; padding:1px 0; white-space:nowrap}
.rptag.fu.wk{border:1px solid var(--accent); color:var(--accent)}
.rptag.fu.mid{border:1px solid #6E96FF; color:#9DB6FF}
.rptag.fu.nx{border:1px solid var(--ink); background:var(--ink); color:#0A0A0A}
.rpw .row .d{font-family:var(--f-mono); font-size:12px; font-weight:600; white-space:nowrap}
.rpw .row .st{margin-left:auto; font-family:var(--f-mono); font-size:10px; color:var(--ink-3); white-space:nowrap}
.rpw .row .st.go{color:var(--accent); font-weight:600; letter-spacing:.06em}
.rpw .row.new .d{color:var(--accent)}
.rpw .row.wait{cursor:default} .rpw .row.wait .d{color:var(--ink-3); font-weight:500}
.rpw .row.wait .rptag.fu{border-style:dashed}
.rpw .row.wait .rptag.fu.nx{background:none; color:var(--ink-2); border-color:var(--ink-3)}
.rsxth>.rpw{height:100%; border:0}
.rsxth>.rpw{grid-template-columns:250px minmax(0,1fr)}
.rsxfr.nd2 .rsxth{grid-auto-columns:auto}
.rsxth>.rpcard{width:250px}
.rsxth>.rpw{width:560px}
.rpaf .edw{display:flex; flex:none; border-right:1px solid var(--line)}
.rpaf .edw>.ed{border-right:1px solid #1F1F1F}
.rpaf .edw .fl{width:206px; display:flex; flex-direction:column; background:#0C0C0C}
.rpaf .edw .fl .hd{height:30px; flex:none; display:flex; align-items:center; justify-content:space-between; padding:0 12px; border-bottom:1px solid #1F1F1F; font-family:var(--f-mono); font-size:9.5px; letter-spacing:.1em; color:var(--ink-3)}
.rpaf .edw .fl .rw{display:grid; grid-template-columns:50px auto 1fr; gap:8px; align-items:center; height:34px; padding:0 12px; border:0; border-bottom:1px solid #1A1A1A; background:none; color:var(--ink); font:inherit; text-align:left; cursor:pointer}
.rpaf .edw .fl .rw:hover{background:#151515}
.rpaf .edw .fl .rw b{font-family:var(--f-mono); font-size:11.5px; font-weight:600}
.rpaf .edw .fl .rw small{justify-self:end; font-family:var(--f-mono); font-size:10px; color:var(--ink-3)}
.rpaf .edw .fl .rw small.go{color:var(--accent); font-weight:600}
.rpaf .edw .fl .rw.wait{cursor:default; color:var(--ink-3)} .rpaf .edw .fl .rw.wait .rptag.fu{border-style:dashed}
.rpaf .edw .fl .no{margin:0; padding:10px 12px; font-size:11.5px; color:var(--ink-3)}
.rpaf .edw>.ed.big .cv{height:100%; border-bottom:0; padding:12px 14px}
.rpaf .edw>.ed.big .mo{font-size:26px; line-height:1.1}
/* ---------- Qubo Research : quatre rubriques + page par actif (refonte validée par Paul le 2026-11-18) ----------
   For you, Browse, Calendar, My research ; menu avec recherche, actifs suivis et « Order a report » ; commande intégrée. */
html.tv2 #pgRep .reppg>.rnsc{flex:1 1 auto; min-height:0; overflow-y:auto; padding:0 4px 6px 0}
html.tv2 #pgRep .reppg>.rntabs{margin-bottom:12px}
.rnh{display:flex; align-items:center; gap:10px; margin:20px 0 10px; font:600 12px var(--f-mono); letter-spacing:.08em; text-transform:uppercase; color:var(--accent)}
.rnsc>.rnh:first-child,.rncols>div>.rnh:first-child{margin-top:4px}
.rnh small{color:var(--ink-3); font-weight:500; letter-spacing:.04em; font-size:11px}
.rnmore{margin-left:auto; background:none; border:0; padding:4px 0; color:var(--ink-2); font:500 11px var(--f-mono); letter-spacing:.04em; cursor:pointer; text-transform:none} .rnmore:hover{color:var(--accent)}
.rpgrid.rn5{grid-template-columns:repeat(5,minmax(0,1fr))} .rpgrid.rn3{grid-template-columns:repeat(3,minmax(0,1fr))} .rpgrid.rn1{grid-template-columns:minmax(0,1fr)}
.rpgrid.rn5>*,.rpgrid.rn3>*,.rpgrid.rn1>*{grid-column:auto!important; min-width:0; max-width:none}
@media (max-width:1500px){.rpgrid.rn5{grid-template-columns:repeat(4,minmax(0,1fr))} .rpgrid.rn5>:nth-child(5){display:none}}
.rncols{display:grid; grid-template-columns:minmax(0,1.35fr) minmax(0,1fr); gap:20px; align-items:start}
.rnbox{border:1px solid var(--line); background:var(--surface); border-radius:var(--r,6px); overflow:hidden}
.rnmu{color:var(--ink-3); font-size:12px; line-height:1.5; padding:12px 14px; margin:0}
.rnsy{background:none; border:0; padding:0; font-family:var(--f-mono); font-weight:600; font-size:inherit; color:var(--ink); cursor:pointer; text-align:left} .rnsy:hover{color:var(--accent)}
.rnsc .st,.rntb .st{color:var(--accent); font-style:normal; margin-left:6px; font-size:11px}
/* Étiquettes de document */
.rntg{display:inline-block; text-align:center; font:600 10px var(--f-mono); font-style:normal; letter-spacing:.05em; padding:2px 0; width:86px; flex:none; text-transform:uppercase; border:1px solid var(--line-hi); color:var(--ink-2); white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.rntg.flash,.rntg.dd{background:var(--accent); color:#0A0A0A; border-color:var(--accent)} .rntg.wk{border-color:var(--accent); color:var(--accent)}
.rntg.mid{border-color:#6E96FF; color:#9DB6FF} .rntg.rep{background:var(--ink); color:#0A0A0A; border-color:var(--ink)} .rntg.sector{background:#F5F5EF; color:#0A0A0A; border-color:#F5F5EF} .rntg.ideas{border-color:#5BC07A; color:#7FD69A}
/* Pastilles (documents d'un actif, suites d'un rapport) */
.rnch{display:inline-block; font:600 10px var(--f-mono); letter-spacing:.05em; padding:2px 6px; border:1px solid var(--line-hi); background:none; color:var(--ink-2); text-transform:uppercase; white-space:nowrap; cursor:default}
button.rnch{cursor:pointer} button.rnch:hover{border-color:var(--accent); color:var(--accent)}
.rnch.on{border-color:var(--ink-3); color:var(--ink)} .rnch.nw{border-color:var(--accent); color:var(--accent)} .rnch.dd{background:var(--accent); color:#0A0A0A; border-color:var(--accent)} button.rnch.dd:hover{color:#0A0A0A}
.rnch.wt{border-style:dashed; color:var(--ink-3)}
/* For you · Vos actifs */
.rnar{display:grid; grid-template-columns:64px minmax(0,1fr) auto; grid-template-areas:"mo nm nx" "mo chs nx"; gap:4px 14px; align-items:center; padding:12px 14px; border-bottom:1px solid var(--line-2); cursor:pointer}
.rnar:last-child{border-bottom:0} .rnar:hover,.rnar:focus-visible{background:#151514; outline:0}
.rnar .rnmo{grid-area:mo; width:64px; height:44px; display:flex; align-items:center; justify-content:center; font:700 13px var(--f-mono); color:rgb(var(--rpc,255,138,0)); border:1px solid rgba(var(--rpc,255,138,0),.45); background:rgba(var(--rpc,255,138,0),.07); overflow:hidden}
.rnar .rnnm{grid-area:nm; display:flex; align-items:baseline; gap:8px; min-width:0} .rnar .rnnm b{font:600 14px var(--f-mono); color:var(--ink)} .rnar .rnnm small{font-size:12px; color:var(--ink-3); white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.rnar .rnchs{grid-area:chs; display:flex; flex-wrap:wrap; gap:6px; min-width:0}
.rnar .rnnx{grid-area:nx; text-align:right; font:500 10px var(--f-mono); color:var(--ink-3); letter-spacing:.05em} .rnar .rnnx b{display:block; color:var(--ink); font-size:12px; font-weight:600; margin-top:3px; letter-spacing:.02em}
/* À venir (compact) et Calendar */
.rntr{display:grid; grid-template-columns:44px 86px minmax(0,1fr) auto; gap:10px; align-items:center; padding:9px 14px; border-bottom:1px solid var(--line-2); font-size:13px}
.rntr:last-child{border-bottom:0} .rntr.td,.rncr.td{background:var(--accent-bg)}
.rntr .d,.rncr .d{font:700 13px var(--f-mono); color:var(--ink); line-height:1.15} .rntr .d small{display:block; font:500 10px var(--f-mono); color:var(--ink-3); letter-spacing:.06em}
.rntr .tt,.rncr .tt{min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis} .rntr .tt b,.rncr .tt b{font-family:var(--f-mono)} .rntr .tt small,.rncr .tt small{color:var(--ink-3); margin-left:8px; font-size:12px}
.rnact{justify-self:end; background:none; border:0; padding:0; font:600 11px var(--f-mono); letter-spacing:.06em; color:var(--ink-3); white-space:nowrap} button.rnact{cursor:pointer} .rnact.go{color:var(--accent)} .rnact.go:hover{text-decoration:underline}
.rnwk{display:flex; gap:10px; align-items:center; margin:0; padding:16px 0 8px; font:600 11px var(--f-mono); letter-spacing:.08em; color:var(--ink-3); text-transform:uppercase} .rnwk::after{content:""; flex:1; height:1px; background:var(--line)}
.rnsc>.rnwk:first-child{padding-top:2px}
.rncr{display:grid; grid-template-columns:110px 86px minmax(0,1fr) 220px 90px; gap:14px; align-items:center; padding:10px 14px; border:1px solid var(--line); border-top:0; background:var(--surface); font-size:13px}
.rnwk+.rncr{border-top:1px solid var(--line)} .rncr .d small{color:var(--ink-3); font-weight:500; margin-left:6px; font-size:11px}
.rncr .w{font:500 11px var(--f-mono); color:var(--ink-3); white-space:nowrap; overflow:hidden; text-overflow:ellipsis} .rncr .w.ok{color:var(--up)}
/* For you · Commandes */
.rnor{display:grid; grid-template-columns:minmax(0,1fr) auto; gap:10px; align-items:center; padding:11px 14px; border-bottom:1px solid var(--line-2); font-size:13px}
.rnor b{font-family:var(--f-mono)} .rnor small{display:block; color:var(--ink-3); font-size:12px; margin-top:2px}
.rnst{font:600 10px var(--f-mono); letter-spacing:.06em; padding:3px 7px; border:1px solid var(--line-hi); background:none; color:var(--ink-2); white-space:nowrap} button.rnst{cursor:pointer} .rnst.on{background:var(--accent); color:#0A0A0A; border-color:var(--accent)}
.rnft{display:flex; align-items:center; gap:12px; padding:12px 14px; border-top:1px solid var(--line); font:500 11px var(--f-mono); color:var(--ink-3)}
.rnbox>.rnft:first-child{border-top:0}
/* Onglets et filtres de Browse / My research */
.rntabs{display:flex; align-items:center; gap:10px; flex-wrap:wrap; border-bottom:1px solid var(--line)}
.rntabs .tb{display:flex; gap:2px; margin-right:auto}
.rntabs .tb button{background:none; border:0; border-bottom:2px solid transparent; margin-bottom:-1px; padding:10px 14px; font:600 12px var(--f-mono); letter-spacing:.05em; color:var(--ink-3); cursor:pointer; text-transform:uppercase; display:flex; gap:8px; align-items:center}
.rntabs .tb button:hover{color:var(--ink)} .rntabs .tb button i{font-style:normal; color:var(--ink-3); font-weight:500} .rntabs .tb button[aria-pressed=true]{color:var(--accent); border-bottom-color:var(--accent)}
.rntabs .rpkinds{margin:0 0 6px} .rntabs .ax,.rntabs .tb .ax{font:700 8.5px var(--f-mono); font-style:normal; border:1px solid var(--accent); color:var(--accent); padding:0 3px; letter-spacing:.04em}
.rpgrid.rncg{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}
.rncw{display:flex; flex-direction:column; gap:7px; min-width:0} .rncw>.rpcard{width:100%; max-width:none} .rnfu{display:flex; gap:6px; flex-wrap:wrap; min-height:20px}
.rnfu:empty{display:none}
/* Browse · vue liste */
html.tv2 #pgRep .reppg>.rnls{flex:1 1 auto; min-height:0; overflow-y:auto}
.rntb{width:100%; border-collapse:collapse; font-size:13px}
.rntb th{position:sticky; top:0; z-index:1; background:var(--bg); font:500 10px var(--f-mono); letter-spacing:.08em; color:var(--ink-3); text-align:left; padding:8px 12px; border-bottom:1px solid var(--line); text-transform:uppercase}
.rntb td{padding:9px 12px; border-bottom:1px solid var(--line-2); vertical-align:middle} .rntb td .rntg{margin-right:8px}
.rntb tr.grp td{background:#0E0E0D; font:600 11px var(--f-mono); letter-spacing:.04em; color:var(--ink-2); padding:7px 12px} .rntb tr.grp .rnsy{font-size:12px}
.rntb td.m{font-family:var(--f-mono); white-space:nowrap} .rntb tr.old td{color:var(--ink-2)} .rntb td .rnch{margin-right:4px}
/* Page d'un actif */
.rnpath{font:500 12px var(--f-mono); color:var(--ink-3); margin:2px 0 10px} .rnpath button{background:none; border:0; padding:0; font:inherit; color:var(--ink-2); cursor:pointer} .rnpath button:hover{color:var(--accent)} .rnpath b{color:var(--accent); font-weight:500}
.rnhero{display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:end; gap:20px; padding:22px 24px; border:1px solid var(--line); background:var(--surface); position:relative; overflow:hidden; min-height:140px; border-radius:var(--r,6px)}
.rnhero .wf{position:absolute; right:300px; top:-16px; height:180px; opacity:.5; pointer-events:none; color:rgb(var(--rpc,255,138,0))} .rnhero .wf svg{height:100%; width:auto}
.rnhero .tx{position:relative; min-width:0} .rnhero .ey{font:600 11px var(--f-mono); letter-spacing:.08em; color:rgb(var(--rpc,255,138,0))}
.rnhero h2{font:700 44px var(--f-mono); margin:6px 0 2px; letter-spacing:.01em} .rnhero p{margin:0; color:var(--ink-2)}
.rnhero .ac{display:flex; gap:8px; align-items:center; position:relative}
.rncy{display:grid; grid-template-columns:repeat(var(--n,7),minmax(0,1fr)); border:1px solid var(--line); background:var(--surface); border-radius:var(--r,6px); overflow:hidden}
.rncy>*{display:block; text-align:left; padding:12px 12px 14px; border:0; border-right:1px solid var(--line-2); background:none; color:inherit; position:relative; min-height:96px; min-width:0; font:inherit}
.rncy>:last-child{border-right:0} button.rncy,.rncy>button{cursor:pointer} .rncy>button:hover{background:#151514}
.rncy>*::before{content:""; position:absolute; left:12px; right:0; top:31px; height:1px; background:var(--line-hi)}
.rncy .dt{display:block; font:600 11px var(--f-mono); color:var(--ink-3); letter-spacing:.05em; white-space:nowrap}
.rncy .pt{display:block; width:11px; height:11px; border-radius:50%; background:var(--ink-2); margin:12px 0 10px; position:relative; z-index:1}
.rncy .pt.f{background:var(--accent)} .rncy .pt.w{background:var(--bg); border:1px dashed var(--ink-3)}
.rncy b{display:block; font:600 12px var(--f-mono); color:var(--ink)} .rncy small{display:block; font-size:12px; color:var(--ink-3); margin-top:3px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.rncy .nw{background:var(--accent-bg)} .rncy .nw .dt{color:var(--accent)} .rncy .fu b{color:var(--ink-2)}
.rnev .rsxe,.rnev>*{border-left:0!important; border-right:0!important}
/* My research · Orders : liste à gauche, formulaire à droite (ancienne fenêtre, mêmes éléments) */
.rnpane{display:grid; grid-template-columns:minmax(0,1fr) minmax(380px,460px); gap:20px; align-items:start}
.repcf.rnin{position:static; inset:auto; z-index:auto; background:none; display:block; padding:0}
.repcf.rnin .bx,.repcf.rnin .bx.wd,.repcf.rnin .bx.wd2{width:100%; box-shadow:none; border:1px solid var(--line); border-top:2px solid var(--accent); border-radius:var(--r,6px)}
.repcf.rnin .ors{max-height:none}
.rnpane .rppop .orw{grid-template-columns:90px minmax(0,1fr) 170px 96px; padding:0 16px}
.rnpane>div>.rnmu{padding:10px 2px}
/* Menu de gauche : recherche, entrées, actifs suivis, commande */
html.tv2 .tvsubnav .rnq{position:relative; margin:0 0 12px}
html.tv2 .tvsubnav .rnq .rpin{display:flex; align-items:center; gap:8px; width:100%; height:34px; box-sizing:border-box}
html.tv2 .tvsubnav .rnq input{flex:1; min-width:0; background:none; border:0; outline:0; color:var(--ink); font:400 12px var(--f-mono)}
html.tv2 .tvsubnav .rnq kbd{font:500 10px/1 var(--f-mono); color:var(--ink-3); padding:2px 5px; border:1px solid var(--line-hi); border-radius:3px}
html.tv2 .tvsubnav .rnql{position:absolute; left:0; right:0; top:38px; z-index:30; background:var(--surface); border:1px solid var(--line-hi); border-radius:var(--r-s,4px); box-shadow:0 16px 40px rgba(0,0,0,.6); padding:4px 0}
html.tv2 .tvsubnav .rnql button{display:flex; gap:8px; align-items:baseline; width:100%; padding:7px 10px; background:none; border:0; color:var(--ink-2); text-align:left; cursor:pointer; font-size:12px}
html.tv2 .tvsubnav .rnql button b{font:600 12px var(--f-mono); color:var(--ink); flex:none} html.tv2 .tvsubnav .rnql button span{overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
html.tv2 .tvsubnav .rnql button.on,html.tv2 .tvsubnav .rnql button:hover{background:var(--accent-bg); color:var(--ink)} html.tv2 .tvsubnav .rnql button.on b{color:var(--accent)}
html.tv2 .tvsubnav .rnql p{margin:0; padding:7px 10px; font-size:12px; color:var(--ink-3)}
html.tv2 .tvsubnav .rpnav button i.tg{margin-left:auto; background:var(--accent); color:#0A0A0A; font-weight:700}
html.tv2 .tvsubnav .rnfo button span::before{content:"★ "; color:var(--accent)}
html.tv2 .tvsubnav .rnord{margin:18px 0 0; padding:12px; border:1px solid var(--accent-line); background:var(--accent-bg); border-radius:var(--r-s,4px)}
html.tv2 .tvsubnav .rnord button{width:100%; height:34px; border:1px solid var(--accent); background:none; color:var(--accent); font:600 11px var(--f-mono); letter-spacing:.08em; text-transform:uppercase; cursor:pointer; border-radius:var(--r-s,4px)}
html.tv2 .tvsubnav .rnord button:hover{background:var(--accent); color:#0A0A0A}
html.tv2 .tvsubnav .rnord small{display:block; margin-top:8px; font:500 10.5px/1.45 var(--f-mono); color:var(--ink-3); letter-spacing:.02em}
.rntb tbody tr:not(.grp) td:first-child{color:var(--ink-3); font-size:12px}
html.tv2 .tvsubnav .rnq .rpin input{border:0!important; height:auto; padding:0; box-shadow:none!important; outline:0}
