/* ═══════════════════════════════════════════════════════════════════════════
   LEADS — Touch / No Touch barrier workspace.
   Layout + palette measured from the reference analyzer (#0e0e0e chart card,
   #131318 panels, green #00c896 / red #e3342f / amber #f59e0b), carrying the
   Rob E Bank AI house-gold identity (#d4af37) on the header, the execution
   button and the history accents so the two products read as different bots.
   ═══════════════════════════════════════════════════════════════════════════ */

.ld-workspace{display:flex;flex-direction:column;gap:12px;width:100%;}

/* ── Workspace header (house identity) ─────────────────────────────────── */
.ld-head{display:flex;align-items:center;gap:12px;padding:14px 16px;
  background:linear-gradient(135deg,rgba(212,175,55,.10),rgba(15,15,24,.92));
  border:1px solid rgba(212,175,55,.30);border-radius:14px;}
.ld-head-logo{width:38px;height:38px;border-radius:11px;flex:0 0 auto;
  display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,rgba(212,175,55,.32),rgba(180,131,10,.22));
  border:1px solid rgba(212,175,55,.55);}
.ld-head-logo svg{width:20px;height:20px;}
.ld-head-info{min-width:0;flex:1;}
.ld-head-title{font-size:15px;font-weight:800;color:#f0c75e;letter-spacing:.04em;}
.ld-head-sub{font-size:11px;color:#93a0ad;margin-top:2px;}
.ld-head-badge{font-size:9.5px;font-weight:700;letter-spacing:.08em;color:#0d0d14;
  background:linear-gradient(135deg,#f0c75e,#d4af37);border-radius:999px;
  padding:3px 9px;white-space:nowrap;}

/* ── Chart card (measured: #0e0e0e, header/footer #131318) ─────────────── */
.ld-chart-card{background:#0e0e0e;border:1px solid rgba(226,182,104,.14);
  border-radius:12px;overflow:hidden;}
.ld-chart-head{display:flex;align-items:center;justify-content:space-between;
  gap:10px;padding:10px 16px;border-bottom:1px solid rgba(226,182,104,.14);
  background:#131318;flex-wrap:wrap;}
.ld-chart-head-left{display:flex;align-items:center;gap:12px;min-width:0;flex-wrap:wrap;}
.ld-symbol-select{background:transparent;color:#fff;font-size:13px;font-weight:600;
  letter-spacing:.02em;border:none;cursor:pointer;appearance:none;padding-right:14px;
  font-family:inherit;outline:none;max-width:200px;}
.ld-symbol-select option{background:#1a1a2e;}
.ld-head-divider{height:16px;width:1px;background:rgba(255,255,255,.10);}
.ld-price{font-size:17px;font-weight:700;
  font-family:'SF Mono',Consolas,monospace;font-variant-numeric:tabular-nums;
  transition:color .15s;color:rgba(255,255,255,.7);}
.ld-price.up{color:#00c896;}
.ld-price.down{color:#e3342f;}
.ld-price-chip{font-size:11px;font-family:'SF Mono',Consolas,monospace;
  padding:2px 6px;border-radius:4px;background:rgba(255,255,255,.06);
  color:rgba(255,255,255,.55);}
.ld-price-chip.up{background:rgba(0,200,150,.10);color:#00c896;}
.ld-price-chip.down{background:rgba(227,52,47,.10);color:#e3342f;}
.ld-tick-live{display:flex;align-items:center;gap:6px;}
.ld-tick-dot{width:6px;height:6px;border-radius:50%;background:#00c896;
  animation:ldPulse 1.6s ease-in-out infinite;}
.ld-tick-dot.stale{background:#e3342f;animation:none;}
@keyframes ldPulse{0%,100%{opacity:1;}50%{opacity:.35;}}
.ld-tick-count{font-size:10px;color:rgba(255,255,255,.30);
  font-family:'SF Mono',Consolas,monospace;}
.ld-chart-wrap{width:100%;position:relative;height:256px;}
.ld-chart-canvas{width:100%;height:100%;cursor:crosshair;display:block;}
.ld-chart-msg{position:absolute;inset:0;display:flex;align-items:center;
  justify-content:center;font-size:12px;color:#93a0ad;text-align:center;
  padding:0 24px;pointer-events:none;}
.ld-chart-msg.err{color:#fda4af;}
.ld-chart-foot{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  border-top:1px solid rgba(226,182,104,.14);background:#131318;}
.ld-foot-cell{padding:8px 12px;text-align:center;}
.ld-foot-cell + .ld-foot-cell{border-left:1px solid rgba(226,182,104,.14);}
.ld-foot-lbl{font-size:9px;color:rgba(255,255,255,.25);text-transform:uppercase;
  letter-spacing:.08em;}
.ld-foot-val{font-size:12px;font-family:'SF Mono',Consolas,monospace;margin-top:2px;}
.ld-foot-val.hi{color:#00c896;}
.ld-foot-val.lo{color:#e3342f;}
.ld-foot-val.rg{color:rgba(255,255,255,.60);}

/* ── Setup card (measured: #131318 sections) ───────────────────────────── */
.ld-setup-card{background:#131318;border:1px solid rgba(226,182,104,.14);
  border-radius:12px;overflow:hidden;}
.ld-setup-top{padding:16px;display:flex;flex-direction:column;gap:12px;
  border-bottom:1px solid rgba(226,182,104,.14);}
.ld-setup-bottom{padding:16px;}
.ld-lbl{font-size:10px;color:rgba(255,255,255,.30);text-transform:uppercase;
  letter-spacing:.08em;display:block;margin-bottom:4px;}
.ld-duration-row{display:flex;align-items:flex-end;gap:12px;}
.ld-duration-row > div:first-child{flex:1;}
.ld-select{width:100%;background:rgba(255,255,255,.04);
  border:1px solid rgba(226,182,104,.16);color:#fff;font-size:13px;
  border-radius:8px;padding:8px 12px;outline:none;font-family:inherit;
  transition:border-color .2s;cursor:pointer;}
.ld-select:focus{border-color:rgba(0,200,150,.40);}
.ld-select option{background:#1a1a2e;}

/* Multi Barrier pill (mirrors second barrier on the other side) */
.ld-multi-btn{display:flex;align-items:center;gap:8px;padding:8px 12px;
  border-radius:8px;font-size:11.5px;font-weight:500;cursor:pointer;
  background:rgba(255,255,255,.03);border:1px solid rgba(226,182,104,.14);
  color:rgba(255,255,255,.40);transition:all .2s;font-family:inherit;white-space:nowrap;}
.ld-multi-btn:hover{color:rgba(255,255,255,.60);border-color:rgba(255,255,255,.15);}
.ld-multi-btn.on{background:rgba(0,200,150,.12);border-color:rgba(0,200,150,.40);
  color:#00c896;}
.ld-mini-track{width:28px;height:14px;border-radius:999px;background:rgba(255,255,255,.10);
  position:relative;transition:all .2s;flex:0 0 auto;}
.ld-multi-btn.on .ld-mini-track{background:rgba(0,200,150,.55);}
.ld-mini-knob{position:absolute;top:2px;left:2px;width:10px;height:10px;
  border-radius:50%;background:rgba(255,255,255,.40);transition:all .2s;}
.ld-multi-btn.on .ld-mini-knob{left:16px;background:#fff;}

/* Barrier mode: Above / Below */
.ld-mode-row{display:flex;gap:6px;}
.ld-mode-btn{flex:1;padding:8px 0;border-radius:8px;font-size:11.5px;font-weight:500;
  cursor:pointer;background:rgba(255,255,255,.03);border:1px solid rgba(226,182,104,.14);
  color:rgba(255,255,255,.40);transition:all .2s;font-family:inherit;}
.ld-mode-btn:hover{color:rgba(255,255,255,.60);}
.ld-mode-btn.active{background:rgba(0,200,150,.15);border-color:rgba(0,200,150,.40);
  color:#00c896;}
.ld-mode-btn.active.below{background:rgba(227,52,47,.14);
  border-color:rgba(227,52,47,.42);color:#f87171;}

/* Barrier offset input + presets (amber accents, measured) */
.ld-offset-input{width:100%;background:rgba(255,255,255,.04);
  border:1px solid rgba(226,182,104,.16);color:#fff;font-size:13px;border-radius:8px;
  padding:8px 12px;outline:none;font-family:'SF Mono',Consolas,monospace;
  transition:border-color .2s;}
.ld-offset-input:focus{border-color:rgba(245,158,11,.40);}
.ld-offset-input.second{margin-top:8px;}
.ld-preset-row{display:flex;gap:6px;margin-top:8px;}
.ld-preset-btn{flex:1;padding:4px 0;border-radius:6px;font-size:10px;font-weight:500;
  cursor:pointer;background:rgba(255,255,255,.03);border:1px solid rgba(226,182,104,.14);
  color:rgba(255,255,255,.40);transition:all .2s;text-transform:capitalize;
  font-family:inherit;}
.ld-preset-btn:hover{border-color:rgba(245,158,11,.30);color:#f59e0b;}
.ld-preset-note{font-size:9.5px;color:rgba(255,255,255,.22);margin-top:6px;line-height:1.5;}

/* Stakes: Touch (green) / No Touch (amber) with steppers */
.ld-stakes{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;margin-bottom:12px;}
.ld-stake-lbl-t{font-size:10px;color:rgba(0,200,150,.70);text-transform:uppercase;
  letter-spacing:.08em;display:block;margin-bottom:4px;}
.ld-stake-lbl-n{font-size:10px;color:rgba(245,158,11,.70);text-transform:uppercase;
  letter-spacing:.08em;display:block;margin-bottom:4px;}
.ld-stake-row{display:flex;align-items:center;gap:4px;}
.ld-step-btn{padding:6px 8px;border-radius:6px;background:rgba(255,255,255,.03);
  border:1px solid rgba(226,182,104,.14);color:rgba(255,255,255,.30);cursor:pointer;
  transition:color .2s;font-size:12px;line-height:1;font-family:inherit;}
.ld-step-btn:hover.minus{color:#e3342f;}
.ld-step-btn:hover.plus{color:#00c896;}
.ld-stake-input{flex:1;min-width:0;background:rgba(255,255,255,.04);color:#fff;
  font-size:13px;border-radius:6px;padding:6px 8px;text-align:center;outline:none;
  font-family:'SF Mono',Consolas,monospace;transition:border-color .2s;}
.ld-stake-input.touch{border:1px solid rgba(0,200,150,.20);}
.ld-stake-input.touch:focus{border-color:rgba(0,200,150,.50);}
.ld-stake-input.notouch{border:1px solid rgba(245,158,11,.20);}
.ld-stake-input.notouch:focus{border-color:rgba(245,158,11,.50);}
/* Per-side on/off */
.ld-side-toggle{margin-top:6px;display:flex;align-items:center;gap:6px;
  font-size:10px;color:rgba(255,255,255,.35);cursor:pointer;user-select:none;}
.ld-side-toggle .ld-mini-track.t-on{background:rgba(0,200,150,.55);}
.ld-side-toggle .ld-mini-track.n-on{background:rgba(245,158,11,.55);}
.ld-side-toggle .ld-mini-track.t-on .ld-mini-knob,
.ld-side-toggle .ld-mini-track.n-on .ld-mini-knob{left:16px;background:#fff;}

/* 4x MODE row (checked = amber, measured) */
.ld-quad-row{display:flex;align-items:center;justify-content:space-between;
  margin-bottom:10px;padding:0 2px;}
.ld-quad-lbl{font-size:10px;font-weight:700;letter-spacing:.06em;
  color:rgba(255,255,255,.30);}
.ld-quad-track{width:32px;height:16px;border-radius:999px;background:rgba(255,255,255,.10);
  position:relative;cursor:pointer;transition:all .2s;}
.ld-quad-track.on{background:#f59e0b;}
.ld-quad-knob{position:absolute;top:2px;left:2px;width:12px;height:12px;
  border-radius:50%;background:#fff;transition:all .2s;}
.ld-quad-track.on .ld-quad-knob{left:18px;}
/* Gold variant of the pill toggle (house-brand — Reinvest identity) */
.ld-gold-track.on{background:#d4af37;box-shadow:0 0 10px rgba(212,175,55,.35);}

/* Profit Reinvest strip (gold identity, matches Trade X's reinvest module) */
.ld-reinvest-strip{margin-bottom:10px;padding:9px 10px;border-radius:9px;
  background:rgba(30,25,12,.55);border:1px solid rgba(212,175,55,.22);}
.ld-reinvest-strip.on{border-color:rgba(212,175,55,.45);
  background:rgba(46,37,14,.6);}
.ld-reinvest-head{display:flex;align-items:center;justify-content:space-between;gap:10px;}
.ld-reinvest-titles{display:flex;flex-direction:column;gap:1px;min-width:0;}
.ld-reinvest-title{font-size:11.5px;font-weight:700;letter-spacing:.02em;color:#f0c75e;}
.ld-reinvest-sub{font-size:9.5px;color:rgba(240,199,94,.5);line-height:1.35;}
.ld-reinvest-body{margin-top:9px;}
.ld-reinvest-splits{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;}
.ld-split-btn{background:rgba(30,25,12,.65);border:1px solid rgba(212,175,55,.30);
  color:rgba(240,199,94,.6);font-size:11px;font-weight:600;font-family:inherit;
  padding:6px 0;border-radius:6px;cursor:pointer;transition:all .18s;text-align:center;}
.ld-split-btn:hover{background:rgba(70,55,20,.55);border-color:rgba(212,175,55,.5);
  color:rgba(245,215,130,.9);}
.ld-split-btn.active{background:rgba(180,131,10,.28);border-color:rgba(240,199,94,.7);
  color:#f0c75e;box-shadow:0 0 8px rgba(212,175,55,.22);}
.ld-reinvest-note{margin-top:8px;font-size:9.5px;line-height:1.5;
  color:rgba(240,199,94,.55);}
/* Honest downside disclosure on the outcomes card while reinvest is ON */
.ld-reinvest-risk{margin-top:8px;padding:7px 9px;border-radius:7px;font-size:10px;
  line-height:1.5;color:rgba(245,215,130,.85);background:rgba(180,131,10,.14);
  border:1px solid rgba(212,175,55,.3);}
.ld-reinvest-risk strong{color:#f0c75e;}

/* Touch / No Touch execution buttons */
.ld-exec-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;margin-bottom:8px;}
.ld-exec-btn{padding:12px 0;border-radius:8px;font-size:13px;font-weight:700;
  cursor:pointer;transition:all .15s;position:relative;font-family:inherit;
  background:rgba(255,255,255,.03);border:1px solid rgba(226,182,104,.13);
  color:rgba(255,255,255,.20);}
.ld-exec-btn.touch.ready{background:rgba(0,200,150,.15);
  border-color:rgba(0,200,150,.40);color:#00c896;}
.ld-exec-btn.touch.ready:hover{background:rgba(0,200,150,.24);}
.ld-exec-btn.notouch.ready{background:rgba(245,158,11,.14);
  border-color:rgba(245,158,11,.40);color:#f59e0b;}
.ld-exec-btn.notouch.ready:hover{background:rgba(245,158,11,.22);}
.ld-exec-btn:disabled{cursor:not-allowed;}
.ld-exec-payout{display:block;font-size:9.5px;font-weight:500;margin-top:2px;
  font-family:'SF Mono',Consolas,monospace;color:rgba(255,255,255,.35);}
.ld-exec-btn.touch.ready .ld-exec-payout{color:rgba(0,200,150,.75);}
.ld-exec-btn.notouch.ready .ld-exec-payout{color:rgba(245,158,11,.75);}

/* Place Both — the house-gold fire button (identity differentiator) */
.ld-both-btn{width:100%;padding:11px 0;border-radius:9px;font-size:12.5px;
  font-weight:800;letter-spacing:.05em;cursor:pointer;transition:all .15s;
  font-family:inherit;color:#0d0d14;
  background:linear-gradient(135deg,#f0c75e,#d4af37 55%,#b4830a);
  border:1px solid rgba(212,175,55,.65);
  box-shadow:0 2px 14px rgba(212,175,55,.28);}
.ld-both-btn:hover:not(:disabled){filter:brightness(1.07);
  box-shadow:0 3px 18px rgba(212,175,55,.4);}
.ld-both-btn:disabled{background:rgba(255,255,255,.02);color:rgba(255,255,255,.15);
  border-color:rgba(226,182,104,.12);box-shadow:none;cursor:not-allowed;}
.ld-side-err{font-size:10px;color:#fda4af;margin-top:6px;line-height:1.5;}
.ld-status-bar{font-size:11px;margin-top:8px;min-height:14px;line-height:1.5;
  color:#93a0ad;}
.ld-status-bar.ok{color:#34d399;}
.ld-status-bar.err{color:#fda4af;}

/* ── Honest round outcomes ─────────────────────────────────────────────── */
.ld-outcomes-card{background:#131318;border:1px solid rgba(226,182,104,.14);
  border-radius:12px;padding:14px 16px;}
.ld-card-title{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:600;
  color:rgba(255,255,255,.70);text-transform:uppercase;letter-spacing:.08em;
  margin-bottom:10px;}
.ld-card-title .gold{color:#f0c75e;}
.ld-outcomes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;}
.ld-outcome{display:flex;flex-direction:column;align-items:center;gap:3px;
  padding:9px 6px;border-radius:8px;border:1px solid rgba(226,182,104,.14);
  background:rgba(255,255,255,.02);text-align:center;min-width:0;}
.ld-outcome.touch{border-color:rgba(0,200,150,.22);}
.ld-outcome.notouch{border-color:rgba(245,158,11,.22);}
.ld-outcome-lbl{font-size:9.5px;color:#94a3b8;white-space:nowrap;}
.ld-outcome-val{font-size:14px;font-weight:700;
  font-family:'SF Mono',Consolas,monospace;color:#e2e8f0;}
.ld-outcome-val.pos{color:#34d399;}
.ld-outcome-val.neg{color:#f87171;}
.ld-outcomes-note{font-size:10px;color:rgba(255,255,255,.30);margin-top:9px;
  line-height:1.55;}

/* ── Market Analysis card (measured) ───────────────────────────────────── */
.ld-analysis-card{background:#131318;border:1px solid rgba(226,182,104,.14);
  border-radius:12px;padding:16px;}
.ld-ana-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:12px;}
.ld-ana-box{background:rgba(255,255,255,.02);border-radius:8px;padding:10px;
  border:1px solid rgba(226,182,104,.13);min-width:0;}
.ld-ana-lbl{font-size:9px;color:rgba(255,255,255,.25);text-transform:uppercase;
  letter-spacing:.08em;margin-bottom:2px;}
.ld-ana-val{font-size:12px;font-weight:700;}
.ld-ana-val.low{color:#00c896;}
.ld-ana-val.medium{color:#f59e0b;}
.ld-ana-val.high{color:#e3342f;}
.ld-ana-sub{font-size:9px;color:rgba(255,255,255,.15);margin-top:2px;
  font-family:'SF Mono',Consolas,monospace;}
.ld-ana-mom{display:flex;align-items:center;gap:4px;font-size:12px;font-weight:700;}
.ld-ana-mom.bull{color:#00c896;}
.ld-ana-mom.bear{color:#e3342f;}
.ld-ana-swing{font-size:12px;font-family:'SF Mono',Consolas,monospace;
  color:rgba(255,255,255,.50);}
.ld-moves-lbl{font-size:9px;color:rgba(255,255,255,.20);text-transform:uppercase;
  letter-spacing:.08em;margin-bottom:6px;}
.ld-moves{display:flex;gap:2px;flex-wrap:wrap;}
.ld-move{width:10px;height:10px;border-radius:2px;}
.ld-move.up{background:rgba(0,200,150,.60);}
.ld-move.down{background:rgba(227,52,47,.60);}
.ld-ana-honesty{font-size:9.5px;color:rgba(255,255,255,.25);margin-top:10px;
  line-height:1.5;}

/* ── Auto Trade card (collapsible, house rails) ────────────────────────── */
.ld-auto-card{background:#131318;border:1px solid rgba(226,182,104,.14);
  border-radius:12px;overflow:hidden;}
.ld-auto-head{display:flex;align-items:center;gap:8px;width:100%;text-align:left;
  padding:12px 16px;background:none;border:none;cursor:pointer;
  font-family:inherit;transition:background .2s;}
.ld-auto-head:hover{background:rgba(255,255,255,.02);}
.ld-auto-head-title{font-size:11px;font-weight:600;color:rgba(255,255,255,.70);
  text-transform:uppercase;letter-spacing:.08em;}
.ld-auto-chevron{margin-left:auto;color:rgba(255,255,255,.20);font-size:11px;
  transition:transform .2s;}
.ld-auto-card.open .ld-auto-chevron{transform:rotate(180deg);}
.ld-auto-live{font-size:9px;font-weight:700;letter-spacing:.08em;color:#0d0d14;
  background:linear-gradient(135deg,#34d399,#10b981);border-radius:999px;
  padding:2px 8px;margin-left:8px;display:none;}
.ld-auto-card.running .ld-auto-live{display:inline-block;}
.ld-auto-body{display:none;padding:0 16px 16px;}
.ld-auto-card.open .ld-auto-body{display:block;}
.ld-auto-rails{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;margin-bottom:12px;}
.ld-auto-input{width:100%;background:rgba(255,255,255,.04);
  border:1px solid rgba(226,182,104,.16);color:#fff;font-size:13px;border-radius:8px;
  padding:8px 12px;outline:none;font-family:'SF Mono',Consolas,monospace;
  transition:border-color .2s;}
.ld-auto-input:focus{border-color:rgba(212,175,55,.45);}
.ld-auto-actions{display:flex;gap:8px;align-items:center;}
.ld-auto-start{flex:1;padding:10px 0;border-radius:8px;font-size:12px;font-weight:700;
  cursor:pointer;font-family:inherit;transition:all .15s;color:#0d0d14;
  background:linear-gradient(135deg,#34d399,#10b981);
  border:1px solid rgba(16,185,129,.6);}
.ld-auto-start:hover:not(:disabled){filter:brightness(1.08);}
.ld-auto-start:disabled{background:rgba(255,255,255,.03);color:rgba(255,255,255,.18);
  border-color:rgba(226,182,104,.13);cursor:not-allowed;}
.ld-auto-stop{flex:1;padding:10px 0;border-radius:8px;font-size:12px;font-weight:700;
  cursor:pointer;font-family:inherit;transition:all .15s;color:#fecdd3;
  background:rgba(227,52,47,.16);border:1px solid rgba(227,52,47,.45);}
.ld-auto-stop:hover:not(:disabled){background:rgba(227,52,47,.26);}
.ld-auto-stop:disabled{opacity:.4;cursor:not-allowed;}
.ld-auto-status{font-size:11px;color:#93a0ad;margin-top:10px;min-height:14px;
  line-height:1.5;}
.ld-auto-status.ok{color:#34d399;}
.ld-auto-status.err{color:#fda4af;}
.ld-auto-note{font-size:9.5px;color:rgba(255,255,255,.25);margin-top:8px;line-height:1.5;}

/* ── History filters (gold identity — scoped class, TX card shell shared) ── */
.ld-filter-btn{flex:1;background:rgba(30,25,12,.65);border:1px solid rgba(212,175,55,.30);
  color:rgba(240,199,94,.60);font-size:10.5px;font-weight:500;font-family:inherit;
  padding:5px 8px;border-radius:6px;cursor:pointer;transition:all .2s;text-align:center;}
.ld-filter-btn:hover{background:rgba(70,55,20,.55);border-color:rgba(212,175,55,.5);
  color:rgba(245,215,130,.9);}
.ld-filter-btn.active{background:rgba(180,131,10,.28);border-color:rgba(240,199,94,.7);
  color:#f0c75e;font-weight:600;
  box-shadow:0 0 14px rgba(212,175,55,.28),inset 0 1px 0 rgba(255,255,255,.07);}
.ld-hist{margin-top:4px;}
.tc-exec-badge.leads{background:rgba(212,175,55,.16);border:1px solid rgba(212,175,55,.4);
  color:#f0c75e;}
.tc-pill.ld-touch{background:rgba(0,200,150,.14);border:1px solid rgba(0,200,150,.4);
  color:#00c896;}
.tc-pill.ld-notouch{background:rgba(245,158,11,.14);border:1px solid rgba(245,158,11,.4);
  color:#f59e0b;}

/* Strategy list row icon */
.strategy-icon-leads{background:linear-gradient(135deg,rgba(212,175,55,.3),rgba(0,200,150,.18));
  border:1px solid rgba(212,175,55,.55);}
.strategy-mark-leads{color:#f0c75e;font-size:15px;font-weight:800;}

@media (max-width:640px){
  .ld-stakes,.ld-auto-rails{grid-template-columns:minmax(0,1fr);}
  .ld-duration-row{flex-direction:column;align-items:stretch;}
  .ld-outcomes,.ld-ana-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .ld-chart-wrap{height:210px;}
}

/* ── HEDGE AUTO — premium full-auto quality hedges ─────────────────────── */
.ld-hedge-card{position:relative;border-radius:14px;padding:16px;
  background:linear-gradient(135deg,rgba(212,175,55,.14),rgba(15,15,24,.96) 55%,rgba(0,200,150,.08));
  border:1px solid rgba(212,175,55,.45);
  box-shadow:0 4px 24px rgba(212,175,55,.14),inset 0 1px 0 rgba(255,255,255,.06);}
.ld-hedge-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;}
.ld-hedge-title-area{display:flex;align-items:flex-start;gap:10px;min-width:0;}
.ld-hedge-bolt{font-size:20px;line-height:1.2;filter:drop-shadow(0 0 6px rgba(240,199,94,.6));}
.ld-hedge-title{font-size:14px;font-weight:800;letter-spacing:.08em;color:#f0c75e;}
.ld-hedge-badge{font-size:8.5px;font-weight:800;letter-spacing:.1em;color:#0d0d14;
  background:linear-gradient(135deg,#f0c75e,#d4af37);border-radius:999px;
  padding:2px 7px;vertical-align:middle;margin-left:6px;}
.ld-hedge-sub{font-size:10.5px;color:#93a0ad;margin-top:4px;line-height:1.5;}
.ld-hedge-right{display:flex;align-items:center;gap:12px;flex:0 0 auto;}
.ld-hedge-rounds{display:flex;flex-direction:column;align-items:center;
  padding:6px 12px;border-radius:11px;
  background:rgba(212,175,55,.10);border:1px solid rgba(212,175,55,.4);}
.ld-hedge-rounds-n{font-size:20px;font-weight:800;line-height:1;
  font-family:'SF Mono',Consolas,monospace;color:#f0c75e;}
.ld-hedge-rounds-lbl{font-size:7.5px;font-weight:800;letter-spacing:.14em;
  color:rgba(240,199,94,.6);margin-top:2px;}
.ld-hedge-toggle{padding:10px 20px;border-radius:11px;font-size:13px;font-weight:800;
  letter-spacing:.06em;cursor:pointer;font-family:inherit;transition:all .2s;
  background:#374151;color:#d1d5db;border:1px solid rgba(226,182,104,.16);}
.ld-hedge-toggle:hover{background:#4b5563;}
.ld-hedge-toggle.on{background:linear-gradient(135deg,#f0c75e,#d4af37 55%,#b4830a);
  color:#0d0d14;border-color:rgba(212,175,55,.7);
  box-shadow:0 2px 16px rgba(212,175,55,.45);}
.ld-hedge-live{display:flex;align-items:center;gap:9px;margin-top:12px;
  padding:9px 12px;border-radius:10px;
  background:rgba(0,200,150,.06);border:1px solid rgba(0,200,150,.25);}
.ld-hedge-state{font-size:9px;font-weight:800;letter-spacing:.1em;color:#0d0d14;
  background:linear-gradient(135deg,#34d399,#10b981);border-radius:999px;padding:3px 9px;}
.ld-hedge-state.placing{background:linear-gradient(135deg,#f0c75e,#d4af37);}
.ld-hedge-state.settling{background:linear-gradient(135deg,#93c5fd,#3b82f6);color:#fff;}
.ld-hedge-state.error{background:linear-gradient(135deg,#fda4af,#ef4444);color:#fff;}
.ld-hedge-radar{width:8px;height:8px;border-radius:50%;background:#34d399;flex:0 0 auto;
  animation:ldHedgePulse 1.4s ease-in-out infinite;}
@keyframes ldHedgePulse{0%,100%{opacity:1;box-shadow:0 0 0 0 rgba(52,211,153,.5);}
  50%{opacity:.5;box-shadow:0 0 0 5px rgba(52,211,153,0);}}
.ld-hedge-msg{font-size:11px;color:#c7d2dc;line-height:1.5;min-width:0;}
.ld-hedge-setup{margin-top:10px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;}
.ld-hedge-cell{background:rgba(255,255,255,.03);border:1px solid rgba(226,182,104,.15);
  border-radius:9px;padding:8px;text-align:center;min-width:0;}
.ld-hedge-cell p{font-size:8.5px;color:rgba(255,255,255,.3);text-transform:uppercase;
  letter-spacing:.08em;margin:0 0 3px;}
.ld-hedge-cell b{font-size:12px;font-family:'SF Mono',Consolas,monospace;color:#e2e8f0;}
.ld-hedge-cell b.pos{color:#34d399;}
.ld-hedge-cell b.neg{color:#f87171;}
.ld-hedge-note{font-size:10px;color:rgba(255,255,255,.32);margin-top:10px;line-height:1.55;}
/* Outcomes card: LOUD truth when no outcome can profit at current quotes */
.ld-outcomes-card.no-profit{border-color:rgba(239,68,68,.5);}
.ld-outcomes-note.warn{color:#fda4af;font-weight:600;}
@media (max-width:640px){.ld-hedge-setup{grid-template-columns:repeat(2,minmax(0,1fr));}}
