/* SafeChase Dashboard — palette + petits ajustements */

:root {
  color-scheme: dark;
}

html, body {
  height: 100%;
  background: #0b0e14;
  color: #e5e7eb;
}

/* Scrollbars discrètes */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0f1320; }
::-webkit-scrollbar-thumb { background: #252b3d; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #3d4459; }

/* Police mono pour chiffres tabulaires */
.mono { font-family: 'JetBrains Mono', monospace; font-variant-numeric: tabular-nums; }
.tabnum { font-variant-numeric: tabular-nums; }

/* Glow subtil pour les badges actifs */
.dot { width: 8px; height: 8px; border-radius: 999px; display: inline-block; }
.dot-running { background: #16a34a; box-shadow: 0 0 8px rgba(22,163,74,.6); animation: pulse 2s infinite; }
.dot-stopped { background: #dc2626; box-shadow: 0 0 6px rgba(220,38,38,.4); }
.dot-pending { background: #eab308; box-shadow: 0 0 6px rgba(234,179,8,.4); }
.dot-data-only { background: #a855f7; box-shadow: 0 0 8px rgba(168,85,247,.5); }
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .55; transform: scale(.85); }
}

/* Boutons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .45rem .9rem; border-radius: .55rem;
  font-size: .875rem; font-weight: 500;
  border: 1px solid transparent;
  transition: all .15s ease-in-out;
  user-select: none; cursor: pointer;
}
.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn-primary { background: #4f8cff; color: white; }
.btn-primary:hover:not(:disabled) { background: #3b76e3; }
.btn-ghost { background: transparent; color: #cbd5e1; border-color: #252b3d; }
.btn-ghost:hover:not(:disabled) { background: #1a2030; }
.btn-danger { background: #dc2626; color: white; }
.btn-danger:hover:not(:disabled) { background: #b91c1c; }
.btn-warn { background: #eab308; color: #0b0e14; }
.btn-warn:hover:not(:disabled) { background: #d4a006; }

/* Cards */
.card {
  background: linear-gradient(180deg, rgba(15,19,32,1), rgba(11,14,20,1));
  border: 1px solid rgba(37, 43, 61, 0.6);
  border-radius: 12px;
}
.card-header {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(37, 43, 61, 0.6);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #94a3b8;
}
.card-body { padding: 14px 16px; }

/* Tableaux denses */
table.dense th, table.dense td {
  padding: 6px 8px;
  text-align: left;
  font-size: 13px;
}
table.dense thead th {
  background: #0f1320;
  position: sticky; top: 0;
  font-weight: 500;
  color: #94a3b8;
  border-bottom: 1px solid #252b3d;
  z-index: 1;
}
table.dense tbody tr {
  border-bottom: 1px solid rgba(37, 43, 61, 0.4);
}
table.dense tbody tr:hover { background: rgba(79, 140, 255, 0.04); }

/* uPlot dark overrides */
.uplot, .u-wrap { background: transparent !important; color: #cbd5e1; }
/* Pastilles de valeur au curseur (crosshair TradingView) */
.u-pill { position: absolute; z-index: 30; pointer-events: none; white-space: nowrap;
  background: #0b1220; color: #e2e8f0; border: 1px solid rgba(148,163,184,.35);
  font: 11px/1.3 ui-monospace, monospace; padding: 1px 5px; border-radius: 4px; }
.u-pill-x { transform: translate(-50%, -50%); }    /* centrée dans la bande de l'axe X, sur le curseur */
.u-pill-l { transform: translate(-100%, -50%); background: #11212e; } /* axe gauche (spot) */
.u-pill-r { transform: translate(3px, -50%); background: #11212e; }   /* axe droit (delta) */
/* On masque la ligne "time" du legend uPlot (1ère série) : le temps est désormais
   affiché dans la pastille de l'axe X au survol. */
.uplot .u-legend .u-series:first-child { display: none; }
/* Masquer de la légende UNIQUEMENT les séries pilotées par les boutons en haut à
   droite (USDT, Deep FV ↑↓) quand elles sont off, au lieu du grisé "--".
   Ordre des séries : time(1), UP bid/ask(2,3), DN bid/ask(4,5), Spot(6), CL(7),
   puis USDT(8), Deep FV ↑↓(9,10) → on cible nth-child ≥ 8.
   Les séries 1-7 (Spot/CL/book) restent visibles en légende même masquées par clic,
   donc re-cliquables pour les ré-afficher. uPlot ajoute la classe u-off au <tr> caché. */
.uplot .u-legend .u-series:nth-child(n+8).u-off,
.uplot .u-legend tr:nth-child(n+8).u-off { display: none; }
.u-axis text { fill: #94a3b8 !important; }
.u-grid { stroke: rgba(148, 163, 184, 0.08) !important; }
.u-legend { font-family: 'Inter', sans-serif; font-size: 12px; color: #cbd5e1; }
.u-legend th { color: #94a3b8; font-weight: 500; }

.fill-tooltip {
  position: fixed; z-index: 120; width: 340px; max-width: calc(100vw - 16px);
  max-height: min(420px, calc(100vh - 16px)); overflow-y: auto;
  background: #101827; color: #e2e8f0; border: 1px solid #475569;
  border-radius: 8px; box-shadow: 0 8px 28px #0009; font: 12px/1.5 Inter, sans-serif;
  pointer-events: auto;
}
.fill-tooltip-item { padding: 10px 12px; }
.fill-tooltip-item + .fill-tooltip-item { border-top: 1px solid #334155; }
.fill-tooltip-time { color: #94a3b8; font-size: 11px; }
.fill-tooltip dl { display: grid; grid-template-columns: 1fr auto; margin: 8px 0; }
.fill-tooltip dt { color: #94a3b8; }
.fill-tooltip dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.fill-role { display: inline-block; padding: 1px 6px; border-radius: 4px; font-weight: 600; }
.fill-role-maker { color: #7dd3fc; background: #0c4a6e66; }
.fill-role-taker { color: #fdba74; background: #7c2d1266; }
.fill-after-cancel { display: inline-block; padding: 3px 7px; border: 1px solid #f59e0b66; border-radius: 5px; color: #fcd34d; background: #78350f55; }
.fill-tooltip-count { padding: 8px 12px; border-bottom: 1px solid #334155; color: #7dd3fc; }

/* Tooltip / popover */
.popover {
  position: fixed;
  z-index: 50;
  background: #1a2030;
  border: 1px solid #3d4459;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  box-shadow: 0 12px 28px rgba(0,0,0,.45);
  pointer-events: none;
}

/* Modal */
.modal-overlay {
  position: fixed; inset: 0;
  /* PAS de backdrop-filter:blur : il re-floute toute la page à CHAQUE repaint
     (mousemove/redraw chart/scroll) → modal laggy partout, infernal sur mobile.
     Fond opaque sombre à la place (même rendu visuel, coût ~nul). */
  background: rgba(6, 8, 14, 0.86);
  z-index: 40;
  display: flex; align-items: center; justify-content: center;
}
.modal-panel {
  background: #0f1320;
  border: 1px solid #252b3d;
  border-radius: 16px;
  width: min(960px, 92vw);
  max-height: 88vh;
  display: flex; flex-direction: column;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,.5);
}
.modal-header {
  padding: 16px 20px;
  border-bottom: 1px solid #252b3d;
  display: flex; align-items: center; justify-content: space-between;
}
.modal-body {
  padding: 16px 20px;
  overflow: auto;
  flex: 1;
}

/* Chips de filtre */
.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .25rem .7rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 500;
  background: #1a2030;
  border: 1px solid #252b3d;
  cursor: pointer;
  transition: all .12s ease-in-out;
}
.chip:hover { background: #252b3d; }
.chip-active {
  background: rgba(79, 140, 255, 0.15);
  border-color: #4f8cff;
  color: #93c5fd;
}
/* Chips de strats dans History : tint jaune pour celles qui ont tradé */
.chip-traded {
  background: rgba(250, 204, 21, 0.18);
  border-color: rgba(250, 204, 21, 0.45);
  color: #fde68a;
  font-weight: 600;
}
.chip-untraded {
  opacity: 0.8;
}

/* Order state colors */
.os-sending  { color: #eab308; }
.os-live     { color: #16a34a; }
.os-cancel   { color: #f59e0b; }
.os-filled   { color: #38bdf8; }
.os-removed  { color: #94a3b8; opacity: .6; }

/* Top-center status banners (build progress, History loading, etc.) */
.banner-stack {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 70;
  display: flex; flex-direction: column; gap: 8px;
  pointer-events: none;
  max-width: 90vw;
}
.banner {
  pointer-events: auto;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 18px 10px 14px;
  min-width: 280px;
  max-width: 560px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: .01em;
  background: rgba(15, 19, 32, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 14px 32px rgba(0,0,0,.5), 0 0 0 1px rgba(0,0,0,.2);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.banner-info    { border-color: rgba(96, 165, 250, .42); color: #cfe3ff; }
.banner-warn    { border-color: rgba(250, 204, 21, .55); color: #fde68a;
                  background: linear-gradient(180deg, rgba(60, 47, 12, .85), rgba(15, 19, 32, .94)); }
.banner-success { border-color: rgba(74, 222, 128, .55); color: #bbf7d0;
                  background: linear-gradient(180deg, rgba(13, 49, 26, .85), rgba(15, 19, 32, .94)); }
.banner-error   { border-color: rgba(248, 113, 113, .55); color: #fecaca;
                  background: linear-gradient(180deg, rgba(60, 16, 16, .85), rgba(15, 19, 32, .94)); }

.banner-spinner {
  width: 14px; height: 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: bspin .8s linear infinite;
  flex-shrink: 0;
}
@keyframes bspin { to { transform: rotate(360deg); } }

.banner-icon-static {
  font-size: 15px; line-height: 1; flex-shrink: 0;
}

.banner-msg {
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
}
.banner-close {
  margin-left: 6px;
  color: currentColor;
  opacity: .55;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  background: transparent; border: 0;
  padding: 2px 4px;
}
.banner-close:hover { opacity: 1; }

/* Progress bar at the bottom of the pill */
.banner-progress-wrap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: rgba(255,255,255,.04);
  overflow: hidden;
}
.banner-progress-bar {
  height: 100%;
  background: currentColor;
  opacity: .8;
}
.banner-progress-bar.indeterm {
  width: 35%;
  position: absolute;
  left: -35%;
  animation: bprog 1.45s ease-in-out infinite;
}
@keyframes bprog {
  0%   { left: -35%; }
  100% { left: 100%; }
}

/* Banner enter/leave */
.banner-enter-active, .banner-leave-active {
  transition: opacity .22s ease, transform .22s cubic-bezier(.33,.85,.42,1);
}
.banner-enter-from, .banner-leave-to { opacity: 0; transform: translateY(-12px) scale(.96); }

/* Toast */
.toast-stack {
  position: fixed;
  bottom: 16px; right: 16px;
  z-index: 60;
  display: flex; flex-direction: column; gap: 8px;
}
.toast {
  background: #1a2030;
  border: 1px solid #252b3d;
  border-left: 3px solid #4f8cff;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  min-width: 240px;
  box-shadow: 0 8px 20px rgba(0,0,0,.4);
}
.toast.error { border-left-color: #dc2626; }
.toast.ok    { border-left-color: #16a34a; }

/* Skeleton loaders */
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
.skel {
  background: linear-gradient(90deg, #1a2030 0px, #252b3d 200px, #1a2030 400px);
  background-size: 800px 100%;
  animation: shimmer 1.6s linear infinite;
  border-radius: 6px;
}

/* Fade transitions Vue */
.fade-enter-active, .fade-leave-active { transition: opacity .15s ease-in-out; }
.fade-enter-from, .fade-leave-to       { opacity: 0; }

/* Misc */
.text-pnl-pos { color: #4ade80; }
.text-pnl-neg { color: #f87171; }
.text-pnl-flat { color: #94a3b8; }
.divider { border-top: 1px solid #252b3d; margin: 12px 0; }

/* Heatmap cell */
.hcell { width: 28px; height: 28px; border-radius: 4px; display: inline-block; }

/* TickerNum — animation slot-machine PER-CHARACTER */
.ticker-num {
  display: inline-flex;
  vertical-align: bottom;
  font-variant-numeric: tabular-nums;
  line-height: 1.1em;
}
.ticker-digit-cell {
  display: inline-block;
  position: relative;
  overflow: hidden;
  height: 1.1em;
  line-height: 1.1em;
  min-width: 0.45ch;
}
.ticker-digit-inner {
  display: inline-block;
  white-space: nowrap;
}
/* Valeur ↑ → l'ancien chiffre sort PAR LE BAS, le nouveau ENTRE PAR LE HAUT
   (= le digit "descend" visuellement) */
.ticker-up-enter-from { transform: translateY(-100%); opacity: 0; }
.ticker-up-leave-to   { transform: translateY(100%);  opacity: 0; }
.ticker-up-enter-active,
.ticker-up-leave-active { transition: transform .28s cubic-bezier(.33,.85,.42,1), opacity .28s linear; }
.ticker-up-leave-active { position: absolute; top: 0; left: 0; right: 0; }

/* Valeur ↓ → l'inverse : ancien sort par le HAUT, nouveau entre par le BAS */
.ticker-down-enter-from { transform: translateY(100%);  opacity: 0; }
.ticker-down-leave-to   { transform: translateY(-100%); opacity: 0; }
.ticker-down-enter-active,
.ticker-down-leave-active { transition: transform .28s cubic-bezier(.33,.85,.42,1), opacity .28s linear; }
.ticker-down-leave-active { position: absolute; top: 0; left: 0; right: 0; }

/* none = pas d'animation (init, char inchangé) */
.ticker-none-enter-active, .ticker-none-leave-active { transition: none; }

/* OrderTable : badge de state qui flip avec un effet slot-machine vertical
   (le nouveau state descend par le haut, l'ancien sort par le bas). */
.state-flip-enter-from { transform: translateY(-110%); opacity: 0; }
.state-flip-leave-to   { transform: translateY(110%);  opacity: 0; }
.state-flip-enter-active,
.state-flip-leave-active { transition: transform .32s cubic-bezier(.33,.85,.42,1), opacity .25s linear; }
.state-flip-leave-active { position: absolute; }

/* FLUX LIVE (DashboardPage) : nouvel event = glisse depuis le haut + flash bleu qui
   s'estompe ; les lignes existantes descendent en douceur (flux-move) au lieu du
   snap mécanique. flux-leave = sortie par le bas quand on dépasse les 50 lignes. */
/* !important sur opacity : la ligne porte un :style inline opacity (dim non-HOT) qui
   sinon gagne sur la classe et tue le fade. enter-from force 0, puis à la levée des
   classes l'opacity retombe sur l'inline (.72/1) → transition 0→inline. */
.flux-row { will-change: transform, opacity; }
.flux-enter-from   { opacity: 0 !important; transform: translateY(-12px); background: rgba(79,140,255,.20); }
.flux-enter-to     { background: transparent; }
.flux-enter-active { transition: opacity .3s ease, transform .3s cubic-bezier(.33,.85,.42,1), background 1.4s ease; }
.flux-move         { transition: transform .35s cubic-bezier(.33,.85,.42,1); }
.flux-leave-to     { opacity: 0 !important; transform: translateY(10px); }
.flux-leave-active { transition: opacity .25s linear, transform .25s ease; position: absolute; left: 0; right: 0; }

/* ═══════ DashboardPage — MOBILE / TABLETTE (< xl 1280px) ═══════
   Le terminal est verrouillé à height:calc(100vh - 82px) pour le layout 3 colonnes
   desktop. En UNE colonne, ce 100vh reste appliqué : les 3 cartes empilées (flex
   1.7/1/1.15) se partagent une fraction d'écran → charts sans hauteur, panneaux
   latéraux 186px qui écrasent le graphe, textes superposés, et POSITIONS réduite à
   une bande scrollable. On repasse donc en hauteur AUTO + hauteurs explicites, et on
   empile les panneaux latéraux sous leur chart. !important partout : les valeurs
   viennent de style="" inline, qui gagne sinon sur la classe. */
@media (max-width: 1279px) {
  .dash-terminal { height: auto !important; }
  .dash-col      { height: auto !important; min-height: 0 !important; }

  /* Les cartes ne se partagent plus un conteneur borné → hauteur par le contenu. */
  .dash-card      { flex: none !important; min-height: 0 !important; }
  .dash-card-flux { flex: none !important; min-height: 340px !important; max-height: 70vh; }

  /* chart | panneau latéral → empilés verticalement */
  .dash-split { flex-direction: column !important; }
  .dash-aside {
    width: 100% !important;
    border-left: none !important;
    border-top: 1px solid rgba(148,163,184,.08);
  }
  /* le plot est en position:absolute;inset:0 → il lui faut une hauteur réelle */
  .dash-plot { flex: none !important; height: 200px !important; width: 100%; }

  /* POSITIONS : plus de scroll interne écrasé, c'est la page qui scrolle */
  .dash-pos-list { overflow-y: visible !important; flex: none !important; }
  /* la ligne passe sur 2 rangs : identité au-dessus, métriques dessous */
  .dash-pos-row     { flex-wrap: wrap; row-gap: 8px !important; }
  .dash-pos-id      { width: auto !important; flex: 1 1 auto; min-width: 0; }
  .dash-pos-metrics { flex-basis: 100% !important; justify-content: space-between !important; gap: 10px !important; }

  /* FLUX LIVE : ~430px de colonnes fixes ne rentrent pas sur un tel écran →
     scroll horizontal (en-tête sticky inclus) plutôt que colonnes superposées. */
  .dash-flux-scroll     { overflow-x: auto !important; }
  .dash-flux-scroll > * { min-width: 430px; }
}


/* Bascule PRE -> live d'une position preopen. La carte est la MEME (Vue la reutilise
   via :key=slug) : on marque le passage par un balayage au lieu de faire disparaitre
   une carte "imminent" et apparaitre une carte live a cote. */
@keyframes dashGoLiveBg { from { background: rgba(244,114,182,.16); } to { background: transparent; } }
@keyframes dashGoLiveSweep { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.dash-pos-golive { animation: dashGoLiveBg 1.5s ease-out; position: relative; overflow: hidden; }
.dash-pos-golive::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, rgba(226,232,240,.20) 45%, transparent 72%);
  animation: dashGoLiveSweep 1.15s ease-out;
}


/* MOBILE : le banner (fixed, z-70) se superposait au header (sticky, z-30) qui
   occupe toute la largeur sur telephone -> il recouvrait la nav et, comme .banner
   a pointer-events:auto, il BLOQUAIT la navigation. On le descend sous la navbar.
   --nav-h est mesuree au runtime (cf. app.js) ; le fallback couvre le 1er rendu. */
@media (max-width: 767px) {
  .banner-stack {
    top: calc(var(--nav-h, 46px) + 8px);
    max-width: 94vw;
  }
  .banner {
    min-width: 0;
    max-width: 100%;
    font-size: 12.5px;
    padding: 8px 14px 8px 12px;
  }
}

.predict-navbar {background:var(--navbar-color,#54218a) !important;border-color:#8247bb !important;}
.predict-navbar .btn:hover {background:#753bad;}

.predict-navbar img {background:#fff;padding:3px 6px;border-radius:5px;}

.contract-stats-table { border-collapse: collapse; font-variant-numeric: tabular-nums; }
.contract-stats-table th, .contract-stats-table td { text-align: right; padding: 6px 12px; white-space: nowrap; }
.contract-stats-table th:first-child, .contract-stats-table td:first-child { text-align: left; padding-left: 0; }
.contract-stats-table th:last-child, .contract-stats-table td:last-child { padding-right: 0; }

/* Interrupteurs de stratégies (Settings + pastille MM de l'en-tête) */
.sw-list { display: flex; flex-direction: column; gap: 14px; }
.sw-row { display: flex; flex-direction: column; gap: 6px; padding-bottom: 12px; border-bottom: 1px solid rgba(37,43,61,.6); }
.sw-row:last-child { border-bottom: 0; padding-bottom: 0; }
.sw-head { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.sw-badge { font-size: 10px; font-weight: 600; letter-spacing: .04em; padding: 1px 6px; border: 1px solid; border-radius: 999px; }
.sw-seg { display: inline-flex; align-self: flex-start; border: 1px solid #252b3d; border-radius: 8px; overflow: hidden; }
.sw-opt { font-size: 12px; padding: 5px 12px; color: #cbd5e1; background: transparent; border-right: 1px solid #252b3d; cursor: pointer; }
.sw-opt:last-child { border-right: 0; }
.sw-opt:hover:not(:disabled) { background: #1a2030; }
.sw-opt:disabled { opacity: .45; cursor: not-allowed; }
.sw-sel-on { background: rgba(34,197,94,.18) !important; color: #86efac; }
.sw-sel-stop_after_contract { background: rgba(245,158,11,.18) !important; color: #fcd34d; }
.sw-sel-stop_now { background: rgba(244,63,94,.18) !important; color: #fda4af; }
.sw-detail { font-size: 11px; color: #94a3b8; }
.sw-note { font-size: 11px; color: #fcd34d; background: rgba(245,158,11,.08); border: 1px solid rgba(245,158,11,.25); border-radius: 8px; padding: 6px 10px; }
.sw-error { font-size: 11px; color: #fda4af; background: rgba(244,63,94,.08); border: 1px solid rgba(244,63,94,.3); border-radius: 8px; padding: 6px 10px; }
.sw-compact { align-items: center; }
.sw-pill { gap: 6px; font-size: 12px; }
.sw-pill-name { font-weight: 600; color: #e2e8f0; }
.sw-pill-state { font-size: 10px; font-weight: 600; letter-spacing: .04em; }
.sw-menu-backdrop { position: fixed; inset: 0; z-index: 44; }
.sw-menu { position: fixed; z-index: 45; width: min(360px, calc(100vw - 16px)); background: #0f1320; border: 1px solid #252b3d; border-radius: 12px; padding: 10px; box-shadow: 0 18px 40px rgba(0,0,0,.5); display: flex; flex-direction: column; gap: 6px; }
.sw-menu-title { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #e2e8f0; }
.sw-menu-detail { font-size: 11px; color: #94a3b8; margin-bottom: 2px; }
.sw-menu-item { text-align: left; display: flex; flex-direction: column; gap: 2px; padding: 7px 9px; border: 1px solid #252b3d; border-radius: 8px; background: transparent; color: #cbd5e1; cursor: pointer; }
.sw-menu-item:hover:not(:disabled) { background: #1a2030; }
.sw-menu-item:disabled { opacity: .45; cursor: not-allowed; }
.sw-menu-label { font-size: 12px; font-weight: 600; }
.sw-menu-help { font-size: 10.5px; color: #94a3b8; line-height: 1.35; }
/* Position mémorisée mais pas (encore) effective : bot arrêté, binaire antérieur, demande en cours */
.sw-preset { background: transparent !important; outline: 1px dashed currentColor; outline-offset: -3px; }
.sw-link { margin-left: 6px; font-size: 11px; color: #93c5fd; text-decoration: underline; background: none; border: 0; padding: 0; cursor: pointer; }
.sw-link:hover { color: #bfdbfe; }
.sw-env { align-self: flex-start; }
