/* ── Midas page (XAU 15-min agentic bot) ─────────────────────────────────
   Deliberately thin: the page reuses the desk's dk-* component classes for
   visual consistency; only midas-specific bits live here. */

/* stepper dot variants — decision side at a glance; grey = pre-gate skip */
.md-dot--long  { background: var(--up) !important; }
.md-dot--short { background: var(--down) !important; }
.md-dot--flat  { background: var(--text-muted) !important; }
.md-dot--skip  { background: rgba(255, 255, 255, 0.16) !important; }
.md-step--skip { opacity: 0.55; }
.md-step--skip:hover { opacity: 0.9; }
/* amber skip variants (2026-07-13): stand-down = position open (expected), nodec = LLM
   hit its iteration cap (anomalous) — both must read differently from grey pre-gate skips */
.md-dot--stand { background: rgba(247, 185, 85, 0.55) !important; }
.md-dot--nodec { background: var(--warning) !important; }

/* ── status banner — WHAT IS THE BOT DOING RIGHT NOW (2026-07-13, fresh-eyes fleet) ──
   Shared by all four agentic bot pages (midas/nas100/us30/btc reuse the md-* kit). */
.md-status {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px;
  padding: 9px 14px; margin-bottom: 14px;
  border: 1px solid var(--border-subtle); border-radius: var(--radius-md);
  background: var(--bg-inset); font-size: 12.5px; line-height: 1.5;
}
.md-status__head { font-weight: 700; letter-spacing: .03em; white-space: nowrap; }
.md-status__text { color: var(--text-secondary); }
.md-status__detail { color: var(--text-secondary); font-size: 11.5px; }
.md-status__tick { margin-left: auto; font-size: 11px; color: var(--text-muted); white-space: nowrap; }
.md-status--danger { background: var(--down-soft); border-color: rgba(239, 83, 80, .40); }
.md-status--danger .md-status__head { color: var(--down-bright); }
.md-status--warn { background: var(--warning-soft); border-color: rgba(247, 185, 85, .35); }
.md-status--warn .md-status__head { color: var(--warning); }
.md-status--info { background: var(--info-soft); border-color: rgba(59, 130, 246, .30); }
.md-status--info .md-status__head { color: #6ca0f6; }
.md-status--ok { background: var(--up-soft); border-color: rgba(38, 166, 154, .30); }
.md-status--ok .md-status__head { color: var(--up-bright); }

/* skip badges in the tick-brain header — one glance says WHY there was no decision */
.md-skipbadge {
  display: inline-block; padding: 2px 9px; border-radius: var(--radius-pill);
  font-size: 10.5px; font-weight: 700; letter-spacing: .05em;
  background: rgba(255, 255, 255, 0.06); color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}
.md-skipbadge--stand { background: var(--warning-soft); color: var(--warning); border-color: rgba(247, 185, 85, .32); }
.md-skipbadge--nodec { background: var(--warning-soft); color: var(--warning); border-color: rgba(247, 185, 85, .55); }
.md-skipbadge--eod   { background: var(--info-soft); color: #6ca0f6; border-color: rgba(59, 130, 246, .30); }

/* the HTF brief block — preformatted but wrapped, terminal-ish */
.md-htf {
  margin: 0; padding: 10px 12px;
  font-size: 11.5px; line-height: 1.55; color: var(--text-secondary);
  background: var(--bg-inset); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  white-space: pre-wrap; word-break: break-word;
  max-height: 340px; overflow: auto;
}

@media (max-width: 640px) {
  .md-htf { font-size: 11px; max-height: 260px; }
}
