/* ── v2/styles/v2-momentum.css ──────────────────────────────────────────────
   Momentum (#/momentum) — the four plan pillars, pre-answered, for the desk.
   Shared v0.8 tokens only; every class is `mom-` namespaced so nothing leaks.
   ───────────────────────────────────────────────────────────────────────── */

.mom-page { --mom-up: var(--wot-bull, #22c55e); --mom-down: var(--wot-bear, #ef4444); --mom-warn: var(--wot-chop, #f5b400); }

.mom-kick {
  display: block; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--wot-text-2, #7a7a85); font-weight: 700; margin-bottom: 8px;
}

/* ── hero meta ─────────────────────────────────────────────────────────── */
.mom-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; justify-content: flex-end; font-size: 13px; }
.mom-phase {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px;
  background: rgba(255,255,255,.05); border: 1px solid var(--wot-border); font-weight: 650;
}
.mom-phase::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--wot-text-2); }
.mom-phase.is-pre::before  { background: var(--wot-grad-start, #FF6B1F); box-shadow: 0 0 10px rgba(255,107,31,.8); }
.mom-phase.is-open::before { background: var(--mom-up); box-shadow: 0 0 10px rgba(34,197,94,.8); }
.mom-refresh { padding: 5px 12px; font-size: 12.5px; }

/* ── the shared tape (check 1 + check 3) ───────────────────────────────── */
.mom-tape {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: 26px;
  padding: 24px 26px; margin-bottom: 32px;
  border: 1px solid var(--wot-border); border-radius: var(--wot-r-lg, 22px);
  background: radial-gradient(120% 140% at 0% 0%, rgba(255,107,31,.10), transparent 60%), var(--wot-bg-1, #111114);
}
.mom-tape.is-riskOn  { background: radial-gradient(120% 140% at 0% 0%, rgba(34,197,94,.12), transparent 62%), var(--wot-bg-1,#111114); }
.mom-tape.is-riskOff { background: radial-gradient(120% 140% at 0% 0%, rgba(239,68,68,.12), transparent 62%), var(--wot-bg-1,#111114); }
.mom-tape.is-empty { display: block; }
.mom-tape-l h2 { margin: 0 0 8px; font-size: 32px; line-height: 1.05; letter-spacing: -.02em; }
.mom-tape.is-riskOn  .mom-tape-l h2 { color: var(--mom-up); }
.mom-tape.is-riskOff .mom-tape-l h2 { color: var(--mom-down); }
.mom-tape-l p { margin: 0 0 14px; color: var(--wot-text-1, #c9c9d1); font-size: 14.5px; line-height: 1.5; max-width: 44ch; }
.mom-chip {
  display: inline-block; padding: 4px 11px; border-radius: 999px; background: rgba(255,255,255,.06);
  border: 1px solid var(--wot-border); font-size: 12px; color: var(--wot-text-1);
}
.mom-chip b { text-transform: capitalize; font-weight: 700; }
.mom-tape-r { display: grid; gap: 14px; align-content: start; }
.mom-ref { display: grid; grid-template-columns: auto 1fr auto; gap: 3px 10px; align-items: baseline; }
.mom-ref-s { font-weight: 750; font-size: 14px; }
.mom-ref strong { font-size: 20px; text-align: right; font-variant-numeric: tabular-nums; }
.mom-ref-g { font-size: 12px; color: var(--wot-text-2); font-variant-numeric: tabular-nums; }
.mom-ref.mom-up strong { color: var(--mom-up); }
.mom-ref.mom-down strong { color: var(--mom-down); }
.mom-ref .mom-sigbar { grid-column: 1 / -1; }
.mom-breadth p { margin: 7px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--wot-text-2); }
.mom-breadth-bar { display: flex; height: 9px; border-radius: 999px; overflow: hidden; background: rgba(255,255,255,.06); }
.mom-breadth-bar .mom-up { background: linear-gradient(90deg, rgba(34,197,94,.55), var(--mom-up)); }
.mom-breadth-bar .mom-down { background: linear-gradient(90deg, var(--mom-down), rgba(239,68,68,.55)); }
.mom-cal { border-top: 1px solid var(--wot-border); padding-top: 12px; display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.mom-cal .mom-kick { width: 100%; margin-bottom: 2px; }
.mom-cal-e {
  padding: 4px 10px; border-radius: 8px; background: rgba(255,255,255,.05);
  border: 1px solid var(--wot-border); font-size: 12px; color: var(--wot-text-1);
}
.mom-cal-e.is-hot { background: rgba(245,180,0,.13); border-color: rgba(245,180,0,.35); color: #f7d774; }
.mom-cal-e b { font-variant-numeric: tabular-nums; }

/* ── the sigma bar ─────────────────────────────────────────────────────── */
.mom-sigbar { position: relative; display: block; height: 8px; border-radius: 999px; background: rgba(255,255,255,.05); margin-top: 8px; overflow: hidden; }
.mom-sigbar-band { position: absolute; top: 0; bottom: 0; background: rgba(255,255,255,.08); }
.mom-sigbar-zero { position: absolute; left: 50%; top: -2px; bottom: -2px; width: 1px; background: rgba(255,255,255,.32); }
.mom-sigbar-fill { position: absolute; top: 0; bottom: 0; border-radius: 999px; }
.mom-sigbar-fill.mom-up { background: linear-gradient(90deg, rgba(34,197,94,.5), var(--mom-up)); }
.mom-sigbar-fill.mom-down { background: linear-gradient(90deg, var(--mom-down), rgba(239,68,68,.5)); }
.mom-sigbar-fill.mom-noise { background: rgba(255,255,255,.22); }

/* ── sections ──────────────────────────────────────────────────────────── */
.mom-sec { margin-bottom: 36px; }
.mom-sec-h { margin-bottom: 18px; }
.mom-sec-h h2 { margin: 0 0 6px; font-size: 22px; letter-spacing: -.01em; }
.mom-sec-h p { margin: 0; font-size: 14px; line-height: 1.55; max-width: 80ch; }

/* ── one name ──────────────────────────────────────────────────────────── */
.mom-names { display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); gap: 20px; align-items: start; }
.mom-name {
  --mom-accent: var(--mom-up);
  border: 1px solid var(--wot-border); border-radius: var(--wot-r-lg, 22px);
  background: var(--wot-bg-1, #111114); box-shadow: var(--wot-shadow-card);
  border-top: 2px solid var(--mom-accent); overflow: hidden;
}
.mom-name.is-put { --mom-accent: var(--mom-down); }
.mom-name.is-empty { --mom-accent: rgba(255,255,255,.2); }
.mom-name.is-call { --mom-accent: var(--mom-up); }
.mom-name-h { display: grid; grid-template-columns: auto 1fr auto; gap: 13px; align-items: center; padding: 18px 20px 14px; }
.mom-name-av {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  font-weight: 800; font-size: 18px; color: #0a0a0a; background: var(--mom-accent);
}
.mom-name-id h2 { margin: 0; font-size: 22px; letter-spacing: .01em; display: flex; align-items: baseline; gap: 10px; }
.mom-name-dir { font-size: 11.5px; font-weight: 750; letter-spacing: .07em; color: var(--mom-accent); }
.mom-name-id p { margin: 3px 0 0; font-size: 12.5px; color: var(--wot-text-2); text-transform: capitalize; }
.mom-name-size {
  padding: 6px 13px; border-radius: 999px; font-size: 11.5px; font-weight: 750;
  letter-spacing: .05em; text-transform: uppercase; white-space: nowrap;
}
.mom-name-size.is-full { background: rgba(34,197,94,.16); color: #7dedaa; border: 1px solid rgba(34,197,94,.42); }
.mom-name-size.is-half { background: rgba(245,180,0,.14); color: #f7d774; border: 1px solid rgba(245,180,0,.38); }
.mom-name-size.is-pass { background: rgba(239,68,68,.15); color: #ff9b9b; border: 1px solid rgba(239,68,68,.4); }
.mom-name-none { padding: 0 20px 18px; font-size: 13.5px; line-height: 1.55; }

.mom-name-move { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-items: center; padding: 0 20px 16px; }
.mom-move-n strong { display: block; font-size: 30px; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--wot-text-0); }
.mom-name-move.mom-up .mom-move-n strong { color: var(--mom-up); }
.mom-name-move.mom-down .mom-move-n strong { color: var(--mom-down); }
.mom-move-n span { display: block; margin-top: 4px; font-size: 12.5px; color: var(--wot-text-2); font-variant-numeric: tabular-nums; }
.mom-move-bar p { margin: 7px 0 0; font-size: 12px; line-height: 1.4; color: var(--wot-text-2); }
.mom-spark { grid-column: 1 / -1; width: 100%; height: 46px; margin-top: 6px; }
.mom-spark-area { fill: currentColor; opacity: .10; }
.mom-spark-line { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.mom-spark-ma { stroke: rgba(255,255,255,.22); stroke-width: 1; stroke-dasharray: 3 3; }
.mom-spark-dot { fill: currentColor; }
.mom-spark.mom-up { color: var(--mom-up); }
.mom-spark.mom-down { color: var(--mom-down); }
.mom-spark.mom-flat { color: var(--wot-text-2); }

.mom-note { margin: 0 20px 16px; padding: 10px 13px; border-radius: 10px; font-size: 12.5px; line-height: 1.5; }
.mom-note.is-warn { background: rgba(245,180,0,.10); border: 1px solid rgba(245,180,0,.28); color: #f0d9a0; }
.mom-note.is-alt { background: rgba(124,92,255,.10); border: 1px solid rgba(124,92,255,.3); color: #cabcff; }
.mom-note.is-alt b { color: #fff; }
.mom-note svg { width: 13px; height: 13px; vertical-align: -2px; }

/* ── a pillar ──────────────────────────────────────────────────────────── */
.mom-pil { border-top: 1px solid var(--wot-border); padding: 15px 20px; }
.mom-pil-h { display: grid; grid-template-columns: 26px 1fr auto; gap: 12px; align-items: start; }
.mom-pil-n {
  width: 25px; height: 25px; border-radius: 8px; display: grid; place-items: center;
  font-size: 12px; font-weight: 800; background: rgba(255,255,255,.06);
  border: 1px solid var(--wot-border); color: var(--wot-text-1);
}
.mom-pil.is-trade .mom-pil-n { background: var(--wot-grad); border-color: transparent; color: #fff; }
.mom-pil-t b { display: block; font-size: 14.5px; letter-spacing: .01em; color: var(--wot-text-0); }
.mom-pil-t em { display: block; font-style: normal; font-size: 12.5px; color: var(--wot-text-2); margin-top: 2px; line-height: 1.4; }
.mom-pil-v { font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; color: var(--wot-text-0); }
.mom-pil-v .is-wrong { color: var(--mom-down); }
.mom-pil-v .is-full { color: #7dedaa; font-size: 15px; }
.mom-pil-v .is-half { color: #f7d774; font-size: 15px; }
.mom-pil-v .is-pass { color: #ff9b9b; font-size: 15px; }
.mom-pil-b { margin-left: 38px; margin-top: 11px; }
.mom-pil-p { margin: 0; font-size: 13px; line-height: 1.55; color: var(--wot-text-1); }
.mom-pil-eng { margin: 7px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--wot-text-2); padding-left: 11px; border-left: 2px solid rgba(255,255,255,.10); }
.mom-pil-rule { margin: 8px 0 0; font-size: 11.5px; color: var(--wot-text-2); letter-spacing: .01em; }
.mom-pil-block {
  margin: 11px 0 0; padding: 11px 13px; border-radius: 10px; font-size: 12.5px; line-height: 1.5;
  background: rgba(239,68,68,.10); border: 1px solid rgba(239,68,68,.3); color: #ffc0c0;
}
.mom-pil-block svg { width: 13px; height: 13px; vertical-align: -2px; }

/* pillar 1 — the map rail */
.mom-maprail { padding: 22px 4px 30px; }
.mom-maprail-bar { position: relative; height: 3px; border-radius: 999px; background: rgba(255,255,255,.10); }
.mom-maprail-m { position: absolute; top: 50%; transform: translate(-50%,-50%); }
.mom-maprail-m::before {
  content: ''; display: block; width: 10px; height: 10px; border-radius: 50%;
  background: var(--wot-text-2); border: 2px solid var(--wot-bg-1, #111114); margin: 0 auto;
}
.mom-maprail-m i, .mom-maprail-m b {
  position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; font-style: normal;
}
.mom-maprail-m i { bottom: 14px; font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--wot-text-2); }
.mom-maprail-m b { top: 14px; font-size: 12px; font-variant-numeric: tabular-nums; }
.mom-maprail-m.is-level::before   { background: #7c9cff; }
.mom-maprail-m.is-trigger::before { background: var(--mom-accent); width: 12px; height: 12px; }
.mom-maprail-m.is-wrong::before   { background: var(--mom-down); }
.mom-maprail-m.is-now::before     { background: #fff; }
.mom-maprail-m.is-now b { color: #fff; }
.mom-stack { list-style: none; margin: 11px 0 0; padding: 0; display: grid; gap: 5px; }
.mom-stack li { display: flex; gap: 10px; font-size: 12px; align-items: baseline; }
.mom-stack b { font-variant-numeric: tabular-nums; min-width: 72px; }
.mom-stack span { color: var(--wot-text-2); }

/* pillar 4 — the three checks */
.mom-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.mom-check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.mom-check-n {
  width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center;
  font-size: 10.5px; font-weight: 800; margin-top: 1px;
  background: rgba(255,255,255,.07); color: var(--wot-text-2);
}
.mom-check.is-ok   .mom-check-n { background: rgba(34,197,94,.18); color: #7dedaa; }
.mom-check.is-warn .mom-check-n { background: rgba(245,180,0,.18); color: #f7d774; }
.mom-check.is-bad  .mom-check-n { background: rgba(239,68,68,.18); color: #ff9b9b; }
.mom-check-b > b { display: block; font-size: 12.5px; font-weight: 650; color: var(--wot-text-1); }
.mom-check-a { display: block; margin-top: 3px; font-size: 13.5px; font-weight: 750; }
.mom-check.is-ok   .mom-check-a { color: #7dedaa; }
.mom-check.is-warn .mom-check-a { color: #f7d774; }
.mom-check.is-bad  .mom-check-a { color: #ff9b9b; }
.mom-check-a em { font-style: normal; font-weight: 400; font-size: 12px; color: var(--wot-text-2); margin-left: 8px; }
.mom-check-ev { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; font-style: normal; }
.mom-ev-cell {
  padding: 3px 8px; border-radius: 7px; background: rgba(255,255,255,.045);
  border: 1px solid var(--wot-border); font-size: 11px; color: var(--wot-text-2); font-variant-numeric: tabular-nums;
}
.mom-ev-cell b { color: var(--wot-text-0); font-weight: 700; }
.mom-ev-cell i { font-style: normal; }
.mom-ev-cell.mom-up b { color: var(--mom-up); }
.mom-ev-cell.mom-down { color: #ff9b9b; }
.mom-ev-cell.mom-down b { color: var(--mom-down); }
.mom-ev-cell.mom-warn { color: #f0d9a0; border-color: rgba(245,180,0,.3); }

.mom-verdict { margin-top: 16px; padding: 14px 16px; border-radius: var(--wot-r-md, 14px); border: 1px solid var(--wot-border); }
.mom-verdict.is-full { background: rgba(34,197,94,.08); border-color: rgba(34,197,94,.3); }
.mom-verdict.is-half { background: rgba(245,180,0,.07); border-color: rgba(245,180,0,.28); }
.mom-verdict.is-pass { background: rgba(239,68,68,.08); border-color: rgba(239,68,68,.32); }
.mom-verdict-head { display: flex; align-items: baseline; gap: 10px; }
.mom-verdict-head small { font-size: 11px; letter-spacing: .09em; text-transform: uppercase; color: var(--wot-text-2); }
.mom-verdict-head b { font-size: 19px; letter-spacing: -.01em; }
.mom-verdict.is-full .mom-verdict-head b { color: #7dedaa; }
.mom-verdict.is-half .mom-verdict-head b { color: #f7d774; }
.mom-verdict.is-pass .mom-verdict-head b { color: #ff9b9b; }
.mom-verdict > p { margin: 6px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--wot-text-1); }
.mom-verdict-why { list-style: none; margin: 11px 0 0; padding: 0; display: grid; gap: 6px; }
.mom-verdict-why li { position: relative; padding-left: 20px; font-size: 12.5px; line-height: 1.45; color: var(--wot-text-1); }
.mom-verdict-why li::before { position: absolute; left: 0; font-weight: 800; }
.mom-verdict-why li.is-ok::before   { content: '✓'; color: #7dedaa; }
.mom-verdict-why li.is-warn::before { content: '!'; color: #f7d774; }
.mom-verdict-why li.is-bad::before  { content: '✕'; color: #ff9b9b; }

/* the trade */
.mom-trade { display: flex; flex-wrap: wrap; gap: 8px; }
.mom-trade-c {
  display: flex; flex-direction: column; gap: 2px; padding: 8px 12px; border-radius: 10px;
  background: rgba(255,255,255,.04); border: 1px solid var(--wot-border); min-width: 78px;
}
.mom-trade-c i { font-style: normal; font-size: 10px; letter-spacing: .07em; text-transform: uppercase; color: var(--wot-text-2); }
.mom-trade-c b { font-size: 14px; font-variant-numeric: tabular-nums; }

.mom-why { border-top: 1px solid var(--wot-border); padding: 14px 20px; }
.mom-why p { margin: 0; font-size: 12.5px; line-height: 1.55; color: var(--wot-text-1); }
.mom-why small { display: block; margin-top: 6px; font-size: 11px; color: var(--wot-text-2); }
.mom-name-f { display: flex; gap: 10px; align-items: center; padding: 14px 20px; border-top: 1px solid var(--wot-border); background: rgba(255,255,255,.015); }
.mom-name-f .v2-btn { padding: 7px 14px; font-size: 12.5px; }
.mom-name-f .is-primary { margin-left: auto; }

/* ── the teaching band ─────────────────────────────────────────────────── */
.mom-edu { border-top: 1px solid var(--wot-border); padding-top: 30px; }
.mom-edu > header { margin-bottom: 22px; }
.mom-edu > header h2 { margin: 0 0 7px; font-size: 22px; }
.mom-edu > header p { margin: 0; font-size: 13.5px; max-width: 82ch; }
.mom-edu-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.mom-edu-list li {
  display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start;
  padding: 16px 18px; border: 1px solid var(--wot-border);
  border-radius: var(--wot-r-md, 14px); background: var(--wot-bg-1, #111114);
}
.mom-edu-n {
  width: 29px; height: 29px; border-radius: 9px; display: grid; place-items: center;
  font-size: 13px; font-weight: 800; background: rgba(255,255,255,.06);
  border: 1px solid var(--wot-border); color: var(--wot-text-1);
}
.mom-edu-list li:last-child .mom-edu-n { background: var(--wot-grad); border-color: transparent; color: #fff; }
.mom-edu-list b { display: block; font-size: 15px; }
.mom-edu-list em { display: block; font-style: normal; font-size: 12.5px; color: var(--wot-text-2); margin-top: 2px; }
.mom-edu-list p { margin: 9px 0 0; font-size: 13px; line-height: 1.6; color: var(--wot-text-1); max-width: 88ch; }

/* ── responsive ────────────────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .mom-names { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .mom-tape { grid-template-columns: 1fr; gap: 22px; padding: 20px; }
  .mom-tape-l h2 { font-size: 27px; }
}
@media (max-width: 640px) {
  .mom-meta { justify-content: flex-start; }
  .mom-name-move { grid-template-columns: 1fr; }
  .mom-pil-h { grid-template-columns: 26px 1fr; }
  .mom-pil-v { grid-column: 2; text-align: left; margin-top: 4px; }
  .mom-pil-b { margin-left: 0; }
  .mom-name-f { flex-wrap: wrap; }
  .mom-name-f .is-primary { margin-left: 0; width: 100%; }
}
