/* Swiss Profit — member dashboard (tabs, cards, track record). Mobile first. */
.dash-body { background: var(--snow); }
.dash { padding: 22px 0 72px; }
.dash-head { margin-bottom: 18px; }
.kicker { font-size: 12px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--swiss); margin-bottom: 6px; }

/* ---- tabs ---- */
.tabs { position: sticky; top: 64px; z-index: 5; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
  margin: 0 -16px 20px; padding: 8px 16px; background: color-mix(in srgb, var(--snow) 92%, transparent); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line); }
.tabs::-webkit-scrollbar { display: none; }
.tabs button, .tabs .tab-link { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 99px; border: 1px solid var(--line);
  background: var(--paper); color: var(--ink-2); font: 600 14px var(--font); cursor: pointer; text-decoration: none; white-space: nowrap; }
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.tabs em { font-style: normal; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--swiss); color: #fff; font-size: 12px; display: inline-grid; place-items: center; }
.tabpane { animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ---- cards ---- */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 20px; margin-bottom: 16px; }
.card h2 { font-size: 21px; letter-spacing: -0.02em; margin-bottom: 4px; }
.card h3 { font-size: 17px; margin-bottom: 12px; }
.card .hint, .section-head .hint { color: var(--ink-3); font-size: 14px; margin: 2px 0 14px; }
.section-head { margin: 8px 2px 12px; }
.section-head h2 { font-size: 22px; letter-spacing: -0.02em; }
.section-head.row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 12px; }
.section-head.row h3 { margin: 0; }
.row-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.topic { margin-top: 14px; overflow-wrap: anywhere; }
.topic .btn { margin-left: 6px; }

/* ---- performance strip on the signals tab ---- */
.strip { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; padding: 0; border: 0; cursor: pointer; text-align: left;
  background: var(--line); border-radius: 18px; overflow: hidden; margin-bottom: 16px; box-shadow: 0 1px 0 var(--line); }
.strip > div { background: linear-gradient(180deg, #13202f, #1b2c40); color: #fff; padding: 14px 16px; }
.strip b { display: block; font-size: 22px; letter-spacing: -0.02em; }
.strip span { font-size: 12px; opacity: .75; }
.strip b.up { color: #5fcf9f; }
@media (min-width: 720px) { .strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.promo { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; padding: 16px 18px; margin-bottom: 18px;
  border-radius: 18px; background: #fff7e8; border: 1px solid #f3dfb4; }
.promo p { font-size: 14px; color: var(--ink-2); margin-top: 2px; }

/* ---- open trade card ---- */
.tcard { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 18px; margin-bottom: 14px; }
.tcard-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tcard-top strong { font-size: 21px; letter-spacing: -0.02em; }
.tcard-top .res { margin-left: auto; font-weight: 700; font-size: 18px; text-align: right; }
.tcard-top .res .acct { display: block; font-size: 11px; font-weight: 500; color: var(--muted, #6b7280); }
.tag { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 99px; background: var(--mist); color: var(--ink-2); }
.meta { font-size: 13px; color: var(--ink-3); margin-top: 4px; }

.rbar { position: relative; height: 54px; margin: 22px 6px 6px; }
.rbar .track { position: absolute; left: 0; right: 0; top: 14px; height: 8px; border-radius: 99px;
  background: linear-gradient(90deg, var(--short) 0 25%, #c9d3dd 25% 25.4%, var(--long-bg) 25.4% 100%); }
.rbar .prog { position: absolute; top: 14px; height: 8px; border-radius: 99px; }
.rbar .mk { position: absolute; top: 0; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; font-size: 11px; color: var(--ink-3); white-space: nowrap; }
.rbar .mk i { width: 2px; height: 36px; background: var(--ink-3); opacity: .35; }
.rbar .mk span { margin-top: 2px; }
.rbar .now { position: absolute; top: 9px; width: 18px; height: 18px; border-radius: 50%; transform: translateX(-50%); border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.25); }

.levels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.levels > div { border-radius: 12px; padding: 10px 12px; background: var(--snow); border: 1px solid var(--line); }
.levels span { display: block; font-size: 12px; color: var(--ink-3); }
.levels b { font-size: 16px; }
.levels .sl b { color: var(--short); }
.levels .t1 b, .levels .t2 b { color: var(--target); }
.levels .done { opacity: .55; text-decoration: line-through; }
@media (min-width: 720px) { .levels { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.tcard .todo { margin-top: 16px; }
.late { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: #f4f8fc; border: 1px solid #dbe6f1; font-size: 14px; }
.late .lt { display: block; font-weight: 700; margin-bottom: 4px; }

.how { margin-top: 18px; }
.how .guide { margin: 6px 0 12px; }

/* ---- radar ---- */
.radar { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 720px) { .radar { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .radar { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rcard { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.rcard-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.rcard-top strong { font-size: 18px; }
.rcard-top .px { font-weight: 650; font-size: 18px; }
.rcard .status { font-size: 14px; color: var(--ink-2); }
.rcard .status b.up { color: var(--long); }
.rcard .status b.down { color: var(--short); }
.rcard .mini { height: 150px; border-radius: 12px; overflow: hidden; background: var(--snow); }
.rcard .foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-3); }

/* ---- results ---- */
.hero-card { background: radial-gradient(120% 120% at 100% 0%, #1f3550 0%, #13202f 55%); color: #fff; border: 0; }
.hero-card h2 { color: #fff; font-size: clamp(22px, 5vw, 30px); max-width: 22ch; }
.hero-card .kicker { color: #f08a80; }
.hero-card .muted { color: rgba(255,255,255,.65); }
.big-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 18px 0; }
.big-kpis div { background: rgba(255,255,255,.06); border-radius: 14px; padding: 12px 14px; }
.big-kpis b { display: block; font-size: 26px; letter-spacing: -0.02em; }
.big-kpis b.up { color: #5fcf9f; }
.big-kpis span { font-size: 12px; opacity: .75; }
@media (min-width: 720px) { .big-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.curve svg { width: 100%; height: 170px; display: block; }
.years { display: flex; gap: 6px; flex-wrap: wrap; margin: 14px 0 10px; }
.years span { font-size: 12px; padding: 5px 9px; border-radius: 99px; background: rgba(255,255,255,.08); }
.years span b.up { color: #5fcf9f; } .years span b.down { color: #f08a80; }
.periods { display: flex; gap: 6px; flex-wrap: wrap; }
.periods .btn { padding: 7px 12px; font-size: 13px; }
.live-line { font-size: 14px; color: var(--ink-2); margin: 10px 0 4px; }
.badge-live { font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 99px; background: var(--long-bg); color: var(--long); margin-left: 6px; }
#more { margin-top: 12px; }
table.mkt { width: 100%; border-collapse: collapse; font-size: 14px; }
table.mkt th, table.mkt td { text-align: left; padding: 10px 6px; border-top: 1px solid var(--line); }
table.mkt th { border-top: 0; color: var(--ink-3); font-weight: 600; font-size: 12px; }
table.mkt td.r, table.mkt th.r { text-align: right; }

/* ---- macro widgets ---- */
.tv-box { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.tv-box.tall { height: 560px; }

/* ---- position calculator ---- */
.calc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.calc-grid label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--ink-3); font-weight: 600; }
.calc-grid label.full { grid-column: 1 / -1; }
.calc-grid input, .calc-grid select { font: 600 16px var(--font); color: var(--ink); padding: 11px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--snow); width: 100%; }
.calc-out { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 14px 0 10px; }
.calc-out > div { border-radius: 12px; padding: 10px 12px; background: var(--snow); border: 1px solid var(--line); }
.calc-out > div.big { grid-column: 1 / -1; background: var(--ink); color: #fff; border-color: var(--ink); }
.calc-out span { display: block; font-size: 12px; color: var(--ink-3); }
.calc-out .big span { color: rgba(255,255,255,.7); }
.calc-out b { font-size: 18px; }
.calc-out .loss b { color: var(--short); }
.calc-out .gain b { color: var(--long); }
.calc-out > div.wide { grid-column: 1 / -1; }
.calc-out .big b { font-size: 26px; }
.calc-out .big span.lv { margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.55); }

/* ---- opportunities ---- */
.opp { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.opp:first-child { border-top: 0; padding-top: 2px; }
.opp strong { font-size: 16px; }
.opp .what { grid-column: 1 / -1; font-size: 14px; color: var(--ink-2); }
.opp .near { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: #fff3d6; color: #8a5a00; align-self: start; }
.meter { height: 6px; border-radius: 99px; background: var(--mist); overflow: hidden; grid-column: 1 / -1; }
.meter i { display: block; height: 100%; border-radius: 99px; }
.exposure { font-size: 14px; color: var(--ink-2); margin: -4px 2px 12px; }
.exposure b { color: var(--ink); }
.rcard .setup { font-size: 14px; padding: 10px 12px; border-radius: 12px; background: #fff7e8; border: 1px solid #f3dfb4; }

/* market picker on the track-record card */
.mk-pick { display: flex; gap: 6px; overflow-x: auto; margin: 14px 0 4px; padding-bottom: 4px; scrollbar-width: none; }
.mk-pick button { flex: none; border: 1px solid rgba(255,255,255,.18); background: transparent; color: rgba(255,255,255,.75); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 13px; cursor: pointer; }
.mk-pick button[aria-pressed="true"] { background: #fff; color: #0b1524; border-color: #fff; font-weight: 600; } /* fixed dark text: --ink turns light in the dark theme */

/* edge meter in the radar cards */
.edge { margin: 10px 0 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--snow); }
.edge summary { cursor: pointer; padding: 9px 12px; font-size: 13px; font-weight: 600; color: var(--ink-2); list-style: none; }
.edge summary::-webkit-details-marker { display: none; }
.edge summary::after { content: "+"; float: right; color: var(--ink-3); }
.edge[open] summary::after { content: "−"; }
.edge dl { margin: 0; padding: 0 12px 6px; display: grid; gap: 6px; }
.edge dl div { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; border-top: 1px dashed var(--line); padding-top: 6px; }
.edge dt { color: var(--ink-3); } .edge dd { margin: 0; font-weight: 600; text-align: right; }
.edge .up { color: var(--long); } .edge .down { color: var(--short); }
.edge p { padding: 0 12px 10px; margin: 0; }

/* retirement */
.rt-lead { color: rgba(255,255,255,.8); margin: 8px 0 4px; }
.rt-steps { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 8px; color: rgba(255,255,255,.9); }
.rt-steps b { color: #fff; }
.rt-thermo { display: grid; gap: 16px; margin-top: 8px; }
.rt-row { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px 8px; }
.rt-row.hot { border-color: var(--gold); background: #fbf6ea; }
.rt-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.rt-head span { font-weight: 700; } .rt-head small { font-weight: 400; color: var(--ink-3); }
.rt-bar { position: relative; height: 10px; background: var(--mist); border-radius: 99px; margin: 10px 0 22px; }
.rt-bar i { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, #e6a23c, var(--short)); border-radius: 99px; }
.rt-bar em { position: absolute; top: -3px; width: 2px; height: 16px; background: var(--ink-2); font-style: normal; }
.rt-bar em span { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); font-size: 11px; color: var(--ink-3); white-space: nowrap; }

/* own trade chart */
.tc-wrap { padding: 8px 4px 12px; overflow: auto; }
.tc-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: baseline; padding: 4px 12px 8px; }
.tchart { width: 100%; height: auto; display: block; background: #fff; border-radius: 12px; }

/* platform showcase cards */
.show-card { position: relative; padding-top: 44px; }
.show-card::before { content: attr(data-band); position: absolute; top: 0; left: 0; right: 0; padding: 8px 18px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: linear-gradient(90deg, #c9a24a, #e8cf8a); color: #13202f; border-radius: inherit; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.rt-rank { display: grid; gap: 8px; margin: 6px 0 12px; }
.rt-rank div { background: rgba(255,255,255,.06); border-radius: 12px; padding: 10px 14px; display: flex; flex-direction: column; }
.rt-rank b { font-size: 18px; } .rt-rank span { font-size: 12px; opacity: .75; }

/* compact golden platform card on the Signals tab */
.strip { position: relative; padding-top: 36px !important; border-radius: 16px; overflow: hidden; }
.strip::before { content: attr(data-band); position: absolute; top: 0; left: 0; right: 0; padding: 9px 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; background: linear-gradient(90deg, #c9a24a, #e8cf8a); color: #13202f; }

/* my portfolio */
.wl-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin: 6px 0 12px; }
.wl-top > div > span { display: block; font-size: 13px; opacity: .75; }
.wl-top > div > b { font-size: 38px; letter-spacing: -.03em; line-height: 1.05; }
.wl-gain { text-align: right; } .wl-gain b { font-size: 20px; display: block; } .wl-gain span { font-size: 13px; opacity: .8; }
.wl-gain.up b { color: #5fcf9f; } .wl-gain.down b { color: #f08a80; }
.wl-chart { width: 100%; height: 190px; display: block; margin-top: 8px; }
.wl-legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; opacity: .8; margin-top: 6px; }
.wl-legend span { display: inline-flex; align-items: center; white-space: nowrap; }
.wl-legend .wl-key { display: inline-block; width: 16px; height: 3px; min-height: 0; border-radius: 2px; margin: 0 6px 0 0; padding: 0; border: 0; background: #5fcf9f; }
.wl-legend .wl-key.dash { background: repeating-linear-gradient(90deg, rgba(255,255,255,.75) 0 4px, transparent 4px 7px); }
.wl-legend .wl-range { margin-left: auto; opacity: .85; }
.wl-gain b { white-space: nowrap; }
#wl-list td { vertical-align: middle; } #wl-list td:first-child, #wl-list td.r { white-space: nowrap; } #wl-list td, #wl-list th { padding-left: 6px; padding-right: 6px; }
.wl-row { padding: 10px 0; border-top: 1px solid var(--line); } .wl-row:first-child { border-top: 0; }
.wl-row-top { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.wl-row-top b i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 8px; }
.wl-bar { height: 8px; background: var(--mist); border-radius: 99px; overflow: hidden; margin: 8px 0 4px; } .wl-bar i { display: block; height: 100%; border-radius: 99px; }
#wl-form .btn.full { grid-column: 1 / -1; }

/* ===== Long term ===== */
.lt-strip { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; padding: 0; border: 0; cursor: pointer; text-align: left;
  border-radius: 16px; overflow: hidden; position: relative; padding-top: 30px; background: #0f2a2e; margin-top: 12px; }
.lt-strip::before { content: attr(data-band); position: absolute; top: 0; left: 0; right: 0; padding: 7px 16px; font-size: 11px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; background: linear-gradient(90deg, #7fc8c0, #cfe9e4); color: #0f2a2e; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lt-strip > div { background: linear-gradient(180deg, #0f2a2e, #15393e); color: #fff; padding: 12px 16px; }
.lt-strip b { display: block; font-size: 20px; letter-spacing: -0.02em; }
.lt-strip b.up { color: #5fcf9f; } .lt-strip b.muted { color: rgba(255,255,255,.55); }
.lt-strip span { font-size: 12px; opacity: .75; }
@media (min-width: 720px) { .lt-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.lt-hero { position: relative; padding-top: 44px; background: radial-gradient(120% 120% at 100% 0%, #1d4a50 0%, #0f2a2e 60%); }
.lt-hero::before { content: attr(data-band); position: absolute; top: 0; left: 0; right: 0; padding: 8px 18px; font-size: 12px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; background: linear-gradient(90deg, #7fc8c0, #cfe9e4); color: #0f2a2e; border-radius: inherit; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.lt-hero .kicker { color: #9fe0d6; }
.lt-vs { display: grid; gap: 1px; margin: 16px 0 6px; border-radius: 14px; overflow: hidden; background: rgba(255,255,255,.08); }
.lt-vs > div { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 8px; align-items: baseline; padding: 10px 14px; background: rgba(15,42,46,.65); }
.lt-vs > div span { font-size: 13px; opacity: .8; }
.lt-vs > div b { font-size: 21px; letter-spacing: -.02em; text-align: right; }
.lt-vs .lt-vs-h b { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; opacity: .75; }
.lt-vs b.up { color: #5fcf9f; } .lt-vs b.gold { color: #e0b55c; } .lt-vs b.down { color: #f08a80; }
.lt-chart { width: 100%; height: 200px; display: block; margin-top: 10px; }
.lt-ins { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 14px 0; }
@media (min-width: 720px) { .lt-ins { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.lt-in { background: var(--card, #fff); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; display: grid; gap: 3px; }
.lt-in b { font-size: 24px; letter-spacing: -.02em; } .lt-in span { font-size: 13px; font-weight: 600; } .lt-in em { font-style: normal; font-size: 12px; color: var(--muted, #6b7685); }
.lt-ins.mini { margin: 4px 0 12px; } .lt-ins.mini b { font-size: 19px; }
.lt-bar { display: block; height: 6px; border-radius: 99px; background: var(--mist, #eef1f4); overflow: hidden; margin: 4px 0 2px; }
.lt-bar > i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #4fb3a6, #1f9d6b); }
.lt-grid { display: grid; gap: 12px; } @media (min-width: 720px) { .lt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lt-pos { border: 1px solid var(--line); border-radius: 16px; padding: 14px; display: grid; gap: 8px; }
.lt-pos.new { border-color: #7fc8c0; background: linear-gradient(180deg, #f2fbf9, #fff); }
.lt-pos-h { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.lt-pos-h b { font-size: 16px; } .lt-gain { font-size: 22px !important; letter-spacing: -.02em; }
.lt-gain.up { color: #1f9d6b; } .lt-gain.down { color: #d2463c; }
.lt-sym { font-size: 12px; color: var(--muted, #6b7685); margin-right: 6px; }
.lt-chip { display: inline-block; font-size: 11px; padding: 2px 8px; border-radius: 99px; background: var(--mist, #eef1f4); color: #334; vertical-align: middle; }
.lt-spark { width: 100%; height: 64px; display: block; }
.lt-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 12px; }
.lt-rows > div { display: grid; } .lt-rows span { font-size: 12px; color: var(--muted, #6b7685); } .lt-rows b { font-size: 15px; }
.lt-rows b.down { color: #d2463c; } .lt-rows b.up { color: #1f9d6b; } .lt-rows small { font-weight: 400; color: var(--muted, #6b7685); }
.lt-verdict { margin: 2px 0 0; font-size: 13px; padding: 8px 10px; border-radius: 10px; }
.lt-verdict.ok { background: #e8f6ef; color: #156c4a; } .lt-verdict.wait { background: #fff4e0; color: #8a5a00; }
.lt-ready { display: grid; gap: 10px; } .lt-ready > div { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: center; }
.lt-ready > div span { font-size: 13px; color: var(--muted, #6b7685); } .lt-ready .lt-bar { grid-column: 1 / -1; }
.lt-legend { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 12px; color: var(--muted, #6b7685); align-items: center; margin-bottom: 10px; }
.lt-dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 4px; vertical-align: middle; }
.lt-dot.open, .lt-tag.open { background: #1f9d6b; color: #fff; border-color: #1f9d6b; }
.lt-dot.signal, .lt-tag.signal { background: #e0b55c; color: #13202f; border-color: #c9a24a; }
.lt-dot.ready, .lt-tag.ready { background: #e8f6ef; color: #156c4a; border-color: #8fd3b5; }
.lt-dot.watch, .lt-tag.watch { background: #fff4e0; color: #8a5a00; border-color: #f1d59a; }
.lt-dot.out, .lt-tag.out { background: #f0f2f5; color: #6b7685; border-color: #e1e5ea; }
.lt-maprow { margin-top: 10px; } .lt-maprow h4 { margin: 0 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted, #6b7685); }
.lt-maprow > div { display: flex; flex-wrap: wrap; gap: 6px; }
.lt-tag { border: 1px solid; border-radius: 99px; padding: 4px 10px; font-size: 13px; display: inline-flex; gap: 6px; align-items: baseline; }
.lt-tag small { font-size: 11px; opacity: .8; }
.gold-t { color: #a77d17; }
.lt-lg { white-space: nowrap; display: inline-flex; align-items: center; }
.lt-multi { margin: 10px 0 0; font-size: 15px; color: #e0b55c; font-weight: 700; }
.lt-wt { margin: 16px 0 2px; font-size: 14px; font-weight: 700; color: #e0b55c; } .lt-wp { margin: 0 0 8px; font-size: 13px; color: rgba(255,255,255,.7); }
.lt-win { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 10px; }
@media (min-width: 720px) { .lt-win { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.lt-win span { background: rgba(255,255,255,.07); border-radius: 12px; padding: 8px 10px; display: grid; font-size: 13px; }
.lt-win b { color: #5fcf9f; font-size: 20px; letter-spacing: -.02em; } .lt-win small { opacity: .6; font-size: 11px; }
.lt-tools { display: grid; gap: 10px; margin-bottom: 12px; }
.lt-cats { display: flex; flex-wrap: wrap; gap: 6px; }
.lt-cats button { border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 6px 12px; font-size: 13px; cursor: pointer; }
.lt-cats button[aria-pressed="true"] { background: #0f2a2e; color: #fff; border-color: #0f2a2e; } .lt-cats small { opacity: .65; }
.lt-sort { display: flex; gap: 8px; align-items: center; font-size: 13px; } .lt-sort select { flex: 1; max-width: 260px; }

/* ---------- My plan (3 pots + Today) ---------- */
.pl-today { display: grid; gap: 10px; margin-top: 14px; }
.pl-trow { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; text-align: left; width: 100%; padding: 14px; border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.06); color: #fff; cursor: pointer; }
.pl-trow:hover { background: rgba(255,255,255,.1); }
.pl-trow.act { border-color: #5fcf9f; background: rgba(95,207,159,.12); }
.pl-trow .pl-ic { font-size: 22px; }
.pl-trow b { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; opacity: .75; }
.pl-trow > span > span { display: block; font-size: 15px; line-height: 1.4; }
.pl-trow em { font-style: normal; font-size: 13px; opacity: .8; white-space: nowrap; }
.pl-quiz fieldset { border: 0; padding: 0; margin: 0 0 16px; }
.pl-quiz legend { font-weight: 650; margin-bottom: 8px; }
.pl-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pl-opt { position: relative; cursor: pointer; }
.pl-opt input { position: absolute; opacity: 0; }
.pl-opt span { display: block; height: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; line-height: 1.35; background: var(--snow); }
.pl-opt input:checked + span { border-color: var(--target); background: var(--target-bg); font-weight: 650; }
.pl-opt input:focus-visible + span { outline: 2px solid var(--target); outline-offset: 2px; }
.err-t { color: var(--short); min-height: 1em; }
.up-t { color: var(--long); }
.pl-res { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: center; }
.pl-donut { width: 100%; max-width: 220px; margin: 0 auto; }
.pl-dc { font: 700 15px var(--font); fill: var(--ink); }
.pl-ds { font: 500 10px var(--font); fill: var(--ink-3); }
.pl-pot { display: grid; grid-template-columns: 12px 1fr auto; gap: 10px; align-items: start; padding: 12px 0; border-top: 1px solid var(--line); }
.pl-pot > i { width: 12px; height: 12px; border-radius: 3px; margin-top: 5px; }
.pl-pot b { display: block; }
.pl-pot span { display: block; font-size: 13px; color: var(--ink-2); }
.pl-pot small { display: block; font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.pl-pot strong { font-size: 18px; white-space: nowrap; }
.pl-adjbox { margin-top: 16px; padding: 14px; border: 1px dashed var(--line); border-radius: 12px; }
.calc-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pl-inrt { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.pl-inrt h4 { margin: 0 0 10px; font-size: 15px; }
.pl-inrt-b { display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: center; }
.pl-inrt .pl-donut { max-width: 150px; }
.pl-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.pl-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 8px; }
.pl-legend small { color: var(--ink-3); }
.pl-emerg { margin: 18px 0 8px; padding: 12px 14px; border-radius: 12px; background: #fff7e6; border: 1px solid #f0d9a6; font-size: 14px; }
.pl-buy { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 10px; margin: 12px 0 16px; }
.pl-buy > div { padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
.pl-buy b { display: block; } .pl-buy span { font-size: 13px; color: var(--ink-2); }
.pl-refrow { display: flex; gap: 8px; margin: 10px 0; }
.pl-refrow input { flex: 1; min-width: 0; font: 500 14px var(--font); padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--snow); }
/* ---------- Retirement 2.0 ---------- */
.rt2-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 8px; margin: 12px 0; }
.rt2-split > div { display: grid; grid-template-columns: 10px 1fr auto; gap: 8px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; }
.rt2-split i { width: 10px; height: 10px; border-radius: 3px; }
.rt2-act { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }
.rt2-act .consent { margin-top: 0; }
.rt2-ok { font-weight: 650; color: var(--long); }
.rt2-streak { font-size: 14px; font-weight: 600; }
.rt2-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr)); gap: 12px; margin-top: 12px; }
.rt2-card { padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.rt2-card.hot { border-color: var(--long); box-shadow: 0 0 0 2px var(--long-bg); }
.rt2-h { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.rt2-h b { margin-right: 6px; }
.rt2-w { font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.rt2-dd { margin-top: 10px; } .rt2-dd b { font-size: 26px; letter-spacing: -.02em; } .rt2-dd span { margin-left: 6px; font-size: 13px; color: var(--ink-3); }
.rt2-z { font-size: 14px; font-weight: 600; margin: 4px 0 6px; }
.rt2-etf { color: var(--ink-2); margin-top: 6px; }
.rt2-off { margin: 8px 0 0; padding-left: 18px; }
/* ---------- long term: the trade made for the member ---------- */
.lt-vsk { margin: 14px 0 0; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: #e0b55c; font-weight: 700; }
.lt-vst { margin: 4px 0 0; font-size: 18px; font-weight: 600; }
.lt-vs .lead-row b { font-size: 26px; }
.lt-vsn { opacity: .8; margin-top: 8px; }
/* ---------- small explanations ---------- */
.tip { display: inline-grid; place-items: center; width: 17px; height: 17px; margin-left: 5px; padding: 0; border-radius: 50%; border: 1px solid var(--ink-3);
  background: transparent; color: var(--ink-3); font: 700 10px var(--font); cursor: pointer; vertical-align: 1px; }
.tip-pop { position: absolute; z-index: 60; max-width: 300px; padding: 10px 12px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 13px; line-height: 1.45; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
@media (max-width: 640px) {
  .pl-res, .pl-inrt-b { grid-template-columns: 1fr; }
  .pl-opts { grid-template-columns: 1fr; }
  .calc-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pl-trow { grid-template-columns: 28px 1fr; } .pl-trow em { display: none; }
}
.lt-sparkcap { margin: 2px 0 8px; font-size: 11px; color: var(--ink-3); }

/* ---- long term: return + crash protection (Oct 2026) ---- */
.lt-ret { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0 6px; }
.lt-ret > div { background: rgba(255,255,255,.07); border-radius: 14px; padding: 12px 14px; }
.lt-ret b { display: block; font-size: 28px; letter-spacing: -.02em; line-height: 1.1; }
.lt-ret b.up { color: #5fcf9f; }
.lt-ret span { font-size: 12.5px; opacity: .8; }
.lt-ddline { margin: 8px 0 0; font-size: 14px; opacity: .9; }
.lt-prot { margin: 14px 0 10px; }
.lt-crash { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; margin-top: 12px; }
.lt-cr { background: rgba(15,42,46,.65); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 12px 14px; }
.lt-cr.won { border-color: rgba(227,200,122,.35); }
.lt-cr-h { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; margin: 0 0 8px; }
.lt-cr-h b { font-size: 14.5px; } .lt-cr-h span { font-size: 11.5px; opacity: .65; white-space: nowrap; }
.lt-cr-r { display: grid; grid-template-columns: minmax(0, 1.25fr) 1fr auto; gap: 8px; align-items: center; font-size: 12.5px; padding: 3px 0; }
.lt-cr-r span { opacity: .85; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lt-cr-r b { font-size: 15px; min-width: 46px; text-align: right; }
.lt-cr-bar { display: block; height: 8px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.lt-cr-bar > i { display: block; height: 100%; border-radius: 99px; }
.lt-cr-r.spx .lt-cr-bar > i { background: #f08a80; } .lt-cr-r.spx b { color: #f08a80; }
.lt-cr-r.mk .lt-cr-bar > i { background: rgba(255,154,139,.55); } .lt-cr-r.mk b { color: #ffb7ab; }
.lt-cr-r.us .lt-cr-bar > i { background: #e0b55c; } .lt-cr-r.us b { color: #e0b55c; }
.lt-psum { margin: 10px 0 0; font-size: 14px; font-weight: 600; color: #e0b55c; }
.down-t { color: var(--short); } .warn-t { color: var(--gold); }

/* ---- my portfolio 2.0 ---- */
.wl-hrow { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.wl-hrow .kicker { margin: 0; }
.wl-ccy { display: inline-flex; background: rgba(255,255,255,.1); border-radius: 99px; padding: 3px; }
.wl-ccy button { border: 0; background: none; color: inherit; font: 600 12px var(--font); padding: 6px 10px; border-radius: 99px; cursor: pointer; opacity: .75; }
.wl-ccy button[aria-pressed="true"] { background: #fff; color: var(--ink); opacity: 1; }
.wl-seg { display: flex; background: var(--mist); border-radius: 12px; padding: 3px; gap: 3px; }
.wl-seg button { flex: 1; border: 0; background: none; font: 600 15px var(--font); color: var(--ink-2); padding: 10px; border-radius: 9px; cursor: pointer; }
.wl-seg.small button { font-size: 13px; padding: 8px; }
.wl-seg button[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(19,32,47,.12); }
.wl-seg button[data-wl-kind="sell"][aria-pressed="true"] { color: var(--short); }
.wl-seg button[data-wl-kind="buy"][aria-pressed="true"] { color: var(--long); }
.wl-seg button:disabled { opacity: .4; cursor: not-allowed; }
.wl-own, .wl-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wl-sub { margin: 0; }
.wl-own .full { grid-column: 1 / -1; margin: 0; }
.wl-tg { margin: 0 0 10px; }
.wl-tg-h { display: flex; justify-content: space-between; gap: 8px; font-size: 13.5px; margin-bottom: 4px; }
.wl-tg-h span { color: var(--ink-3); white-space: nowrap; }
.wl-tg-bar { position: relative; height: 10px; border-radius: 99px; background: var(--mist); }
.wl-tg-bar > i { display: block; height: 100%; border-radius: 99px; background: var(--target); }
.wl-tg-bar > em { position: absolute; top: -3px; width: 3px; height: 16px; margin-left: -1.5px; background: var(--ink); border-radius: 2px; }
#wl-target h4 { margin: 14px 0 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); }
#wl-target h4:first-child { margin-top: 0; }
.wl-tip { background: var(--target-bg); color: var(--target); border-radius: 12px; padding: 10px 12px; font-size: 14px; margin: 8px 0 0; }
.wl-alloc-top { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.wl-donut { width: 128px; height: 128px; flex: none; }
.wl-dn-v { font: 700 26px var(--font); fill: var(--ink); } .wl-dn-l { font: 500 11px var(--font); fill: var(--ink-3); }
.wl-pots { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; flex: 1; min-width: 180px; }
.wl-pots > div { background: var(--snow); border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; }
.wl-pots span { display: block; font-size: 11.5px; color: var(--ink-3); } .wl-pots b { font-size: 15px; } .wl-pots small { color: var(--ink-3); margin-left: 4px; }
.wl-hold { padding: 10px 0; border-top: 1px solid var(--line); }
.wl-hold-h { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.wl-hold-h b { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.wl-hold-h b i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.wl-hold-v { font-weight: 700; white-space: nowrap; }
.wl-hold .wl-bar { margin: 6px 0; }
.wl-hold-f { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink-3); }
.wl-hist { display: grid; gap: 8px; }
.wl-tx { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: var(--snow); }
.wl-tx-h { display: flex; align-items: center; gap: 8px; }
.wl-tx-h b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wl-tx-h .muted { font-size: 12.5px; }
.wl-tx-b { display: flex; justify-content: space-between; gap: 8px; margin-top: 4px; font-size: 13.5px; color: var(--ink-2); }
.wl-kind { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 3px 7px; border-radius: 6px; }
.wl-kind.buy { background: var(--long-bg); color: var(--long); } .wl-kind.sell { background: var(--short-bg); color: var(--short); }
@media (max-width: 420px) { .wl-own, .wl-sub { grid-template-columns: 1fr; } .lt-ret b { font-size: 23px; } }
.calc-grid > .full { grid-column: 1 / -1; }
.wl-hist { grid-template-columns: minmax(0, 1fr); }
.wl-tx { min-width: 0; }
.wl-tx-b > * { min-width: 0; }

/* ---- Crypto tab (Oct 2026) ---- */
.cy-hero h2 { color: #fff; margin: 2px 0 16px; }
.cy-grid { display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .cy-grid { grid-template-columns: 1fr; } }
.cy-tile { background: rgba(255, 255, 255, .05); border: 1px solid rgba(196, 214, 235, .12); border-radius: 16px; padding: 16px; display: grid; gap: 6px; align-content: start; }
.cy-tile h3 { font-size: 14px; font-weight: 600; color: #c9d6e4; margin: 0; }
.cy-big { font-size: 24px; font-weight: 650; letter-spacing: -0.02em; color: #fff; }
.cy-sub { font-size: 13px; color: #b9c7d6; }
.cy-hint { font-size: 12.5px; color: #8ea2b8; margin-top: 4px; line-height: 1.45; }
.cy-gauge { width: 100%; max-width: 200px; height: auto; display: block; }
.cy-zones { position: relative; display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 3px; height: 10px; margin: 8px 0 6px; }
.cy-zones span { border-radius: 4px; } .cy-zones span:nth-child(1) { background: #3fae86; } .cy-zones span:nth-child(2) { background: #8fc3a6; }
.cy-zones span:nth-child(3) { background: #d9b45c; } .cy-zones span:nth-child(4) { background: #e0675d; }
.cy-zones i { position: absolute; top: -4px; width: 4px; height: 18px; margin-left: -2px; background: #fff; border-radius: 2px; box-shadow: 0 0 0 2px rgba(15, 27, 45, .6); }
.cy-prog { height: 8px; background: rgba(255, 255, 255, .1); border-radius: 99px; overflow: hidden; margin: 8px 0 4px; }
.cy-prog i { display: block; height: 100%; background: #d9b45c; border-radius: 99px; }
.cy-chart { width: 100%; height: 150px; display: block; margin-top: 16px; }
.cy-legend { display: flex; gap: 14px; font-size: 12px; color: #b9c7d6; margin-top: 4px; }
.cy-legend i { display: inline-block; width: 12px; height: 3px; border-radius: 2px; vertical-align: middle; margin-right: 6px; }
.cy-foot { font-size: 12px; color: #8ea2b8; margin-top: 12px; }
.cy-table-wrap { overflow-x: auto; margin-top: 10px; }
.cy-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.cy-table th { text-align: left; font-size: 12px; font-weight: 500; color: var(--ink-3); padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.cy-table td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; white-space: nowrap; }
.cy-table td small { display: block; color: var(--ink-3); font-size: 12px; }
.cy-table .pos { color: var(--long); }
.cy-tier { font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: 99px; margin-left: 4px; }
.cy-tier.tA { background: var(--long-bg); color: var(--long); } .cy-tier.tB { background: var(--target-bg); color: var(--target); }
.cy-risk { font-size: 13px; color: var(--ink-2); background: #fbf6ea; border: 1px solid #efe1bd; border-radius: 12px; padding: 10px 12px; margin-top: 12px; }
.cy-live { margin-top: 14px; padding: 14px; border-radius: 14px; background: var(--snow); border: 1px solid var(--line); display: grid; gap: 6px; }
.cy-sim { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; margin-top: 6px; }
.cy-sim input { width: 140px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 16px; }
.cy-out { font-weight: 650; color: var(--long); }
.cy-sec details p { margin-top: 8px; }
