:root {
  --bg: #07090d; --bg2: #0c1016; --card: #11161e; --card2: #161c26; --line: #222a36; --line2: #2d3746;
  --text: #e8edf4; --muted: #8b97a8; --dim: #5d6878;
  --accent: #19d38a; --accent2: #0fb8c9; --accent-ink: #04150d;
  --red: #ff5c6c; --amber: #ffb547; --blue: #5aa2ff;
  --radius: 14px; --shadow: 0 10px 40px rgba(0,0,0,.45);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; }
body { min-height: 100vh; font-size: 15px; line-height: 1.55; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); } .dim { color: var(--dim); } .small { font-size: 13px; }
.num { font-variant-numeric: tabular-nums; }
.up { color: var(--accent); } .down { color: var(--red); }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(7,9,13,.82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 18px; height: 64px; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 18px; color: var(--text); letter-spacing: -.02em; }
.logo:hover { text-decoration: none; }
.logo-mark { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, var(--accent), var(--accent2)); display: grid; place-items: center; color: var(--accent-ink); font-size: 15px; font-weight: 900; }
.nav-links { display: flex; gap: 4px; margin-left: 12px; }
.nav-links a { color: var(--muted); padding: 8px 12px; border-radius: 9px; font-weight: 500; font-size: 14px; }
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--card); text-decoration: none; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang button { border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; cursor: pointer; }
.lang button.on { background: var(--text); color: var(--bg); }
.btn.menu-btn { display: none; }

/* buttons & inputs */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line2); background: var(--card2); color: var(--text);
  font: inherit; font-weight: 600; font-size: 14px; padding: 10px 16px; border-radius: 10px; cursor: pointer; transition: transform .08s, background .15s, border-color .15s; white-space: nowrap; }
.btn:hover { border-color: var(--dim); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.primary { background: linear-gradient(135deg, var(--accent), #14c07c); border-color: transparent; color: var(--accent-ink); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.danger { background: transparent; border-color: rgba(255,92,108,.4); color: var(--red); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn.ghost:hover { color: var(--text); background: var(--card); }
.btn.lg { padding: 14px 22px; font-size: 16px; border-radius: 12px; }
.btn.sm { padding: 6px 10px; font-size: 13px; border-radius: 8px; }
.btn.block { width: 100%; }
label { display: block; font-size: 13px; color: var(--muted); font-weight: 500; margin: 0 0 6px; }
input, select { width: 100%; background: var(--bg2); color: var(--text); border: 1px solid var(--line2); border-radius: 10px; padding: 11px 13px; font: inherit; font-size: 15px; outline: none; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(25,211,138,.15); }
input[type=checkbox] { width: auto; accent-color: var(--accent); }
.field { margin-bottom: 14px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.row { display: flex; gap: 10px; align-items: center; }
.row.wrap-ok { flex-wrap: wrap; }
.spacer { flex: 1; }

/* cards */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card h3 { font-size: 16px; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--card2); border: 1px solid var(--line2); color: var(--muted); }
.pill.green { color: var(--accent); border-color: rgba(25,211,138,.35); background: rgba(25,211,138,.08); }
.pill.red { color: var(--red); border-color: rgba(255,92,108,.35); background: rgba(255,92,108,.08); }
.pill.amber { color: var(--amber); border-color: rgba(255,181,71,.35); background: rgba(255,181,71,.08); }
.pill.blue { color: var(--blue); border-color: rgba(90,162,255,.35); background: rgba(90,162,255,.08); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.dot.live { animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .3; } }

/* landing */
.hero { position: relative; padding: 90px 0 70px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: -40% -10% auto; height: 720px; background: radial-gradient(closest-side, rgba(25,211,138,.18), transparent 70%), radial-gradient(closest-side at 70% 40%, rgba(15,184,201,.14), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5.2vw, 60px); font-weight: 800; }
.hero h1 em { font-style: normal; background: linear-gradient(135deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 560px; margin: 0 0 28px; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.trust { margin-top: 18px; font-size: 13px; color: var(--dim); }
.demo { background: linear-gradient(180deg, var(--card2), var(--card)); border: 1px solid var(--line2); border-radius: 20px; padding: 22px; box-shadow: var(--shadow); }
.demo .ticker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.tick { background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.tick b { display: block; font-size: 13px; color: var(--muted); font-weight: 600; }
.tick span { font-size: 17px; font-weight: 700; }
.parsed { margin-top: 14px; background: var(--bg2); border: 1px dashed var(--line2); border-radius: 12px; padding: 14px; min-height: 58px; font-size: 14px; }
.parsed .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
section.block { padding: 70px 0; border-top: 1px solid var(--line); }
section.block h2 { font-size: clamp(28px, 3.4vw, 40px); text-align: center; margin-bottom: 40px; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature .ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(25,211,138,.1); color: var(--accent); font-size: 20px; margin-bottom: 14px; }
.feature h4 { margin: 0 0 6px; font-size: 16px; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.step { position: relative; padding-left: 58px; }
.step::before { counter-increment: s; content: counter(s); position: absolute; left: 20px; top: 18px; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 800; display: grid; place-items: center; font-size: 14px; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
th { color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
tr.me td { background: rgba(25,211,138,.06); font-weight: 700; }
.table-wrap { overflow-x: auto; }

/* pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 820px; margin: 0 auto; }
.plan { padding: 28px; }
.plan.pro { border-color: rgba(25,211,138,.5); box-shadow: 0 0 0 1px rgba(25,211,138,.25), var(--shadow); position: relative; }
.plan .price { font-size: 46px; font-weight: 800; letter-spacing: -.03em; }
.plan .price small { font-size: 16px; color: var(--muted); font-weight: 500; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 24px; }
.plan li { padding: 7px 0 7px 26px; position: relative; font-size: 14px; }
.plan li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.faq { max-width: 760px; margin: 50px auto 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { color: var(--muted); margin: 10px 0 0; }

/* auth */
.auth { max-width: 420px; margin: 60px auto; }
.auth .card { padding: 30px; }
.err { background: rgba(255,92,108,.1); border: 1px solid rgba(255,92,108,.35); color: #ffb3bb; padding: 10px 12px; border-radius: 10px; font-size: 14px; margin-bottom: 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); margin: 6px 0 18px; }
.check input { margin-top: 3px; }

/* app */
.page { padding: 28px 0 60px; }
.page-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; flex-wrap: wrap; }
.page-head h1 { font-size: 26px; margin: 0; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.kpi .label { font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.kpi .value { font-size: 26px; font-weight: 800; margin-top: 6px; letter-spacing: -.02em; }
.dash { display: grid; grid-template-columns: 1.35fr 1fr; gap: 18px; }
.stack { display: grid; gap: 18px; align-content: start; }
.kill { display: flex; align-items: center; gap: 14px; }
.kill.on { border-color: rgba(255,92,108,.5); background: rgba(255,92,108,.06); }
.writer { display: flex; gap: 8px; }
.tpls { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.rule { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.rule:last-child { border-bottom: 0; }
.rule .desc { flex: 1; min-width: 0; }
.rule .desc b { display: block; font-size: 14px; }
.rule .desc span { font-size: 12px; color: var(--dim); }
.switch { position: relative; width: 40px; height: 23px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; background: var(--line2); border-radius: 999px; cursor: pointer; transition: .2s; }
.switch span::before { content: ''; position: absolute; width: 17px; height: 17px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .2s; }
.switch input:checked + span { background: var(--accent); }
.switch input:checked + span::before { transform: translateX(17px); }
.act { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.act:last-child { border-bottom: 0; }
.act .t { color: var(--dim); font-size: 12px; white-space: nowrap; }
.empty { color: var(--dim); font-size: 14px; padding: 18px 0; text-align: center; }
.list-scroll { max-height: 380px; overflow-y: auto; }
.brokers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; }
.broker h4 { margin: 0 0 6px; font-size: 16px; display: flex; gap: 8px; align-items: center; }
.broker p { color: var(--muted); font-size: 14px; margin: 0 0 14px; }
.banner { padding: 12px 16px; border-radius: 12px; margin-bottom: 18px; font-size: 14px; display: flex; gap: 12px; align-items: center; }
.banner.green { background: rgba(25,211,138,.08); border: 1px solid rgba(25,211,138,.35); }
.banner.amber { background: rgba(255,181,71,.08); border: 1px solid rgba(255,181,71,.35); }
.settings { display: grid; gap: 18px; max-width: 720px; }
.legal { max-width: 780px; }
.legal h2 { font-size: 18px; margin-top: 26px; }
.legal p { color: var(--muted); }


/* bot */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; border: 1px solid var(--line2); background: var(--bg2); color: var(--text); font: inherit; font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 999px; cursor: pointer; transition: .15s; margin: 0; }
.chip:hover { border-color: var(--dim); }
.chip.on { background: rgba(25,211,138,.12); border-color: var(--accent); color: var(--accent); }
.chip:disabled { opacity: .45; cursor: not-allowed; }
.chip-input { width: 110px; border-radius: 999px; padding: 8px 14px; font-size: 14px; }
.bot { padding: 24px; }
.bot.is-on { border-color: rgba(25,211,138,.45); box-shadow: 0 0 0 1px rgba(25,211,138,.2), 0 0 60px rgba(25,211,138,.08); }
.bot-top { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; }
.power { width: 104px; height: 104px; border-radius: 50%; border: 2px solid var(--line2); background: radial-gradient(circle at 50% 35%, #1c2430, #0d1117); color: var(--muted); font: inherit; font-size: 22px; font-weight: 900; letter-spacing: .06em; cursor: pointer; transition: .2s; }
.power:hover { border-color: var(--dim); transform: scale(1.03); }
.power.on { border-color: var(--accent); color: var(--accent-ink); background: radial-gradient(circle at 50% 35%, #3bf0a8, var(--accent)); box-shadow: 0 0 0 8px rgba(25,211,138,.12), 0 0 40px rgba(25,211,138,.35); }
.bot-kpis { display: grid; grid-template-columns: repeat(4, auto); gap: 22px; }
.bot-kpis span { display: block; font-size: 11px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.bot-kpis b { font-size: 20px; }
.bot-settings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 22px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.signals .sig { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.signals .sig:last-child { border-bottom: 0; }
.signals .sig b { min-width: 48px; }
.bar { width: 70px; height: 6px; border-radius: 99px; background: var(--line2); overflow: hidden; flex: none; }
.bar i { display: block; height: 100%; background: var(--dim); border-radius: 99px; }
.bar i.buy { background: linear-gradient(90deg, var(--accent2), var(--accent)); }
details.advanced summary { cursor: pointer; font-weight: 600; color: var(--muted); }
details.advanced[open] summary { color: var(--text); }
details.advanced h3 { font-size: 15px; margin: 0 0 12px; display: flex; gap: 8px; align-items: center; }
.shake { animation: shake .4s; color: var(--amber); }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
@media (max-width: 960px) {
  .bot-top { grid-template-columns: auto 1fr; }
  .bot-kpis { grid-column: 1 / -1; grid-template-columns: repeat(2, 1fr); }
  .bot-settings { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .bot { padding: 18px; }
  .power { width: 84px; height: 84px; font-size: 18px; }
  .bot-settings { grid-template-columns: minmax(0, 1fr); }
  .features { grid-template-columns: 1fr; }
}


/* swipe-to-power */
.swipe { --sw: 0%; position: relative; height: 76px; margin-top: 20px; border-radius: 999px; background: linear-gradient(180deg, #0b0f15, #111823); border: 1px solid var(--line2); overflow: hidden; user-select: none; -webkit-user-select: none; }
.swipe-fill { position: absolute; inset: 0; width: calc(var(--sw) + 76px); background: linear-gradient(90deg, rgba(25,211,138,.05), rgba(25,211,138,.35)); border-radius: 999px; transition: width .25s; }
.swipe.on .swipe-fill { width: 100%; background: linear-gradient(90deg, rgba(25,211,138,.25), rgba(15,184,201,.35)); }
.swipe-text { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 700; letter-spacing: .02em; color: var(--muted); pointer-events: none;
  background: linear-gradient(90deg, var(--muted) 0%, #fff 50%, var(--muted) 100%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 2.4s linear infinite; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.swipe .power { position: absolute; top: 5px; left: 4px; width: 66px; height: 66px; font-size: 15px; touch-action: none; cursor: grab; transition: left .3s cubic-bezier(.2,.9,.3,1.2), background .3s, box-shadow .3s; z-index: 2; }
.swipe .power:active { cursor: grabbing; }
.swipe.on .power { left: calc(100% - 70px); }
/* sliders */
.sl-head { display: flex; align-items: baseline; justify-content: space-between; }
.sl-val { font-size: 20px; color: var(--accent); text-shadow: 0 0 18px rgba(25,211,138,.35); }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 10px; border-radius: 99px; padding: 0; border: 0; margin: 10px 0 4px; outline: none; touch-action: pan-y;
  background: linear-gradient(90deg, var(--accent2), var(--accent) var(--p), var(--line2) var(--p)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.04); }
.range:disabled { opacity: .45; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); box-shadow: 0 0 0 6px rgba(25,211,138,.15), 0 4px 14px rgba(0,0,0,.5); cursor: grab; }
.range::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); box-shadow: 0 0 0 6px rgba(25,211,138,.15); cursor: grab; }
.range:active::-webkit-slider-thumb { transform: scale(1.12); }
.sl-ends { display: flex; justify-content: space-between; font-size: 11px; color: var(--dim); }
.snd { font-size: 16px; padding: 6px 8px; }
.snd.muted-snd { opacity: .55; }
/* public live demo */
.live-demo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.demo-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.demo-kpis div { background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.demo-kpis span { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.demo-kpis b { font-size: 20px; }
@media (max-width: 960px) { .live-demo { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .demo-kpis b { font-size: 16px; } .swipe { height: 68px; } .swipe .power { width: 58px; height: 58px; } .swipe.on .power { left: calc(100% - 62px); } .snd { padding: 6px 6px; } }

.brokers { grid-template-columns: repeat(4, 1fr); }
.steps-list { margin: 0 0 16px; padding-left: 20px; color: var(--muted); font-size: 14px; }
.steps-list li { margin: 4px 0; }
textarea { width: 100%; background: var(--bg2); color: var(--text); border: 1px solid var(--line2); border-radius: 10px; padding: 11px 13px; font: 13px ui-monospace, monospace; resize: vertical; outline: none; }
textarea:focus { border-color: var(--accent); }
@media (max-width: 960px) { .brokers { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .brokers { grid-template-columns: 1fr; } }
.how-list { display: grid; gap: 12px; }
.how-step { display: flex; gap: 16px; align-items: flex-start; }
.how-step .ic { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(25,211,138,.1); font-size: 22px; }
.how-step h3 { margin: 0 0 4px; font-size: 16px; }
.how-step p { margin: 0; color: var(--muted); font-size: 14px; }
/* feedback: glow instead of sound */
.fx-pulse { animation: fxPulse .45s ease-out; }
@keyframes fxPulse { 0% { box-shadow: 0 0 0 0 rgba(25,211,138,.55); } 100% { box-shadow: 0 0 0 14px rgba(25,211,138,0); } }
.fx-flash { animation: fxFlash .9s ease-out; }
@keyframes fxFlash { 0% { box-shadow: 0 0 0 2px rgba(25,211,138,.9), 0 0 80px rgba(25,211,138,.45); } 100% { box-shadow: 0 0 0 1px rgba(25,211,138,.2), 0 0 60px rgba(25,211,138,.08); } }
.sl.locked .range { filter: grayscale(1); }
.lock-note { color: var(--amber); font-size: 11px; }
.sig { transition: background .6s; border-radius: 8px; }
.sig.tick-up { animation: tickUp 1.2s ease-out; }
.sig.tick-down { animation: tickDown 1.2s ease-out; }
@keyframes tickUp { 0% { background: rgba(25,211,138,.18); } 100% { background: transparent; } }
@keyframes tickDown { 0% { background: rgba(255,92,108,.16); } 100% { background: transparent; } }
.sug-row { display: flex; flex-wrap: wrap; gap: 6px; min-height: 28px; }
.sug { font-size: 12.5px; padding: 5px 10px; border-radius: 999px; background: rgba(25,211,138,.1); border: 1px solid rgba(25,211,138,.35); color: var(--accent); }
.news-item { display: grid; gap: 4px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.news-item:last-child { border-bottom: 0; }
.news-item a { color: var(--text); }
.news-item .t { color: var(--dim); font-size: 12px; }
.news-item .pill { justify-self: start; margin-right: 4px; }
/* finer look */
body { letter-spacing: -0.005em; }
.card { box-shadow: 0 1px 0 rgba(255,255,255,.03) inset; }
.hero h1 { font-weight: 750; }
.btn { font-weight: 600; letter-spacing: .01em; }
.kpi .value, .bot-kpis b { font-weight: 700; }
/* footer & toast */
footer { border-top: 1px solid var(--line); padding: 34px 0 44px; color: var(--dim); font-size: 12.5px; }
footer .links { display: flex; gap: 18px; margin-bottom: 12px; }
footer .links a { color: var(--muted); }
#toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(30px); opacity: 0; background: var(--card2); border: 1px solid var(--line2); padding: 12px 18px; border-radius: 12px; font-size: 14px; box-shadow: var(--shadow); transition: .25s; z-index: 100; pointer-events: none; max-width: calc(100% - 32px); }
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
#toast.bad { border-color: rgba(255,92,108,.5); }

.hero .wrap > *, .dash > *, .stack > *, .grid2 > *, .grid3 > *, .kpis > * { min-width: 0; }
@media (max-width: 960px) {
  .hero .wrap, .dash { grid-template-columns: minmax(0, 1fr); }
  .features, .steps, .brokers { grid-template-columns: 1fr 1fr; }
  .kpis { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .wrap { padding: 0 16px; }
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; background: var(--bg2); border-bottom: 1px solid var(--line); padding: 10px 16px; margin: 0; }
  .nav-links.open { display: flex; }
  .btn.menu-btn { display: inline-flex; }
  .nav-right .hide-sm { display: none; }
  .nav .wrap { gap: 10px; }
  .nav-right { gap: 6px; }
  .nav-right .btn.sm { padding: 6px 9px; font-size: 12.5px; }
  .lang button { padding: 5px 9px; }
  .features, .steps, .brokers, .plans, .grid3 { grid-template-columns: 1fr; }
  .grid2 { grid-template-columns: 1fr; }
  .hero { padding: 50px 0 40px; }
  .demo .ticker { grid-template-columns: 1fr 1fr 1fr; }
  .writer { flex-direction: column; }
  .kpi .value { font-size: 21px; }
  .demo { padding: 16px; }
  .tick span { font-size: 14px; }
}
@media (max-width: 420px) { .logo-text { display: none; } }

/* ---------- 20s animated explainer ---------- */
.vid-sec h2 { margin-bottom: 22px; }
.vid { max-width: 560px; margin: 0 auto; border-radius: 22px; background: linear-gradient(180deg, var(--card2), var(--card)); border: 1px solid var(--line2); overflow: hidden; box-shadow: 0 30px 80px -30px rgba(25,211,138,.35); }
.vid-stage { position: relative; padding: 26px 22px 18px; min-height: 360px; display: flex; flex-direction: column; }
.vid-tag { position: absolute; top: 12px; left: 14px; font-size: 11px; color: var(--dim); letter-spacing: .02em; }
.vid-screen { position: relative; flex: 1; min-height: 230px; margin-top: 10px; }
.vp { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 16px; opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .45s ease, transform .45s ease; pointer-events: none; }
.vid[data-s="1"] .vp1, .vid[data-s="2"] .vp2, .vid[data-s="3"] .vp3, .vid[data-s="4"] .vp4,
.vid[data-s="5"] .vp5, .vid[data-s="6"] .vp5, .vid[data-s="7"] .vp7 { opacity: 1; transform: none; pointer-events: auto; }
.vid.paused *, .vid.paused *::before, .vid.paused *::after { animation-play-state: paused !important; }
.vid-cap { text-align: center; min-height: 64px; }
.vid-cap b { display: block; font-size: 22px; letter-spacing: -.01em; }
.vid-cap span { display: block; color: var(--muted); font-size: 14px; margin-top: 4px; }
.vid-cap.in { animation: capIn .5s cubic-bezier(.2,.8,.2,1); }
@keyframes capIn { from { opacity: 0; transform: translateY(8px); } }
.vid-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); background: rgba(0,0,0,.25); }
.vid-btn { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line2); background: var(--card2); color: var(--text); font-size: 12px; cursor: pointer; flex: none; }
.vid-prog { flex: 1; display: flex; gap: 4px; }
.vid-seg { flex: 1; height: 16px; padding: 6px 0; border: 0; background: none; cursor: pointer; }
.vid-seg i { display: block; height: 4px; border-radius: 4px; background: var(--line2); position: relative; overflow: hidden; }
.vid-seg i::after { content: ''; position: absolute; inset: 0; width: 0; background: var(--accent); border-radius: 4px; }
.vid-seg.done i::after { width: 100%; }
.vid-seg.cur i::after { animation: segFill 3s linear forwards; }
@keyframes segFill { to { width: 100%; } }
.vid-time { font-size: 12px; color: var(--dim); min-width: 74px; text-align: right; }

/* scene 1: budget */
.v-big { font-size: 64px; font-weight: 800; color: var(--accent); letter-spacing: -.03em; text-shadow: 0 0 40px rgba(25,211,138,.35); }
.vid[data-s="1"] .v-big { animation: popIn .6s .9s both cubic-bezier(.2,1.4,.4,1); }
.v-chips { position: relative; }
.vid[data-s="1"] .v-pick { animation: chipOn .3s 1s both; }
@keyframes chipOn { to { background: rgba(25,211,138,.14); border-color: var(--accent); color: var(--accent); transform: scale(1.06); } }
.v-finger { position: absolute; font-size: 30px; bottom: 6px; left: 50%; opacity: 0; }
.vid[data-s="1"] .v-finger { animation: finger 1.4s .1s both; }
@keyframes finger { 0% { opacity: 0; transform: translate(60px, 60px); } 50% { opacity: 1; transform: translate(-8px, 8px); } 65% { transform: translate(-8px, 2px) scale(.9); } 100% { opacity: 0; transform: translate(-8px, 8px); } }
@keyframes popIn { from { opacity: 0; transform: scale(.6); } }

/* scene 2: sliders */
.v-sl { width: min(100%, 360px); }
.v-sl-h { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 14px; color: var(--muted); } .v-sl-h b { font-size: 18px; }
.v-track { position: relative; height: 8px; border-radius: 8px; background: var(--line2); }
.v-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 8px; background: linear-gradient(90deg, var(--accent2), var(--accent)); }
.v-knob { position: absolute; top: 50%; left: 0; width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(25,211,138,.35); }
.vid[data-s="2"] .v-fill.a { animation: fillTo 1.1s .3s both cubic-bezier(.3,.8,.3,1); --to: 29%; }
.vid[data-s="2"] .v-knob.a { animation: knobTo 1.1s .3s both cubic-bezier(.3,.8,.3,1); --to: 29%; }
.vid[data-s="2"] .v-fill.b { animation: fillTo 1.1s 1.2s both cubic-bezier(.3,.8,.3,1); --to: 29%; }
.vid[data-s="2"] .v-knob.b { animation: knobTo 1.1s 1.2s both cubic-bezier(.3,.8,.3,1); --to: 29%; }
@keyframes fillTo { to { width: var(--to); } }
@keyframes knobTo { to { left: var(--to); } }

/* scene 3: swipe on */
.v-swipe { position: relative; width: min(100%, 340px); height: 62px; border-radius: 40px; background: var(--bg2); border: 1px solid var(--line2); overflow: hidden; }
.v-swfill { position: absolute; inset: 0; width: 0; background: linear-gradient(90deg, rgba(15,184,201,.35), rgba(25,211,138,.55)); }
.v-swtext { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-weight: 600; font-size: 14px; }
.v-power { position: absolute; top: 5px; left: 5px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 13px; background: var(--card2); border: 1px solid var(--line2); color: var(--muted); }
.vid[data-s="3"] .v-power { animation: swipeKnob 1.1s .4s both cubic-bezier(.5,0,.2,1); }
.vid[data-s="3"] .v-swfill { animation: swipeFill 1.1s .4s both cubic-bezier(.5,0,.2,1); }
.vid[data-s="3"] .v-swtext { animation: fadeOut .4s .6s both; }
@keyframes swipeKnob { to { left: calc(100% - 57px); background: var(--accent); color: var(--accent-ink); border-color: var(--accent); box-shadow: 0 0 30px rgba(25,211,138,.7); } }
@keyframes swipeFill { to { width: 100%; } }
@keyframes fadeOut { to { opacity: 0; } }
.v-onlabel { color: var(--accent); font-weight: 800; font-size: 20px; opacity: 0; display: flex; align-items: center; gap: 8px; }
.vid[data-s="3"] .v-onlabel { animation: popIn .5s 1.5s both cubic-bezier(.2,1.4,.4,1); opacity: 1; }

/* scene 4: scanner */
.vp4 { gap: 8px; align-items: stretch; }
.v-scan { color: var(--accent); font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.v-row { display: grid; grid-template-columns: 54px 1fr 32px auto; gap: 10px; align-items: center; padding: 8px 12px; border-radius: 12px; background: var(--bg2); border: 1px solid var(--line); font-size: 14px; }
.v-bar { height: 6px; border-radius: 6px; background: var(--line2); overflow: hidden; } .v-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent2), var(--accent)); border-radius: 6px; }
.vid[data-s="4"] .v-row { animation: rowIn .4s var(--d) both; }
.vid[data-s="4"] .v-bar i { animation: barTo .9s calc(var(--d) + .3s) both cubic-bezier(.3,.8,.3,1); }
@keyframes rowIn { from { opacity: 0; transform: translateX(-14px); } }
@keyframes barTo { to { width: var(--st); } }
.v-buy { font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); opacity: 0; }
.vid[data-s="4"] .v-row.top { animation: rowIn .4s 0s both, rowHi .6s 1.8s both; }
.vid[data-s="4"] .v-buy { animation: popIn .4s 2s both cubic-bezier(.2,1.4,.4,1); opacity: 1; }
@keyframes rowHi { to { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(25,211,138,.2), 0 0 24px rgba(25,211,138,.25); } }

/* scenes 5–6: buy → price climbs → sold at target */
.vp5 { align-items: stretch; gap: 8px; }
.v-chart-h { display: flex; justify-content: space-between; font-size: 15px; }
.v-chart { width: 100%; height: 150px; overflow: visible; }
.v-target { stroke: var(--accent); stroke-dasharray: 5 5; stroke-width: 1.5; opacity: .7; }
.v-entry { stroke: var(--muted); stroke-dasharray: 3 5; stroke-width: 1; opacity: .5; }
.v-lbl { font-size: 11px; fill: var(--muted); } .v-lbl.up { fill: var(--accent); }
.v-line { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 600; stroke-dashoffset: 600; filter: drop-shadow(0 0 6px rgba(25,211,138,.5)); }
.v-line.l1 { stroke: var(--muted); }
.vid[data-s="5"] .v-line.l1 { animation: draw 1s .1s forwards; }
.vid[data-s="6"] .v-line.l1 { stroke-dashoffset: 0; }
.vid[data-s="6"] .v-line.l2 { animation: draw 2.2s .1s forwards cubic-bezier(.4,0,.6,1); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.v-dot { fill: var(--accent); opacity: 0; transform-box: fill-box; transform-origin: center; }
.vid[data-s="5"] .v-dot.d1 { animation: dotIn .4s 1.1s both; }
.vid[data-s="6"] .v-dot.d1 { opacity: 1; }
.vid[data-s="6"] .v-dot.d2 { animation: dotIn .4s 2.2s both, ring 1s 2.4s 2; }
@keyframes dotIn { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
@keyframes ring { 50% { transform: scale(1.8); } }
.v-badge { align-self: center; padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; background: var(--bg2); border: 1px solid var(--line2); opacity: 0; position: absolute; bottom: -4px; }
.vid[data-s="5"] .v-badge.b1 { animation: popIn .5s 1.3s both cubic-bezier(.2,1.4,.4,1); opacity: 1; }
.vid[data-s="6"] .v-badge.b2 { animation: popIn .5s 2.3s both cubic-bezier(.2,1.4,.4,1); opacity: 1; border-color: var(--accent); background: rgba(25,211,138,.12); box-shadow: 0 0 40px rgba(25,211,138,.35); }
.vid[data-s="6"] .vid-stage { animation: winGlow 1.2s 2.3s both; }
@keyframes winGlow { 40% { box-shadow: inset 0 0 80px rgba(25,211,138,.28); } }
.v-pnl::after { content: '$100.00'; color: var(--muted); }
.vid[data-s="6"] .v-pnl::after { content: '+$10.00'; color: var(--accent); animation: popIn .4s 2.3s both; }

/* scene 7: CTA */
.v-logo { width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center; font-weight: 900; font-size: 34px; color: var(--accent-ink); background: linear-gradient(135deg, var(--accent), var(--accent2)); box-shadow: 0 0 60px rgba(25,211,138,.45); }
.vid[data-s="7"] .v-logo { animation: popIn .6s .1s both cubic-bezier(.2,1.4,.4,1); }
.vid[data-s="7"] .v-cta { animation: popIn .5s .5s both, ctaPulse 1.6s 1.1s infinite; }
@keyframes ctaPulse { 50% { box-shadow: 0 0 0 10px rgba(25,211,138,0); transform: scale(1.03); } 0%,100% { box-shadow: 0 0 0 0 rgba(25,211,138,.45); } }
@media (max-width: 560px) { .vid-stage { min-height: 380px; padding: 26px 16px 16px; } .v-big { font-size: 54px; } .vid-cap b { font-size: 19px; } }
@media (prefers-reduced-motion: reduce) { .vid * { animation-duration: .01s !important; animation-delay: 0s !important; } }
.vid-screen { min-height: 270px; }
.vp4 { justify-content: flex-start; gap: 6px; }
.v-row { padding: 6px 12px; font-size: 13px; }
.v-scan { margin-bottom: 2px; }
.vp2 { gap: 26px; }
@media (max-width: 560px) { .vid-screen { min-height: 280px; } }
.vid-cap { min-height: 88px; }
.scan-status { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); margin: 0 0 8px; }
.scan-status .dot { color: var(--accent); }

/* ---------- futuristic glow background ---------- */
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: radial-gradient(1200px 600px at 50% -10%, rgba(25,211,138,.10), transparent 60%), var(--bg); }
.aurora::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 75%); }
.aurora i { position: absolute; width: 520px; height: 520px; border-radius: 50%; filter: blur(90px); opacity: .22; animation: float 22s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { background: #19d38a; top: -160px; left: -120px; }
.aurora i:nth-child(2) { background: #0fb8c9; top: 30%; right: -200px; animation-duration: 28s; opacity: .16; }
.aurora i:nth-child(3) { background: #6d5bff; bottom: -220px; left: 20%; animation-duration: 34s; opacity: .12; }
@keyframes float { to { transform: translate(80px, 60px) scale(1.15); } }
html, body { background: transparent; }
body { background: var(--bg); }
.card { background: linear-gradient(180deg, rgba(22,28,38,.78), rgba(17,22,30,.78)); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-color: rgba(45,55,70,.7); }

/* ---------- live ticker tape ---------- */
.tape { position: sticky; top: 64px; z-index: 40; overflow: hidden; border-bottom: 1px solid var(--line); background: rgba(7,9,13,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.tape-track { display: flex; width: max-content; animation: tape var(--dur, 60s) linear infinite; }
.tape:hover .tape-track { animation-play-state: paused; }
@keyframes tape { to { transform: translateX(-50%); } }
.tp { display: inline-flex; gap: 8px; align-items: baseline; padding: 8px 18px; font-size: 13px; white-space: nowrap; border-right: 1px solid rgba(255,255,255,.04); border-radius: 6px; }
.tp b { letter-spacing: .02em; } .tp .px { color: var(--text); } .tp .ch { font-size: 12px; }
.tp.tick-up { animation: tpUp .9s ease; } .tp.tick-down { animation: tpDown .9s ease; }
@keyframes tpUp { 0% { background: rgba(25,211,138,.28); } }
@keyframes tpDown { 0% { background: rgba(255,92,108,.28); } }

/* ---------- trading-style switch ---------- */
.mode-sw { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.mode { text-align: left; border: 1px solid var(--line2); background: rgba(12,16,22,.6); color: var(--text); border-radius: 14px; padding: 12px 14px; cursor: pointer; font: inherit; transition: border-color .2s, box-shadow .2s, background .2s; }
.mode b { display: block; font-size: 15px; } .mode span { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.mode.on { border-color: var(--accent); background: rgba(25,211,138,.08); box-shadow: 0 0 0 1px var(--accent) inset, 0 0 28px rgba(25,211,138,.22); }

/* ---------- brokers: linked state ---------- */
.broker.is-linked { border-color: rgba(25,211,138,.55); box-shadow: 0 0 30px rgba(25,211,138,.12); }
.conn-row.in-use { background: rgba(25,211,138,.06); border-radius: 10px; padding-left: 8px; }

/* ---------- compact feature tiles ---------- */
.feature { display: flex; align-items: center; gap: 14px; padding: 18px; }
.feature .ic { margin: 0; flex: none; box-shadow: 0 0 20px rgba(25,211,138,.18); }
.feature h4 { margin: 0; font-size: 15px; }
@media (max-width: 560px) { .tp { padding: 7px 14px; } .features { grid-template-columns: 1fr 1fr; gap: 10px; } .feature { flex-direction: column; align-items: flex-start; padding: 14px; } }
@media (prefers-reduced-motion: reduce) { .aurora i, .tape-track { animation: none; } }
.risk-sw { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 18px; }
@media (max-width: 640px) { .risk-sw { grid-template-columns: repeat(2, 1fr); } }
.risk { position: relative; text-align: left; border: 1px solid var(--line2); background: rgba(12,16,22,.6); color: var(--text); border-radius: 14px; padding: 12px; cursor: pointer; font: inherit; transition: border-color .2s, box-shadow .2s, background .2s; }
.risk b { display: block; font-size: 14px; } .risk span { display: block; font-size: 11px; color: var(--muted); margin-top: 3px; line-height: 1.35; }
.risk em { position: absolute; top: -9px; right: 10px; font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; background: var(--accent); color: var(--accent-ink); padding: 2px 7px; border-radius: 999px; }
.risk.on { border-color: var(--accent); background: rgba(25,211,138,.08); box-shadow: 0 0 0 1px var(--accent) inset, 0 0 26px rgba(25,211,138,.2); }
.risk[data-v="advanced"].on { border-color: var(--amber); box-shadow: 0 0 0 1px var(--amber) inset, 0 0 26px rgba(255,181,71,.2); background: rgba(255,181,71,.07); }
.chip.risky.on { border-color: var(--amber); color: var(--amber); background: rgba(255,181,71,.1); }
@media (max-width: 420px) { .risk { padding: 10px 8px; } .risk span { font-size: 10.5px; } }
.risk .ri { display: block; font-style: normal; font-size: 18px; line-height: 1; margin-bottom: 6px; }

/* ---------- download page ---------- */
.wrap.narrow { max-width: 820px; }
.dl-hero { text-align: center; padding: 38px 24px; position: relative; overflow: hidden; }
.dl-hero::before { content: ''; position: absolute; inset: -40% 20% auto; height: 260px; background: radial-gradient(closest-side, rgba(25,211,138,.28), transparent); pointer-events: none; }
.dl-hero h1 { font-size: clamp(28px, 6vw, 44px); margin: 14px 0 8px; position: relative; }
.dl-hero .lead { max-width: 520px; margin: 0 auto 22px; position: relative; }
.dl-file { width: 74px; height: 92px; margin: 0 auto; border-radius: 12px; position: relative; background: linear-gradient(160deg, #1d2633, #0f141b); border: 1px solid var(--line2); box-shadow: 0 0 40px rgba(25,211,138,.35); display: grid; place-items: end center; padding-bottom: 12px; }
.dl-file::after { content: ''; position: absolute; top: -1px; right: -1px; width: 22px; height: 22px; background: linear-gradient(225deg, var(--bg) 50%, #2a3544 50%); border-top-right-radius: 12px; }
.dl-file span { font-weight: 900; font-size: 18px; color: var(--accent); letter-spacing: .04em; }
.dl-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 16px 0; }
.dl-step { position: relative; padding: 18px 16px; }
.dl-step .dl-n { position: absolute; top: 12px; right: 14px; font-size: 12px; font-weight: 800; color: var(--dim); }
.dl-step .dl-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(25,211,138,.1); color: var(--accent); font-size: 18px; font-weight: 900; margin-bottom: 12px; box-shadow: 0 0 20px rgba(25,211,138,.18); }
.dl-step b { display: block; font-size: 15px; } .dl-step span { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; }
pre.code { background: #06080b; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font: 13px/1.7 ui-monospace, SFMono-Regular, Menlo, monospace; color: #d7fbe9; overflow-x: auto; white-space: pre; margin: 0; }
@media (max-width: 760px) { .dl-steps { grid-template-columns: 1fr 1fr; } }

/* ---------- how it works (illustrated) ---------- */
.hx-head { text-align: center; margin: 10px auto 26px; }
.hx-head h1 { font-size: clamp(34px, 7vw, 56px); margin: 14px 0 6px; letter-spacing: -.03em; background: linear-gradient(180deg, #fff, #9fb3c8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hx-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.hx { padding: 0; overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s, border-color .25s; }
.hx:hover { transform: translateY(-3px); border-color: rgba(25,211,138,.45); box-shadow: 0 16px 50px -20px rgba(25,211,138,.45); }
.hx-art { height: 130px; display: grid; place-items: center; background: radial-gradient(120% 90% at 50% 0%, rgba(25,211,138,.14), transparent 70%); border-bottom: 1px solid var(--line); }
.hx-txt { padding: 16px 18px 18px; }
.hx-txt em { font-style: normal; font-size: 11px; font-weight: 800; color: var(--accent); letter-spacing: .12em; }
.hx-txt h3 { font-size: 19px; margin: 4px 0 4px; letter-spacing: -.01em; }
.hx-txt p { margin: 0; color: var(--muted); font-size: 14px; }
.hx-radar { width: 96px; height: 96px; border-radius: 50%; position: relative; border: 1px solid rgba(25,211,138,.4); background: repeating-radial-gradient(circle, transparent 0 15px, rgba(25,211,138,.14) 15px 16px); overflow: hidden; }
.hx-radar .sweep { position: absolute; inset: 0; background: conic-gradient(from 0deg, rgba(25,211,138,.55), transparent 25%); animation: spin 3s linear infinite; border-radius: 50%; }
.hx-radar b { position: absolute; left: var(--x); top: var(--y); width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: blip 3s ease-in-out infinite; }
.hx-radar b:nth-of-type(2) { animation-delay: .7s; } .hx-radar b:nth-of-type(3) { animation-delay: 1.5s; } .hx-radar b:nth-of-type(4) { animation-delay: 2.2s; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blip { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.hx-gauge { width: 78%; display: grid; gap: 9px; }
.hx-g-row { display: grid; grid-template-columns: 40px 1fr 24px; gap: 8px; align-items: center; font-size: 12px; font-weight: 700; }
.hx-g-row i { height: 7px; border-radius: 7px; background: linear-gradient(90deg, var(--accent2), var(--accent)) 0 0 / var(--w) 100% no-repeat, var(--line2); }
.hx-g-row.dim i { background: linear-gradient(90deg, #3a4656, #56657a) 0 0 / var(--w) 100% no-repeat, var(--line2); }
.hx-g-row em { font-style: normal; text-align: right; color: var(--muted); }
.hx-svg { width: 120px; height: 90px; overflow: visible; }
.hx-svg .fun { fill: rgba(25,211,138,.08); stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; }
.hx-svg .dot.ok { fill: var(--accent); animation: drop 2.4s ease-in infinite; } .hx-svg .dot.bad { fill: var(--red); opacity: .8; }
@keyframes drop { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(70px); opacity: 1; } 100% { transform: translateY(78px); opacity: 0; } }
.hx-svg .tgt { stroke: var(--accent); stroke-dasharray: 4 4; opacity: .7; }
.hx-svg .ln { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(25,211,138,.6)); stroke-dasharray: 200; animation: drawln 3s ease-in-out infinite; }
@keyframes drawln { 0% { stroke-dashoffset: 200; } 60%, 100% { stroke-dashoffset: 0; } }
.hx-svg .hit { fill: var(--accent); filter: drop-shadow(0 0 8px var(--accent)); }
.hx-svg .shield { fill: rgba(25,211,138,.1); stroke: var(--accent); stroke-width: 2.5; stroke-linejoin: round; }
.hx-svg .chk { fill: none; stroke: var(--accent); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.hx-buys { width: 86%; display: grid; gap: 7px; }
.hx-b { display: grid; grid-template-columns: minmax(0, 1fr) 40px 22px auto; align-items: center; gap: 8px; padding: 6px 8px 6px 10px; min-width: 0; border-radius: 10px; background: rgba(255,255,255,.03); border: 1px solid rgba(25,211,138,.28); font-size: 12px; opacity: 0; animation: hxIn 3.6s var(--d) ease-out infinite; }
.hx-b b { font-weight: 900; letter-spacing: .02em; color: #fff; }
.hx-b svg { width: 40px; height: 14px; } .hx-b polyline { fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.hx-b em { font-style: normal; font-weight: 800; color: var(--accent); text-align: right; font-variant-numeric: tabular-nums; }
.hx-b span { font-size: 10px; font-weight: 900; letter-spacing: .08em; padding: 3px 7px; border-radius: 6px; color: var(--accent-ink); background: linear-gradient(135deg, var(--accent), var(--accent2)); box-shadow: 0 0 14px rgba(25,211,138,.45); }
@media (max-width: 760px) { .hx-buys { width: 90%; gap: 6px; } .hx-b { grid-template-columns: minmax(0, 1fr) 20px auto; gap: 6px; padding: 5px 6px 5px 8px; font-size: 11px; } .hx-b svg { display: none; } .hx-b span { padding: 3px 5px; font-size: 9px; } }
.hx-art { overflow: hidden; }
@keyframes hxIn { 0% { opacity: 0; transform: translateX(-10px); } 12%, 82% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hx-b { animation: none; opacity: 1; } }
.hx-ai { display: flex; align-items: center; gap: 6px; max-width: 88%; overflow: hidden; } .hx-ai span { flex: none; width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; font-weight: 900; color: var(--accent-ink); background: linear-gradient(135deg, var(--accent), var(--accent2)); box-shadow: 0 0 30px rgba(25,211,138,.5); }
.hx-ai i { flex: 0 1 auto; min-width: 12px; width: 30px; height: 6px; border-radius: 6px; background: var(--line2); animation: blip 1.6s infinite; } .hx-ai i:nth-of-type(2) { animation-delay: .3s; width: 26px; } .hx-ai i:nth-of-type(3) { animation-delay: .6s; width: 40px; }
.hx-rules { margin-top: 18px; } .hx-rules summary { cursor: pointer; font-weight: 700; }
.hx-rules .how-step { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); } .hx-rules .how-step .ic { flex: none; }
.hx-rules .how-step p { margin: 3px 0 0; color: var(--muted); font-size: 13.5px; }
@media (max-width: 760px) { .hx-grid { grid-template-columns: 1fr 1fr; gap: 10px; } .hx-art { height: 110px; } .hx-txt { padding: 12px 14px 14px; } .hx-txt h3 { font-size: 16px; } .hx-txt p { font-size: 12.5px; } }
.v-risks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: min(100%, 380px); }
.v-risk { border: 1px solid var(--line2); border-radius: 14px; padding: 12px 8px; text-align: center; background: var(--bg2); }
.v-risk i { display: block; font-style: normal; font-size: 22px; } .v-risk b { font-size: 13px; }
.vid[data-s="2"] .v-risk { animation: rowIn .35s both; } .vid[data-s="2"] .v-risk.r1 { animation: rowIn .35s .1s both, riskOn .4s .9s both; } .vid[data-s="2"] .v-risk.r2 { animation-delay: .2s; }
@keyframes riskOn { to { border-color: var(--accent); background: rgba(25,211,138,.1); box-shadow: 0 0 0 1px var(--accent) inset, 0 0 24px rgba(25,211,138,.3); transform: scale(1.05); } }
.vid[data-s="2"] .v-fill.a, .vid[data-s="2"] .v-knob.a { animation-delay: 1.4s; --to: 42%; }
.rh-hero { margin: 16px 0 6px; }
.rh-val { font-size: clamp(34px, 8vw, 46px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.rh-ch { font-size: 14px; font-weight: 700; margin-top: 4px; } .rh-hero.up .rh-ch { color: var(--accent); } .rh-hero.down .rh-ch { color: var(--red); }
.spark { width: 100%; height: 72px; display: block; margin-top: 10px; overflow: visible; }
.spark .line { fill: none; stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.spark .area { stroke: none; opacity: .14; } .spark .base { stroke: var(--dim); stroke-dasharray: 2 5; stroke-width: 1; vector-effect: non-scaling-stroke; }
.spark.up .line { stroke: var(--accent); filter: drop-shadow(0 0 6px rgba(25,211,138,.55)); } .spark.up .area { fill: var(--accent); }
.spark.down .line { stroke: var(--red); filter: drop-shadow(0 0 6px rgba(255,92,108,.5)); } .spark.down .area { fill: var(--red); }

/* ---------- turn-off sheet ---------- */
.sheet-wrap { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,0); display: flex; align-items: flex-end; justify-content: center; transition: background .25s; }
.sheet-wrap.open { background: rgba(0,0,0,.6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.sheet { width: min(560px, 100%); max-height: 86vh; overflow: auto; background: linear-gradient(180deg, #161c26, #0f141b); border: 1px solid var(--line2); border-bottom: 0; border-radius: 22px 22px 0 0; padding: 12px 18px calc(18px + env(safe-area-inset-bottom)); transform: translateY(100%); transition: transform .32s cubic-bezier(.2,.9,.3,1); box-shadow: 0 -20px 60px rgba(0,0,0,.5); }
.sheet-wrap.open .sheet { transform: none; }
.sheet-grip { width: 42px; height: 5px; border-radius: 5px; background: var(--line2); margin: 0 auto 14px; }
.sheet-list { display: grid; gap: 8px; }
.keep-row { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; border: 1px solid var(--line2); background: rgba(12,16,22,.6); cursor: pointer; transition: border-color .2s, background .2s; }
.keep-row input { position: absolute; opacity: 0; pointer-events: none; }
.keep-pill { display: inline-flex; border-radius: 999px; border: 1px solid var(--line2); overflow: hidden; font-size: 12px; font-weight: 800; }
.keep-pill em { font-style: normal; padding: 5px 10px; color: var(--dim); }
.keep-row .k-sell { background: rgba(255,92,108,.14); color: var(--red); }
.keep-row:has(input:checked) { border-color: var(--accent); background: rgba(25,211,138,.07); }
.keep-row:has(input:checked) .k-sell { background: none; color: var(--dim); }
.keep-row:has(input:checked) .k-keep { background: rgba(25,211,138,.16); color: var(--accent); }
.act .btn.sm.ghost[data-action="sellPos"] { padding: 4px 10px; margin-left: 8px; }
.toggle-row { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; padding: 12px; border: 1px solid var(--line2); border-radius: 14px; background: rgba(12,16,22,.5); }
.toggle-row input { position: absolute; opacity: 0; pointer-events: none; }
.toggle-row .tg { flex: none; width: 44px; height: 26px; border-radius: 26px; background: var(--line2); position: relative; transition: background .2s; margin-top: 2px; }
.toggle-row .tg::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .25s cubic-bezier(.2,.9,.3,1.2); }
.toggle-row input:checked + .tg { background: var(--accent); box-shadow: 0 0 16px rgba(25,211,138,.45); }
.toggle-row input:checked + .tg::after { transform: translateX(18px); }
.toggle-row b { display: block; font-size: 14px; } .toggle-row .small { display: block; margin-top: 2px; }
.adm-users { display: grid; gap: 10px; }
.adm-user { border: 1px solid var(--line2); border-radius: 14px; padding: 12px 14px; background: rgba(12,16,22,.5); }
.adm-u-top { display: flex; align-items: center; gap: 8px; min-width: 0; } .adm-email { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.adm-u-mid { margin: 6px 0 0; } .adm-u-act { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.adm-grant input { background: var(--bg2); border: 1px solid var(--line2); color: var(--text); border-radius: 10px; padding: 10px 12px; font: inherit; }
.bc { padding: 3px 0; color: var(--text); } .bc.bad { color: var(--red); }
.mini { width: 64px; height: 22px; flex: none; overflow: visible; }
.mini polyline { fill: none; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.mini.up polyline { stroke: var(--accent); filter: drop-shadow(0 0 3px rgba(25,211,138,.6)); } .mini.down polyline { stroke: var(--red); filter: drop-shadow(0 0 3px rgba(255,92,108,.5)); }
.d3 { font-size: 11px; font-weight: 700; min-width: 58px; }
.sig { gap: 8px; }
@media (max-width: 560px) { .sig .hide-sm { display: none; } .mini { width: 48px; } }
@media (max-width: 560px) { .sig .bar { display: none; } .sig { gap: 6px; } .d3 { min-width: 50px; } }
.dl-agent { margin-top: 16px; border-color: rgba(25,211,138,.35); }
.dl-rh { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; background: rgba(25,211,138,.12); box-shadow: 0 0 22px rgba(25,211,138,.25); flex: none; }
.ag-steps { list-style: none; counter-reset: ag; padding: 0; margin: 16px 0 12px; display: grid; gap: 10px; }
.ag-steps li { counter-increment: ag; position: relative; padding-left: 38px; }
.ag-steps li::before { content: counter(ag); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; background: var(--accent); color: var(--accent-ink); }
.ag-steps b { display: block; } .ag-steps span { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }

/* ===== 2026-09-26: aligned trade tables (100–150+ rows), AI Copilot feed ===== */
.pos-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.pos-top h3 { margin: 0; }
.pos-sort { gap: 6px; }
.pos-sort .chip { padding: 5px 11px; font-size: 12px; }
.pos-sum { font-size: 13px; color: var(--muted); margin: 4px 0 8px; line-height: 1.5; }
.pos-sum b { color: var(--text); }
.prow { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr) 70px 64px; gap: 8px; align-items: center;
  padding: 9px 4px; border-bottom: 1px solid var(--line); font-size: 13px; min-height: 44px; }
.prow.demo, .phead.demo { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr) 70px; }
.prow.keep-row, .phead.keep { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr) 66px 78px; }
.prow.closed { grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr) 70px auto; }
.prow .c-sym { display: flex; align-items: center; gap: 6px; min-width: 0; overflow: hidden; }
.prow .c-sym b { white-space: nowrap; }
.prow .c-sym .pill { padding: 2px 6px; font-size: 11px; }
.prow .c-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prow .c-act { text-align: right; }
.prow .c-act .btn { padding: 5px 10px; }
.prow .c-why { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prow.closing { opacity: .6; }
.phead { min-height: 0; padding: 6px 4px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--dim); border-bottom: 1px solid var(--line2); }
.pos-scroll { max-height: 460px; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.pos-scroll.short { max-height: 300px; }
.pos-scroll::-webkit-scrollbar, .act-scroll::-webkit-scrollbar, .cp-feed::-webkit-scrollbar, .sheet-list::-webkit-scrollbar { width: 6px; }
.pos-scroll::-webkit-scrollbar-thumb, .act-scroll::-webkit-scrollbar-thumb, .cp-feed::-webkit-scrollbar-thumb, .sheet-list::-webkit-scrollbar-thumb { background: var(--line2); border-radius: 6px; }
.sheet-list { max-height: 46vh; overflow-y: auto; overscroll-behavior: contain; gap: 6px; }
.prow.keep-row { padding: 10px 10px; border-bottom: 1px solid var(--line2); }
.act-scroll { max-height: 460px; }
.arow { display: grid; grid-template-columns: 82px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.arow .pill { justify-content: center; }
.arow .a-txt { min-width: 0; line-height: 1.4; }
.arow .t { color: var(--dim); font-size: 12px; white-space: nowrap; text-align: right; }
@media (max-width: 420px) {
  .prow, .phead { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 64px 58px; font-size: 12.5px; }
  .prow.demo, .phead.demo { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 64px; }
  .prow.keep-row, .phead.keep { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 62px 70px; }
  .prow .c-entry { display: none; }
  .prow .c-act .btn { padding: 5px 8px; font-size: 12px; }
  .arow { grid-template-columns: 70px minmax(0, 1fr); }
  .arow .t { grid-column: 2; text-align: left; margin-top: -6px; }
}

.copilot { margin-bottom: 18px; border-color: rgba(25,211,138,.35); background: linear-gradient(180deg, rgba(25,211,138,.07), rgba(17,22,30,.8)); }
.cp-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.cp-head h3 { margin: 0; }
.cp-orb { width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #7dffc8, var(--accent) 55%, #0a7a50); box-shadow: 0 0 0 0 rgba(25,211,138,.6); animation: cpPulse 2s infinite; flex: none; }
@keyframes cpPulse { 0% { box-shadow: 0 0 0 0 rgba(25,211,138,.55); } 70% { box-shadow: 0 0 0 10px rgba(25,211,138,0); } 100% { box-shadow: 0 0 0 0 rgba(25,211,138,0); } }
.cp-feed { max-height: 230px; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; display: grid; gap: 2px; }
.cp-line { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 10px; padding: 7px 4px; font-size: 13px; line-height: 1.45; border-bottom: 1px solid rgba(34,42,54,.6); }
.cp-t { color: var(--dim); font-size: 11.5px; font-variant-numeric: tabular-nums; padding-top: 1px; }
.cp-line.k-ai { background: rgba(25,211,138,.08); border: 1px solid rgba(25,211,138,.22); border-radius: 12px; padding: 9px 10px; margin: 4px 0; color: var(--text); font-size: 14px; }
.cp-line.k-warn .cp-x { color: var(--amber); }
.cp-line.k-scan .cp-x, .cp-line.k-info .cp-x { color: var(--muted); }
.cp-line.new { animation: cpIn .5s ease-out; }
@keyframes cpIn { from { opacity: 0; transform: translateY(-6px); background: rgba(25,211,138,.18); } to { opacity: 1; transform: none; } }
@media (max-width: 420px) { .cp-line { grid-template-columns: 1fr; gap: 2px; } .cp-feed { max-height: 210px; } }
@media (prefers-reduced-motion: reduce) { .cp-orb, .cp-line.new { animation: none; } }

/* ===== 2026-09-26 · "Neon Pro" visual upgrade — bolder, sharper, more premium ===== */
:root { --display: 'Space Grotesk', 'Inter', system-ui, sans-serif; --glow: 0 0 0 1px rgba(25,211,138,.25), 0 10px 40px -10px rgba(25,211,138,.35); }
h1, h2, h3, .logo-text, .rh-val, .bot-kpis b, .hx-head h1 { font-family: var(--display); letter-spacing: -.025em; }
h1 { font-weight: 700; } h2 { font-weight: 700; } h3 { font-weight: 700; letter-spacing: -.01em; }
.page-head h1 { font-size: clamp(26px, 6vw, 34px); background: linear-gradient(90deg, #fff 30%, #9ff5cf); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo-mark { box-shadow: 0 6px 22px -6px rgba(25,211,138,.7); }
.logo-text { font-weight: 700; font-size: 18px; }

/* cards: crisper glass, thin gradient edge */
.card { border-radius: 22px; border: 1px solid rgba(255,255,255,.07); background: linear-gradient(180deg, rgba(24,31,43,.82), rgba(13,17,24,.86));
  box-shadow: 0 1px 0 rgba(255,255,255,.05) inset, 0 20px 50px -30px rgba(0,0,0,.8); }
.card h3 { font-size: 18px; }

/* bot card: animated neon edge while ON */
.bot { position: relative; overflow: hidden; }
.bot.is-on::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--ang, 0deg), rgba(25,211,138,.9), rgba(15,184,201,.2), rgba(25,211,138,.05), rgba(15,184,201,.8), rgba(25,211,138,.9));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spinEdge 6s linear infinite; }
@property --ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes spinEdge { to { --ang: 360deg; } }
.bot h2 { font-size: 24px; }

/* giant P&L like a pro trading app */
.rh-val { font-size: clamp(44px, 12vw, 64px); font-weight: 700; letter-spacing: -.045em; }
.rh-hero.up .rh-val { background: linear-gradient(180deg, #eafff5, #19d38a); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: 0 0 40px rgba(25,211,138,.25); }
.rh-hero.down .rh-val { background: linear-gradient(180deg, #ffe9eb, #ff5c6c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rh-ch { font-weight: 700; font-size: 15px; }

/* KPI tiles */
.bot-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.bot-kpis > div { background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.06); border-radius: 14px; padding: 10px 12px; }
.bot-kpis b { font-size: 22px; display: block; margin-top: 2px; }
.bot-kpis b small { font-size: 13px; color: var(--dim); font-weight: 600; }
@media (max-width: 640px) { .bot-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* buttons: bolder */
.btn { font-weight: 700; border-radius: 12px; }
.btn.primary { background: linear-gradient(135deg, #2ef3a0, #13c283 55%, #0fb8c9); box-shadow: 0 8px 26px -10px rgba(25,211,138,.8); }
.btn.primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.chip.on { box-shadow: 0 0 0 1px rgba(25,211,138,.5), 0 6px 18px -8px rgba(25,211,138,.7); }

/* risk presets: stronger selection */
.risk.on { box-shadow: var(--glow); transform: translateY(-2px); }
.risk b { font-family: var(--display); font-size: 17px; }

/* tables: stronger numbers */
.prow .c-sym b { font-family: var(--display); font-size: 14.5px; letter-spacing: .01em; }
.prow .c-num.up, .prow .c-num.down { font-weight: 800; }
.prow:not(.phead):hover { background: rgba(255,255,255,.025); }
.pos-sum { padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.05); }

/* Copilot: premium chat panel */
.copilot { border: 1px solid rgba(25,211,138,.35); background:
  radial-gradient(120% 140% at 0% 0%, rgba(25,211,138,.16), transparent 55%),
  radial-gradient(120% 140% at 100% 0%, rgba(15,184,201,.12), transparent 50%), linear-gradient(180deg, rgba(20,27,37,.92), rgba(11,15,21,.92)); }
.cp-head h3 { font-size: 19px; background: linear-gradient(90deg, #fff, #8ff0c6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cp-line.k-ai { font-weight: 500; box-shadow: 0 8px 24px -16px rgba(25,211,138,.8); }
.cp-line.k-buy .cp-x { color: #b9ffe0; } .cp-line.k-sell .cp-x { color: #e6ecf5; }

/* free plan banner */
.free-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 13.5px; }
.free-banner .btn { margin-left: auto; }

/* status pills in activity: same width, bolder */
.arow .pill { font-weight: 700; }

/* ===== "AutoRule — the film" (cinematic trailer, live data) ===== */
.film-head { text-align: center; margin-bottom: 22px; }
.film-head h2 { margin: 12px 0 0; font-size: clamp(30px, 7vw, 52px); letter-spacing: -.04em; background: linear-gradient(180deg, #fff 20%, #7ff0bf); -webkit-background-clip: text; background-clip: text; color: transparent; }
.film-sec h2 { margin-bottom: 0; }
.vid.film { max-width: 920px; border-radius: 26px; border: 1px solid rgba(255,255,255,.08); background: #030507;
  box-shadow: 0 0 0 1px rgba(25,211,138,.15), 0 40px 120px -40px rgba(25,211,138,.55), 0 30px 80px -30px rgba(15,184,201,.35); }
.film .vid-stage { padding: 0; min-height: 0; aspect-ratio: 16 / 10; overflow: hidden; isolation: isolate;
  background: radial-gradient(80% 90% at 50% 110%, rgba(25,211,138,.28), transparent 60%), radial-gradient(60% 60% at 90% -10%, rgba(15,184,201,.25), transparent 60%), #030507; }
@media (max-width: 560px) { .film .vid-stage { aspect-ratio: 4 / 5; } }
.film .vid-screen { position: absolute; inset: 0; margin: 0; min-height: 0; }
.film .vp { padding: 9% 7% 22%; opacity: 0; transform: scale(1.06); filter: blur(6px); transition: opacity .7s ease, transform 1.1s cubic-bezier(.2,.8,.2,1), filter .7s ease; }
.film[data-s="1"] .fs1, .film[data-s="2"] .fs2, .film[data-s="3"] .fs3, .film[data-s="4"] .fs4,
.film[data-s="5"] .fs5, .film[data-s="6"] .fs6, .film[data-s="7"] .fs7, .film[data-s="8"] .fs8 { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.f-bars::before, .f-bars::after { content: ''; position: absolute; left: 0; right: 0; height: 7%; background: #000; z-index: 5; }
.f-bars::before { top: 0; } .f-bars::after { bottom: 0; }
.f-grain { position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  background-image: repeating-radial-gradient(circle at 17% 32%, #fff 0 1px, transparent 1px 3px); animation: grain 1s steps(4) infinite; }
@keyframes grain { 0% { transform: translate(0,0); } 25% { transform: translate(-2%,1%); } 50% { transform: translate(1%,-2%); } 75% { transform: translate(-1%,2%); } }
.f-flare { position: absolute; z-index: 3; pointer-events: none; width: 60%; height: 140%; top: -20%; left: -70%; transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.07), transparent); animation: flare 4s ease-in-out infinite; }
@keyframes flare { 0% { left: -70%; } 60%, 100% { left: 130%; } }
.film .vid-cap { position: absolute; left: 0; right: 0; bottom: 8%; z-index: 6; padding: 0 16px; min-height: 0; text-shadow: 0 2px 20px rgba(0,0,0,.9); }
.film .vid-cap b { font-family: var(--display); font-size: clamp(20px, 3.4vw, 30px); letter-spacing: -.02em; }
.film .vid-cap span { color: #b8c4d3; font-size: clamp(12.5px, 1.8vw, 15px); }
.film .vid-bar { background: #05080b; border-top: 1px solid rgba(255,255,255,.06); }

/* scene 1 */
.f-logo { width: clamp(64px, 12vw, 104px); aspect-ratio: 1; border-radius: 26%; display: grid; place-items: center; font: 800 clamp(34px, 6vw, 56px) var(--display); color: #04150d;
  background: linear-gradient(135deg, #3cffae, #19d38a 50%, #0fb8c9); box-shadow: 0 0 80px rgba(25,211,138,.7), 0 0 0 1px rgba(255,255,255,.3) inset; }
.film[data-s="1"] .f-logo { animation: logoIn 1.4s cubic-bezier(.2,.8,.2,1) both; }
@keyframes logoIn { from { transform: scale(.4) rotate(-12deg); opacity: 0; filter: blur(10px); } }
.f-title { font: 700 clamp(44px, 10vw, 96px)/1 var(--display); letter-spacing: -.06em; background: linear-gradient(180deg, #fff, #8ff0c6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.f-tag { font-size: clamp(15px, 2.4vw, 22px); color: #c7d3e0; letter-spacing: .01em; }
.f-ver { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); border: 1px solid rgba(25,211,138,.4); border-radius: 999px; padding: 5px 12px; }
.film[data-s="1"] .f-title, .film[data-s="1"] .f-tag, .film[data-s="1"] .f-ver { animation: rise .9s cubic-bezier(.2,.8,.2,1) both; }
.film[data-s="1"] .f-tag { animation-delay: .25s; } .film[data-s="1"] .f-ver { animation-delay: .5s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); letter-spacing: .02em; } }
/* scene 2 */
.f-tape { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 18%; opacity: .35; mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent); }
.f-lane { display: flex; gap: 34px; white-space: nowrap; font-size: clamp(16px, 2.8vw, 26px); width: max-content; }
.f-lane span b { font-family: var(--display); } .f-lane em { font-style: normal; font-weight: 700; }
.f-lane.a { animation: laneL 16s linear infinite; } .f-lane.b { animation: laneR 16s linear infinite; }
@keyframes laneL { to { transform: translateX(-33.3%); } } @keyframes laneR { from { transform: translateX(-33.3%); } to { transform: none; } }
.f-count { position: relative; text-align: center; }
.f-count b { display: block; font: 700 clamp(72px, 17vw, 160px)/.9 var(--display); letter-spacing: -.06em; color: #fff; text-shadow: 0 0 60px rgba(25,211,138,.6); }
.f-count span { font: 600 clamp(18px, 3.4vw, 30px) var(--display); color: var(--accent); letter-spacing: -.01em; }
.f-sub { position: relative; color: #b8c4d3; font-size: clamp(13px, 2vw, 17px); }
/* scene 3 */
.f-kicker { font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.f-bars2 { width: min(640px, 100%); display: grid; gap: clamp(8px, 1.6vw, 14px); }
.f-row { display: grid; grid-template-columns: 70px 1fr 44px; align-items: center; gap: 12px; font-size: clamp(15px, 2.4vw, 20px); }
.f-row b { font-family: var(--display); } .f-row em { font-style: normal; font-weight: 800; text-align: right; color: #fff; }
.f-row span { height: clamp(10px, 1.6vw, 14px); border-radius: 99px; background: rgba(255,255,255,.07); overflow: hidden; }
.f-row i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #0fb8c9, #19d38a, #7dffc8); box-shadow: 0 0 20px rgba(25,211,138,.7); }
.film[data-s="3"] .f-row i { animation: barGo 1.1s cubic-bezier(.2,.8,.2,1) var(--d) forwards; }
@keyframes barGo { to { width: var(--w); } }
/* scene 4 */
.f-orb { width: clamp(70px, 12vw, 110px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #d9fff0, #19d38a 45%, #0a5d44 75%, transparent 76%);
  box-shadow: 0 0 90px rgba(25,211,138,.8); animation: orb 2.4s ease-in-out infinite; }
@keyframes orb { 50% { transform: scale(1.08); box-shadow: 0 0 140px rgba(25,211,138,.95); } }
.f-bubble { max-width: 620px; padding: 16px 20px; border-radius: 20px 20px 20px 6px; background: rgba(12,20,26,.85); border: 1px solid rgba(25,211,138,.4); box-shadow: 0 20px 60px -20px rgba(25,211,138,.6); }
.f-who { font-size: 12px; font-weight: 800; color: var(--accent); letter-spacing: .06em; text-transform: uppercase; }
.f-bubble p { margin: 6px 0 0; font-size: clamp(15px, 2.4vw, 20px); line-height: 1.45; color: #eef4fa; min-height: 3em; }
.f-bubble p::after { content: '▍'; color: var(--accent); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
/* scene 5 */
.f-grid { display: grid; grid-template-columns: repeat(25, 1fr); gap: 4px; width: min(620px, 100%); }
.f-grid i { aspect-ratio: 1; border-radius: 3px; background: rgba(255,255,255,.06); }
.film[data-s="5"] .f-grid i { animation: tileOn .35s ease calc(var(--i) * 14ms) forwards; }
@keyframes tileOn { to { background: #19d38a; box-shadow: 0 0 10px rgba(25,211,138,.8); } }
.f-big { text-align: center; } .f-big b { display: block; font: 700 clamp(56px, 12vw, 110px)/.9 var(--display); letter-spacing: -.05em; color: #fff; }
.f-big span { color: #c7d3e0; font-size: clamp(13px, 2vw, 17px); }
/* scene 6 */
.f-chart { width: min(680px, 100%); height: 58%; overflow: visible; }
.f-tgt { stroke: #19d38a; stroke-dasharray: 6 6; stroke-width: 1.5; } .f-stop { stroke: #ff5c6c; stroke-dasharray: 6 6; stroke-width: 1.5; opacity: .8; }
.f-ln { fill: none; stroke: #19d38a; stroke-width: 4; stroke-linejoin: round; filter: drop-shadow(0 0 10px rgba(25,211,138,.9)); stroke-dasharray: 700; stroke-dashoffset: 700; }
.f-area { fill: url(#fg); opacity: 0; } .f-hit { fill: #fff; opacity: 0; filter: drop-shadow(0 0 12px #19d38a); }
.film[data-s="6"] .f-ln { animation: draw 2s cubic-bezier(.4,0,.2,1) forwards; }
.film[data-s="6"] .f-area { animation: fadeIn .8s ease 1.6s forwards; } .film[data-s="6"] .f-hit { animation: fadeIn .3s ease 1.9s forwards, pop .6s ease 1.9s; }
@keyframes draw { to { stroke-dashoffset: 0; } } @keyframes fadeIn { to { opacity: 1; } } @keyframes pop { 50% { transform: scale(1.8); transform-origin: 380px 34px; } }
.f-chip, .f-chip2 { font-weight: 800; padding: 8px 14px; border-radius: 999px; font-size: clamp(13px, 2vw, 16px); opacity: 0; }
.f-chip { background: rgba(25,211,138,.15); border: 1px solid rgba(25,211,138,.5); } .f-chip2 { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); color: #c7d3e0; }
.film[data-s="6"] .f-chip { animation: rise .6s ease 2s forwards; } .film[data-s="6"] .f-chip2 { animation: rise .6s ease 2.4s forwards; }
.film[data-s="6"] .f-chip, .film[data-s="6"] .f-chip2 { animation-fill-mode: forwards; }
@keyframes rise2 { to { opacity: 1; transform: none; } }
.film[data-s="6"] .f-chip, .film[data-s="6"] .f-chip2 { animation-name: rise2; transform: translateY(14px); }
/* scene 7 */
.f-brokers { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 640px; }
.f-brokers span { font: 700 clamp(16px, 2.8vw, 24px) var(--display); padding: 12px 20px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); opacity: 0; transform: translateY(20px) scale(.9); }
.f-brokers span:last-child { border-color: rgba(25,211,138,.5); color: var(--accent); }
.film[data-s="7"] .f-brokers span { animation: rise2 .6s cubic-bezier(.2,.8,.2,1) var(--d) forwards; }
/* scene 8 */
.f-live { font-size: clamp(14px, 2.2vw, 18px); color: #c7d3e0; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: center; }
.f-live b { font-size: 1.3em; }
.f-endt { font: 700 clamp(48px, 11vw, 104px)/.95 var(--display); letter-spacing: -.06em; background: linear-gradient(180deg, #fff, #7dffc8); -webkit-background-clip: text; background-clip: text; color: transparent; text-align: center; }
.f-price { color: #9fb0c2; font-size: 13px; }
.film[data-s="8"] .f-endt { animation: logoIn 1.1s cubic-bezier(.2,.8,.2,1) both; }
/* what's new pill on the hero */
.whatsnew { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; padding: 6px 14px 6px 6px; border-radius: 999px; font-size: 13px; color: #d6e2ee;
  background: rgba(255,255,255,.04); border: 1px solid rgba(25,211,138,.35); text-decoration: none !important; max-width: 100%; }
.whatsnew em { font-style: normal; font-weight: 800; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #04150d; background: linear-gradient(135deg, #3cffae, #0fb8c9); padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.whatsnew span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .f-grain, .f-flare, .f-lane, .f-orb { animation: none !important; } }
.film .vid-seg.cur i::after { animation-duration: 4s; }
.cp-line.k-news { background: rgba(90,162,255,.08); border: 1px solid rgba(90,162,255,.25); border-radius: 12px; padding: 9px 10px; margin: 4px 0; }
.cp-line.k-news .cp-x { color: #dbe8ff; font-weight: 500; }
.rh-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 6px 0 16px; }
.rh-path { display: flex; flex-direction: column; gap: 4px; padding: 12px; border-radius: 14px; border: 1px solid var(--line2); background: rgba(255,255,255,.03); color: var(--text); text-decoration: none !important; font-size: 13px; }
.rh-path.on { border-color: rgba(25,211,138,.5); background: rgba(25,211,138,.07); }
.rh-path span { color: var(--muted); line-height: 1.4; } .rh-path em { font-style: normal; font-weight: 700; color: var(--accent); margin-top: auto; }
@media (max-width: 480px) { .rh-paths { grid-template-columns: 1fr; } }
/* Copilot: ask box + answers; settings card below the feed */
.bot-set-card { margin-top: 18px; }
#cpSlot .copilot { margin: 18px 0 0; }
.cp-ask { display: flex; gap: 8px; margin: 2px 0 8px; }
.cp-ask input { flex: 1; min-width: 0; border-radius: 12px; padding: 10px 12px; font-size: 14px; background: rgba(0,0,0,.35); }
.cp-ask .cp-mic { white-space: nowrap; flex: none; }
.cp-ask .cp-mic.on { border-color: #ef4444; color: #fecaca; box-shadow: 0 0 0 3px rgba(239,68,68,.18); animation: micPulse 1.2s ease-in-out infinite; }
@keyframes micPulse { 50% { box-shadow: 0 0 0 6px rgba(239,68,68,.08); } }
@media (prefers-reduced-motion: reduce) { .cp-ask .cp-mic.on { animation: none; } }
.cp-chips { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 6px; scrollbar-width: none; }
.cp-chips::-webkit-scrollbar { display: none; }
.cp-chips .chip { white-space: nowrap; font-size: 12px; padding: 6px 11px; }
.cp-answer { margin: 4px 0 10px; display: grid; gap: 6px; }
.cp-q { justify-self: end; max-width: 85%; background: rgba(255,255,255,.07); border-radius: 14px 14px 4px 14px; padding: 8px 12px; font-size: 13.5px; }
.cp-a { max-width: 92%; background: linear-gradient(135deg, rgba(25,211,138,.18), rgba(15,184,201,.12)); border: 1px solid rgba(25,211,138,.35); border-radius: 14px 14px 14px 4px; padding: 10px 12px; font-size: 14.5px; line-height: 1.5; color: #f0fff8; }
.cp-a.typing { display: inline-flex; gap: 5px; width: max-content; }
.cp-a.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: dot 1s infinite; }
.cp-a.typing span:nth-child(2) { animation-delay: .15s; } .cp-a.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 50% { opacity: .25; transform: translateY(-3px); } }
/* owner: engine live panel */
.eng { margin-bottom: 18px; border-color: rgba(25,211,138,.35); }
.eng-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; margin: 14px 0 10px; }
.eng-kpis > div { background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.06); border-radius: 12px; padding: 9px 11px; }
.eng-kpis > div.bad { border-color: rgba(255,92,108,.5); }
.eng-kpis span { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--dim); }
.eng-kpis b { font-size: 16px; }
.eng-feeds { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; } .eng-feeds .pill { font-size: 11.5px; }
.eng-h { margin: 16px 0 6px; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.eng-users { display: grid; gap: 4px; max-height: 220px; overflow-y: auto; }
.eng-u { display: grid; grid-template-columns: minmax(0, 1.6fr) 60px 70px 80px auto; gap: 8px; font-size: 12.5px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.eng-u b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eng-log { max-height: 320px; overflow-y: auto; font-size: 12px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; background: rgba(0,0,0,.3); border-radius: 12px; padding: 8px; }
.eng-l { display: grid; grid-template-columns: 70px 58px minmax(0, 1fr); gap: 8px; padding: 4px 2px; border-bottom: 1px solid rgba(255,255,255,.04); }
.eng-l em { font-style: normal; color: var(--accent2); } .eng-l.error span:last-child { color: var(--red); } .eng-l.warn span:last-child { color: var(--amber); }
@media (max-width: 480px) { .eng-u { grid-template-columns: minmax(0, 1fr) 60px 64px; } .eng-u > :nth-child(2), .eng-u > :nth-child(5) { display: none; } }

/* Copilot · big picture strip */
.cp-outlook { margin: 12px 0 4px; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.07); }
.cp-outlook .ol-h { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted, #8b95a7); margin-bottom: 6px; font-weight: 700; }
.cp-outlook .ol-row { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; }
.cp-outlook .ol-i { white-space: nowrap; }
.cp-outlook .ol-i small { opacity: .65; }
.cp-outlook .ol-i.up { color: var(--green, #34d399); }
.cp-outlook .ol-i.down { color: var(--red, #f87171); }
.cp-outlook .ol-i.amber { color: var(--amber, #fbbf24); }
.cp-outlook .ol-i.dim { color: var(--text, #e6e9ef); opacity: .85; }

/* Brain (owner) */
.brain .brain-l { display: flex; flex-wrap: wrap; gap: 6px; }
.brain .brain-cal { display: grid; gap: 4px; font-size: 12px; }
.brain .cal { display: grid; grid-template-columns: 70px 1fr 44px 44px; align-items: center; gap: 8px; }
.brain .cal i { display: block; height: 8px; border-radius: 6px; background: linear-gradient(90deg, var(--accent, #34d399), #14b8a6); }
.brain .cal b, .brain .cal em { text-align: right; font-style: normal; }
.sig .prob.up { color: var(--green, #34d399); font-weight: 700; }
.brain > .row { flex-wrap: wrap; gap: 8px; }

/* Positions — detail line, closed tab */
.prow .c-num b { font-weight: 800; }
.prow .c-usd { display: block; font-size: 11px; opacity: .8; font-weight: 600; }
.prow .pdet, .prow.closed-row .pmeta { grid-column: 1 / -1; }
.pdet { margin: 6px 0 2px; }
.pbar { position: relative; height: 6px; border-radius: 6px; background: linear-gradient(90deg, rgba(248,113,113,.35), rgba(255,255,255,.08) 45%, rgba(52,211,153,.35)); }
.pbar .z { position: absolute; top: -2px; width: 2px; height: 10px; background: rgba(255,255,255,.5); }
.pbar .k { position: absolute; top: -3px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(0,0,0,.4); }
.pbar .k.up { background: var(--green, #34d399); } .pbar .k.down { background: var(--red, #f87171); }
.pmeta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; margin-top: 6px; opacity: .92; }
.pmeta b { font-weight: 800; }
.pmeta .up { color: var(--green, #34d399); } .pmeta .down { color: var(--red, #f87171); }
.prow.closed-row .c-sym small { display: block; font-size: 11px; }
/* Your instructions */
.ins-card { margin: 4px 0 16px; padding: 14px; border-radius: 16px; border: 1px solid rgba(52,211,153,.25); background: rgba(52,211,153,.05); }
.ins-card .ins-top { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.ins-card textarea { width: 100%; border-radius: 12px; padding: 10px 12px; background: rgba(0,0,0,.25); color: inherit; border: 1px solid rgba(255,255,255,.12); font: inherit; resize: vertical; }
.ins-prev, .ins-now { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.04); }
.ins-h { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 800; opacity: .75; margin-bottom: 6px; }
.ins-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; font-weight: 600; font-size: 14px; }

.brain .evo-top { display: flex; gap: 16px; align-items: center; margin-bottom: 12px; }
.brain .evo-ring { --p: 0; flex: 0 0 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; align-content: center;
  background: radial-gradient(closest-side, var(--bg2, #0e131b) 78%, transparent 80% 100%), conic-gradient(var(--accent, #34d399) calc(var(--p) * 1%), rgba(255,255,255,.08) 0); }
.brain .evo-ring b { font-size: 24px; font-weight: 900; line-height: 1; }
.brain .evo-ring span { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; opacity: .7; }
.brain .evo-t { display: grid; gap: 2px; font-size: 12px; }
.brain .evo-r { display: grid; grid-template-columns: 1.4fr .8fr .8fr .8fr 1fr; gap: 6px; padding: 3px 0; border-bottom: 1px solid rgba(255,255,255,.05); }
.brain .evo-r.head { font-size: 10px; text-transform: uppercase; opacity: .6; letter-spacing: .06em; }
.brain .evo-r span, .brain .evo-r b { text-align: right; } .brain .evo-r span:first-child { text-align: left; }

/* ---------- 2026-09-27.15 · bold settings: budget card + −/+ tiles ---------- */
.bot-settings > .money-card, .bot-settings > .tiles3 { grid-column: 1 / -1; }
.money-card { position: relative; padding: 18px 18px 16px; border-radius: 22px; background:
  radial-gradient(120% 140% at 0% 0%, rgba(25,211,138,.18), transparent 55%), linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  border: 1px solid rgba(25,211,138,.35); box-shadow: 0 20px 50px -30px rgba(25,211,138,.6), inset 0 1px 0 rgba(255,255,255,.06); }
.mc-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.mc-top span { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.mc-top em { font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--accent); }
.mc-amt { display: flex; align-items: baseline; gap: 4px; margin: 6px 0 12px; cursor: text; }
.mc-amt span { font-family: var(--display); font-size: 34px; font-weight: 800; color: var(--accent); }
.mc-amt input { all: unset; background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; width: 100%; min-width: 0; font-family: var(--display); font-size: clamp(40px, 11vw, 58px); font-weight: 800; letter-spacing: -.03em; line-height: 1;
  color: #fff; font-variant-numeric: tabular-nums; text-shadow: 0 0 30px rgba(25,211,138,.35); }
.mc-amt input::-webkit-inner-spin-button, .mc-amt input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.mc-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.mc-chips::-webkit-scrollbar { display: none; }
.mc-chip { flex: none; padding: 9px 14px; border-radius: 99px; border: 1px solid var(--line2); background: rgba(0,0,0,.3); color: var(--text); font-weight: 800; font-size: 14px; cursor: pointer; transition: transform .15s, background .2s, border-color .2s; }
.mc-chip:active { transform: scale(.94); }
.mc-chip.on { background: linear-gradient(135deg, var(--accent), var(--accent2)); color: var(--accent-ink); border-color: transparent; box-shadow: 0 6px 20px -6px rgba(25,211,138,.7); }
.mc-foot { margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.tiles3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.stp { --tone: var(--accent); display: flex; flex-direction: column; gap: 6px; padding: 14px 12px 12px; border-radius: 18px; background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
  border: 1px solid var(--line2); position: relative; overflow: hidden; }
.stp::before { content: ''; position: absolute; inset: 0 0 auto; height: 3px; background: var(--tone); opacity: .9; }
.stp.down { --tone: var(--red); } .stp.warn { --tone: var(--amber); }
.stp-l { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); line-height: 1.25; min-height: 2.5em; }
.stp-v { font-family: var(--display); font-size: clamp(21px, 6.2vw, 34px); white-space: nowrap; font-weight: 800; letter-spacing: -.02em; color: var(--tone); line-height: 1; }
.stp-b { display: flex; justify-content: space-between; gap: 8px; margin-top: 2px; }
.stp-bar { display: block; height: 5px; border-radius: 5px; background: var(--line2); overflow: hidden; margin-top: 4px; }
.stp-bar u { display: block; height: 100%; background: var(--tone); border-radius: 5px; box-shadow: 0 0 10px var(--tone); transition: width .3s cubic-bezier(.2,.9,.3,1); }
.stp-b button { flex: 1; max-width: 64px; height: 38px; border-radius: 12px; border: 1px solid var(--line2); background: rgba(0,0,0,.35); color: #fff; font-size: 20px; font-weight: 800; line-height: 1; cursor: pointer; transition: transform .12s, border-color .2s; }
.stp-b button:active:not(:disabled) { transform: scale(.9); border-color: var(--tone); }
.stp-b button:disabled { opacity: .3; cursor: default; }
.stp-b i { flex: 1; height: 5px; border-radius: 5px; background: var(--line2); overflow: hidden; }
.stp-b u { display: block; height: 100%; background: var(--tone); border-radius: 5px; transition: width .3s cubic-bezier(.2,.9,.3,1); }
@media (max-width: 420px) { .tiles3 { gap: 8px; } .stp { padding: 12px 9px 10px; } .stp-b { gap: 6px; } .stp-b button { height: 34px; font-size: 18px; border-radius: 10px; } }
/* preset icons: premium line icons in a glowing tile instead of emojis */
.risk .ri { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 10px; font-size: 0;
  background: linear-gradient(145deg, rgba(25,211,138,.16), rgba(25,211,138,.03)); border: 1px solid rgba(25,211,138,.3); }
.risk .ri svg { width: 20px; height: 20px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.risk.on .ri { background: linear-gradient(135deg, var(--accent), var(--accent2)); border-color: transparent; box-shadow: 0 8px 22px -8px rgba(25,211,138,.8); }
.risk.on .ri svg { stroke: var(--accent-ink); }
.risk-sw { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 980px) { .risk-sw { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .risk-sw { grid-template-columns: repeat(2, 1fr); } }
/* brain: luxury chart + calibration */
.bc-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 10px; }
.bc-tiles div { padding: 12px 10px; border-radius: 16px; background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01)); border: 1px solid var(--line2); }
.bc-tiles span { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.bc-tiles b { display: block; margin-top: 4px; font-family: var(--display); font-size: clamp(17px, 4.8vw, 24px); font-weight: 800; letter-spacing: -.02em; }
@media (max-width: 420px) { .bc-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bc { color: var(--accent); border-radius: 18px; padding: 10px 10px 8px; background: radial-gradient(120% 120% at 50% 0%, rgba(25,211,138,.10), transparent 70%), rgba(0,0,0,.25); border: 1px solid var(--line2); }
.bc.down { color: var(--red); background: radial-gradient(120% 120% at 50% 0%, rgba(239,68,68,.10), transparent 70%), rgba(0,0,0,.25); }
.bc svg { width: 100%; height: 130px; display: block; overflow: visible; }
.bc .zero { stroke: var(--line2); stroke-dasharray: 3 4; }
.bc .pl { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 0 6px currentColor); vector-effect: non-scaling-stroke; }
.bc .wr { fill: none; stroke: #9fb3c8; stroke-width: 1.6; stroke-dasharray: 4 3; vector-effect: non-scaling-stroke; }
.bc .dot { fill: currentColor; filter: drop-shadow(0 0 8px currentColor); }
.bc-leg { display: flex; gap: 14px; flex-wrap: wrap; font-size: 11.5px; margin-top: 6px; color: var(--muted); }
.bc-leg .k::before { content: ''; display: inline-block; width: 14px; height: 3px; border-radius: 3px; margin-right: 6px; vertical-align: middle; background: currentColor; }
.bc-leg .k.pl { color: inherit; } .bc-leg .k.wr { color: #9fb3c8; } .bc-leg .dim { margin-left: auto; }
.cal2 { display: grid; grid-template-columns: 62px 1fr 44px 34px; gap: 10px; align-items: center; padding: 7px 0; font-size: 13px; }
.cal2 > span { color: var(--muted); font-weight: 700; }
.cal2 i { position: relative; height: 12px; border-radius: 12px; background: var(--line2); overflow: visible; }
.cal2 u { display: block; height: 100%; border-radius: 12px; background: linear-gradient(90deg, var(--accent2), var(--accent)); box-shadow: 0 0 14px rgba(25,211,138,.35); transition: width .6s cubic-bezier(.2,.9,.3,1); }
.cal2.off u { background: linear-gradient(90deg, #b45309, var(--amber)); box-shadow: 0 0 14px rgba(245,158,11,.3); }
.cal2 s { position: absolute; top: -4px; bottom: -4px; width: 2px; background: #fff; opacity: .8; border-radius: 2px; }
.cal2 b { text-align: right; font-weight: 800; } .cal2 em { font-style: normal; text-align: right; color: var(--muted); font-size: 11.5px; }
/* test customer */
.qa-tips { display: grid; gap: 8px; }
.qa-tip { --c: var(--accent); display: flex; gap: 10px; align-items: flex-start; padding: 11px 12px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid var(--line2); font-size: 13.5px; line-height: 1.4; }
.qa-tip i { flex: none; width: 8px; height: 8px; border-radius: 50%; margin-top: 6px; background: var(--c); box-shadow: 0 0 10px var(--c); }
.qa-tip.red { --c: var(--red); } .qa-tip.amber { --c: var(--amber); } .qa-tip.blue { --c: #60a5fa; }
.qa-ok { padding: 14px; border-radius: 14px; border: 1px solid rgba(25,211,138,.35); background: rgba(25,211,138,.08); color: var(--accent); font-weight: 700; }
.qa-steps { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.qa-step { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line2); background: rgba(0,0,0,.25); font-size: 13px; }
.qa-step b { grid-column: 1 / -1; font-weight: 800; } .qa-step span { font-weight: 800; } .qa-step em { font-style: normal; color: var(--muted); text-align: right; }
.qa-step.ok { border-left: 3px solid var(--accent); } .qa-step.bad { border-left: 3px solid var(--red); } .qa-step.bad span { color: var(--red); }
.bc.up .bc-leg .k.pl::before { background: var(--accent); } .bc.down .bc-leg .k.pl::before { background: var(--red); }
.news-syms { display: flex; flex-wrap: wrap; gap: 6px; }
.news-syms .pill { margin: 0; }
.news-item.fresh .t::before { content: 'LIVE'; display: inline-block; margin-right: 8px; padding: 1px 6px; border-radius: 6px; font-size: 10px; font-weight: 900; letter-spacing: .08em; color: var(--accent-ink); background: var(--accent); }
.bot-settings > .rr-note { grid-column: 1 / -1; margin-top: -6px; font-size: 12.5px; color: var(--amber); }
.cp-ask .cp-mic.think { border-color: var(--accent); color: var(--accent); }
.mc-range { margin: 2px 0 2px; height: 12px; }
.mc-range::-webkit-slider-thumb { width: 34px; height: 34px; }
.mc-ends { display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; color: var(--muted); margin-bottom: 12px; }

/* ---------- presets: bold, elegant cards (color-coded, swipeable on phones) ---------- */
.pz-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.pz { --c: var(--accent); position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; text-align: left; cursor: pointer; font: inherit; color: var(--text);
  padding: 16px 14px 14px; border-radius: 20px; border: 1px solid rgba(255,255,255,.08);
  background: radial-gradient(140% 100% at 0% 0%, color-mix(in srgb, var(--c) 14%, transparent), transparent 60%), linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
  transition: transform .2s cubic-bezier(.2,.9,.3,1.2), border-color .2s, box-shadow .25s; }
.pz:active { transform: scale(.97); }
.pz.on { border-color: color-mix(in srgb, var(--c) 70%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--c) 60%, transparent) inset, 0 18px 40px -18px color-mix(in srgb, var(--c) 80%, transparent); transform: translateY(-2px); }
.pz em { position: absolute; top: -9px; right: 12px; font-style: normal; font-size: 9.5px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border-radius: 99px; background: var(--c); color: #04110b; }
.pz-ic { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 14%, transparent); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); }
.pz-ic svg { width: 21px; height: 21px; fill: none; stroke: var(--c); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.pz.on .pz-ic { background: var(--c); border-color: transparent; box-shadow: 0 8px 22px -8px var(--c); } .pz.on .pz-ic svg { stroke: #04110b; }
.pz-name { font-family: var(--display); font-size: 18px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.pz-st { display: flex; gap: 6px; } .pz-st b { font-size: 12px; font-weight: 800; padding: 3px 7px; border-radius: 8px; font-variant-numeric: tabular-nums; }
.pz-st .up { color: var(--accent); background: rgba(25,211,138,.12); } .pz-st .dn { color: var(--red); background: rgba(239,68,68,.12); }
.pz-tag { font-size: 11.5px; color: var(--muted); line-height: 1.3; }
@media (max-width: 760px) {
  /* phones: a steady 2-column grid (no sideways swiping); the 5th card spans the full width */
  .pz-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pz:last-child { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 12px; }
  .pz:last-child .pz-tag { flex-basis: 100%; }
}
.mode-sw .mode b { font-family: var(--display); letter-spacing: -.01em; }
.money-card .mc-amt input, .money-card .mc-amt input:focus { background: none !important; background-color: transparent !important; border: 0 !important; box-shadow: none !important; outline: none; }

/* tile sliders: drag to change, −/+ for fine steps */
.stp .stp-range { margin: 6px 0 2px; height: 8px; }
.stp .stp-range::-webkit-slider-thumb { width: 26px; height: 26px; border-color: var(--tone); box-shadow: 0 0 0 5px color-mix(in srgb, var(--tone) 18%, transparent), 0 4px 12px rgba(0,0,0,.5); }
.stp .stp-range::-moz-range-thumb { width: 22px; height: 22px; border-color: var(--tone); }
.stp .stp-range { background: linear-gradient(90deg, var(--tone) 0 var(--p), var(--line2) var(--p) 100%); }
.stp-b button { height: 42px; font-size: 22px; }
.mc-chip { font-variant-numeric: tabular-nums; }
.cp-rate { display: flex; gap: 6px; margin-top: 8px; } .cp-rate button { border: 1px solid var(--line2); background: rgba(0,0,0,.25); border-radius: 10px; padding: 4px 10px; font-size: 15px; cursor: pointer; }
.cp-rate button:active { transform: scale(.92); } .cp-rate em { font-style: normal; font-size: 12px; color: var(--muted); }
/* market map */
.mmap-leg { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 11.5px; margin: 8px 0 10px; color: var(--muted); }
.mmap-leg .sw { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 4px; vertical-align: -2px; }
.mmap-leg .sw.dn { background: #b91c1c; } .mmap-leg .sw.fl { background: #1f2a37; } .mmap-leg .sw.up { background: #059669; }
.mmap { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 54px; grid-auto-flow: dense; gap: 5px; }
.mt { --k: 0; position: relative; overflow: hidden; border-radius: 10px; padding: 7px 8px; display: flex; flex-direction: column; justify-content: space-between;
  background: color-mix(in srgb, color-mix(in srgb, #059669 calc(max(var(--k), 0) * 100%), #b91c1c calc(max(calc(var(--k) * -1), 0) * 100%)) calc(25% + (max(var(--k), calc(var(--k) * -1)) * 75%)), #121a24);
  border: 1px solid rgba(255,255,255,.06); transition: transform .2s; }
.mt b { font-size: 12px; font-weight: 900; letter-spacing: .02em; color: #fff; } .mt span { font-size: 11px; font-weight: 700; color: rgba(255,255,255,.85); }
.mt i { position: absolute; left: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.55); }
.mt.m { grid-column: span 2; } .mt.l { grid-column: span 2; grid-row: span 2; } .mt.l b { font-size: 17px; } .mt.l span { font-size: 14px; }
.mt.held { box-shadow: 0 0 0 2px #fff inset, 0 0 16px rgba(255,255,255,.25); }
@media (max-width: 420px) { .mmap { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 50px; } }

/* ---------- connect page: brokers as glowing product cards ---------- */
.brokers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
@media (max-width: 900px) { .brokers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .brokers { grid-template-columns: minmax(0, 1fr); } }
.bk { --c: var(--accent); position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 26px 20px 20px; border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.01)); border: 1px solid color-mix(in srgb, var(--c) 28%, rgba(255,255,255,.06));
  box-shadow: 0 24px 60px -34px color-mix(in srgb, var(--c) 70%, transparent); transition: transform .25s cubic-bezier(.2,.9,.3,1.2), box-shadow .25s; }
.bk:hover { transform: translateY(-3px); box-shadow: 0 30px 70px -30px color-mix(in srgb, var(--c) 85%, transparent); }
.bk-glow { position: absolute; inset: -40% -20% auto; height: 70%; background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 35%, transparent), transparent); filter: blur(10px); opacity: .75; pointer-events: none; animation: bkGlow 6s ease-in-out infinite; }
@keyframes bkGlow { 50% { opacity: .45; transform: scale(1.08); } }
@media (prefers-reduced-motion: reduce) { .bk-glow { animation: none; } }
.bk-mono { position: relative; width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: linear-gradient(145deg, var(--c), color-mix(in srgb, var(--c) 45%, #000));
  box-shadow: 0 12px 30px -10px var(--c), inset 0 1px 0 rgba(255,255,255,.35); }
.bk-mono span { font-family: var(--display); font-size: 30px; font-weight: 900; color: #0b0f14; letter-spacing: -.04em; }
.bk-name { position: relative; margin: 4px 0 0; font-family: var(--display); font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.bk .pill { position: relative; }
.bk-d { position: relative; margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.45; max-width: 30ch; }
.bk-tags { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.bk-tags span { font-size: 11px; font-weight: 800; letter-spacing: .03em; padding: 4px 9px; border-radius: 99px; color: color-mix(in srgb, var(--c) 85%, #fff); background: color-mix(in srgb, var(--c) 12%, transparent); border: 1px solid color-mix(in srgb, var(--c) 30%, transparent); }
.bk-cta { position: relative; width: 100%; margin-top: 6px; display: flex; justify-content: center; }
.bk-cta .btn { width: 100%; max-width: 260px; justify-content: center; padding: 13px 18px; font-size: 15px; border-radius: 14px; }
.bk-cta .btn.primary { background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 60%, #19d38a)); color: #0b0f14; box-shadow: 0 10px 26px -10px var(--c); border: 0; }
.bk-cta .pill { font-size: 13px; padding: 8px 14px; }
.bk.is-linked { border-color: color-mix(in srgb, var(--c) 70%, transparent); }
.bk.is-linked::after { content: '✓'; position: absolute; top: 14px; right: 16px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 14px; background: var(--c); color: #0b0f14; }
.bk.soon { opacity: .6; }
/* bot header: broker chip + live market counts */
.bot-h { font-family: var(--display); letter-spacing: -.03em; background: linear-gradient(180deg, #fff, #b7c6d8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.acct-chip { --c: var(--accent); display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; padding: 5px 12px 5px 5px; border-radius: 99px; border: 1px solid color-mix(in srgb, var(--c) 45%, transparent);
  background: color-mix(in srgb, var(--c) 10%, transparent); font-size: 12.5px; font-weight: 800; }
.acct-chip i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 900; font-size: 12px; color: #0b0f14; background: var(--c); box-shadow: 0 0 12px color-mix(in srgb, var(--c) 60%, transparent); }
.acct-chip.live { box-shadow: 0 0 0 1px color-mix(in srgb, var(--c) 30%, transparent), 0 6px 20px -8px var(--c); }
.scan-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.scan-chips span { font-size: 12px; color: var(--muted); padding: 4px 10px; border-radius: 99px; background: rgba(255,255,255,.04); border: 1px solid var(--line2); }
.scan-chips b { color: #fff; font-variant-numeric: tabular-nums; margin-right: 2px; }
/* one "brain" card: Live feed | Bot settings tabs */
.cp-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin: -4px 0 14px; border-radius: 14px; background: rgba(0,0,0,.35); border: 1px solid var(--line2); }
.cp-tab { border: 0; background: transparent; color: var(--muted); font: inherit; font-weight: 800; font-size: 14px; padding: 10px 8px; border-radius: 11px; cursor: pointer; transition: background .2s, color .2s; }
.cp-tab.on { background: linear-gradient(135deg, var(--accent), var(--accent2)); color: var(--accent-ink); box-shadow: 0 6px 18px -8px rgba(25,211,138,.8); }
body:not(.tab-set) .bot-set-card { display: none; }
body.tab-set #copilot .cp-ask, body.tab-set #copilot .cp-chips, body.tab-set #copilot .cp-outlook, body.tab-set #copilot .cp-answer, body.tab-set #copilot .cp-feed, body.tab-set #copilot .cp-head { display: none !important; }
body.tab-set #copilot { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; margin-bottom: 0; padding-bottom: 6px; }
body.tab-set .bot-set-card { margin-top: 0 !important; border-top-left-radius: 0; border-top-right-radius: 0; border-top: 0; }
body.tab-set .bot-set-card > h3:first-child { display: none; }
/* connected accounts: small premium cards */
.cc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 560px) { .cc-grid { grid-template-columns: minmax(0, 1fr); } }
.cc { --c: var(--accent); position: relative; padding: 16px; border-radius: 20px; background: radial-gradient(120% 120% at 0% 0%, color-mix(in srgb, var(--c) 14%, transparent), transparent 60%), rgba(255,255,255,.025);
  border: 1px solid color-mix(in srgb, var(--c) 30%, rgba(255,255,255,.06)); }
.cc.in-use { border-color: color-mix(in srgb, var(--c) 75%, transparent); box-shadow: 0 18px 44px -24px var(--c); }
.cc-top { display: flex; align-items: center; gap: 12px; }
.bk-mono.sm { width: 44px; height: 44px; border-radius: 14px; flex: none; } .bk-mono.sm span { font-size: 21px; }
.cc-id { display: flex; flex-direction: column; gap: 3px; min-width: 0; } .cc-id b { font-family: var(--display); font-size: 17px; letter-spacing: -.01em; }
.cc-mode { align-self: flex-start; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 2px 8px; border-radius: 99px; color: #93c5fd; background: rgba(59,130,246,.14); }
.cc-mode.live { color: #fecaca; background: rgba(239,68,68,.16); }
.cc-on { margin-left: auto; font-size: 12px; font-weight: 800; color: var(--c); white-space: nowrap; }
.cc-warn { margin-top: 10px; font-size: 12.5px; color: var(--amber); }
.cc-act { display: flex; gap: 8px; margin-top: 14px; } .cc-act .btn { flex: 1; justify-content: center; }
.acct-mini { --c: var(--accent); font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 99px; color: var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); white-space: nowrap; }
/* premium surface for every page card (settings, owner, connect, dashboard) */
.page .card { border-radius: 22px; background: radial-gradient(140% 90% at 0% 0%, rgba(25,211,138,.06), transparent 55%), linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
  border: 1px solid rgba(255,255,255,.07); box-shadow: 0 24px 60px -40px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.04); }
.page .card > h3, .page .card .row > h3 { font-family: var(--display); letter-spacing: -.02em; }
.page-head h1 { font-family: var(--display); letter-spacing: -.035em; background: linear-gradient(180deg, #fff, #9fb3c8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kpis .card.kpi { text-align: left; } .kpis .card.kpi .value { font-family: var(--display); font-size: clamp(22px, 5vw, 30px); letter-spacing: -.02em; }
.kpis .card.kpi .label { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ===== v.21: exact-value tiles, quick start, rules in chat, funds alert, speed, markets, notes ===== */
.stp-v { display: flex; align-items: baseline; gap: 1px; cursor: text; }
.stp-v em { font-style: normal; font-size: .62em; opacity: .85; }
.stp-in { all: unset; min-width: 1.3ch; max-width: 5ch; font: inherit; color: inherit; text-align: left; }
.stp-in:focus { border-bottom: 2px solid var(--tone); }
.qs { margin: 14px 0 4px; padding: 14px 16px 12px; border-radius: 18px; border: 1px solid rgba(25,211,138,.28);
  background: radial-gradient(120% 140% at 0% 0%, rgba(25,211,138,.14), transparent 60%), rgba(8,12,16,.6); }
.qs-top { display: flex; justify-content: space-between; align-items: baseline; }
.qs-top span { font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.qs-top b { font-family: var(--display); font-size: 30px; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.qs-range { height: 12px; margin: 10px 0 12px; }
.qs-range::-webkit-slider-thumb { width: 34px; height: 34px; }
.qs-steps { display: flex; gap: 6px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.qs-steps span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 5px; border-radius: 99px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.qs-steps i { font-style: normal; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 900; background: var(--accent); color: var(--accent-ink); }
.cp-rules { margin: 10px 0 2px; }
.cr-h { display: flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cr-x { background: none; border: 1px solid var(--line2); color: var(--muted); border-radius: 99px; padding: 4px 10px; font: inherit; font-size: 11px; letter-spacing: .06em; cursor: pointer; }
.cr-x:hover { color: var(--red); border-color: var(--red); }
.cr-list { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.cr-list span { font-size: 12.5px; padding: 6px 10px; border-radius: 10px; background: rgba(25,211,138,.08); border: 1px solid rgba(25,211,138,.25); color: #d5f7e8; }
.cr-hint { font-size: 12.5px; color: var(--muted); padding: 9px 12px; border-radius: 12px; border: 1px dashed var(--line2); }
.fund-bn { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin: 0 0 14px; border-radius: 16px; border: 1px solid rgba(255,181,71,.35);
  background: linear-gradient(90deg, rgba(255,181,71,.12), rgba(255,181,71,.03)); font-size: 13.5px; }
.fund-bn > b { flex: none; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: var(--amber); color: #1b1203; font-size: 18px; font-weight: 900; }
.fund-bn span { flex: 1; } .fund-bn .btn { flex: none; }
.fund-bn.bad { border-color: rgba(255,92,108,.45); background: linear-gradient(90deg, rgba(255,92,108,.14), rgba(255,92,108,.03)); }
.fund-bn.bad > b { background: var(--red); color: #fff; }
.fund-sheet { text-align: center; }
.fund-ic { width: 64px; height: 64px; margin: 4px auto 12px; border-radius: 20px; display: grid; place-items: center; font-size: 30px; font-weight: 900; font-family: var(--display); }
.fund-ic.bad { background: rgba(255,92,108,.15); color: var(--red); box-shadow: 0 0 40px rgba(255,92,108,.35); }
.fund-ic.warn { background: rgba(255,181,71,.15); color: var(--amber); box-shadow: 0 0 40px rgba(255,181,71,.3); }
.fund-row { display: flex; justify-content: space-between; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--line); margin-bottom: 8px; text-align: left; }
.fund-row b { font-size: 18px; } .fund-row.dim b { color: var(--muted); }
.fund-sheet .btn.lg { margin-top: 8px; }
.set-sec { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.set-h { font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.speed-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.speed-seg button { --c: var(--accent); text-align: left; padding: 11px 12px; border-radius: 14px; border: 1px solid var(--line2); background: rgba(12,16,22,.6); color: var(--text); font: inherit; cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .12s; }
.speed-seg button:active { transform: scale(.97); }
.speed-seg b { display: block; font-size: 14px; } .speed-seg small { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; line-height: 1.3; }
.speed-seg button.on { border-color: var(--c); box-shadow: 0 0 0 1px var(--c) inset, 0 0 26px -6px var(--c); background: color-mix(in srgb, var(--c) 9%, transparent); }
.speed-seg button.on b { color: var(--c); }
.mk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mk { --c: var(--accent); position: relative; display: flex; align-items: center; gap: 10px; padding: 12px 30px 12px 12px; border-radius: 16px; border: 1px solid var(--line2); background: rgba(12,16,22,.55); cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .12s; }
.mk:active { transform: scale(.97); }
.mk i { flex: none; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; font-style: normal; font-weight: 900; font-size: 16px; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); }
.mk b { display: block; font-size: 14px; } .mk small { display: block; font-size: 11.5px; color: var(--muted); line-height: 1.3; }
.mk em { position: absolute; top: 10px; right: 10px; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--line2); }
.mk.on { border-color: var(--c); box-shadow: 0 0 0 1px var(--c) inset, 0 10px 30px -14px var(--c); }
.mk.on em { background: var(--c); border-color: var(--c); box-shadow: 0 0 10px var(--c); }
.mk.on em::after { content: ''; position: absolute; left: 4.5px; top: 1.5px; width: 4px; height: 8px; border: solid #0b0f14; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.note-lux { position: relative; font-size: 12.5px; line-height: 1.45; color: var(--muted); padding: 10px 12px 10px 14px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.note-lux::before { content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: var(--accent); }
.note-lux b { display: block; color: var(--text); font-size: 12px; letter-spacing: .04em; margin-bottom: 2px; }
.note-lux.amber { background: rgba(255,181,71,.06); border-color: rgba(255,181,71,.22); }
.note-lux.amber::before { background: var(--amber); } .amber-t { color: var(--amber); }
.toggle-row small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.ai-line { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.ai-line i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.acct-sel { --c: var(--accent); position: relative; display: flex; align-items: center; border-radius: 14px; border: 1px solid color-mix(in srgb, var(--c) 45%, var(--line2)); background: rgba(12,16,22,.6); box-shadow: 0 0 24px -12px var(--c); }
.acct-sel i { flex: none; width: 10px; height: 10px; border-radius: 50%; margin-left: 14px; background: var(--c); box-shadow: 0 0 10px var(--c); }
.acct-sel select { flex: 1; border: 0 !important; background: transparent !important; box-shadow: none !important; font-weight: 700; padding: 13px 12px; }
.mode-sw { margin-top: 14px; }
.mode { border-radius: 16px; padding: 14px; background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); }
.mode b { font-size: 16px; letter-spacing: -.01em; }
.prefs { display: flex; flex-direction: column; gap: 10px; }
.prefs h3 { margin-bottom: 4px; }
.pref-l b { display: block; font-size: 14px; } .pref-l small { font-size: 12px; color: var(--muted); }
.danger-zone { border-color: rgba(255,92,108,.3) !important; background: linear-gradient(180deg, rgba(255,92,108,.06), transparent 60%), var(--card) !important; }
.danger-zone h3 { color: var(--red); }
.dz-list { margin: 0 0 14px; padding-left: 18px; color: var(--muted); font-size: 13px; }
.dz-list li { margin: 3px 0; }
@media (max-width: 520px) { .speed-seg small { font-size: 10.5px; } .speed-seg button { padding: 10px; } .mk small { font-size: 11px; } }
/* Big picture · 24h */
.cp-outlook { padding: 14px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.005)); margin: 10px 0; display: flex; flex-direction: column; gap: 10px; }
.bp-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bp-h { font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.bp-breadth { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.bp-breadth i { width: 70px; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--accent) var(--p), var(--red) var(--p)); opacity: .9; }
.bp-lead { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.bp-lead::-webkit-scrollbar { display: none; }
.bp-chip { flex: none; display: flex; flex-direction: column; gap: 1px; padding: 8px 11px; border-radius: 12px; background: rgba(0,0,0,.28); border: 1px solid var(--line); min-width: 74px; }
.bp-chip b { font-size: 12.5px; } .bp-chip .num { font-size: 13.5px; font-weight: 800; } .bp-chip small { font-size: 10.5px; color: var(--dim); }
.bp-chip.up { border-color: rgba(25,211,138,.25); } .bp-chip.down { border-color: rgba(255,92,108,.25); }
.bp-movers { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bp-movers > div { display: flex; flex-direction: column; gap: 4px; }
.bp-movers small { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); font-weight: 800; }
.bp-mv { display: flex; justify-content: space-between; font-size: 13px; padding: 5px 9px; border-radius: 9px; background: rgba(255,255,255,.03); }
.bp-mood { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.bp-mood b { display: block; font-size: 13px; } .bp-mood small { display: block; font-size: 12px; color: var(--muted); line-height: 1.4; }
.bp-g { --gc: var(--amber); flex: none; width: 46px; height: 46px; border-radius: 50%; position: relative; background: conic-gradient(var(--gc) var(--p), rgba(255,255,255,.08) 0); mask: radial-gradient(circle, transparent 55%, #000 57%); -webkit-mask: radial-gradient(circle, transparent 55%, #000 57%); }
.bp-mood.xfear .bp-g, .bp-mood.fear .bp-g { --gc: var(--red); } .bp-mood.greed .bp-g, .bp-mood.xgreed .bp-g { --gc: var(--accent); }
.bp-mood.xfear b, .bp-mood.fear b { color: var(--red); } .bp-mood.greed b, .bp-mood.xgreed b { color: var(--accent); }
.bp-ev { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.bp-ev i { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); } .bp-ev.amber i { background: var(--amber); box-shadow: 0 0 8px var(--amber); }
.bp-nh { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); font-weight: 800; margin-top: 2px; }
.bp-news { display: flex; flex-direction: column; gap: 2px; padding: 9px 11px; border-radius: 12px; background: rgba(0,0,0,.22); border: 1px solid var(--line); color: var(--text); text-decoration: none !important; }
.bp-news span { font-size: 13px; font-weight: 600; line-height: 1.35; } .bp-news small { font-size: 11px; color: var(--dim); }
a.bp-news[href]:hover { border-color: var(--line2); }
/* owner improvement center */
.imp { border-color: rgba(25,211,138,.3) !important; background: radial-gradient(120% 80% at 0 0, rgba(25,211,138,.08), transparent 60%), var(--card) !important; }
.funnel { display: flex; flex-direction: column; gap: 6px; }
.fn { display: grid; grid-template-columns: 120px 1fr 44px; gap: 10px; align-items: center; font-size: 13px; }
.fn i { height: 10px; border-radius: 10px; background: rgba(255,255,255,.05); overflow: hidden; }
.fn u { display: block; height: 100%; border-radius: 10px; background: linear-gradient(90deg, var(--accent), var(--accent2)); box-shadow: 0 0 12px rgba(25,211,138,.5); }
.fn b { text-align: right; }
.imp-area { text-transform: uppercase; font-size: 10.5px; letter-spacing: .1em; color: var(--muted); margin-right: 4px; }
.imp-det { margin-top: 10px; } .imp-det summary { cursor: pointer; font-size: 13px; color: var(--muted); }
.tune { display: flex; flex-direction: column; gap: 6px; }
.tn { display: grid; grid-template-columns: 1fr 96px auto; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 12px; border: 1px solid var(--line); background: rgba(0,0,0,.2); font-size: 13px; }
.tn small { display: block; font-size: 11px; color: var(--dim); } .tn input { padding: 7px 8px; font-size: 13px; }
.tn.on { border-color: rgba(25,211,138,.4); }
@media (max-width: 520px) { .fn { grid-template-columns: 90px 1fr 36px; } }

/* ===== v.23 · landing, login, film ===== */
.btn.glow { box-shadow: 0 10px 34px -8px rgba(25,211,138,.75), 0 0 0 1px rgba(255,255,255,.12) inset; animation: glowPulse 2.8s ease-in-out infinite; }
@keyframes glowPulse { 50% { box-shadow: 0 14px 44px -6px rgba(25,211,138,.95), 0 0 0 1px rgba(255,255,255,.2) inset; } }
.btn.glass { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); color: #fff; backdrop-filter: blur(10px); font-weight: 700; }
.btn.glass:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); }
.nav-login { font-weight: 700; color: #fff !important; border: 1px solid rgba(255,255,255,.18) !important; }
@media (max-width: 480px) { .nav .wrap { gap: 8px; } .lang button { padding: 5px 8px !important; font-size: 12px; } .nav-right { gap: 6px; } .nav-right .btn.sm { padding: 8px 10px; font-size: 13px; } }
/* hero */
.hero2 { padding: 64px 0 40px; }
.hero2 .wrap { grid-template-columns: 1.05fr .95fr; }
.hero2 h1 { font-size: clamp(40px, 7.4vw, 76px); line-height: 1.02; letter-spacing: -.045em; margin: 18px 0 16px; font-weight: 800; }
.hero2 h1 em { display: inline-block; }
.hero2 .lead { font-size: clamp(16px, 2.2vw, 19px); color: #b7c3d2; }
.hero2 .ctas .btn.lg { min-width: 150px; font-size: 17px; font-weight: 800; }
.h2-proof { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 18px; font-size: 13.5px; color: #c7d3e0; }
.h2-proof span { display: inline-flex; align-items: center; gap: 6px; }
.h2-proof svg, .fp-row svg, .au-perks svg { width: 16px; height: 16px; fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.h2-stage { position: relative; display: flex; flex-direction: column; gap: 14px; }
.chatmock { position: relative; padding: 16px; border-radius: 24px; background: linear-gradient(180deg, rgba(20,28,38,.92), rgba(9,13,18,.92)); border: 1px solid rgba(25,211,138,.3);
  box-shadow: 0 40px 100px -40px rgba(25,211,138,.6), 0 0 0 1px rgba(255,255,255,.04) inset; display: flex; flex-direction: column; gap: 9px; transform: perspective(1200px) rotateY(-4deg) rotateX(2deg); }
.cm-top { display: flex; align-items: center; gap: 8px; font-size: 13px; } .cm-top i { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.cm-top em { margin-left: auto; font-style: normal; color: var(--accent); font-size: 12px; font-weight: 700; }
.cm-b { max-width: 88%; padding: 10px 13px; border-radius: 16px; font-size: 14px; line-height: 1.4; opacity: 0; transform: translateY(10px); animation: cmIn .5s cubic-bezier(.2,.8,.2,1) forwards; }
.cm-b.me { align-self: flex-end; background: linear-gradient(135deg, var(--accent), #0fb8c9); color: #04150d; font-weight: 700; border-bottom-right-radius: 5px; animation-delay: .4s; }
.cm-b.bot { background: rgba(255,255,255,.06); border: 1px solid var(--line2); border-bottom-left-radius: 5px; animation-delay: 1.3s; }
.cm-b.feed { font-size: 12.5px; color: #c7d3e0; background: rgba(25,211,138,.08); border: 1px solid rgba(25,211,138,.25); animation-delay: 2.6s; }
.cm-rules { display: flex; gap: 6px; flex-wrap: wrap; } .cm-rules span { font-size: 12px; font-weight: 700; padding: 5px 9px; border-radius: 9px; background: rgba(25,211,138,.12); color: #bff5dc; opacity: 0; animation: cmIn .4s ease forwards; }
.cm-rules span:nth-child(1) { animation-delay: 1.8s; } .cm-rules span:nth-child(2) { animation-delay: 2s; } .cm-rules span:nth-child(3) { animation-delay: 2.2s; }
@keyframes cmIn { to { opacity: 1; transform: none; } }
@media (max-width: 900px) { .hero2 .wrap { grid-template-columns: 1fr; } .chatmock { transform: none; } }
/* sections */
.sec-h { text-align: center; max-width: 720px; margin: 0 auto 30px; } .sec-h h2 { margin: 12px 0 8px; font-size: clamp(30px, 5.6vw, 50px); letter-spacing: -.04em; }
.sec-h p { margin: 0; font-size: 16px; }
.nw-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.nw-card { position: relative; overflow: hidden; padding: 22px; border-radius: 22px; background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012)); border: 1px solid var(--line2); transition: transform .25s, border-color .25s; }
.nw-card:hover { transform: translateY(-3px); border-color: rgba(25,211,138,.45); }
.nw-card.big { grid-column: span 2; background: radial-gradient(120% 120% at 0 0, rgba(25,211,138,.16), transparent 60%), linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.01)); }
.nw-card h3 { margin: 14px 0 6px; font-size: 19px; letter-spacing: -.02em; } .nw-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.nw-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(25,211,138,.12); border: 1px solid rgba(25,211,138,.3); }
.nw-ic svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nw-say { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; } .nw-say span { font-size: 12.5px; padding: 6px 10px; border-radius: 12px 12px 12px 4px; background: rgba(255,255,255,.06); border: 1px solid var(--line2); }
.nw-dials { display: flex; gap: 10px; margin-top: 12px; } .nw-dials b { font: 800 26px var(--display); letter-spacing: -.03em; padding: 6px 12px; border-radius: 12px; background: rgba(0,0,0,.3); }
.nw-dials .dn { color: var(--red); } .nw-dials .am { color: var(--amber); }
@media (max-width: 900px) { .nw-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .nw-grid { grid-template-columns: 1fr; } .nw-card.big { grid-column: auto; } }
/* free vs pro */
.fp-table { max-width: 860px; margin: 0 auto; border-radius: 26px; overflow: hidden; border: 1px solid var(--line2); background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); }
.fp-head, .fp-row, .fp-foot { display: grid; grid-template-columns: 1fr 110px 130px; align-items: center; gap: 10px; padding: 12px 18px; }
.fp-head { padding-top: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--line2); }
.fp-plan { text-align: center; position: relative; } .fp-plan b { display: block; font-size: 15px; } .fp-plan em { display: block; font: 800 30px var(--display); font-style: normal; letter-spacing: -.03em; } .fp-plan small { color: var(--muted); font-size: 11.5px; }
.fp-plan.pro { padding: 12px 8px; border-radius: 18px; background: linear-gradient(160deg, rgba(25,211,138,.22), rgba(15,184,201,.12)); border: 1px solid rgba(25,211,138,.55); box-shadow: 0 16px 40px -18px rgba(25,211,138,.8); }
.fp-plan.pro em { color: #fff; } .fp-plan i { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; background: linear-gradient(135deg, #3cffae, #0fb8c9); color: #04150d; padding: 3px 8px; border-radius: 99px; white-space: nowrap; }
.fp-row { border-bottom: 1px solid rgba(255,255,255,.05); font-size: 14.5px; } .fp-row > i { font-style: normal; text-align: center; color: var(--dim); font-weight: 800; }
.fp-row > i svg { width: 20px; height: 20px; } .fp-row > i.pro { background: rgba(25,211,138,.06); align-self: stretch; display: grid; place-items: center; margin: -12px 0; }
.fp-row.pro-only > span { font-weight: 700; color: #fff; }
.fp-foot { padding: 18px; } .fp-foot .btn { font-weight: 800; }
@media (max-width: 560px) { .fp-head, .fp-row, .fp-foot { grid-template-columns: 1fr 58px 84px; padding-left: 12px; padding-right: 12px; gap: 6px; } .fp-plan em { font-size: 21px; } .fp-row { font-size: 13px; } .fp-foot { grid-template-columns: 1fr 1fr; } .fp-foot > span { display: none; } }
.steps2 .step { position: relative; padding: 22px; } .steps2 .step em { font-style: normal; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; margin-bottom: 10px; font-weight: 900; color: #04150d; background: linear-gradient(135deg, var(--accent), #0fb8c9); box-shadow: 0 0 20px rgba(25,211,138,.5); }
.steps2 .step b { font-size: 18px; }
.endcta { text-align: center; background: radial-gradient(60% 80% at 50% 100%, rgba(25,211,138,.18), transparent 70%); }
.endcta h2 { font-size: clamp(34px, 7vw, 64px); letter-spacing: -.045em; margin-bottom: 10px; }
/* login / sign up */
.auth2 { display: grid; grid-template-columns: 1fr 1fr; max-width: 920px; margin: 40px auto; border-radius: 28px; overflow: hidden; border: 1px solid var(--line2); box-shadow: 0 40px 120px -50px rgba(25,211,138,.6); }
.au-brand { position: relative; padding: 36px; background: radial-gradient(120% 90% at 0 0, rgba(60,255,174,.35), transparent 55%), radial-gradient(100% 80% at 100% 100%, rgba(15,184,201,.35), transparent 60%), #06110d; display: flex; flex-direction: column; gap: 10px; }
.au-logo { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font: 900 28px var(--display); color: #04150d; background: linear-gradient(135deg, #3cffae, #0fb8c9); box-shadow: 0 0 40px rgba(25,211,138,.7); }
.au-brand h2 { margin: 10px 0 0; font-size: clamp(28px, 4.4vw, 40px); letter-spacing: -.04em; } .au-brand p { margin: 0; color: #c7d3e0; }
.au-perks { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; } .au-perks span { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.au-card { padding: 30px; background: var(--card); }
.au-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 14px; background: rgba(0,0,0,.35); border: 1px solid var(--line); margin-bottom: 18px; }
.au-tabs a { text-align: center; padding: 10px; border-radius: 10px; color: var(--muted); font-weight: 800; text-decoration: none !important; }
.au-tabs a.on { background: linear-gradient(135deg, var(--accent), #0fb8c9); color: #04150d; box-shadow: 0 6px 20px -8px rgba(25,211,138,.8); }
.au-card input { font-size: 16px; padding: 14px; }
.pw { position: relative; } .pw input { padding-right: 76px; }
.pw-eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.06); border: 1px solid var(--line2); color: var(--text); border-radius: 9px; padding: 6px 10px; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.au-card .btn.lg { margin-top: 6px; font-size: 17px; font-weight: 800; }
@media (max-width: 760px) { .auth2 { grid-template-columns: 1fr; margin: 18px auto; } .au-brand { padding: 24px; } .au-perks { flex-direction: row; flex-wrap: wrap; gap: 6px 14px; } .au-perks span { font-size: 12.5px; } .au-card { padding: 22px; } }
/* film v2 scenes */
.film[data-s="9"] .fs9, .film[data-s="10"] .fs10 { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.film2 .vp { transition: opacity .6s ease, transform 3.8s cubic-bezier(.2,.7,.2,1), filter .6s ease; transform: scale(1.12); }
.film2 .vp.fs1, .film2 .vp.fs2 { transform-origin: 50% 40%; }
.film2[data-s] .vp { will-change: transform; }
.fm-flash { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: radial-gradient(circle at 50% 45%, rgba(170,255,220,.35), transparent 60%); opacity: 0; }
.fm-flash.go { animation: fmFlash .7s ease-out; } @keyframes fmFlash { 0% { opacity: 1; } 100% { opacity: 0; } }
.film2 .vid-cap b { font-size: clamp(24px, 4.4vw, 38px); font-weight: 800; letter-spacing: -.035em; background: linear-gradient(180deg, #fff, #b9ffe0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.film2 .vid-cap.in b { animation: capPop .8s cubic-bezier(.2,1.2,.3,1); } @keyframes capPop { from { opacity: 0; transform: translateY(16px) scale(.96); letter-spacing: .02em; filter: blur(6px); } }
.fx-rays { position: absolute; inset: -30%; background: repeating-conic-gradient(from 0deg, rgba(25,211,138,.08) 0 6deg, transparent 6deg 18deg); animation: spin 18s linear infinite; mask-image: radial-gradient(circle, #000 20%, transparent 60%); -webkit-mask-image: radial-gradient(circle, #000 20%, transparent 60%); }
@keyframes spin { to { transform: rotate(360deg); } }
.fx-phone { width: min(420px, 92%); padding: 16px; border-radius: 26px; background: rgba(10,16,22,.9); border: 1px solid rgba(25,211,138,.4); box-shadow: 0 30px 90px -30px rgba(25,211,138,.8); display: flex; flex-direction: column; gap: 10px; }
.fx-b { max-width: 90%; padding: 12px 15px; border-radius: 18px; font-size: clamp(14px, 2.4vw, 18px); line-height: 1.35; }
.fx-b.me { align-self: flex-end; min-height: 1.4em; background: linear-gradient(135deg, var(--accent), #0fb8c9); color: #04150d; font-weight: 800; border-bottom-right-radius: 5px; }
.fx-b.bot { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-bottom-left-radius: 5px; opacity: 0; }
.fx-chips { display: flex; gap: 6px; flex-wrap: wrap; } .fx-chips span { font-weight: 800; font-size: 13px; padding: 6px 10px; border-radius: 10px; background: rgba(25,211,138,.15); color: #c8ffe6; opacity: 0; transform: scale(.7); }
.film[data-s="3"] .fx-b.bot { animation: rise2 .5s ease 1.9s forwards; transform: translateY(12px); }
.film[data-s="3"] .fx-chips span { animation: chipPop .4s cubic-bezier(.2,1.6,.4,1) forwards; } .film[data-s="3"] .fx-chips span:nth-child(1) { animation-delay: 2.4s; } .film[data-s="3"] .fx-chips span:nth-child(2) { animation-delay: 2.6s; } .film[data-s="3"] .fx-chips span:nth-child(3) { animation-delay: 2.8s; }
@keyframes chipPop { to { opacity: 1; transform: none; } }
.fx-dials { display: flex; gap: clamp(10px, 3vw, 28px); justify-content: center; flex-wrap: wrap; }
.fx-dial { position: relative; width: clamp(96px, 22vw, 150px); text-align: center; --c: var(--accent); } .fx-dial.dn { --c: var(--red); } .fx-dial.am { --c: var(--amber); }
.fx-dial svg { width: 100%; transform: rotate(-90deg); } .fx-dial circle { fill: none; stroke-width: 7; } .fx-dial .tr { stroke: rgba(255,255,255,.08); }
.fx-dial .fl { stroke: var(--c); stroke-linecap: round; stroke-dasharray: 264; stroke-dashoffset: 264; filter: drop-shadow(0 0 8px var(--c)); }
.film[data-s="4"] .fx-dial .fl { animation: dialGo 1.2s cubic-bezier(.2,.8,.2,1) forwards; } .film[data-s="4"] .fx-dial:nth-child(2) .fl { animation-delay: .25s; } .film[data-s="4"] .fx-dial:nth-child(3) .fl { animation-delay: .5s; }
@keyframes dialGo { to { stroke-dashoffset: calc(264 - 264 * max(.18, min(1, var(--v) / 30))); } }
.fx-dial b { position: absolute; left: 0; right: 0; top: 30%; font: 800 clamp(22px, 5vw, 36px) var(--display); color: var(--c); letter-spacing: -.03em; }
.fx-dial span { display: block; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #c7d3e0; margin-top: 4px; }
.fx-range { font: 700 12px var(--display); letter-spacing: .3em; color: var(--accent); opacity: .8; }
.fx-gauge { position: relative; width: min(300px, 70%); text-align: center; } .fx-gauge svg { width: 100%; overflow: visible; }
.fx-gauge .arc { fill: none; stroke-width: 14; stroke-linecap: round; stroke: url(#none); stroke: #ffb547; filter: drop-shadow(0 0 10px rgba(255,181,71,.5)); }
.fx-gauge .ndl { stroke: #fff; stroke-width: 4; stroke-linecap: round; transform-origin: 100px 100px; transform: rotate(60deg); }
.film[data-s="5"] .fx-gauge .ndl { animation: needle 2.2s cubic-bezier(.3,1.4,.4,1) forwards; } @keyframes needle { 0% { transform: rotate(60deg); } 100% { transform: rotate(-58deg); } }
.fx-gauge b { display: block; margin-top: -6px; font: 800 clamp(16px, 3vw, 22px) var(--display); color: var(--red); }
.fx-heads { display: flex; flex-direction: column; gap: 6px; width: min(520px, 94%); } .fx-heads span { font-size: clamp(12.5px, 2vw, 15px); font-weight: 700; padding: 8px 12px; border-radius: 12px; background: rgba(0,0,0,.4); border: 1px solid rgba(255,255,255,.08); opacity: 0; transform: translateX(-30px); }
.fx-heads .g { color: #9ff3cf; } .fx-heads .r { color: #ff9aa4; }
.film[data-s="5"] .fx-heads span { animation: slideIn .5s cubic-bezier(.2,.8,.2,1) forwards; } .film[data-s="5"] .fx-heads span:nth-child(2) { animation-delay: .5s; } .film[data-s="5"] .fx-heads span:nth-child(3) { animation-delay: 1s; } .film[data-s="5"] .fx-heads span:nth-child(1) { animation-delay: .1s; }
@keyframes slideIn { to { opacity: 1; transform: none; } }
.fx-net { width: min(560px, 92%); height: 46%; } .fx-net line { stroke: rgba(25,211,138,.18); stroke-width: .5; } .fx-net circle { fill: #0b2a20; stroke: #19d38a; stroke-width: .6; }
.film[data-s="6"] .fx-net line { animation: synapse 1.2s ease var(--d) infinite alternate; } .film[data-s="6"] .fx-net circle { animation: neuron 1.2s ease var(--d) infinite alternate; }
@keyframes synapse { to { stroke: #7dffc8; stroke-width: 1; filter: drop-shadow(0 0 2px #19d38a); } } @keyframes neuron { to { fill: #19d38a; } }
.fx-evo { text-align: center; } .fx-evo b { display: block; font: 800 clamp(48px, 11vw, 96px)/.9 var(--display); letter-spacing: -.05em; color: #fff; text-shadow: 0 0 50px rgba(25,211,138,.7); } .fx-evo span { color: #c7d3e0; font-size: clamp(13px, 2vw, 16px); }
.fx-flag { fill: rgba(96,165,250,.12); stroke: #60a5fa; stroke-dasharray: 4 4; opacity: 0; } .fx-buy { fill: #60a5fa; opacity: 0; filter: drop-shadow(0 0 10px #60a5fa); }
.film[data-s="7"] .f-ln { animation: draw 2.2s cubic-bezier(.4,0,.2,1) forwards; } .film[data-s="7"] .f-area { animation: fadeIn .8s ease 1.8s forwards; }
.film[data-s="7"] .fx-flag { animation: fadeIn .4s ease 1.1s forwards; } .film[data-s="7"] .fx-buy { animation: fadeIn .3s ease 1.6s forwards; } .film[data-s="7"] .f-hit { animation: fadeIn .3s ease 2.2s forwards, pop .6s ease 2.2s; }
.fx-tags { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.film[data-s="7"] .f-chip2 { animation: rise2 .5s ease 1.2s forwards; transform: translateY(14px); } .film[data-s="7"] .f-chip { animation: rise2 .5s ease 2.3s forwards; transform: translateY(14px); }
.fx-shield { width: clamp(90px, 18vw, 140px); } .fx-shield path:first-child { fill: rgba(25,211,138,.12); stroke: #19d38a; stroke-width: 3; filter: drop-shadow(0 0 24px rgba(25,211,138,.7)); }
.fx-shield .ck { fill: none; stroke: #fff; stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 80; stroke-dashoffset: 80; }
.film[data-s="8"] .fx-shield { animation: logoIn 1s cubic-bezier(.2,.8,.2,1) both; } .film[data-s="8"] .fx-shield .ck { animation: draw .6s ease .7s forwards; }
.fx-guards { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; } .fx-guards span { font-weight: 800; font-size: clamp(12.5px, 2vw, 15px); padding: 8px 12px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); opacity: 0; transform: translateY(12px); }
.film[data-s="8"] .fx-guards span { animation: rise2 .5s ease forwards; } .film[data-s="8"] .fx-guards span:nth-child(1) { animation-delay: 1s; } .film[data-s="8"] .fx-guards span:nth-child(2) { animation-delay: 1.25s; } .film[data-s="8"] .fx-guards span:nth-child(3) { animation-delay: 1.5s; }
.fx-brk { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: min(620px, 96%); }
.fx-brk span { display: flex; align-items: center; gap: 8px; font: 700 clamp(13px, 2.3vw, 18px) var(--display); padding: 11px 12px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); box-shadow: 0 0 26px -12px var(--c); opacity: 0; transform: translateY(16px) scale(.95); }
.fx-brk i { font-style: normal; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; font-size: 12px; font-weight: 900; color: #0b0f14; background: var(--c); flex: none; }
.film[data-s="9"] .fx-brk span { animation: rise2 .5s cubic-bezier(.2,.8,.2,1) var(--d) forwards; }
@media (max-width: 560px) { .fx-brk { grid-template-columns: repeat(2, 1fr); } }
.fx-switch { position: relative; width: min(300px, 76%); height: 58px; border-radius: 99px; background: rgba(255,255,255,.06); border: 1px solid rgba(25,211,138,.4); overflow: hidden; }
.fx-switch::before { content: ''; position: absolute; inset: 0; width: 0; background: linear-gradient(90deg, rgba(25,211,138,.2), rgba(25,211,138,.55)); }
.fx-switch i { position: absolute; top: 5px; left: 5px; width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, #3cffae, #19d38a); box-shadow: 0 0 30px rgba(25,211,138,.9); }
.fx-switch span { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font: 900 18px var(--display); color: #fff; opacity: 0; }
.film[data-s="10"] .fx-switch i { animation: knobGo 1s cubic-bezier(.6,0,.2,1) .3s forwards; } .film[data-s="10"] .fx-switch::before { animation: fillGo 1s cubic-bezier(.6,0,.2,1) .3s forwards; } .film[data-s="10"] .fx-switch span { animation: fadeIn .3s ease 1.2s forwards; }
@keyframes knobGo { to { left: calc(100% - 53px); } } @keyframes fillGo { to { width: 100%; } }
.film[data-s="10"] .f-endt { animation: logoIn 1.1s cubic-bezier(.2,.8,.2,1) .6s both; }
@media (prefers-reduced-motion: reduce) { .film2 .vp { transition: opacity .3s; transform: none !important; } .fx-rays { animation: none; } }
.tvc { margin-top: 18px; border-color: rgba(229,231,235,.25) !important; }
.tvc-top { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; } .tvc-top h3 { margin: 0; }
.tvc-ic { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font: 900 16px var(--display); background: #e5e7eb; color: #0b0f14; box-shadow: 0 0 24px -6px rgba(229,231,235,.6); }
.tv-steps { margin: 0 0 12px; padding-left: 20px; font-size: 14px; color: #c7d3e0; } .tv-steps li { margin: 4px 0; }
.tv-l { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 10px 0 6px; }
.tv-copy { display: flex; gap: 8px; align-items: center; } .tv-copy code { flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; padding: 10px 12px; border-radius: 10px; background: rgba(0,0,0,.4); border: 1px solid var(--line); font-size: 12.5px; }
.tv-last { display: flex; flex-direction: column; gap: 4px; margin-top: 10px; font-size: 12px; color: var(--muted); }
.fp-plan i { position: static; transform: none; display: inline-block; margin-bottom: 6px; }
.fp-plan.pro { padding-top: 10px; }
@media (max-width: 560px) { .fp-plan i { font-size: 8.5px; padding: 3px 6px; letter-spacing: .06em; } .fp-foot .btn { font-size: 14px; padding-left: 8px; padding-right: 8px; white-space: nowrap; } }
@media (max-width: 520px) { .nw-grid { grid-template-columns: 1fr 1fr; gap: 10px; } .nw-card.big { grid-column: span 2; } .nw-card:not(.big) { padding: 16px; } .nw-card:not(.big) h3 { font-size: 15.5px; margin-top: 10px; } .nw-card:not(.big) p { font-size: 12.5px; } .nw-card:not(.big) .nw-ic { width: 36px; height: 36px; border-radius: 11px; } }
@media (max-width: 560px) {
  .film2 .vid-stage { aspect-ratio: 9 / 14; }
  .film2 .vp { padding: 12% 6% 30%; gap: 12px; }
  .film2 .vid-cap { bottom: 9%; }
  .fx-dials { flex-wrap: nowrap; gap: 8px; } .fx-dial { width: 27vw; } .fx-dial span { font-size: 9.5px; letter-spacing: .06em; } .fx-dial b { font-size: 21px; top: 28%; }
  .fx-heads span:nth-child(3) { display: none; }
  .f-price { display: none; }
  .film2 .f-chart { height: 42%; }
}
@media (max-width: 760px) { .au-brand { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px; padding: 20px; } .au-logo { width: 44px; height: 44px; font-size: 22px; } .au-brand h2 { margin: 0; font-size: 26px; flex: 1; } .au-brand p { display: none; } .au-perks { width: 100%; margin-top: 0; } }
/* v.24 · fast taps + smooth side scrolling */
button, a, .chip, label, .btn, [data-action] { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.cp-chips, .pz-row, .mc-chips, .scan-chips, .bp-lead, .pos-sort { overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scroll-behavior: smooth; scroll-padding: 0 16px; }
.cp-chips { display: flex; flex-wrap: nowrap; gap: 8px; padding-bottom: 4px; scrollbar-width: none; } .cp-chips::-webkit-scrollbar { display: none; }
.cp-chips .chip { flex: none; }
/* v.24 · budget on the main card, 3×3 settings, clearer tabs */
.qs .qs-amt { margin: 4px 0 6px; } .qs .qs-amt input { font-size: clamp(34px, 9vw, 48px); }
.qs-top em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--accent); }
.qs .mc-chips { margin: 2px 0 10px; }
.qs.is-on { border-color: rgba(25,211,138,.18); }
.pz-row.pz3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; overflow: visible; }
.pz3 .pz { min-width: 0; padding: 12px 10px; }
.pz3 .pz-name { font-size: 15px; } .pz3 .pz-st b { font-size: 12px; }
.mode-sw.mode3 { grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 0; }
.mode3 .mode { --c: var(--accent); padding: 12px 10px; } .mode3 .mode b { font-size: 15px; } .mode3 .mode span { font-size: 11.5px; line-height: 1.3; }
.mode3 .mode.on { border-color: var(--c); background: color-mix(in srgb, var(--c) 10%, transparent); box-shadow: 0 0 0 1px var(--c) inset, 0 0 26px -8px var(--c); }
.mode3 .mode.on b { color: var(--c); }
.cp-tabs { display: grid !important; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border-radius: 16px; background: rgba(0,0,0,.4); border: 1px solid var(--line2); margin-bottom: 14px; }
.cp-tab { padding: 12px 10px !important; border-radius: 12px !important; font-weight: 800 !important; font-size: 15px !important; letter-spacing: -.01em; color: var(--muted) !important; background: transparent !important; border: 0 !important; transition: background .2s, color .2s, box-shadow .2s; }
.cp-tab.on { color: #04150d !important; background: linear-gradient(135deg, var(--accent), #0fb8c9) !important; box-shadow: 0 8px 24px -10px rgba(25,211,138,.9); }
.cp-tab[data-v="set"].on { background: linear-gradient(135deg, #a78bfa, #60a5fa) !important; color: #0b0f14 !important; box-shadow: 0 8px 24px -10px rgba(167,139,250,.9); }
body.tab-set .bot-set-card { border-color: rgba(167,139,250,.35) !important; }
@media (max-width: 420px) { .pz3 .pz-ic { width: 30px; height: 30px; } .mode3 .mode span { display: none; } }
.gr { display: grid; grid-template-columns: repeat(14, 1fr); gap: 4px; height: 110px; align-items: end; }
.gr-c { position: relative; height: 100%; display: flex; align-items: flex-end; justify-content: center; }
.gr-c i { position: absolute; bottom: 14px; width: 70%; border-radius: 4px 4px 0 0; } .gr-c i.a { background: rgba(96,165,250,.35); } .gr-c i.s { background: var(--accent); width: 40%; box-shadow: 0 0 10px rgba(25,211,138,.6); }
.gr-c span { font-size: 9.5px; color: var(--dim); } .gr-c i { max-height: calc(100% - 14px); }
.gr-leg { display: flex; gap: 14px; font-size: 12px; color: var(--muted); margin-top: 4px; } .gr-leg span::before { content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; } .gr-leg .s::before { background: var(--accent); } .gr-leg .a::before { background: rgba(96,165,250,.6); }
.ppl { display: flex; flex-direction: column; gap: 6px; max-height: 360px; overflow: auto; }
.pp { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; padding: 9px 12px; border-radius: 12px; background: rgba(0,0,0,.22); border: 1px solid var(--line); font-size: 12.5px; }
.pp b { flex: 1 1 100%; font-size: 13.5px; word-break: break-all; }
/* no sideways page drift on phones (only the lists that should scroll sideways do) */
html, body { max-width: 100%; overflow-x: clip; }
@supports not (overflow: clip) { body { overflow-x: hidden; } }
#app, .page, section, .wrap { max-width: 100vw; }
.hero2 .h2-stage, .chatmock { max-width: 100%; }
.pz-row.pz3 { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.pz3 .pz { grid-column: auto !important; flex-direction: column; align-items: flex-start; width: auto !important; }
.pz3 .pz-st { flex-wrap: wrap; gap: 4px; }
.bot-set-card .set-sec { margin-top: 18px; } .bot-set-card .set-sec:first-of-type { margin-top: 4px; }

/* ---- v.25: one-click improvements + learning center ---- */
.imp-go { margin-top: 8px; }
.imp-undo { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; border: 1px dashed var(--line2); font-size: 13px; }
.imp-ai { margin: 8px 0 10px; padding: 12px; border-radius: 14px; border: 1px solid rgba(96,165,250,.35); background: rgba(96,165,250,.06); display: flex; flex-direction: column; gap: 8px; }
.imp-presets { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 10px; }
.imp-setups { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin: 0 0 10px; }
.imp-setups > span { margin-right: 4px; }
.chip-t { font: inherit; font-size: 12.5px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line2); background: rgba(255,255,255,.03); color: var(--text); cursor: pointer; }
.chip-t.on { border-color: rgba(25,211,138,.5); color: var(--accent); }
.chip-t.off { opacity: .6; text-decoration: line-through; }
.tn-hint { display: block; font-style: normal; font-size: 12px; color: var(--muted); margin-top: 3px; line-height: 1.35; }
.lrn-auto { display: flex; gap: 8px; align-items: center; margin: 12px 0 0; font-size: 13.5px; cursor: pointer; }
.lrn-list { display: flex; flex-direction: column; gap: 8px; }
.lrn-m { padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line); background: rgba(0,0,0,.2); }
.lrn-m.pending { border-color: rgba(250,204,21,.45); }
.lrn-m.rejected { opacity: .55; }
.lrn-q { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 13.5px; }
.lrn-q b { flex: 1 1 180px; min-width: 0; overflow-wrap: anywhere; font-weight: 600; }
.lrn-note, .lrn-a { margin-top: 6px; overflow-wrap: anywhere; }
.lrn-teach { display: flex; gap: 6px; margin-top: 8px; }
.lrn-teach input { flex: 1; min-width: 0; font: inherit; font-size: 13.5px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line2); background: rgba(0,0,0,.25); color: var(--text); }
@media (max-width: 520px) { .tn { grid-template-columns: 1fr 84px auto; } }

/* ---- v.26: phone comfort + speed ---- */
/* No sideways sliding: nothing can make the page wider than the screen. */
html, body { overflow-x: hidden; max-width: 100%; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
body { overscroll-behavior-x: none; touch-action: pan-y pinch-zoom; }
/* iPhone zooms into any box with text under 16px and stays zoomed ("stuck, can't see the other side"). */
@media (hover: none), (max-width: 820px) {
  input, select, textarea, .cp-ask input, .chip-input, .tn input, .lrn-teach input, .qs-other input, .tn2-c input { font-size: 16px !important; }
  /* Phones: drop the live blur behind every card and the animated blurred background — same look, smooth scrolling. */
  .card, .tape, .btn.glass { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
  .card { background: linear-gradient(180deg, #151b25, #10151d) !important; }
  .nav { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: rgba(7,9,13,.97) !important; }
  .tape { background: rgba(7,9,13,.97) !important; }
  .aurora i { animation: none !important; filter: blur(60px); }
  .btn.glow, .dot.live, .hx-ai i, .hx-radar .sweep { animation: none !important; }
  /* Lists inside the page no longer "trap" the finger: the page keeps scrolling past them. */
  .cp-feed, .pos-scroll, .act-scroll, .list-scroll { overscroll-behavior: auto !important; }
  .cp-feed { max-height: none !important; overflow: visible !important; }
}
.cp-more { margin: 6px auto 2px; display: block; }

/* Budget: big number, straight 0–2,500 slider with a box for any other amount beside it */
.qs-big { font-family: var(--display); font-size: clamp(34px, 9vw, 48px); font-weight: 800; color: var(--accent); line-height: 1.1; margin: 4px 0 2px; }
.qs-row { display: flex; gap: 12px; align-items: center; }
.qs-rng { flex: 1; min-width: 0; }
.qs-rng .sl-ends { display: flex; justify-content: space-between; font-size: 12px; color: var(--dim); margin-top: -6px; }
.qs-other { flex: none; width: 108px; display: flex; flex-direction: column; gap: 3px; cursor: text; }
.qs-other small { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.qs-other span { display: flex; align-items: center; gap: 2px; padding: 8px 10px; border-radius: 12px; border: 1px solid var(--line2); background: rgba(0,0,0,.3); color: var(--accent); font-weight: 700; }
.qs-other input { all: unset; width: 100%; min-width: 0; color: var(--text); font-weight: 700; font-size: 16px; }

/* Improvement center */
.tile-sub { display: block; font-style: normal; font-size: 11.5px; color: var(--muted); margin-top: 2px; overflow-wrap: anywhere; }
.imp-bar { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 4px; }
.imp-cards { display: grid; gap: 10px; }
.imp-card { --c: var(--accent); padding: 12px 14px; border-radius: 16px; border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); background: color-mix(in srgb, var(--c) 7%, rgba(0,0,0,.25)); }
.imp-card.red { --c: var(--red); } .imp-card.amber { --c: var(--amber); } .imp-card.blue { --c: #60a5fa; }
.imp-card p { margin: 6px 0 8px; font-size: 14px; line-height: 1.45; }
.imp-card .imp-area { color: var(--c); text-transform: uppercase; font-size: 11.5px; letter-spacing: .08em; }
.imp-chg { display: flex; flex-direction: column; gap: 3px; margin: 0 0 10px; font-size: 13px; color: var(--muted); }
.imp-chg s { opacity: .6; } .imp-chg b { color: var(--text); }
.imp-done { display: grid; gap: 6px; margin-top: 10px; font-size: 13px; color: var(--muted); }
.imp-done > div { padding: 8px 12px; border-radius: 12px; border: 1px dashed rgba(25,211,138,.35); }
.imp-stats { margin-top: 18px; } .imp-stats > summary { font-weight: 700; color: var(--text); font-size: 14px; padding: 8px 0; }

/* Tunables: big − / + buttons, saves by itself */
.tn2 { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: center; padding: 12px; border-radius: 14px; border: 1px solid var(--line); background: rgba(0,0,0,.2); transition: border-color .3s, box-shadow .3s; }
.tn2.on { border-color: rgba(25,211,138,.35); }
.tn2.saving { border-color: rgba(250,204,21,.5); }
.tn2.saved { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(25,211,138,.18); }
.tn2-l b { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; }
.tn2-l em { display: block; font-style: normal; font-size: 12.5px; color: var(--muted); margin-top: 3px; line-height: 1.35; }
.tn2-l small { display: block; font-size: 11.5px; color: var(--dim); margin-top: 4px; }
.tn2-c { display: flex; align-items: center; gap: 6px; }
.tn2-c input { width: 74px; text-align: center; padding: 9px 4px; border-radius: 10px; font-weight: 700; }
.tn2-b { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line2); background: rgba(255,255,255,.05); color: var(--text); font-size: 22px; font-weight: 700; line-height: 1; cursor: pointer; }
.tn2-b:active { background: rgba(25,211,138,.2); border-color: var(--accent); }
.tn2-r { grid-column: 1 / -1; justify-self: start; font: inherit; font-size: 12.5px; color: var(--muted); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; }
@media (max-width: 520px) { .tn2 { grid-template-columns: 1fr; } .tn2-c { justify-content: flex-end; } .tn2-c input { flex: 1; max-width: 120px; } }
.ver-bn { position: sticky; top: 0; z-index: 60; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 10px 16px; background: #3b2a06; color: #fde68a; font-size: 13.5px; border-bottom: 1px solid rgba(250,204,21,.4); }
.imp-cards { grid-template-columns: minmax(0, 1fr); }
.imp-card { min-width: 0; overflow-wrap: anywhere; }
.imp-card .imp-go, .imp-ai .imp-go, .qa-tip .imp-go { white-space: normal; height: auto; min-height: 44px; line-height: 1.25; padding-top: 10px; padding-bottom: 10px; text-align: center; }
.imp-bar .btn { flex: 1 1 auto; }
.bp-mkt { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 10px 0 6px; }
.bp-mkt span { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; border-radius: 12px; background: rgba(0,0,0,.25); border: 1px solid var(--line); min-width: 0; }
.bp-mkt small, .bp-trend small { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.bp-mkt b { font-size: 15px; }
.bp-trend { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin: 4px 0 8px; }
/* Owner's agents */
.ag-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 10px; }
.ag { padding: 12px 14px; border-radius: 16px; border: 1px solid var(--line); background: rgba(0,0,0,.22); min-width: 0; }
.ag.on { border-color: rgba(25,211,138,.35); } .ag.off { opacity: .75; } .ag.gone { opacity: .5; border-style: dashed; }
.ag-h { display: flex; gap: 10px; align-items: center; } .ag-i { font-size: 26px; line-height: 1; }
.ag-h b { display: block; font-size: 15px; } .ag-h small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.3; }
.ag-s { margin-top: 8px; color: var(--muted); } .ag-t { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; color: var(--muted); }
.ag-brain { margin: 14px 0 4px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(96,165,250,.35); background: rgba(96,165,250,.06); font-size: 14px; }
/* Customer: account health, week, support */
.mh-bot { margin: 0 0 10px; }
.mh-c { padding: 12px; border-radius: 14px; border: 1px solid var(--line); background: rgba(0,0,0,.2); margin-bottom: 8px; }
.mh-c.problem { border-color: rgba(239,68,68,.45); } .mh-c.ok { border-color: rgba(25,211,138,.3); }
.mh-top { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 4px; } .mh-top b { font-size: 15px; } .mh-top > span:last-child { margin-left: auto; }
.mh-fix { margin-top: 8px; padding: 10px; border-radius: 10px; background: rgba(239,68,68,.08); display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; line-height: 1.4; }
.mw-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; height: 90px; margin-top: 12px; align-items: end; }
.mw-days > div { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; gap: 4px; }
.mw-days i { width: 100%; max-width: 28px; border-radius: 6px 6px 2px 2px; background: var(--accent); } .mw-days i.down { background: var(--red); }
.mw-days span { font-size: 11px; color: var(--muted); }
.sp-form { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; } .sp-form textarea { font: inherit; font-size: 16px; }
.tk { padding: 12px; border-radius: 14px; border: 1px solid var(--line); background: rgba(0,0,0,.2); margin-bottom: 10px; }
.tk.escalated { border-color: rgba(239,68,68,.4); } .tk.closed { opacity: .65; }
.tk-h { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; } .tk-h b { flex: 1 1 160px; min-width: 0; overflow-wrap: anywhere; }
.tk-msgs { display: flex; flex-direction: column; gap: 8px; margin: 10px 0; }
.tk-m { padding: 8px 10px; border-radius: 12px; background: rgba(255,255,255,.04); } .tk-m.user { background: rgba(96,165,250,.08); } .tk-m.owner { background: rgba(25,211,138,.08); }
.tk-m small { color: var(--muted); font-size: 11.5px; } .tk-m p { margin: 4px 0 0; font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.tk-r { display: flex; gap: 6px; } .tk-r input { flex: 1; min-width: 0; }
/* ---- v.33: turn-off choices, whole-account total, 24 h report ---- */
.off-opt { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; text-align: left; white-space: normal; padding: 14px 16px; height: auto; }
.off-opt b { font-size: 15px; } .off-opt small { font-weight: 500; opacity: .8; font-size: 12.5px; line-height: 1.35; }
.btn.danger-t { color: var(--red); }
.acct-total { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 10px 12px; margin: 0 0 12px; border-radius: 14px; border: 1px solid var(--line2); background: rgba(12,16,22,.55); }
.acct-total span { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.acct-total b { font-size: 18px; } .acct-total small { flex-basis: 100%; font-size: 12px; }
.mc-chip.all { border-color: var(--accent); color: var(--accent); }
.d24-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.d24-c { padding: 10px; border-radius: 12px; border: 1px solid var(--line2); background: rgba(12,16,22,.5); min-width: 0; }
.d24-c small { display: block; font-size: 11px; color: var(--dim); margin-bottom: 3px; }
.d24-c b { font-size: 14px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 420px) { .d24-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* chat learning: compact owner view */
.lrn-sum { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0 0 12px; }
.lrn-sum div { padding: 10px; border-radius: 12px; border: 1px solid var(--line2); background: rgba(12,16,22,.5); min-width: 0; }
.lrn-sum b { display: block; font-size: 20px; } .lrn-sum span { font-size: 11px; color: var(--dim); line-height: 1.25; display: block; }
.lrn-sum .up b { color: var(--accent); } .lrn-sum .down b { color: var(--amber, #f5b942); }
.lrn-m.need { border-color: rgba(245,185,66,.45); }
.lrn-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.lrn-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 6px 5px 10px; border-radius: 999px; border: 1px solid var(--line2); font-size: 12.5px; max-width: 100%; }
.lrn-chip button { border: 0; background: none; color: var(--dim); cursor: pointer; font-size: 12px; padding: 2px 4px; }
.lrn-rows { display: grid; gap: 4px; margin-top: 8px; max-height: 50vh; overflow-y: auto; }
.lrn-row { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto auto auto; gap: 6px; align-items: center; padding: 6px 4px; border-bottom: 1px solid var(--line2); }
.lrn-row b { display: block; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lrn-row small { display: block; color: var(--dim); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lrn-row em { font-style: normal; font-size: 11px; white-space: nowrap; }
@media (max-width: 420px) { .lrn-sum { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
#stopSheet .sheet-list { max-height: 28vh; }

/* ---- v.34 multi-broker: broker cards (Connect) + one card per broker on the dashboard + the bot's total ---- */
.cc-act { flex-wrap: wrap; } .cc-act .btn { min-width: 0; white-space: nowrap; }
.cc-act2 { margin-top: 8px; } .cc-act2 .btn { flex: 0 1 auto; }
.btn.danger-o { color: #fecaca; border-color: rgba(239,68,68,.45); background: rgba(239,68,68,.08); }
.btn.danger-o:hover { background: rgba(239,68,68,.16); }
.cc-on.paused { color: var(--amber); }
.cc-bud { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13px; color: var(--muted); }
.cc-bud b { color: var(--text); } .cc-bud .btn { margin-left: auto; }
.lanes { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); gap: 10px; margin: 16px 0 8px; }
.lanes.c1 { --cols: 1; } .lanes.c2 { --cols: 2; } .lanes.c3 { --cols: 3; }
@media (max-width: 560px) { .lanes.c3 { --cols: 2; } }
.lane { --c: var(--accent); position: relative; min-width: 0; padding: 12px; border-radius: 18px;
  background: radial-gradient(120% 100% at 0% 0%, color-mix(in srgb, var(--c) 16%, transparent), transparent 60%), rgba(255,255,255,.025);
  border: 1px solid color-mix(in srgb, var(--c) 40%, rgba(255,255,255,.06)); box-shadow: 0 14px 34px -26px var(--c); }
.lane.is-paused { opacity: .78; border-style: dashed; }
.lane-top { display: flex; align-items: center; gap: 8px; min-width: 0; }
.lane-top + .lane-st { display: flex; }
.lane-mono { flex: none; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; font-style: normal; font-weight: 900; font-size: 14px;
  color: #0b0f14; background: linear-gradient(145deg, color-mix(in srgb, var(--c) 100%, #fff 20%), var(--c)); }
.lane-id { display: flex; flex-direction: column; min-width: 0; }
.lane-id b { font-size: 13px; line-height: 1.2; overflow-wrap: anywhere; }
.lane-id small { font-size: 10.5px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; color: #93c5fd; } .lane-id small.live { color: #fecaca; }
.lane-st { margin-top: 8px; display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 800; white-space: nowrap; color: var(--muted); }
.lane-st i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.lane-st.green { color: var(--accent); } .lane-st.green i { box-shadow: 0 0 8px var(--accent); } .lane-st.amber { color: var(--amber); }
.lane-val { font-size: clamp(20px, 5.4vw, 28px); font-weight: 800; letter-spacing: -.02em; margin-top: 10px; line-height: 1.05; }
.lane-ch { font-size: 12px; font-weight: 700; margin-top: 2px; } .lane.up .lane-ch { color: var(--accent); } .lane.down .lane-ch { color: var(--red); }
.lane .spark { height: 40px; margin-top: 6px; }
.lane-kpi { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; margin-top: 8px; }
.lane-kpi span { display: flex; flex-direction: column; min-width: 0; } .lane-kpi small { font-size: 10px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lane-kpi b { font-size: 12.5px; }
.lane-act { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; } .lane-act .btn { padding: 7px 4px; font-size: 12px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-shadow: none; }
.lane-act .btn.danger { color: #fca5a5; }
.lanes.c1 .lane-val { font-size: clamp(30px, 8vw, 42px); } .lanes.c1 .lane .spark { height: 64px; }
.lane-total { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; padding: 12px 14px; border-radius: 16px; margin: 4px 0 6px;
  background: linear-gradient(180deg, rgba(25,211,138,.08), rgba(25,211,138,.02)); border: 1px solid rgba(25,211,138,.28); }
.lane-total.down { background: linear-gradient(180deg, rgba(255,92,108,.08), rgba(255,92,108,.02)); border-color: rgba(255,92,108,.3); }
.lane-total div { display: flex; flex-direction: column; min-width: 0; } .lane-total small { font-size: 10.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lane-total b { font-size: 14px; } .lane-total div:first-child b { font-size: 18px; } .lane-total em { font-style: normal; font-size: 11px; opacity: .8; }
.lane-total b.up { color: var(--accent); } .lane-total b.down { color: var(--red); }
@media (max-width: 560px) { .lane-total { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lane-total div:first-child { grid-column: 1 / -1; } }
.lane-mainnote { margin: -2px 0 8px; }
/* owner → sellable edition */
.ed-row { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.02); margin-bottom: 8px; }
.ed-row.new { border-color: rgba(25,211,138,.35); background: rgba(25,211,138,.05); }
.ed-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; } .ed-main b { font-size: 14px; } .ed-main .pill { align-self: flex-start; }
.ed-sha { font-family: ui-monospace, monospace; font-size: 11px; } .ed-act { display: flex; gap: 6px; flex: none; }
@media (max-width: 560px) { .ed-row { flex-direction: column; align-items: stretch; } .ed-act .btn:first-child { flex: 1; } }
@media (max-width: 560px) { .lanes.c3 .lane:last-child:nth-child(odd) { grid-column: 1 / -1; } }
.lanes.c2 .lane:last-child:nth-child(odd):not(:first-child), .lanes.c3 .lane:nth-child(4):last-child { grid-column: 1 / -1; }

/* ---- v.35 the bot at a glance: total card right under the title (green up / red down) ---- */
.tc { --tc: var(--accent); position: relative; margin: 16px 0 10px; padding: 16px 16px 14px; border-radius: 20px; overflow: hidden;
  background: radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--tc) 16%, transparent), transparent 60%), linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  border: 1px solid color-mix(in srgb, var(--tc) 38%, transparent); box-shadow: 0 22px 50px -34px var(--tc), inset 0 1px 0 rgba(255,255,255,.05); }
.tc.down { --tc: var(--red); }
.tc-top { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.tc-t { font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tc-since { margin-left: auto; font-size: 11.5px; color: var(--dim); }
.tc-val { font-size: clamp(34px, 9vw, 48px); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; margin-top: 8px; color: var(--tc); text-shadow: 0 0 28px color-mix(in srgb, var(--tc) 35%, transparent); }
.tc-ch { font-size: 14px; font-weight: 700; margin-top: 4px; } .tc-ch.up { color: var(--accent); } .tc-ch.down { color: var(--red); } .tc-ch span { color: var(--muted); font-weight: 600; }
.tc .spark { height: 58px; margin-top: 8px; }
.tc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 12px; border-top: 1px solid rgba(255,255,255,.07); }
.tc-c { display: flex; flex-direction: column; gap: 2px; padding: 10px 8px 2px; min-width: 0; }
.tc-c + .tc-c { border-left: 1px solid rgba(255,255,255,.06); }
.tc-c small { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-c b { font-size: 16px; font-weight: 800; letter-spacing: -.01em; } .tc-c b.up { color: var(--accent); } .tc-c b.down { color: var(--red); }
.tc-c em { font-style: normal; font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 520px) { .tc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tc-c:nth-child(3) { border-left: 0; } .tc-c:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.06); } }
.tc-all { margin-top: 10px; font-size: 12px; color: var(--dim); }

/* ---- v.35 bot settings: finer, calmer, same luxury feel as the rest of the app ---- */
.bot-set-card { padding: 20px 18px 22px; }
.bot-set-card .set-sec { position: relative; padding: 16px 14px; margin-top: 14px !important; border-radius: 18px; background: linear-gradient(180deg, rgba(255,255,255,.028), rgba(255,255,255,.008)); border: 1px solid rgba(255,255,255,.06); }
.bot-set-card .set-h { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; font-size: 11px; letter-spacing: .16em; color: #c9d3df; }
.bot-set-card .set-h::after { content: ''; flex: 1 1 40px; height: 1px; align-self: center; background: linear-gradient(90deg, rgba(255,255,255,.12), transparent); }
.bot-set-card .set-h small { letter-spacing: .08em; font-weight: 700; }
.bot-set-card .d24-grid { gap: 0; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,.06); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bot-set-card .d24-c { border: 0; border-radius: 0; background: rgba(8,11,16,.45); padding: 12px 12px 11px; box-shadow: inset -1px -1px 0 rgba(255,255,255,.05); }
.bot-set-card .d24-c small { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.bot-set-card .d24-c b { font-size: 15.5px; font-weight: 800; letter-spacing: -.01em; }
@media (max-width: 420px) { .bot-set-card .d24-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bot-set-card .toggle-row.lux { margin-top: 14px; padding: 14px; border-radius: 16px; border: 1px solid rgba(255,255,255,.06); background: rgba(255,255,255,.02); }
.bot-set-card .toggle-row.lux b { font-size: 15px; } .bot-set-card .toggle-row.lux small { font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.bot-set-card .pz { border-radius: 16px; } .bot-set-card .pz.on { box-shadow: 0 0 0 1px var(--c) inset, 0 18px 40px -24px var(--c); }
.bot-set-card .mode { border-radius: 14px; }
.bot-set-card .note-lux { font-size: 12.5px; }
/* owner */
.pg-h { display: flex; align-items: center; gap: 8px; } .pg-h .btn { margin-left: auto; }
.pg-foot { margin-top: 6px; }
.an-t { display: flex; flex-direction: column; border: 1px solid rgba(255,255,255,.06); border-radius: 14px; overflow: hidden; }
.an-r { display: grid; grid-template-columns: 1.3fr 1fr .8fr 1fr; gap: 8px; align-items: center; padding: 9px 12px; font-size: 13px; }
.an-r + .an-r { border-top: 1px solid rgba(255,255,255,.05); } .an-r em { font-style: normal; text-align: right; font-weight: 800; } .an-r span { color: var(--muted); }
.an-hd { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); background: rgba(255,255,255,.02); } .an-hd em { font-weight: 700; }
.an-h { display: grid; grid-template-columns: repeat(24, 1fr); gap: 2px; height: 70px; align-items: end; }
.an-h div { position: relative; height: 100%; display: flex; align-items: flex-end; } .an-h i { display: block; width: 100%; border-radius: 3px 3px 0 0; background: var(--accent); opacity: .85; } .an-h i.down { background: var(--red); }
.an-h span { position: absolute; bottom: -16px; left: 0; font-size: 10px; color: var(--dim); }
.qa-fold { margin-top: 16px; }
.an-h { margin-bottom: 20px; }
.ed-due { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 14px; margin-bottom: 10px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.02); }
.ed-due.now { border-color: rgba(255,181,71,.45); background: rgba(255,181,71,.07); } .ed-due.now b { color: var(--amber); } .ed-due small { color: var(--dim); font-size: 12px; }
.tc .tc-c b:not(.up):not(.down), .lane .lane-kpi b, .lane .lane-id b { color: var(--text); }
.lane .lane-kpi b.up { color: var(--accent); }

/* ===== v36 ===== */
/* ON/OFF switch right under the title */
.swipe.top { margin: 14px 0 12px; }
/* Whole account: every connected broker, proportional */
.wa { margin: 14px 0 0; padding: 14px; border-radius: 18px; border: 1px solid var(--line2); background: linear-gradient(180deg, rgba(17,22,30,.9), rgba(12,16,22,.9)); }
.wa-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.wa-h span { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.wa-h b { font-size: 24px; font-weight: 900; letter-spacing: -.01em; }
.wa-stack { display: flex; height: 8px; border-radius: 99px; overflow: hidden; background: #0b0f15; margin-bottom: 12px; gap: 2px; }
.wa-stack i { display: block; background: var(--c); min-width: 3px; }
.wa-row { padding: 10px 0; border-top: 1px solid var(--line); }
.wa-row:first-of-type { border-top: 0; }
.wa-top { display: flex; align-items: center; gap: 8px; min-width: 0; }
.wa-top .lane-mono { width: 24px; height: 24px; font-size: 12px; background: color-mix(in srgb, var(--c) 22%, transparent); color: var(--c); }
.wa-top b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wa-top small { color: var(--dim); font-size: 11px; white-space: nowrap; } .wa-top small.live { color: var(--accent); }
.wa-top b.num { font-size: 17px; }
.wa-bar { height: 5px; border-radius: 99px; background: #0b0f15; margin: 8px 0 4px; overflow: hidden; }
.wa-bar i { display: block; height: 100%; background: var(--c); border-radius: 99px; }
.wa-sub { margin-top: 3px; } .wa-foot { margin-top: 6px; }
/* Agents: workflow */
.ag-doing { margin: 8px 0 0; padding: 8px 10px; border-radius: 10px; font-size: 12.5px; background: rgba(25,211,138,.08); border: 1px solid rgba(25,211,138,.25); }
.ag-doing.you { background: rgba(250,204,21,.1); border-color: rgba(250,204,21,.4); }
.ag-steps { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; }
.ag-steps li { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--muted); }
.ag-steps li i { flex: none; width: 16px; text-align: center; font-style: normal; }
.ag-steps li b { margin-left: auto; font-size: 11px; }
.ag-steps li.bad { color: #fb7185; } .ag-steps li.warn { color: #facc15; } .ag-steps li.you { color: #facc15; font-weight: 700; } .ag-steps li.work { color: var(--accent2); }
.ag-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 6px; font-size: 11.5px; color: var(--dim); }
.ag-recent { margin: 6px 0 0; font-size: 11.5px; color: var(--dim); } .ag-recent div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* AI status */
.ai-st { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
/* Engine analytics by period */
.pf { margin: 14px 0 6px; }
.pf-tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; }
.pf-tabs button { flex: none; padding: 7px 12px; border-radius: 99px; border: 1px solid var(--line2); background: transparent; color: var(--muted); font-weight: 700; font-size: 13px; cursor: pointer; }
.pf-tabs button.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.pf-cols { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 10px; }
@media (min-width: 720px) { .pf-cols { grid-template-columns: repeat(3, 1fr); } }
.pf-col { padding: 12px; border-radius: 14px; border: 1px solid var(--line2); background: rgba(12,16,22,.6); min-width: 0; }
.pf-col.real { border-color: rgba(25,211,138,.45); }
.pf-col h5 { margin: 0 0 8px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.pf-col.real h5 { color: var(--accent); }
.pf-g { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pf-g div { min-width: 0; } .pf-g small { display: block; font-size: 11px; color: var(--dim); } .pf-g b { font-size: 16px; }
.pf-bw { margin-top: 8px; font-size: 12px; color: var(--muted); }
.pf-foot { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; }
.swipe:not(.on) .swipe-text { padding-left: 74px; } .swipe.on .swipe-text { padding-right: 74px; }

/* ===== v37 ===== */
.hide { display: none !important; }
/* active brokers under the title */
.act-brk { display: flex; flex-direction: column; gap: 6px; margin: 10px 0 4px; }
.act-brk .ab { --c: var(--accent); display: grid; grid-template-columns: 24px minmax(0, 1fr) auto auto; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); background: color-mix(in srgb, var(--c) 9%, rgba(12,16,22,.7)); font-size: 13px; }
.act-brk .ab i { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; font-style: normal; font-weight: 900; font-size: 12px; background: var(--c); color: #06110b; }
.act-brk .ab b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.act-brk .ab em { font-style: normal; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.act-brk .ab.live em { color: #fecaca; } .act-brk .ab.off { opacity: .6; }
.act-brk .ab .num { font-size: 12px; color: var(--muted); white-space: nowrap; }
/* broker lanes stacked, full width */
.lanes.stack { display: flex; flex-direction: column; gap: 10px; }
.lanes.stack .lane-top { justify-content: flex-start; }
.lanes.stack .lane-top .lane-st { margin: 0 0 0 auto; }
.lane-mid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 10px; align-items: end; }
.lanes.stack .lane-val { font-size: clamp(24px, 7vw, 32px); }
.lanes.stack .lane-kpi { margin-top: 0; }
.lanes.stack .lane-kpi small { white-space: normal; }
.lane-budrow { display: flex; align-items: center; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.lane-bud { flex: 1 1 140px; display: flex; flex-direction: column; gap: 2px; padding: 7px 10px; border-radius: 12px; border: 1px solid var(--line2); background: #0b0f15; min-width: 0; }
.lane-bud small { font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.lane-bud span { display: flex; align-items: center; gap: 2px; font-weight: 800; font-size: 18px; color: var(--accent); }
.lane-bud input { border: 0; background: transparent; color: var(--text); font: inherit; width: 100%; min-width: 0; padding: 0; outline: none; }
.lane-budrow .mc-chip { flex: none; }
@media (max-width: 380px) { .lane-mid { grid-template-columns: 1fr; } }
/* practice section — separate from real money */
.paper-sec { margin: 16px 0 0; padding: 14px; border-radius: 18px; border: 1px dashed rgba(147,197,253,.4); background: rgba(96,165,250,.05); }
.ps-h { display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; } .ps-h span { font-weight: 800; } .ps-h small { color: var(--dim); font-size: 12px; }
.ps-tot { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.ps-tot div { display: flex; flex-direction: column; min-width: 0; } .ps-tot small { font-size: 10.5px; color: var(--dim); } .ps-tot b { font-size: 15px; }
@media (max-width: 420px) { .ps-tot { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ps-top { margin-top: 10px; } .ps-top small { display: block; font-size: 11px; color: var(--muted); margin-bottom: 6px; }
.ps-top > div { display: flex; flex-wrap: wrap; gap: 6px; }
.pt-t { padding: 5px 9px; border-radius: 99px; font-size: 12px; background: #0b0f15; border: 1px solid var(--line2); white-space: nowrap; }
.pt-t.up { color: var(--accent); } .pt-t.down { color: var(--red); } .pt-t em { font-style: normal; opacity: .7; }
/* whole account: name on its own line, amount never cut */
.wa + .wa { margin-top: 10px; }
.wa.paper { border-style: dashed; border-color: rgba(147,197,253,.4); }
.wa-id { display: flex; flex-direction: column; min-width: 0; flex: 1; } .wa-id b { white-space: normal; }
.wa-top .wa-v { margin-left: auto; white-space: nowrap; font-size: 16px; }
/* feed: calmer warnings */
.cp-line.k-warn { background: rgba(250,204,21,.06); border: 1px solid rgba(250,204,21,.22); border-left: 3px solid #facc15; border-radius: 12px; padding: 8px 10px; margin: 4px 0; }
.cp-line.k-warn .cp-x { color: #fde68a; }
.cp-line.k-scan .cp-x { color: var(--dim); letter-spacing: .2em; }
/* owner: customer trends */
.cu-list { display: flex; flex-direction: column; gap: 10px; }
.cu { padding: 12px; border-radius: 14px; border: 1px solid var(--line2); background: rgba(12,16,22,.6); min-width: 0; }
.cu-h { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; } .cu-h b { overflow-wrap: anywhere; margin-right: auto; }
.cu-b { margin: 4px 0 8px; overflow-wrap: anywhere; }
.cu-sides { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.cu-side { display: flex; flex-direction: column; gap: 2px; padding: 8px; border-radius: 10px; background: #0b0f15; min-width: 0; }
.cu-side small { font-size: 11px; color: var(--muted); } .cu-side em { font-style: normal; font-size: 11px; color: var(--dim); }
.cu-sp { width: 100%; height: 30px; } .cu-sp line { stroke: var(--line2); stroke-dasharray: 3 3; } .cu-sp path { fill: none; stroke-width: 2; vector-effect: non-scaling-stroke; }
.cu-sp.up path { stroke: var(--accent); } .cu-sp.down path { stroke: var(--red); }
/* agents: $1M analysis + ready answers */
.ag-an { margin: 8px 0 0; padding: 10px; border-radius: 12px; background: #0b0f15; border: 1px solid var(--line2); }
.ag-an-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; } .ag-an-g div { display: flex; flex-direction: column; min-width: 0; }
.ag-an-g small { font-size: 10.5px; color: var(--dim); } .ag-an-g b { font-size: 13px; overflow-wrap: anywhere; }
@media (max-width: 420px) { .ag-an-g { grid-template-columns: 1fr 1fr; } }
.ag-ready { margin-top: 8px; } .ag-ready small { display: block; font-size: 11px; color: var(--muted); margin-bottom: 4px; } .ag-ready > div { display: flex; flex-wrap: wrap; gap: 5px; }
.pill.amber { border-color: rgba(250,204,21,.5); color: #fde68a; }
.mc-chip.all.on { color: var(--accent-ink) !important; }   /* v37: the selected "All" chip was green text on green */
.lanes.stack .lane-mid { grid-template-columns: 1fr; gap: 6px; align-items: start; }
.lanes.stack .lane-kpi b { font-size: 14px; }

.rh-new { display: flex; flex-direction: column; gap: 8px; padding: 14px; margin-bottom: 12px; border-radius: 16px; border: 1px solid rgba(204,255,0,.5); background: rgba(204,255,0,.07); }
.rh-new span { color: var(--muted); font-size: 13px; } .rh-new .btn { align-self: flex-start; }
.lane-note { margin-top: 8px; font-size: 12px; color: var(--muted); padding: 6px 10px; border-radius: 10px; background: #0b0f15; }

.rh-alt { margin-top: 14px; padding: 12px; border-radius: 14px; border: 1px dashed var(--line2); display: flex; flex-direction: column; gap: 6px; }
.rh-alt span { font-size: 12.5px; color: var(--muted); } .rh-alt .btn { align-self: flex-start; }
.rh-paste { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; } .rh-paste.hide { display: none; }
.rh-paste input { width: 100%; }
.rh-desk { margin-bottom: 14px; padding: 12px; border-radius: 14px; border: 1px solid var(--amber); display: flex; flex-direction: column; gap: 6px; }
.rh-desk span, .rh-desk ol { font-size: 12.5px; color: var(--muted); } .rh-desk ol { margin: 0; padding-left: 18px; } .rh-desk .btn { align-self: flex-start; }

/* v44 system log: plain-language fix under a problem line */
.eng-hint { display: block; margin-top: 3px; font-style: normal; font-size: 12px; color: var(--muted); font-family: inherit; }
/* v44 feed notes: only "needs you" notes stay as amber cards; automatic safety notes become a quiet single line */
.cp-line.k-warn.auto { background: transparent; border: 0; border-bottom: 1px solid rgba(34,42,54,.6); border-left: 2px solid rgba(250,204,21,.45); border-radius: 0; padding: 5px 8px; margin: 0; font-size: 12.5px; }
.cp-line.k-warn.auto .cp-x { color: #d6c98a; }
.cp-line.k-warn.act { border-left-width: 4px; }
.cp-line.k-warn.act .cp-x { color: #fde68a; font-weight: 600; }

/* v45: bot settings right next to the ON/OFF slider */
.power-row { display: flex; align-items: stretch; gap: 10px; margin-top: 20px; }
.power-row .swipe { flex: 1; min-width: 0; margin: 0; }
.set-btn { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 64px; padding: 6px 10px; border-radius: 18px; border: 1px solid var(--line2, rgba(255,255,255,.14)); background: rgba(255,255,255,.04); color: var(--text); font: inherit; font-size: 11.5px; font-weight: 600; cursor: pointer; }
.set-btn i { font-style: normal; font-size: 20px; line-height: 1; }
.set-btn:active { transform: scale(.97); }

/* v47: budget vs real money on a lane */
.lane-under { margin: 8px 0 4px; padding: 8px 10px; border-radius: 12px; font-size: 12.5px; color: #fde68a; background: rgba(250,204,21,.07); border: 1px solid rgba(250,204,21,.25); }

/* v47 hire a specialist */
.ag-hire { display: flex; flex-direction: column; gap: 6px; padding: 12px; margin-bottom: 12px; border-radius: 14px; border: 1px dashed var(--line2); }
.ag-hire-l { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }

/* v47 OWNER COCKPIT */
.cockpit { display: flex; flex-direction: column; gap: 14px; margin-bottom: 18px; }
.ck-sec h4 { margin: 0 0 8px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ck-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 760px) { .ck-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ck-t { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 16px; background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015)); border: 1px solid var(--line2, rgba(255,255,255,.1)); min-width: 0; }
.ck-t small { font-size: 11.5px; color: var(--muted); }
.ck-t b { font-size: 22px; line-height: 1.15; overflow-wrap: anywhere; }
.ck-t span { font-size: 11.5px; color: var(--muted); overflow-wrap: anywhere; }
.ck-t.green b { color: var(--green, #19d38a); } .ck-t.red b { color: var(--red, #fb7185); } .ck-t.amber b { color: var(--amber, #facc15); }
.ck-needs { padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(250,204,21,.28); background: rgba(250,204,21,.06); font-size: 13px; display: flex; flex-direction: column; gap: 4px; }

.adm-user.is-test { opacity: .75; border-style: dashed; }

/* v49 brain score */
.ed-score { display: flex; flex-direction: column; gap: 6px; padding: 12px; margin-bottom: 12px; border-radius: 14px; border: 1px solid rgba(25,211,138,.3); background: rgba(25,211,138,.06); }
.ed-score > div:first-child { display: flex; flex-direction: column; gap: 2px; }
.ed-bar { height: 8px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; } .ed-bar i { display: block; height: 100%; background: linear-gradient(90deg, #19d38a, #22d3ee); }
.ag.ag-super { background: linear-gradient(135deg, rgba(120,90,255,.12), rgba(0,200,150,.08)); }
.ag-hire { margin-top: 12px; }
.mk.mk-na { opacity: .42; filter: grayscale(.8); cursor: not-allowed; }
.toggle-row.is-off { opacity: .55; cursor: not-allowed; }
.dir-tune { margin: 6px 0 10px; padding: 8px 10px; border-radius: 10px; background: rgba(120,90,255,.08); }
.lane-funds { margin-top: 8px; padding: 8px 10px; border-radius: 10px; font-size: 12.5px; line-height: 1.35; }
.lane-funds.busy { background: rgba(0,200,150,.10); color: var(--text); }
.lane-funds.empty { background: rgba(245,158,11,.12); color: var(--text); }
.act-sub { font-size: 12px; font-weight: 500; margin-left: 6px; }
/* ---- v52 How the bot trades ---- */
.hx2 .hx-head .lead { max-width: 620px; margin: 0 auto; font-size: 17px; }
.hx2-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0 auto 26px; max-width: 820px; }
.hx2-stats div { text-align: center; padding: 16px 8px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(25,211,138,.08), rgba(255,255,255,.01)); }
.hx2-stats b { display: block; font-size: clamp(22px, 4.6vw, 32px); font-weight: 900; letter-spacing: -.03em; background: linear-gradient(180deg, #fff, #8ff0c8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hx2-stats span { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hx2-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: s; }
.hx2-card { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); transition: transform .3s, border-color .3s, box-shadow .3s; opacity: 0; animation: hxUp .7s calc(var(--i) * .07s) cubic-bezier(.2,.7,.2,1) forwards; }
.hx2-card:hover { transform: translateY(-4px); border-color: rgba(25,211,138,.5); box-shadow: 0 22px 60px -28px rgba(25,211,138,.6); }
.hx2-card .hx-art { height: 124px; }
.hx2-card .hx-txt h3 { font-size: 18px; font-weight: 850; letter-spacing: -.02em; }
.hx2-card .hx-txt p { font-size: 13.5px; line-height: 1.5; }
@keyframes hxUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hx-net line { stroke: rgba(25,211,138,.45); stroke-width: 1.4; stroke-dasharray: 60; stroke-dashoffset: 60; animation: netDraw 2.6s var(--d) ease-in-out infinite; }
.hx-net circle { fill: #0b1f18; stroke: var(--accent); stroke-width: 2; animation: netPulse 2.6s var(--d) ease-in-out infinite; }
@keyframes netDraw { 40%, 100% { stroke-dashoffset: 0; } }
@keyframes netPulse { 50% { fill: var(--accent); filter: drop-shadow(0 0 6px var(--accent)); } }
.hx-brk { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 0 12px; }
.hx-brk span { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px 4px 4px; border-radius: 999px; font-size: 11px; font-weight: 800; border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); background: color-mix(in srgb, var(--c) 10%, transparent); opacity: 0; animation: hxUp .5s var(--d) forwards; }
.hx-brk i { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 10px; color: #06120d; background: var(--c); }
.hx-orbit { position: relative; width: 104px; height: 104px; border-radius: 50%; border: 1px dashed rgba(25,211,138,.35); animation: spin 18s linear infinite; }
.hx-orbit b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 30px; animation: spin 18s linear infinite reverse; }
.hx-orbit i { position: absolute; left: 50%; top: 50%; font-style: normal; font-size: 18px; transform: rotate(var(--a)) translate(52px) rotate(calc(-1 * var(--a))); margin: -11px 0 0 -11px; }
.hx2-split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; margin: 18px 0 16px; }
.hx2-col { border-radius: 22px; padding: 18px 20px; border: 1px solid var(--line); }
.hx2-col.live { background: linear-gradient(160deg, rgba(25,211,138,.12), rgba(25,211,138,.02)); border-color: rgba(25,211,138,.35); }
.hx2-col.prac { background: linear-gradient(160deg, rgba(120,140,255,.10), rgba(120,140,255,.02)); }
.hx2-col h3 { margin: 0 0 10px; font-size: 18px; font-weight: 850; letter-spacing: -.02em; }
.hx2-col ul { margin: 0; padding-left: 18px; display: grid; gap: 7px; font-size: 14px; color: var(--text); line-height: 1.45; }
.hx2-col li::marker { color: var(--accent); }
@media (max-width: 900px) { .hx2-grid { grid-template-columns: repeat(2, 1fr); } .hx2-split { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .hx2-stats { grid-template-columns: repeat(2, 1fr); } .hx2-grid { grid-template-columns: 1fr 1fr; gap: 10px; } .hx2-card .hx-art { height: 104px; } .hx2-card .hx-txt { padding: 12px 13px 14px; } .hx2-card .hx-txt h3 { font-size: 16px; } .hx2-card .hx-txt p { font-size: 12.5px; } }
.steps.steps4 { grid-template-columns: repeat(4, 1fr); }
.steps2 .step::before, .steps2 .step::after { display: none !important; content: none !important; }
.steps2 .step { border-radius: 22px; background: linear-gradient(180deg, rgba(25,211,138,.07), rgba(255,255,255,.01)); }
@media (max-width: 900px) { .steps.steps4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps.steps4 { grid-template-columns: 1fr; } }
.act-brk { display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: 999px; font-size: 11px; font-weight: 800; color: var(--accent); background: rgba(25,211,138,.12); vertical-align: 1px; }
.bp-for { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; color: var(--muted); margin-bottom: 10px; } .bp-for span { padding: 2px 9px; border-radius: 999px; background: rgba(25,211,138,.12); color: var(--accent); font-weight: 800; }
/* v52 settings gauges (film style) */
.sg-panel { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 4px 0 14px; padding: 16px; border-radius: 22px; background: radial-gradient(120% 100% at 50% 0%, rgba(25,211,138,.12), rgba(0,0,0,.25) 70%); border: 1px solid var(--line); }
.sg-mood { display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 12px; }
.sg-mood svg { width: 100%; height: auto; overflow: visible; }
.sg-mood .arc { fill: none; stroke: url(#sgG); stroke-width: 14; stroke-linecap: round; }
.sg-mood .ndl { stroke: #fff; stroke-width: 4; stroke-linecap: round; transform-origin: 100px 100px; transform: rotate(-90deg); animation: sgNdl 1.4s .2s cubic-bezier(.3,1.4,.4,1) forwards; }
.sg-mood .hub { fill: #fff; }
@keyframes sgNdl { to { transform: rotate(var(--r)); } }
.sg-mood-t b { display: block; font-size: 34px; font-weight: 900; letter-spacing: -.03em; line-height: 1; }
.sg-mood-t strong { display: block; font-size: 15px; font-weight: 850; margin-top: 4px; }
.sg-mood-t small { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.sg-mood.xfear strong, .sg-mood.fear strong { color: #fb7185; } .sg-mood.neutral strong { color: #fbbf24; } .sg-mood.greed strong, .sg-mood.xgreed strong { color: var(--accent); }
.sg-dials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sg-dial { position: relative; display: grid; place-items: center; text-align: center; }
.sg-dial svg { width: 86px; height: 86px; transform: rotate(-90deg); }
.sg-dial .tr { fill: none; stroke: var(--line2); stroke-width: 8; }
.sg-dial .fl { fill: none; stroke-width: 8; stroke-linecap: round; stroke-dasharray: 264; stroke-dashoffset: 264; animation: sgRing 1.2s .3s ease-out forwards; }
@keyframes sgRing { to { stroke-dashoffset: calc(264 - 264 * var(--p) / 100); } }
.sg-dial.up .fl { stroke: var(--accent); filter: drop-shadow(0 0 6px rgba(25,211,138,.6)); } .sg-dial.dn .fl { stroke: #fb7185; } .sg-dial.am .fl { stroke: #fbbf24; }
.sg-dial b { position: absolute; top: 31px; font-size: 16px; font-weight: 900; }
.sg-dial span { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
@media (max-width: 420px) { .sg-mood { grid-template-columns: 120px 1fr; } .sg-dial svg { width: 74px; height: 74px; } .sg-dial b { top: 26px; font-size: 14px; } }
.hero2 h1 em { display: block; font-size: .6em; line-height: 1.05; margin-top: 6px; }
@media (max-width: 900px) { .hx-brk { gap: 8px; max-width: 150px; } .hx-brk span { padding: 0; border: 0; background: none; font-size: 0; gap: 0; } .hx-brk i { width: 30px; height: 30px; font-size: 13px; font-weight: 900; box-shadow: 0 0 14px color-mix(in srgb, var(--c) 50%, transparent); } }
.sg-dial b { font-size: 15px; letter-spacing: -.02em; }
.eng-split { margin: 12px 0 6px; padding: 10px 12px 4px; border-radius: 16px; border: 1px solid var(--line); }
.eng-split.live { background: linear-gradient(160deg, rgba(25,211,138,.10), transparent); border-color: rgba(25,211,138,.35); }
.eng-split.paper { background: linear-gradient(160deg, rgba(120,140,255,.08), transparent); }
.eng-split-h { font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.eng-split.live .eng-split-h { color: var(--accent); }
.eng-split .eng-kpis { margin: 8px 0 6px; }
.eng-kpis > div.ok b { color: var(--accent); } .eng-kpis > div.bad b { color: #fb7185; }
.dir-ai { margin: 10px 0; padding: 12px 14px; border-radius: 16px; background: linear-gradient(160deg, rgba(120,90,255,.12), rgba(25,211,138,.06)); border: 1px solid rgba(120,90,255,.3); font-size: 14px; }
.dir-ai p { margin: 6px 0 4px; } .dir-ai ul { margin: 4px 0 0; padding-left: 18px; font-size: 13px; }
.imp-dir { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(120,90,255,.12); color: #c4b5fd; font-weight: 700; font-size: 13.5px; }
/* v53 interactive dials */
.sg-dial.stp { background: none; border: 0; padding: 0; box-shadow: none; }
.sg-ring { position: relative; width: 92px; height: 92px; display: grid; place-items: center; }
.sg-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.sg-val { position: relative; display: inline-flex; align-items: baseline; font-weight: 900; font-size: 16px; cursor: text; }
.sg-val em { font-style: normal; opacity: .8; }
.sg-val .stp-in { background: transparent; border: 0; color: inherit; font: inherit; text-align: center; padding: 0; min-width: 1.4ch; outline: none; }
.sg-val .stp-in:focus { border-bottom: 2px solid var(--accent); }
.sg-dial.up .sg-val { color: var(--accent); } .sg-dial.dn .sg-val { color: #fb7185; } .sg-dial.am .sg-val { color: #fbbf24; }
.sg-btns { display: flex; gap: 6px; margin-top: 6px; }
.sg-btns button { width: 36px; height: 30px; border-radius: 10px; border: 1px solid var(--line2); background: rgba(255,255,255,.04); color: var(--text); font-size: 18px; font-weight: 900; line-height: 1; cursor: pointer; }
.sg-btns button:active { transform: scale(.94); } .sg-btns button:disabled { opacity: .35; }
.sg-speed { margin-top: 4px; }
.sg-speed .set-h { margin-bottom: 8px; }
.sg-dial b { display: none; }
@media (max-width: 420px) { .sg-ring { width: 80px; height: 80px; } .sg-val { font-size: 14px; } }
.tc-valrow { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.tc-paper { display: grid; justify-items: end; padding: 6px 10px; border-radius: 12px; background: rgba(120,140,255,.10); border: 1px solid rgba(120,140,255,.25); line-height: 1.15; }
.tc-paper small { font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tc-paper b { font-size: 14px; } .tc-paper em { font-style: normal; font-size: 11px; font-weight: 800; }
.tc-paper em.up { color: var(--accent); } .tc-paper em.down { color: #fb7185; }
/* v53 Trading Brain */
.tbr { background: linear-gradient(170deg, rgba(120,90,255,.10), rgba(25,211,138,.05) 60%, transparent); }
.tb-regs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tb-reg { padding: 12px 14px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.03); display: grid; gap: 2px; }
.tb-reg small { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tb-reg b { font-size: 22px; font-weight: 900; letter-spacing: -.02em; } .tb-reg em { font-style: normal; font-size: 12px; color: var(--muted); }
.tb-reg.up { border-color: rgba(25,211,138,.4); } .tb-reg.up b { color: var(--accent); } .tb-reg.down { border-color: rgba(251,113,133,.45); } .tb-reg.down b { color: #fb7185; }
.tb-h { margin: 16px 0 8px; font-weight: 850; font-size: 15px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.tb-tblw { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tb-tbl { width: 100%; border-collapse: collapse; font-size: 12.5px; min-width: 560px; }
.tb-tbl th, .tb-tbl td { padding: 7px 8px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tb-tbl th:first-child, .tb-tbl td:first-child { text-align: left; } .tb-tbl th { font-size: 11px; color: var(--muted); font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.tb-tbl tr.ens td { background: rgba(120,90,255,.10); font-weight: 800; } .tb-tbl tr.dim td { opacity: .6; }
.tb-tbl td.up { color: var(--accent); } .tb-tbl td.down { color: #fb7185; }
.tb-sigs { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; }
.tb-sig { padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 4px; align-items: center; }
.tb-sig small { grid-column: 1 / -1; color: var(--muted); font-size: 12px; } .tb-sig.buy { border-color: rgba(25,211,138,.45); background: rgba(25,211,138,.06); } .tb-sig.skip { opacity: .6; }
.tb-mem { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tb-mem > div { padding: 12px 14px; border-radius: 16px; border: 1px solid var(--line); display: grid; gap: 2px; }
.tb-mem small { font-size: 11px; font-weight: 800; color: var(--muted); } .tb-mem b { font-size: 22px; font-weight: 900; } .tb-mem em { font-style: normal; font-size: 12px; color: var(--muted); }
.tb-health { display: flex; flex-wrap: wrap; gap: 6px; }
@media (max-width: 560px) { .tb-regs, .tb-mem { grid-template-columns: 1fr; } }
.sg-dial.stp::before, .sg-dial.stp::after { display: none !important; content: none !important; } .sg-dial.stp { overflow: visible; }
.eng-split .eng-kpis { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 6px; } @media (max-width: 560px) { .eng-split .eng-kpis { grid-template-columns: 1fr 1fr; } .eng-split .eng-kpis > div { padding: 7px 9px; } .eng-split .eng-kpis b { font-size: 16px; } }
.sg-ring[data-drag] { touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.sg-ring.dragging { cursor: grabbing; transform: scale(1.06); transition: transform .15s; }
.sg-ring.dragging .fl { filter: drop-shadow(0 0 10px currentColor); }
.sg-ring .fl { transition: stroke-dashoffset .08s linear; }
.sg-top { display: grid; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.sg-top .set-sec { margin: 0; padding: 0; border: 0; background: none; }
.sg-top .pz-row { margin-top: 6px; }
.tb-imp { display: grid; gap: 5px; }
.tb-imp > div { display: grid; grid-template-columns: 120px 1fr 40px; gap: 8px; align-items: center; font-size: 12.5px; }
.tb-imp i { height: 8px; border-radius: 8px; background: linear-gradient(90deg, #8b5cf6, var(--accent)) 0 0 / var(--w) 100% no-repeat, var(--line2); }
.tb-imp b { text-align: right; font-size: 12px; }
.lane-wait { margin-top: 8px; padding: 7px 10px; border-radius: 10px; font-size: 12.5px; color: var(--muted); background: rgba(255,255,255,.04); border: 1px dashed var(--line2); }
.acct-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.acct-chip { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; border: 1.5px solid var(--line2); background: rgba(255,255,255,.03); color: var(--text); text-align: left; cursor: pointer; }
.acct-chip i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 900; background: rgba(255,255,255,.06); color: var(--muted); flex: none; }
.acct-chip span { display: grid; line-height: 1.2; } .acct-chip b { font-size: 14px; } .acct-chip small { font-size: 11px; color: var(--muted); }
.acct-chip.on { border-color: var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); box-shadow: 0 0 18px -6px var(--c); }
.acct-chip.on i { background: var(--c); color: #06120d; }
.sg-adopt { display: flex; align-items: center; gap: 12px; padding: 10px 12px; margin-bottom: 12px; border-radius: 14px; background: rgba(255,255,255,.035); border: 1px solid var(--line); cursor: pointer; }
.sg-adopt input { display: none; } .sg-adopt span:last-child { display: grid; line-height: 1.25; } .sg-adopt b { font-size: 14px; } .sg-adopt small { font-size: 12px; color: var(--muted); }
.sg-adopt .tg { flex: none; width: 44px; height: 26px; border-radius: 26px; background: var(--line2); position: relative; transition: background .2s; }
.sg-adopt .tg::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; }
.sg-adopt input:checked + .tg { background: var(--accent); } .sg-adopt input:checked + .tg::after { transform: translateX(18px); }
.pz-auto { width: 100%; margin-top: 8px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; border: 1.5px dashed rgba(139,92,246,.55); background: linear-gradient(135deg, rgba(139,92,246,.10), rgba(25,211,138,.06)); color: var(--text); text-align: left; cursor: pointer; }
.pz-auto > span:first-child { font-size: 22px; } .pz-auto span:nth-child(2) { display: grid; line-height: 1.25; flex: 1; } .pz-auto b { font-size: 14.5px; } .pz-auto small { font-size: 11.5px; color: var(--muted); }
.pz-auto em { font-style: normal; font-weight: 900; font-size: 12px; color: var(--accent); white-space: nowrap; }
.pz-auto.on { border-style: solid; border-color: #8b5cf6; box-shadow: 0 0 22px -8px #8b5cf6; }
.pos-brk { display: block; margin-top: 2px; font-size: 10.5px; font-weight: 800; letter-spacing: .02em; color: var(--c); opacity: .95; white-space: nowrap; }

/* ===== v57 one trading plan ===== */
.plan .pl-lead { margin: 2px 0 10px; }
.plan .pz.pl { gap: 5px; padding: 14px 10px 12px; }
.plan .pl-d { font-size: 11px; line-height: 1.3; color: var(--muted); min-height: 2.6em; }
.plan .pl-sp { font-size: 11px; font-weight: 800; color: var(--c); letter-spacing: .02em; }
.plan .pl-h2 { margin-top: 16px; margin-bottom: 8px; }
.pl-holds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pl-hold { --c: var(--accent); display: grid; justify-items: start; gap: 2px; padding: 10px 10px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.03); color: var(--text); font: inherit; text-align: left; cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .15s; }
.pl-hold i { font-style: normal; font-size: 17px; } .pl-hold b { font-size: 13.5px; } .pl-hold small { font-size: 11px; color: var(--muted); }
.pl-hold.on { border-color: var(--c); box-shadow: 0 0 0 1px var(--c) inset, 0 14px 30px -20px var(--c); } .pl-hold.on b { color: var(--c); }
.pl-hold:active { transform: scale(.97); }
.pl-sum { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; padding: 12px 14px; border-radius: 16px; background: linear-gradient(135deg, rgba(25,211,138,.10), rgba(139,92,246,.08)); border: 1px solid rgba(25,211,138,.28); font-size: 13px; line-height: 1.45; }
.pl-sum > span:first-child { font-size: 18px; }

.mw-scope { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 10px; padding: 4px 11px; border-radius: 99px; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; background: rgba(148,163,184,.12); color: var(--muted); }
.mw-scope.live { background: rgba(25,211,138,.14); color: var(--accent); box-shadow: 0 0 18px -8px var(--accent); }

/* v57 top movers */
.mv-wrap { display: grid; gap: 18px; margin-top: 12px; }
.mv-h { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 8px; }
.mv-h span { font-weight: 900; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.mv-h small { color: var(--muted); font-size: 11.5px; }
.mv-grid { margin-top: 0; }
.mv-grid .mt .mv-px { display: block; font-size: 10.5px; opacity: .75; font-weight: 700; margin-top: 2px; }
.mv-grid .mt.l .mv-px { font-size: 12px; }

/* v57 — every feed line is the Brain speaking: one glowing card per new fact */
.cp-line.brain { border: 1px solid rgba(25,211,138,.26); border-radius: 14px; padding: 10px 12px; margin: 6px 0; background: linear-gradient(135deg, rgba(25,211,138,.10), rgba(139,92,246,.06)); box-shadow: 0 10px 28px -18px rgba(25,211,138,.9), inset 0 1px 0 rgba(255,255,255,.04); color: var(--text); font-size: 14px; }
.cp-line.brain .cp-x { color: var(--text); font-weight: 500; }
.cp-line.brain.loss { border-color: rgba(244,63,94,.28); background: linear-gradient(135deg, rgba(244,63,94,.08), rgba(139,92,246,.05)); box-shadow: 0 10px 28px -18px rgba(244,63,94,.8); }
.cp-line.brain.k-news { border-color: rgba(90,162,255,.3); background: linear-gradient(135deg, rgba(90,162,255,.10), rgba(139,92,246,.06)); box-shadow: 0 10px 28px -18px rgba(90,162,255,.9); }
.cp-line.brain .cp-t { color: var(--accent); font-weight: 700; }
.cp-line.brain.new { animation: cpIn .5s ease-out, brainGlow 2.4s ease-out; }
@keyframes brainGlow { 0% { box-shadow: 0 0 0 1px var(--accent), 0 0 34px -4px rgba(25,211,138,.9); } 100% { box-shadow: 0 10px 28px -18px rgba(25,211,138,.9); } }

/* v57 How it works — real money vs practice, same bold card language as the rest of the app */
.hx3-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 22px 0 18px; }
.hx3-col { --c: #19d38a; position: relative; overflow: hidden; border-radius: 24px; padding: 22px 22px 18px; border: 1px solid color-mix(in srgb, var(--c) 38%, transparent);
  background: radial-gradient(120% 80% at 0% 0%, color-mix(in srgb, var(--c) 16%, transparent), transparent 60%), linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  box-shadow: 0 24px 60px -34px var(--c); opacity: 0; animation: hxUp .7s calc(var(--i) * .1s + .2s) cubic-bezier(.2,.7,.2,1) forwards; }
.hx3-col::before { content: ''; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--c), transparent); }
.hx3-col.prac { --c: #8b8cff; }
.hx3-col header { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.hx3-col header i { font-style: normal; font-size: 22px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 16px; background: color-mix(in srgb, var(--c) 18%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 45%, transparent); }
.hx3-col h3 { margin: 0; font-size: 21px; font-weight: 900; letter-spacing: -.02em; }
.hx3-col header small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.hx3-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hx3-col li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.05); }
.hx3-col li span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; background: color-mix(in srgb, var(--c) 12%, transparent); font-size: 16px; }
.hx3-col li p { margin: 0; font-size: 14.5px; line-height: 1.45; font-weight: 600; color: var(--text); }
@media (max-width: 760px) { .hx3-split { grid-template-columns: 1fr; } .hx3-col { padding: 18px 16px 14px; } .hx3-col li p { font-size: 14px; } }

/* v57 🎁 invite friends → Pro */
.card.invite { position: relative; overflow: hidden; margin-bottom: 16px; border: 1px solid rgba(250,204,21,.45); background: radial-gradient(120% 90% at 100% 0%, rgba(250,204,21,.16), transparent 55%), radial-gradient(90% 80% at 0% 100%, rgba(139,92,246,.16), transparent 60%), linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01)); box-shadow: 0 26px 70px -40px rgba(250,204,21,.9); }
.inv-glow { position: absolute; inset: -40% -20% auto auto; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(250,204,21,.35), transparent 65%); filter: blur(10px); animation: invPulse 4s ease-in-out infinite; pointer-events: none; }
@keyframes invPulse { 50% { transform: scale(1.15); opacity: .7; } }
.inv-top { display: flex; margin-bottom: 8px; }
.inv-badge { font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; background: #facc15; color: #1a1300; }
.inv-main { display: flex; gap: 14px; align-items: center; position: relative; }
.inv-gift { font-size: 38px; width: 62px; height: 62px; flex: none; display: grid; place-items: center; border-radius: 20px; background: rgba(250,204,21,.14); box-shadow: inset 0 0 0 1px rgba(250,204,21,.4); animation: invBob 2.6s ease-in-out infinite; }
@keyframes invBob { 50% { transform: translateY(-4px) rotate(-4deg); } }
.inv-main h3 { margin: 0 0 4px; font-size: 21px; font-weight: 900; letter-spacing: -.02em; }
.inv-main p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.inv-prog { margin: 14px 0 12px; display: grid; gap: 6px; }
.inv-bar { height: 8px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.inv-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #facc15, #19d38a); box-shadow: 0 0 14px #facc15; transition: width .6s; }
.inv-prog small { color: var(--muted); font-weight: 700; font-size: 12px; }
.inv-link, .inv-mail { display: flex; gap: 8px; align-items: center; margin-top: 8px; position: relative; }
.inv-link input, .inv-mail input { flex: 1; min-width: 0; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(0,0,0,.25); color: var(--text); font: inherit; font-size: 13px; }
.inv-friends { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.inv-f { display: inline-flex; gap: 6px; align-items: center; padding: 5px 10px; border-radius: 99px; background: rgba(255,255,255,.05); border: 1px solid var(--line); font-size: 12px; }
.inv-f em { font-style: normal; color: var(--muted); } .inv-f.joined em, .inv-f.granted em { color: var(--accent); } .inv-f.review em { color: #facc15; } .inv-f.denied em { color: #fb7185; }
.inv-fine { margin: 10px 0 0; }
@media (max-width: 480px) { .inv-link { flex-wrap: wrap; } .inv-link input { flex-basis: 100%; } .inv-link .btn { flex: 1; } }
@media (prefers-reduced-motion: reduce) { .inv-glow, .inv-gift { animation: none; } }

.inv-adm-set { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-bottom: 12px; }
.inv-num { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; } .inv-num input { width: 70px; padding: 6px 8px; border-radius: 10px; border: 1px solid var(--line); background: rgba(0,0,0,.25); color: var(--text); }
.inv-adm-list { display: grid; gap: 6px; max-height: 420px; overflow: auto; }
.inv-adm-row { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.02); font-size: 13px; }
.inv-adm-row.review { border-color: rgba(250,204,21,.5); background: rgba(250,204,21,.06); }
@media (max-width: 560px) { .inv-adm-row { grid-template-columns: 1fr; } }

/* v57 💚 donate */
.card.donate { position: relative; overflow: hidden; border: 1px solid rgba(25,211,138,.4); background: radial-gradient(110% 80% at 0% 0%, rgba(25,211,138,.16), transparent 60%), radial-gradient(90% 70% at 100% 100%, rgba(244,114,182,.10), transparent 60%), linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01)); box-shadow: 0 26px 70px -42px rgba(25,211,138,.9); }
.dn-glow { position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(25,211,138,.3), transparent 65%); pointer-events: none; animation: invPulse 5s ease-in-out infinite; }
.dn-head { display: flex; gap: 14px; align-items: center; position: relative; }
.dn-heart { font-size: 28px; width: 54px; height: 54px; flex: none; display: grid; place-items: center; border-radius: 18px; background: rgba(25,211,138,.14); box-shadow: inset 0 0 0 1px rgba(25,211,138,.4); animation: dnBeat 1.6s ease-in-out infinite; }
@keyframes dnBeat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.12); } 30% { transform: scale(1); } 45% { transform: scale(1.08); } }
.dn-head h3 { margin: 0; font-size: 20px; font-weight: 900; letter-spacing: -.02em; } .dn-head small { color: var(--muted); font-size: 13px; }
.dn-made { position: relative; margin: 16px 0 10px; padding: 16px; border-radius: 18px; background: rgba(0,0,0,.25); border: 1px solid rgba(25,211,138,.25); display: grid; gap: 2px; }
.dn-made small { font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.dn-made b { font-size: 40px; font-weight: 900; letter-spacing: -.03em; line-height: 1.1; text-shadow: 0 0 30px rgba(25,211,138,.45); }
.dn-made span { color: var(--muted); font-size: 13px; }
.dn-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.dn-stats span { display: grid; gap: 2px; padding: 10px; border-radius: 14px; background: rgba(255,255,255,.04); font-size: 11.5px; color: var(--muted); text-align: center; } .dn-stats b { font-size: 16px; color: var(--text); }
.dn-copy { margin: 14px 0 6px; font-size: 14.5px; line-height: 1.5; }
.dn-ask { margin: 6px 0 12px; font-weight: 700; font-size: 14.5px; line-height: 1.45; }
.dn-chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.dn-chip { display: grid; justify-items: center; gap: 2px; padding: 10px 6px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.03); color: var(--text); font: inherit; cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .15s; }
.dn-chip small { font-size: 10.5px; color: var(--muted); font-weight: 800; } .dn-chip b { font-size: 17px; }
.dn-chip.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset, 0 12px 28px -18px var(--accent); } .dn-chip.on b { color: var(--accent); }
.dn-chip:active { transform: scale(.96); }
.dn-own span { display: flex; align-items: center; font-weight: 800; } .dn-own input { width: 100%; max-width: 64px; border: 0; background: transparent; color: var(--text); font: inherit; font-size: 16px; font-weight: 800; text-align: center; outline: none; }
.dn-go { position: relative; }
.dn-fine { margin: 10px 0 0; text-align: center; }
@media (prefers-reduced-motion: reduce) { .dn-heart, .dn-glow { animation: none; } }
/* v57 plan cards fit phones */
.plan .pz.pl .pz-name { font-size: 14px; overflow-wrap: anywhere; letter-spacing: -.01em; }
.plan .pl-sp { white-space: nowrap; font-size: 10.5px; }
@media (max-width: 420px) { .plan .pz.pl { padding: 12px 8px 10px; } .plan .pz.pl .pz-name { font-size: 13px; } .plan .pl-d { font-size: 10.5px; } .plan .pz.pl .pz-ic { width: 30px; height: 30px; } }

@media (max-width: 420px) { .plan .pz-row.pz3 { gap: 6px; } .plan .pz.pl { padding: 12px 7px 10px; } .plan .pz.pl .pz-name { font-size: 12.5px; overflow-wrap: normal; word-break: keep-all; } .plan .pl-d { min-height: 0; } .plan .pz-st b { font-size: 11.5px; } }
.dn-chips { align-items: stretch; } .dn-chip { align-content: center; min-height: 64px; }
@media (max-width: 420px) { .plan .pz.pl { padding: 12px 6px 10px; } .plan .pz.pl .pz-name { font-size: 11.5px; letter-spacing: -.02em; } }

/* v59 owner — each customer's real money now */
.cu-money { margin: 10px 0 8px; padding: 12px 14px; border-radius: 16px; background: linear-gradient(135deg, rgba(25,211,138,.12), rgba(25,211,138,.03)); border: 1px solid rgba(25,211,138,.3); display: grid; gap: 8px; }
.cu-money > div:first-child { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.cu-money small { width: 100%; font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cu-money > div > b { font-size: 26px; font-weight: 900; letter-spacing: -.02em; }
.cu-money em { font-style: normal; font-size: 12.5px; color: var(--accent); font-weight: 700; }
.cu-mb { display: flex; flex-wrap: wrap; gap: 6px; }
.cu-mb span { display: inline-flex; gap: 6px; align-items: center; padding: 5px 10px; border-radius: 99px; border: 1px solid var(--line); background: rgba(0,0,0,.2); font-size: 12px; }
.cu-mb span.on { border-color: var(--c); box-shadow: 0 0 12px -6px var(--c); } .cu-mb b { color: var(--c); } .cu-mb i { font-style: normal; font-weight: 800; } .cu-mb em { font-style: normal; }
.adm-u-now { font-size: 13px; margin-top: 4px; color: var(--muted); } .adm-u-now b { color: var(--accent); font-size: 15px; }
/* v59 — trading plan: big, proportional rows on phones (one strategy per row, like the rest of the app) */
@media (max-width: 640px) {
  .plan .pz-row.pz3 { grid-template-columns: 1fr !important; gap: 10px !important; margin-top: 12px; overflow: visible; }
  .plan .pz.pl { display: grid !important; grid-template-columns: 48px minmax(0, 1fr) auto !important; grid-template-areas: "ic name st" "ic desc sp"; align-items: center !important; column-gap: 14px; row-gap: 2px; padding: 16px 16px !important; border-radius: 20px; width: 100% !important; }
  .plan .pz.pl .pz-ic { grid-area: ic; width: 48px !important; height: 48px !important; border-radius: 15px; }
  .plan .pz.pl .pz-ic svg { width: 24px; height: 24px; }
  .plan .pz.pl .pz-name { grid-area: name; font-size: 19px !important; font-weight: 900; letter-spacing: -.02em !important; overflow-wrap: normal; }
  .plan .pz.pl .pl-d { grid-area: desc; font-size: 13.5px !important; min-height: 0 !important; }
  .plan .pz.pl .pz-st { grid-area: st; display: flex; flex-wrap: nowrap !important; gap: 6px; justify-self: end; }
  .plan .pz.pl .pz-st b { font-size: 15px !important; padding: 5px 9px; }
  .plan .pz.pl .pl-sp { grid-area: sp; justify-self: end; font-size: 12.5px !important; }
  .plan .pz.pl em { top: -10px; right: 16px; left: auto; }
  .plan .pz-auto { padding: 16px; border-radius: 20px; margin-top: 10px; }
  .plan .pz-auto > span:first-child { font-size: 30px; }
  .plan .pz-auto b { font-size: 17px; } .plan .pz-auto small { font-size: 13px; }
  .plan .set-h { font-size: 13px; } .plan .pl-lead { font-size: 13.5px; }
  .plan .pl-sum { font-size: 14.5px; padding: 14px 16px; border-radius: 18px; }
}
@media (max-width: 640px) {
  .plan .pz.pl { grid-template-columns: 48px auto minmax(0, 1fr) !important; grid-template-areas: "ic name name" "ic desc desc" "ic st sp"; row-gap: 6px; }
  .plan .pz.pl .pz-st { justify-self: start; }
  .plan .pz.pl .pl-sp { justify-self: start; margin-left: 4px; }
}
@media (max-width: 640px) {
  .plan .pz.pl { grid-template-columns: 48px minmax(0, 1fr) !important; grid-template-areas: "ic name" "ic desc" "ic st" "ic sp"; }
  .plan .pz.pl .pl-sp { margin-left: 0; }
}
/* v60 footer contact */
.foot-mail { display: inline-flex; align-items: center; gap: 12px; margin: 16px 0 6px; padding: 12px 18px; border-radius: 16px; border: 1px solid rgba(25,211,138,.35); background: linear-gradient(135deg, rgba(25,211,138,.12), rgba(25,211,138,.03)); color: var(--text); text-decoration: none; transition: transform .15s, box-shadow .2s; }
.foot-mail:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -18px var(--accent); }
.foot-mail i { font-style: normal; font-size: 22px; } .foot-mail span { display: grid; line-height: 1.25; }
.foot-mail small { color: var(--muted); font-size: 12px; } .foot-mail b { font-size: 16px; color: var(--accent); }

/* ===== v61 ===== */
/* No more "only the e-mail" on load: footer waits for the page; a small logo pulse shows while starting up. */
body:not(.ready) footer { display: none; }
.boot-splash { min-height: 70vh; display: grid; place-items: center; align-content: center; gap: 18px; }
.boot-splash .logo-mark { width: 54px; height: 54px; border-radius: 16px; font-size: 26px; animation: bootPulse 1.4s ease-in-out infinite; }
.boot-splash i { width: 120px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, transparent, var(--accent), transparent); background-size: 200% 100%; animation: bootBar 1.1s linear infinite; }
@keyframes bootPulse { 50% { transform: scale(1.08); box-shadow: 0 0 34px -4px rgba(25,211,138,.8); } }
@keyframes bootBar { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* v62 — one elegant row: medium ON/OFF · voice circle · Settings (same height, centered) */
.power-row { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.power-row .swipe { flex: 1; min-width: 0; height: 60px; margin: 0; border-radius: 999px; background: linear-gradient(180deg, #0a0e14, #121a26);
  border: 1px solid rgba(255,255,255,.10); box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 10px 26px -16px rgba(0,0,0,.9); }
.power-row .swipe.on { border-color: rgba(25,211,138,.45); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 0 22px -10px rgba(25,211,138,.8); }
.power-row .swipe-fill { width: calc(var(--sw) + 58px); }
.power-row .swipe .power { top: 5px; left: 5px; width: 48px; height: 48px; font-size: 13px; font-weight: 900; letter-spacing: .08em; box-shadow: 0 6px 18px -6px rgba(0,0,0,.8); }
.power-row .swipe .power.on { box-shadow: 0 0 0 4px rgba(25,211,138,.14), 0 0 24px rgba(25,211,138,.45); }
.power-row .swipe.on .power { left: calc(100% - 53px); }
.power-row .swipe-text { font-size: 13px; font-weight: 800; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; justify-content: center; }
.power-row .swipe:not(.on) .swipe-text { padding-left: 56px; } .power-row .swipe.on .swipe-text { padding-right: 56px; }
.power-row .set-btn { flex: none; width: 60px; min-width: 60px; height: 60px; padding: 0; gap: 3px; border-radius: 18px; border: 1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); font-size: 10px; font-weight: 800; letter-spacing: .03em; }
.power-row .set-btn i { font-size: 19px; }
@media (max-width: 360px) { .power-row { gap: 7px; } .power-row .swipe-text { font-size: 12.5px; } .power-row .set-btn { width: 54px; min-width: 54px; } }
.hold-mic { --lvl: 0; flex: none; position: relative; width: 50px; height: 50px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #bae6fd, #38bdf8 55%, #0ea5e9); color: #04202e;
  box-shadow: 0 0 0 1px rgba(125,211,252,.55), 0 6px 22px -6px rgba(56,189,248,.85);
  touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; transition: transform .15s; }
.hold-mic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; position: relative; z-index: 1; }
.hold-mic svg rect { fill: currentColor; }
.hold-mic .hm-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(125,211,252,.7); opacity: 0; pointer-events: none; }
.hold-mic.rec { transform: scale(calc(1.12 + var(--lvl) * .28)); animation: hmBuzz .09s linear infinite; box-shadow: 0 0 0 2px rgba(186,230,253,.9), 0 0 28px 4px rgba(56,189,248,.75); }
.hold-mic.rec .hm-ring { animation: hmRing 1.1s ease-out infinite; }
.hold-mic.rec .hm-ring.r2 { animation-delay: .55s; }
.hold-mic.think { animation: hmThink 1s ease-in-out infinite; }
@keyframes hmBuzz { 0% { translate: 0 0; } 25% { translate: .8px -.6px; } 50% { translate: -.8px .6px; } 75% { translate: .6px .8px; } 100% { translate: 0 0; } }
@keyframes hmRing { from { transform: scale(1); opacity: .9; } to { transform: scale(2.1); opacity: 0; } }
@keyframes hmThink { 50% { opacity: .55; transform: scale(.94); } }
@media (prefers-reduced-motion: reduce) { .hold-mic.rec { animation: none; } }

/* Trading plan: the pricing page's ".plan" padding was squeezing it — one clean group, three separate cards */
.plan.tplan { padding: 0; border: 0; box-shadow: none; background: none; }
.tplan .set-h { margin-bottom: 2px; }
.tplan .pz-row.pz3 { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 8px !important; margin-top: 10px; padding: 8px; border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); border: 1px solid var(--line); overflow: visible; }
.tplan .pz.pl { border-radius: 16px; background: rgba(8,12,18,.72); border: 1px solid rgba(255,255,255,.07); }
.tplan .pz.pl:not(.on) { box-shadow: none; transform: none; }
.tplan .pz.pl.on { background: linear-gradient(135deg, color-mix(in srgb, var(--c) 16%, rgba(8,12,18,.9)), rgba(8,12,18,.9)); }
@media (max-width: 640px) {
  .tplan .pz-row.pz3 { grid-template-columns: 1fr !important; gap: 6px !important; padding: 6px; }
  .plan.tplan .pz.pl { display: grid !important; grid-template-columns: 42px minmax(0, 1fr) auto !important; grid-template-areas: "ic name sp" "ic desc desc" "ic st st" !important; align-items: center !important;
    column-gap: 12px; row-gap: 4px; padding: 13px 14px !important; border-radius: 16px; width: 100% !important; }
  .plan.tplan .pz.pl .pz-ic { width: 42px !important; height: 42px !important; border-radius: 13px; }
  .plan.tplan .pz.pl .pz-ic svg { width: 21px; height: 21px; }
  .plan.tplan .pz.pl .pz-name { font-size: 17px !important; }
  .plan.tplan .pz.pl .pl-d { font-size: 12.5px !important; }
  .plan.tplan .pz.pl .pz-ic { align-self: start; margin-top: 2px; }
  .plan.tplan .pz.pl .pz-st { justify-self: start !important; gap: 5px; margin-top: 2px; }
  .plan.tplan .pz.pl .pz-st b { font-size: 13px !important; padding: 4px 8px; }
  .plan.tplan .pz.pl .pl-sp { justify-self: end !important; margin: 0 !important; font-size: 11.5px !important; }
  .plan.tplan .pz.pl em { top: -9px; right: 14px; left: auto; font-size: 9px; }
}

/* Auto: a long, slim, glowing blue bar */
.plan.tplan .pz-auto { --b: #38bdf8; display: flex; align-items: center; gap: 10px; width: 100%; min-height: 0; margin-top: 10px; padding: 9px 14px !important; border-radius: 14px !important;
  border: 1px solid rgba(56,189,248,.65); background: linear-gradient(90deg, rgba(14,165,233,.20), rgba(56,189,248,.07) 60%, rgba(14,165,233,.16));
  box-shadow: 0 0 18px -4px rgba(56,189,248,.65), inset 0 0 14px -6px rgba(125,211,252,.6); animation: autoGlow 2.8s ease-in-out infinite; }
.plan.tplan .pz-auto > span:first-child { font-size: 18px !important; }
.plan.tplan .pz-auto span:nth-child(2) { display: block; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plan.tplan .pz-auto b { font-size: 14px !important; color: #bae6fd; }
.plan.tplan .pz-auto small { display: none; }
.plan.tplan .pz-auto em { color: #7dd3fc; font-size: 12px; }
.plan.tplan .pz-auto.on { border-color: #7dd3fc; box-shadow: 0 0 26px -2px rgba(56,189,248,.9), inset 0 0 18px -6px rgba(186,230,253,.8); }
.plan.tplan .pz-auto.on b::after { content: ' ✓'; color: #7dd3fc; }
@keyframes autoGlow { 50% { box-shadow: 0 0 26px -2px rgba(56,189,248,.85), inset 0 0 16px -6px rgba(125,211,252,.75); } }
@media (prefers-reduced-motion: reduce) { .plan.tplan .pz-auto { animation: none; } }
.dn-owner { margin: 0 0 12px; padding: 8px 12px; border-radius: 12px; font-size: 12.5px; color: #bae6fd; background: rgba(56,189,248,.10); border: 1px solid rgba(56,189,248,.35); position: relative; }

/* v63 — AI team: one glowing Director card that opens the list; each agent opens to show its work */
.ag-team { border-radius: 20px; border: 1px solid rgba(139,92,246,.45); background: linear-gradient(135deg, rgba(120,90,255,.16), rgba(0,200,150,.08)); box-shadow: 0 0 28px -10px rgba(139,92,246,.75), inset 0 0 22px -14px rgba(167,139,250,.6); overflow: hidden; }
.ag-team > summary, .ag.ag-glow > summary { list-style: none; cursor: pointer; } .ag-team > summary::-webkit-details-marker, .ag.ag-glow > summary::-webkit-details-marker { display: none; }
.ag-team-h { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.ag-team-h > div { flex: 1; min-width: 0; display: grid; } .ag-team-h b { font-size: 16px; } .ag-team-h small { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ag-team-h .ag-i { font-size: 26px; }
.ag-dots { display: flex; gap: 3px; flex-wrap: wrap; max-width: 70px; justify-content: flex-end; }
.ag-chev { font-size: 22px; color: #c4b5fd; transition: transform .2s; } .ag-team[open] .ag-chev { transform: rotate(90deg); }
.ag-list { display: grid; gap: 8px; padding: 0 10px 12px; }
.ag.ag-glow { padding: 0; border-radius: 16px; border: 1px solid rgba(139,92,246,.40); background: linear-gradient(135deg, rgba(120,90,255,.12), rgba(0,200,150,.07)); box-shadow: 0 0 18px -10px rgba(139,92,246,.8); opacity: 1; }
.ag.ag-glow.off { opacity: .72; } .ag.ag-glow.gone { opacity: .5; border-style: dashed; box-shadow: none; }
.ag.ag-glow > .ag-h { display: flex; align-items: center; gap: 10px; padding: 11px 13px; margin: 0; }
.ag.ag-glow > .ag-h > div { flex: 1; min-width: 0; display: grid; } .ag.ag-glow > .ag-h small { color: var(--muted); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ag.ag-glow[open] > .ag-h small { white-space: normal; }
.ag-body { padding: 0 13px 13px; border-top: 1px solid rgba(139,92,246,.2); padding-top: 10px; }
.ag-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: #64748b; } .ag-dot.on { background: var(--accent); box-shadow: 0 0 8px var(--accent); } .ag-dot.gone { background: transparent; border: 1px dashed #64748b; }
.ag-badge { font-style: normal; font-size: 11px; padding: 2px 7px; border-radius: 99px; background: rgba(245,158,11,.14); color: #fbbf24; white-space: nowrap; }
.ag.ag-dir { border-color: rgba(167,139,250,.6); }

/* v63 — "Include what I already own" + Markets together in one card */
.sg-own { display: grid; gap: 12px; padding: 14px; border-radius: 20px; border: 1px solid rgba(255,255,255,.08); background: linear-gradient(135deg, rgba(25,211,138,.07), rgba(96,165,250,.06)); margin-bottom: 14px; }
.sg-own.two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
.sg-own .sg-adopt { margin: 0 !important; height: 100%; }
.mk-mini { display: grid; gap: 8px; align-content: start; }
.mk-mini-h { font-size: 11px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.mk-mini-g { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mkm { --c: var(--accent); position: relative; display: flex; align-items: center; gap: 7px; padding: 8px 9px; border-radius: 12px; border: 1px solid rgba(255,255,255,.09); background: rgba(0,0,0,.25); cursor: pointer; min-width: 0; transition: .15s; }
.mkm i { font-style: normal; width: 24px; height: 24px; flex: none; border-radius: 8px; display: grid; place-items: center; font-weight: 900; font-size: 12.5px; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); }
.mkm b { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .mkm small { margin-left: auto; font-size: 11px; }
.mkm.on { border-color: color-mix(in srgb, var(--c) 70%, transparent); box-shadow: 0 0 14px -6px var(--c), inset 0 0 10px -8px var(--c); }
.mkm.on i { background: var(--c); color: #04110b; }
.mkm.mk-na { opacity: .45; cursor: not-allowed; }
@media (max-width: 640px) {
  .sg-own:not(.two) .mk-mini-g { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sg-own:not(.two) .mkm { flex-direction: column; gap: 4px; padding: 8px 4px; text-align: center; } .sg-own:not(.two) .mkm b { font-size: 11px; }
  .mkm small { position: absolute; top: 3px; right: 4px; font-size: 9px; }
  /* side by side on the phone too: a compact "own" tile + the 2×2 markets */
  .sg-own.two { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 10px; padding: 12px; }
  .sg-own.two .sg-adopt { flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 12px; }
  .sg-own.two .sg-adopt small { font-size: 11px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .sg-own.two .sg-adopt b { font-size: 13px; }
  .sg-own.two .mkm { flex-direction: column; justify-content: center; padding: 8px 4px; gap: 4px; text-align: center; } .sg-own.two .mkm i { width: 24px; height: 24px; font-size: 12px; } .sg-own.two .mkm b { font-size: 11.5px; overflow: visible; }
  .sg-own.two .mk-mini-g { gap: 6px; } .sg-own.two .mk-mini-h { font-size: 10px; }
}

/* v63 — small voice circle beside Ask, and the floating answer card for the ON-row circle */
.cp-ask { align-items: center; }
.hold-mic.sm { width: 38px; height: 38px; }
.hold-mic.sm svg { width: 17px; height: 17px; }
.hm-bubble { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); width: min(92vw, 440px); z-index: 60; padding: 14px 40px 14px 16px; border-radius: 18px;
  background: linear-gradient(135deg, rgba(14,30,48,.97), rgba(10,16,24,.97)); border: 1px solid rgba(56,189,248,.55); box-shadow: 0 0 30px -8px rgba(56,189,248,.7), 0 20px 50px -20px #000;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .25s; font-size: 14px; line-height: 1.45; }
.hm-bubble.show { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.hm-bubble .hm-q { color: #bae6fd; font-size: 12.5px; margin-bottom: 6px; } .hm-bubble .hm-a { color: var(--text); max-height: 38vh; overflow: auto; }
.hm-bubble .hm-x { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(255,255,255,.08); color: var(--muted); cursor: pointer; }
.hm-bubble .typing { display: inline-flex; gap: 4px; } .hm-bubble .typing span { width: 6px; height: 6px; border-radius: 50%; background: #7dd3fc; animation: hmThink 1s infinite; } .hm-bubble .typing span:nth-child(2) { animation-delay: .2s; } .hm-bubble .typing span:nth-child(3) { animation-delay: .4s; }
