/* Modes Visible (Alex 10/23): the top-bar Pro Settings toggle (js/pro-toggle.js), the DRAFT
   badge and decluttered cards (js/strategy-cards.js), the Backtester "Strategies | Custom" switch
   (js/bt-strategies-view.js). Design tokens only (css/tokens.css), light and dark. */

/* top bar: master admin only; same pill as the theme pill, the app's one switch inside */
.tb-pro { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 10px; margin-right: 4px;
  border: 1px solid var(--ds-border); border-radius: var(--ds-r-pill); color: var(--ds-muted);
  font-family: var(--ds-font-num); font-size: var(--ds-fs-12); font-weight: 500; letter-spacing: var(--ds-label-tracking);
  text-transform: uppercase; line-height: 1; white-space: nowrap; flex-shrink: 0; }
.tb-pro-ico { width: 16px; height: 16px; flex-shrink: 0; }
.tb-pro-state { min-width: 26px; color: var(--ds-text); }
@media (max-width: 600px) { .tb-pro-label { display: none; } }

/* DRAFT: what only the master admin with Pro ON is sent; users never see it */
.mv-draft { flex-shrink: 0; }

/* strategy card: at most 3 key facts */
.mv-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--ds-text); }
.mv-facts li { padding-left: 14px; position: relative; }
.mv-facts li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--ds-border-strong); }
.sm-strat-card.mv-on { border-color: var(--ds-sel-border, var(--ds-accent)); box-shadow: inset 0 0 0 1px var(--ds-sel-border, var(--ds-accent)); }
.mv-soon { color: var(--ds-text); font-weight: 500; }

/* Backtester: Strategies | Custom */
.mv-bt { margin-bottom: 20px; max-width: none; }
.mv-bt-switch button { min-height: 40px; padding: 0 18px; font-size: 14px; }
.mv-bt-ran { margin: 20px 0 12px; }
#backtester-body:not(.mv-bt-strat) #mv-bt-strategies,
#backtester-body:not(.mv-bt-strat) #mv-bt-results { display: none; }
#backtester-body.mv-bt-strat > .strat-tabs,
#backtester-body.mv-bt-strat .strat-tab-panel { display: none !important; }
@media (max-width: 760px) {
  .mv-bt .sm-grid2, .mv-bt .sm-grid3 { grid-template-columns: 1fr; }
}
#backtester-body.mv-bt-strat > #prefill-banner { display: none; }
