/* Propbook Replay — graphique façon TradingView, direction Mono : noir et blanc (ou blanc et noir), la couleur réservée
   aux gains, aux pertes et aux alertes. Écrit à la main, pas généré. Deux thèmes : [data-theme=dark] (défaut) et light.
   Mouvements courts (120–220 ms), coupés si l'utilisateur préfère moins d'animations. */
:root{
  --bg:#0a0a0a;--bg1:#0e0e0e;--bg2:#131313;--pop:#141414;--hov:#1a1a1a;--act:#232323;--line:#1d1d1d;--line2:#2a2a2a;--line3:#3a3a3a;
  --tx:#ededed;--mut:#8f8f8f;--dim:#7d7d7d;--acc:#fff;--acctx:#000;--acchov:#e2e2e2;
  --up:#26a69a;--dn:#ef5350;--upt:#26a69a;--dnt:#ef5350;--warn:#f5a524;
  --glass:rgba(18,18,18,.92);--veil:rgba(10,10,10,.74);--scrim:rgba(0,0,0,.55);--shadow:0 18px 40px -8px rgba(0,0,0,.65),0 0 0 1px rgba(0,0,0,.4);
  --ease:cubic-bezier(.2,.8,.2,1);--out:cubic-bezier(.23,1,.32,1);--t:.14s;--top:48px;--side:300px;
  color-scheme:dark;
}
:root[data-theme=light]{
  --bg:#fff;--bg1:#fafafa;--bg2:#f4f4f5;--pop:#fff;--hov:#f2f2f3;--act:#e8e8ea;--line:#ececec;--line2:#e1e1e3;--line3:#cacacd;
  --tx:#131313;--mut:#5f5f64;--dim:#707075;--acc:#111;--acctx:#fff;--acchov:#2a2a2a;
  --upt:#0e8a7e;--dnt:#d63a37;
  --glass:rgba(255,255,255,.94);--veil:rgba(255,255,255,.76);--scrim:rgba(17,17,17,.28);--shadow:0 18px 40px -10px rgba(0,0,0,.18),0 0 0 1px rgba(0,0,0,.06);
  color-scheme:light;
}
*{box-sizing:border-box;margin:0}
html,body{height:100%}
body{background:var(--bg);color:var(--tx);font:13px/1.4 Inter,system-ui,-apple-system,sans-serif;font-feature-settings:"cv11","ss01";
  display:grid;grid-template-rows:var(--top) minmax(0,1fr) auto;grid-template-areas:"top" "mid" "acct";overflow:hidden;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent}
/* un élément ajouté au début de la page par une extension ne décale plus la mise en page */
body>.top{grid-area:top}body>.mid{grid-area:mid}body>.acct{grid-area:acct}
html.theme-anim *{transition:background-color .3s var(--ease),border-color .3s var(--ease),color .3s var(--ease)!important}
button,select,input,textarea{font:inherit;color:inherit}
button{cursor:pointer;background:none;border:0;padding:0}
button:disabled{cursor:not-allowed}
:focus{outline:none}
:focus-visible{outline:2px solid color-mix(in srgb,var(--tx) 55%,transparent);outline-offset:1px;border-radius:6px}
svg.i{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
svg.chev{width:12px;height:12px;color:var(--dim);transition:transform var(--t) var(--ease)}
[aria-expanded=true]>svg.chev{transform:rotate(180deg)}
.g{color:var(--upt)}.r{color:var(--dnt)}.w{color:var(--warn)}
.num,#clock,.stats,table,.sub,.sum{font-variant-numeric:tabular-nums}
.sp{flex:1}
.sep{width:1px;height:20px;background:var(--line2);margin:0 5px;flex:none}
small{font-size:inherit}

/* ---------- barre du haut ---------- */
.top{display:flex;align-items:center;gap:2px;padding:0 8px;border-bottom:1px solid var(--line);min-width:0;background:var(--bg);height:var(--top);position:relative;z-index:20}
.grp{display:flex;align-items:center;gap:2px;flex:none}
.logo{display:flex;align-items:center;gap:1px;padding:0 10px 0 2px;font-weight:600;letter-spacing:-.01em;white-space:nowrap;color:var(--tx);text-decoration:none;flex:none}
.logo .mark{width:15px;height:18px;fill:var(--tx);margin-right:1px;transform:translateY(-1px)}
.logo .wm{font-weight:700;font-size:16px;letter-spacing:-.02em}
.logo .rp{margin-left:8px;font-size:11px;font-weight:500;color:var(--mut);border:1px solid var(--line2);border-radius:999px;padding:2px 7px}
.tb{height:34px;padding:0 10px;border-radius:7px;display:inline-flex;align-items:center;gap:7px;white-space:nowrap;color:var(--tx);text-decoration:none;flex:none;
  transition:background var(--t) var(--ease),color var(--t) var(--ease),transform .1s var(--ease),opacity var(--t),border-color var(--t)}
.tb:hover{background:var(--hov)}
.tb:active:not(:disabled){transform:scale(.96)}
.tb.on{color:var(--acctx);background:var(--acc)}
.tb.on:hover{background:var(--acchov)}
.tb.pb{border:1px solid var(--line2)}
.tb.pb:hover:not(:disabled){border-color:var(--line3)}
.tb:disabled{opacity:.4}
.tb[aria-pressed=true]:not(.on):not(.play){background:var(--act);color:var(--tx)}
.icob{width:34px;padding:0;justify-content:center}
.back{padding:0 9px 0 5px;color:var(--mut);gap:3px}
.back:hover{color:var(--tx)}
.sym{padding:0 10px 0 8px;gap:8px;max-width:220px}
.symtx{display:flex;flex-direction:column;align-items:flex-start;line-height:1.1;min-width:0}
.symtx b{font-weight:600;font-size:13.5px;letter-spacing:.01em}
.symtx small{color:var(--mut);font-size:10.5px;max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tfq{display:flex;gap:1px}
.tfq button{height:34px;min-width:34px;padding:0 7px;border-radius:7px;color:var(--mut);font-variant-numeric:tabular-nums;transition:background var(--t),color var(--t)}
.tfq button:hover{background:var(--hov);color:var(--tx)}
.tfq button[aria-pressed=true]{color:var(--tx);font-weight:600;background:var(--act)}
.tfb{padding:0 7px 0 9px;gap:4px;color:var(--mut)}
.tfb #tftxt{display:none}
.tfb.cur{color:var(--tx);background:var(--act)}
.tfb.cur #tftxt{display:inline;font-weight:600}
.datebtn{color:var(--tx);font-variant-numeric:tabular-nums}
.datebtn svg{color:var(--mut)}
#themebtn .th-sun{display:none}
:root[data-theme=light] #themebtn .th-sun{display:block}
:root[data-theme=light] #themebtn .th-moon{display:none}
.planbadge{font-size:11px;font-weight:500;border-radius:999px;padding:3px 9px;border:1px solid var(--line2);color:var(--mut);white-space:nowrap;margin:0 6px 0 4px;flex:none}
.planbadge.one{color:var(--acctx);background:var(--acc);border-color:var(--acc)}
.planbadge.free{color:var(--tx)}
.planbadge.guest{color:var(--tx);border-color:var(--line3)}
.sess{gap:7px}
/* la séance Lock-in en cours dans le journal (lue sur cet appareil) */
.lkpill{display:inline-flex;align-items:center;gap:7px;height:30px;padding:0 11px 0 9px;margin-left:4px;border-radius:999px;border:1px solid var(--line2);color:var(--tx);text-decoration:none;
  font-variant-numeric:tabular-nums;white-space:nowrap;flex:none;transition:border-color var(--t),background var(--t);animation:lkIn .45s var(--out)}
.lkpill[hidden]{display:none}
.lkpill:hover{border-color:var(--line3);background:var(--hov)}
.lkpill i{width:7px;height:7px;border-radius:50%;background:var(--dn);animation:lkBeat 1.8s ease-in-out infinite}
.lkpill.paused i{background:var(--dim);animation:none}
.lkpill .lbl{color:var(--mut);font-size:12px}
.lkpill b{font-weight:600;font-size:12.5px}
@keyframes lkIn{from{transform:scale(.85);opacity:0}}
@keyframes lkBeat{0%{box-shadow:0 0 0 0 rgba(239,83,80,.45)}70%{box-shadow:0 0 0 6px rgba(239,83,80,0)}100%{box-shadow:0 0 0 0 rgba(239,83,80,0)}}

/* ---------- menus ---------- */
.menu{position:fixed;z-index:40;background:var(--pop);border:1px solid var(--line2);border-radius:11px;padding:6px;min-width:230px;box-shadow:var(--shadow);
  visibility:hidden;opacity:0;transform:translateY(-4px) scale(.985);transform-origin:top left;pointer-events:none;
  transition:opacity .14s var(--ease),transform .14s var(--ease),visibility 0s linear .14s}
.menu.right{transform-origin:top right}
.menu.on{visibility:visible;opacity:1;transform:none;pointer-events:auto;transition:opacity .14s var(--ease),transform .16s var(--out),visibility 0s}
.menu.narrow{min-width:170px}
.menu.wide{min-width:320px;max-width:min(400px,calc(100vw - 16px));max-height:min(520px,78vh);overflow:auto}
.menu .h{display:flex;justify-content:space-between;align-items:baseline;gap:12px;color:var(--dim);font-size:11px;padding:8px 10px 5px;letter-spacing:.02em}
.menu .h b{color:var(--tx);font-weight:600}
.menu .h:not(:first-child){border-top:1px solid var(--line);margin-top:4px;padding-top:10px}
.menu .h:empty{padding:0;margin:4px 0}
.menu button{width:100%;text-align:left;padding:8px 10px;border-radius:7px;display:flex;align-items:center;gap:10px;transition:background .1s}
.menu button:hover:not(:disabled),.menu button:focus-visible{background:var(--hov);outline:none}
.menu button:disabled{opacity:.35}
.menu button[aria-checked=true]{background:var(--act)}
.menu button[aria-checked=true]::after{content:"";width:6px;height:6px;border-radius:50%;background:var(--acc);margin-left:auto;flex:none}
.menu button b{font-weight:500}
.menu button small{color:var(--dim);font-size:11px;margin-left:auto;white-space:nowrap}
.menu button.g{color:var(--upt)}.menu button.r{color:var(--dnt)}
.menu .mt{display:grid;grid-template-columns:auto 1fr auto;gap:10px}
.menu .mt span{color:var(--mut);font-size:12px}
.menu p{color:var(--mut);font-size:12px;padding:6px 10px 10px;line-height:1.55}
.menu p a{color:var(--tx)}
.menu .mn{color:var(--dim);font-size:11px;padding:8px 10px 4px;border-top:1px solid var(--line);margin-top:4px}
#ffmenu{min-width:290px}
#ffmenu button{flex-direction:column;align-items:flex-start;gap:1px}
#ffmenu button small{margin-left:0}
.tfmenu{min-width:200px}
.tfr{display:flex;align-items:center;gap:2px}
.tfr button[data-tf]{flex:1}
.tfr .star{width:30px;height:30px;padding:0;justify-content:center;color:var(--line3);font-size:13px;flex:none}
.tfr .star[aria-pressed=true]{color:var(--warn)}
.tfr .star:hover{color:var(--warn);background:var(--hov)}
.dprow{display:flex;gap:6px;padding:4px 6px 8px}
.dprow input{flex:1;min-width:0;width:auto}
.menu .dprow .tb{width:auto;flex:none;padding:0 16px;justify-content:center}
input[type=datetime-local]{background:transparent;border:1px solid var(--line2);border-radius:8px;height:34px;padding:0 10px;transition:border-color var(--t);font-variant-numeric:tabular-nums}
input[type=datetime-local]:hover{border-color:var(--line3)}
input[type=datetime-local]:focus{border-color:var(--mut)}
.dpg{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:2px 4px 6px}
.dpg button{flex-direction:column;align-items:flex-start;gap:1px;border:1px solid var(--line);padding:8px 10px}
.dpg button small{margin:0}
.dpn{display:flex;gap:4px;padding:0 4px 4px}
.dpn button{justify-content:center;border:1px solid var(--line);font-size:12px;color:var(--mut)}
.dpn button:hover{color:var(--tx)}
.datepop.lim .nolim{display:none}
.setpop{min-width:380px}
.setpop .pa .tb{width:auto;justify-content:center}
.sr{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:6px 10px;color:var(--tx);font-size:12.5px}
.sr>span:first-child{display:flex;align-items:center;gap:8px}
.sv{display:flex;align-items:center;gap:6px}
.sv input{width:76px;height:30px;background:transparent;border:1px solid var(--line2);border-radius:7px;padding:0 8px;font-variant-numeric:tabular-nums;outline:0}
.sv input:focus{border-color:var(--mut)}
.sv input:disabled{opacity:.4}
.sv small{color:var(--dim);font-size:11px;width:96px;line-height:1.25}
.sw2{display:flex;gap:10px;align-items:flex-start;padding:7px 10px;cursor:pointer;border-radius:7px}
.sw2:hover{background:var(--hov)}
.sw2>span{display:flex;flex-direction:column;gap:2px}
.sw2 b{font-weight:500;font-size:12.5px}
.sw2 small{color:var(--dim);font-size:11px;line-height:1.4}
input[type=checkbox]{accent-color:var(--acc);width:15px;height:15px;margin:1px 0 0;flex:none;cursor:pointer}
.ctx{min-width:250px}
.ctx .h span{color:var(--tx);font-weight:600;font-variant-numeric:tabular-nums}

/* ---------- zone centrale ---------- */
.mid{display:grid;grid-template-columns:44px minmax(0,1fr) var(--side);min-height:0;transition:grid-template-columns .2s var(--ease)}
.noside .mid{grid-template-columns:44px minmax(0,1fr) 0}
.resizing,.resizing *{cursor:col-resize!important;user-select:none}
.resizing .mid{transition:none}
.tools{border-right:1px solid var(--line);display:flex;flex-direction:column;align-items:center;padding:6px 0;gap:2px;background:var(--bg)}
.tools button{width:34px;height:34px;border-radius:7px;display:grid;place-items:center;color:var(--mut);position:relative;transition:background var(--t),color var(--t)}
.tools button:hover{background:var(--hov);color:var(--tx)}
.tools button[aria-pressed=true]{background:var(--act);color:var(--tx)}
.tools .tsep{width:22px;height:1px;background:var(--line2);margin:5px 0}
.tools button::after{content:attr(data-tip);position:absolute;left:42px;top:50%;transform:translate(-4px,-50%);background:var(--pop);border:1px solid var(--line2);box-shadow:var(--shadow);
  padding:5px 9px;border-radius:6px;white-space:nowrap;color:var(--tx);font-size:12px;z-index:30;pointer-events:none;opacity:0;transition:opacity .12s,transform .12s}
.tools button:hover::after{opacity:1;transform:translate(0,-50%);transition-delay:.35s}
.pane{position:relative;min-width:0;min-height:0;display:grid;grid-template-rows:minmax(0,1fr) 30px}
.charts{display:flex;min-height:0;min-width:0;position:relative}
.chartbox{position:relative;min-height:0;overflow:hidden;flex:1 1 0;min-width:0;isolation:isolate}   /* les z-index internes du graphique (49, 50) restent sous la barre de lecture */
#chart{position:absolute;inset:0}
#ov{position:absolute;left:0;top:0;z-index:2;pointer-events:none;overflow:visible}
#ov.draw,.pick #ov{pointer-events:auto;cursor:crosshair}
/* dessins : traits et zones cliquables, poignées, barre d'outils du dessin sélectionné */
#ov .hit{pointer-events:stroke;cursor:pointer}
#ov .hitf{pointer-events:all}
#ov .hd{pointer-events:all;cursor:grab}
#ov.draw .hit,#ov.draw .hd,.pick #ov .hit{pointer-events:none}
/* point 6 du 21/11 : en traçant, l'aperçu suit la souris et il est redessiné à chaque image ; s'il recevait le clic, l'élément pressé
   disparaissait avant le relâchement et le navigateur perdait (ou retardait) le deuxième clic. Seul le calque reçoit les clics. */
#ov.draw *{pointer-events:none}
.dmove,.dmove *{cursor:move!important;user-select:none}
.dtb{position:absolute;left:0;top:0;z-index:9;display:flex;align-items:center;gap:4px;padding:4px 6px;border-radius:10px;background:var(--pop);border:1px solid var(--line2);box-shadow:var(--shadow);
  opacity:0;transition:opacity .14s var(--ease)}
.dtb.in{opacity:1;animation:dtbIn .2s var(--out)}
@keyframes dtbIn{from{opacity:0;margin-top:4px}}
.dtb[hidden]{display:none}
.dtb .dn2{font-size:11.5px;color:var(--mut);padding:0 6px 0 2px;white-space:nowrap}
.dtb .sw3{grid-template-columns:repeat(9,16px)}
.dtb .dsep{width:1px;height:18px;background:var(--line2);margin:0 2px}
.dtb>button,.dws button{width:28px;height:28px;border-radius:7px;display:grid;place-items:center;color:var(--mut);transition:background .1s,color .1s}
.dtb>button:hover,.dws button:hover{background:var(--hov);color:var(--tx)}
.dtb>button.x:hover{color:var(--dnt)}
.dtb>button[aria-pressed=true]{color:var(--tx);background:var(--act)}
.dtb svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.dws{display:flex;gap:1px}
.dws button i{display:block;width:14px;background:currentColor;border-radius:2px}
.dws button[aria-pressed=true]{color:var(--tx);background:var(--act)}
.dtx{width:130px;height:28px;border:1px solid var(--line2);border-radius:7px;background:var(--bg);padding:0 8px;outline:0;font-size:12px}
.dtx:focus{border-color:var(--mut)}
@media (min-width:961px) and (max-height:820px){.tools{gap:0;padding:4px 0}.tools button{height:30px;width:32px}.tools .tsep{margin:3px 0}}
.chartbox::after{content:"";position:absolute;inset:0;pointer-events:none;z-index:3;opacity:0}
.chartbox.fl-buy::after{animation:flash .55s var(--ease);box-shadow:inset 0 0 0 1px rgba(38,166,154,.7),inset 0 0 44px rgba(38,166,154,.12)}
.chartbox.fl-sell::after{animation:flash .55s var(--ease);box-shadow:inset 0 0 0 1px rgba(239,83,80,.7),inset 0 0 44px rgba(239,83,80,.12)}
@keyframes flash{0%{opacity:1}100%{opacity:0}}

/* légende et boutons d'ordre en haut à gauche */
.legend{position:absolute;left:12px;top:8px;right:80px;z-index:4;color:var(--mut);pointer-events:none;font-variant-numeric:tabular-nums}
.legend .l1{display:flex;gap:8px;align-items:center;flex-wrap:wrap;row-gap:2px}
.legend .sym{color:var(--tx);font-weight:500;font-size:14px}
.legend .dot{width:7px;height:7px;border-radius:50%;background:var(--warn)}
.legend .ohlc{display:flex;gap:4px;flex-wrap:wrap;font-size:12px}
.legend .ohlc i{font-style:normal;color:var(--dim);margin-left:4px}
.legend .ohlc i:first-child{margin-left:0}
.legend .ohlc>span:last-child{margin-left:6px}
.legend .ind{display:flex;gap:6px;align-items:center;margin-top:3px;font-size:12px;pointer-events:auto;width:max-content;max-width:100%;border-radius:5px;padding:1px 4px 1px 0}
.legend .ind .n{color:var(--mut);white-space:nowrap}
.legend .ind .v{display:flex;gap:6px;white-space:nowrap}
.ind.off .n{color:var(--dim);text-decoration:line-through}
.ib{display:flex;gap:1px;opacity:0;transition:opacity var(--t)}
.ind:hover .ib,.ind:focus-within .ib{opacity:1}
.ib button{width:20px;height:20px;border-radius:4px;display:grid;place-items:center;color:var(--mut);font-size:10px;transition:background .1s,color .1s}
.ib button:hover{background:var(--hov);color:var(--tx)}
.ib svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round}
@media (hover:none){.ib{opacity:1}}
#plegs{position:absolute;left:0;top:0;right:0;height:0;z-index:4;pointer-events:none}
.pleg{position:absolute;left:12px;font-variant-numeric:tabular-nums}
.pleg .ind{display:flex;gap:6px;align-items:center;font-size:12px;pointer-events:auto;width:max-content}
.pleg .ind .n{color:var(--mut)}
.pleg .ind .v{display:flex;gap:6px}
.lgmore{pointer-events:auto;margin-top:3px;height:20px;padding:0 7px;border-radius:5px;border:1px solid var(--line2);color:var(--mut);font-size:11px;background:var(--glass);transition:background var(--t),color var(--t)}
.lgmore:hover{background:var(--hov);color:var(--tx)}
.ot{display:flex;margin-top:9px;pointer-events:auto;width:max-content;border-radius:7px}
.noot .ot{display:none}
.ot button{min-width:98px;height:42px;padding:0 11px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;font-variant-numeric:tabular-nums;
  border:1px solid;background:var(--glass);transition:background var(--t),color var(--t),transform .1s var(--ease)}
.ot .s{border-color:var(--dn);color:var(--dnt);border-radius:7px 0 0 7px}
.ot .b{border-color:var(--up);color:var(--upt);border-radius:0 7px 7px 0;align-items:flex-end}
.ot .s:hover:not(:disabled){background:var(--dn);color:#fff}.ot .b:hover:not(:disabled){background:var(--up);color:#fff}
.ot button:active:not(:disabled){transform:scale(.98)}
.ot small{font-size:9.5px;letter-spacing:.06em;opacity:.85}
.ot b{font-weight:600;font-size:13px}
.ot .spr{min-width:40px;display:grid;place-items:center;font-size:10px;color:var(--mut);background:var(--glass);border-top:1px solid var(--line2);border-bottom:1px solid var(--line2);padding:0 4px}
.ot button:disabled{opacity:.35}

/* ---------- lignes d'ordres (positions, stops, objectifs, ordres en attente) : déplaçables ---------- */
#olay{position:absolute;left:0;top:0;z-index:5;pointer-events:none;overflow:hidden}
.ol{position:absolute;left:0;right:0;top:0;height:0;opacity:0;transition:opacity .16s var(--ease)}
.ol.in{opacity:1}.ol.out{opacity:0}
.ol .ln{position:absolute;left:0;right:0;top:0;border-top:1px dashed var(--c,var(--mut));opacity:.85}
.ol .lb{position:absolute;right:8px;top:0;transform:translateY(-50%);display:flex;align-items:stretch;height:22px;border-radius:5px;overflow:hidden;
  background:var(--bg);border:1px solid var(--c,var(--line3));font-size:11.5px;font-variant-numeric:tabular-nums;pointer-events:auto;box-shadow:0 4px 14px -6px rgba(0,0,0,.45);
  transition:transform .12s var(--ease),box-shadow .12s}
.ol .lb>span{display:flex;align-items:center;padding:0 7px;white-space:nowrap}
.ol .h{width:12px;padding:0!important;justify-content:center;cursor:ns-resize;color:var(--c);background:color-mix(in srgb,var(--c) 14%,transparent)}
.ol .h::before{content:"";width:2px;height:10px;border-left:1px solid currentColor;border-right:1px solid currentColor}
.ol .t{background:var(--c);color:#fff;font-weight:600}
.ol .v{color:var(--tx)}.ol .v.g{color:var(--upt)}.ol .v.r{color:var(--dnt)}
.ol .bt{padding:0!important;border-left:1px solid var(--line2)}
.ol .bt:empty{display:none}
.ol .bt button{min-width:22px;padding:0 6px;height:100%;color:var(--mut);font-size:11px;font-weight:600;transition:background .1s,color .1s}
.ol .bt button+button{border-left:1px solid var(--line2)}
.ol .bt button:hover{background:var(--hov);color:var(--tx)}
.ol.dr .lb{cursor:ns-resize}
.ol.dr .lb:hover{box-shadow:0 0 0 3px color-mix(in srgb,var(--c) 22%,transparent)}
.ol.drag .lb{box-shadow:0 0 0 3px color-mix(in srgb,var(--c) 30%,transparent);transform:translateY(-50%) scale(1.03)}
.ol.drag .ln{border-top-style:solid;opacity:1}
.ol.pe{--c:var(--mut)}.ol.pe.buy{--c:var(--up)}.ol.pe.sell{--c:var(--dn)}
.ol.pe .ln{border-top-style:solid;opacity:.55}
.ol.sl{--c:var(--dn)}.ol.tp{--c:var(--up)}
.ol.oe.buy{--c:var(--up)}.ol.oe.sell{--c:var(--dn)}
.ol.oe .ln{border-top-style:dotted}
.ol.ghost .lb{opacity:.85}
.ol.ghost .ln{opacity:.5}
.dragging,.dragging *{cursor:ns-resize!important;user-select:none}

/* barre de replay flottante */
.rbar{position:absolute;left:50%;bottom:40px;transform:translateX(-50%);z-index:6;display:flex;align-items:center;gap:2px;background:var(--glass);
  border:1px solid var(--line2);border-radius:11px;padding:4px;box-shadow:var(--shadow);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.rbar .tb{height:32px;padding:0 9px}
.rbar .icob{width:32px;padding:0}
.rbar .play{width:36px;padding:0;justify-content:center;background:var(--acc);color:var(--acctx);border-radius:8px}
.rbar .play:hover{background:var(--acchov)}
.rbar .play svg{width:16px;height:16px}
.rbar .spd{min-width:52px;justify-content:center;gap:4px;font-variant-numeric:tabular-nums}
.rbar .sep{height:18px;margin:0 3px}
.rec{display:flex;align-items:center;gap:7px;padding:0 10px 0 6px;color:var(--mut);font-size:12px;white-space:nowrap}
.rec::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--dim);transition:background var(--t)}
.rbar.live .rec::before{background:var(--dn);animation:pulse 1.6s ease-in-out infinite}
@keyframes pulse{50%{opacity:.35}}
.pickline{position:absolute;top:0;bottom:0;width:0;border-left:1px dashed var(--acc);z-index:3;pointer-events:none;display:none}
.pickshade{position:absolute;top:0;bottom:0;right:0;background:var(--veil);z-index:3;pointer-events:none;display:none}
.pick .pickline,.pick .pickshade{display:block}
.pick .rbar .tb:not(#pick),.pick .ot{opacity:.35;pointer-events:none}
.bot{display:flex;align-items:center;gap:2px;border-top:1px solid var(--line);padding:0 8px;color:var(--mut);font-size:12px;min-width:0}
#clock{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bot .keys{color:var(--dim);margin-right:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.bot button{height:22px;padding:0 7px;border-radius:4px;color:var(--mut);transition:background var(--t),color var(--t);display:inline-grid;place-items:center}
.bot button svg{width:15px;height:15px}
.bot button:hover{background:var(--hov);color:var(--tx)}
.bot button[aria-pressed=true]{color:var(--tx);font-weight:600}

/* chargement et fin de partie */
.load{position:absolute;inset:0;z-index:7;display:grid;place-items:center;background:var(--veil);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);animation:fade .18s var(--ease)}
.load[hidden]{display:none}
.lbox{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;max-width:340px;padding:0 20px;color:var(--mut)}
.spin{width:22px;height:22px;border-radius:50%;border:2px solid var(--line2);border-top-color:var(--acc);animation:spin .8s linear infinite}
.load.err .spin{display:none}
.load.err p{color:var(--tx)}
@keyframes spin{to{transform:rotate(360deg)}}
@keyframes fade{from{opacity:0}}
.blown{position:absolute;inset:0;z-index:8;background:var(--veil);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);display:grid;place-items:center;text-align:center;
  visibility:hidden;opacity:0;transition:opacity .2s var(--ease),visibility 0s linear .2s}
.blown.on{visibility:visible;opacity:1;transition:opacity .2s var(--ease),visibility 0s}
.bbox{transform:scale(.96) translateY(6px);transition:transform .28s var(--out);padding:0 20px}
.blown.on .bbox{transform:none}
.bico{position:relative;width:40px;height:40px;border-radius:50%;border:1px solid var(--dn);color:var(--dnt);display:inline-grid;place-items:center;font-weight:700;margin-bottom:12px}
.bico::before{content:"!"}
.blown.pass .bico{border-color:var(--up);color:var(--upt)}
.blown.pass .bico::before{content:"✓"}
.blown h2{font-size:20px;font-weight:600;letter-spacing:-.01em;margin-bottom:6px}
.blown p{color:var(--mut);margin:0 auto 16px;max-width:380px}
.bact{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}
.blown button{height:38px;padding:0 16px;border-radius:8px;font-weight:500;background:transparent;color:var(--tx);border:1px solid var(--line2);transition:background var(--t),transform .1s}
.blown button:hover{background:var(--hov)}.blown button:active{transform:scale(.97)}
.blown button.pri{background:var(--acc);color:var(--acctx);border-color:var(--acc)}
.blown button.pri:hover{background:var(--acchov)}

/* ---------- deux graphiques ---------- */
.chartbox2{position:relative;flex:1 1 0;min-width:0;border-left:1px solid var(--line);animation:fade .18s var(--ease);isolation:isolate}
.chartbox2[hidden]{display:none}
#chart2{position:absolute;inset:0}
.legend2{right:70px}
.sym2{pointer-events:auto;display:inline-flex;align-items:center;gap:6px;height:26px;padding:0 8px 0 6px;border-radius:7px;border:1px solid var(--line2);background:var(--glass);color:var(--tx);transition:background var(--t),border-color var(--t)}
.sym2:hover{border-color:var(--line3);background:var(--hov)}
.sym2 svg.i{width:14px;height:14px;color:var(--mut)}
.sym2 b{font-weight:600;font-size:13px}
.sym2 span{color:var(--mut);font-size:11.5px}
.tf2{display:flex;gap:1px;margin-top:6px;pointer-events:auto;width:max-content;border:1px solid var(--line2);border-radius:7px;padding:2px;background:var(--glass)}
.tf2 button{height:24px;min-width:30px;padding:0 6px;border-radius:5px;color:var(--mut);font-size:11.5px;transition:background var(--t),color var(--t)}
.tf2 button:hover:not(:disabled){background:var(--hov);color:var(--tx)}
.tf2 button[aria-pressed=true]{background:var(--act);color:var(--tx);font-weight:600}
.tf2 button:disabled{opacity:.3}
.spin2{position:absolute;left:50%;top:50%;width:20px;height:20px;margin:-10px;border-radius:50%;border:2px solid var(--line2);border-top-color:var(--acc);animation:spin .8s linear infinite;display:none;z-index:6}
.chartbox2.busy .spin2{display:block}
.two .ot{transform-origin:left top}

/* ---------- panneau d'ordre ---------- */
.side{position:relative;border-left:1px solid var(--line);display:flex;flex-direction:column;overflow:hidden auto;min-height:0;background:var(--bg);min-width:0}
.noside .side{border-left:0;visibility:hidden}
.sgrip{position:absolute;left:-3px;top:0;bottom:0;width:7px;cursor:col-resize;z-index:3}
.sgrip::after{content:"";position:absolute;left:3px;top:0;bottom:0;width:1px;background:transparent;transition:background .15s}
.sgrip:hover::after,.resizing .sgrip::after{background:var(--line3)}
.oh{display:flex;align-items:center;gap:8px;padding:12px 8px 12px 14px;border-bottom:1px solid var(--line)}
.oh>div{flex:1;min-width:0}
.oh b{font-weight:600;font-size:14px;display:block}
.oh small{color:var(--mut);display:block;font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chip{font-size:10.5px;border:1px solid var(--line2);border-radius:999px;padding:3px 8px;color:var(--mut);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:130px}
.oh .sx{width:28px;height:28px;color:var(--mut)}
.sides{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:12px 14px 0}
.sides button{height:52px;border-radius:9px;border:1px solid var(--line2);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;
  font-variant-numeric:tabular-nums;font-weight:600;transition:background var(--t),border-color var(--t),color var(--t),transform .1s var(--ease)}
.sides button:active{transform:scale(.98)}
.sides button small{font-size:11px;color:var(--mut);font-weight:400;transition:color var(--t)}
.sides button:hover{border-color:var(--line3)}
.sides .sell[aria-pressed=true]{background:var(--dn);border-color:var(--dn);color:#fff}
.sides .buy[aria-pressed=true]{background:var(--up);border-color:var(--up);color:#fff}
.sides button[aria-pressed=true] small{color:rgba(255,255,255,.85)}
.otabs{display:flex;gap:14px;padding:14px 14px 0;border-bottom:1px solid var(--line);margin:0 0 2px}
.otabs button{position:relative;padding:0 0 8px;color:var(--mut);font-size:12.5px;transition:color var(--t)}
.otabs button:hover{color:var(--tx)}
.otabs button[aria-selected=true]{color:var(--tx);font-weight:500}
.otabs button::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:1.5px;background:var(--acc);transform:scaleX(0);transition:transform .18s var(--ease)}
.otabs button[aria-selected=true]::after{transform:none}
.fl{padding:10px 14px 0;transition:opacity var(--t)}
.fl[hidden]{display:none}
.fl>label,.flh label{display:block;color:var(--mut);font-size:12px}
.fl>label{margin-bottom:6px}
.flh{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px;min-height:22px}
.tg{display:flex!important;align-items:center;gap:7px;cursor:pointer;color:var(--mut);font-size:12px}
.tg small{color:var(--dim);font-size:11px}
.fl.off .inp{opacity:.45}
.fl.off .sub{visibility:hidden}
.mini{display:inline-flex;border:1px solid var(--line2);border-radius:7px;padding:2px;gap:1px}
.mini button{height:20px;padding:0 7px;border-radius:5px;font-size:11px;color:var(--mut);transition:background var(--t),color var(--t)}
.mini button:hover{color:var(--tx)}
.mini button[aria-pressed=true]{background:var(--act);color:var(--tx);font-weight:500}
.inp{display:flex;align-items:center;gap:8px;border:1px solid var(--line2);border-radius:8px;height:36px;padding:0 11px;transition:border-color var(--t),opacity var(--t);background:var(--bg)}
.inp:hover{border-color:var(--line3)}
.inp:focus-within{border-color:var(--mut)}
.inp input{flex:1;background:transparent;border:0;outline:0;min-width:0;font-variant-numeric:tabular-nums;-moz-appearance:textfield;appearance:textfield}
.inp input::-webkit-inner-spin-button,.inp input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.inp span{color:var(--dim);font-size:12px;white-space:nowrap}
.inp.sm{height:28px;padding:0 8px;width:84px;flex:none;margin-left:auto}
.fl .sub{display:flex;justify-content:space-between;gap:8px;color:var(--dim);font-size:11px;margin-top:5px;min-height:15px}
.adv{margin:12px 14px 0;border:1px solid var(--line);border-radius:9px;padding:0 10px}
.adv summary{cursor:pointer;list-style:none;color:var(--mut);font-size:12px;padding:9px 0;display:flex;justify-content:space-between}
.adv summary::-webkit-details-marker{display:none}
.adv summary::after{content:"+";color:var(--dim)}
.adv[open] summary::after{content:"−"}
.adv .tg{padding:0 0 10px;color:var(--tx)}
.sum{margin:12px 14px 0;border-top:1px solid var(--line);padding-top:9px}
.sum div{display:flex;justify-content:space-between;gap:10px;padding:2.5px 0}
.sum span:first-child{color:var(--mut)}
.send{margin:12px 14px 14px;min-height:44px;padding:6px 12px;border-radius:10px;font-weight:600;color:#fff;background:var(--up);transition:background var(--t),filter var(--t),transform .1s var(--ease)}
.send.sell{background:var(--dn)}
.send:hover:not(:disabled){filter:brightness(1.08)}
.send:active:not(:disabled){transform:scale(.985)}
.send:disabled{opacity:.35}
.note{color:var(--dim);font-size:11px;line-height:1.55;padding:12px 14px 14px;margin-top:auto;border-top:1px solid var(--line)}

/* ---------- panneau du compte (bas) ---------- */
.acct{border-top:1px solid var(--line);display:flex;flex-direction:column;height:212px;transition:height .22s var(--out);background:var(--bg);min-height:0}
.acct.min{height:42px}
.acct.min .ab{display:none}
.ah{display:flex;align-items:center;gap:4px;height:42px;padding:0 8px;border-bottom:1px solid var(--line);flex:none;min-width:0}
.ah .nm{font-weight:600;padding:0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;flex:0 1 auto}
.ah .nm small{color:var(--mut);font-weight:400}
.tabs{display:flex;height:100%;flex:none}
.tabs button{height:100%;padding:0 10px;color:var(--mut);white-space:nowrap;position:relative;transition:color var(--t);display:flex;align-items:center;gap:5px}
.tabs button::after{content:"";position:absolute;left:10px;right:10px;bottom:-1px;height:1.5px;background:var(--acc);transform:scaleX(0);transition:transform .18s var(--ease)}
.tabs button:hover{color:var(--tx)}
.tabs button[aria-selected=true]{color:var(--tx)}
.tabs button[aria-selected=true]::after{transform:none}
.acct.min .tabs button[aria-selected=true]::after{transform:scaleX(0)}
.tabs .cnt:empty{display:none}
.tabs .cnt{font-size:10px;min-width:16px;height:16px;border-radius:999px;background:var(--act);color:var(--tx);display:inline-grid;place-items:center;padding:0 4px;font-variant-numeric:tabular-nums}
.stats{display:flex;gap:20px;padding:0 12px;white-space:nowrap}
.stats div{display:flex;flex-direction:column;line-height:1.2}
.stats small{color:var(--dim);font-size:10px}
.stats span{transition:color .2s}
.acct.min #min svg{transform:rotate(180deg)}
#min svg{transition:transform .2s var(--ease)}
.ab{flex:1;overflow:auto;min-height:0}
.ab>*{animation:fade .16s var(--ease)}
.tw{overflow-x:auto}
.ab table{width:100%;border-collapse:collapse;white-space:nowrap}
.ab th{color:var(--dim);font-weight:400;font-size:11px;text-align:left;padding:7px 12px;border-bottom:1px solid var(--line);background:var(--bg)}
.ab td{padding:5px 12px;border-bottom:1px solid var(--line);height:38px}
.ab td small{color:var(--dim)}
.ab tbody tr{transition:background .1s}
.ab tbody tr:hover{background:var(--bg1)}
.ab tr[data-tid]{cursor:pointer}
.ab tr.tsel{background:var(--act)}
.ab tr.tsel td:first-child{box-shadow:inset 2px 0 0 var(--acc)}
.ab td.act,.ab th.act{text-align:right;width:1%}
.ab td.act{white-space:nowrap}
.lvl{width:96px;height:28px;border:1px solid transparent;border-radius:6px;background:transparent;padding:0 7px;font-variant-numeric:tabular-nums;outline:0;transition:border-color var(--t),background var(--t)}
.lvl:hover{border-color:var(--line2)}
.lvl:focus{border-color:var(--mut);background:var(--bg)}
.tag{font-size:10px;color:var(--mut);border:1px solid var(--line2);border-radius:4px;padding:0 5px;margin-left:4px}
.ib2{height:26px;min-width:28px;padding:0 6px;border-radius:6px;border:1px solid var(--line2);color:var(--mut);font-size:11.5px;font-weight:600;display:inline-grid;place-items:center;margin-left:4px;transition:background .1s,color .1s,border-color .1s}
.ib2 svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.ib2:hover{background:var(--hov);color:var(--tx);border-color:var(--line3)}
.ib2.x:hover{color:var(--dnt);border-color:color-mix(in srgb,var(--dn) 50%,transparent)}
.ib2.on{color:var(--tx);border-color:var(--line3)}
.closebar{padding:6px 12px;display:flex;justify-content:flex-end;align-items:center;gap:10px;border-bottom:1px solid var(--line);position:sticky;left:0}
.closebar .tb{height:28px;font-size:12px}
.hint2{color:var(--dim);font-size:11.5px;margin-right:auto}
.empty{color:var(--dim);padding:18px 14px;line-height:1.55;max-width:720px}
.rules{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;padding:16px 14px}
.gauge .lbl{display:flex;justify-content:space-between;gap:10px;font-size:12px;color:var(--mut);margin-bottom:7px}
.gauge .lbl b{color:var(--tx);font-weight:500;font-variant-numeric:tabular-nums}
.track{height:4px;background:var(--line2);border-radius:2px;overflow:hidden}
.fill{height:100%;width:100%;background:var(--acc);transform-origin:left;transition:transform .35s var(--ease),background .2s}
.fill.warn{background:var(--warn)}.fill.bad{background:var(--dn)}
.gauge p{color:var(--dim);font-size:11px;margin-top:7px;line-height:1.5}
/* statistiques de la séance */
.st{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:18px;padding:12px 14px}
.stk{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1px;background:var(--line);border:1px solid var(--line);border-radius:10px;overflow:hidden;align-self:start}
.stk>div{background:var(--bg);padding:8px 10px;display:flex;flex-direction:column;gap:2px;min-width:0}
.stk small{color:var(--dim);font-size:10.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.stk b{font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}
.stc{display:grid;grid-template-columns:1.4fr 1fr;gap:12px}
.eqc,.rdist{border:1px solid var(--line);border-radius:10px;padding:8px 10px;display:flex;flex-direction:column;gap:6px;min-width:0}
.eqc small,.rdist small{color:var(--dim);font-size:10.5px}
.eqc svg{width:100%;height:96px}
.eqc .z{stroke:var(--line2);stroke-dasharray:3 3;vector-effect:non-scaling-stroke}
.eqc polyline{fill:none;stroke-width:1.8;vector-effect:non-scaling-stroke}
.eqc .u{stroke:var(--up)}.eqc .d{stroke:var(--dn)}
.eqc .fu{fill:rgba(38,166,154,.12)}.eqc .fd{fill:rgba(239,83,80,.12)}
.rh{display:grid;grid-template-columns:repeat(8,1fr);gap:4px;height:96px;align-items:end}
.rh>div{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;gap:3px;min-width:0}
.rh i{width:100%;border-radius:3px 3px 0 0;min-height:2px;transform-origin:bottom;animation:grow .4s var(--out) both}
.rh i.u{background:var(--up)}.rh i.d{background:var(--dn)}
.rh small{font-size:9.5px;color:var(--dim);white-space:nowrap}
@keyframes grow{from{transform:scaleY(0)}}

.toast{position:fixed;left:50%;top:58px;transform:translate(-50%,-6px);background:var(--pop);border:1px solid var(--line2);padding:9px 14px;border-radius:10px;
  max-width:min(480px,calc(100vw - 32px));text-align:center;opacity:0;visibility:hidden;pointer-events:none;z-index:70;box-shadow:var(--shadow);
  transition:opacity .18s var(--ease),transform .18s var(--ease),visibility 0s linear .18s}
.toast.on{opacity:1;visibility:visible;transform:translate(-50%,0);transition:opacity .18s var(--ease),transform .22s var(--out),visibility 0s}

/* ---------- fenêtres ---------- */
.dlg{position:fixed;inset:0;z-index:60;background:var(--scrim);display:grid;place-items:center;padding:16px}
.dlg:not(.on){visibility:hidden}
.dbox{width:min(520px,100%);max-height:min(640px,calc(100vh - 32px));display:flex;flex-direction:column;background:var(--pop);border:1px solid var(--line2);border-radius:13px;box-shadow:var(--shadow)}
.dlg.on .dbox{animation:dlgIn .2s var(--out)}
@keyframes dlgIn{from{transform:translateY(8px) scale(.985)}}
.dh{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 14px 10px 18px}
.dh h2{font-size:16px;font-weight:600;letter-spacing:-.01em}
.dh small{color:var(--mut);font-size:12px;font-variant-numeric:tabular-nums}
.ds{display:flex;align-items:center;gap:8px;margin:0 14px 8px;border:1px solid var(--line2);border-radius:9px;height:40px;padding:0 11px;color:var(--mut);transition:border-color var(--t)}
.ds:focus-within{border-color:var(--mut)}
.ds input{flex:1;background:transparent;border:0;outline:0;color:var(--tx);min-width:0}
.cats{display:flex;gap:4px;padding:0 14px 8px}
.cats button{height:28px;padding:0 11px;border-radius:999px;border:1px solid var(--line2);color:var(--mut);font-size:12px;transition:background var(--t),color var(--t),border-color var(--t)}
.cats button:hover{color:var(--tx)}
.cats button[aria-selected=true]{background:var(--acc);color:var(--acctx);border-color:var(--acc)}
.dl{overflow:auto;padding:0 8px 8px;min-height:120px}
.dl .h{color:var(--dim);font-size:11px;padding:10px 10px 4px}
.dl button{width:100%;display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:7px;text-align:left;transition:background .1s}
.dl button:hover,.dl button:focus-visible{background:var(--hov)}
.dl button[aria-selected=true]{background:var(--act)}
.dl .nm{flex:1}
.dl small{color:var(--dim);font-size:11px}
.symbox{width:min(560px,100%)}
#symlist button b{min-width:84px;font-weight:600}
#symlist button span{flex:1;color:var(--mut)}
.dl .tag{font-style:normal;font-size:10px;color:var(--mut);border:1px solid var(--line2);border-radius:4px;padding:0 5px}
.dl .cnt{font-style:normal;font-size:10px;color:var(--acctx);background:var(--acc);border-radius:999px;min-width:16px;height:16px;display:grid;place-items:center;padding:0 4px}
.dl .none{color:var(--dim);padding:16px 10px}
.dn{color:var(--dim);font-size:11px;padding:10px 18px 14px;border-top:1px solid var(--line)}
.menu.set{min-width:220px}
.pf{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:6px 10px;color:var(--mut);font-size:12px}
.pf input{width:84px;height:30px;background:transparent;border:1px solid var(--line2);border-radius:6px;padding:0 8px;color:var(--tx);font-variant-numeric:tabular-nums;outline:0}
.pf input:focus{border-color:var(--mut)}
.pf.pfb{cursor:pointer}.pf.pfb input{width:16px;height:16px;padding:0;accent-color:var(--acc);cursor:pointer}
.menu.set{max-height:min(72vh,620px);overflow:auto}
.pa{display:flex;justify-content:flex-end;gap:6px;padding:8px 10px 4px}
.pc{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:6px 10px;color:var(--mut);font-size:12px}
.sw3{display:grid;grid-template-columns:repeat(6,16px);gap:5px}
.menu .sw3 button,.sw3 button{width:16px;height:16px;padding:0;display:block;border-radius:50%;background:var(--c);box-shadow:inset 0 0 0 1px rgba(127,127,127,.35);transition:transform .12s var(--ease),box-shadow .12s}
.menu .sw3 button:hover,.sw3 button:hover{transform:scale(1.15);background:var(--c)}
.menu .sw3 button[aria-pressed=true],.sw3 button[aria-pressed=true]{box-shadow:0 0 0 2px var(--pop),0 0 0 3.5px var(--tx)}
.menu.set{max-height:min(560px,80vh);overflow:auto}
.pa .tb{height:30px}
.notebox{width:min(480px,100%)}
.nb{padding:0 18px 4px;display:flex;flex-direction:column;gap:10px}
.ntags{display:flex;flex-wrap:wrap;gap:6px}
.ntags button{height:28px;padding:0 10px;border-radius:999px;border:1px solid var(--line2);color:var(--mut);font-size:12px;transition:background var(--t),color var(--t),border-color var(--t)}
.ntags button:hover{color:var(--tx);border-color:var(--line3)}
.ntags button[aria-pressed=true]{background:var(--acc);color:var(--acctx);border-color:var(--acc)}
#notetx{width:100%;resize:vertical;min-height:100px;background:var(--bg);border:1px solid var(--line2);border-radius:9px;padding:10px 12px;outline:0;line-height:1.5}
#notetx:focus{border-color:var(--mut)}
.dbox.keys{width:min(480px,100%)}
.kl{padding:4px 18px 18px;display:grid;gap:2px;overflow:auto}
.kl>div{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:7px 0;border-top:1px solid var(--line)}
.kl>div:first-child{border-top:0}
.kl dd{color:var(--mut);margin:0;text-align:right}
kbd{display:inline-block;min-width:24px;height:24px;padding:0 7px;border:1px solid var(--line2);border-bottom-width:2px;border-radius:6px;font:500 11.5px Inter,sans-serif;line-height:21px;text-align:center;color:var(--tx);background:var(--bg2)}

/* ---------- tailles d'écran : la barre du haut ne déborde jamais ---------- */
@media (max-width:1500px){.logo .wm{display:none}.logo{padding-right:6px}}
@media (max-width:1400px){.bot .keys{display:none}#indbtn .lbl{display:none}#indbtn{width:34px;padding:0;justify-content:center}}
@media (max-width:1320px){.symtx small{display:none}.ah .nm small{display:none}.stats{gap:14px}}
@media (max-width:1240px){:root{--side:272px}.tfq button:nth-child(n+5){display:none}.st{grid-template-columns:1fr}.stk{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media (max-width:1140px){.datebtn .lbl{display:none}.datebtn{width:34px;padding:0;justify-content:center}.sess .lbl{display:none}.sess{width:34px;padding:0;justify-content:center}.back .lbl{display:none}}
@media (max-width:1060px){.tfq{display:none}.tfb #tftxt{display:inline;font-weight:600;color:var(--tx)}.planbadge{display:none!important}.stats div:nth-child(2){display:none}}
/* tablette et téléphone : une seule colonne, la page défile, le graphique garde une hauteur fixe */
@media (max-width:960px){
  body{display:block;overflow:auto;height:auto}
  .top{position:sticky;top:0;z-index:30;overflow-x:auto;scrollbar-width:none;padding:0 8px}
  .top::-webkit-scrollbar{display:none}
  .mid,.noside .mid{grid-template-columns:1fr;grid-template-rows:auto auto auto}
  .tools{flex-direction:row;border-right:0;border-bottom:1px solid var(--line);padding:4px 12px;overflow-x:auto;scrollbar-width:none}
  .tools .tsep{width:1px;height:20px;margin:0 5px}
  .tools button::after{display:none}
  .pane{height:min(64vh,580px);min-height:380px}
  .charts{padding-bottom:46px;flex-direction:column}
  .chartbox2{border-left:0;border-top:1px solid var(--line);min-height:260px}
  .two .pane{height:auto}.two .charts>.chartbox{min-height:340px}
  .rbar{bottom:5px;box-shadow:none;background:var(--bg2)}
  .side{border-left:0;border-top:1px solid var(--line);overflow:visible}
  .noside .side{display:none}
  .sgrip{display:none}
  .acct,.acct.min{height:auto}
  .acct.min .ab{display:none}
  .ah{flex-wrap:wrap;height:auto;padding:6px 8px;row-gap:2px}
  .tabs{height:38px;overflow-x:auto;scrollbar-width:none;max-width:100%}
  .stats{order:3;width:100%;padding:6px 10px 8px;overflow-x:auto;justify-content:space-between}
  .stats div:nth-child(2){display:flex}
  .rules{grid-template-columns:1fr;gap:18px}
  .st,.stc{grid-template-columns:1fr}.stk{grid-template-columns:repeat(3,minmax(0,1fr))}
  .hide-m{display:none!important}
  .toast{top:auto;bottom:calc(16px + env(safe-area-inset-bottom));transform:translate(-50%,6px)}
  .toast.on{transform:translate(-50%,0)}
}
@media (min-width:600px) and (max-width:960px){
  .side{display:grid;grid-template-columns:1fr 1fr;align-items:start}
  .side .oh,.side .sides,.side .otabs,.side .send,.side .note,.side .adv,.side .sum{grid-column:1/-1}
}
@media (max-width:600px){
  .top{gap:0}
  .lbl,.hide-s,.logo .rp,.logo .wm{display:none}
  .tfb{padding:0 6px}
  .sep{margin:0 3px}
  .legend{left:8px;top:6px;right:64px}
  .legend .sym{font-size:13px}
  .legend .ohlc{font-size:11px}
  .legend .ohlc>span:last-child{display:none}
  .ot{display:none}
  .rbar{padding:3px}.rbar .tb{padding:0 7px}
  .pane{height:58vh;min-height:340px}
  .lvl{width:84px}
}
/* écrans bas (portable) : tout le panneau d'ordre reste visible sans défiler */
@media (min-width:961px) and (max-height:880px){
  .acct{height:184px}
  .oh{padding:9px 8px 9px 14px}.sides{padding-top:10px}.sides button{height:46px}
  .otabs{padding-top:10px}.fl{padding-top:7px}.flh{margin-bottom:4px}.inp{height:33px}
  .sum{margin-top:9px;padding-top:6px}.sum div{padding:1.5px 0}.send{margin:10px 14px 12px;min-height:40px}
  .note{display:none}.adv{margin-top:9px}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}
}

/* =========================================================================================
   Espace Replay (façon FX Replay) : tableau des séances, offre, connexion, nouvelle séance, Propbook One
   ========================================================================================= */
/* sur le tableau, la barre du haut ne garde que retour, logo et offre */
.home-on .top .chartctl,.home-on .viewctl>:not(#themebtn),.home-on .top>.sep,.home-on #sessbtn{display:none!important}
.home{position:fixed;left:0;right:0;top:var(--top);bottom:0;z-index:35;background:var(--bg);overflow:auto}
.home[hidden]{display:none}
.home-on{overflow:hidden!important}
.home-on .rbar,.home-on .legend{visibility:hidden}
.go{height:48px;padding:0 22px;border-radius:10px;background:var(--acc);color:var(--acctx);font-weight:600;font-size:15px;display:inline-flex;align-items:center;justify-content:center;gap:8px;
  transition:background var(--t),transform .1s var(--ease);text-decoration:none}
.go:hover{background:var(--acchov)}.go:active{transform:scale(.98)}
.go svg{width:16px;height:16px;transition:transform .15s var(--ease)}
.go:hover svg{transform:translateX(2px)}
.go.sm{height:34px;padding:0 14px;font-size:13px;border-radius:8px}
a.tb{text-decoration:none;display:inline-flex;align-items:center;justify-content:center}
.ws{max-width:1240px;margin:0 auto;padding:34px 28px 40px}
.wsh{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;flex-wrap:wrap}
.wsh h1{font-size:32px;font-weight:600;letter-spacing:-.025em;margin-bottom:6px}
.wsh p{color:var(--mut);max-width:620px;line-height:1.55}
.plan{display:flex;align-items:center;gap:14px;margin-top:22px;padding:14px 16px;border:1px solid var(--line2);border-radius:12px;background:var(--bg1);flex-wrap:wrap}
.plan>div{flex:1;min-width:220px}
.plan b{font-weight:600}
.plan p{color:var(--mut);font-size:12.5px;margin-top:2px;line-height:1.5}
.plan .pi{width:34px;height:34px;border-radius:50%;border:1px solid var(--line2);display:grid;place-items:center;font-weight:600;flex:none}
.plan.one .pi{background:var(--acc);color:var(--acctx);border-color:var(--acc)}
.plan.sk-load{height:64px;background:linear-gradient(90deg,var(--bg1),var(--bg2),var(--bg1));background-size:200% 100%;animation:shim 1.2s linear infinite}
@keyframes shim{to{background-position:-200% 0}}
.kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:1px;background:var(--line);border-radius:11px;overflow:hidden;border:1px solid var(--line);margin-top:18px}
.kpis>div{background:var(--bg1);padding:10px 12px;display:flex;flex-direction:column;gap:2px}
.kpis small{color:var(--dim);font-size:10.5px}
.kpis b{font-size:17px;font-weight:600;font-variant-numeric:tabular-nums}
.wsbar{display:flex;align-items:center;gap:14px;margin:28px 0 14px;flex-wrap:wrap}
.wsbar h2{font-size:15px;font-weight:600;margin-right:auto}
.seg{display:inline-flex;border:1px solid var(--line2);border-radius:9px;padding:3px;gap:2px;flex-wrap:wrap}
.seg button{height:32px;padding:0 13px;border-radius:7px;color:var(--mut);transition:background var(--t),color var(--t)}
.seg button:hover{color:var(--tx);background:var(--hov)}
.seg button[aria-pressed=true]{background:var(--acc);color:var(--acctx);font-weight:500}
.sort{display:flex;align-items:center;gap:8px;color:var(--mut);font-size:12px}
.sort select,.hsel select{height:34px;background:var(--bg);border:1px solid var(--line2);border-radius:8px;color:var(--tx);padding:0 28px 0 10px;appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%238f8f8f' fill='none'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center}
.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:12px}
.scard{border:1px solid var(--line);border-radius:14px;background:var(--bg1);padding:14px 14px 12px;display:flex;flex-direction:column;gap:11px;cursor:pointer;
  transition:border-color var(--t),transform .16s var(--ease),background var(--t),box-shadow var(--t);animation:cardIn .3s var(--out) both;animation-delay:calc(var(--i,0)*30ms)}
.scard:hover{border-color:var(--line3);transform:translateY(-2px);box-shadow:0 12px 30px -18px rgba(0,0,0,.5)}
@keyframes cardIn{from{transform:translateY(8px)}}
.scard header{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
.scard .sn{display:flex;flex-direction:column;gap:5px;min-width:0}
.scard .sn b{font-weight:600;font-size:14.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.scard .icob{height:28px;width:28px}
.badge{align-self:flex-start;font-size:10.5px;border-radius:999px;padding:2px 8px;border:1px solid var(--line2);color:var(--mut)}
.badge.active{color:var(--tx)}
.badge.pass{color:var(--upt);border-color:color-mix(in srgb,var(--up) 50%,transparent)}
.badge.blown{color:var(--dnt);border-color:color-mix(in srgb,var(--dn) 50%,transparent)}
.badge.locked{color:var(--acctx);background:var(--acc);border-color:var(--acc)}
.chips{display:flex;gap:6px;flex-wrap:wrap}
.chips span{font-size:11px;color:var(--mut);background:var(--bg2);border:1px solid var(--line);border-radius:6px;padding:2px 7px}
.sv{display:flex;align-items:flex-end;justify-content:space-between;gap:10px}
.scard .sv>div{display:flex;flex-direction:column}
.scard .sv b{font-size:20px;font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:-.01em}
.scard .sv small{font-size:11.5px;font-variant-numeric:tabular-nums}
.spk{width:140px;height:40px;flex:none}
.spk polyline{fill:none;stroke-width:1.6;vector-effect:non-scaling-stroke}
.spk .u{stroke:var(--up)}.spk .d{stroke:var(--dn)}
.spk .z{stroke:var(--line2);stroke-dasharray:2 3;vector-effect:non-scaling-stroke}
.sk{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);border-radius:9px;overflow:hidden;margin:0}
.sk>div{background:var(--bg1);padding:7px 9px}
.sk dt{color:var(--dim);font-size:10.5px}
.sk dd{margin:0;font-weight:600;font-variant-numeric:tabular-nums}
.scard .sw{display:flex;align-items:center;gap:6px;color:var(--mut);font-size:12px;margin:0}
.scard .sw svg{width:14px;height:14px}
.scard footer{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid var(--line);padding-top:10px}
.scard footer small{color:var(--dim);font-size:11px}
.scard footer>div{display:flex;align-items:center;gap:4px}
.scard.st-locked{opacity:.78}
.scard.st-locked:hover{opacity:1}
.ws .empty{border:1px dashed var(--line2);border-radius:14px;padding:38px 20px;display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;max-width:none}
.ws .empty svg{width:150px;height:80px}
.ws .empty .ec rect{fill:var(--line2)}.ws .empty .ec line{stroke:var(--line2);stroke-width:1.5}
.ws .empty .eq rect{fill:none;stroke:var(--mut);stroke-width:1.5}.ws .empty .eq path{fill:var(--tx)}
.ws .empty b{font-size:15px;color:var(--tx)}
.ws .empty p{color:var(--mut);max-width:420px;line-height:1.55}
.note2{color:var(--dim);font-size:11.5px;margin-top:22px;line-height:1.5}
/* visiteur sans compte : la page d'atterrissage statique (#landing dans replay.html, maquette v2 validée le 19/11/2026).
   Un compte ne la voit pas : il arrive sur ses séances. La place du classement du défi est gardée (aucun décalage). */
.land{max-width:1240px;margin:0 auto;padding:clamp(28px,5vw,64px) 28px 48px}
.lhero{max-width:760px}
.land h1{font-size:clamp(32px,4.4vw,56px);line-height:1.03;letter-spacing:-.035em;font-weight:700;text-wrap:balance}
.llead{margin-top:16px;font-size:clamp(15px,1.4vw,18px);line-height:1.6;color:var(--mut);max-width:60ch}
.lcta{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}
.lbt{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:44px;padding:0 18px;border-radius:10px;font:inherit;font-size:14px;font-weight:600;text-decoration:none;color:var(--tx);background:var(--bg2);border:1px solid var(--line2);cursor:pointer;transition:background var(--t) var(--ease),transform .1s var(--ease)}
.lbt:hover{background:var(--hov)}
.lbt:active{transform:scale(.98)}
.lbt.pri{background:var(--acc);color:var(--acctx);border-color:var(--acc)}
.lbt.pri:hover{background:var(--acchov)}
.lfine{margin-top:10px;font-size:13px;color:var(--dim)}
.lfine a{color:var(--tx);text-underline-offset:3px}
.lshot{margin:clamp(24px,3.5vw,40px) 0 0}
.lshot picture{display:block}
.lshot img{display:block;width:100%;height:auto;border:1px solid var(--line2);border-radius:14px;background:var(--bg1)}
.lshot figcaption{margin-top:10px;font-size:12.5px;color:var(--dim)}
.lshort{margin-top:clamp(24px,3vw,36px);padding:18px 22px;border:1px solid var(--line2);border-radius:14px;background:var(--bg1)}
.lshort .lk{font-size:12px;font-weight:600;color:var(--mut);margin-bottom:6px}
.lshort p+p{font-size:15px;line-height:1.6}
.lsec{margin-top:clamp(28px,4vw,48px);padding-top:clamp(24px,3.5vw,40px);border-top:1px solid var(--line)}
.lsec h2{font-size:clamp(20px,2.2vw,26px);font-weight:650;letter-spacing:-.02em;line-height:1.2;margin-bottom:14px}
.lsub{color:var(--mut);max-width:62ch;line-height:1.6;font-size:14px}
.ldly{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:clamp(20px,4vw,48px);align-items:start}
.lrules{margin:18px 0 0;display:grid;gap:10px;font-size:13.5px}
.lrules div{display:flex;gap:12px}.lrules dt{flex:none;width:86px;font-weight:600}.lrules dd{margin:0;color:var(--mut);line-height:1.5}
.lboard{border:1px solid var(--line2);border-radius:14px;background:var(--bg1);overflow:hidden}
.lbh{display:flex;align-items:center;gap:10px;padding:13px 16px;border-bottom:1px solid var(--line)}
.lbh b{font-size:14px}.lsp{flex:1}.lbh small{color:var(--mut);font-size:12.5px;font-variant-numeric:tabular-nums}
.ldot{width:7px;height:7px;border-radius:50%;background:var(--up);box-shadow:0 0 0 3px color-mix(in srgb,var(--up) 25%,transparent)}
.lbb{min-height:438px;display:flex;flex-direction:column}
.lbmsg{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:24px 16px;text-align:center}
.lbmsg b{font-size:14.5px}.lbmsg p{color:var(--mut);font-size:13px}
.lbic{width:40px;height:40px;margin-bottom:8px;border:1px dashed var(--line3);border-radius:10px;display:grid;place-items:center;color:var(--mut);font-weight:700}
.lbtab{width:100%;border-collapse:collapse;font-size:13px;font-variant-numeric:tabular-nums}
.lbtab th{font-size:11.5px;font-weight:500;color:var(--dim);text-align:left;padding:9px 16px;border-bottom:1px solid var(--line)}
.lbtab td{padding:10px 16px;border-bottom:1px solid var(--line);height:39px}
.lbtab tr:last-child td{border-bottom:0}
.lbtab .lrk{width:52px;color:var(--mut)}.lbtab .lrs{text-align:right}.lbtab td.lrs{font-weight:600}
.lbtab .ltr{text-align:right;width:64px}.lbtab td.ltr{color:var(--mut)}
.lbtab tr.first .lrk{color:var(--tx);font-weight:700}
.lbtab .pos{color:var(--upt)}.lbtab .neg{color:var(--dnt)}
.lbf{padding:11px 16px;border-top:1px solid var(--line);font-size:12px;color:var(--dim)}
.land .seog{margin-bottom:0}
.lmk{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.lmk>div{padding:14px 16px;border:1px solid var(--line);border-radius:12px}
.lmk h3{font-size:12.5px;color:var(--mut);font-weight:600;margin:0 0 8px}
.lmk ul{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:6px}
.lmk li{font-size:12.5px;padding:3px 9px;border:1px solid var(--line2);border-radius:999px}
.lsrc{margin-top:12px;font-size:12.5px;color:var(--dim)}
.lprice{display:grid;grid-template-columns:1fr 1fr 1.15fr;gap:12px;align-items:stretch}
.lplan{display:flex;flex-direction:column;gap:10px;padding:20px;border:1px solid var(--line2);border-radius:14px;background:var(--bg1)}
.lplan.one{border-color:var(--acc);box-shadow:inset 0 0 0 1px var(--acc)}
.lplan .ln{font-weight:600;font-size:14px}
.lplan .lp b{font-size:28px;font-weight:700;letter-spacing:-.02em;font-variant-numeric:tabular-nums}.lplan .lp small{font-size:13px;color:var(--mut)}
.lyr{font-size:12.5px;color:var(--mut);margin-top:-6px}.lyr b{color:var(--tx);font-weight:600}
.lplan ul{list-style:none;padding:0;margin:0;display:grid;gap:6px;align-content:start;font-size:13px;color:var(--mut);flex:1}
.lplan li{display:flex;gap:9px}.lplan li::before{content:"";flex:none;width:6px;height:6px;margin-top:6px;border-radius:50%;background:var(--tx)}
.lplan .lbt{width:100%}
.lpromo{align-self:flex-start;font-size:11.5px;font-weight:600;padding:4px 8px;border-radius:6px;background:var(--acc);color:var(--acctx)}
.lfaq details{border-top:1px solid var(--line);padding:13px 0}
.lfaq details:last-child{border-bottom:1px solid var(--line)}
.lfaq summary{cursor:pointer;font-weight:600;font-size:14px;list-style:none;display:flex;justify-content:space-between;gap:12px}
.lfaq summary::-webkit-details-marker{display:none}
.lfaq summary::after{content:"+";color:var(--mut);font-weight:400}
.lfaq details[open] summary::after{content:"−"}
.lfaq details p{margin-top:8px;max-width:760px;color:var(--mut);font-size:13.5px;line-height:1.6}
.lfoot{margin-top:28px;font-size:12px;color:var(--dim)}
@media (max-width:960px){.ldly{grid-template-columns:1fr}.lmk,.lprice{grid-template-columns:1fr}}
@media (max-width:600px){.land{padding:24px 16px 36px}.lcta .lbt{flex:1 1 auto}.lbtab .ltr{display:none}.lbtab td,.lbtab th{padding-left:12px;padding-right:12px}.lbb{min-height:420px}}
@keyframes gIn{from{opacity:0;transform:translateY(6px)}}
.seo{max-width:1240px;margin:0 auto;padding:10px 28px 60px;border-top:1px solid var(--line)}
.seo h2{font-size:18px;font-weight:600;letter-spacing:-.01em;margin:28px 0 14px}
.seo h3{font-size:13.5px;font-weight:600;margin:0 0 6px}
.seog{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:22px}
.seog>div{border:1px solid var(--line);border-radius:12px;padding:14px}
.seog p,.seo details p{color:var(--mut);font-size:12.5px;line-height:1.55}
.seo>h3{margin-top:8px}
.seo details{border-top:1px solid var(--line);padding:11px 0}
.seo summary{cursor:pointer;font-weight:500;list-style:none;display:flex;justify-content:space-between;gap:10px}
.seo summary::after{content:"+";color:var(--mut)}
.seo details[open] summary::after{content:"−"}
.seo details p{margin-top:8px;max-width:760px}
@media (max-width:1000px){.kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.seog{grid-template-columns:repeat(2,minmax(0,1fr))}.gate{grid-template-columns:1fr}.gviz{height:220px}}
@media (max-width:600px){.ws{padding:22px 16px 30px}.wsh h1{font-size:26px}.wsh .go{width:100%}.seog{grid-template-columns:1fr}.seo{padding:6px 16px 40px}.cards{grid-template-columns:1fr}
  .plan .go,.plan .tb{width:100%}.gate{padding:22px}.gate h1{font-size:26px}.gate .ga>*{width:100%}}

/* nouvelle séance */
.dbox.newbox{width:min(780px,100%);max-height:min(880px,calc(100vh - 32px))}
.newbody{overflow:auto;padding:0 18px 6px;min-height:0}
.newbody h3{display:flex;align-items:center;gap:10px;font-size:13.5px;font-weight:600;margin:20px 0 10px}
.newbody h3 i{font-style:normal;width:22px;height:22px;border-radius:50%;border:1px solid var(--line2);display:grid;place-items:center;font-size:11px;color:var(--mut)}
.newbody .nm{display:flex;flex-direction:column;gap:6px;color:var(--mut);font-size:12px;margin-top:2px}
.newbody .nm input,.cust input{height:40px;background:var(--bg);border:1px solid var(--line2);border-radius:9px;padding:0 12px;color:var(--tx);outline:none;transition:border-color var(--t)}
.newbody .nm input:focus,.cust input:focus{border-color:var(--mut)}
.newbody input[type=datetime-local]{display:block;margin-top:10px}
.hcats{display:flex;gap:4px;margin-bottom:8px;flex-wrap:wrap}
.hcats button{height:28px;padding:0 11px;border-radius:999px;border:1px solid var(--line2);color:var(--mut);font-size:12px;transition:background var(--t),color var(--t),border-color var(--t)}
.hcats button[aria-pressed=true]{background:var(--acc);color:var(--acctx);border-color:var(--acc)}
.hsyms{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;max-height:236px;overflow:auto;padding:1px}
.hsym{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:10px 12px;border:1px solid var(--line2);border-radius:10px;text-align:left;
  transition:border-color var(--t),background var(--t),transform .1s var(--ease)}
.hsym:hover{border-color:var(--line3);background:var(--bg1)}
.hsym:active{transform:scale(.985)}
.hsym b{font-size:14px;font-weight:600}
.hsym span{color:var(--mut);font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.hsym small{color:var(--dim);font-size:10.5px}
.hsym[aria-pressed=true]{border-color:var(--acc);background:var(--bg2);box-shadow:inset 0 0 0 1px var(--acc)}
.hrow{display:flex;align-items:center;gap:12px;margin-top:12px;flex-wrap:wrap}
.hl{color:var(--mut);font-size:12px}
.hint{color:var(--dim);font-size:12px;margin-top:10px;line-height:1.5}
.hint b{color:var(--tx);font-weight:500}
.hacct{margin-top:12px}
.hsel{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:12px}
.hsel label{display:flex;flex-direction:column;gap:6px;color:var(--mut);font-size:12px}
.hsel select{height:38px;width:100%}
.hsel select:focus{border-color:var(--mut);outline:none}
.rchips{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.rchips>div{background:var(--bg);padding:10px 12px;display:flex;flex-direction:column;gap:3px;border:1px solid var(--line);border-radius:9px}
.rchips small{color:var(--dim);font-size:11px}
.rchips b{font-weight:600;font-variant-numeric:tabular-nums}
.rsrc{color:var(--dim);font-size:11.5px;margin-top:8px}
.rsrc a{color:var(--mut)}
.cust{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.cust label{display:flex;flex-direction:column;gap:5px;color:var(--mut);font-size:11.5px}
.cust input{height:36px;font-variant-numeric:tabular-nums}
.cust select{height:36px;background:var(--bg);border:1px solid var(--line2);border-radius:9px;padding:0 10px;color:var(--tx)}
.fixday{display:flex;flex-direction:column;gap:2px;border:1px solid var(--line2);border-radius:10px;padding:10px 12px;background:var(--bg2)}
.fixday span{color:var(--mut);font-size:12px}
.freenote{margin-top:16px;padding:10px 12px;border:1px solid var(--line2);border-radius:10px;color:var(--tx);font-size:12.5px;background:var(--bg2)}
.df{display:flex;justify-content:flex-end;gap:8px;padding:14px 18px;border-top:1px solid var(--line)}
.df .go,.df .tb{height:42px}
@media (max-width:700px){.hsyms{grid-template-columns:repeat(2,minmax(0,1fr))}.rchips,.cust{grid-template-columns:repeat(2,minmax(0,1fr))}.hsel{grid-template-columns:1fr}}

/* Propbook One */
.dbox.pwbox{width:min(520px,100%)}
.pwmsg{color:var(--mut);padding:0 18px;line-height:1.6}
.pwone{margin:16px 18px 0;border:1px solid var(--line2);border-radius:12px;padding:14px 16px;background:var(--bg2)}
.pwh2{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:8px}
.pwh2 b{font-weight:600;font-size:15px}
.pwh2 span{color:var(--mut);font-size:12px}
.pwone ul{list-style:none;padding:0;margin:0;display:grid;gap:7px}
.pwone li{display:flex;gap:9px;align-items:flex-start;color:var(--tx);font-size:13px;line-height:1.45}
.pwone li::before{content:"";width:14px;height:14px;flex:none;margin-top:2px;border-radius:50%;background:var(--acc);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3.5 7.2l2.3 2.3 4.7-5' fill='none' stroke='%23000' stroke-width='1.8'/%3E%3C/svg%3E") center/100% no-repeat}
.pwact{display:flex;gap:8px;flex-wrap:wrap;padding:18px}
.pwact .go,.pwact .tb{height:42px}
.dlg.conf .pwmsg{padding-bottom:0}
#cardmenu{min-width:200px}
#cardmenu .danger{color:var(--dnt)}
@media (max-width:600px){.pwact>*{width:100%}.df>*{flex:1}}

/* carte à partager */
.dbox.share{width:min(860px,100%)}
.shbody{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:20px;padding:4px 18px 20px;min-height:0;overflow:auto}
#sharecv{display:block;margin:0 auto;width:auto;height:min(60vh,560px);max-width:100%;object-fit:contain;border-radius:10px;border:1px solid var(--line2);background:#0a0a0a}
.story #sharecv{height:min(64vh,620px)}
.shopt{display:flex;flex-direction:column;gap:14px;align-items:flex-start}
.chk{display:flex;align-items:center;gap:8px;color:var(--mut);cursor:pointer}
.shopt .tb.on{height:42px;padding:0 16px;border-radius:9px;font-weight:600}
@media (max-width:700px){.shbody{grid-template-columns:1fr}#sharecv,.story #sharecv{height:auto;width:100%;max-height:none}.story #sharecv{width:min(100%,320px)}}

/* ---------- bilan de fin de séance ---------- */
.dbox.repbox{width:min(760px,100%);max-height:min(900px,calc(100vh - 24px));position:relative;overflow:hidden auto;padding:22px 22px 18px}
.dlg.rep.on .dbox{animation:repIn .55s cubic-bezier(.34,1.4,.64,1)}
@keyframes repIn{0%{transform:translateY(18px) scale(.94);opacity:0}100%{transform:none;opacity:1}}
.repbox::before{content:"";position:absolute;inset:-1px;border-radius:inherit;pointer-events:none;opacity:.9;
  background:radial-gradient(120% 60% at 50% -10%,rgba(127,127,127,.12),transparent 60%)}
.dlg.rep.good .repbox::before{background:radial-gradient(110% 55% at 50% -12%,rgba(38,166,154,.22),transparent 62%)}
.dlg.rep.bad .repbox::before{background:radial-gradient(110% 55% at 50% -12%,rgba(239,83,80,.2),transparent 62%)}
.repbox .rx{position:absolute;right:12px;top:12px;z-index:2}
.repbody{position:relative;display:flex;flex-direction:column;gap:14px}
.repbody>*{opacity:0;transform:translateY(10px)}
.repbody.play>*{animation:repUp .5s var(--out) both}
.repbody.play>*:nth-child(1){animation-delay:.05s}.repbody.play>*:nth-child(2){animation-delay:.12s}.repbody.play>*:nth-child(3){animation-delay:.19s}
.repbody.play>*:nth-child(4){animation-delay:.26s}.repbody.play>*:nth-child(5){animation-delay:.33s}.repbody.play>*:nth-child(6){animation-delay:.4s}
.repbody.play>*:nth-child(7){animation-delay:.47s}.repbody.play>*:nth-child(8){animation-delay:.54s}.repbody.play>*:nth-child(9){animation-delay:.61s}
@keyframes repUp{to{opacity:1;transform:none}}
.rph{display:flex;align-items:center;gap:14px;padding-right:40px}
.rph h2{font-size:21px;font-weight:650;letter-spacing:-.02em;line-height:1.2}
.rph p{color:var(--mut);font-size:12.5px;margin-top:3px}
.ri{width:46px;height:46px;flex:none;border-radius:14px;display:grid;place-items:center;background:var(--bg2);border:1px solid var(--line2);color:var(--tx)}
.ri svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ri.ok{color:#fff;background:var(--up);border-color:var(--up);box-shadow:0 0 0 6px rgba(38,166,154,.14)}
.ri.bad{color:#fff;background:var(--dn);border-color:var(--dn);box-shadow:0 0 0 6px rgba(239,83,80,.14)}
.repbody.play .ri{animation:riPop .7s cubic-bezier(.34,1.56,.64,1) .15s both}
@keyframes riPop{0%{transform:scale(.4) rotate(-12deg)}100%{transform:none}}
.rwhy{color:var(--dnt);font-size:12.5px;border:1px solid color-mix(in srgb,var(--dn) 40%,transparent);background:color-mix(in srgb,var(--dn) 8%,transparent);border-radius:9px;padding:8px 11px}
.rhero{display:grid;grid-template-columns:1.1fr auto 1.4fr;gap:12px;align-items:stretch}
.rhero>div{border:1px solid var(--line);border-radius:14px;background:var(--bg1);padding:12px 14px;display:flex;flex-direction:column;justify-content:center;min-width:0}
.rnet small,.rcurve small,.rring small{color:var(--dim);font-size:11px}
.rnet b{font-size:34px;font-weight:700;letter-spacing:-.03em;font-variant-numeric:tabular-nums;line-height:1.1;margin:2px 0}
.rnet span{color:var(--mut);font-size:12px;font-variant-numeric:tabular-nums}
.rring{align-items:center;position:relative;width:118px}
.rring svg{width:76px;height:76px;transform:rotate(-90deg)}
.rring circle{fill:none;stroke-width:6}
.rring .bg{stroke:var(--line2)}
.rring .fg{stroke:var(--up);stroke-linecap:round;transition:stroke-dashoffset 1.2s var(--out) .25s}
.rring b{position:absolute;top:calc(50% - 20px);font-size:15px;font-weight:700;font-variant-numeric:tabular-nums}
.rring small{margin-top:4px}
.rcurve svg{width:100%;height:86px;margin-top:4px}
.rcurve .z{stroke:var(--line2);stroke-dasharray:3 3;vector-effect:non-scaling-stroke}
.rcurve polyline{fill:none;stroke-width:2;vector-effect:non-scaling-stroke;stroke-dasharray:1;stroke-dashoffset:1}
.rcurve .u{stroke:var(--up)}.rcurve .d{stroke:var(--dn)}
.rcurve polygon{opacity:0}.rcurve .fu{fill:rgba(38,166,154,.14)}.rcurve .fd{fill:rgba(239,83,80,.14)}
.repbody.play .rcurve polyline{animation:draw 1.3s var(--out) .35s forwards}
.repbody.play .rcurve polygon{animation:fadeIn .6s ease 1.1s forwards}
@keyframes draw{to{stroke-dashoffset:0}}@keyframes fadeIn{to{opacity:1}}
.rkpi{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:var(--line);border:1px solid var(--line);border-radius:12px;overflow:hidden}
.rk{background:var(--bg1);padding:9px 12px;display:flex;flex-direction:column;gap:2px;min-width:0}
.rk small{color:var(--dim);font-size:10.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rk b{font-weight:650;font-size:15px;font-variant-numeric:tabular-nums;white-space:nowrap}
.rbars{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.rb .rbl{display:flex;justify-content:space-between;font-size:12px;color:var(--mut);margin-bottom:6px}
.rb .rbl b{color:var(--tx);font-variant-numeric:tabular-nums}
.rb i{display:block;height:6px;border-radius:99px;background:var(--line2);overflow:hidden}
.rb u{display:block;height:100%;border-radius:inherit;background:var(--up);transform-origin:left;transform:scaleX(0)}
.rb.dd u{background:linear-gradient(90deg,var(--up),var(--warn) 60%,var(--dn))}
.repbody.play .rb u{animation:barIn 1.1s var(--out) .5s forwards}
@keyframes barIn{to{transform:scaleX(var(--p))}}
.rins{list-style:none;padding:0;margin:0;display:grid;gap:6px}
.rins li{display:flex;gap:9px;align-items:flex-start;font-size:13px;line-height:1.45;opacity:0}
.rins li::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--tx);margin-top:7px;flex:none}
.repbody.play .rins li{animation:repUp .45s var(--out) var(--d) both}
.rtr{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.rt{display:grid;grid-template-columns:auto 1fr auto auto auto;gap:8px;align-items:center;font-size:12px;padding:7px 10px;border:1px solid var(--line);border-radius:9px;background:var(--bg1);font-variant-numeric:tabular-nums;opacity:0}
.repbody.play .rt{animation:repUp .45s var(--out) var(--d) both}
.rt small{color:var(--dim)}.rt em{font-style:normal;font-weight:600}
.rup{position:relative;border-radius:14px;padding:1px;background:linear-gradient(120deg,var(--line2),var(--tx),var(--line2));background-size:220% 100%;animation:shine 4s linear infinite}
@keyframes shine{to{background-position:-220% 0}}
.rupin{display:flex;align-items:center;gap:14px;justify-content:space-between;border-radius:13px;background:var(--pop);padding:13px 15px;flex-wrap:wrap}
.rupin b{font-weight:650}
.rupin p{color:var(--mut);font-size:12.5px;margin-top:2px;max-width:420px}
.ract{display:flex;gap:8px;flex-wrap:wrap;padding-top:4px}
.ract .go,.ract .tb{height:42px}
.confetti{position:fixed;inset:0;width:100vw;height:100vh;pointer-events:none;z-index:80;display:none}
@media (max-width:700px){.rhero{grid-template-columns:1fr 1fr}.rcurve{grid-column:1/-1}.rkpi{grid-template-columns:repeat(2,minmax(0,1fr))}.rbars,.rtr{grid-template-columns:1fr}
  .rnet b{font-size:28px}.ract>*{flex:1}.rring{width:auto}}
@media (prefers-reduced-motion:reduce){.repbody>*,.rins li,.rt{opacity:1;transform:none}.rcurve polyline{stroke-dashoffset:0}.rcurve polygon{opacity:1}.rb u{transform:scaleX(var(--p))}}

/* ---------- Replay v4, lot 1 : mode, pauses automatiques, marque-pages, sauts, fuseau horaire ---------- */
.rbar .mode{gap:7px;font-weight:500;color:var(--tx)}
.rbar .mode .mdot{width:7px;height:7px;border-radius:50%;background:var(--dim);flex:none}
body.exam .rbar .mode{color:var(--warn)}body.exam .rbar .mode .mdot{background:var(--warn)}
body.blind .rbar .mode .mdot{box-shadow:0 0 0 2px var(--pop),0 0 0 3px var(--mut)}
body.exam #back,body.exam #ffbtn,body.exam #pick,body.exam #rand{opacity:.3;pointer-events:none}
.rbar .apn{font-size:11px;font-variant-numeric:tabular-nums;color:var(--mut);min-width:6px}
.rbar #apbtn{gap:3px;padding:0 8px}
.menu button kbd{margin-left:auto;font:10.5px ui-monospace,Menlo,monospace;color:var(--dim);border:1px solid var(--line2);border-radius:4px;padding:1px 4px;flex:none}
.menu .ffpx{display:flex;gap:6px;padding:4px 10px 6px}
.menu .ffpx input{flex:1;min-width:0;height:30px;background:transparent;border:1px solid var(--line2);border-radius:6px;padding:0 8px;color:var(--tx);font-variant-numeric:tabular-nums;outline:0}
.menu .ffpx input:focus{border-color:var(--mut)}
.menu .apr{display:flex;align-items:center;gap:9px;padding:7px 10px;border-radius:7px;cursor:pointer;color:var(--tx);white-space:nowrap}
.menu .apr:hover{background:var(--hov)}
.menu .apr input[type=checkbox]{width:15px;height:15px;accent-color:var(--acc);flex:none;margin:0;cursor:pointer}
.menu .apr input[type=number],.menu .apr select{width:56px;height:26px;background:transparent;border:1px solid var(--line2);border-radius:6px;padding:0 6px;color:var(--tx);margin-left:auto;outline:0}
.menu .apr select{width:62px}.menu .apr small{color:var(--dim)}
#bmlist .bmr{display:flex;align-items:center;gap:4px}
#bmlist .bmr button:first-child{flex:1}#bmlist .bmr .bmx{width:30px;flex:none;justify-content:center;color:var(--dim)}
#bmlist .none{color:var(--dim);padding:6px 10px 8px;font-size:12px}
.bot .clockb{height:22px;padding:0 7px;color:var(--mut);max-width:60%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block;line-height:22px}
.bot .clockb:hover{background:var(--hov);color:var(--tx)}
#tzmenu button small{margin-left:auto;color:var(--dim);font-variant-numeric:tabular-nums}
body.blind #symbtn{pointer-events:none}
.hblind{display:flex;gap:10px;align-items:flex-start;margin-top:12px;padding:10px 12px;border:1px solid var(--line2);border-radius:9px;cursor:pointer}
.hblind input{width:16px;height:16px;margin-top:2px;accent-color:var(--acc);flex:none}
.hblind span{display:grid;gap:2px}.hblind small{color:var(--dim);font-size:12px;line-height:1.45}
/* barre de lecture v4 plus compacte : choix de bougie en icône, état de lecture en point (le texte reste lu par les lecteurs d'écran) */
.rbar #pick .lbl{display:none}.rbar #pick{width:32px;padding:0;justify-content:center}
.rbar .rec{padding:0 8px 0 6px;font-size:0;gap:0}
.rbar .rec::before{width:7px;height:7px}
/* les étiquettes des ordres passent au-dessus de la barre de lecture : on peut toujours les glisser */
#olay{z-index:7}

/* ---------- Replay v4, lot 2 : paramètres du graphique ---------- */
.dbox.csbox{width:min(720px,100%)}
.csgrid{display:grid;grid-template-columns:170px 1fr;min-height:340px;border-top:1px solid var(--line)}
.cstabs{border-right:1px solid var(--line);padding:8px;display:flex;flex-direction:column;gap:2px}
.cstabs button{text-align:left;padding:8px 10px;border-radius:7px;color:var(--mut)}
.cstabs button:hover{background:var(--hov);color:var(--tx)}.cstabs button[aria-selected=true]{background:var(--act);color:var(--tx)}
.csbody{padding:10px 18px 16px;overflow:auto;max-height:min(460px,calc(100vh - 220px));display:flex;flex-direction:column;gap:2px}
.csbody h3{font-size:12px;font-weight:600;color:var(--dim);margin:10px 0 4px}
.csr{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 0;color:var(--tx);border-bottom:1px solid var(--line)}
.csr input[type=checkbox]{width:16px;height:16px;accent-color:var(--acc);cursor:pointer}
.csr select{height:30px;background:var(--bg);border:1px solid var(--line2);border-radius:7px;color:var(--tx);padding:0 8px;max-width:60%}
.csr .sw3{grid-template-columns:repeat(12,16px)}
.csf .sp{flex:1}
.nowbtn{position:absolute;right:76px;bottom:44px;z-index:6;width:30px;height:30px;border-radius:8px;background:var(--glass);border:1px solid var(--line2);display:grid;place-items:center;color:var(--tx);box-shadow:var(--shadow)}
.nowbtn:hover{background:var(--hov)}.nowbtn svg{width:15px;height:15px}
body.cs-notitle #lgsym{display:none}
body.cs-noohlc #lgohlc>i,body.cs-noohlc #lgohlc>span:not(:last-child){display:none}
body.cs-nochg #lgohlc>span:last-child{display:none}
body.cs-noinds #lginds,body.cs-noinds #plegs{display:none}
body.cs-novals #lginds .v,body.cs-novals #plegs .v{display:none}
body.cs-noord #olay{display:none}
@media (max-width:600px){.csgrid{grid-template-columns:1fr}.cstabs{flex-direction:row;overflow-x:auto;border-right:0;border-bottom:1px solid var(--line)}.cstabs button{white-space:nowrap}}
.nowbtn[hidden]{display:none}

/* ---------- Replay v4, lot 2 C : liste de surveillance (au prix du replay) ---------- */
.stabs{display:flex;gap:2px;padding:8px 12px 0;border-bottom:1px solid var(--line)}
.stabs button{padding:6px 10px 8px;color:var(--mut);border-bottom:2px solid transparent;margin-bottom:-1px;font-weight:500}
.stabs button[aria-selected=true]{color:var(--tx);border-bottom-color:var(--tx)}
.side.wlmode>:not(.sgrip):not(.stabs):not(.wl){display:none!important}
.wl{display:flex;flex-direction:column;min-height:0}
.wlh{display:flex;align-items:center;gap:4px;padding:8px 8px 6px 10px}
.wlh .wlt{color:var(--dim);font-size:11px;margin-right:4px}
.wlrows{display:flex;flex-direction:column}
.wlr{display:grid;grid-template-columns:12px minmax(0,1fr) 56px 76px 58px 22px;align-items:center;gap:6px;padding:7px 10px;border-bottom:1px solid var(--line);cursor:pointer}
.wlr:hover{background:var(--hov)}.wlr.cur{background:var(--act)}
.wlr .fl{width:4px;height:16px;border-radius:2px;background:var(--line2);justify-self:center;border:0;padding:0}
.wlr .nm{min-width:0;display:flex;flex-direction:column}.wlr .nm b{font-weight:600}.wlr .nm small{color:var(--dim);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wlr .px,.wlr .ch{text-align:right;font-variant-numeric:tabular-nums;font-size:12px}
.wlr .rm{color:var(--dim);opacity:0;width:22px;height:22px;border-radius:5px}.wlr:hover .rm{opacity:1}.wlr .rm:hover{background:var(--act);color:var(--tx)}
.wl .none,.wl .mn{color:var(--dim);font-size:12px;padding:10px 12px;line-height:1.5}
#wlmenu .wlnew{display:flex;gap:6px;padding:6px 10px}
#wlmenu .wlnew input{flex:1;min-width:0;height:30px;background:transparent;border:1px solid var(--line2);border-radius:6px;padding:0 8px;color:var(--tx);outline:0}
#symlist .sfav{margin-left:6px;color:var(--dim);width:24px;height:24px;border-radius:5px;flex:none;font-size:14px}
#symlist .sfav[aria-pressed=true]{color:var(--warn)}
.dl .symr{display:flex;align-items:center;gap:2px}.dl .symr>button[data-sym]{flex:1;min-width:0}
.dl .symr .sfav{width:30px;flex:none;justify-content:center;padding:0;height:30px}

/* ---------- Replay v4, lot 2 B : layouts de 1 à 8 graphiques ---------- */
.lays{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;padding:4px 10px 8px}
.lays button{height:34px;padding:4px!important;border:1px solid var(--line2);border-radius:6px;display:grid!important;gap:2px}
.lays button i{display:block;background:var(--line3);border-radius:1px}
.lays button[aria-checked=true]{border-color:var(--tx)}.lays button[aria-checked=true] i{background:var(--tx)}
.lays button[aria-checked=true]::after{display:none}
.lays button:disabled{opacity:.3}
.charts.lay-2v{flex-direction:column}.charts.lay-2v>.chartbox2{border-left:0;border-top:1px solid var(--line)}
.charts.lay-3,.charts.lay-4,.charts.lay-6,.charts.lay-8{display:grid;gap:1px;background:var(--line)}
.charts.lay-3{grid-template-columns:2fr 1fr;grid-template-rows:1fr 1fr}.charts.lay-3>.chartbox{grid-row:1/3}
.charts.lay-4{grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr}
.charts.lay-6{grid-template-columns:repeat(3,1fr);grid-template-rows:1fr 1fr}
.charts.lay-8{grid-template-columns:repeat(4,1fr);grid-template-rows:1fr 1fr}
.charts[class*=lay-]>.chartbox,.charts[class*=lay-]>.chartbox2{min-width:0;min-height:0;background:var(--bg)}
.charts.lay-3>.chartbox2,.charts.lay-4>.chartbox2,.charts.lay-6>.chartbox2,.charts.lay-8>.chartbox2{border-left:0}
.subbox .subc{position:absolute;inset:0}
.subbox .note2{position:absolute;left:12px;bottom:10px;color:var(--dim);font-size:11.5px;z-index:4;pointer-events:none}
.charts.has-max{display:flex!important}.charts.has-max>:not(.maxed):not(.rbar){display:none!important}
.legend2 .mx{pointer-events:auto;width:26px;height:26px;border-radius:7px;border:1px solid var(--line2);background:var(--glass);color:var(--mut);display:inline-grid;place-items:center}
.legend2 .mx:hover{color:var(--tx);background:var(--hov)}.legend2 .mx svg{width:13px;height:13px}
.maxed .legend2 .mx{color:var(--tx);border-color:var(--line3)}
.legend2 .mx{pointer-events:auto;width:26px;height:26px;border-radius:7px;border:1px solid var(--line2);background:var(--glass);color:var(--mut);display:inline-grid;place-items:center}
.legend2 .mx:hover{color:var(--tx);background:var(--hov)}.legend2 .mx svg{width:13px;height:13px}
.maxed .legend2 .mx{color:var(--tx);border-color:var(--line3)}
.wl[hidden]{display:none!important}
.lays button{align-items:stretch!important;justify-items:stretch}
.lays button i{min-height:4px;min-width:4px}

/* ---------- lot 3 du Replay v4 : outils de dessin par familles, favoris, arborescence ---------- */
.tools .tfam{position:relative;display:flex}
.tools .tfam .fmore{position:absolute;right:-1px;bottom:-1px;width:10px;height:10px;border-radius:2px;padding:0;display:grid;place-items:center;color:var(--dim);opacity:.55;background:none}
.tools .tfam .fmore svg{width:6px;height:6px}
.tools .tfam .fmore::after{display:none}
.tools .tfam:hover .fmore{opacity:1;color:var(--tx)}
.tools .tfam .fmore:hover{background:var(--hov)}
.menu.dtmenu{min-width:270px;max-height:min(72vh,560px);overflow:auto}
.dtmenu .dtr{display:flex;align-items:center;gap:2px}
.dtmenu .dtr>button:first-child{flex:1;min-width:0}
.dtmenu .dtr>button:first-child svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.dtmenu .dtr>button:first-child span{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dtmenu .dtr>button:first-child[aria-checked=true]::after{display:none}
.dtmenu kbd{font:500 10.5px Inter,sans-serif;color:var(--dim);margin-left:auto}
.dtmenu .sfav{width:30px!important;flex:none;justify-content:center;padding:6px 0!important;color:var(--dim);font-size:13px;opacity:.35}
.dtmenu .dtr:hover .sfav{opacity:.8}
.dtmenu .sfav[aria-pressed=true]{opacity:1;color:var(--tx)}
.dtmenu .mn{color:var(--dim);font-size:11px;padding:6px 10px 4px;margin:0}
.dfavbar{position:absolute;z-index:6;display:flex;align-items:center;gap:2px;padding:3px;background:var(--pop);border:1px solid var(--line2);border-radius:9px;box-shadow:var(--shadow)}
.dfavbar[hidden]{display:none!important}
.dfavbar.vert{flex-direction:column}
.dfavbar button{width:30px;height:30px;border-radius:6px;display:grid;place-items:center;color:var(--mut)}
.dfavbar button:hover{background:var(--hov);color:var(--tx)}
.dfavbar button[aria-pressed=true]{background:var(--act);color:var(--tx)}
.dfavbar .fgrip{cursor:grab;color:var(--dim);font-size:10px;letter-spacing:-2px;padding:0 4px;user-select:none;touch-action:none}
.dfavbar.vert .fgrip{padding:2px 0 0}
.dfavbar .frot svg{width:14px;height:14px}
.dtb .dls{display:inline-flex;gap:1px}
.dtb .dls button{min-width:26px;font:600 11px Inter,sans-serif;letter-spacing:-.5px}
.dtb .dtf{height:26px;border-radius:6px;background:var(--bg2,transparent);color:var(--tx);border:1px solid var(--line2);font:500 11.5px Inter,sans-serif;padding:0 6px;max-width:130px}
.otbox{width:min(520px,calc(100vw - 32px))}
.otn{color:var(--dim);font-size:12px;margin:0 18px 8px}
.otbody{max-height:min(60vh,520px);overflow:auto;padding:0 10px 14px}
.otr{display:flex;align-items:center;gap:4px;padding:4px 6px;border-radius:8px}
.otr:hover{background:var(--hov)}
.otr .oic svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;color:var(--mut)}
.otr .onm{flex:1;min-width:0;background:transparent;border:1px solid transparent;border-radius:6px;color:var(--tx);font:500 13px Inter,sans-serif;padding:5px 6px}
.otr .onm:focus{border-color:var(--line2);outline:none;background:var(--bg)}
.otr .ob{width:28px;height:28px;border-radius:6px;display:grid;place-items:center;color:var(--mut);font-size:13px}
.otr .ob:hover{background:var(--act);color:var(--tx)}
.otr .ob svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.otr .ob[data-oe][aria-pressed=false]{opacity:.4}
.otr .ob.x:hover{color:#ef5350}
.otbody .none{color:var(--dim);font-size:13px;padding:14px 8px;margin:0}
@media (max-width:960px){.tools .tfam .fmore{opacity:.8}.tools .tfam{flex:none}}

/* ---------- lot 4B du Replay v4 : menu des indicateurs à deux colonnes, réglages en 4 onglets ---------- */
.dbox.indbox{width:min(780px,100%);max-height:min(700px,calc(100vh - 32px))}
.indgrid{display:grid;grid-template-columns:184px 1fr;min-height:0;flex:1;border-top:1px solid var(--line)}
.indnav{overflow:auto;padding:8px 6px;border-right:1px solid var(--line);display:flex;flex-direction:column;gap:1px}
.indnav button{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;border-radius:7px;text-align:left;color:var(--mut);font-size:13px;transition:background .1s,color .1s}
.indnav button:hover{background:var(--hov);color:var(--tx)}
.indnav button[aria-current=true]{background:var(--act);color:var(--tx);font-weight:600}
.indnav button i{font-style:normal;font-size:10.5px;color:var(--dim);font-variant-numeric:tabular-nums}
.indnav .fv span::before{content:"★ ";color:var(--tx)}
.indnav .h{color:var(--dim);font-size:11px;padding:12px 10px 4px}
.indgrid .dl{padding-top:6px}
.dl .indr,.dl .tplr{display:flex;align-items:center;gap:2px}
.dl .indr>button[data-add],.dl .tplr>.tpla{flex:1;min-width:0}
.dl .indr .sfav{width:32px;flex:none;justify-content:center;padding:0;height:32px;color:var(--dim);opacity:.35;font-size:13px}
.dl .indr:hover .sfav{opacity:.8}
.dl .indr .sfav[aria-pressed=true]{opacity:1;color:var(--tx)}
.dl .tpla{flex-direction:column;align-items:flex-start!important;gap:2px!important}
.dl .tpla small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.dl .tplr .ob{width:30px;height:30px;flex:none;display:grid;place-items:center;padding:0;border-radius:6px;color:var(--mut)}
.dl .tplr .ob:hover{color:var(--tx)}
.dl .tplr .ob.x:hover{color:#ef5350}
.dl .tplr .ob svg{width:15px;height:15px}
.dl .tplin{flex:1;min-width:0;height:34px;border:1px solid var(--line2);border-radius:7px;background:var(--bg);color:var(--tx);padding:0 10px;font:500 13px Inter,sans-serif;outline:0}
.dl .tpls{display:flex;gap:6px;padding:8px 10px}
.dl .tpls input{flex:1;min-width:0;height:34px;border:1px solid var(--line2);border-radius:8px;background:transparent;color:var(--tx);padding:0 10px;font:500 13px Inter,sans-serif;outline:0}
.dl .tpls input:focus{border-color:var(--mut)}
.dl .tpls button{width:auto;white-space:nowrap}
.dl .mn{color:var(--dim);font-size:11.5px;padding:10px;margin:0}
.indfavb{margin-left:-6px}
.indfavb svg{width:15px;height:15px}
#indfavmenu .mn{color:var(--dim);font-size:12px;padding:6px 10px;margin:0;max-width:260px}
#indfavmenu kbd{margin-left:auto;font:500 10.5px Inter,sans-serif;color:var(--dim)}
.dbox.isbox{width:min(480px,100%);max-height:min(720px,calc(100vh - 32px))}
.istabs{display:flex;gap:2px;padding:0 14px;border-bottom:1px solid var(--line)}
.istabs button{padding:9px 10px;color:var(--mut);font-size:13px;border-bottom:2px solid transparent;margin-bottom:-1px}
.istabs button:hover{color:var(--tx)}
.istabs button[aria-selected=true]{color:var(--tx);border-bottom-color:var(--tx);font-weight:600}
.istabs button i{font-style:normal;font-size:10px;background:var(--act);border-radius:999px;padding:0 5px;margin-left:2px}
.isbody{overflow:auto;padding:8px 8px 4px}
.isbody .pf select{height:30px;max-width:220px;background:var(--pop);border:1px solid var(--line2);border-radius:6px;color:var(--tx);padding:0 6px;font:500 12.5px Inter,sans-serif}
.isbody .pf input[type=text]{width:140px}
.isbody .pf input:disabled+*,.isbody .pf input:disabled{opacity:.45}
.isbody .mn{color:var(--dim);font-size:11.5px;padding:2px 10px 8px;margin:0}
.isbody .mn0{color:var(--dim);font-size:11.5px}
.isbody .iso{border-bottom:1px solid var(--line);padding:4px 0 6px}
.isbody .iso:last-of-type{border-bottom:0}
.isbody .seg{display:inline-flex;border:1px solid var(--line2);border-radius:7px;overflow:hidden}
.isbody .seg button{min-width:34px;height:28px;padding:0 8px;font:600 11.5px Inter,sans-serif;color:var(--mut);border-right:1px solid var(--line2)}
.isbody .seg button:last-child{border-right:0}
.isbody .seg button[aria-pressed=true]{background:var(--act);color:var(--tx)}
.isbody .pr{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:7px;font-size:13px;color:var(--tx);cursor:pointer}
.isbody .pr:hover{background:var(--hov)}
.isbody .alr{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:8px 10px;border-bottom:1px solid var(--line)}
.isbody .alr select,.isbody .alr input[type=number]{height:30px;background:var(--pop);border:1px solid var(--line2);border-radius:6px;color:var(--tx);padding:0 6px;font:500 12.5px Inter,sans-serif}
.isbody .alr input[type=number]{width:92px}
.isbody .alr .alp{display:flex;align-items:center;gap:5px;font-size:12.5px;color:var(--mut);margin-left:auto}
.isbody .alr .ob{width:28px;height:28px;border-radius:6px;color:var(--mut);font-size:16px}
.isbody .alr .ob:hover{color:#ef5350;background:var(--hov)}
.isbody .aladd{margin:8px 10px}
.isbody .pa{position:sticky;bottom:-4px;background:var(--pop);border-top:1px solid var(--line);margin-top:6px;padding:10px 10px 10px;align-items:center}
.isbody .pa .sp{flex:1}
@media (max-width:600px){
  .indgrid{grid-template-columns:1fr;grid-template-rows:auto 1fr}
  .indnav{flex-direction:row;overflow-x:auto;border-right:0;border-bottom:1px solid var(--line);padding:6px 10px;scrollbar-width:none}
  .indnav .h{display:none}
  .indnav button{white-space:nowrap;flex:none}
  .isbody .pa{flex-wrap:wrap}
  .dl .tpls{flex-wrap:wrap}.dl .tpls input{flex-basis:100%}.dl .tpls button{width:100%;justify-content:center}
}

/* ---------- lot 6 du Replay v4 : ordres avancés ---------- */
#otabs{flex-wrap:wrap}
.adv .mtp{display:flex;flex-direction:column;gap:6px;padding:2px 0 6px 26px}
.adv .mtr{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--mut)}
.adv .mtr b{width:30px;color:var(--tx);font-weight:600}
.adv .mtr small{color:var(--dim)}
.adv .mtp[hidden]{display:none}
.adv select#trm{height:26px;max-width:160px;background:var(--pop);border:1px solid var(--line2);border-radius:6px;color:var(--tx);font:500 12px Inter,sans-serif;padding:0 4px}
.adv select#trm:disabled{opacity:.45}
.adv #traw[hidden]{display:none}
.adv .tm input{width:112px}
.adv .tg small{color:var(--dim)}
.dtb .dto{width:auto!important;padding:0 10px!important;font:600 12px Inter,sans-serif;white-space:nowrap;background:var(--act);color:var(--tx);border-radius:7px;height:26px}
.dtb .dto:hover{background:var(--hov)}
#fxwr[hidden]{display:none}

/* ---------- lot 6 du Replay v4 : échelle de prix (DOM) simulée ---------- */
.side.dommode>:not(.sgrip):not(.stabs):not(.dom){display:none!important}
.dom[hidden]{display:none!important}
.dom{display:flex;flex-direction:column;min-height:0;flex:1;gap:7px;padding:10px 14px 12px}
.domlad{position:relative}
@media (min-width:600px) and (max-width:960px){.side.dommode .dom,.side.wlmode .wl{grid-column:1/-1}}
.domh{display:flex;align-items:center;gap:8px;padding:2px 2px 0}
.domh b{font-size:13px;font-weight:600}
.domh small{color:var(--dim);font-size:11px;flex:1}
.domt{display:flex;align-items:center;gap:6px}
.domt .dql{color:var(--dim);font-size:11.5px}
.domq{display:inline-flex;border:1px solid var(--line2);border-radius:7px;overflow:hidden}
.domq button{min-width:30px;height:26px;font:600 12px Inter,sans-serif;color:var(--mut);border-right:1px solid var(--line2)}
.domq button:last-child{border-right:0}
.domq button[aria-pressed=true]{background:var(--act);color:var(--tx)}
.domt .dpos{font-size:12px;color:var(--mut)}
.domt .dpl{font-size:12.5px;font-weight:600;font-variant-numeric:tabular-nums}
.domt .dpl.g{color:var(--up,#26a69a)}.domt .dpl.r{color:var(--dn,#ef5350)}
.domhd{display:grid;grid-template-columns:1fr 92px 1fr;font-size:10.5px;color:var(--dim);text-align:center;padding:0 2px}
.domlad{flex:1;min-height:220px;overflow:auto;border:1px solid var(--line);border-radius:9px;font-variant-numeric:tabular-nums;user-select:none}
.drow{display:grid;grid-template-columns:1fr 92px 1fr;height:24px;box-sizing:border-box;border-bottom:1px solid var(--line)}
.drow:last-child{border-bottom:0}
.drow .dc{display:flex;align-items:center;justify-content:center;font-size:12px;cursor:pointer;position:relative}
.drow .dmb:hover{background:rgba(38,166,154,.14)}
.drow .dms:hover{background:rgba(239,83,80,.14)}
.drow .dmp{color:var(--mut);cursor:default;gap:5px;font:500 12px Inter,sans-serif;font-variant-numeric:tabular-nums}
.drow.dmu .dmp{color:var(--mut)}
.drow.ask .dmp{background:rgba(38,166,154,.18);color:var(--tx);font-weight:600}
.drow.bid .dmp{background:rgba(239,83,80,.18);color:var(--tx);font-weight:600}
.drow.tgt{outline:1px dashed var(--mut);outline-offset:-1px}
.dtag{font-style:normal;font-size:9.5px;font-weight:700;border-radius:3px;padding:0 3px}
.dtag.e{color:var(--tx)}.dtag.sl{color:#fff;background:#ef5350}.dtag.tp{color:#fff;background:#26a69a}
.dchip{display:inline-flex;align-items:center;gap:4px;height:18px;padding:0 3px 0 6px;border-radius:5px;font-size:11px;cursor:grab;touch-action:none}
.dchip.b{background:#26a69a;color:#fff}.dchip.s{background:#ef5350;color:#fff}
.dchip.drag{opacity:.6;cursor:grabbing}
.dchip i{font-style:normal;font-size:9px;opacity:.85}
.dchip button{width:14px;height:14px;font-size:9px;line-height:14px;color:#fff;opacity:.8;padding:0;border-radius:3px}
.dchip button:hover{opacity:1;background:rgba(0,0,0,.2)}
.domf{display:grid;grid-template-columns:1fr auto 1fr;gap:6px}
.domf .dbuy{background:#26a69a;color:#fff;justify-content:center;border-color:transparent}
.domf .dsell{background:#ef5350;color:#fff;justify-content:center;border-color:transparent}
.domn{color:var(--dim);font-size:11px;line-height:1.45;margin:0}

@media (max-width:960px){.domlad{max-height:55vh;flex:none}}

/* ---------- lot 6 du Replay v4 : probabilité de réussite (Monte-Carlo) ---------- */
.mc{margin:0 14px 16px;padding:14px 16px;border:1px solid var(--line);border-radius:12px;display:flex;flex-direction:column;gap:10px;max-width:760px}
.mch{display:flex;flex-direction:column;gap:2px}
.mch b{font-size:14px;font-weight:600}
.mch small,.mcn{color:var(--dim);font-size:12px;margin:0}
.mcst{display:flex;gap:22px}
.mcst small{display:block;color:var(--dim);font-size:11px}
.mcst b{font-size:15px;font-weight:600;font-variant-numeric:tabular-nums}
.mci{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px}
.mci label{display:flex;flex-direction:column;gap:4px;font-size:11.5px;color:var(--mut)}
.mci .inp{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line2);border-radius:7px;height:32px;padding:0 9px;color:var(--dim)}
.mci .inp input{width:72px;background:transparent;border:0;outline:0;color:var(--tx);font:500 13px Inter,sans-serif;font-variant-numeric:tabular-nums}
.mci select{height:32px;max-width:240px;background:var(--pop);border:1px solid var(--line2);border-radius:7px;color:var(--tx);padding:0 6px;font:500 12.5px Inter,sans-serif}
.mct{border-collapse:collapse;font-size:12.5px;width:100%;max-width:560px}
.mct th,.mct td{padding:6px 10px;border-bottom:1px solid var(--line);text-align:right;font-variant-numeric:tabular-nums}
.mct th:first-child{text-align:left;color:var(--mut);font-weight:500}
.mct thead th{color:var(--dim);font-weight:500;font-size:11.5px}
.mcs{font-size:13px;margin:0}

/* ---------- lot 7 du Replay v4 : setup du playbook et checklist dans le panneau d'ordre ---------- */
.pbk select{width:100%;height:36px;background:var(--pop);border:1px solid var(--line2);border-radius:8px;color:var(--tx);padding:0 8px;font:500 13px Inter,sans-serif}
.pbk .pbl{font-size:11.5px;color:var(--dim);text-decoration:none}
.pbk .pbl:hover{color:var(--tx)}
.pbk .pbchk{display:flex;flex-direction:column;gap:2px;margin-top:6px}
.pbk .pbchk .tg{font-size:12.5px}
.pbk .pbn{color:var(--dim);font-size:11.5px;margin:6px 0 0;line-height:1.45}
.pbk.none select{display:none}
.pbk .pbn[hidden]{display:none}
.send.pblock{opacity:.45}

/* ---------- lot 7 du Replay v4 : journal de backtest et fiche d'un trade ---------- */
.wsview{margin-top:22px}
.bjn{color:var(--dim);font-size:12.5px;margin:0 0 4px}
.wsbar .sp{flex:1}
.kpis.bjk2{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:10px}
.bjg{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:12px;margin-top:14px}
.bjc{border:1px solid var(--line);border-radius:11px;padding:10px 12px;display:flex;flex-direction:column;gap:8px;min-width:0}
.bjc small{color:var(--dim);font-size:11px}
.bjsvg{width:100%;height:170px;display:block}
.bjsvg .eq{fill:none;stroke:var(--tx);stroke-width:1.6;vector-effect:non-scaling-stroke}
.bjsvg .dd{fill:rgba(239,83,80,.18);stroke:none}
.bjsvg .z,.bjsvg .ax{stroke:var(--line2);stroke-width:1;vector-effect:non-scaling-stroke}
.bjsvg .tx{fill:var(--dim);font:10px Inter,sans-serif}
.bjsvg circle.w{fill:#26a69a;opacity:.85}.bjsvg circle.l{fill:#ef5350;opacity:.85}
.bjheat{display:grid;gap:2px;align-items:center}
.bjheat .hl{font:10px Inter,sans-serif;color:var(--dim);text-align:center}
.bjheat .hc{height:18px;border-radius:3px}
.bjt{width:100%;border-collapse:collapse;font-size:13px}
.bjt th,.bjt td{padding:8px 10px;border-bottom:1px solid var(--line);text-align:right;font-variant-numeric:tabular-nums}
.bjt th:first-child{text-align:left;font-weight:500;color:var(--tx);max-width:320px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bjt thead th{color:var(--dim);font-weight:500;font-size:11.5px}
.bjt .g,.bjr .g,.tsm .g{color:#26a69a}.bjt .r,.bjr .r,.tsm .r{color:#ef5350}.tsm .w,.kpis .w{color:#f5a524}
.bjl{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:11px;overflow:hidden}
.bjr{display:grid;grid-template-columns:130px 70px 60px 1fr 90px 70px 50px;gap:10px;align-items:center;padding:10px 14px;border-bottom:1px solid var(--line);text-align:left;font-size:13px;font-variant-numeric:tabular-nums}
.bjr:last-child{border-bottom:0}
.bjr:hover{background:var(--hov)}
.bjr span:nth-child(4){white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--mut)}
.dbox.tsbox{width:min(1040px,100%);max-height:min(860px,calc(100vh - 32px))}
.tsbody{display:grid;grid-template-columns:1fr 300px;gap:16px;padding:0 18px 18px;overflow:auto}
.tsm{display:flex;flex-direction:column;gap:12px;min-width:0}
.tst{display:flex;align-items:center;gap:8px}
.tst .sp{flex:1}
.tsshots{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.tsshots figure{margin:0;display:flex;flex-direction:column;gap:5px}
.tsimg{aspect-ratio:16/10;border:1px solid var(--line);border-radius:9px;overflow:hidden;display:grid;place-items:center;background:var(--bg);color:var(--dim);font-size:12px}
.tsimg img{width:100%;height:100%;object-fit:cover;display:block}
.tsshots figcaption{font-size:11.5px;color:var(--dim)}
.tsgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px 14px}
.tsgrid small{display:block;color:var(--dim);font-size:11px}
.tsgrid b{font-size:14px;font-weight:600;font-variant-numeric:tabular-nums}
.tsside{display:flex;flex-direction:column;gap:8px;min-width:0}
.tsl{font-size:11.5px;color:var(--dim);margin-top:4px}
.tsside select{height:36px;background:var(--pop);border:1px solid var(--line2);border-radius:8px;color:var(--tx);padding:0 8px;font:500 13px Inter,sans-serif}
.tsconf{display:flex;flex-direction:column;gap:3px}
.tsconf .tg{font-size:13px;display:flex;gap:8px;align-items:center}
.tsemo button{height:30px;padding:0 10px;font-size:12.5px}
.tsside textarea{background:var(--bg);border:1px solid var(--line2);border-radius:8px;color:var(--tx);padding:8px 10px;font:13px/1.45 Inter,sans-serif;resize:vertical;outline:0}
.tsside textarea:focus{border-color:var(--mut)}
@media (max-width:860px){.bjg{grid-template-columns:1fr}.tsbody{grid-template-columns:1fr}.bjr{grid-template-columns:100px 56px 1fr 80px 60px}.bjr span:nth-child(3),.bjr span:nth-child(4){display:none}.kpis.bjk2{grid-template-columns:repeat(2,minmax(0,1fr))}.tsgrid{grid-template-columns:repeat(2,1fr)}}

/* ---------- lot 7 du Replay v4 : Pip ---------- */
.pipd{width:14px;height:14px;display:inline-block;background:currentColor;clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%);border-radius:2px;flex:none}
.pipb{gap:6px}
.menu.pipmenu{width:min(400px,calc(100vw - 16px));padding:8px 10px 10px}
.pipmenu .pipctx{color:var(--dim);font-size:11.5px;margin:0 2px 8px;line-height:1.45}
.pipmenu .pipsug{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:8px}
.pipmenu .pipsug button{width:auto;padding:5px 9px;border:1px solid var(--line2);border-radius:999px;font-size:12px;color:var(--mut)}
.pipmenu .pipsug button:hover{color:var(--tx);background:var(--hov)}
.pipmenu textarea{width:100%;box-sizing:border-box;background:var(--bg);border:1px solid var(--line2);border-radius:8px;color:var(--tx);padding:8px 10px;font:13px/1.45 Inter,sans-serif;resize:vertical;outline:0}
.pipmenu textarea:focus{border-color:var(--mut)}
.pipmenu .pipa{display:flex;align-items:center;gap:10px;margin-top:8px}
.pipmenu .pipa .go{width:auto}
.pipmenu .pipa small{color:var(--dim);font-size:11px;line-height:1.35}
.pipmenu .pipans{margin-top:10px;font-size:13px;line-height:1.55;white-space:pre-wrap;color:var(--tx)}
.pipmenu .pipans:empty{display:none}
.pipmenu .pipans.wait{color:var(--dim)}
.pipmenu .pipans.err{color:#f5a524}
.pipmenu .pipans a{color:var(--tx)}
.rpip{border:1px solid var(--line2);border-radius:12px;padding:12px 14px;margin:12px 0;display:flex;flex-direction:column;gap:8px}
.rpiph{display:flex;align-items:center;gap:8px}
.rpip ul{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:4px;font-size:13px}
.rpip li.bad::marker{color:#ef5350}.rpip li.ok::marker{color:#26a69a}.rpip li.warn::marker{color:#f5a524}
.rpipx{display:flex;flex-direction:column;gap:2px;border:1px solid var(--line);border-radius:9px;padding:8px 10px;text-decoration:none;color:var(--tx);font-size:13px}
.rpipx small{color:var(--dim);font-size:11px}
.rpipx:hover{background:var(--hov)}
@media (max-width:1320px){.pipb .lbl{display:none}.pipb{padding:0 8px}}

/* ---------- lot 7 du Replay v4 : exercices, préparation de séance ---------- */
.exbox{position:absolute;left:50%;top:10px;transform:translateX(-50%);z-index:8;width:min(460px,calc(100% - 24px));background:var(--pop);border:1px solid var(--line2);border-radius:12px;box-shadow:var(--shadow);padding:10px 12px;display:flex;flex-direction:column;gap:8px}
.exbox[hidden]{display:none}
.exh{display:flex;align-items:center;gap:10px;font-size:13px}
.exh b{font-weight:600}
.exh span{color:var(--dim);font-variant-numeric:tabular-nums}
.exh .exs{margin-left:auto}
.exh .exs b{color:var(--tx)}
.exi{margin:0;font-size:13px;color:var(--mut)}
.exr{margin:0;font-size:13px}
.exr.ok{color:#26a69a}.exr.no{color:#ef5350}
.exr span{color:var(--tx)}
.exb{display:flex;gap:6px;flex-wrap:wrap}
.exb .go,.exb .tb{width:auto}
.exb .exl{background:#26a69a;color:#fff}.exb .exs2{background:#ef5350;color:#fff}
.dbox.prepbox{width:min(460px,100%)}
.prepb{display:flex;flex-direction:column;gap:8px;padding:0 18px 18px}
.prepb input,.prepb textarea{background:var(--bg);border:1px solid var(--line2);border-radius:8px;color:var(--tx);padding:8px 10px;font:13px/1.45 Inter,sans-serif;outline:0}
.prepb input:focus,.prepb textarea:focus{border-color:var(--mut)}
.prepb .pa{display:flex;justify-content:flex-end}
.exg{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.exc{border:1px solid var(--line);border-radius:12px;padding:14px 16px;display:flex;flex-direction:column;gap:8px}
.exc b{font-size:15px}
.exc p{color:var(--mut);font-size:13px;margin:0;flex:1}
.exf{display:flex;align-items:center;justify-content:space-between;gap:8px}
.exf small{color:var(--dim);font-size:12px}
.exf .go{width:auto}
.rprep li{font-size:13px}
@media (max-width:860px){.exg{grid-template-columns:1fr}}

/* ---------- lot 8 du Replay v4 : mes indicateurs (constructeur, Propscript, Pine) ---------- */
.dl .mybtns{display:flex;flex-wrap:wrap;gap:6px;padding:6px 10px 10px}
.dl .mybtns button{width:auto}
.dl .myr small.err{color:#ef5350}
.dbox.psbox{width:min(720px,100%);max-height:min(820px,calc(100vh - 32px))}
.psbody{display:flex;flex-direction:column;gap:8px;padding:12px 18px;overflow:auto}
.psbody input,.psbody select,.psbody .pst2{background:var(--bg);border:1px solid var(--line2);border-radius:8px;color:var(--tx);padding:8px 10px;font:13px/1.4 Inter,sans-serif;outline:0}
.psbody .mono,.pse textarea,.pse pre{font:12.5px/1.6 "JetBrains Mono",ui-monospace,Menlo,monospace}
.psbody input:focus,.psbody .pst2:focus{border-color:var(--mut)}
.psbody .tsl small{color:var(--dim)}
.psrow{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.psrow .seg button{height:30px;padding:0 10px;font-size:12.5px}
.psrow .sw3 button{width:18px;height:18px}
.psconds{display:flex;flex-direction:column;gap:5px}
.psc{display:flex;gap:4px}.psc input{flex:1;min-width:0}
.psc .ob{width:32px;border-radius:7px;color:var(--mut);font-size:16px}.psc .ob:hover{background:var(--hov);color:#ef5350}
.psj{font:600 10.5px Inter,sans-serif;color:var(--dim);padding-left:4px}
.pse{position:relative;height:300px;border:1px solid var(--line2);border-radius:9px;overflow:hidden;background:var(--bg)}
.pse pre,.pse textarea{position:absolute;inset:0;margin:0;padding:10px 12px;white-space:pre;overflow:auto;tab-size:2;border:0}
.pse pre{color:var(--tx);pointer-events:none}
.pse textarea{background:transparent;color:transparent;caret-color:var(--tx);resize:none;outline:0}
.pse pre i{font-style:normal}.pse .s{color:#7fd4cb}.pse .n{color:#f5a524}.pse .f{color:#5b9cf6}.pse .d{color:#a78bfa}.pse .k{color:#ec4899}.pse .v{color:#22d3ee}.pse .c{color:var(--dim)}
:root[data-theme=light] .pse .s{color:#0b7d72}
.pserr,.psrep{display:flex;flex-direction:column;gap:3px;font-size:12.5px}
.pserr .pe,.psrep .pe,.psrep .pr.no{color:#ef5350}.pserr .pok,.psrep .pok{color:#26a69a}.psrep .pr.part{color:#f5a524}
.pserr b,.psrep b{display:inline-block;min-width:28px;font-variant-numeric:tabular-nums}
.psrep .tb{align-self:flex-start;width:auto;margin-top:6px}
.psfoot{display:flex;align-items:center;gap:8px;padding:10px 18px 14px;border-top:1px solid var(--line)}
.psfoot .sp{flex:1}.psfoot button{width:auto}
.psfoot .ob2:hover{color:#ef5350}

/* ---------- lot 9 du Replay v4 : partage et vidéo ---------- */
.shareb{gap:6px}
.recbar{position:absolute;left:50%;bottom:74px;transform:translateX(-50%);z-index:9;display:flex;align-items:center;gap:10px;background:var(--pop);border:1px solid var(--line2);border-radius:999px;padding:6px 8px 6px 14px;box-shadow:var(--shadow);font-size:13px}
.recbar[hidden]{display:none}
.recbar .recd{width:9px;height:9px;border-radius:50%;background:#ef5350;animation:recp 1s ease-in-out infinite alternate}
.recbar b{font-variant-numeric:tabular-nums}
.recbar .tb{width:auto;height:28px}
@keyframes recp{to{opacity:.3}}
@media (prefers-reduced-motion:reduce){.recbar .recd{animation:none}}
@media (max-width:1100px){.shareb .lbl{display:none}}

/* ---------- lot 9 du Replay v4 : salons ---------- */
#sharemenu .rmjoin{display:flex;gap:6px;padding:4px 10px 8px}
#sharemenu .rmjoin input{flex:1;min-width:0;height:32px;background:var(--bg);border:1px solid var(--line2);border-radius:7px;color:var(--tx);padding:0 9px;font:13px Inter,sans-serif;outline:0}
#sharemenu .rmjoin .tb{width:auto}
.roompanel{position:absolute;right:10px;bottom:74px;z-index:8;width:min(300px,calc(100% - 20px));max-height:min(420px,60%);display:flex;flex-direction:column;gap:6px;background:var(--pop);border:1px solid var(--line2);border-radius:12px;box-shadow:var(--shadow);padding:10px}
.roompanel[hidden]{display:none}
.rmh{display:flex;align-items:center;gap:6px}
.rmh>div{flex:1;display:flex;align-items:baseline;gap:6px;min-width:0;font-size:13px}
.rmh .rmc{font:600 12px "JetBrains Mono",ui-monospace,monospace;color:var(--mut)}
.rmh .rmn{color:var(--dim);font-size:11.5px}
.rmh .tb{width:auto;height:28px}
.rmpeers{display:flex;flex-wrap:wrap;gap:4px}
.rmp{display:inline-flex;align-items:center;gap:5px;font-size:12px;border:1px solid var(--line2);border-radius:999px;padding:2px 8px}
.rmp i{width:7px;height:7px;border-radius:50%;background:var(--c)}
.rmp small{color:var(--dim)}
.rmnote{margin:0;color:var(--dim);font-size:11.5px}
.rmmsgs{flex:1;min-height:60px;overflow:auto;display:flex;flex-direction:column;gap:4px;font-size:12.5px}
.rmsay{display:flex;gap:6px}
.rmsay input{flex:1;min-width:0;height:32px;background:var(--bg);border:1px solid var(--line2);border-radius:7px;color:var(--tx);padding:0 9px;font:13px Inter,sans-serif;outline:0}
.rmsay .tb{width:auto}
body.roomguest .rbar .r-play,body.roomguest #play,body.roomguest #step,body.roomguest #back{opacity:.4}

/* ---------- lot 9 du Replay v4 : le défi du jour ---------- */
.dlypill{display:inline-flex;align-items:center;gap:7px;height:30px;padding:0 11px 0 9px;margin-left:4px;border-radius:999px;border:1px solid var(--line2);color:var(--tx);font-size:12.5px;white-space:nowrap}
.dlypill[hidden]{display:none}
.dlypill i{width:7px;height:7px;border-radius:50%;background:#f5a524}
.dlypill.done i{background:var(--dim)}
.dlypill .lbl{color:var(--mut)}
.dlypill b{font-weight:600;font-variant-numeric:tabular-nums}
@media (max-width:1100px){.dlypill .lbl{display:none}}
.dly{display:grid;grid-template-columns:minmax(0,1.4fr) auto;gap:10px 22px;align-items:center;margin-top:12px;padding:14px 16px;border:1px solid var(--line2);border-radius:12px;background:var(--bg1)}
.dly.sk-load{height:96px;display:block;background:linear-gradient(90deg,var(--bg1),var(--bg2),var(--bg1));background-size:200% 100%;animation:shim 1.2s linear infinite}
.dly .dlyl b{font-weight:600;margin-right:8px}
.dly .dlyd{color:var(--mut);font-size:12.5px}
.dly .dlyl p{color:var(--mut);font-size:12.5px;margin-top:3px;line-height:1.5}
.dlys{display:flex;gap:18px}
.dlys small{display:block;color:var(--dim);font-size:11.5px}
.dlys b{font-size:17px;font-weight:600;font-variant-numeric:tabular-nums}
.dly .dlyr{display:flex;flex-direction:column;align-items:flex-end;gap:10px}
.dly .dlya{display:flex;justify-content:flex-end}
.dly .dlyok{font-size:13px;color:var(--mut);margin:0}.dly .dlyok b{color:var(--tx)}
.rdly .dlys{margin:8px 0 6px}
/* classement public du jour (carte de l'accueil et bilan) */
.dlyb{grid-column:1/-1;border-top:1px solid var(--line2);padding-top:12px;margin-top:2px}
.rdly .dlyb{border-top:0;padding-top:4px}
.dlybh{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:6px}
.dlybh b{font-size:13px;font-weight:600}.dlybh small{color:var(--dim);font-size:12px}
.dlyb ol{list-style:none;margin:0;padding:0;columns:2;column-gap:28px}
.dlyb li{break-inside:avoid;display:flex;align-items:center;gap:10px;height:32px;padding:0 8px;border-radius:7px;font-size:13px;font-variant-numeric:tabular-nums}
.dlyb li i{font-style:normal;color:var(--dim);min-width:22px;text-align:right;font-size:12px}
.dlyb .dlybn{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--tx);text-decoration:none}
.dlyb a.dlybn:hover{text-decoration:underline}
.dlyb li small{font-size:10.5px;font-weight:600;color:var(--acctx);background:var(--acc);border-radius:999px;padding:1px 7px}
.dlyb li b{font-weight:600}
.dlyb li.me{background:var(--hov);box-shadow:inset 0 0 0 1px var(--line3)}
.dlyb li.dots{height:20px;color:var(--dim);justify-content:center}
.dlybe,.dlybnote{font-size:12.5px;color:var(--mut);margin:8px 0 0}
.dlybnote b{color:var(--tx);font-weight:600}
.dlybnote a{color:var(--tx);text-decoration:underline;text-underline-offset:2px}
@media (max-width:760px){.dly{grid-template-columns:1fr}.dly .dlyr{align-items:flex-start}.dly .dlya{justify-content:flex-start}.dlys{gap:14px}.dlyb ol{columns:1}}

/* ---------- lot 10 du Replay v4 (maquette 10a) : téléphone, clavier, robustesse ----------
   Contrastes AA : --dim passe à 4,5:1 sur les fonds (#7d7d7d en sombre, #707075 en clair). */
.mdbar{display:none}
.netbar{position:fixed;left:0;right:0;top:var(--top);z-index:45;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px 6px;padding:8px 16px;
  background:color-mix(in srgb,var(--warn) 16%,var(--bg));border-bottom:1px solid color-mix(in srgb,var(--warn) 40%,var(--line));font-size:12.5px;color:var(--tx);text-align:center}
.netbar[hidden]{display:none}
.netbar i{width:7px;height:7px;border-radius:50%;background:var(--warn);flex:none}
#netsaved{color:var(--mut);font-variant-numeric:tabular-nums}
/* écrans tactiles : des zones de touche de 44 px */
@media (pointer:coarse){
  .rbar .tb,.tools button,.top .tb,.top button,.tabs button,.stabs button,.otabs button,.mini button,.menu button,.dl button{min-height:44px}
  .rbar .tb,.tools button,.top .tb.icob{min-width:44px;justify-content:center}
  .rbar{bottom:8px}
  .tg input[type=checkbox]{width:22px;height:22px}
}
/* téléphone : le panneau d'ordre en tiroir par le bas, zone sûre de l'encoche, pas de zoom sur les champs */
@media (max-width:600px){
  :root{--mdh:calc(80px + env(safe-area-inset-bottom))}
  .top{padding-left:max(8px,env(safe-area-inset-left));padding-right:max(8px,env(safe-area-inset-right))}
  body:not(.home-on){padding-bottom:var(--mdh)}
  input,select,textarea{font-size:16px!important}
  .side,.noside .side{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:40;max-height:min(84vh,760px);border:1px solid var(--line2);border-bottom:0;border-radius:16px 16px 0 0;
    background:var(--bg);box-shadow:0 -14px 40px rgba(0,0,0,.35);transform:translateY(calc(100% - var(--mdh)));transition:transform .3s var(--out);
    overflow:hidden auto;overscroll-behavior:contain;padding-bottom:env(safe-area-inset-bottom);padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}
  .side.mdopen{transform:none}
  .home-on .side{display:none}
  .mdbar{display:flex;flex-direction:column;gap:6px;position:sticky;top:0;z-index:3;background:var(--bg);padding:2px 12px 10px;order:-1}
  .mdgrip{display:flex;align-items:center;justify-content:center;height:22px;width:100%;min-height:22px!important;border-radius:8px;touch-action:none}
  .mdgrip i{width:38px;height:4px;border-radius:2px;background:var(--line3)}
  .mdgrip span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .mdbtns{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .mdbtns button{height:46px;border-radius:10px;display:flex;align-items:center;justify-content:space-between;padding:0 14px;font-weight:600;font-size:15px}
  .mdbtns small{font-size:13px;font-weight:600}
  .mdsell{background:color-mix(in srgb,var(--dn) 15%,var(--bg));color:var(--dnt)}
  .mdbuy{background:color-mix(in srgb,var(--up) 17%,var(--bg));color:var(--upt)}
  .side.mdopen .mdbtns{display:none}
  .side .sx{display:none}
  .toast{bottom:calc(var(--mdh) + 12px)}
  .netbar{font-size:12px;padding:7px 12px}
  .rbar{max-width:calc(100% - 12px);overflow-x:auto;scrollbar-width:none;overscroll-behavior-x:contain}
  .rbar::-webkit-scrollbar{display:none}
}
.resume{display:flex;align-items:center;gap:10px 12px;flex-wrap:wrap;margin-top:22px;padding:14px 16px;border:1px solid var(--line3);border-radius:12px;background:var(--bg2)}
.resume>div{flex:1;min-width:220px}
.resume b{font-weight:600}
.resume p{color:var(--mut);font-size:12.5px;margin-top:2px}
.resume+.plan{margin-top:12px}
@media (max-width:600px){.resume .go,.resume .tb{flex:1}}
/* texte réservé aux lecteurs d'écran et aux moteurs (titre H1 de la page) */
.vh{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* ---------- thème Sunset (en option : Paramètres du graphique → Apparence, ou /replay?theme=sunset) ----------
   Sombre violet, décor coucher de soleil sous les bougies seulement (#sunscene, calé par sunFit sur la zone des bougies),
   et le niveau de recherche (#wanted) : une étoile par 20 % de la perte du jour permise. */
:root[data-skin=sunset]{
  --bg:#1b0a30;--bg1:#200c38;--bg2:#281046;--pop:#2a1248;--hov:#34185b;--act:#3e1e6a;--line:#341a55;--line2:#46246e;--line3:#5d3289;
  --tx:#fbeaff;--mut:#d4b3ea;--dim:#b08fce;--acc:#ff5fa8;--acctx:#2a0820;--acchov:#ff7dba;
  --upt:#4fe0b8;--dnt:#ff7a9c;--warn:#ffc35a;
  --glass:rgba(36,13,62,.93);--veil:rgba(27,10,48,.76);
}
.sunscene{display:none}
:root[data-skin=sunset] .chartbox{background:#1b0a30}
:root[data-skin=sunset] .sunscene{display:block;position:absolute;left:0;top:0;right:60px;bottom:28px;pointer-events:none;
  background:url(/replay/sunset.svg) center bottom/cover no-repeat;opacity:.8}
.wanted{position:absolute;top:10px;right:72px;z-index:5;display:flex;align-items:center;gap:10px;padding:7px 12px 7px 10px;border-radius:12px;
  background:rgba(27,10,48,.92);border:1px solid rgba(255,95,168,.5);color:var(--tx);transition:background .25s var(--ease),border-color .25s var(--ease)}
.wanted[hidden]{display:none}
.wst{display:flex;gap:3px}
.wst i{display:block;width:17px;height:17px;background:rgba(255,220,245,.22);transition:background .2s var(--ease);
  clip-path:polygon(50% 0,61.8% 35%,98% 35.5%,68.5% 57%,79.5% 91%,50% 70%,20.5% 91%,31.5% 57%,2% 35.5%,38.2% 35%)}
.wst i.on{background:#ffd34d}
.wst i.hit{animation:starHit .5s var(--out)}
@keyframes starHit{0%{transform:scale(1.9);background:#fff}55%{transform:scale(.9)}100%{transform:scale(1)}}
.wlb{display:flex;flex-direction:column;line-height:1.2}
.wlb small{font-size:10.5px;color:var(--mut)}
.wlb b{font-size:12px;font-weight:600;font-variant-numeric:tabular-nums}
.wanted.max{background:#ff3d8b;border-color:#ff3d8b;z-index:9}   /* au-dessus du voile « compte grillé » (.blown, 8) */
.wanted.max .wst i.on{background:#fff}
.wanted.max .wlb small,.wanted.max .wlb b{color:#2a0820;font-weight:600}
.home-on .wanted{visibility:hidden}
/* téléphone : la ligne des prix prend toute la largeur en haut, le compteur passe en bas à gauche, au-dessus du logo du graphique */
@media (max-width:600px){.wanted{top:auto;left:8px;right:auto!important;bottom:calc(var(--tsh,28px) + 40px);gap:7px;padding:5px 9px 5px 7px}.wst{gap:2px}.wst i{width:12px;height:12px}.wlb small{font-size:10px}.wlb b{font-size:11px}}
@media (prefers-reduced-motion:reduce){.wst i.hit{animation:none}.wanted{transition:none}}

/* bouton du thème : icône coucher de soleil en Sunset, menu Sunset / Sombre / Clair ; carte de la 1re arrivée */
#themebtn .th-set{display:none}
:root[data-skin=sunset] #themebtn .th-set{display:block;stroke:#ffd34d}
:root[data-skin=sunset] #themebtn .th-moon{display:none}
.thmenu{min-width:250px}
.thmenu .tht{display:flex;flex-direction:column;line-height:1.25}.thmenu .tht small{color:var(--mut);font-size:11.5px}
.thsw{width:26px;height:26px;border-radius:8px;flex:none;box-shadow:inset 0 0 0 1px rgba(127,127,127,.35)}
.thsw-sunset{background:linear-gradient(180deg,#2b0f52 0%,#8e2777 55%,#ff7d7a 78%,#ffd34d 100%)}
.thsw-dark{background:#0a0a0a}.thsw-light{background:#fff}
.sunask{position:absolute;top:118px;left:50%;transform:translateX(-50%);z-index:7;width:min(460px,calc(100% - 24px));padding:14px 16px 12px;border-radius:14px;
  background:rgba(27,10,48,.95);border:1px solid rgba(255,95,168,.55);box-shadow:var(--shadow);color:var(--tx);animation:fade .25s var(--out)}
.sunask[hidden]{display:none}
.sunask .sat{display:flex;flex-direction:column;gap:3px}.sunask .sat b{font-size:15px;font-weight:600}.sunask .sat span{color:var(--mut);font-size:13px;line-height:1.45}
.sunask .sab{display:flex;gap:8px;margin-top:12px}.sunask .sab .tb{flex:1 1 0;justify-content:center;height:38px;font-weight:600}
.sunask .sak{border:1px solid var(--line3)}.sunask .sap{background:#ff5fa8;color:#2a0820}.sunask .sap:hover{background:#ff7dba}
.sunask small{display:block;margin-top:9px;color:var(--dim);font-size:11.5px}
.home-on .sunask{visibility:hidden}
@media (max-width:600px){.sunask{top:58px}}
/* la page visiteur garde son dessin validé (sombre) même quand le Replay est en Sunset */
:root[data-skin=sunset] .land{
  --bg:#0a0a0a;--bg1:#0e0e0e;--bg2:#131313;--pop:#141414;--hov:#1a1a1a;--act:#232323;--line:#1d1d1d;--line2:#2a2a2a;--line3:#3a3a3a;
  --tx:#ededed;--mut:#8f8f8f;--dim:#7d7d7d;--acc:#fff;--acctx:#000;--acchov:#e2e2e2;--upt:#26a69a;--dnt:#ef5350;--warn:#f5a524;
  --glass:rgba(18,18,18,.92);--veil:rgba(10,10,10,.74)}

/* ---------- retours du 20/11/2026 : barre de style fixe (R1), texte (R2), modèles (R4), Fibonacci (R3), opacités (R6),
   panneau « Depuis le dessin » et risque (R5), annonces filtrées (R8) ---------- */
.dtb{flex-wrap:wrap;max-width:calc(100% - 8px)}
.dtb .fgrip{cursor:grab;color:var(--dim);font-size:11px;letter-spacing:-2px;padding:0 4px 0 2px;user-select:none;touch-action:none;align-self:stretch;display:grid;place-items:center}
.dtb .fgrip:active{cursor:grabbing}
.dtb>button.dtpb{width:auto;min-width:0;padding:0 8px;gap:5px;display:inline-flex;align-items:center;font:500 12px Inter,sans-serif;color:var(--tx);border:1px solid var(--line2);height:26px;max-width:150px}
.dtb>button.dtpb b{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dtb>button.dtpb i{font-style:normal;color:var(--dim);font-size:10px}
.dtb>button.dtpb[aria-expanded=true]{background:var(--act)}
.dtp{position:absolute;left:0;top:calc(100% + 6px);min-width:300px;max-width:min(360px,calc(100vw - 24px));display:grid;gap:8px;padding:10px;border-radius:10px;background:var(--pop);border:1px solid var(--line2);box-shadow:var(--shadow);cursor:default}
.dtp .dlbt,.dtp .dtps input,.dtp .tren{height:30px;width:100%;min-width:0;border-radius:7px;border:1px solid var(--line2);background:var(--bg);color:var(--tx);padding:0 9px;font:13px Inter,sans-serif}
.dtp .dlbt:focus,.dtp .dtps input:focus,.dtp .tren:focus{outline:none;border-color:var(--tx)}
.dtpg{display:flex;align-items:center;gap:10px;min-width:0}
.dtpg .dtpl{width:74px;flex:none;color:var(--mut);font-size:12px}
.dtpg .dtpc{display:flex;align-items:center;gap:6px;flex-wrap:wrap;min-width:0}
.dtp .seg{padding:2px}.dtp .seg button{height:24px;padding:0 9px;font-size:12px}
.dtp .seg button[aria-pressed=true]{background:var(--act);color:var(--tx);font-weight:500}
.dtp .sw3{grid-template-columns:repeat(10,16px)}
.dtp .sw3 button.same{background:transparent;color:var(--mut);font:600 11px Inter,sans-serif;line-height:16px;text-align:center}
.dtp .rxbold{height:26px;min-width:26px;border-radius:6px;border:1px solid var(--line2);font-weight:700;color:var(--mut)}
.dtp .rxbold[aria-pressed=true]{background:var(--act);color:var(--tx)}
.dtp .dopr{flex:1;min-width:140px;accent-color:var(--tx)}
.dtp .num{font-variant-numeric:tabular-nums;color:var(--mut);font-size:12px;min-width:38px;text-align:right}
.dtpa{justify-self:start;height:28px;padding:0 10px;border-radius:7px;color:var(--mut);font-size:12px;border:1px solid var(--line2)}
.dtpa:hover{background:var(--hov);color:var(--tx)}
.dtph{display:flex;justify-content:space-between;align-items:baseline;gap:10px;color:var(--dim);font-size:11px;letter-spacing:.02em}
.dtph .dtpk{color:var(--tx);font-weight:600}
.dtpr{display:flex;align-items:center;gap:6px;padding:3px 4px;border-radius:7px}
.dtpr.on{background:var(--act)}
.dtpr .rxstar{width:24px;height:24px;border-radius:6px;color:var(--dim);font-size:13px}
.dtpr .rxstar[aria-pressed=true]{color:var(--warn,#f5a524)}
.dtpr .tsw{width:18px;height:11px;border-radius:2px;border:1.5px solid var(--c);background:color-mix(in srgb,var(--c) 22%,transparent);flex:none}
.dtpr .tn{flex:1;min-width:0;text-align:left;height:26px;padding:0 6px;border-radius:6px;color:var(--tx);font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dtpr .tn:hover,.dtpr .tic:hover,.dtpr .rxstar:hover{background:var(--hov)}
.dtpr .tic{width:24px;height:24px;border-radius:6px;color:var(--dim);font-size:12px;flex:none}
.dtpr .tren{flex:1;height:26px}
.dtps{display:flex;gap:6px}.dtps .tb{flex:none}
.dtpe,.dtpn{margin:0;color:var(--dim);font-size:11.5px;line-height:1.4}
/* Fibonacci */
.fibbox{width:min(460px,100%)}
.fibbody{overflow:auto;padding:4px 16px 8px;display:grid;gap:8px;min-height:0}
.fibbody h3{margin:8px 0 0;font-size:12px;color:var(--dim);font-weight:500;letter-spacing:.02em}
.fiblv{display:grid;gap:4px}
.fibr{display:grid;grid-template-columns:18px 90px 30px 1fr 30px;gap:8px;align-items:center}
.fibr input[type=checkbox]{width:16px;height:16px;accent-color:var(--acc)}
.fibv{height:28px;border-radius:6px;border:1px solid var(--line2);background:var(--bg);color:var(--tx);padding:0 8px;font:12.5px "JetBrains Mono",ui-monospace,monospace;width:100%}
.fibc{width:28px;height:24px;padding:0;border:1px solid var(--line2);border-radius:6px;background:none;cursor:pointer}
.fibl{height:0;border-top:1.5px solid var(--c);display:block}
.fibbg{display:flex;align-items:center;gap:8px}.fibbg input[type=range]{width:120px;accent-color:var(--tx)}.fibbg .num{color:var(--mut);font-size:12px;min-width:36px}
.fibft{display:flex;gap:8px;padding:10px 16px 14px;border-top:1px solid var(--line)}.fibft .fsp{flex:1}
/* opacités des paramètres du graphique */
.csrg .csrv{display:flex;align-items:center;gap:8px}.csrg input[type=range]{width:140px;accent-color:var(--tx)}.csrg .num{min-width:40px;text-align:right;color:var(--mut);font-size:12px;font-variant-numeric:tabular-nums}
/* annonces filtrées */
.evf{display:grid;gap:6px;padding:8px 0;border-bottom:1px solid var(--line)}
.evf .evp{font-size:11.5px;color:var(--dim)}
.evl{color:var(--mut);font-size:12px;margin-top:4px}
.evc{display:flex;flex-wrap:wrap;gap:5px}
.evc button{height:26px;padding:0 10px;border-radius:7px;border:1px solid var(--line2);color:var(--mut);font:500 12px Inter,sans-serif}
.evc button[aria-pressed=true]{background:var(--acc);color:var(--acctx);border-color:var(--acc)}
.evf .tb{justify-self:start}
/* risque en un clic */
.rxrisk{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}
.rxrisk[hidden]{display:none}
.rch{height:24px;padding:0 9px;border-radius:6px;border:1px solid var(--line2);color:var(--mut);font:500 11.5px Inter,sans-serif;font-variant-numeric:tabular-nums}
.rch:hover{color:var(--tx);background:var(--hov)}
.rch[aria-pressed=true]{background:var(--acc);color:var(--acctx);border-color:var(--acc)}
.rst{height:24px;width:26px;border-radius:6px;color:var(--dim);font-size:13px}
.rst[aria-pressed=true]{color:var(--warn,#f5a524)}
/* « Depuis le dessin » */
.fromd{margin:0 14px 10px;padding:10px 12px;border:1px solid var(--line2);border-radius:10px;display:grid;gap:8px}
.fromd[hidden]{display:none}
.fdh{display:flex;align-items:center;gap:8px}.fdh b{font-size:13px}
.fdt{font-size:11px;font-weight:600;border-radius:5px;padding:1px 6px;border:1px solid currentColor}
.fdt.g{color:var(--upt,var(--up))}.fdt.r{color:var(--dnt,var(--dn))}
.fdty{font-size:11.5px;color:var(--mut);margin-left:auto;text-transform:capitalize}
.fdh .icob{width:24px;height:24px}
.fdg,.fds{display:grid;grid-template-columns:auto 1fr;gap:3px 10px;font-size:12px;align-items:baseline}
.fdg span,.fds span{color:var(--mut)}.fdg b,.fds b{text-align:right;font-weight:600}
.fdg b.r{color:var(--dnt,var(--dn))}.fdg b.g,.fds b.g{color:var(--upt,var(--up))}
.fds{border-top:1px solid var(--line);padding-top:7px}
.fdl{font-size:12px;color:var(--mut)}
.fromd .fdr{margin-top:0}
.fromd .send{margin:2px 0 0;width:100%}
.fde,.fdn{margin:0;font-size:11.5px;color:var(--dim);line-height:1.4}.fde{color:var(--warn,#f5a524)}
/* gestion de la position : 25 / 50 / 75 %, renforcer */
.ib2g{display:inline-flex;margin-left:4px;border:1px solid var(--line2);border-radius:6px;overflow:hidden;vertical-align:middle}
.ib2g .ib2.rxpc{margin:0;border:0;border-radius:0;min-width:34px;font-size:11px}
.ib2g .ib2.rxpc+.ib2.rxpc{border-left:1px solid var(--line2)}

/* ---------- retours du 21/11 : bouton Journal, palette, réglages des dessins, texte sur place, Order, RTH ---------- */
/* le bouton « Journal » seulement sur l'écran Sessions, pas pendant le replay (point 2) */
body:not(.home-on) #backj{display:none}
/* palette de couleurs (point 8) */
.cpk{position:fixed;z-index:90;width:248px;padding:10px;background:var(--pop);border:1px solid var(--line2);border-radius:11px;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:6px}
.cpk[hidden]{display:none}
.cpgr{display:grid;grid-template-columns:repeat(10,20px);gap:3px}
.cpc{width:20px;height:20px;border-radius:4px;background:var(--c);box-shadow:inset 0 0 0 1px rgba(127,127,127,.28);transition:transform .1s var(--ease)}
.cpc:hover{transform:scale(1.12)}
.cpc[aria-pressed=true]{box-shadow:0 0 0 2px var(--pop),0 0 0 3.5px var(--tx)}
.cpc:focus-visible{outline:2px solid var(--tx);outline-offset:2px}
.cpsep{height:1px;background:var(--line2);margin:2px 0}
.cpadd{width:20px;height:20px;border-radius:4px;border:1px dashed var(--line3);color:var(--mut);font:500 15px/1 Inter,sans-serif;display:grid;place-items:center}
.cpadd:hover{color:var(--tx);border-color:var(--mut)}
.cpop{display:grid;grid-template-columns:auto 1fr 46px;align-items:center;gap:8px;color:var(--mut);font-size:12px;padding-top:2px}
.cpop b{color:var(--tx);font-weight:500;text-align:right}
.cpop input{width:100%;accent-color:var(--c,var(--acc))}
.cpnat{position:fixed;left:-40px;top:0;width:1px;height:1px;opacity:0;pointer-events:none}
.cpb{width:26px;height:26px;border-radius:7px;padding:4px;border:1px solid var(--line2);background:var(--bg);display:inline-grid;place-items:center;flex:none;
  background-image:linear-gradient(45deg,rgba(127,127,127,.25) 25%,transparent 25%,transparent 75%,rgba(127,127,127,.25) 75%),linear-gradient(45deg,rgba(127,127,127,.25) 25%,transparent 25%,transparent 75%,rgba(127,127,127,.25) 75%);background-size:8px 8px;background-position:0 0,4px 4px}
.cpb i{display:block;width:100%;height:100%;border-radius:4px;background:var(--c);box-shadow:inset 0 0 0 1px rgba(127,127,127,.3)}
.cpb:hover{border-color:var(--line3)}
.cpb[aria-expanded=true]{border-color:var(--tx)}
.dtb>.cpb.cpi,.cpb.cpi{width:28px;height:28px;border:0;border-radius:7px;background:none;padding:0;display:grid;place-items:center;color:var(--mut);position:relative}
.cpb.cpi:hover{background:var(--hov);color:var(--tx)}
.cpb.cpi svg{width:16px;height:16px;margin-top:-3px}
.cpb.cpi .cpbar{position:absolute;left:7px;right:7px;bottom:4px;height:3px;width:auto;border-radius:2px;background:var(--c);box-shadow:none}
.csr .cpb,.dsc .cpb{margin-left:2px}
.cscl{display:flex;align-items:center;gap:6px}
/* fenêtre de réglages d'un dessin (points 3 et 6) */
.dbox.dsbox{width:min(480px,100%)}
.dstabs{display:flex;gap:2px;padding:0 14px;border-bottom:1px solid var(--line);overflow-x:auto}
.dstabs button{padding:9px 10px 10px;color:var(--mut);border-bottom:2px solid transparent;margin-bottom:-1px;white-space:nowrap;font-weight:500}
.dstabs button:hover{color:var(--tx)}
.dstabs button[aria-selected=true]{color:var(--tx);border-bottom-color:var(--tx)}
.dsbody{padding:12px 18px 14px;overflow:auto;min-height:220px;max-height:min(440px,calc(100vh - 220px));display:flex;flex-direction:column;gap:2px}
.dsbody .fibbody{padding:0;overflow:visible}
.dsr{display:grid;grid-template-columns:110px 1fr;align-items:center;gap:12px;padding:7px 0;border-bottom:1px solid var(--line)}
.dsr:last-child{border-bottom:0}
.dsl{color:var(--mut)}
.dsc{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}
.dsc .seg button{height:28px;padding:0 10px}
.dsc .dws button{width:28px;height:28px;border-radius:7px;display:grid;place-items:center;color:var(--mut)}
.dsc select,.dsc input[type=number]{height:30px;background:var(--bg);border:1px solid var(--line2);border-radius:7px;color:var(--tx);padding:0 8px}
.dsc input[type=number]{width:120px}
.dsn{color:var(--mut);font-size:12px}
.dst{color:var(--mut);font-size:12px}
.dstx{width:100%;min-height:72px;resize:vertical;background:var(--bg);border:1px solid var(--line2);border-radius:8px;color:var(--tx);padding:8px 10px;font:inherit;line-height:1.4;margin-bottom:6px}
.dstx:focus{border-color:var(--line3);outline:none}
.dstg{width:30px;height:30px;border-radius:7px;border:1px solid var(--line2);color:var(--mut);font:600 13px Inter,sans-serif}
.dstg.dsi{font-style:italic;font-family:Georgia,serif}
.dstg:hover{color:var(--tx);background:var(--hov)}
.dstg[aria-pressed=true]{background:var(--acc);border-color:var(--acc);color:var(--acctx)}
.dsnote{color:var(--dim);font-size:12px;margin-top:8px}
.dsvis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px 10px;padding:4px 0 10px}
.dsvis label{display:flex;align-items:center;gap:7px;color:var(--tx);cursor:pointer}
.dsvis input{width:16px;height:16px;accent-color:var(--acc)}
.dsvq{display:flex;gap:6px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:10px}
.dsf{display:flex;align-items:center;gap:8px;padding:12px 14px;border-top:1px solid var(--line)}
.dsf .sp{flex:1}
.dstpl{position:relative}
#dstplb{display:inline-flex;align-items:center;gap:4px}
#dstplb span{max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dstplm{position:absolute;left:0;bottom:calc(100% + 6px);min-width:250px;padding:6px;background:var(--pop);border:1px solid var(--line2);border-radius:10px;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:2px;z-index:3}
.dstplm[hidden]{display:none}
.dstplm>button{display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left;padding:7px 9px;border-radius:7px;color:var(--tx)}
.dstplm>button:hover{background:var(--hov)}
.dstplm small{color:var(--mut);font-size:11px}
.dstplm .h{height:1px;background:var(--line2);margin:3px 0}
.dstsv{display:flex;gap:6px;padding:4px 2px}
.dstsv input{flex:1;min-width:0;height:30px;background:var(--bg);border:1px solid var(--line2);border-radius:7px;color:var(--tx);padding:0 8px}
.fibrs{display:flex;justify-content:flex-start;padding-top:6px}
@media (max-width:600px){.dsr{grid-template-columns:1fr;gap:6px}.dsvis{grid-template-columns:repeat(3,minmax(0,1fr))}}
/* texte écrit sur place au double-clic (point 4) */
.led{position:absolute;z-index:12;min-width:160px;max-width:min(420px,70%);field-sizing:content;resize:none;overflow:hidden;padding:3px 6px;line-height:1.25;
  font-family:Inter,sans-serif;background:var(--pop);border:1px solid var(--line3);border-radius:6px;box-shadow:var(--shadow);outline:none}
.led::placeholder{color:var(--dim)}
/* bouton « Order » à côté d'une zone d'achat ou de vente (point 5) */
#ov .dord{pointer-events:all;cursor:pointer}
#ov .dord rect{transition:filter .12s}
#ov .dord:hover rect{filter:brightness(1.12)}
#ov.draw .dord{pointer-events:none}
/* RTH / ETH (point 7) */
.bot button.rthb{font-weight:600;letter-spacing:.02em}
.bot button.rthb[aria-pressed=true]{color:var(--tx);background:var(--act)}
.bot button.rthb[hidden]{display:none}
.cssess{display:flex;flex-direction:column;align-items:flex-end;gap:4px}
.cssess small{color:var(--dim);font-size:11.5px}
.led{min-width:120px}
.led-mid{transform:translate(-50%,-50%);text-align:center}
.led-ln{transform:translate(-50%,calc(-100% - 6px));text-align:center}
.led-pt{transform:translate(-8px,-50%)}
.dsbox:focus{outline:none}
.dsbody{min-height:252px}
.csr .cscl select{max-width:none;min-width:110px}

/* ---------- cahier des charges du 21/11 ---------- */
/* 1. la barre du haut tient dans l'écran : rien n'est coupé, la page ne glisse pas de côté */
.top{overflow-x:clip}
.top>*{flex-shrink:0}
.top.tc1 .dlypill .lbl,.top.tc1 .lkpill .lbl,.top.tc1 #datetxt{display:none}
.top.tc2 #indbtn .lbl,.top.tc2 #pipbtn .lbl,.top.tc2 #sessbtn .lbl{display:none}
.top.tc3 #fsbtn,.top.tc3 #indfavbtn,.top.tc3 #mine,.top.tc3 #themebtn{display:none}
.top.tc4 .planbadge{display:none!important}
.top.tc4 .symtx small{display:none}
.top.tc5 #panelbtn,.top.tc5 #datebtn,.top.tc5 #ctypebtn{display:none}
.top.tcq .tfq button:nth-child(n+5){display:none}
.top.tc6 .tfq{display:none}.top.tc6 .tfb #tftxt{display:inline;font-weight:600;color:var(--tx)}
/* 6. trades exécutés sur le graphique : un bouton */
.bot button.trb svg{width:15px;height:15px}
.bot button.trb[aria-pressed=true]{color:var(--tx);background:var(--act)}
/* SMT : second marché en un clic */
.smtq{display:flex;flex-wrap:wrap;gap:4px;padding:2px 8px 8px}
.smtq button{height:28px;padding:0 10px;border-radius:7px;border:1px solid var(--line2);color:var(--tx);font-weight:500;font-size:12px}
.smtq button:hover{background:var(--hov)}
.smtq button[aria-pressed=true]{background:var(--acc);color:var(--acctx);border-color:var(--acc)}
.smtn{color:var(--dim);font-size:12px;padding:0 2px}
.hsmt .seg{flex-wrap:wrap}
/* 5. case de la ligne médiane */
.dsck{display:inline-flex;align-items:center;gap:6px;color:var(--tx);cursor:pointer}
.dsck input{width:16px;height:16px;accent-color:var(--acc)}
/* séances : catégorie, gardées */
.chips .catc{color:var(--tx);border-color:var(--line2)}
.keepb{display:inline-flex;align-items:center;gap:4px;font-size:11px;color:var(--tx);border:1px solid var(--line2);border-radius:999px;padding:1px 7px 1px 5px;margin-left:6px}
.keepb svg{width:11px;height:11px;fill:currentColor}
#cardmenu .h{font-size:11px;color:var(--dim);padding:6px 10px 2px}
#cardmenu .h:empty{height:1px;background:var(--line2);padding:0;margin:4px 0}
#cardmenu [aria-checked=true]::after{content:"✓";float:right;color:var(--mut)}

#cardmenu{max-height:calc(100vh - 16px);overflow:auto}
/* barre de lecture du 21/11 : session suivante, bougie de départ réservée à One */
/* Skip to Session : trois lignes alignées (nom, « lendemain », heure), fond plein, réglage des heures dans les paramètres */
.skipm{min-width:262px;width:262px}
.skipm.on{background:var(--pop)}
.skipm .h small{color:var(--dim);font-weight:400}
.skipm [data-skip]{display:grid;grid-template-columns:1fr auto 42px;align-items:center;gap:8px}
.skipm [data-skip] b{font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.skipm [data-skip] small{color:var(--tx);font-variant-numeric:tabular-nums;text-align:right;font-size:12.5px}
.skipm [data-skip] em{font-style:normal;font-size:10.5px;color:var(--dim);white-space:nowrap}
.skipm .skset{border-top:1px solid var(--line);border-radius:0 0 7px 7px;margin-top:4px;color:var(--mut);font-size:12px}
.skipm .skset .i{width:14px;height:14px}
.cstime{height:30px;width:108px;background:var(--bg);border:1px solid var(--line2);border-radius:7px;color:var(--tx);padding:0 8px;font:inherit;font-size:12.5px;font-variant-numeric:tabular-nums;color-scheme:dark}
:root[data-theme=light] .cstime{color-scheme:light}
#csskip small{font-weight:400;color:var(--dim);margin-left:6px;font-size:11px}
#pick:disabled{opacity:.38;cursor:not-allowed}
/* rapport du 21/11 (2e) : « Order » n'ouvre que le panneau « Depuis le dessin » ; quantité des boutons du graphique ;
   Custom Time / Next Day Open ; emplacement Texte ; niveaux réglables */
.side.fdonly>.sides,.side.fdonly>.otabs,.side.fdonly>.fl,.side.fdonly>.adv,.side.fdonly>.sum,.side.fdonly>#send,.side.fdonly>.note{display:none}
.fdrk{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.fdrk .inp{width:96px}.fdrk input{width:100%}
.fdrk small{font-size:11.5px;color:var(--mut)}
.fdw{font-weight:500}
.ot .otq{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;min-width:52px;padding:0 4px;background:var(--glass);border-top:1px solid var(--line2);border-bottom:1px solid var(--line2);border-left:1px solid var(--line2);cursor:text}
.ot .otq input{width:46px;height:20px;border:1px solid var(--line2);border-radius:4px;background:var(--bg);color:var(--tx);text-align:center;font:600 12px/1 var(--font,inherit);font-variant-numeric:tabular-nums;padding:0 2px;-moz-appearance:textfield}
.ot .otq input::-webkit-outer-spin-button,.ot .otq input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.ot .otq input:focus{outline:none;border-color:var(--acc)}
.ot .otq small{font-size:8.5px;letter-spacing:.06em;color:var(--mut);text-transform:uppercase}
.skipm [data-sknd]{display:grid;grid-template-columns:1fr auto 42px;align-items:center;gap:8px}
.skipm [data-sknd] b{font-weight:500;white-space:nowrap}
.skipm .skcust{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:6px;padding:6px 10px;border-top:1px solid var(--line)}
.skipm .skcust b{font-weight:500;font-size:13px;white-space:nowrap}
.skipm .skcust input{height:26px;width:92px;border:1px solid var(--line2);border-radius:6px;background:var(--bg);color:var(--tx);padding:0 6px;font-variant-numeric:tabular-nums;color-scheme:dark light}
.skipm .skcust .tb{height:26px;padding:0 10px}
#ov .dtph{pointer-events:all;cursor:text}
#ov .dtph:hover rect{fill:var(--line)}
#ov.draw .dtph{pointer-events:none}
.dslv{width:100%;min-width:0;height:30px;border:1px solid var(--line2);border-radius:6px;background:var(--bg);color:var(--tx);padding:0 8px;font-variant-numeric:tabular-nums}
.skipm .skcust .tb{width:auto}
/* 22/11 : barre de gauche façon TradingView, plus large, icônes plus grandes et plus fines ; menus en sections */
@media (min-width:961px){.mid{grid-template-columns:52px minmax(0,1fr) var(--side)}
  .noside .mid{grid-template-columns:52px minmax(0,1fr) 0}
  .tools{gap:3px;padding:8px 0}
  .tools button{width:42px;height:40px;border-radius:8px}
  .tools .tsep{width:30px;margin:6px 0}
  .tools button::after{left:50px}}
.tools button svg.i{width:24px;height:24px;stroke-width:1.15}
.tools .tfam .fmore{width:11px;height:11px}
.tools .tfam .fmore svg.i,.tools .tfam .fmore svg{width:6px;height:6px}
#dtmenu .dtsep{height:1px;background:var(--line2);margin:5px 8px}
#dtmenu .h{padding-top:6px}
@media (min-width:961px) and (max-height:820px){.tools{gap:0;padding:4px 0}.tools button{height:34px;width:40px}.tools button svg.i{width:21px;height:21px}.tools .tsep{margin:3px 0}}
/* 22/11 : podium du défi du jour (/replay, espace Replay, fin du défi) */
.podium{display:grid;grid-template-columns:1fr 1.15fr 1fr;align-items:end;gap:8px;padding:16px 14px 0}
.pd{display:flex;flex-direction:column;align-items:center;text-align:center;min-width:0;--pc:#c9ced6}
.pd.gold{--pc:#f5c542}.pd.silver{--pc:#c9ced6}.pd.bronze{--pc:#cd8a4f}
.pd.empty{visibility:hidden}
.pdcr svg{width:24px;height:24px;fill:none;stroke:var(--pc);stroke-width:1.6;stroke-linejoin:round;margin-bottom:2px}
.pda{width:44px;height:44px;border-radius:50%;border:2px solid var(--pc);display:grid;place-items:center;font-weight:600;font-size:14px;color:var(--pc);margin-bottom:6px}
.pd1 .pda{width:54px;height:54px;font-size:16px}
.pdn{font-size:13px;font-weight:500;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pdn a{color:inherit}.pd1 .pdn{font-size:14px;font-weight:600}
.pd em{font-style:normal;font-size:12.5px;font-weight:600;font-variant-numeric:tabular-nums;margin-top:1px}
.pd em.pos{color:var(--upt)}.pd em.neg{color:var(--dnt)}
.pdb{width:100%;margin-top:8px;border-radius:9px 9px 0 0;background:color-mix(in srgb,var(--pc) 12%,var(--bg1,var(--bg)));border:1px solid color-mix(in srgb,var(--pc) 35%,transparent);border-bottom:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:var(--pc)}
.pd1 .pdb{height:92px}.pd2 .pdb{height:66px}.pd3 .pdb{height:50px}
.pdb svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.pd1 .pdb svg{width:30px;height:30px}
.pdb i{font-style:normal;font-size:11px;font-weight:700;opacity:.85}
.pd.me .pda{box-shadow:0 0 0 3px color-mix(in srgb,var(--pc) 30%,transparent)}
.pdl{list-style:none;margin:0;padding:6px 14px 10px;border-top:1px solid var(--line);font-size:13px;font-variant-numeric:tabular-nums}
.pdl li{display:grid;grid-template-columns:30px minmax(0,1fr) auto auto;align-items:center;gap:6px;padding:7px 2px;border-bottom:1px solid var(--line);color:var(--mut)}
.pdl li:last-child{border-bottom:0}
.pdl li i{font-style:normal;color:var(--dim)}
.pdl li>span,.pdl li>a{color:var(--tx);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pdl li b{font-weight:600}.pdl li b.pos{color:var(--upt)}.pdl li b.neg{color:var(--dnt)}
.pdl li small{font-size:11px;color:var(--mut)}
.pdl li.me{color:var(--tx)}.pdl li.me>span,.pdl li.me>a{font-weight:600}
.pdl li.dots{display:block;text-align:center;padding:2px;border-bottom:0}
.lbex{position:relative;opacity:.9}
.lbexb{position:absolute;top:10px;right:12px;font-size:11px;font-weight:600;color:var(--mut);border:1px solid var(--line2);border-radius:5px;padding:1px 6px}
.lbexn{margin:0;padding:10px 16px 14px;font-size:12.5px;color:var(--mut);border-top:1px solid var(--line)}.lbexn b{color:var(--tx);font-weight:600}
.dlyb .podium{padding:12px 0 0}.dlyb .pdl{padding:4px 0 6px}
.lboard .lbb{min-height:560px}
@media (max-width:600px){.lboard .lbb{min-height:600px}}
.dlyb ol.pdl{columns:1}
.lshot video{display:block;width:100%;height:auto;aspect-ratio:1200/750;border:1px solid var(--line2);border-radius:14px;background:var(--bg1)}
.pdme{font-size:11px;color:var(--mut)}

/* ---------- rapport du 22/11 : séparateur, pointillés, barre d'outils, suppression d'une séance ---------- */
.split{position:absolute;z-index:8;touch-action:none}
.split-c{bottom:0;width:11px;margin-left:-5.5px;cursor:col-resize}
.split-r{right:0;height:11px;margin-top:-5.5px;cursor:row-resize}
.split::after{content:"";position:absolute;background:var(--line3);opacity:0;transition:opacity var(--t)}
.split-c::after{top:0;bottom:0;left:5px;width:1px}
.split-r::after{left:0;right:0;top:5px;height:1px}
.split:hover::after,.split.on::after{opacity:1}
.charts.has-max>.split{display:none!important}
body.splitting{user-select:none;-webkit-user-select:none}
body.split-x,body.split-x *{cursor:col-resize!important}
body.split-y,body.split-y *{cursor:row-resize!important}
@media (max-width:960px){.split{display:none}}
@media (min-width:961px){
  .mid{grid-template-rows:minmax(0,1fr)}
  .tools{min-height:0}
  .tools>*{flex-shrink:0}
  .tools.scroll{overflow:hidden auto;scrollbar-width:none;overscroll-behavior:contain}
  .tools.scroll button::after{position:fixed;left:var(--tipx,60px);top:var(--tipy,50%)}
}
.delbox{width:min(400px,100%)}
.delb{padding:14px 16px;display:flex;flex-direction:column;gap:6px;color:var(--mut)}
.delb b{color:var(--tx);font-weight:600;overflow-wrap:anywhere}
.delb [hidden]{display:none}
.delb .delerr{color:var(--dnt)}
#delyes{background:var(--dnt);color:#fff}
