/* ============ LIVE LAUNCH RUNTIME STYLES ============ */
.ll-root {
  display: flex; flex-direction: column;
  gap: 12px; min-height: 0;
}
/* Side-by-side split: main content + trades sidebar */
.ll-main-split {
  display: flex;
  flex-direction: row;
  gap: 12px;
  flex: 1;
  min-height: 0;
}
.ll-main-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ll-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px;
  background: linear-gradient(180deg, var(--bg-1), var(--bg-0));
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
}
.ll-gmgn-link {
  cursor: pointer; color: var(--fg-3); display: inline-flex; align-items: center; gap: 2px;
  padding: 1px 5px; border-radius: 4px; border: 1px solid var(--line-2);
  font-size: 9px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  transition: color 0.15s, border-color 0.15s;
}
.ll-gmgn-link:hover { color: var(--accent); border-color: var(--accent); }
.ll-grid {
  display: grid;
  grid-template-columns: var(--ll-col-l, 1.1fr) 6px var(--ll-col-c, 1fr) 6px var(--ll-col-r, 0.95fr);
  gap: 0;
  align-items: stretch;
}
.ll-grid > .ll-col { padding: 0 6px; }
.ll-grid > .ll-col:first-child { padding-left: 0; }
.ll-grid > .ll-col:last-child { padding-right: 0; }
.ll-col-resizer {
  width: 6px;
  cursor: col-resize;
  background: transparent;
  position: relative;
  z-index: 2;
  transition: background 0.12s;
}
.ll-col-resizer::after {
  content: ""; position: absolute; top: 20%; bottom: 20%; left: 50%;
  width: 1px; background: var(--line-1);
  transform: translateX(-50%);
  transition: background 0.12s, width 0.12s;
}
.ll-col-resizer:hover::after,
.ll-col-resizer.dragging::after { background: var(--accent); width: 2px; }
.ll-col { display: flex; flex-direction: column; gap: 12px; min-width: 0; }

.ll-pane {
  background: var(--bg-1);
  border: 1px solid var(--line-1);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  resize: both;
  min-height: 180px;
  min-width: 0;
  max-height: 1400px;
  max-width: 100%;
  position: relative;
}
.ll-pane::after {
  content: "";
  position: absolute;
  right: 3px; bottom: 3px;
  width: 10px; height: 10px;
  pointer-events: none;
  background: linear-gradient(135deg, transparent 0%, transparent 55%, var(--line-3) 55%, var(--line-3) 60%, transparent 60%, transparent 70%, var(--line-3) 70%, var(--line-3) 75%, transparent 75%, transparent 85%, var(--line-3) 85%, var(--line-3) 90%, transparent 90%);
  opacity: 0.7;
}
.ll-pane::-webkit-resizer { background: transparent; }

/* drag handle (top-right corner of pane) */
.ll-drag-handle {
  position: absolute; top: 6px; right: 6px;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  color: var(--fg-4);
  border-radius: 4px;
  cursor: grab;
  z-index: 3;
  transition: background 0.12s, color 0.12s;
}
.ll-drag-handle:hover { background: var(--bg-3); color: var(--fg-0); }
.ll-drag-handle:active { cursor: grabbing; }

/* DnD layout */
.ll-dnd { display: flex; flex-direction: column; gap: 10px; }
.ll-dnd-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 4px 2px;
}
.ll-dnd-bar > *:nth-child(2) { flex: 1; }
.ll-dnd-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: start;
}
@media (max-width: 1200px) {
  .ll-dnd-top { grid-template-columns: 1fr; }
}
@media (max-width: 1100px) {
  .ll-main-split { flex-direction: column; }
  .ll-drawer { box-shadow: 0 -4px 20px oklch(0% 0 0 / 0.15); width: 100% !important; max-height: 400px; }
}
.ll-zone {
  display: flex; flex-direction: column;
  gap: 12px;
  min-height: 180px;
  min-width: 0;
  border-radius: var(--radius);
  transition: background 0.12s, box-shadow 0.12s;
  position: relative;
}
.ll-zone.ll-zone-bottom {
  flex-direction: row;
  overflow-x: auto;
  align-items: stretch;
  min-height: 120px;
  padding: 2px;
}
.ll-zone.ll-zone-bottom > .ll-draggable {
  flex: 0 0 auto;
  min-width: 260px;
  display: flex;
}
.ll-zone.ll-zone-bottom > .ll-draggable > .ll-pane {
  flex: 0 0 auto;
  resize: both;  min-height: 180px;
  width: 320px;
}
.ll-zone.dz-active {
  background: oklch(78% 0.15 var(--accent-h) / 0.04);
  box-shadow: inset 0 0 0 1px oklch(78% 0.15 var(--accent-h) / 0.2);}
.ll-zone-empty {
  flex: 1; min-height: 120px;
  display: grid; place-items: center;
  color: var(--fg-4); font-size: 11px; font-style: italic;
  border: 1px dashed var(--line-2);
  border-radius: var(--radius);
}
.ll-draggable { display: contents; }
.ll-zone:not(.ll-zone-bottom) > .ll-draggable { display: block; min-width: 0; }
.ll-draggable.dragging > .ll-pane { opacity: 0.35; }
.ll-drop-indicator {
  background: var(--accent);
  border-radius: 2px;
  box-shadow: 0 0 8px oklch(78% 0.15 var(--accent-h) / 0.6);
  flex-shrink: 0;
}
.ll-zone:not(.ll-zone-bottom) .ll-drop-indicator { height: 3px; width: 100%; }
.ll-zone.ll-zone-bottom .ll-drop-indicator { width: 3px; min-height: 100%; align-self: stretch; }

/* Priority panel */
.prio-head, .prio-row {
  display: grid;
  grid-template-columns: 36px 24px 48px minmax(160px, 1fr) minmax(200px, 1.2fr) 100px 100px 64px;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line-1);
}
.prio-head {
  font-size: 10px; color: var(--fg-3); letter-spacing: 0.06em;
  text-transform: uppercase; font-family: var(--font-mono);
  background: var(--bg-2);
}
.prio-row { transition: background 0.1s; cursor: grab; }
.prio-row:hover { background: var(--bg-2); }
.prio-row.is-drag { opacity: 0.4; }
.prio-row.is-hover { box-shadow: inset 0 2px 0 var(--accent); }
.prio-row.is-off { opacity: 0.5; }
.prio-row:last-child { border-bottom: 0; }
.prio-row:active { cursor: grabbing; }
.prio-cell { display: flex; align-items: center; gap: 6px; min-width: 0; }
.prio-rank { color: var(--fg-3); justify-content: center; font-family: var(--font-mono); font-size: 11px; }
.prio-grab { color: var(--fg-4); justify-content: center; cursor: grab; }
.prio-name { gap: 8px; }
.prio-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 0 2px oklch(0% 0 0 / 0.4); }
.prio-select {
  height: 26px; padding: 0 8px;
  background: var(--bg-2); border: 1px solid var(--line-2);
  border-radius: 5px; color: var(--fg-1); font-size: 11px;
  font-family: var(--font-sans); cursor: pointer;
}
.prio-select:disabled { opacity: 0.5; cursor: not-allowed; }
.prio-actions { gap: 2px; justify-content: flex-end; }
.prio-actions .btn.icon { width: 22px; height: 22px; padding: 0; justify-content: center; }

/* Dev auto-sell tier table */
.dev-tier-head, .dev-tier-row {
  display: grid;
  grid-template-columns: 36px minmax(220px, 1fr) minmax(220px, 1.4fr) 90px 48px;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  border-bottom: 1px solid var(--line-1);
}
.dev-tier-head {
  font-size: 10px; color: var(--fg-3); letter-spacing: 0.06em;
  text-transform: uppercase; font-family: var(--font-mono);
  background: var(--bg-2);
}
.dev-tier-row { font-size: 12px; }
.dev-pct-bar {
  flex: 1; height: 6px; background: var(--bg-3); border-radius: 3px;
  overflow: hidden; position: relative; min-width: 60px;
}
.dev-pct-bar > div {
  height: 100%; background: linear-gradient(90deg, var(--accent), oklch(74% 0.16 75));
  transition: width 0.2s;
}
.dev-tier-foot {
  display: flex; align-items: center; gap: 8px; padding: 10px 18px;
  background: var(--bg-2); border-bottom: 1px solid var(--line-1);
}
.ll-pane-flush .ll-devsell-wrap > .card { border: 0; border-radius: 0; background: transparent; }
.ll-pane-flush .ll-devsell-wrap > .card .card-header { background: transparent; }

/* Sub-divider inside live panes */
.ll-sub-divider {
  height: 1px; background: var(--line-1);
  margin: 12px -14px 8px;
}
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; }
.ll-stat {
  background: var(--bg-2); border: 1px solid var(--line-1);
  border-radius: 6px; padding: 6px 8px;
  display: flex; flex-direction: column; gap: 2px;
}
.ll-stat-label { font-size: 9px; color: var(--fg-2); text-transform: uppercase; letter-spacing: 0.04em; }
.ll-stat-val { font-size: 13px; font-weight: 500; }
.segmented.sm button { height: 20px; padding: 0 8px; font-size: 10px; }
.ll-monitor {
  background: var(--bg-2); border: 1px solid var(--line-1);
  border-radius: 6px; padding: 8px 10px;
}

/* Hide number input spinners (use plain text-style entry) */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

/* Locked layout */
.ll-dnd.is-locked .ll-draggable { cursor: default; }
.ll-dnd.is-locked .ll-pane-handle { opacity: 0.25; cursor: not-allowed !important; pointer-events: none; }
.ll-dnd.is-locked .ll-zone.ll-zone-bottom > .ll-draggable > .ll-pane { resize: none; }

/* Live-update flash */
.ll-flash { display: inline-block; border-radius: 3px; padding: 0 2px; margin: 0 -2px; transition: background 0.4s, color 0.4s; }
.ll-flash.flash-up { background: oklch(50% 0.18 155 / 0.35); color: oklch(90% 0.18 155) !important; animation: ll-pulse-up 0.6s ease-out; }
.ll-flash.flash-down { background: oklch(50% 0.18 25 / 0.35); color: oklch(90% 0.18 25) !important; animation: ll-pulse-dn 0.6s ease-out; }
@keyframes ll-pulse-up { 0% { background: oklch(60% 0.22 155 / 0.6); } 100% { background: transparent; } }
@keyframes ll-pulse-dn { 0% { background: oklch(60% 0.22 25 / 0.6); } 100% { background: transparent; } }

.ll-live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: oklch(70% 0.22 155);
  box-shadow: 0 0 8px oklch(70% 0.22 155 / 0.8);
  display: inline-block; margin-right: 6px;
  animation: ll-live-pulse 1.6s ease-in-out infinite;
}
@keyframes ll-live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}
.ll-pane-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line-1);
  background: var(--bg-2);
}
.ll-pane-title {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: var(--fg-0);
}

.ll-note {
  padding: 14px; color: var(--fg-3); font-size: 11px;
  background: var(--bg-0); border-bottom: 1px solid var(--line-1);
}
.ll-trade-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 10px 14px;
  border-bottom: 1px solid var(--line-1);
  background: var(--bg-0);
  flex-wrap: wrap;
}
.ll-trade-bar > .row { flex-shrink: 0; }
.ll-trade-bar .input.sm { height: 26px; padding: 0 8px; font-size: 11px; }
.ll-trade-bar .input.sm input { font-size: 11px; }

/* Trader preset buttons + sell unit toggle */
.ll-trade-controls { flex-wrap: wrap; row-gap: 6px; }
.ll-buy-presets {
  display: inline-flex; gap: 2px; padding: 2px;
  background: var(--bg-2); border: 1px solid var(--line-2);
  border-radius: 5px;
}
.ll-buy-preset {
  height: 20px; min-width: 24px; padding: 0 5px;
  background: transparent; border: 0; border-radius: 3px;
  color: var(--fg-2); font-size: 10px;
  font-family: var(--font-mono); cursor: pointer;
  transition: background 0.1s, color 0.1s;
}
.ll-buy-preset:hover { background: var(--bg-3); color: var(--fg-0); }
.ll-buy-preset.editing {
  width: 44px; padding: 0 4px; text-align: center;
  background: var(--bg-0); color: var(--fg-0);
  outline: 1px solid var(--accent);
}
.ll-sell-presets { border-color: oklch(60% 0.18 25 / 0.35); }
.ll-sell-presets .ll-buy-preset { color: oklch(78% 0.12 25 / 0.85); }
.ll-sell-presets .ll-buy-preset:hover { background: oklch(78% 0.18 25 / 0.12); color: oklch(85% 0.14 25); }
.ll-unit-tog {
  height: 18px; padding: 0 5px; margin-left: 2px;
  background: var(--bg-3); border: 0; border-radius: 3px;
  color: var(--fg-2); font-size: 9px; letter-spacing: 0.04em;
  font-family: var(--font-mono); cursor: pointer;
  transition: background 0.1s, color 0.1s;
}
.ll-unit-tog:hover { background: var(--accent); color: var(--bg-0); }

/* account list */
.ll-acct-list {
  max-height: 340px; overflow-y: auto;
}
.ll-acct-head, .ll-acct-row {
  display: grid;
  grid-template-columns: 26px 1fr 74px 70px 74px 86px;
  align-items: center; gap: 8px;
  padding: 0 14px; height: 36px;
}
.ll-acct-head {
  height: 28px;
  font-size: 10px; color: var(--fg-3);
  letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line-1);
  position: sticky; top: 0; z-index: 1;
}
.ll-acct-head .right, .ll-acct-row .right { text-align: right; justify-self: end; }
.ll-acct-row {
  border-bottom: 1px solid rgba(255,255,255,0.03);
  font-size: 12px; cursor: pointer;
  transition: background 0.08s;
}
.ll-acct-row:hover { background: var(--bg-2); }
.ll-acct-row.sel { background: oklch(78% 0.15 var(--accent-h) / 0.06); }
.pos { color: var(--ok); }
.neg { color: var(--err); }

/* mini buy/sell buttons */
.ll-mini {
  width: 22px; height: 22px; display: inline-grid; place-items: center;
  border-radius: 4px; font-size: 10px; font-weight: 700;
  border: 1px solid var(--line-2);
  color: var(--fg-2);
  background: var(--bg-2);
}
.ll-mini:hover { color: var(--fg-0); }
.ll-mini.buy { color: oklch(80% 0.16 155); border-color: oklch(60% 0.16 155 / 0.4); }
.ll-mini.buy:hover { background: oklch(80% 0.16 155 / 0.15); }
.ll-mini.sell { color: oklch(78% 0.18 25); border-color: oklch(60% 0.18 25 / 0.4); }
.ll-mini.sell:hover { background: oklch(78% 0.18 25 / 0.15); }
.ll-mini.sell-all { color: var(--err); border-color: oklch(60% 0.18 25 / 0.4); }
.ll-mini.sell-all:hover { background: var(--err); color: white; border-color: var(--err); }

/* activity feed */
.ll-activity {
  max-height: 380px; overflow-y: auto;
}
.ll-evt {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  font-family: var(--font-mono);
  animation: evtin 0.28s ease;
}
@keyframes evtin { from { background: var(--accent-dim); transform: translateY(-4px); opacity: 0; } to { background: transparent; transform: none; opacity: 1; } }
.ll-evt-time {
  flex-shrink: 0;
  min-width: 58px;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  text-align: left;
}
.ll-evt-ico {
  width: 18px; height: 18px; border-radius: 4px;
  display: inline-grid; place-items: center;
  font-weight: 700; font-size: 11px;
  flex-shrink: 0;
}
.ll-evt-ico.buy { background: oklch(74% 0.14 155 / 0.18); color: oklch(80% 0.16 155); }
.ll-evt-ico.sell { background: oklch(68% 0.2 25 / 0.18); color: oklch(80% 0.18 25); }

/* external holders */
.ll-holders { max-height: 640px; overflow-y: auto; position: relative; }

/* Trader folder strip */
.ll-folder-strip-wrap {
  display: flex; align-items: center;
  border-bottom: 1px solid var(--line-1);
  background: var(--bg-0);
  min-width: 0; max-width: 100%;
  padding-right: 8px;
}
.ll-folder-strip {
  flex: 1 1 0; min-width: 0;
  display: flex; align-items: center; gap: 6px;
  padding: 8px 8px;
  overflow-x: auto; overflow-y: hidden;
  scrollbar-width: thin;
  scroll-behavior: smooth;
}
.ll-folder-strip::-webkit-scrollbar { height: 6px; }
.ll-folder-strip::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 3px; }
.ll-folder-tab {
  display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
  height: 26px; padding: 0 8px 0 10px;
  background: var(--bg-2); border: 1px solid var(--line-1); border-radius: 6px;
  font-size: 11px; color: var(--fg-1); cursor: grab;
  transition: background 0.12s, border-color 0.12s;
  user-select: none;
  touch-action: none;
}
.ll-folder-tab:active { cursor: grabbing; }
.ll-folder-tab:hover { background: var(--bg-3); border-color: var(--line-2); }
.ll-folder-tab.is-active { background: var(--accent-dim); border-color: var(--accent-line); color: var(--accent); }
.ll-folder-tab.is-active .ll-folder-count { color: var(--accent); }
.ll-folder-tab.is-dragging { opacity: 0.4; }
.ll-folder-tab .ll-folder-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.ll-folder-tab .ll-folder-name { white-space: nowrap; }
.ll-folder-tab .ll-folder-count { color: var(--fg-3); font-size: 10px; }
.ll-folder-tab .ll-folder-x {
  width: 14px; height: 14px; padding: 0; margin-left: 2px;
  background: transparent; border: none; color: var(--fg-3);
  border-radius: 3px; cursor: pointer; font-size: 14px; line-height: 1;
  display: grid; place-items: center;
}
.ll-folder-tab .ll-folder-x:hover { background: oklch(28% 0.08 25); color: oklch(85% 0.18 25); }
.ll-folder-add-wrap { position: relative; flex-shrink: 0; }
.ll-folder-arrow {
  flex-shrink: 0; width: 22px; height: 26px; padding: 0;
  background: transparent; border: 1px solid var(--line-1);
  color: var(--fg-2); cursor: pointer; font-size: 16px; line-height: 1;
  border-radius: 5px;
  display: grid; place-items: center;
}
.ll-folder-arrow.left { margin: 0 4px 0 8px; }
.ll-folder-arrow.right { margin: 0 6px 0 4px; }
.ll-folder-arrow:hover { background: var(--bg-2); color: var(--fg-0); }
.ll-folder-add {
  width: 26px; height: 26px; padding: 0;
  background: var(--bg-2); border: 1px dashed var(--line-2); border-radius: 6px;
  color: var(--fg-2); cursor: pointer; font-size: 14px;
}
.ll-folder-add:hover { background: var(--bg-3); border-color: var(--line-3); color: var(--fg-0); }
.ll-folder-add-backdrop { position: fixed; inset: 0; z-index: 10; }
.ll-folder-add-pop {
  position: absolute; top: 32px; left: 0; z-index: 11;
  min-width: 200px; max-height: 280px; overflow-y: auto;
  background: var(--bg-1); border: 1px solid var(--line-2);
  border-radius: 6px; padding: 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}
.ll-folder-add-item {
  display: flex; align-items: center; gap: 8px; width: 100%;
  padding: 6px 10px; border: none; background: transparent;
  color: var(--fg-1); font-size: 11px; text-align: left;
  border-radius: 4px; cursor: pointer;
}
.ll-folder-add-item:hover { background: var(--bg-3); }
.ll-folder-add-empty { padding: 10px; font-size: 11px; color: var(--fg-3); text-align: center; }

.ll-drag-rect {
  position: absolute; pointer-events: none;
  background: oklch(70% 0.18 75 / 0.12);
  border: 1px solid oklch(75% 0.18 75 / 0.7);
  border-radius: 2px;
  z-index: 5;
}
.ll-holders-head, .ll-hold-row {
  display: grid;
  grid-template-columns: 1.3fr 70px 110px 72px 110px 80px;
  align-items: center; gap: 10px;
  padding: 0 14px;
}
.ll-holders-head {
  height: 24px; font-size: 10px; color: var(--fg-3);
  letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--bg-1);
  border-bottom: 1px solid var(--line-1);
  position: sticky; top: 0; z-index: 1;
}
.ll-holders-head .right, .ll-hold-row .right { text-align: right; justify-self: end; }
.ll-sort-h {
  cursor: pointer; user-select: none; display: inline-flex; align-items: center; gap: 4px;
  transition: color 0.15s;
}
.ll-sort-h:hover { color: var(--fg-1); }
.ll-sort-h.active { color: var(--accent); }
.ll-sort-h.right { justify-self: end; }
.ll-sort-ind { font-size: 8px; opacity: 0.4; }
.ll-sort-h.active .ll-sort-ind { opacity: 1; }
.ll-hold-row {
  min-height: 22px;
  padding-top: 2px; padding-bottom: 2px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  font-size: 11px;
  transition: background 0.08s;
}
.ll-hold-row:hover { background: var(--bg-2); }

/* Pump-PnL strip below holders header */
.ll-pump-strip {
  display: flex; align-items: center; gap: 14px;
  padding: 8px 14px;
  background: oklch(20% 0.015 155 / 0.35);
  border-bottom: 1px solid var(--line-1);
}
.ll-pump-label {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fg-3); font-weight: 600;
  white-space: nowrap;
}
.ll-pump-cells { display: flex; gap: 18px; flex: 1; }
.ll-pump-cell { display: inline-flex; align-items: baseline; gap: 6px; }
.ll-pump-pct {
  background: var(--bg-3); border: 1px dashed var(--line-2);
  color: var(--fg-1); font-family: var(--font-mono);
  font-size: 11px; font-weight: 600;
  padding: 2px 7px; border-radius: 4px;
  cursor: pointer; transition: background 0.1s, border-color 0.1s, color 0.1s;
  min-width: 44px;
}
.ll-pump-pct:hover { background: oklch(28% 0.05 155); border-color: oklch(50% 0.15 155); color: oklch(80% 0.15 155); border-style: solid; }
.ll-pump-input {
  background: var(--bg-3); border: 1px solid var(--accent);
  color: var(--fg-0); font-family: var(--font-mono);
  font-size: 11px; font-weight: 600;
  padding: 2px 6px; border-radius: 4px;
  width: 56px; outline: none;
}
.ll-pump-val { font-size: 12px; font-weight: 600; }

/* Trader compact rows — reuse holders styles with checkbox + quick columns */
.ll-holders-head-tr, .ll-hold-row-tr {
  grid-template-columns: 24px 1.4fr 96px 86px 72px 96px 96px;
}
.ll-hold-row-tr { cursor: pointer; }
.ll-hold-row-tr.sel { background: oklch(22% 0.03 260); }
.ll-hold-row-tr.sel:hover { background: oklch(25% 0.04 260); }

/* vitals */
.ll-vitals-split { padding: 14px; border-bottom: 1px solid var(--line-1); }
.ll-split-bar {
  display: flex; height: 26px; border-radius: 6px; overflow: hidden;
  background: var(--bg-3);
  font-family: var(--font-mono); font-size: 10px;
}
.ll-split-us, .ll-split-pool, .ll-split-ext {
  display: flex; align-items: center; padding: 0 10px;
  white-space: nowrap;
  transition: width 0.4s ease;
  color: #16140a;
}
.ll-split-us { background: var(--accent); }
.ll-split-pool {
  background: oklch(50% 0.02 240);
  color: var(--fg-2);
  justify-content: center;
}
.ll-split-ext {
  background: oklch(40% 0.04 260);
  color: var(--fg-0);
  justify-content: flex-end;
}
.ll-vit-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line-1);
  border-bottom: 1px solid var(--line-1);
}
.ll-vit { padding: 12px 14px; background: var(--bg-1); display: flex; flex-direction: column; gap: 2px; }
.ll-vit-ext { grid-column: span 1; }
.ll-ext-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 2px; }
.ll-ext-cell { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ll-ext-cell-label { font-size: 9px; color: var(--fg-4); letter-spacing: 0.06em; text-transform: uppercase; font-family: var(--font-mono); }
.ll-vit-label { font-size: 10px; color: var(--fg-3); letter-spacing: 0.04em; text-transform: uppercase; }
.ll-vit-v { font-size: 18px; font-weight: 600; font-family: var(--font-mono); color: var(--fg-0); letter-spacing: -0.01em; }
.ll-vit-sub { font-size: 10px; color: var(--fg-3); font-family: var(--font-mono); }
.ll-mig-bar { margin-top: 6px; height: 3px; background: var(--bg-3); border-radius: 2px; overflow: hidden; }
.ll-mig-bar > div { height: 100%; background: var(--accent); }

.ll-eyes { padding: 12px 14px; }
/* Tx window picker */
.ll-tx-wins {
  display: inline-flex; gap: 2px; padding: 2px;
  background: var(--bg-3); border-radius: 5px;
}
.ll-tx-win {
  padding: 2px 6px; font-size: 9px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  background: transparent; border: 0; border-radius: 3px;
  color: var(--fg-3); cursor: pointer;
  transition: background 0.1s, color 0.1s;
  font-family: var(--font-mono);
}
.ll-tx-win:hover { color: var(--fg-1); }
.ll-tx-win.active {
  background: oklch(45% 0.15 85 / 0.3);
  color: var(--accent);
}
.ll-eyes-row {
  display: grid; grid-template-columns: 1fr auto; gap: 16px;
  align-items: end;
}
.ll-eyes-group { min-width: 0; }

/* Hold-to-Fire Bundle Sell button */
.ll-bundle-btn {
  position: relative; overflow: hidden;
  min-width: 168px; min-height: 60px;
  padding: 10px 14px;
  display: flex; flex-direction: column; gap: 3px;
  align-items: flex-start; justify-content: center;
  background: linear-gradient(180deg, oklch(22% 0.02 40), oklch(16% 0.015 40));
  border: 1px solid oklch(45% 0.18 25 / 0.45);
  border-radius: 8px;
  color: var(--fg-1);
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.08s;
  user-select: none; -webkit-user-select: none;
}
.ll-bundle-btn:hover { border-color: oklch(55% 0.2 25 / 0.7); }
.ll-bundle-btn.arming {
  border-color: oklch(65% 0.22 25);
  box-shadow: 0 0 0 2px oklch(65% 0.22 25 / 0.2), 0 0 24px oklch(55% 0.22 25 / 0.35);
  transform: scale(0.985);
}
.ll-bundle-btn.armed {
  border-color: oklch(65% 0.22 25);
  background: linear-gradient(180deg, oklch(35% 0.18 25 / 0.25), oklch(25% 0.1 25 / 0.2));
  box-shadow: 0 0 0 2px oklch(65% 0.22 25 / 0.35), 0 0 28px oklch(55% 0.22 25 / 0.45);
  animation: ll-bundle-armed 1.8s ease-in-out infinite;
}
@keyframes ll-bundle-armed {
  0%, 100% { box-shadow: 0 0 0 2px oklch(65% 0.22 25 / 0.35), 0 0 20px oklch(55% 0.22 25 / 0.3); }
  50% { box-shadow: 0 0 0 3px oklch(65% 0.22 25 / 0.5), 0 0 32px oklch(55% 0.22 25 / 0.6); }
}
.ll-bundle-fill {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, oklch(55% 0.22 25 / 0.85), oklch(65% 0.22 25 / 0.6));
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.06s linear;
  pointer-events: none;
}
.ll-bundle-btn.armed .ll-bundle-fill {
  background: linear-gradient(90deg, oklch(60% 0.22 25 / 0.95), oklch(70% 0.22 25 / 0.7));
}
.ll-bundle-label {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.04em;
  color: oklch(92% 0.1 25);
  text-transform: uppercase;
}
.ll-bundle-btn.armed .ll-bundle-label { color: oklch(98% 0 0); }
.ll-bundle-sub {
  position: relative; z-index: 1;
  font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase;
  color: oklch(70% 0.06 25);
}
.ll-bundle-btn.armed .ll-bundle-sub { color: oklch(92% 0.08 25); }
.ll-eye {
  display: inline-flex; flex-direction: column; gap: 2px;
  padding: 6px 10px;
  border: 1px solid var(--line-2); border-radius: 6px;
  background: var(--bg-2);
}
.ll-eye-name { font-size: 10px; color: var(--fg-3); font-weight: 500; }
.ll-eye-v { font-size: 12px; color: var(--fg-0); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.ll-eye-org { font-size: 10px; color: var(--fg-3); font-weight: 400; }

/* automation */
.ll-auto-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 10px; padding: 12px;
}
.ll-auto-card {
  background: var(--bg-2);
  border: 1px solid var(--line-1);
  border-radius: 8px;
  overflow: hidden;
}
.ll-auto-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line-1);
}
.ll-auto-title { font-size: 12px; font-weight: 600; color: var(--fg-0); }
.ll-auto-body { padding: 12px; }
.ll-rule-label { font-size: 11px; color: var(--fg-2); margin-bottom: 6px; font-weight: 500; }
.ll-auto-body .input.sm { height: 26px; padding: 0 8px; font-size: 11px; }

.ll-bundle-bar {
  margin: 0 12px 12px; padding: 12px 14px;
  background: linear-gradient(90deg, oklch(24% 0.06 25), oklch(18% 0.04 25));
  border: 1px solid oklch(45% 0.15 25 / 0.5);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}

/* toggle */
.ll-toggle {
  width: 30px; height: 18px; border-radius: 9px;
  background: var(--bg-4);
  border: 1px solid var(--line-2);
  position: relative;
  transition: background 0.15s;
  cursor: pointer;
  flex-shrink: 0;
}
.ll-toggle[data-on="true"] { background: var(--accent); border-color: var(--accent); }
.ll-toggle-knob {
  position: absolute; top: 1px; left: 1px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--fg-0);
  transition: left 0.15s;
}
.ll-toggle[data-on="true"] .ll-toggle-knob { left: 13px; background: #16140a; }

/* platform weights range slider */
.ll-range {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: var(--line-2);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}
.ll-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  border: none;
}
.ll-range::-moz-range-thumb {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  border: none;
}

/* ---- Trades drawer ---- */
.ll-drawer {
  background: var(--bg-1);
  border: 1px solid var(--line-1);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  box-shadow: -4px 0 20px oklch(0% 0 0 / 0.15);
  align-self: stretch;
  transition: width 0.2s ease;
}
.ll-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px 0 20px;
  height: 36px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line-1);
  flex-shrink: 0;
}
.ll-drawer-tabs {
  display: flex;
  gap: 2px;
}
.ll-drawer-tab {
  height: 26px;
  padding: 0 10px;
  background: transparent;
  border: none;
  border-radius: 4px;
  color: var(--fg-3);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.1s, color 0.1s;
}
.ll-drawer-tab:hover { color: var(--fg-1); background: var(--bg-3); }
.ll-drawer-tab.active {
  background: oklch(78% 0.15 var(--accent-h) / 0.15);
  color: var(--accent);
}
.ll-drawer-resize {
  width: 5px;
  cursor: ew-resize;
  background: transparent;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 3;
  flex-shrink: 0;
}
.ll-drawer-resize::after {
  content: "";
  position: absolute;
  top: 35%; bottom: 35%;
  left: 1px;
  width: 3px;
  background: var(--line-2);
  border-radius: 2px;
  transition: background 0.12s;
}
.ll-drawer-resize:hover::after { background: var(--accent); }
.ll-drawer-body {
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}
.ll-drawer-filter {
  display: inline-flex;
  gap: 1px;
  padding: 2px;
  background: var(--bg-3);
  border-radius: 5px;
}
.ll-drawer-filter button {
  padding: 2px 7px;
  font-size: 9px;
  font-weight: 600;
  background: transparent;
  border: 0;
  border-radius: 3px;
  color: var(--fg-3);
  cursor: pointer;
  transition: background 0.1s, color 0.1s;
}
.ll-drawer-filter button:hover { color: var(--fg-1); }
.ll-drawer-filter button.active {
  background: oklch(78% 0.15 var(--accent-h) / 0.15);
  color: var(--accent);
}

/* Trades table */
.ll-drawer-thead, .ll-drawer-row {
  display: grid;
  grid-template-columns: 72px 44px 76px 100px 86px 56px 1fr;
  align-items: center;
  gap: 6px;
  padding: 0 14px 0 20px;
  font-family: var(--font-mono);
}
.ll-drawer-thead {
  height: 26px;
  font-size: 9px;
  color: var(--fg-4);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--bg-1);
  border-bottom: 1px solid var(--line-1);
  position: sticky;
  top: 0;
  z-index: 1;
}
.ll-drawer-row {
  min-height: 30px;
  padding-top: 5px;
  padding-bottom: 5px;
  border-bottom: 1px solid oklch(50% 0 0 / 0.06);
  font-size: 11px;
  animation: evtin 0.25s ease;
}
@keyframes evtin {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ll-drawer-row.buy  { background: oklch(74% 0.14 155 / 0.04); }
.ll-drawer-row.sell { background: oklch(68% 0.2 25 / 0.04); }
.ll-drawer-row.ext {
  border-left: 2px solid oklch(78% 0.16 85 / 0.7);
  padding-left: 12px;
}
.ll-drawer-row:hover { background: var(--bg-2); }
.ll-drawer-type {
  font-weight: 700;
  font-size: 10px;
  text-transform: uppercase;
}
.ll-drawer-type.buy  { color: oklch(80% 0.16 155); }
.ll-drawer-type.sell { color: oklch(80% 0.18 25); }
.ll-drawer-addr {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  color: var(--fg-2);
  transition: color 0.1s;
}
.ll-drawer-addr:hover { color: var(--accent); }
.ll-drawer-sig {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  cursor: pointer;
  color: var(--fg-4);
  font-size: 9px;
  margin-left: 4px;
  opacity: 0;
  transition: opacity 0.12s, color 0.12s;
}
.ll-drawer-row:hover .ll-drawer-sig { opacity: 1; }
.ll-drawer-sig:hover { color: var(--accent); }
.ll-drawer-empty {
  padding: 30px 14px;
  text-align: center;
  color: var(--fg-4);
  font-size: 11px;
}

/* Holders tab in drawer */
.ll-drawer-h-thead, .ll-drawer-h-row {
  display: grid;
  grid-template-columns: 40px 1fr 90px 90px;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  font-family: var(--font-mono);
}
.ll-drawer-h-thead {
  height: 26px;
  font-size: 9px;
  color: var(--fg-4);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--bg-1);
  border-bottom: 1px solid var(--line-1);
  position: sticky;
  top: 0;
  z-index: 1;
}
.ll-drawer-h-row {
  min-height: 28px;
  padding-top: 4px;
  padding-bottom: 4px;
  border-bottom: 1px solid oklch(50% 0 0 / 0.06);
  font-size: 11px;
}
.ll-drawer-h-row:hover { background: var(--bg-2); }
.ll-drawer-tag {
  display: inline-block;
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-left: 4px;
}
.ll-drawer-tag.creator { background: oklch(65% 0.18 290 / 0.2); color: oklch(80% 0.18 290); }
.ll-drawer-tag.sniper  { background: oklch(65% 0.18 25 / 0.2);  color: oklch(80% 0.18 25); }
.ll-drawer-tag.bundler { background: oklch(65% 0.18 50 / 0.2);  color: oklch(80% 0.18 50); }
.ll-drawer-tag.insider { background: oklch(65% 0.18 330 / 0.2); color: oklch(80% 0.18 330); }
